/* Fabriq Quest — 1.20. Identity, quieter surfaces and reading refinements. */
:root{--fq-mint:#7de1c4;--fq-ink:#102b29;--fq-ring:#a3eed4;--fq-ease:cubic-bezier(.2,.7,.2,1)}
.brand-mark,html[data-theme="light"] .brand-mark{display:block;width:44px;height:44px;flex:0 0 44px;background:none;border:0;border-radius:13px;box-shadow:none;letter-spacing:0;line-height:0}
.brand-mark img{display:block;width:100%;height:100%;border-radius:inherit}
.brand-copy{display:block;min-width:0}.brand-name{font-weight:750;letter-spacing:-.8px;white-space:nowrap;line-height:1.15;color:var(--text)}
.brand-name>span{font-weight:450;color:var(--teal)}
.public-brand{gap:12px;min-width:0}.public-brand .brand-name{font-size:24px}.public-brand small{margin-top:6px;font-size:10px;letter-spacing:.55px;font-weight:450;color:var(--muted)}
.identity{gap:11px;align-items:center;padding-left:6px;padding-right:4px}.identity .brand-mark{width:40px;height:40px;flex-basis:40px;border-radius:12px}.identity .brand-name{font-size:18px;letter-spacing:-.7px}.identity small{font-size:9px;letter-spacing:.35px;margin-top:6px}
.sidebar{background:linear-gradient(180deg,#0e1b25,#0d1722 48%);border-right-color:#263b43}
.navitem{transition:background .18s var(--fq-ease),border-color .18s var(--fq-ease),color .18s var(--fq-ease)}
.navitem.active{background:linear-gradient(100deg,#204139,#17312d);border-color:#375d4e;box-shadow:inset 3px 0 0 var(--teal)}
.top{background:#0a121ced}.tag{font-variant-numeric:tabular-nums;letter-spacing:.3px}
.public-nav{border-bottom-color:#38534c80}.public-nav-actions .btn{border-radius:12px}
.sales-hero{position:relative;gap:clamp(32px,5vw,76px)}
.sales-copy h1{font-size:clamp(43px,5.3vw,72px);line-height:1.08;letter-spacing:-2.9px;font-weight:700;max-width:720px;margin-top:22px}
.sales-copy h1 em{color:var(--teal);font-weight:480}.sales-copy>p{font-size:16px;line-height:1.9;max-width:570px}
.hero-pills span{font-size:11px;border-color:#3d6656;background:#19352b60;color:#bddccc;padding:7px 12px}
.quiet-link{display:inline-flex;gap:14px;align-items:center;font-size:12px}
.offer-card{border-color:#78af97;background:radial-gradient(ellipse at 8% 0%,#315f454d,transparent 70%),linear-gradient(145deg,#203f35,#14272b);box-shadow:0 24px 70px #0003,inset 0 1px 0 #c6fbe015;border-radius:23px;padding:30px}
.offer-term{border-color:#65967e70;font-variant-numeric:tabular-nums}.offer-card .plan strong{letter-spacing:-2px}.offer-cta{min-height:50px;border-radius:12px;font-size:14px}.offer-note{font-size:11px}.offer-security{line-height:1.8}
.btn{transition:background .18s var(--fq-ease),border-color .18s var(--fq-ease),box-shadow .18s var(--fq-ease),transform .18s var(--fq-ease)}
.btn.primary:not(:disabled):hover{box-shadow:0 5px 20px #7de1c41f}.btn:not(:disabled):active{transform:translateY(1px)}
:is(.panel,.course-card,.included-card,.feature,.exam-card,.theme-card,.attempt-card,.saved-question){box-shadow:0 8px 25px #02090d18}
:is(.course-card,.theme-card,.exam-card,.attempt-card,.included-card){border-radius:18px}
.included-card{padding:28px}.included-card h3{font-size:23px;letter-spacing:-.7px}.included-card p{line-height:1.85;font-size:13px}
.course-icon{border-radius:14px}.course-icon .ui-icon{width:23px;height:23px}
.welcome,.theme-home{background:radial-gradient(ellipse at 85% 0%,#315c3e33,transparent 70%),linear-gradient(120deg,#19362f,#13252b);border-color:#3c5d4e;border-radius:22px}
.theme-home h2{letter-spacing:-1px;line-height:1.18}.theme-course{border-radius:14px}.theme-course-cta{font-weight:650}
.theme-card{border-top-width:1px;position:relative;overflow:hidden}.theme-card:before{content:"";position:absolute;left:20px;top:0;width:40px;height:2px;background:var(--accent);border-radius:0 0 3px 3px}
.theme-card-title{font-weight:650;letter-spacing:-.25px}.theme-card:hover{box-shadow:0 12px 28px #02090d2b}.theme-week{font-variant-numeric:tabular-nums}
.exam-card{border-top-width:1px}.exam-card h3{font-weight:650}.exam-card .question-tag{color:var(--accent)}
:is(input,select,textarea){transition:border-color .16s,box-shadow .16s}.library-tools,.exam-tools,.saved-tools{border-radius:16px}.file-row{transition:border-color .18s,background .18s}.file-row:hover{border-color:#577b6c}
.library-group>summary,.library-week>summary{transition:background .18s}.library-group>summary:hover,.library-week>summary:hover{background:#23413644}
.reading-view{max-width:1040px}.quiz-reading-layout{grid-template-columns:minmax(0,1fr) 82px;gap:20px}
#quiz-run{background:#13232e;border-color:#3a505b;padding:30px 36px 25px;box-shadow:0 14px 45px #0002}
#q-stem{font-size:17px;line-height:1.95;letter-spacing:0;font-weight:450;text-wrap:pretty}
.question-tools{gap:8px;align-items:center}.question-tools .btn,.question-tools .linkbtn{font-size:11px;min-height:36px;padding:7px 10px;border-radius:9px}.question-tools .question-tag{margin-left:auto}
.quiz-navigator{gap:7px}.quiz-jump{border-radius:8px;font-variant-numeric:tabular-nums}.progress-rail{height:3px;border-radius:8px}
.option{padding:17px 18px;line-height:1.85;font-size:14px;border-radius:13px}.option [data-highlight-target]{font-size:inherit!important;line-height:inherit!important;letter-spacing:0}.option>span:first-child{border-radius:8px}
.option.selected{box-shadow:0 0 0 1px #93cfb12b,inset 3px 0 #93cfb1}
.highlight-sidebar .highlight-toolbar{background:var(--panel);border-color:var(--stroke);padding:15px 7px;border-radius:19px;gap:14px;box-shadow:0 8px 24px #0002}.highlight-sidebar .highlight-title{font-size:10px;letter-spacing:.4px}.highlight-sidebar .highlight-erase,.highlight-sidebar .highlight-clear{min-height:42px;border-radius:9px}.highlight-color{transition:transform .15s,box-shadow .15s}.highlight-color:hover{transform:scale(1.09)}
.comment-box{line-height:1.9;border-radius:14px}.comment-box h4{font-size:12px}.quiz-actions{gap:10px;flex-wrap:wrap}.quiz-actions .btn{min-width:0;flex:1 1 150px;min-height:46px}
.attempt-result-hero{border-radius:21px}.result-percentage{letter-spacing:-2px}.result-metrics dd{font-variant-numeric:tabular-nums}.legal-content{border-radius:20px}.legal-footer{line-height:1.9}
html[data-theme="light"] .sidebar{background:linear-gradient(180deg,#f5faf7,#eff4f6);border-color:#d3dedc}
html[data-theme="light"] .brand-name>span{color:#17674f}html[data-theme="light"] .top{background:#f7faf9ed}
html[data-theme="light"] .navitem.active{background:linear-gradient(100deg,#dcefe4,#e8f3ed);border-color:#8ab7a2;box-shadow:inset 3px 0 #26795d}
html[data-theme="light"] .hero-pills span{background:#e6f3eb;border-color:#b0cdbb;color:#285f47}
html[data-theme="light"] .offer-card{background:radial-gradient(ellipse at 8% 0%,#d2ebd960,transparent 70%),linear-gradient(145deg,#f2faf3,#eaf4ef);border-color:#7ea88b;box-shadow:0 20px 60px #16324812,inset 0 1px #fff}
html[data-theme="light"] :is(.welcome,.theme-home){background:radial-gradient(ellipse at 85% 0%,#d7ebd980,transparent 70%),linear-gradient(120deg,#edf7f0,#f1f6f7);border-color:#aac7b5}
html[data-theme="light"] #quiz-run{background:#fff;border-color:#bfd0d4;box-shadow:0 14px 45px #1632480a}
html[data-theme="light"] .option.selected{box-shadow:0 0 0 1px #26806619,inset 3px 0 #268066}
html[data-theme="light"] :is(.library-group>summary:hover,.library-week>summary:hover){background:#e7f2ec}
html[data-theme="light"] .btn.primary:not(:disabled):hover{box-shadow:0 5px 20px #166f5924}
@media(min-width:1450px){.page{max-width:1380px}.sales-copy h1{font-size:76px}}
@media(max-width:1100px){.sales-copy h1{font-size:52px;letter-spacing:-2px}.offer-card{padding:26px}.public-brand .brand-name{font-size:22px}}
@media(max-width:900px){.sales-hero{gap:30px}.identity .brand-name{font-size:19px}.public-brand .brand-name{font-size:23px}}
@media(max-width:740px){.quiz-reading-layout{grid-template-columns:minmax(0,1fr) 62px;gap:10px}#quiz-run{padding:22px 16px}#q-stem{font-size:15px;line-height:1.9}.option{font-size:13px;gap:10px;padding:14px 12px}.highlight-sidebar .highlight-toolbar{padding:12px 5px;gap:14px}.question-tools .btn,.question-tools .linkbtn{font-size:10px;padding:7px 8px}.question-tools .question-tag{width:100%;margin-left:0}.highlight-sidebar .highlight-color{width:36px;height:36px;min-width:36px;min-height:36px}}
@media(max-width:600px){.public-nav{justify-content:space-between}.public-brand .brand-name{font-size:22px}.public-brand small{font-size:9px}.public-brand .brand-mark{width:40px;height:40px;flex-basis:40px}.public-nav-actions{width:100%;justify-content:space-between}.public-nav-actions .public-price{order:-1;margin-right:auto}.sales-copy h1{font-size:clamp(43px,11vw,58px);line-height:1.08;letter-spacing:-1.9px}.sales-copy>p{font-size:14px}.offer-card{padding:26px 23px;border-radius:20px}.included-card{padding:24px}.quiz-actions .btn{flex-basis:120px;font-size:11px}.legal-header{align-items:center}.legal-header .public-brand{flex:1 1 200px}.legal-header>.btn{font-size:11px}}
@media(max-width:420px){.quiz-reading-layout{grid-template-columns:minmax(0,1fr) 55px;gap:8px}#quiz-run{padding:20px 12px}.highlight-sidebar .highlight-clear,.highlight-sidebar .highlight-erase{font-size:9px;padding:7px 2px}.option{gap:8px;padding:12px 10px}.option>span:first-child{width:23px;height:25px;flex-basis:23px}.public-nav-actions{gap:7px}.public-nav-actions .btn{padding:10px 12px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}.highlight-color:hover,.btn:active{transform:none}}
@media print{.brand-name>span{color:#254f40}.brand-mark{print-color-adjust:exact;-webkit-print-color-adjust:exact}#quiz-run{box-shadow:none}.quiz-reading-layout{display:block}}

/* 1.21 — full-width public header, meaningful answer states and fine interactions. */
body:not(.is-public) .main>.public-nav{display:none}
body.is-public .main>.public-nav{display:block;align-self:stretch;width:100%;max-width:none;margin:0;padding:0;min-height:0;border-bottom:1px solid #30464c;z-index:40;background:#0b161fed;box-shadow:0 6px 30px #0000000d}
.public-nav-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;max-width:1250px;padding:20px 38px;margin:0 auto;min-height:88px}
.public-nav-inner>.public-brand{margin:0}.public-nav-inner>.public-nav-actions{margin:0;min-width:0;gap:20px}
html[data-theme="light"] body.is-public .main>.public-nav{background:#f8fbf9ed;border-color:#d2dfd9}
.theme-toggle,html[data-theme="light"] .theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:76px;width:76px;min-height:44px;height:44px;padding:4px;border:0;background:transparent;box-shadow:none;border-radius:30px;flex:0 0 76px;position:relative;overflow:visible}
.theme-track{position:relative;display:block;isolation:isolate;overflow:hidden;width:68px;height:36px;border-radius:30px;background:#233b51;border:1px solid #4d687a;box-shadow:inset 0 2px 4px #02081022;transition:background .42s,border-color .42s}
.theme-thumb{position:absolute;top:3px;left:3px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e6edf2;box-shadow:0 2px 6px #02081038;transform:translateX(0);transition:transform .46s cubic-bezier(.2,.8,.25,1),background .35s}
.theme-thumb svg,.theme-thumb .theme-sun,.theme-thumb .theme-moon,html[data-theme="light"] .theme-thumb .theme-sun,html[data-theme="light"] .theme-thumb .theme-moon{display:block;position:absolute;width:18px;height:18px;inset:5px;transition:transform .46s cubic-bezier(.2,.8,.25,1),opacity .26s}
.theme-thumb .theme-moon{color:#1b3449;opacity:1;transform:rotate(0) scale(1)}.theme-thumb .theme-sun{color:#9b5c06;opacity:0;transform:rotate(-100deg) scale(.4)}
.theme-stars{position:absolute;inset:0;transition:opacity .22s,transform .46s;transform:translateX(0);opacity:1}.theme-stars i{position:absolute;background:#d8f4ef;width:3px;height:3px;border-radius:50%;left:47px;top:8px}.theme-stars i:nth-child(2){left:55px;top:19px;width:2px;height:2px}.theme-stars i:nth-child(3){left:42px;top:25px;width:2px;height:2px}
html[data-theme="light"] .theme-track{background:#dbeee0;border-color:#a8c5b0}html[data-theme="light"] .theme-thumb{transform:translateX(32px);background:#fff1b7}html[data-theme="light"] .theme-thumb .theme-sun{opacity:1;transform:rotate(0) scale(1)}html[data-theme="light"] .theme-thumb .theme-moon{opacity:0;transform:rotate(85deg) scale(.4)}html[data-theme="light"] .theme-stars{opacity:0;transform:translateX(-15px)}
.theme-toggle-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.theme-toggle:hover .theme-track{border-color:var(--teal)}.theme-toggle:active .theme-thumb{width:30px}
html[data-theme-ready="true"] :is(body,.sidebar,.top,.public-nav,.panel,.option,.course-card,.theme-card,.file-row,.glossary-dialog){transition:background-color .3s,color .3s,border-color .3s}
.quiz-navigation-guide{display:flex;justify-content:space-between;align-items:center;gap:12px 20px;flex-wrap:wrap;margin:14px 0;color:var(--muted)}.quiz-state-legend{display:flex;gap:10px 14px;flex-wrap:wrap;align-items:center;font-size:10px;letter-spacing:0}.quiz-legend-item{display:inline-flex;gap:5px;align-items:center}.quiz-legend-mark{font-style:normal;width:16px;height:16px;display:inline-grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:11px;line-height:1}
.quiz-jump{border-radius:50%;width:38px;height:38px;flex-basis:38px;min-height:38px;position:relative;transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}
.quiz-jump-number{line-height:1}
.quiz-jump.is-correct,.quiz-legend-mark.is-correct{background:#1b4435;border-color:#76bd95;color:#a4e2ba}.quiz-jump.is-wrong,.quiz-legend-mark.is-wrong{background:#4a2630;border-color:#cf758a;color:#ffb6c4}.quiz-jump.is-annulled,.quiz-legend-mark.is-annulled{background:#263039;border-color:#657780;color:#c5d0d4}.quiz-jump.is-reviewed,.quiz-legend-mark.is-reviewed{background:#25313d;border-color:#7993a8;color:#c0d4e7}.quiz-jump.is-answered,.quiz-legend-mark.is-answered{background:#253442;border-color:#6e8ca5;color:#cee0ed}.quiz-jump.is-annulled .quiz-jump-number{font-size:24px;font-weight:400;line-height:1}
.quiz-jump[aria-current="step"],html[data-theme="light"] .quiz-jump[aria-current="step"]{outline:2px solid var(--teal);outline-offset:3px;box-shadow:0 0 0 5px #7de1c412}
.quiz-jump.is-empty[aria-current="step"],.quiz-jump.is-draft[aria-current="step"],.quiz-jump.is-pending[aria-current="step"]{background:var(--panel2);color:var(--text)}.quiz-jump:hover{transform:translateY(-1px)}
.question-context{margin:24px 0 12px;padding-top:18px;border-top:1px solid var(--stroke)}.question-context .question-tag{display:block;line-height:1.7;font-size:10px;letter-spacing:.6px;color:var(--muted);overflow-wrap:anywhere}
.question-tools{display:flex;flex-direction:row!important;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 16px}.question-tools .btn{font-size:11px;min-height:38px;border-color:var(--stroke);background:transparent}.question-tools .bookmark-button.is-saved{background:#234435;border-color:#608e73}
.question-more{position:relative;margin-left:auto;font-size:11px;min-width:0}.question-more>summary{display:flex;align-items:center;gap:9px;padding:9px 11px;min-height:38px;border:1px solid var(--stroke);border-radius:9px;list-style:none;cursor:pointer;color:var(--muted)}.question-more>summary::-webkit-details-marker{display:none}.question-more>summary>span{transition:transform .2s}.question-more[open]>summary>span{transform:rotate(180deg)}.question-more-menu{position:absolute;z-index:15;top:calc(100% + 8px);right:0;display:grid;gap:6px;padding:9px;width:210px;max-width:calc(100vw - 60px);border:1px solid var(--stroke);background:var(--panel);border-radius:13px;box-shadow:0 14px 40px #02081055}.question-more-menu .btn,.question-more-menu .linkbtn{width:100%;justify-content:flex-start;text-align:left;min-height:38px;font-size:11px;padding:9px;border:0;border-radius:7px}.question-more-menu button:hover{background:var(--panel2)}
.quiz-help{margin:10px 0 0;border-top:1px solid var(--stroke);padding-top:10px}.quiz-help>summary{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;list-style:none;cursor:pointer;width:fit-content}.quiz-help>summary::-webkit-details-marker{display:none}.quiz-help .quiz-draft-note{font-size:11px;line-height:1.8;padding:12px 0 3px;margin:0;color:var(--muted)}
.question-terms-panel{padding:0;margin:18px 0;background:transparent;border:0;border-top:1px solid var(--stroke);border-bottom:1px solid var(--stroke);border-radius:0}.question-terms-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;list-style:none;cursor:pointer;font-size:11px;color:var(--muted)}.question-terms-panel>summary::-webkit-details-marker{display:none}.question-terms-panel>summary>span{transition:transform .2s}.question-terms-panel[open]>summary>span{transform:rotate(180deg)}.question-terms-panel[open]{padding-bottom:14px}.question-terms-panel .hint{font-size:10px;margin-top:2px!important}
#q-annul-note:empty,#study-save-status:empty{display:none}#q-stem{margin-top:20px}.highlight-sidebar .highlight-toolbar{border-radius:16px;background:var(--panel);box-shadow:0 5px 18px #00000014}.highlight-sidebar .highlight-clear,.highlight-sidebar .highlight-erase{font-size:9px;border-color:transparent;background:var(--panel2)}.highlight-sidebar .highlight-color{border-width:4px;box-shadow:0 0 0 1px var(--stroke)}
:is(.course-card,.theme-card,.included-card,.exam-card,.file-row,.theme-course){transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s,border-color .22s,background-color .22s}.course-card:hover,.theme-card:hover,.included-card:hover,.theme-course:hover{transform:translateY(-3px);box-shadow:0 14px 30px #02081024}.file-row:hover{transform:translateX(2px)}.card-cta,.theme-card-cta,.theme-course-arrow{transition:transform .22s}.course-card:hover .card-cta,.theme-card:hover .theme-card-cta{transform:translateX(3px)}.theme-course:hover .theme-course-arrow{transform:translate(2px,-2px)}
html[data-theme="light"] .quiz-jump.is-correct,html[data-theme="light"] .quiz-legend-mark.is-correct{background:#e2f3e9;border-color:#548b6c;color:#245d3e}html[data-theme="light"] .quiz-jump.is-wrong,html[data-theme="light"] .quiz-legend-mark.is-wrong{background:#fce8ed;border-color:#c66c80;color:#972c47}html[data-theme="light"] .quiz-jump.is-annulled,html[data-theme="light"] .quiz-legend-mark.is-annulled{background:#edf0f2;border-color:#9cabb1;color:#53646d}html[data-theme="light"] .quiz-jump.is-reviewed,html[data-theme="light"] .quiz-legend-mark.is-reviewed,html[data-theme="light"] .quiz-jump.is-answered{background:#eaf0f6;border-color:#a2b3c3;color:#395870}html[data-theme="light"] .question-tools .bookmark-button.is-saved{background:#e2f3e8;border-color:#97b8a3}html[data-theme="light"] .question-more-menu{box-shadow:0 14px 40px #1632481f}
@media(min-width:1450px){.public-nav-inner{max-width:1380px;padding-left:40px;padding-right:40px}}
@media(max-width:900px){.public-nav-inner{padding:15px 23px;min-height:78px}.public-nav-inner>.public-nav-actions{gap:13px}}
@media(max-width:600px){.public-nav-inner{padding:15px 18px;flex-wrap:wrap;gap:16px}.public-nav-inner>.public-brand{margin:0}.public-nav-inner>.public-nav-actions{display:flex;width:auto;flex:1 1 260px;gap:10px;flex-wrap:wrap;justify-content:flex-end}.public-nav-actions .public-price{margin-right:auto}.theme-toggle{order:0}.quiz-state-legend{gap:7px 10px;font-size:9px}.question-tools .btn{font-size:10px;padding:8px 9px}.question-more{margin-left:0}.quiz-jump{min-width:36px;flex-basis:36px;width:36px;height:36px;min-height:36px}.quiz-navigation-guide{gap:12px}.highlight-sidebar .highlight-toolbar{gap:12px}#q-stem{font-size:15px;line-height:1.9}.question-more-menu{right:auto;left:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}.course-card:hover,.theme-card:hover,.included-card:hover,.theme-course:hover,.file-row:hover,.quiz-jump:hover,.theme-course:hover .theme-course-arrow,.course-card:hover .card-cta,.theme-card:hover .theme-card-cta{transform:none}}
@media print{.main>.public-nav,.question-tools,.quiz-help,.quiz-state-legend{display:none!important}}
/* Editorial wordmark: the exact same vector geometry on all brand surfaces. */
.public-brand{display:flex;flex-direction:column;align-items:flex-start;gap:0}.brand-lockup{display:block;line-height:0;flex:none}.brand-wordmark{display:block;width:206px;height:auto;max-width:100%}.brand-on-light{display:none}html[data-theme="light"] .brand-on-dark{display:none}html[data-theme="light"] .brand-on-light{display:block}.public-brand .brand-subtitle{margin:0 0 0 4px;letter-spacing:1px;font-size:9px;line-height:1.5;font-weight:450}.identity .brand-wordmark{width:171px}.identity .brand-lockup{margin-left:-2px}.identity small{margin-top:3px;font-size:9px;letter-spacing:.8px}.identity{padding-bottom:24px;padding-left:9px}.legal-header .public-brand{margin-right:auto}.legal-header .brand-wordmark{width:190px}.public-nav-inner .brand-wordmark{width:205px}@media(max-width:900px){.identity .brand-wordmark{width:155px}.identity small{font-size:8px}.public-nav-inner .brand-wordmark{width:185px}}@media(max-width:600px){.public-nav-inner .brand-wordmark{width:180px}.public-brand .brand-subtitle{font-size:8px}.identity .brand-wordmark{width:148px}.identity{padding-bottom:0}.public-nav-inner>.public-nav-actions{flex-basis:240px}.public-nav-inner{gap:13px}.legal-header .brand-wordmark{width:180px}}

#library-return-study{margin:0 0 18px}

/* 1.22 — quiet question indicators, compact study tools and account disclosure. */
.quiz-jump-number{display:grid;place-items:center;position:static;line-height:1}
.quiz-jump.is-annulled .quiz-jump-number{font-size:24px;font-weight:400}
.question-tools #q-annul.is-annulled{border-color:var(--stroke);background:var(--panel2);color:var(--text)}
.account-menu-wrap{position:relative;flex:none;letter-spacing:normal;line-height:1.5}
.topright{flex-shrink:0}.top #crumb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:12px}
.top .avatar{appearance:none;width:36px;height:36px;min-width:36px;padding:0;line-height:1;font:600 11px/1 system-ui;cursor:pointer;border:1px solid #385c54}
.top .avatar:disabled{cursor:default;opacity:.55}
.top .avatar:hover,.top .avatar[aria-expanded="true"]{border-color:var(--teal);box-shadow:0 0 0 3px #7de1c412}
.top .avatar:focus-visible{outline:2px solid var(--teal);outline-offset:4px}
.account-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:70;width:242px;max-width:calc(100vw - 32px);padding:7px;background:var(--panel);border:1px solid var(--stroke);border-radius:14px;box-shadow:0 14px 38px #02081045;color:var(--text);font-size:12px;text-align:left;letter-spacing:normal}
.account-menu[hidden]{display:none!important}
.account-menu-summary{display:grid;gap:3px;margin:0 5px 5px;padding:9px 5px 12px;border-bottom:1px solid var(--stroke);overflow-wrap:anywhere}
.account-menu-summary strong{font-size:13px;font-weight:650;color:var(--text);line-height:1.5}
.account-menu-summary span{font-size:10px;color:var(--muted);line-height:1.5}
.account-menu>button{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:var(--text);font:inherit;text-align:left}
.account-menu>button .ui-icon{width:17px;height:17px;color:var(--muted);flex:none}
.account-menu>button:hover{background:var(--panel2)}
.account-menu>button:focus-visible{outline:2px solid var(--teal);outline-offset:-2px;background:var(--panel2)}
html[data-theme="light"] .account-menu{box-shadow:0 14px 38px #16324820}
.quiz-reading-layout{grid-template-columns:minmax(0,1fr) 58px;gap:14px}
.highlight-sidebar .highlight-toolbar{gap:8px;padding:10px 6px;border-radius:13px;box-shadow:none}
.highlight-sidebar .highlight-title{gap:4px;font-size:9px;line-height:1.25;letter-spacing:0}
.highlight-sidebar .highlight-title .ui-icon{width:14px;height:14px}
.highlight-sidebar .highlight-color{width:30px;height:30px;min-width:30px;min-height:30px;border-width:3px}
.highlight-sidebar .highlight-erase,.highlight-sidebar .highlight-clear{display:grid;place-items:center;flex:none;width:30px;height:30px;min-height:30px;margin:0;padding:5px;border-radius:7px}
.highlight-sidebar .highlight-erase .ui-icon,.highlight-sidebar .highlight-clear .ui-icon{width:18px;height:18px}
.highlight-sidebar .highlight-erase{margin-top:3px}
.highlight-sidebar .highlight-hint{font-size:9px!important;line-height:1.45;margin-top:8px!important}
@media(max-width:600px){.quiz-reading-layout{grid-template-columns:minmax(0,1fr) 50px;gap:8px}.highlight-sidebar .highlight-toolbar{padding:9px 4px;gap:7px}.top .avatar{width:34px;height:34px;min-width:34px}}
@media print{.account-menu-wrap{display:none!important}.quiz-reading-layout{display:block}}

/* 1.23 — a personal name chosen by the student. */
.profile-panel{max-width:760px}.profile-name-row{display:flex;gap:12px;align-items:center;margin-top:8px}.profile-name-row input{margin:0;min-width:0;flex:1}.profile-name-row .btn{flex:none;white-space:nowrap}.profile-name-prompt{display:block;font-size:12px;margin:9px 0 14px;text-align:left;line-height:1.6}.profile-panel #profile-name-status:empty{display:none}@media(max-width:600px){.profile-name-row{flex-wrap:wrap}.profile-name-row input{flex-basis:100%}.profile-name-row .btn{width:100%}}


/* ==========================================================================
   FABRIQ QUEST · FLAGSHIP 2026 KINETIC & ARCHITECTURAL SYSTEM (v1.28)
   ========================================================================== */
:root {
  --brand-ink: #060d14;
  --brand-surface: #0b1622;
  --brand-panel: #0f1e2e;
  --brand-mint: #69e2b3;
  --brand-mint-strong: #2dd4bf;
  --brand-emerald: #10b981;
  --brand-cyan: #38bdf8;
  --brand-violet: #a78bfa;
  --brand-amber: #fbbf24;
  --brand-rose: #fb7185;
  --brand-text: #f0f7f5;
  --brand-muted: #94adb8;
  --sans: "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fq-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fq-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --fq-shadow-sm: 0 4px 14px -2px rgba(2, 8, 14, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --fq-shadow-md: 0 16px 38px -8px rgba(2, 8, 14, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --fq-shadow-lg: 0 28px 68px -12px rgba(1, 6, 12, 0.76), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* 0. Kinetic Keyframes & Micro-Physics Engine */
@keyframes fq-pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(105, 226, 179, 0.65), 0 0 10px rgba(105, 226, 179, 0.8);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(105, 226, 179, 0), 0 0 16px rgba(56, 189, 248, 0.95);
    transform: scale(1.12);
  }
}

@keyframes fq-laser-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fq-text-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fq-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fq-ring-pulse {
  0%, 100% {
    box-shadow: 0 6px 18px -4px rgba(16, 185, 129, 0.45), 0 0 0 3px rgba(105, 226, 179, 0.28);
  }
  50% {
    box-shadow: 0 8px 24px -2px rgba(16, 185, 129, 0.65), 0 0 0 6px rgba(105, 226, 179, 0.12);
  }
}

/* 1. Global Atmosphere, Architectural Grid & Typography */
body {
  font-family: var(--sans);
  background-color: #060d14;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(16, 185, 129, 0.17) 0%, transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(56, 189, 248, 0.12) 0%, transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(105, 226, 179, 0.08) 0%, transparent 45%),
    linear-gradient(rgba(138, 176, 194, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 176, 194, 0.028) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  color: var(--brand-text);
  letter-spacing: -0.011em;
}

h1, h2, h3, h4,
.sales-copy h1,
.welcome h2,
.section-head h2,
.section-title h2,
.included-head h2,
.offer-card h2,
.auth-copy h2,
.theme-home-copy h2,
.legal-hero h1 {
  font-family: var(--display);
  letter-spacing: -0.036em;
}

/* 2. Floating Glass Command Navbar (Public & Legal Pages) */
body.is-public .main > .public-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent !important;
  border: 0 !important;
  backdrop-filter: none !important;
  padding: 16px 28px 0;
}

body.is-public .public-nav-inner,
.legal-header-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 11px 16px 11px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(10, 21, 33, 0.86) 0%, rgba(7, 15, 24, 0.78) 100%);
  border: 1px solid rgba(138, 176, 194, 0.22);
  box-shadow: 0 20px 48px -12px rgba(2, 8, 15, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.is-public .public-nav-inner:hover {
  border-color: rgba(105, 226, 179, 0.34);
}

.legal-header {
  background: transparent;
  border-bottom: 0;
  padding: 16px 28px 0;
}

.public-links a:not(.btn) {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #c2d6df;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.public-links a:not(.btn):hover {
  color: #ffffff;
  background: rgba(105, 226, 179, 0.12);
  transform: translateY(-1px);
}

.public-links .btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
}

/* 3. Student Workspace Architecture: Sculpted Command Dock & Floating Header */
.sidebar {
  background: linear-gradient(180deg, rgba(7, 15, 24, 0.97) 0%, rgba(5, 11, 18, 0.99) 100%);
  border-right: 1px solid rgba(138, 176, 194, 0.15);
  box-shadow: 12px 0 40px -15px rgba(0, 0, 0, 0.65);
}

@media (min-width: 1051px) {
  .sidebar {
    padding: 20px 14px 18px;
  }

  .sidebar .identity {
    background: linear-gradient(145deg, rgba(16, 32, 48, 0.72), rgba(9, 19, 30, 0.56));
    border: 1px solid rgba(138, 176, 194, 0.16);
    border-radius: 18px;
    padding: 14px 14px 12px;
    margin-bottom: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 24px -12px rgba(0, 0, 0, 0.5);
  }
}

.sidebar .identity small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(105, 226, 179, 0.1);
  border: 1px solid rgba(105, 226, 179, 0.24);
  color: #7ce8be;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.navlabel,
.nav-section {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #6b8999;
  padding: 0 10px;
}

.navlabel::after,
.nav-section::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(138, 176, 194, 0.2), transparent);
}

.navitem {
  position: relative;
  border-radius: 13px;
  padding: 10.5px 13px;
  font-size: 13.5px;
  font-weight: 600;
  color: #a6bfcb;
  border: 1px solid transparent;
  transition: all 0.22s var(--fq-ease-out);
}

.navitem:hover {
  background: rgba(138, 176, 194, 0.08);
  color: #f2f9f7;
  border-color: rgba(138, 176, 194, 0.16);
  transform: translateX(3px);
}

.navitem.active {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-color: rgba(105, 226, 179, 0.34);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 8px 22px -8px rgba(16, 185, 129, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.navitem.active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 22%;
  bottom: 22%;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #69e2b3, #38bdf8);
  box-shadow: 0 0 12px rgba(105, 226, 179, 0.9);
}

.navitem.active .ui-icon {
  color: #69e2b3;
  filter: drop-shadow(0 0 8px rgba(105, 226, 179, 0.45));
}

.sidefoot {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(105, 226, 179, 0.24);
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 11.5px;
  font-weight: 600;
  color: #cbe6dc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dot {
  animation: fq-pulse-dot 2.8s 2 ease-in-out;
}

.top {
  position: relative;
  z-index: 30;
  background: rgba(8, 17, 27, 0.82);
  border-bottom: 1px solid rgba(138, 176, 194, 0.14);
  backdrop-filter: blur(20px) saturate(155%);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
}

@media (min-width: 1051px) {
  .top {
    margin: 16px 38px 0;
    padding: 12px 22px;
    min-height: 62px;
    border-radius: 18px;
    border: 1px solid rgba(138, 176, 194, 0.2);
    background: linear-gradient(135deg, rgba(12, 24, 38, 0.86) 0%, rgba(8, 17, 27, 0.78) 100%);
    box-shadow: 0 16px 38px -12px rgba(1, 6, 12, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
}

#crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(105, 226, 179, 0.1);
  border: 1px solid rgba(105, 226, 179, 0.25);
  color: #8bf0c8;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#crumb::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #69e2b3;
  box-shadow: 0 0 8px #69e2b3;
  animation: fq-pulse-dot 2.8s 2 ease-in-out;
}

.account-trigger {
  border-radius: 999px;
  background: rgba(14, 28, 42, 0.85);
  border: 1px solid rgba(138, 176, 194, 0.22);
  padding: 5px 14px 5px 6px;
  box-shadow: var(--fq-shadow-sm);
  transition: all 0.2s var(--fq-ease-out);
}

.account-trigger:hover {
  border-color: rgba(105, 226, 179, 0.42);
  background: rgba(18, 36, 54, 0.94);
  transform: translateY(-1px);
}

.account-avatar {
  background: linear-gradient(135deg, #69e2b3 0%, #10b981 55%, #0284c7 100%);
  color: #04130e;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

/* 4. Universal Tactile Buttons & Controls */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #69e2b3 0%, #2dd4bf 55%, #10b981 100%);
  color: #041b13;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 26px -6px rgba(16, 185, 129, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.22s var(--fq-ease-out), box-shadow 0.22s var(--fq-ease-out), filter 0.22s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 34px -6px rgba(16, 185, 129, 0.64), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
}

.btn.ghost {
  background: rgba(14, 28, 42, 0.72);
  color: #e6f4f0;
  border: 1px solid rgba(138, 176, 194, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.btn.ghost:hover:not(:disabled) {
  background: rgba(22, 42, 62, 0.9);
  border-color: rgba(105, 226, 179, 0.45);
  color: #ffffff;
  box-shadow: 0 10px 24px -8px rgba(2, 8, 14, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  border-radius: 13px;
  background: rgba(7, 15, 24, 0.82);
  border: 1px solid rgba(138, 176, 194, 0.24);
  color: #f0f7f5;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #69e2b3;
  background: rgba(10, 22, 35, 0.95);
  box-shadow: 0 0 0 3.5px rgba(105, 226, 179, 0.18), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 5. Eyebrow Badges & Section Headers */
.eyebrow,
.theme-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(105, 226, 179, 0.14), rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(105, 226, 179, 0.3);
  color: #7ce8be;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px -4px rgba(16, 185, 129, 0.25);
}

.eyebrow::before,
.theme-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #69e2b3;
  box-shadow: 0 0 8px #69e2b3;
  flex-shrink: 0;
  animation: fq-pulse-dot 2.8s 2 ease-in-out;
}

/* 6. Public Landing Page: Split-Stage Hero & Spotlight Bento Grid */
.sales-hero {
  position: relative;
  gap: 32px;
  padding: 12px 0 8px;
}

.sales-copy {
  position: relative;
  padding: 44px 42px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(105, 226, 179, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.11) 0%, transparent 50%),
    linear-gradient(155deg, rgba(14, 28, 43, 0.92) 0%, rgba(8, 17, 27, 0.96) 100%);
  border: 1px solid rgba(138, 176, 194, 0.22);
  box-shadow: var(--fq-shadow-lg);
  overflow: hidden;
}

.sales-copy::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 226, 179, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.sales-copy h1 {
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 16px 0 18px;
}

.sales-copy h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #69e2b3 0%, #38bdf8 50%, #a78bfa 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fq-text-shimmer 7s ease-in-out 2;
}

.sales-copy .hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(15, 31, 47, 0.85);
  border: 1px solid rgba(105, 226, 179, 0.26);
  color: #d9f3e9;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--fq-shadow-sm);
  transition: transform 0.2s var(--fq-ease-out), border-color 0.2s ease;
}

.sales-copy .hero-pills span:hover {
  transform: translateY(-2px);
  border-color: rgba(105, 226, 179, 0.5);
}

.sales-copy .hero-pills span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #69e2b3;
  box-shadow: 0 0 6px #69e2b3;
}

.offer-card {
  position: relative;
  border-radius: 30px;
  padding: 38px 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.24) 0%, transparent 52%),
    radial-gradient(circle at 0% 100%, rgba(56, 189, 248, 0.14) 0%, transparent 48%),
    linear-gradient(165deg, rgba(15, 31, 46, 0.96) 0%, rgba(7, 16, 26, 0.99) 100%);
  border: 1px solid rgba(105, 226, 179, 0.38);
  box-shadow: 0 30px 70px -15px rgba(2, 10, 18, 0.82), 0 0 40px -10px rgba(16, 185, 129, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transition: transform 0.3s var(--fq-ease-out), box-shadow 0.3s var(--fq-ease-out);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 80px -14px rgba(2, 10, 18, 0.88), 0 0 52px -8px rgba(16, 185, 129, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #69e2b3 0%, #38bdf8 50%, #10b981 100%);
  background-size: 200% 200%;
  animation: fq-laser-flow 5s ease 2;
}

.offer-card .plan {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(6, 14, 22, 0.68);
  border: 1px solid rgba(105, 226, 179, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.offer-card .plan strong {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #ffffff 15%, #69e2b3 65%, #38bdf8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fq-text-shimmer 7s ease-in-out 2;
}

.offer-cta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.22s var(--fq-ease-out);
}

.offer-cta:hover span {
  transform: translateX(3px);
}

/* Public Bento Module Cards with Architectural Watermarks (01, 02, 03) */
.included-grid {
  gap: 22px;
  counter-reset: fq-bento;
}

.included-card {
  counter-increment: fq-bento;
  position: relative;
  border-radius: 26px;
  padding: 30px 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 226, 179, 0.14) 0%, transparent 55%),
    linear-gradient(160deg, rgba(14, 29, 44, 0.9) 0%, rgba(8, 17, 27, 0.95) 100%);
  border: 1px solid rgba(138, 176, 194, 0.2);
  box-shadow: var(--fq-shadow-md);
  transition: transform 0.3s var(--fq-ease-out), border-color 0.3s ease, box-shadow 0.3s var(--fq-ease-out);
  overflow: hidden;
}

.included-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #10b981, #69e2b3);
  background-size: 200% 200%;
  animation: fq-laser-flow 6s ease 2;
}

.included-card::after {
  content: "0" counter(fq-bento);
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(138, 176, 194, 0.14);
  pointer-events: none;
  transition: color 0.3s ease, transform 0.3s var(--fq-ease-out);
}

.included-card:hover::after {
  color: rgba(105, 226, 179, 0.28);
  transform: translateY(-2px) scale(1.05);
}

.included-card:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.16) 0%, transparent 55%),
    linear-gradient(160deg, rgba(14, 29, 44, 0.9) 0%, rgba(8, 17, 27, 0.95) 100%);
}

.included-card:nth-child(2)::before {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.included-card:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.16) 0%, transparent 55%),
    linear-gradient(160deg, rgba(14, 29, 44, 0.9) 0%, rgba(8, 17, 27, 0.95) 100%);
}

.included-card:nth-child(3)::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.included-card:hover {
  transform: translateY(-6px);
  border-color: rgba(105, 226, 179, 0.44);
  box-shadow: var(--fq-shadow-lg);
}

.included-code {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(105, 226, 179, 0.14);
  border: 1px solid rgba(105, 226, 179, 0.3);
  color: #7ce8be;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.included-card:nth-child(2) .included-code {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.32);
  color: #7dd3fc;
}

.included-card:nth-child(3) .included-code {
  background: rgba(167, 139, 250, 0.14);
  border-color: rgba(167, 139, 250, 0.32);
  color: #c4b5fd;
}

.sales-strip {
  gap: 20px;
}

.feature {
  border-radius: 22px;
  padding: 26px 24px;
  background: linear-gradient(160deg, rgba(14, 28, 42, 0.84) 0%, rgba(8, 17, 27, 0.9) 100%);
  border: 1px solid rgba(138, 176, 194, 0.18);
  box-shadow: var(--fq-shadow-md);
  transition: transform 0.25s var(--fq-ease-out), border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(105, 226, 179, 0.36);
  box-shadow: var(--fq-shadow-lg);
}

/* Auth Stage (Login / Cadastro / Recuperação) */
.auth-floor {
  position: relative;
  border-radius: 30px;
  padding: 42px;
  background:
    radial-gradient(circle at 0% 100%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 48%),
    linear-gradient(160deg, rgba(12, 24, 38, 0.94) 0%, rgba(7, 15, 24, 0.98) 100%);
  border: 1px solid rgba(138, 176, 194, 0.22);
  box-shadow: var(--fq-shadow-lg);
}

.auth-floor .auth-panel {
  position: relative;
  border-radius: 24px;
  padding: 32px 30px;
  background: rgba(8, 17, 27, 0.88);
  border: 1px solid rgba(105, 226, 179, 0.28);
  box-shadow: 0 24px 54px -12px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.auth-floor .auth-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #69e2b3, #38bdf8, #a78bfa);
  background-size: 200% 200%;
  animation: fq-laser-flow 6s ease 2;
}

.auth-tabs {
  padding: 5px;
  border-radius: 14px;
  background: rgba(5, 11, 18, 0.85);
  border: 1px solid rgba(138, 176, 194, 0.18);
}

.auth-tabs button {
  border-radius: 10px;
  font-weight: 700;
  transition: all 0.2s var(--fq-ease-out);
}

.auth-tabs button.active {
  background: linear-gradient(135deg, #69e2b3 0%, #10b981 100%);
  color: #041b13;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.38);
}

/* 7. Student Workspace: Command Hero, Discipline Bento & Shortcuts */
.welcome {
  position: relative;
  border-radius: 28px;
  padding: 36px 38px;
  background:
    radial-gradient(circle at 92% 12%, rgba(105, 226, 179, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 12% 100%, rgba(56, 189, 248, 0.13) 0%, transparent 45%),
    linear-gradient(155deg, rgba(15, 31, 47, 0.94) 0%, rgba(8, 18, 28, 0.97) 100%);
  border: 1px solid rgba(105, 226, 179, 0.3);
  box-shadow: var(--fq-shadow-lg);
  overflow: hidden;
}

.welcome::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #69e2b3 0%, #38bdf8 50%, #a78bfa 100%);
  background-size: 200% 200%;
  animation: fq-laser-flow 6s ease 2;
}

.welcome h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  color: #ffffff;
}

.welcome-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 13px;
  background: rgba(14, 28, 43, 0.78);
  border: 1px solid rgba(138, 176, 194, 0.24);
  color: #d6ece4;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.22s var(--fq-ease-out);
}

.welcome-link:hover {
  border-color: rgba(105, 226, 179, 0.45);
  background: rgba(20, 38, 56, 0.92);
  color: #ffffff;
  transform: translateY(-2px);
}

.study-shortcut {
  border-radius: 20px;
  padding: 20px 22px;
  background: linear-gradient(145deg, rgba(14, 29, 44, 0.88) 0%, rgba(9, 19, 30, 0.94) 100%);
  border: 1px solid rgba(138, 176, 194, 0.2);
  box-shadow: var(--fq-shadow-md);
  transition: transform 0.25s var(--fq-ease-out), border-color 0.25s ease, box-shadow 0.25s ease;
}

.study-shortcut:hover {
  transform: translateY(-4px);
  border-color: rgba(105, 226, 179, 0.44);
  box-shadow: var(--fq-shadow-lg);
}

.study-shortcut > .ui-icon:last-child {
  transition: transform 0.22s var(--fq-ease-out), color 0.22s ease;
}

.study-shortcut:hover > .ui-icon:last-child {
  transform: translateX(4px);
  color: #69e2b3;
}

.study-shortcut-icon {
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(105, 226, 179, 0.2), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(105, 226, 179, 0.34);
  color: #69e2b3;
  box-shadow: 0 6px 16px -4px rgba(16, 185, 129, 0.32);
  transition: transform 0.25s var(--fq-ease-spring);
}

.study-shortcut:hover .study-shortcut-icon {
  transform: scale(1.08) rotate(-3deg);
}

.course-grid {
  counter-reset: fq-course;
}

.course-card {
  counter-increment: fq-course;
  position: relative;
  border-radius: 26px;
  padding: 28px 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 226, 179, 0.14) 0%, transparent 55%),
    linear-gradient(160deg, rgba(14, 29, 44, 0.9) 0%, rgba(8, 17, 27, 0.96) 100%);
  border: 1px solid rgba(138, 176, 194, 0.2);
  box-shadow: var(--fq-shadow-md);
  transition: transform 0.28s var(--fq-ease-out), border-color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #10b981, #69e2b3);
  background-size: 200% 200%;
  animation: fq-laser-flow 6s ease 2;
}

.course-card::after {
  content: "0" counter(fq-course);
  position: absolute;
  top: 74px;
  right: 26px;
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(138, 176, 194, 0.11);
  pointer-events: none;
  transition: color 0.3s ease, transform 0.3s var(--fq-ease-out);
}

.course-card:hover::after {
  color: rgba(105, 226, 179, 0.24);
  transform: translateY(-2px) scale(1.05);
}

.course-card:is([data-go="ham"],[data-curriculum-block="ham"]) {
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.16) 0%, transparent 55%),
    linear-gradient(160deg, rgba(14, 29, 44, 0.9) 0%, rgba(8, 17, 27, 0.96) 100%);
}

.course-card:is([data-go="ham"],[data-curriculum-block="ham"])::before {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.course-card:is([data-go="ci"],[data-curriculum-block="ci"],[data-curriculum-block="mcm"],[data-curriculum-block="cc"]) {
  background:
    radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.16) 0%, transparent 55%),
    linear-gradient(160deg, rgba(14, 29, 44, 0.9) 0%, rgba(8, 17, 27, 0.96) 100%);
}

.course-card:is([data-go="ci"],[data-curriculum-block="ci"],[data-curriculum-block="mcm"],[data-curriculum-block="cc"])::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(105, 226, 179, 0.45);
  box-shadow: var(--fq-shadow-lg);
}

.course-icon {
  border-radius: 16px;
  background: rgba(105, 226, 179, 0.14);
  border: 1px solid rgba(105, 226, 179, 0.3);
  color: #69e2b3;
  box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.35);
  transition: transform 0.28s var(--fq-ease-spring), box-shadow 0.28s ease;
}

.course-card:hover .course-icon {
  transform: scale(1.08) rotate(-4deg);
}

.course-card:is([data-go="ham"],[data-curriculum-block="ham"]) .course-icon {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  box-shadow: 0 8px 20px -6px rgba(56, 189, 248, 0.35);
}

.course-card:is([data-go="ci"],[data-curriculum-block="ci"],[data-curriculum-block="mcm"],[data-curriculum-block="cc"]) .course-icon {
  background: rgba(167, 139, 250, 0.14);
  border-color: rgba(167, 139, 250, 0.3);
  color: #a78bfa;
  box-shadow: 0 8px 20px -6px rgba(167, 139, 250, 0.35);
}

.card-cta svg {
  transition: transform 0.22s var(--fq-ease-out);
}

.course-card:hover .card-cta svg {
  transform: translateX(4px);
}

/* 8. Performance Telemetry Bento */
.performance-metrics {
  gap: 16px;
}

.performance-metrics > div {
  position: relative;
  border-radius: 20px;
  padding: 20px 22px;
  background: linear-gradient(155deg, rgba(14, 28, 43, 0.9) 0%, rgba(8, 17, 27, 0.95) 100%);
  border: 1px solid rgba(138, 176, 194, 0.2);
  box-shadow: var(--fq-shadow-md);
  overflow: hidden;
  transition: transform 0.22s var(--fq-ease-out), border-color 0.22s ease;
}

.performance-metrics > div:hover {
  transform: translateY(-3px);
  border-color: rgba(105, 226, 179, 0.38);
}

.performance-metrics > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #69e2b3, #38bdf8);
}

.performance-metrics > div strong {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.performance-card {
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(160deg, rgba(14, 28, 43, 0.88) 0%, rgba(8, 17, 27, 0.94) 100%);
  border: 1px solid rgba(138, 176, 194, 0.18);
  box-shadow: var(--fq-shadow-md);
}

/* 9. Simulados, Provas & Questões por Tema (Command Filter Bar) */
.theme-home {
  position: relative;
  border-radius: 28px;
  padding: 32px 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 226, 179, 0.18) 0%, transparent 50%),
    linear-gradient(155deg, rgba(15, 31, 47, 0.94) 0%, rgba(8, 17, 27, 0.98) 100%);
  border: 1px solid rgba(105, 226, 179, 0.28);
  box-shadow: var(--fq-shadow-lg);
}

.theme-course {
  border-radius: 20px;
  background: rgba(9, 20, 31, 0.85);
  border: 1px solid rgba(138, 176, 194, 0.2);
  box-shadow: var(--fq-shadow-sm);
  transition: transform 0.24s var(--fq-ease-out), border-color 0.24s ease, box-shadow 0.24s ease;
}

.theme-course:hover {
  transform: translateY(-4px);
  border-color: rgba(105, 226, 179, 0.45);
  box-shadow: var(--fq-shadow-md);
}

.theme-course-arrow {
  transition: transform 0.22s var(--fq-ease-out), color 0.22s ease;
}

.theme-course:hover .theme-course-arrow {
  transform: translateX(4px);
  color: #69e2b3;
}

.theme-discipline {
  position: relative;
  border-radius: 22px;
  padding: 20px 24px;
  background:
    radial-gradient(circle at 100% 50%, rgba(105, 226, 179, 0.12) 0%, transparent 55%),
    linear-gradient(145deg, rgba(13, 27, 42, 0.9) 0%, rgba(8, 17, 27, 0.94) 100%);
  border: 1px solid rgba(105, 226, 179, 0.26);
  box-shadow: var(--fq-shadow-md);
}

.exam-tools {
  border-radius: 22px;
  padding: 22px 24px;
  background: linear-gradient(155deg, rgba(13, 27, 42, 0.9) 0%, rgba(8, 17, 27, 0.95) 100%);
  border: 1px solid rgba(138, 176, 194, 0.2);
  box-shadow: var(--fq-shadow-md);
}

@media (min-width: 1180px) {
  .exam-tools {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 14px;
  }
}

.exam-card,
.theme-card,
.subject-card,
.material-card {
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(14, 29, 44, 0.88) 0%, rgba(8, 17, 27, 0.95) 100%);
  border: 1px solid rgba(138, 176, 194, 0.19);
  box-shadow: var(--fq-shadow-md);
  transition: transform 0.24s var(--fq-ease-out), border-color 0.24s ease, box-shadow 0.24s ease;
}

.exam-card:hover,
.theme-card:hover,
.subject-card:hover,
.material-card:hover {
  transform: translateY(-4px);
  border-color: rgba(105, 226, 179, 0.4);
  box-shadow: var(--fq-shadow-lg);
}

/* 10. High-Focus Clinical Question Workstation (#quiz-view) */
#quiz-setup {
  position: relative;
  border-radius: 26px;
  padding: 28px 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 226, 179, 0.14) 0%, transparent 50%),
    linear-gradient(160deg, rgba(14, 29, 44, 0.92) 0%, rgba(8, 17, 27, 0.97) 100%);
  border: 1px solid rgba(105, 226, 179, 0.28);
  box-shadow: var(--fq-shadow-lg);
  overflow: hidden;
}

#quiz-setup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #69e2b3, #38bdf8, #10b981);
  background-size: 200% 200%;
  animation: fq-laser-flow 6s ease 2;
}

@media (min-width: 820px) {
  #quiz-setup .form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

#quiz-run {
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 226, 179, 0.08) 0%, transparent 45%),
    linear-gradient(165deg, rgba(13, 27, 42, 0.95) 0%, rgba(7, 15, 24, 0.99) 100%);
  border: 1px solid rgba(138, 176, 194, 0.24);
  box-shadow: var(--fq-shadow-lg);
}

.quiz-head {
  border-radius: 22px;
  padding: 18px 24px;
  background: linear-gradient(145deg, rgba(14, 29, 44, 0.92) 0%, rgba(8, 17, 27, 0.96) 100%);
  border: 1px solid rgba(138, 176, 194, 0.22);
  box-shadow: var(--fq-shadow-md);
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(6, 13, 21, 0.9);
  border: 1px solid rgba(138, 176, 194, 0.18);
  overflow: hidden;
}

#q-bar {
  background: linear-gradient(90deg, #10b981 0%, #69e2b3 50%, #38bdf8 100%);
  background-size: 200% 200%;
  box-shadow: 0 0 16px rgba(105, 226, 179, 0.65);
  animation: fq-laser-flow 4s ease 2;
}

.quiz-map {
  border-radius: 20px;
  padding: 14px 18px;
  background: rgba(10, 21, 33, 0.86);
  border: 1px solid rgba(138, 176, 194, 0.18);
  box-shadow: var(--fq-shadow-sm);
}

.quiz-jump {
  border-radius: 11px;
  font-family: var(--mono);
  font-weight: 700;
  transition: transform 0.18s var(--fq-ease-out), border-color 0.18s ease, background-color 0.18s ease;
}

.quiz-jump:hover {
  transform: translateY(-2px);
}

.quiz-jump.current,
.quiz-jump[aria-current="step"] {
  border-color: #69e2b3;
  box-shadow: 0 6px 18px -4px rgba(16, 185, 129, 0.45), 0 0 0 2px rgba(105, 226, 179, 0.25);
  /* Current position uses a stable ring while reading. */
}

.question-card {
  border-radius: 28px;
  padding: 34px 36px;
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 226, 179, 0.08) 0%, transparent 45%),
    linear-gradient(165deg, rgba(13, 27, 42, 0.95) 0%, rgba(7, 15, 24, 0.99) 100%);
  border: 1px solid rgba(138, 176, 194, 0.24);
  box-shadow: var(--fq-shadow-lg);
}

#q-stem {
  font-size: clamp(16.5px, 1.25vw, 18.5px);
  line-height: 1.75;
  color: #f3faf8;
}

/* Floating Glass Pen Dock (Highlighter Sidebar) */
.highlight-sidebar .highlight-toolbar {
  background: linear-gradient(160deg, rgba(14, 29, 44, 0.92) 0%, rgba(8, 17, 27, 0.96) 100%);
  border: 1px solid rgba(105, 226, 179, 0.28);
  box-shadow: var(--fq-shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.highlight-color {
  transition: transform 0.2s var(--fq-ease-spring), box-shadow 0.2s ease;
}

.highlight-color:hover {
  transform: scale(1.14);
}

/* Tactile Keycap Option Rows */
#q-options .option-row {
  gap: 10px;
}

#q-options .option {
  border-radius: 18px;
  padding: 16px 20px;
  background: linear-gradient(145deg, rgba(15, 31, 47, 0.82) 0%, rgba(9, 20, 31, 0.9) 100%);
  border: 1px solid rgba(138, 176, 194, 0.22);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s var(--fq-ease-out), border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#q-options .option:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(105, 226, 179, 0.48);
  background: linear-gradient(145deg, rgba(19, 39, 58, 0.92) 0%, rgba(12, 26, 40, 0.96) 100%);
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#q-options .option:active:not(:disabled) {
  transform: translateY(0) scale(0.994);
}

#q-options .option > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(6, 14, 22, 0.85);
  border: 1px solid rgba(138, 176, 194, 0.28);
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 800;
  color: #d6ece4;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s var(--fq-ease-spring), background-color 0.2s ease, border-color 0.2s ease;
}

#q-options .option:hover:not(:disabled) > span:first-child {
  transform: scale(1.06);
  border-color: rgba(105, 226, 179, 0.5);
}

#q-options .option.selected {
  border-color: #7cb7e1;
  background: linear-gradient(145deg, rgba(56, 143, 215, 0.2), rgba(12, 28, 42, 0.95));
  box-shadow: 0 0 0 1px rgba(124, 183, 225, 0.24);
}

#q-options .option.selected > span:first-child {
  background: #cee5f5;
  border-color: #7cb7e1;
  color: #143249;
}

#q-options .option.correct {
  border-color: #34d399;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.26) 0%, rgba(9, 28, 24, 0.95) 100%);
}

#q-options .option.wrong {
  border-color: #fb7185;
  background: linear-gradient(145deg, rgba(244, 63, 94, 0.24) 0%, rgba(32, 12, 20, 0.95) 100%);
}

.explain {
  border-radius: 20px;
  padding: 22px 24px;
  background: linear-gradient(155deg, rgba(12, 29, 38, 0.92) 0%, rgba(8, 19, 28, 0.96) 100%);
  border: 1px solid rgba(105, 226, 179, 0.3);
  box-shadow: var(--fq-shadow-md);
}

/* 11. Legal, Offer & Support Standalone Pages */
.legal-content {
  border-radius: 28px;
  padding: 40px;
  background: linear-gradient(160deg, rgba(13, 27, 42, 0.92) 0%, rgba(8, 17, 27, 0.96) 100%);
  border: 1px solid rgba(138, 176, 194, 0.2);
  box-shadow: var(--fq-shadow-lg);
}

/* 12. Staggered Entrance Choreography (Respects Reduced Motion) */
@media (prefers-reduced-motion: no-preference) {
  /* Navigation already animates panels in animateSurface(). Avoid a second
     transform animation: it would contain fixed controls and overlap reading tools. */
  .sales-copy,
  .offer-card,
  .welcome,
  .theme-home,
  .course-card,
  .included-card,
  .feature,
  .study-shortcut,
  .performance-metrics > div,
  .exam-card,
  .theme-card,
  #q-options .option-row {
    animation: fq-fade-up 0.42s var(--fq-ease-out) backwards;
  }

  .course-card:nth-child(1),
  .included-card:nth-child(1),
  .feature:nth-child(1),
  .performance-metrics > div:nth-child(1),
  #q-options .option-row:nth-child(1) {
    animation-delay: 0.03s;
  }

  .course-card:nth-child(2),
  .included-card:nth-child(2),
  .feature:nth-child(2),
  .performance-metrics > div:nth-child(2),
  #q-options .option-row:nth-child(2) {
    animation-delay: 0.07s;
  }

  .course-card:nth-child(3),
  .included-card:nth-child(3),
  .feature:nth-child(3),
  .performance-metrics > div:nth-child(3),
  #q-options .option-row:nth-child(3) {
    animation-delay: 0.11s;
  }

  .performance-metrics > div:nth-child(4),
  #q-options .option-row:nth-child(4) {
    animation-delay: 0.15s;
  }

  #q-options .option-row:nth-child(5) {
    animation-delay: 0.19s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   13. CLINICAL DAYLIGHT THEME (html[data-theme="light"]) — FULL PARITY
   ========================================================================== */
html[data-theme="light"] body {
  background-color: #f3f8f6;
  background-image:
    radial-gradient(circle at 12% 0%, rgba(16, 185, 129, 0.13) 0%, transparent 40%),
    radial-gradient(circle at 88% 8%, rgba(14, 165, 233, 0.1) 0%, transparent 38%),
    linear-gradient(rgba(15, 41, 34, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 41, 34, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  color: #0c221b;
}

html[data-theme="light"] body.is-public .public-nav-inner,
html[data-theme="light"] .legal-header-inner {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 41, 34, 0.12);
  box-shadow: 0 18px 42px -12px rgba(12, 34, 27, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .public-links a:not(.btn) {
  color: #24473c;
}

html[data-theme="light"] .public-links a:not(.btn):hover {
  color: #072219;
  background: rgba(16, 185, 129, 0.12);
}

html[data-theme="light"] .sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf9 100%);
  border-right-color: rgba(15, 41, 34, 0.1);
  box-shadow: 10px 0 32px -16px rgba(12, 34, 27, 0.08);
}

@media (min-width: 1051px) {
  html[data-theme="light"] .sidebar .identity {
    background: linear-gradient(145deg, #f4faf7, #eaf4f0);
    border-color: rgba(15, 41, 34, 0.1);
    box-shadow: 0 8px 20px -12px rgba(12, 34, 27, 0.08);
  }
}

html[data-theme="light"] .sidebar .identity small {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  color: #0b6b4f;
}

html[data-theme="light"] .navitem {
  color: #35594d;
}

html[data-theme="light"] .navitem:hover {
  background: rgba(16, 185, 129, 0.08);
  color: #0a291f;
  border-color: rgba(16, 185, 129, 0.18);
}

html[data-theme="light"] .navitem.active {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.04) 100%);
  border-color: rgba(16, 185, 129, 0.35);
  color: #062319;
  box-shadow: 0 6px 18px -8px rgba(16, 185, 129, 0.25);
}

html[data-theme="light"] .navitem.active .ui-icon {
  color: #0d946b;
  filter: none;
}

html[data-theme="light"] .sidefoot {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(14, 165, 233, 0.06));
  border-color: rgba(16, 185, 129, 0.28);
  color: #0c3b2c;
}

html[data-theme="light"] .top {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 41, 34, 0.12);
  box-shadow: 0 12px 30px -12px rgba(12, 34, 27, 0.1);
}

html[data-theme="light"] #crumb {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  color: #0b6b4f;
}

html[data-theme="light"] .account-trigger {
  background: #ffffff;
  border-color: rgba(15, 41, 34, 0.14);
  box-shadow: 0 4px 12px rgba(12, 34, 27, 0.06);
}

html[data-theme="light"] .btn.ghost {
  background: #ffffff;
  color: #103328;
  border-color: rgba(15, 41, 34, 0.16);
  box-shadow: 0 2px 8px rgba(12, 34, 27, 0.05);
}

html[data-theme="light"] .btn.ghost:hover:not(:disabled) {
  background: #f0f9f5;
  border-color: #10b981;
  color: #062319;
}

html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: #ffffff;
  border-color: rgba(15, 41, 34, 0.18);
  color: #0c221b;
  box-shadow: inset 0 1px 2px rgba(12, 34, 27, 0.04);
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .theme-kicker {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  color: #0b6b4f;
}

html[data-theme="light"] .sales-copy,
html[data-theme="light"] .welcome,
html[data-theme="light"] .theme-home,
html[data-theme="light"] .theme-discipline,
html[data-theme="light"] .auth-floor,
html[data-theme="light"] .legal-content {
  background:
    radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    linear-gradient(160deg, #ffffff 0%, #f7fbf9 100%);
  border-color: rgba(15, 41, 34, 0.12);
  box-shadow: 0 20px 48px -15px rgba(12, 34, 27, 0.1);
}

html[data-theme="light"] .sales-copy h1,
html[data-theme="light"] .welcome h2,
html[data-theme="light"] .performance-metrics > div strong {
  color: #071f18;
}

html[data-theme="light"] .sales-copy h1 em {
  background: linear-gradient(120deg, #059669 0%, #0284c7 55%, #6d28d9 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] .sales-copy .hero-pills span {
  background: #f2f9f6;
  border-color: rgba(16, 185, 129, 0.26);
  color: #0f382b;
  box-shadow: none;
}

html[data-theme="light"] .welcome-link {
  background: #ffffff;
  border-color: rgba(15, 41, 34, 0.16);
  color: #0e382b;
}

html[data-theme="light"] .offer-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.16) 0%, transparent 52%),
    linear-gradient(165deg, #ffffff 0%, #f2faf6 100%);
  border-color: rgba(16, 185, 129, 0.38);
  box-shadow: 0 24px 56px -14px rgba(12, 34, 27, 0.14);
}

html[data-theme="light"] .offer-card .plan {
  background: #f4fbf8;
  border-color: rgba(16, 185, 129, 0.26);
}

html[data-theme="light"] .offer-card .plan strong {
  background: linear-gradient(120deg, #06281e 10%, #059669 65%, #0284c7 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] .included-card,
html[data-theme="light"] .course-card,
html[data-theme="light"] .feature,
html[data-theme="light"] .study-shortcut,
html[data-theme="light"] .performance-metrics > div,
html[data-theme="light"] .performance-card,
html[data-theme="light"] .exam-tools,
html[data-theme="light"] .exam-card,
html[data-theme="light"] .theme-card,
html[data-theme="light"] .subject-card,
html[data-theme="light"] .material-card,
html[data-theme="light"] .theme-course,
html[data-theme="light"] #quiz-setup,
html[data-theme="light"] #quiz-run,
html[data-theme="light"] .quiz-head,
html[data-theme="light"] .quiz-map,
html[data-theme="light"] .question-card,
html[data-theme="light"] .auth-floor .auth-panel {
  background: #ffffff;
  border-color: rgba(15, 41, 34, 0.12);
  box-shadow: 0 12px 32px -10px rgba(12, 34, 27, 0.08);
}

html[data-theme="light"] .included-card::after,
html[data-theme="light"] .course-card::after {
  color: rgba(15, 41, 34, 0.08);
}

html[data-theme="light"] .highlight-sidebar .highlight-toolbar {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(16, 185, 129, 0.28);
}

html[data-theme="light"] #q-stem {
  color: #0c221b;
}

html[data-theme="light"] #q-options .option {
  background: #ffffff;
  border-color: #cfe2dc;
  color: #122922;
  box-shadow: 0 4px 12px -4px rgba(12, 34, 27, 0.06);
}

html[data-theme="light"] #q-options .option:hover:not(:disabled) {
  background: #f6fbf9;
  border-color: #10b981;
}

html[data-theme="light"] #q-options .option > span:first-child {
  background: #eef6f3;
  border-color: #bdd6cd;
  color: #144234;
  box-shadow: none;
}

html[data-theme="light"] #q-options .option div,
html[data-theme="light"] #q-options .option div span {
  color: inherit;
  font-weight: 450;
}

html[data-theme="light"] #q-options .option.selected {
  background: #e8f2fb;
  border-color: #628bb2;
}

html[data-theme="light"] #q-options .option.correct {
  background: #dcfce7;
  border-color: #22c55e;
}

html[data-theme="light"] #q-options .option.wrong {
  background: #ffe4e6;
  border-color: #f43f5e;
}

@media (max-width: 760px) {
  body.is-public .main > .public-nav {
    padding: 10px 14px 0;
  }
  body.is-public .public-nav-inner {
    border-radius: 22px;
    padding: 12px 16px;
  }
  .auth-floor {
    padding: 28px 22px;
    border-radius: 22px;
  }
  .legal-content {
    padding: 24px 20px;
  }
}

/* 13. 2026 Modern Logo Lockup & Brand Identity Physics */
.brand-lockup {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: transform 0.28s var(--fq-ease-spring), filter 0.28s var(--fq-ease-out);
  filter: drop-shadow(0 4px 14px rgba(2, 8, 16, 0.35));
}

.public-brand:hover .brand-lockup,
.sidebar .identity:hover .brand-lockup {
  transform: translateY(-1px) scale(1.015);
  filter: drop-shadow(0 8px 22px rgba(16, 185, 129, 0.28));
}

.public-nav-inner .brand-wordmark {
  width: 214px;
}

.sidebar .identity .brand-wordmark {
  width: 184px;
}

.legal-header .brand-wordmark {
  width: 202px;
}

.public-brand .brand-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8eb2c0;
}

.public-brand .brand-subtitle::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--brand-mint);
  box-shadow: 0 0 8px rgba(105, 226, 179, 0.8);
}

html[data-theme="light"] .brand-lockup {
  filter: drop-shadow(0 4px 12px rgba(9, 30, 26, 0.12));
}

html[data-theme="light"] .public-brand:hover .brand-lockup,
html[data-theme="light"] .sidebar .identity:hover .brand-lockup {
  filter: drop-shadow(0 8px 20px rgba(13, 148, 136, 0.22));
}

html[data-theme="light"] .public-brand .brand-subtitle {
  color: #365e53;
}

html[data-theme="light"] .public-brand .brand-subtitle::before {
  background: #059669;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.5);
}

.top .avatar {
  border-radius: 11px;
  background: linear-gradient(145deg, #102637 0%, #08131e 100%);
  border: 1px solid rgba(105, 226, 179, 0.42);
  color: #69e2b3;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: 0 4px 12px -2px rgba(2, 8, 16, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.22s var(--fq-ease-spring), border-color 0.22s ease, box-shadow 0.22s ease;
}

.top .avatar:hover:not(:disabled),
.top .avatar[aria-expanded="true"] {
  transform: translateY(-1px) scale(1.04);
  border-color: #69e2b3;
  box-shadow: 0 6px 18px -2px rgba(16, 185, 129, 0.38), 0 0 0 3px rgba(105, 226, 179, 0.16);
}

html[data-theme="light"] .top .avatar {
  background: linear-gradient(145deg, #0d2b26 0%, #07191c 100%);
  border-color: rgba(16, 185, 129, 0.65);
  color: #69e2b3;
}

@media (max-width: 900px) {
  .public-nav-inner .brand-wordmark {
    width: 192px;
  }
  .sidebar .identity .brand-wordmark {
    width: 164px;
  }
}

@media (max-width: 600px) {
  .public-nav-inner .brand-wordmark,
  .legal-header .brand-wordmark {
    width: 182px;
  }
  .sidebar .identity .brand-wordmark {
    width: 154px;
  }
}


/* 1.29 · Compatibility with the current question renderer and mobile layout. */
.highlight-sidebar .highlight-color.yellow { background: #ffe46c; }
.highlight-sidebar .highlight-color.green { background: #99e5b4; }
.highlight-sidebar .highlight-color.blue { background: #9fd7ff; }
.highlight-sidebar .highlight-color.pink { background: #ffb5d6; }
#q-options .option > span:first-child { flex: 0 0 34px; }
#q-options .option.correct > span:first-child,
html[data-theme="light"] #q-options .option.correct > span:first-child {
  background: #c7f0d6; border-color: #6cac85; color: #16482e;
}
#q-options .option.wrong > span:first-child,
html[data-theme="light"] #q-options .option.wrong > span:first-child {
  background: #ffd6df; border-color: #c27386; color: #7d293d;
}
html[data-theme="light"] #q-options .option.selected:not(.correct):not(.wrong) > span:first-child {
  background: #d6e7f7; border-color: #7b9abc; color: #234e73;
}
#q-options .option-row.is-eliminated .option {
  background: var(--panel2); border-color: var(--stroke); color: var(--muted);
}
#q-options .option-row.is-eliminated .option > span:first-child {
  background: var(--panel); border-color: var(--stroke); color: var(--muted);
}
/* Reserve emphasis for the main action; outline controls must remain readable. */
.btn.outline { color: var(--text); box-shadow: none; }
.btn.outline.danger { color: var(--danger); }
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
  background: #ffffff; color: #0c221b; border-color: #14745c;
  box-shadow: 0 0 0 3px rgba(20, 116, 92, 0.16);
}
@media (max-width: 740px) {
  .sidebar > .navlabel { display: none; }
  .sales-copy, .offer-card, .welcome, .theme-home { padding: 26px 22px; border-radius: 22px; }
  .included-card, .course-card, .feature { padding: 23px 20px; }
  #q-options .option { padding: 13px 11px; gap: 10px; }
  #q-options .option > span:first-child { flex-basis: 27px; width: 27px; height: 29px; font-size: 12px; }
  #q-stem { font-size: 15px; line-height: 1.9; }
}
@media (max-width: 420px) {
  .sidebar .identity small { padding: 2px 6px; font-size: 8px; }
  #crumb { font-size: 9px; padding: 5px 9px; }
  .sales-copy h1 { font-size: 30px; }
}
@media (max-width: 600px) {
  .public-nav-inner > .public-nav-actions {
    display: grid; grid-template-columns: 76px auto 1fr; width: 100%; gap: 8px;
  }
  .public-nav-actions .public-price {
    display: block; grid-column: 1 / -1; grid-row: 1; margin: 0;
    color: var(--text); font-size: 14px; text-align: center;
  }
}

/* Administration: persistent feedback and a readable license list. */
.admin-license-status:not(:empty){margin-top:16px;padding:14px 16px;border:1px solid var(--stroke);border-radius:12px;background:var(--panel2);color:var(--text);overflow-wrap:anywhere}.admin-license-status.is-error{color:var(--danger)}#admin-table table{width:100%;border-collapse:collapse;font-size:.86rem}#admin-table :is(th,td){padding:12px 10px;text-align:left;border-bottom:1px solid var(--stroke)}#admin-table td:first-child{overflow-wrap:anywhere;min-width:210px}#admin-table th{color:var(--muted)}

/* Preparation simulators share the existing light/dark design tokens. */
.n2-simulators{margin:24px 0 30px;padding:26px;border:1px solid var(--stroke);border-radius:24px;background:var(--panel);min-width:0}
.n2-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px}.n2-heading h2{margin:8px 0 10px;font-size:clamp(25px,3vw,35px);letter-spacing:-.8px}.n2-heading p{max-width:640px;color:var(--muted);line-height:1.65;margin:0}.n2-heading label{flex:0 1 340px;min-width:240px}.n2-heading select{width:100%;margin-top:8px}
.n2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.n2-card{display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid var(--stroke);border-radius:17px;min-width:0}.n2-card.ci{border-color:var(--teal)}.n2-card h3{margin:0;font-size:21px}.n2-card p{margin:0;color:var(--muted);line-height:1.6}.n2-card .n2-count{font-size:12px;min-height:58px}.n2-card .btn{margin-top:auto;white-space:normal;min-height:44px}.n2-simulators>.hint{margin-top:18px}.n2-simulators select:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
@media(max-width:900px){.n2-heading{display:block}.n2-heading label{display:block;max-width:440px;margin-top:18px}.n2-grid{grid-template-columns:1fr}.n2-card .n2-count{min-height:0}.n2-card .btn{align-self:flex-start}.n2-simulators{padding:20px}}
.n3-simulators .n2-heading{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:4px 18px;align-items:end}.n3-simulators .n2-heading>div:first-child{grid-column:1/-1;margin-bottom:10px}.n3-simulators .n2-heading label{min-width:0;margin:0}.n3-controls{display:contents}.n3-simulators #n3-period-grid>.n2-count{grid-column:1/-1}
@media(max-width:480px){.n2-simulators{padding:16px;border-radius:18px}.n2-card{padding:18px}.n2-heading label{min-width:0}.n2-heading select{font-size:13px}}

/* Independent shortcut cards, without the gray outer tray. */
#private-view .study-shortcuts{gap:12px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible}

/* 1.43.0 — avisos visíveis e cabeçalho público mais leve no celular.
   O cabeçalho fixo ocupava ~1/4 da tela e cobria o aviso de erro do login. */
body.is-public .flash{z-index:70}
@media (max-width:600px){
 body.is-public .main>.public-nav{position:relative;top:auto}
 body.is-public .flash{top:max(12px,env(safe-area-inset-top))}
 html{scroll-padding-top:16px}
}
/* 1.43.0 — após criar a conta, a instrução de confirmar o e-mail vem primeiro */
.auth-panel:has(#email-confirmation:not(.hidden)) :is(#auth-paths,#auth-mode-description){display:none}
/* Minha conta → Sua senha (1.78.4) */
.account-password-panel{position:relative;overflow:hidden;border-color:color-mix(in srgb,var(--teal,#0d9488) 34%,var(--stroke))}
.account-password-panel::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--teal,#0d9488),#38bdf8 55%,transparent)}
.account-password-panel h3{display:flex;align-items:center;gap:10px}
.account-password-panel h3::before{content:"";width:28px;height:28px;border-radius:9px;flex:none;background:color-mix(in srgb,var(--teal,#0d9488) 18%,transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/16px no-repeat}
.account-password-lead{margin:2px 0 12px}
.account-password-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;align-items:end}
.account-password-fields label{grid-row:1;font-size:12px;margin:0}
.account-password-code label{margin:0}
.account-password-fields input{grid-row:2;margin:0;min-width:0}
.account-password-code{grid-column:1/-1;display:grid;gap:6px;margin-top:10px}
.account-password-code.hidden{display:none}
.account-password-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.account-password-status:empty{display:none}
#account-password-status[data-tone=ok]{color:#34d399!important;font-weight:650}
#account-password-status[data-tone=error]{color:#f87171!important}
#account-password-status[data-tone=info]{color:#7dd3fc!important}
:root[data-theme=light] #account-password-status[data-tone=ok]{color:#047857!important}
:root[data-theme=light] #account-password-status[data-tone=error]{color:#b91c1c!important}
:root[data-theme=light] #account-password-status[data-tone=info]{color:#0369a1!important}
@media(max-width:600px){.account-password-fields{grid-template-columns:1fr}.account-password-fields label,.account-password-fields input{grid-row:auto}.account-password-actions .btn{flex:1}}
/* Caminho até a compra (1.78.5) */
.password-field{position:relative;display:block}
.password-field input{width:100%;padding-right:86px}
.password-show{position:absolute;right:6px;top:50%;transform:translateY(-50%);min-height:34px;padding:0 12px;border:1px solid var(--stroke);border-radius:10px;background:color-mix(in srgb,var(--panel2,#142537) 80%,transparent);color:var(--text);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.password-show[aria-pressed=true]{border-color:var(--teal,#35c8ad);color:var(--teal,#35c8ad)}
.password-hint{display:block;margin:-4px 0 10px;font-size:12px;line-height:1.5;color:var(--muted)}
.password-hint.hidden{display:none}
.inapp-notice{position:fixed;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:60;max-width:520px;margin:0 auto;padding:16px 16px 14px;border:1px solid color-mix(in srgb,var(--teal,#35c8ad) 55%,var(--stroke));border-radius:18px;background:var(--panel,#111e2c);box-shadow:0 18px 50px rgba(0,0,0,.45)}
.inapp-notice.hidden,body:not(.is-public) .inapp-notice{display:none}
.inapp-notice b{display:block;font-size:15px;margin-bottom:4px}
.inapp-notice p{margin:0 0 12px;font-size:13px;line-height:1.55;color:var(--muted)}
.inapp-notice-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.inapp-notice-actions .btn{flex:1;min-width:130px}
.checkout-quick{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 18px;align-items:center;margin:4px 0 22px;padding:18px 20px;border:1px solid color-mix(in srgb,var(--teal,#35c8ad) 45%,var(--stroke));border-radius:20px;background:linear-gradient(120deg,color-mix(in srgb,var(--teal,#35c8ad) 14%,transparent),color-mix(in srgb,#38bdf8 8%,transparent) 60%,transparent)}
.checkout-quick.hidden{display:none}
.checkout-quick-price strong{display:block;font-size:30px;line-height:1.1;letter-spacing:-.03em}
.checkout-quick-price span{display:block;margin-top:4px;font-size:13px;color:var(--muted)}
.checkout-quick-methods{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;grid-column:1/-1}
.checkout-quick-methods li{padding:4px 10px;border:1px solid var(--stroke);border-radius:999px;font-size:12px;font-weight:650}
.checkout-quick-methods li:first-child{border-color:color-mix(in srgb,#34d399 60%,transparent);color:#34d399}
:root[data-theme=light] .checkout-quick-methods li:first-child{color:#047857}
.checkout-quick .btn{grid-column:2;grid-row:1;white-space:nowrap}
@media(max-width:760px){
 .checkout-quick{grid-template-columns:1fr;padding:16px}
 .checkout-quick .btn{grid-column:auto;grid-row:auto;width:100%}
 #purchase-panel .access-progress li{padding:8px 10px;min-height:0}
 #purchase-panel .access-progress .step-number{width:22px;height:22px;font-size:11px}
}
@media(max-width:760px){#auth-mode-description{scroll-margin-top:118px}}
