/* =========================================================================
   Distinction Library — Design System
   "A J.A. Mahama Initiative"
   ========================================================================= */

:root {
    --dl-primary: #4f46e5;
    --dl-primary-dark: #4338ca;
    --dl-accent: #06b6d4;
    --dl-bg: #f6f7fb;
    --dl-surface: #ffffff;
    --dl-text: #1e293b;
    --dl-muted: #64748b;
    --dl-border: #e7e9f2;
    --dl-shadow: 0 1px 3px rgba(16,24,40,.06), 0 10px 30px -12px rgba(16,24,40,.12);
    --dl-radius: 16px;
    --bs-primary: #4f46e5;
    --bs-primary-rgb: 79, 70, 229;
}

[data-bs-theme="dark"] {
    --dl-bg: #0b0f1a;
    --dl-surface: #131826;
    --dl-text: #e2e8f0;
    --dl-muted: #94a3b8;
    --dl-border: #232a3b;
    --dl-shadow: 0 1px 3px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
    --bs-body-bg: #0b0f1a;
    --bs-body-color: #e2e8f0;
}

* { scroll-behavior: smooth; }
body { background: var(--dl-bg); color: var(--dl-text); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.btn { border-radius: 10px; font-weight: 600; }
.btn-primary { background: var(--dl-primary); border-color: var(--dl-primary); }
.btn-primary:hover { background: var(--dl-primary-dark); border-color: var(--dl-primary-dark); }
.text-primary { color: var(--dl-primary) !important; }

.btn-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--dl-border); background: var(--dl-surface); color: var(--dl-text); }
.btn-icon:hover { background: var(--dl-bg); }

.dl-logo { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--dl-primary), var(--dl-accent)); color: #fff; font-size: 1.1rem; }
.dl-avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--dl-primary), var(--dl-accent)); color: #fff; font-weight: 700; }

/* ---------- Navbar ---------- */
.dl-navbar { background: color-mix(in srgb, var(--dl-surface) 85%, transparent); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--dl-border); }
.dl-navbar .nav-link { color: var(--dl-muted); font-weight: 500; }
.dl-navbar .nav-link:hover, .dl-navbar .nav-link.active { color: var(--dl-primary); }

/* ---------- Hero ---------- */
.dl-hero { position: relative; padding: 6rem 0 5rem; background: radial-gradient(1200px 600px at 80% -10%, rgba(6,182,212,.18), transparent), linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4338ca 100%); color: #fff; overflow: hidden; }
.dl-hero-bg { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0); background-size: 28px 28px; opacity: .5; }
.dl-badge { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); padding: .5rem .9rem; border-radius: 999px; font-weight: 500; }
.dl-hero-title { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.05; margin-bottom: 1rem; }
.dl-gradient-text { background: linear-gradient(90deg, #67e8f9, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 1.6rem; }
.dl-hero-card { background: var(--dl-surface); border-radius: 18px; padding: 1rem; color: var(--dl-text); }
.dl-hero-card-head { display: flex; align-items: center; gap: 6px; padding: .25rem .25rem .75rem; border-bottom: 1px solid var(--dl-border); }
.dl-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dl-chat { padding: 1rem .5rem .5rem; display: flex; flex-direction: column; gap: .6rem; }
.dl-chat-msg { padding: .7rem .9rem; border-radius: 14px; font-size: .9rem; max-width: 90%; }
.dl-chat-msg.user { align-self: flex-end; background: var(--dl-primary); color: #fff; border-bottom-right-radius: 4px; }
.dl-chat-msg.ai { align-self: flex-start; background: var(--dl-bg); border-bottom-left-radius: 4px; }
.dl-chat-typing { display: flex; gap: 4px; padding: .4rem .6rem; }
.dl-chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--dl-muted); animation: dl-blink 1.2s infinite; }
.dl-chat-typing span:nth-child(2) { animation-delay: .2s; } .dl-chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes dl-blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* ---------- Stats ---------- */
.dl-stats { margin-top: -3rem; position: relative; z-index: 3; padding-bottom: 1rem; }
.dl-stat-card { background: var(--dl-surface); border: 1px solid var(--dl-border); border-radius: var(--dl-radius); padding: 1.6rem 1rem; box-shadow: var(--dl-shadow); }
.dl-stat-icon { font-size: 1.6rem; color: var(--dl-primary); }
.dl-stat-value { font-size: 2rem; font-weight: 800; margin-top: .4rem; }
.dl-stat-label { color: var(--dl-muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.dl-section { padding: 5rem 0; }
.dl-section-alt { background: var(--dl-surface); }
.dl-eyebrow { color: var(--dl-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.dl-section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin: .5rem 0; }
.dl-section-sub { color: var(--dl-muted); max-width: 620px; margin: 0 auto; }

.dl-feature-card, .dl-resource-card, .dl-mini-card, .dl-testimonial { background: var(--dl-surface); border: 1px solid var(--dl-border); border-radius: var(--dl-radius); padding: 1.6rem; transition: transform .2s, box-shadow .2s; }
.dl-section-alt .dl-feature-card { background: var(--dl-bg); }
.dl-feature-card:hover, .dl-resource-card:hover, .dl-mini-card:hover { transform: translateY(-4px); box-shadow: var(--dl-shadow); }
.dl-feature-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(6,182,212,.12)); color: var(--dl-primary); }
.dl-resource-card i { font-size: 2rem; color: var(--dl-primary); }
.dl-resource-card h5 { margin: 1rem 0 .5rem; }
.dl-resource-card p { color: var(--dl-muted); margin: 0; }
.dl-mini-card { text-align: center; } .dl-mini-card i { font-size: 1.8rem; } .dl-mini-card h6 { margin: .6rem 0 .2rem; } .dl-mini-card p { color: var(--dl-muted); font-size: .82rem; margin: 0; }
.dl-check-list { list-style: none; padding: 0; } .dl-check-list li { padding: .5rem 0; } .dl-check-list i { color: #22c55e; margin-right: .5rem; }

.dl-testimonial { box-shadow: var(--dl-shadow); } .dl-stars { color: #f59e0b; }
.dl-accordion .accordion-button { font-weight: 600; }
.dl-accordion .accordion-button:not(.collapsed) { color: var(--dl-primary); background: rgba(79,70,229,.06); }

.dl-cta { padding: 5rem 0; background: linear-gradient(135deg, var(--dl-primary), var(--dl-accent)); }

/* ---------- Footer ---------- */
.dl-footer { background: #0b1020; color: #fff; padding: 4rem 0 2rem; }
.dl-footer-links a { color: rgba(255,255,255,.6); text-decoration: none; display: block; padding: .3rem 0; }
.dl-footer-links a:hover { color: #fff; }

/* ---------- Auth ---------- */
.dl-auth-body { margin: 0; }
.dl-auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.dl-auth-brand { background: radial-gradient(900px 500px at 20% 0%, rgba(6,182,212,.25), transparent), linear-gradient(135deg, #1e1b4b, #4338ca); color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.dl-auth-points { list-style: none; padding: 0; } .dl-auth-points li { padding: .5rem 0; color: rgba(255,255,255,.85); } .dl-auth-points i { color: #67e8f9; margin-right: .5rem; }
.dl-auth-panel { display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--dl-bg); }
.dl-auth-card { width: 100%; max-width: 440px; background: var(--dl-surface); border: 1px solid var(--dl-border); border-radius: 20px; padding: 2.5rem; box-shadow: var(--dl-shadow); }
@media (max-width: 860px) { .dl-auth-wrap { grid-template-columns: 1fr; } .dl-auth-brand { display: none; } }

/* ---------- Dashboard shell ---------- */
.dl-app { background: var(--dl-bg); }
.dl-shell { display: flex; min-height: 100vh; }
.dl-sidebar { width: 260px; background: var(--dl-surface); border-right: 1px solid var(--dl-border); position: fixed; inset: 0 auto 0 0; overflow-y: auto; z-index: 1040; transition: transform .25s; }
.dl-sidebar-brand { display: flex; align-items: center; gap: .6rem; padding: 1.25rem 1.5rem; font-size: 1.1rem; border-bottom: 1px solid var(--dl-border); }
.dl-sidenav { padding: 1rem .75rem; display: flex; flex-direction: column; gap: 2px; }
.dl-sidenav-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dl-muted); padding: 1rem .75rem .35rem; font-weight: 700; }
.dl-sidenav-link { display: flex; align-items: center; gap: .75rem; padding: .65rem .75rem; border-radius: 10px; color: var(--dl-muted); text-decoration: none; font-weight: 500; }
.dl-sidenav-link i { font-size: 1.1rem; }
.dl-sidenav-link:hover { background: var(--dl-bg); color: var(--dl-text); }
.dl-sidenav-link.active { background: rgba(79,70,229,.1); color: var(--dl-primary); }
.dl-content { flex: 1; margin-left: 260px; min-width: 0; }
.dl-topbar { height: 68px; background: color-mix(in srgb, var(--dl-surface) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--dl-border); display: flex; align-items: center; gap: 1rem; padding: 0 1.5rem; position: sticky; top: 0; z-index: 1030; }
.dl-search { flex: 1; max-width: 460px; position: relative; }
.dl-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dl-muted); }
.dl-search input { width: 100%; border: 1px solid var(--dl-border); background: var(--dl-bg); border-radius: 12px; padding: .6rem .9rem .6rem 2.4rem; color: var(--dl-text); }
.dl-search input:focus { outline: none; border-color: var(--dl-primary); }
.dl-user-btn { border: 1px solid var(--dl-border); background: var(--dl-surface); border-radius: 12px; padding: .25rem; }
.dl-notif-dot { position: absolute; top: 8px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #ef4444; }
.dl-page { padding: 2rem 1.5rem; }
@media (max-width: 992px) { .dl-sidebar { transform: translateX(-100%); } .dl-sidebar.open { transform: translateX(0); } .dl-content { margin-left: 0; } }

.dl-welcome { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.dl-widget { background: var(--dl-surface); border: 1px solid var(--dl-border); border-radius: var(--dl-radius); padding: 1.25rem; display: flex; align-items: center; gap: 1rem; box-shadow: var(--dl-shadow); }
.dl-widget-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.dl-widget-value { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.dl-widget-label { color: var(--dl-muted); font-size: .85rem; }
.dl-card { background: var(--dl-surface); border: 1px solid var(--dl-border); border-radius: var(--dl-radius); box-shadow: var(--dl-shadow); overflow: hidden; }
.dl-card-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--dl-border); }
.dl-card-body { padding: 1.25rem; }
.dl-stat-row { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--dl-border); }
.dl-stat-row:last-child { border-bottom: none; }
.dl-empty { text-align: center; padding: 3rem 1rem; color: var(--dl-muted); } .dl-empty i { font-size: 2.5rem; display: block; margin-bottom: .5rem; }
.list-group-item { background: var(--dl-surface); color: var(--dl-text); border-color: var(--dl-border); }

/* ---------- Courses ---------- */
.dl-course-card { background: var(--dl-surface); border: 1px solid var(--dl-border); border-radius: var(--dl-radius); padding: 1.25rem; box-shadow: var(--dl-shadow); transition: transform .18s, box-shadow .18s; }
.dl-course-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -14px rgba(16,24,40,.28); }
.dl-course-code { display: inline-block; font-weight: 700; font-size: .72rem; letter-spacing: .03em; color: var(--dl-primary); background: rgba(79,70,229,.1); padding: .25rem .55rem; border-radius: 7px; }
.dl-bookmark-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--dl-border); background: var(--dl-surface); color: var(--dl-muted); display: inline-flex; align-items: center; justify-content: center; transition: all .15s; cursor: pointer; }
.dl-bookmark-btn:hover { color: var(--dl-primary); border-color: var(--dl-primary); }
.dl-bookmark-btn.active { color: #ef4444; border-color: rgba(239,68,68,.4); background: rgba(239,68,68,.08); }
.dl-bookmark-btn:disabled { opacity: .5; }

/* ---------- Profile ---------- */
.dl-profile-avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--dl-primary), var(--dl-accent)); color: #fff; font-size: 2rem; font-weight: 700; }
.dl-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.badge + .badge { margin-left: .25rem; }

/* ---------- Repository / PDF viewer ---------- */
.dl-pdf-viewer { width: 100%; height: 70vh; min-height: 480px; border: none; border-radius: 10px; background: #525659; }
.dl-queue-tabs .nav-link { color: var(--dl-muted); font-weight: 600; padding: .35rem .9rem; }
.dl-queue-tabs .nav-link.active { background: var(--dl-primary); color: #fff; }
.table > :not(caption) > * > * { background: var(--dl-surface); color: var(--dl-text); }
.table-light, .table > thead.table-light th { background: var(--dl-bg) !important; color: var(--dl-muted); }

/* ---------- AI Companion chat ---------- */
.dl-chat-shell { min-height: 72vh; }
.dl-thread-list { max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.dl-thread { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 10px; text-decoration: none; color: var(--dl-text); border: 1px solid transparent; }
.dl-thread:hover { background: var(--dl-bg); }
.dl-thread.active { background: rgba(79,70,229,.1); border-color: rgba(79,70,229,.2); }
.dl-thread i { color: var(--dl-primary); }
.dl-thread-title { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.min-w-0 { min-width: 0; }
.dl-chat-messages { padding: 1.25rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; max-height: 56vh; }
.dl-msg { display: flex; gap: .75rem; max-width: 85%; }
.dl-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.dl-msg-avatar { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--dl-bg); border: 1px solid var(--dl-border); }
.dl-msg.ai .dl-msg-avatar { background: linear-gradient(135deg, var(--dl-primary), var(--dl-accent)); color: #fff; border: none; }
.dl-msg-bubble { padding: .75rem 1rem; border-radius: 14px; background: var(--dl-bg); line-height: 1.55; }
.dl-msg.user .dl-msg-bubble { background: var(--dl-primary); color: #fff; }
.dl-chat-input { padding: 1rem 1.25rem; border-top: 1px solid var(--dl-border); }
.dl-chat-input textarea { resize: none; }
.dl-typing { display: inline-flex; gap: 4px; } .dl-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--dl-muted); animation: dl-blink 1.2s infinite; }
.dl-typing span:nth-child(2) { animation-delay: .2s; } .dl-typing span:nth-child(3) { animation-delay: .4s; }

/* ---------- Quiz ---------- */
.dl-option { display: block; padding: .6rem .9rem; border: 1px solid var(--dl-border); border-radius: 10px; margin-bottom: .5rem; cursor: pointer; }
.dl-option:hover { border-color: var(--dl-primary); }
.dl-question.border-success { border: 2px solid #22c55e; } .dl-question.border-danger { border: 2px solid #ef4444; }

/* ---------- Flashcards ---------- */
.dl-flashcard-stage { max-width: 620px; margin: 0 auto; }
.dl-flashcard { perspective: 1200px; height: 320px; cursor: pointer; }
.dl-flashcard-inner { position: relative; width: 100%; height: 100%; transition: transform .55s; transform-style: preserve-3d; }
.dl-flashcard.flipped .dl-flashcard-inner { transform: rotateY(180deg); }
.dl-flashcard-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: var(--dl-radius); display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; box-shadow: var(--dl-shadow); border: 1px solid var(--dl-border); }
.dl-flashcard-front { background: var(--dl-surface); }
.dl-flashcard-back { background: linear-gradient(135deg, var(--dl-primary), var(--dl-accent)); color: #fff; transform: rotateY(180deg); }
.dl-flashcard-face p { font-size: 1.25rem; font-weight: 600; margin: .5rem 0 0; }
.dl-fc-hint { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; opacity: .6; }

/* ---------- Vault ---------- */
.dl-vault-icon { width: 42px; height: 42px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(34,197,94,.12); color: #16a34a; font-size: 1.1rem; }
.dl-vault-content { white-space: pre-wrap; line-height: 1.7; font-size: .96rem; }

/* ---------- Forums ---------- */
.dl-thread-body { white-space: pre-wrap; word-break: break-word; color: var(--dl-text); line-height: 1.6; }

/* ---------- Leaderboard rank medals ---------- */
.dl-rank-medal { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; color: #fff; box-shadow: var(--dl-shadow); }
.dl-rank-gold { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.dl-rank-silver { background: linear-gradient(135deg, #94a3b8, #cbd5e1); }
.dl-rank-bronze { background: linear-gradient(135deg, #b45309, #d97706); }

/* ---------- Notifications (bell dropdown + page rows) ---------- */
.dl-notif-badge { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #ef4444; color: #fff; font-size: .65rem; font-weight: 700; line-height: 17px; text-align: center; }
.notif-menu { padding-bottom: 0; }
.notif-menu-head { color: var(--dl-text); }
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-item { color: var(--dl-text); text-decoration: none; border-bottom: 1px solid var(--dl-border); }
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--dl-bg); }
.notif-item.notif-unread { background: rgba(79,70,229,.06); }
.notif-item-icon { flex-shrink: 0; font-size: 1.1rem; }
.notif-item .min-w-0 { min-width: 0; }
.notif-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--dl-primary); margin-top: 6px; }
.dl-notif-row { border-left: 3px solid transparent; }
.dl-notif-row.dl-notif-unread { border-left-color: var(--dl-primary); background: rgba(79,70,229,.05); }
.dl-notif-icon { flex-shrink: 0; font-size: 1.25rem; line-height: 1.4; }
.dl-notif-mark { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dl-primary); flex-shrink: 0; }

/* ---------- Admin panel ---------- */
.dl-admin { background: var(--dl-bg); }
[data-bs-theme="dark"] .dl-admin-sidebar { background: #0d1320; border-right-color: #1c2333; }
.dl-admin-sidebar .dl-sidebar-brand { border-bottom-color: rgba(148,163,184,.12); }
.dl-cmd-trigger { display: inline-flex; align-items: center; gap: .6rem; min-width: 240px; max-width: 420px; flex: 1; padding: .5rem .9rem; border: 1px solid var(--dl-border); background: var(--dl-bg); border-radius: 12px; color: var(--dl-muted); cursor: pointer; font-size: .9rem; }
.dl-cmd-trigger:hover { border-color: var(--dl-primary); }
.dl-cmd-trigger kbd { margin-left: auto; background: var(--dl-surface); border: 1px solid var(--dl-border); border-radius: 6px; padding: .1rem .4rem; font-size: .7rem; color: var(--dl-muted); }
.dl-cmd-backdrop { position: fixed; inset: 0; background: rgba(2,6,23,.55); backdrop-filter: blur(3px); z-index: 1200; display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.dl-cmd { width: min(620px, 92vw); background: var(--dl-surface); border: 1px solid var(--dl-border); border-radius: 16px; box-shadow: 0 24px 60px -12px rgba(0,0,0,.5); overflow: hidden; }
.dl-cmd-input { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--dl-border); }
.dl-cmd-input i { color: var(--dl-muted); font-size: 1.1rem; }
.dl-cmd-input input { flex: 1; border: none; outline: none; background: transparent; color: var(--dl-text); font-size: 1.05rem; }
.dl-cmd-input kbd { background: var(--dl-bg); border: 1px solid var(--dl-border); border-radius: 6px; padding: .1rem .45rem; font-size: .7rem; color: var(--dl-muted); }
.dl-cmd-results { max-height: 52vh; overflow-y: auto; padding: .5rem; }
.dl-cmd-item { display: flex; align-items: center; gap: .8rem; padding: .65rem .8rem; border-radius: 10px; color: var(--dl-text); text-decoration: none; }
.dl-cmd-item i { color: var(--dl-primary); width: 20px; text-align: center; }
.dl-cmd-item .dl-cmd-sub { margin-left: auto; font-size: .72rem; color: var(--dl-muted); text-transform: uppercase; letter-spacing: .04em; }
.dl-cmd-item.active, .dl-cmd-item:hover { background: rgba(79,70,229,.12); }
.dl-cmd-empty { padding: 2rem; text-align: center; color: var(--dl-muted); }

/* ---------- Errors ---------- */
.dl-error-page { padding: 7rem 0; }
.dl-error-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--dl-primary), var(--dl-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Misc ---------- */
.dl-main { min-height: 60vh; }
.bg-primary-subtle { background: rgba(79,70,229,.12) !important; }
.bg-success-subtle { background: rgba(34,197,94,.12) !important; }
.bg-warning-subtle { background: rgba(245,158,11,.14) !important; }
.bg-danger-subtle { background: rgba(239,68,68,.12) !important; }
