/* Single active visual theme: photographic charcoal, translucent glass and readable ivory. */
:root{color-scheme:dark;--paper:#0b1012;--ivory:#f6f2ea;--ink:#f6f2ea;--muted:#c0c7c7;--champagne:#d2b57c;--green:#79a784;--border:rgba(230,237,235,.13);--shadow:0 16px 48px rgba(0,0,0,.22);--radius:20px}
html,body{background:#0b1012!important;color:#f6f2ea!important}
body{position:relative;isolation:isolate}
body:before{background:radial-gradient(ellipse at 85% 0%,rgba(168,133,76,.1),transparent 55%),linear-gradient(120deg,rgba(6,12,15,.86),rgba(10,17,19,.82)),url('assets/room-219.jpg') center/cover fixed!important}
::selection{background:#d2b57c;color:#151819}
#shell :not(#theme-lock),#overlay :not(#theme-lock){color:#f6f2ea!important}
#shell :is(p,li,.helper,.meta,.breadcrumb,.lesson-crumb,.field-label,.form-field>span,.query-help,.visual-context,figcaption,.module-footer,.brand-caption,.sidebar-label,.sidebar-progress small,.profile small,.consent-row,.audio-duration,.answer-lesson,.lesson-strip label>span,.lesson-strip>div>span,.sprint-context,.sprint-bottom>span,.budget-stats span,.budget-stats label,.search-result>small,.cert-disclosure,.road-stage,.road-step-status,.road-step-copy>p):not(#theme-lock),#overlay :is(p,li,.helper,small,.sprint-context,.sprint-bottom>span,.search-result>span):not(#theme-lock){color:#c6cecd!important}
#shell :is(h1,h2,h3,h4,strong,.wordmark,.topbar-brand):not(#theme-lock),#overlay :is(h1,h2,h3,h4,strong):not(#theme-lock){color:#fbf8f1!important}
#shell :is(.page-heading p,.module-body p,.continue-card p,.native-sections p,.professional-reading-section p,.lesson-example p,.lesson-mini-task p,.professional-task>p):not(#theme-lock){font-size:15px!important;line-height:1.8!important}
#shell :is(.helper,.meta,.lesson-crumb,.module-footer,.audio-duration,.visual-context,.native-figure figcaption,.consent-row,.consent-row small):not(#theme-lock){font-size:12px!important;line-height:1.75!important}
#shell .eyebrow:not(#theme-lock),#overlay .eyebrow:not(#theme-lock){color:#dfc794!important;font-size:10px;letter-spacing:.14em}
#shell :is(.sidebar,.topbar,.mobile-bottom):not(#theme-lock){background:linear-gradient(140deg,rgba(22,29,31,.9),rgba(10,17,19,.87))!important;border-color:rgba(230,237,235,.11)!important;backdrop-filter:blur(25px)!important;-webkit-backdrop-filter:blur(25px)!important;box-shadow:0 6px 26px #0002!important}
#shell :is(.glass,.module-card,.native-lesson,.orientation-strip>button,.hero-signature,.visual-observations,.lesson-audio,.direct-answer.primary,.process-step,.badge-card,.video-example-card,.road-stop,.professional-card,.professional-reading,.professional-task,.professional-quiz,.professional-module-hero,.cert-preview,.project-summary,.lesson-strip,.concept-card,.lesson-mini-task,.fallback-lesson):not(#theme-lock),#overlay .video-example-card:not(#theme-lock){background:linear-gradient(125deg,rgba(41,49,50,.76),rgba(15,24,27,.8))!important;border:1px solid rgba(230,237,235,.13)!important;box-shadow:0 14px 40px #0003,inset 0 1px 0 #ffffff09!important;backdrop-filter:blur(23px)!important;-webkit-backdrop-filter:blur(23px)!important}
#shell .module-card:hover:not(#theme-lock),#shell .video-example-card:hover:not(#theme-lock){border-color:rgba(210,181,124,.42)!important;box-shadow:0 20px 45px #0005,inset 0 1px 0 #ffffff0d!important}
#overlay :is(.modal,.sprint-modal):not(#theme-lock){background:linear-gradient(135deg,rgba(32,41,43,.98),rgba(13,23,26,.98))!important;border:1px solid rgba(230,237,235,.16)!important;border-radius:24px!important;box-shadow:0 30px 100px #0008,inset 0 1px 0 #ffffff0c!important;backdrop-filter:blur(28px)!important}
#overlay .modal-backdrop:not(#theme-lock){background:rgba(2,7,10,.7)!important;backdrop-filter:blur(14px)!important}
#shell .btn:not(#theme-lock),#overlay .btn:not(#theme-lock),#shell .search-submit:not(#theme-lock){display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:46px;padding:12px 20px;border:1px solid #fff8!important;border-radius:13px!important;background:linear-gradient(135deg,#fffdf8,#ded5c5)!important;color:#201c17!important;box-shadow:inset 0 1px 0 #fff,0 7px 19px #0003!important;text-decoration:none!important;line-height:1.5;font-weight:700;transition:transform .18s,box-shadow .18s;white-space:normal}
#shell .btn :not(#theme-lock),#overlay .btn :not(#theme-lock),#shell .search-submit :not(#theme-lock){color:#201c17!important}
#shell .btn:hover:not(#theme-lock),#overlay .btn:hover:not(#theme-lock){transform:translateY(-2px);background:linear-gradient(135deg,#fff,#f1e5cd)!important;box-shadow:inset 0 1px 0 #fff,0 10px 25px #0005!important}
#shell .btn:active:not(#theme-lock),#overlay .btn:active:not(#theme-lock){transform:translateY(0) scale(.985)}
#shell .btn.subtle:not(#theme-lock),#overlay .btn.subtle:not(#theme-lock){background:linear-gradient(120deg,rgba(255,255,255,.08),rgba(255,255,255,.025))!important;color:#f6f2ea!important;border-color:#cbd5d533!important;box-shadow:inset 0 1px 0 #ffffff0c,0 4px 13px #0002!important;backdrop-filter:blur(16px)}
#shell .btn.subtle :not(#theme-lock),#overlay .btn.subtle :not(#theme-lock){color:#f6f2ea!important}
#shell :is(.text-link,.module-footer button,.professional-card-bottom button,.sidebar-next>button,.knowledge-topics article>button,.owner-contacts):not(#theme-lock),#overlay .text-link:not(#theme-lock){display:inline-flex;align-items:center;justify-content:center;gap:10px;width:fit-content;max-width:100%;min-height:40px;padding:9px 14px;border:1px solid rgba(224,232,231,.19)!important;border-radius:999px!important;background:linear-gradient(120deg,rgba(255,255,255,.085),rgba(255,255,255,.025))!important;box-shadow:inset 0 1px 0 #ffffff09,0 3px 10px #0001!important;color:#f6f2ea!important;backdrop-filter:blur(15px);font-size:12px;font-weight:600;line-height:1.5;text-align:left;text-decoration:none!important}
#shell .text-link :not(#theme-lock),#overlay .text-link :not(#theme-lock){color:#f6f2ea!important}
#shell .text-link:hover:not(#theme-lock),#overlay .text-link:hover:not(#theme-lock){background:linear-gradient(120deg,rgba(210,181,124,.19),rgba(255,255,255,.045))!important;border-color:rgba(210,181,124,.45)!important}
#shell :is(.search-button,.question-prompt,.module-class-link,.suggested-queries button,.lesson-audio-actions button,.lesson-audio-actions select,.image-expand,.journey-switch>button,.filter-bar>button,.project-tabs>button):not(#theme-lock){background:linear-gradient(120deg,rgba(255,255,255,.075),rgba(255,255,255,.02))!important;border:1px solid rgba(230,237,235,.17)!important;border-radius:12px!important;box-shadow:inset 0 1px 0 #ffffff08!important;color:#f6f2ea!important;min-height:42px;backdrop-filter:blur(16px)}
#shell .question-prompt:not(#theme-lock){padding:17px 20px!important;gap:14px;min-height:64px;text-align:left}
#shell .search-submit:not(#theme-lock){width:44px;height:44px;min-height:44px;padding:0!important;flex-shrink:0}
#shell :is(.icon-button,.cover-action):not(#theme-lock),#overlay .modal-close:not(#theme-lock){background:linear-gradient(135deg,rgba(43,52,53,.92),rgba(14,25,27,.9))!important;border:1px solid #d3d9d426!important;border-radius:50%!important;box-shadow:inset 0 1px 0 #ffffff0a!important;min-width:38px;min-height:38px}
#shell .nav-item:not(#theme-lock){color:#d5dcda!important;border-radius:12px!important;font-size:13px}
#shell :is(.nav-item.selected,.mobile-bottom .nav-item.selected,.journey-switch>button.active,.filter-bar>button.active,.project-tabs>button.active):not(#theme-lock){background:linear-gradient(110deg,rgba(210,181,124,.18),rgba(255,255,255,.035))!important;border-color:rgba(210,181,124,.34)!important;box-shadow:inset 3px 0 0 #d2b57c!important;color:#fff!important}
#shell .nav-item:hover:not(#theme-lock){background:rgba(255,255,255,.055)!important}
#shell :is(input,textarea,select,.welcome-form-side input,.note-card textarea,.budget-stats input,.professional-task textarea):not(#theme-lock),#overlay :is(input,textarea,select):not(#theme-lock){background:rgba(6,15,18,.76)!important;border:1px solid rgba(223,232,230,.22)!important;border-radius:11px!important;color:#f6f2ea!important;box-shadow:inset 0 1px 3px #0002!important;font-size:14px;min-height:44px;color-scheme:dark}
#shell :is(input,textarea)::placeholder,#overlay :is(input,textarea)::placeholder{color:#aeb9b7!important;opacity:1}
#shell select option,#overlay select option{background:#152124;color:#f6f2ea}
#shell :is(input[type=checkbox],input[type=radio]):not(#theme-lock),#overlay :is(input[type=checkbox],input[type=radio]):not(#theme-lock){min-height:16px;width:16px;height:16px;accent-color:#85ad86}
#shell :is(.knowledge-input,.search-field,.search-button kbd,.audio-symbol,.audio-duration,.answer-option,.sprint-option,.sprint-option>span,.status,.professional-feedback,.professional-saved,.profile-avatar):not(#theme-lock),#overlay :is(.search-field,.answer-option,.sprint-option,.sprint-option>span,.status):not(#theme-lock){background:rgba(255,255,255,.045)!important;border-color:rgba(226,234,231,.19)!important;color:#f0f1ea!important}
#shell .knowledge-input input:not(#theme-lock),#overlay .search-field input:not(#theme-lock){background:transparent!important;border:0!important;box-shadow:none!important}
#shell :is(.progress-track,.professional-progress,.professional-module-progress,.process-track,.module-progress-track,.lesson-step-track,.sprint-progress):not(#theme-lock),#overlay .sprint-progress:not(#theme-lock){background:rgba(228,235,232,.12)!important;box-shadow:none!important;border-radius:999px!important}
#shell :is(.progress-track>i,.professional-progress .progress-track>i,.professional-module-progress .progress-track>i,.process-track>i,.module-progress-track>i,.map-tile-progress>i,.lesson-step-track i.done,.lesson-step-track i.current):not(#theme-lock),#overlay .sprint-progress>i:not(#theme-lock){background:linear-gradient(90deg,#719e7b,#a1c399)!important;box-shadow:none!important;border-radius:inherit}
#shell .progress-ring:not(#theme-lock){background:conic-gradient(#91b48c var(--progress),#ffffff16 0)!important}#shell .progress-ring:before{background:#1b292c!important}
#shell .process-dial:not(#theme-lock){background:conic-gradient(#91b48c var(--dial),#ffffff16 0)!important}#shell .process-dial:before{background:#1b292c!important}
#shell .process-number:not(#theme-lock){background:#ffffff06!important;border-color:#d2b57c55!important}#shell .process-step.complete .process-number:not(#theme-lock){background:#58795a!important}
#shell :is(.sprint-option.correct,.sprint-feedback,.status.success,.professional-question label:has(input:checked),.answer-option:has(input:checked)):not(#theme-lock),#overlay :is(.sprint-option.correct,.sprint-feedback,.status.success,.answer-option:has(input:checked)):not(#theme-lock){background:rgba(116,165,127,.15)!important;border-color:#91b48c66!important;color:#f4f7ef!important}
#overlay :is(.sprint-option.incorrect,.sprint-feedback.retry):not(#theme-lock){background:rgba(182,119,98,.13)!important;border-color:#d7a89466!important}
#overlay .sprint-option.picked:not(#theme-lock){background:rgba(210,181,124,.14)!important;border-color:#d2b57c99!important}
#overlay .sprint-option:disabled:not(#theme-lock){opacity:1!important;cursor:default}
#shell :is(.badge-card.earned>svg,.cert-ornament,.cert-check.done svg):not(#theme-lock),#overlay :is(.result-emblem svg,.sprint-celebration>svg):not(#theme-lock){color:#dfbe7b!important}
#shell .badge-card.earned:not(#theme-lock){border-color:#d2b57c66!important}
#shell .lesson-audio audio{color-scheme:dark}
#shell .streak-week strong:not(#theme-lock){background:#ffffff09!important;border-color:#ffffff17!important}#shell .streak-week .active strong:not(#theme-lock){background:#58795a!important;color:#fff!important}
#shell .sidebar-next:not(#theme-lock){background:linear-gradient(120deg,#d2b57c0d,#ffffff03)!important;border-color:#d2b57c33!important}
#shell :is(.road-stops .road-stop.next,.road-stops .road-stop.done):not(#theme-lock){background:linear-gradient(120deg,rgba(75,65,45,.55),rgba(20,31,33,.8))!important;border-color:#d2b57c60!important}
#shell .road-stops:before{background:linear-gradient(#d2b57c09,#d2b57c66 15%,#d2b57c66 85%,#d2b57c09)!important}
#shell .road-stops .road-node:not(#theme-lock){background:linear-gradient(135deg,#334044,#18282b)!important;border-color:#ffffff24!important;box-shadow:inset 0 1px 0 #ffffff0b,0 4px 12px #0003!important}
#shell .road-stops .road-stop.done .road-node:not(#theme-lock){background:linear-gradient(135deg,#7c9e73,#4e6f50)!important}#shell .road-stops .road-stop.next .road-node:not(#theme-lock){background:linear-gradient(135deg,#ead8b3,#bc995a)!important}
#shell .road-stops .road-stop.next .road-node :not(#theme-lock){color:#251e13!important}
#shell .road-step-status:not(#theme-lock){background:#ffffff06!important;border-color:#d2b57c33!important}#shell .road-stop.next .road-step-status:not(#theme-lock){background:#d2b57c1f!important;border-color:#d2b57c55!important}
#shell .road-stops .road-reading:not(#theme-lock){background:transparent!important;color:#d5ddda!important;text-decoration:none!important}
#shell .road-stops .road-stop.next .path-action:not(#theme-lock){background:linear-gradient(135deg,#f5e8cb,#cfb17a)!important;border-color:#e8d8b277!important;color:#251e13!important}
#shell .road-stops .road-stop.next .path-action :not(#theme-lock){color:#251e13!important}
#shell :is(.module-map-tile,.project-cover,.professional-card-image,.unit-banner,.module-cover) :not(#theme-lock){color:#fff!important}
#shell .map-tile-shade{background:linear-gradient(180deg,#101815b8,#1018154d 25%,#101815e0 70%,#101815f2)!important}
#shell .inspiration-tile>small:not(#theme-lock){background:linear-gradient(0deg,#071014ed,#07101477)!important;color:#fff!important}#shell .inspiration-tile>span:not(#theme-lock){background:#112125d9!important;border-color:#ffffff44!important}
#shell .cover-action:not(#theme-lock),#shell .cover-number:not(#theme-lock){background:#0b1a1ddc!important;border-color:#ffffff44!important}
#shell .book-scroll:not(#theme-lock){background:#101c1f99!important}
#shell .welcome-form-side:not(#theme-lock){background:linear-gradient(145deg,rgba(29,38,40,.95),rgba(8,20,24,.92))!important;backdrop-filter:blur(25px)!important;-webkit-backdrop-filter:blur(25px)!important;border:1px solid #ffffff17;border-radius:24px}
#shell .welcome-form-side:before{background:radial-gradient(ellipse at top right,#d2b57c0e,transparent 60%)!important}
#shell .welcome-form-side>h2{font-size:clamp(38px,3.6vw,52px)!important;line-height:1.08}#shell .welcome-form-side>p{font-size:14px!important;line-height:1.8!important}
#shell .welcome-form-side .form-field>span{font-size:12px!important;letter-spacing:.06em}#shell .welcome-form-side .helper{font-size:12px!important;line-height:1.8!important}#shell .welcome-form-side input:not(#theme-lock){min-height:52px;font-size:15px}#shell .welcome-form-side input[type=checkbox]:not(#theme-lock){min-height:16px}
#shell .welcome-photo:after{background:linear-gradient(0deg,#0a1214ed,#0a121433 90%)!important}#shell .welcome-photo h1{font-size:clamp(48px,5.4vw,70px)!important;line-height:1!important;max-width:12ch}#shell .welcome-photo h1 em{color:#fff!important}#shell .welcome-photo p{color:#edf2ed!important;font-size:14px}
#shell .consent-row button:not(#theme-lock),#shell .welcome-admin:not(#theme-lock){display:inline;min-height:0;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#f0dfbd!important;text-decoration:underline!important;text-underline-offset:3px}
#shell .welcome-admin:not(#theme-lock){display:block;margin-top:22px;font-size:12px}
#shell .review-invitation:not(#theme-lock){background:linear-gradient(100deg,#081216ef,#081216d6 50%,#081216b8),url('assets/room-31.jpg') center/cover!important;border-color:#ffffff20!important}
#shell .hero-shade{background:linear-gradient(90deg,#061013ed,#0610139c 52%,#06101312)!important}#shell .project-banner:after{background:linear-gradient(90deg,#061013f2,#061013bb 60%,#06101333)!important}
#shell .video-apply:not(#theme-lock){background:#ffffff05!important;border-color:#d2b57c33!important}#shell .video-play-label:not(#theme-lock),#overlay .video-play-label:not(#theme-lock){background:#0a171bd9!important;color:#fff!important}
#shell .btn:disabled:not(#theme-lock),#overlay .btn:disabled:not(#theme-lock){background:#344145!important;color:#bac3c2!important;border-color:#526064!important;box-shadow:none!important;opacity:1;transform:none!important}#shell .btn:disabled :not(#theme-lock),#overlay .btn:disabled :not(#theme-lock){color:#bac3c2!important}
#shell :focus-visible,#overlay :focus-visible{outline:3px solid #dfbf80!important;outline-offset:4px!important}
.skip{background:#f6ead1!important;color:#201c17!important}#toast{background:rgba(17,30,34,.98)!important;color:#f5f4ec!important;border-color:#d2b57c55!important;box-shadow:0 12px 38px #0005!important}
.result-emblem{display:grid;place-items:center;width:64px;height:64px;border:1px solid #d2b57c55;border-radius:50%;background:radial-gradient(circle at 25% 10%,#d2b57c22,#d2b57c08);margin-bottom:20px}.profile-encouragement{margin-top:26px;padding-top:24px;border-top:1px solid var(--border)}.profile-encouragement p{font-size:13px}
#encouragement{position:fixed;right:25px;bottom:26px;width:min(365px,calc(100vw - 36px));z-index:85;pointer-events:none}.motivation-card{position:relative;pointer-events:auto;padding:27px 26px 22px;border:1px solid #d2b57c44;border-radius:24px;background:linear-gradient(135deg,rgba(40,49,50,.97),rgba(12,27,31,.97));box-shadow:0 18px 60px #0006,inset 0 1px 0 #ffffff0b;backdrop-filter:blur(25px);max-height:calc(100dvh - 130px);overflow:auto;animation:dark-motivation-enter .25s ease-out;color:#f6f2ea}.motivation-card h3{font:500 30px/1.08 var(--display);color:#fbf8f1!important;margin:12px 0}.motivation-card p{font:13px/1.8 var(--body);color:#ced6d3!important;margin-bottom:19px}.motivation-card>.eyebrow{font-size:9px;color:#dfc794}.motivation-close{position:absolute;right:16px;top:16px;display:grid;place-items:center;min-width:34px;min-height:34px;border:1px solid #ffffff26;border-radius:50%;background:#ffffff08;color:#f6f2ea}.motivation-emblem{display:grid;place-items:center;width:49px;height:49px;margin-bottom:20px;background:radial-gradient(circle at 25% 10%,#d2b57c33,#d2b57c0a);border:1px solid #d2b57c66;border-radius:50%;color:#dfbe7b}.motivation-progress>span{display:block;font:11px/1.6 var(--body);color:#c0c7c7;margin-bottom:8px}.motivation-track{height:5px;border-radius:99px;background:#ffffff15;overflow:hidden}.motivation-track>i{display:block;height:100%;background:linear-gradient(90deg,#719e7b,#a1c399);border-radius:inherit}.motivation-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:21px}.motivation-continue{display:inline-flex;align-items:center;gap:10px;border-radius:99px;background:linear-gradient(135deg,#f8edda,#d9c8a8);border:1px solid #fff6;padding:9px 15px;color:#251f19;font-size:12px;font-weight:650;min-height:40px}.motivation-disable{padding:0;color:#c0c7c7;font-size:11px;text-decoration:underline;text-underline-offset:3px}
@keyframes dark-motivation-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.certificate-artwork{position:relative;container-type:inline-size;display:block;width:100%;aspect-ratio:4/3;margin:0;padding:0!important;border:0!important;outline:0!important;background:#faf9f3!important;overflow:hidden;border-radius:8px;min-height:0!important;box-shadow:0 12px 36px #0003}
.certificate-artwork>img{display:block;width:100%;height:100%;object-fit:contain}.certificate-name-cover{position:absolute;left:15%;top:37%;width:70%;height:20.7%;background:linear-gradient(90deg,#f9f8f3,#faf9f3 50%,#faf9f3);pointer-events:none}.certificate-personal-name{position:absolute;left:17%;top:39%;width:66%;height:15%;display:flex;align-items:center;justify-content:center;text-align:center;font-family:var(--display);font-style:italic;font-weight:500;font-size:var(--cert-name-size,6cqw);line-height:1.08;overflow:hidden;padding:0 .3em}.certificate-name-rule{position:absolute;top:53.7%;left:15.2%;width:69.6%;height:.18%;background:#d39d4e}
#shell .certificate-artwork :not(#theme-lock),#overlay .certificate-artwork :not(#theme-lock){color:#15120d!important}
#shell .cert-preview:not(#theme-lock){display:flex;flex-direction:column;justify-content:center;padding:20px;gap:15px}#shell .cert-preview>h3{font-size:28px;margin:0}#shell .cert-preview>p{font-size:12px;margin:0;line-height:1.75}.certificate-print-meta{font-size:12px;line-height:1.8;margin:18px 0 23px}.certificate-print-meta strong{font-weight:650}
@media(max-width:650px){#encouragement{right:18px;bottom:93px;width:min(350px,calc(100vw - 36px))}.motivation-card{padding:23px}#shell .welcome-form-side:not(#theme-lock){border-radius:20px 20px 0 0;min-height:auto}#shell .welcome-photo h1{font-size:42px!important}.certificate-personal-name{font-size:var(--cert-name-size,6cqw)}#shell .cert-preview:not(#theme-lock){padding:15px}#shell .mobile-bottom .nav-item{font-size:10px!important}#shell .module-body h3{min-height:0}}
@media(prefers-reduced-motion:reduce){.motivation-card{animation:none}#shell button,#overlay button{transition:none!important;transform:none!important}}
@media print{@page{size:A4 landscape;margin:6mm}html,body{background:#fff!important;color:#15120d!important}body:before,#shell,#encouragement,#toast,.no-print,.modal-close{display:none!important}#overlay{display:block!important}#overlay .modal-backdrop:not(#theme-lock),#overlay .modal:not(#theme-lock){position:static!important;display:block!important;background:#fff!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important;max-height:none!important;overflow:visible!important;width:100%!important}#overlay .modal-body{padding:0!important}.certificate-artwork.print-certificate{width:264mm;max-width:100%;aspect-ratio:4/3;min-height:0!important;margin:0 auto!important;border-radius:0!important;break-inside:avoid;box-shadow:none!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}#overlay .certificate-artwork :not(#theme-lock){color:#15120d!important}.certificate-print-meta{display:none!important}}
