/* Student-facing layout, shared by every route. */
[hidden]{display:none!important}
.photo-composition,.world-hero,.field-gallery,.demo-pill,#dailyChallengeJump,.guide-launcher,#jinanTimeToggle,#messageInboxShortcut,.side-note,#howItWorks{display:none!important}
#searchAdvanced[open]{padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel-solid,#fff)}
#searchAdvanced>.search-ai-option{display:flex;align-items:flex-start;gap:8px;min-height:28px;margin:10px 0 4px;font-size:12px;line-height:1.6;color:var(--text);cursor:pointer}
#searchAdvanced #semanticEnabled{appearance:auto!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;flex:0 0 16px!important;padding:0!important;margin:2px 0 0!important;box-shadow:none!important;transform:none!important;background-image:none!important;accent-color:var(--accent)}
#searchAdvanced #semanticNote{margin:4px 0 10px;font-size:11px;line-height:1.6}
#appShell > header{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:22px 0;border-bottom:1px solid var(--line)}
#appShell > header .brand{order:-1;position:static;transform:none;margin:0;font-size:22px}
#appShell > header .header-primary-actions{display:flex;order:-2;margin:0;flex:0 0 auto}
#appShell > header .header-actions{margin-left:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.student-primary{display:flex;gap:6px;align-items:center}
.student-primary a{display:block;text-decoration:none;color:var(--muted);font-size:14px;font-weight:650;padding:12px;border-radius:10px;white-space:nowrap}
.student-primary a[aria-current],.student-primary a:hover{background:var(--accent-soft,#eeeafd);color:var(--accent-dark,#4435a0)}
[data-quick-search-beta] :is(a[href$="/search/"],a[href$="/search"],#searchOpen,#searchForm button[type="submit"],.example){color:#6b7280!important}
[data-quick-search-beta][data-route-kind="home"] #learningMain .intro h1{color:#6b7280}
[data-quick-search-beta] #searchForm button[type="submit"]{background:#e5e7eb;border-color:#e5e7eb}
[data-quick-search-beta] :is(.search-accessories,.search-categories,#searchSuggestions,.search-symbol-panel){display:none}
.student-account{position:relative;z-index:70}
.student-account summary,.student-tools summary{cursor:pointer;list-style:none;border:1px solid var(--line);border-radius:12px;background:var(--panel-solid,#fff);color:var(--text);padding:12px 16px;font-size:14px;font-weight:650}
.student-account-menu{position:absolute;right:0;top:calc(100% + 10px);width:260px;max-width:calc(100vw - 32px);padding:12px;display:grid;gap:6px;background:var(--panel-solid,#fff);border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 40px #20204022}
.student-account-menu a,.student-tool-menu a{display:block;padding:12px;text-decoration:none;font-size:14px;color:var(--text);white-space:normal}
.student-account-menu #accountZone{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-wrap:wrap;gap:10px}
.student-account-menu .account-summary{max-width:100%;overflow-wrap:anywhere}.student-account-menu #accountAvatar{display:none}
.student-secondary{display:grid;gap:6px;margin-top:12px}.app-sidebar details{margin-top:16px;border-top:1px solid var(--line);padding-top:16px}.app-sidebar summary{cursor:pointer;color:var(--muted);font-size:14px;padding:10px}
.student-tools{position:fixed;right:24px;bottom:24px;z-index:80}.student-tool-menu{position:absolute;bottom:calc(100% + 8px);right:0;display:grid;gap:8px;width:190px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--panel-solid,#fff);box-shadow:0 10px 35px #20204022}.student-tool-menu button{position:static;width:100%;padding:12px;border:0;border-radius:8px;background:var(--accent-soft,#eeeafd);color:var(--text);font:inherit;cursor:pointer}
.intro{display:block!important;max-width:850px;margin:0 auto;padding:65px 20px 28px;text-align:center;min-height:0!important}
.intro h1{font-size:clamp(32px,4.3vw,56px)!important;line-height:1.14!important;letter-spacing:-.035em;max-width:830px;margin:12px auto 18px}
.intro .intro-copy{max-width:none}.intro p{max-width:650px;margin:0 auto;font-size:17px;line-height:1.7}.intro .eyebrow{font-size:12px;letter-spacing:.1em}
html[data-route-kind]:not([data-route-kind="home"]) .intro{display:none!important}
#homeCourses{display:none}html[data-route-kind="home"] #homeCourses{display:block;margin-top:48px}
html[data-route-kind="home"] .workspace{display:block;margin:0 auto;background:none;box-shadow:none;border:0;max-width:1120px}
html[data-route-kind="home"] .workspace>.sidebar,html[data-route-kind="home"] #stepLabel,html[data-route-kind="home"] #panelTitle,html[data-route-kind="home"] #panelCopy,html[data-route-kind="home"] #journey,html[data-route-kind="home"] #mathStoriesHome{display:none!important}
html[data-route-kind="home"] .main-panel{padding:0 20px 40px;background:none!important;border:0;box-shadow:none}
html[data-route-kind="home"] #searchForm{max-width:820px;margin:0 auto;padding:8px;border:1px solid var(--line);border-radius:18px;background:var(--panel-solid,#fff);box-shadow:0 8px 28px #20204009}
html[data-route-kind="home"] #query{border:0;background:transparent;min-height:54px;font-size:16px}html[data-route-kind="home"] .examples{justify-content:center;margin:18px auto 0;max-width:900px;gap:10px}
.student-course-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 22px}.student-course-heading h2{margin:0;font-size:23px;letter-spacing:-.02em}.student-course-heading a{font-size:14px;color:var(--accent-dark);text-decoration:none}
.student-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.student-course-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--panel-solid,#fff);color:var(--text);text-decoration:none;transition:transform .15s,border-color .15s}
.student-course-card:hover{transform:translateY(-3px);border-color:var(--accent)}.student-course-card>span:first-child{font-size:12px;font-weight:650;color:var(--muted)}.student-course-card h3{font-size:20px;line-height:1.3;margin:12px 0}.student-course-card p{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 22px;overflow-wrap:anywhere}.student-course-action{font-size:13px;font-weight:700;color:var(--accent-dark);margin-top:auto}
.subject{display:flex;justify-content:space-between;gap:16px}.subject .count{flex-shrink:0;min-width:26px}.unit-top{gap:16px}.unit-code{font-size:12px!important;color:var(--muted)!important}.unit-title{line-height:1.5}.unit-summary{line-height:1.7}
/* Give each edition one navigation container; the description is never a flex sibling of individual courses. */
.workspace>.sidebar{display:flex!important;flex-direction:column!important;align-items:stretch;gap:12px;min-width:0}
.workspace>.sidebar #browseModeDescription{margin:0 4px;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
#courseNavigation:not([hidden]),#topicNavigation:not([hidden]){display:flex;flex-direction:column;gap:6px;min-width:0}
#courseNavigation>.subject,#topicNavigation>.subject{min-width:0;width:100%;margin:0}
#courseNavigation .subject-name,#topicNavigation .subject-name{min-width:0}
@media(max-width:780px){.workspace>.sidebar{padding:12px!important;overflow:visible!important;gap:8px}#courseNavigation:not([hidden]),#topicNavigation:not([hidden]){flex-direction:row;align-items:stretch;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:3px 2px 9px}#courseNavigation>.subject,#topicNavigation>.subject{flex:0 0 auto;width:auto!important;max-width:none;min-height:44px;padding:10px 12px;gap:8px;white-space:nowrap}#courseNavigation .subject-name,#topicNavigation .subject-name{white-space:nowrap}}
html.phone-viewport .workspace>.sidebar{padding:12px!important;overflow:visible!important;gap:8px}
html.phone-viewport #courseNavigation:not([hidden]),html.phone-viewport #topicNavigation:not([hidden]){flex-direction:row;align-items:stretch;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:3px 2px 9px}
html.phone-viewport #courseNavigation>.subject,html.phone-viewport #topicNavigation>.subject{flex:0 0 auto;width:auto!important;max-width:none;min-height:44px;padding:10px 12px;gap:8px;white-space:nowrap}
html.phone-viewport #courseNavigation .subject-name,html.phone-viewport #topicNavigation .subject-name{white-space:nowrap}
.auth-gate{display:flex!important;align-items:center;justify-content:center;min-height:100dvh;padding:32px 20px}.auth-gate.hidden{display:none!important}.auth-card{width:min(100%,460px);margin:auto;flex:none;padding:32px!important}.auth-topline{gap:16px}.auth-open-note{display:none}.auth-subtitle{line-height:1.6}.phone-captcha[hidden]{display:none!important}
#calculatorHelp{display:none}.math-calculator{max-height:min(90dvh,780px);overflow:auto}
#siteFooter{margin-top:24px;padding-bottom:90px;line-height:1.7}a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media(max-width:1050px){#appShell>header{gap:16px}.student-primary{order:3;width:100%;justify-content:center}.student-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){#appShell>header{padding:14px 0;gap:10px}.header-actions .lang-toggle{display:flex!important}#appShell>header .brand{font-size:18px}.brand .logo{width:32px;height:32px}.brand .logo img{width:32px;height:32px}.student-primary{justify-content:space-between;gap:2px}.student-primary a{font-size:12px;padding:10px 7px}.header-actions .browse-mode-toggle{display:none}.student-account summary{padding:10px;font-size:12px}.intro{padding:32px 6px 24px}.intro p{font-size:15px}.intro h1{font-size:34px!important}.intro .eyebrow{font-size:10px}html[data-route-kind="home"] .main-panel{padding:0 0 20px}html[data-route-kind="home"] #searchForm{display:flex;flex-direction:column;padding:10px}#searchForm .search-wrap{min-width:0;width:100%}html[data-route-kind="home"] #query{font-size:14px;width:100%}.examples{font-size:12px}.student-course-grid{grid-template-columns:1fr;gap:12px}.student-course-card{padding:20px}.student-course-heading{align-items:flex-start;flex-direction:column;gap:10px}.student-course-heading h2{font-size:22px}.student-tools{right:16px;bottom:16px}.auth-card{padding:24px!important}.student-account-menu{right:-6px}}
@media(prefers-reduced-motion:reduce){.student-course-card{transition:none}}
/* Keep learning utilities secondary without hiding access on small screens. */
.student-learning-menu{position:relative;z-index:65}.student-learning-menu>summary{cursor:pointer;list-style:none;padding:10px;font-size:13px;color:var(--muted)}
#beginnerGuideOpen{position:static;display:block;padding:12px;border:0;background:transparent;color:var(--text);font:inherit;text-align:left;box-shadow:none}#beginnerGuideOpen .guide-launcher-icon{display:none}
html[data-route-kind="home"] #routeBreadcrumb{display:none}.intro{padding-top:38px!important;margin-top:0!important}.intro-copy::before,.main-panel::after{display:none!important}
#mathStoriesHome{display:none!important}
html[data-route-kind="search"] .workspace{display:block}html[data-route-kind="search"] .workspace>.sidebar{display:none}
@media(max-width:680px){.header-actions{gap:4px!important}.student-learning-menu>summary{font-size:12px;padding:8px}.header-actions .lang-btn{padding:7px!important;min-width:32px!important}.intro{padding-top:26px!important}.student-learning-menu .student-account-menu{right:-100px}}
#appShell>header .header-primary-actions{display:flex}#homeOpen{display:none!important}.sidebar-language{display:none!important}#appSidebar nav>details,#appSidebar nav>#studentPlanNav{display:none}#appSidebar nav>#dailyChallengeOpen,#appSidebar nav>#knowledgeTreeOpen{display:none}.student-drawer-links section{margin:16px 0}.student-drawer-links h3{font-size:12px;color:var(--muted);margin:16px 10px 8px;text-transform:uppercase;letter-spacing:.05em}.student-drawer-links a{margin:5px 0}
@media(max-width:680px){#appShell>header{position:relative}.header-primary-actions #sidebarToggle{font-size:0;padding:8px;min-width:34px}.header-primary-actions #sidebarToggle::before{content:'☰';font-size:19px}.student-primary a{font-size:12px;padding:10px 5px}.student-learning-menu{display:none}#appShell>header .brand{font-size:17px}.student-account summary{padding:8px}.student-primary{flex-wrap:nowrap}.student-tools{bottom:16px}}
.search-accessories{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:820px;margin:10px auto}.search-accessories button,.search-categories button,.search-symbol-panel button,.search-attachment button{font:inherit;font-size:13px;min-height:36px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel-solid,#fff);color:var(--text);cursor:pointer}.search-accessories details{margin-left:auto;font-size:12px;color:var(--muted);max-width:400px}.search-accessories summary{cursor:pointer}.search-accessories p{line-height:1.6}.search-symbol-panel,.search-suggestions,.search-attachment{max-width:820px;margin:10px auto;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel-solid,#fff)}.search-symbol-panel{display:flex;gap:8px;flex-wrap:wrap}.search-suggestions strong{display:block;margin-bottom:10px}.search-suggestions button{display:block;text-align:left;width:100%;padding:12px;border:0;border-radius:8px;background:transparent;color:var(--text);font:inherit;font-size:14px;cursor:pointer}.search-suggestions button:hover{background:var(--accent-soft,#eeeafd)}.search-categories{display:flex;gap:8px;justify-content:center;margin:18px auto 12px}.search-categories button[aria-pressed=true]{background:var(--accent-soft,#eeeafd);border-color:var(--accent);color:var(--accent-dark)}.search-attachment{display:flex;gap:16px}.search-attachment img{width:140px;max-height:180px;object-fit:contain}.search-attachment p{font-size:13px;line-height:1.6}.search-attachment button{margin-right:6px}.search-assist-status{font-size:13px;line-height:1.6;max-width:820px;margin:10px auto}.search-diagnosis{margin:22px 0;padding:26px;border:1px solid var(--accent);border-radius:16px;background:var(--panel-solid,#fff)}.search-diagnosis h3{font-size:24px;line-height:1.35;margin:12px 0}.search-diagnosis p{line-height:1.75;color:var(--muted)}.search-diagnosis>.primary{display:inline-flex;text-decoration:none;margin:10px 0;padding:12px 18px}.diagnosis-kicker{font-size:12px;color:var(--accent-dark);font-weight:650}.diagnosis-path{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px;font-size:13px}.diagnosis-path>div{padding:12px;border:1px solid var(--line);border-radius:10px;line-height:1.7}.diagnosis-path>div+div::before{content:'→ ';color:var(--accent)}.diagnosis-path a{color:var(--accent-dark)}.search-diagnosis>.secondary{display:block;width:100%;margin:12px 0;text-align:left}
html.js-enabled #staticContent{display:none!important}.static-content{max-width:960px;margin:32px auto;padding:28px;background:var(--panel-solid,#fff);border:1px solid var(--line);border-radius:20px;line-height:1.8;color:var(--text)}.static-content h1{font-size:clamp(30px,5vw,48px);line-height:1.2;margin:24px 0}.static-content h2{margin:30px 0 10px}.static-content nav,.static-content li{margin:10px 0}.static-content a{color:var(--accent-dark,#4d3aaa)}.static-content label{display:block}.static-search{display:flex;gap:10px}.static-search input{min-width:0;flex:1;border:1px solid var(--line);padding:12px}.static-search button,.static-cta{padding:12px 18px;background:var(--accent);color:white!important;border:0;border-radius:10px;text-decoration:none}.static-footer,#siteFooter nav{display:flex;flex-wrap:wrap;gap:16px}.static-footer{margin-top:36px;border-top:1px solid var(--line);padding-top:20px}.static-brand{font-weight:800;font-size:20px;text-decoration:none}#siteFooter a{text-decoration:none;color:var(--muted)}
@media(max-width:680px){.search-accessories{gap:6px}.search-accessories details{margin-left:0;width:100%;max-width:none}.search-categories{justify-content:flex-start;flex-wrap:wrap}.search-attachment{flex-direction:column}.search-attachment img{width:100%;max-height:200px}.search-diagnosis{padding:18px}.search-diagnosis h3{font-size:21px}.diagnosis-path{flex-direction:column}.static-content{margin:12px;padding:18px}.static-search{flex-direction:column}#siteFooter{flex-direction:column}}

@media(max-width:680px){.intro{padding-top:16px!important;padding-bottom:16px!important;margin-bottom:16px!important}.intro h1{font-size:30px!important}#sidebarToggle::before{content:none!important}}
#appShell>header{justify-content:flex-start}#appShell>header .header-primary-actions #sidebarToggle{display:flex;align-items:center;gap:6px;font-size:14px;padding:9px 12px;margin:0!important}#appShell>header .header-primary-actions #sidebarToggle::before{content:"☰"!important;font-size:16px}

#learningRewardBar{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.reward-pill{gap:10px}.spark-pill small{margin-left:8px}

#appShell>header #browseModeToggle:not([hidden]){display:inline-flex!important;font-size:12px;min-height:38px}
html:not([data-route-kind="home"]) #learningRewardBar{display:none!important}
@media(max-width:680px){#appShell>header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px 8px;padding:14px 0}#appShell>header>.brand{grid-column:1;grid-row:1;order:initial;justify-self:start}#appShell>header>.header-primary-actions{grid-column:1;grid-row:2;order:initial;justify-self:start}#appShell>header>.header-actions{display:contents!important}.header-actions .lang-toggle{display:none!important}.student-account{grid-column:2;grid-row:1;justify-self:end}.student-primary{grid-column:1/-1;grid-row:3;width:100%}#browseModeToggle{grid-column:2;grid-row:2;justify-self:end;max-width:160px}.student-account-menu{right:0!important}.student-account>summary{font-size:13px;padding:10px 12px}}
.examples{display:none!important}#homeCourses{display:none!important}html[data-route-kind="home"] .intro .eyebrow,html[data-route-kind="home"] .intro>p{display:none}html[data-route-kind="home"] .intro{padding:48px 0 24px!important;margin-bottom:0!important}html[data-route-kind="home"] .intro h1{font-size:clamp(28px,4vw,44px)!important}html[data-route-kind="home"] .main-panel{max-width:880px;margin:0 auto;width:100%}#searchSuggestions .search-categories{margin-top:0}.search-diagnosis{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);gap:28px}.knowledge-card-breadcrumb{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;border-bottom:1px solid var(--line);padding-bottom:18px}.knowledge-card-breadcrumb button{font:inherit;color:var(--accent-dark);background:none;border:0;padding:3px;cursor:pointer;text-decoration:underline}.knowledge-card-main>.primary{display:inline-flex;padding:12px 18px;text-decoration:none}.knowledge-explanation{margin-top:24px}.knowledge-explanation p{color:var(--text);line-height:1.85}.knowledge-card-aside{border-left:1px solid var(--line);padding-left:24px}.knowledge-card-aside h4{margin:12px 0}.knowledge-card-aside details{padding:12px 0;border-bottom:1px solid var(--line)}.knowledge-card-aside summary{cursor:pointer;color:var(--accent-dark);font-weight:650}.knowledge-card-aside li{line-height:1.7;margin-bottom:10px}.knowledge-card-aside .diagnosis-path{display:block}.knowledge-card-aside .diagnosis-path>div{margin-top:8px}.knowledge-drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(560px,95vw);max-width:95vw;box-sizing:border-box;padding:24px;background:var(--panel-solid,#fff);color:var(--text);border:0;border-left:1px solid var(--line);overflow:auto}.knowledge-drawer::backdrop{background:#16132b66}.knowledge-drawer details{padding:14px 0;border-bottom:1px solid var(--line)}.knowledge-drawer summary{cursor:pointer;font-weight:700}.knowledge-drawer li{margin:12px 0}.knowledge-drawer a{color:var(--accent-dark)}@media(max-width:680px){.search-diagnosis{grid-template-columns:1fr;gap:18px}.knowledge-card-aside{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}.knowledge-card-breadcrumb{font-size:12px}html[data-route-kind="home"] .intro{padding:28px 0 20px!important}#learningRewardBar{justify-content:center}}

#appShell>header #browseModeToggle:not([hidden]){white-space:normal;line-height:1.4;max-width:220px} @media(max-width:680px){#appShell>header #browseModeToggle:not([hidden]){max-width:190px;font-size:10px}}
.course-depth-lesson{max-width:820px;margin:20px auto;line-height:1.8;overflow-wrap:anywhere}.course-depth-lesson section{padding:22px 0;border-bottom:1px solid var(--line)}.course-depth-lesson h4{font-size:19px;margin:0 0 16px}.course-depth-lesson h5{font-size:16px;margin:0 0 8px}.course-depth-lesson ol,.course-depth-lesson ul{padding-left:1.6em}.course-depth-lesson li{margin:10px 0}.course-depth-example,.course-depth-practice{margin:18px 0;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel-solid,#fff)}.course-depth-lesson textarea{display:block;box-sizing:border-box;width:100%;resize:vertical;margin:12px 0;padding:12px;font:inherit;line-height:1.5;background:var(--panel-solid,#fff);color:var(--text);border:1px solid var(--line);border-radius:8px}.course-depth-lesson summary{cursor:pointer;padding:12px 0;font-weight:650;color:var(--accent-dark)}.course-depth-lesson summary:focus-visible,.course-depth-lesson textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.course-depth-lesson footer{margin-top:24px}.course-depth-reference{margin-top:20px}@media(max-width:600px){.course-depth-example,.course-depth-practice{padding:14px}.course-depth-lesson h4{font-size:17px}.course-depth-lesson{font-size:15px}}
.depth-answer-card{padding:24px;border-radius:16px}.depth-question-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.depth-question-number{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:var(--accent-soft,#eeeafd);color:var(--accent-dark,#4d3aaa);font-weight:750}.depth-state-pill{font-size:12px;font-weight:650;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:3px 10px}.depth-question-prompt{font-size:17px;line-height:1.75;margin:16px 0 20px}.depth-input-modes{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;margin-bottom:14px;background:var(--bg,#f7f7fa)}.depth-input-modes button{border:0;border-radius:8px;padding:9px 14px;min-height:42px;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:650;cursor:pointer}.depth-input-modes button[aria-pressed=true]{background:var(--panel-solid,#fff);color:var(--accent-dark,#4d3aaa);box-shadow:0 1px 3px #00000014}.depth-answer-label{display:block;font-size:13px;font-weight:650}.depth-answer-note,.depth-tile-instructions{font-size:13px;color:var(--muted);line-height:1.7;margin:10px 0}.depth-tile-instructions{margin:0 0 12px}.depth-selected-tiles{display:flex;align-content:flex-start;align-items:flex-start;gap:8px;flex-wrap:wrap;min-height:90px;padding:14px;border:2px dashed var(--line);border-radius:12px;background:var(--bg,#fafafd)}.depth-selected-tiles:has(button){border-style:solid;border-color:var(--accent);background:var(--accent-soft,#f5f2ff)}.depth-tile-placeholder{font-size:14px;color:var(--muted);padding:15px 4px}.depth-token-group{display:flex;flex-wrap:wrap;gap:8px;padding:4px 0 12px}.depth-token-group button,.depth-selected-tiles button{font:inherit;font-size:14px;line-height:1.35;min-width:40px;min-height:42px;padding:9px 12px;border:1px solid var(--line);border-bottom-width:3px;border-radius:10px;background:var(--panel-solid,#fff);color:var(--text);cursor:pointer;overflow-wrap:anywhere;max-width:100%;transition:background .12s,border-color .12s}.depth-token-group button:hover{background:var(--accent-soft,#eeeafd);border-color:var(--accent)}.depth-token-group button:active{transform:translateY(1px);border-bottom-width:2px}.depth-selected-tiles button{display:inline-flex;align-items:center;gap:9px;border-color:var(--accent);color:var(--accent-dark,#4d3aaa)}.depth-selected-tiles button>span{font-size:14px;opacity:.65}.depth-tile-bank{margin-top:10px}.depth-tile-bank details{border-bottom:1px solid var(--line)}.depth-tile-bank summary{font-size:13px;padding:10px 0}.depth-answer-preview{display:block;white-space:pre-wrap;min-height:22px;margin-top:10px;font-size:14px;line-height:1.7;overflow-wrap:anywhere;color:var(--text)}.depth-answer-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}.depth-answer-actions button{font:inherit;font-size:14px;font-weight:650;min-height:44px;padding:10px 16px;border-radius:10px;cursor:pointer}.depth-answer-actions .primary{border:1px solid var(--accent);background:var(--accent);color:white}.depth-answer-actions .secondary{background:var(--panel-solid,#fff);border:1px solid var(--accent);color:var(--accent-dark,#4d3aaa)}.depth-answer-actions .depth-clear{border:1px solid transparent;background:transparent;color:var(--muted)}.depth-answer-actions button:disabled{opacity:.45;cursor:not-allowed}.depth-locked-solution{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.6;color:var(--muted);padding:12px 14px;border-radius:10px;background:var(--bg,#f7f7fa)}.depth-submitted-answer{border-left:3px solid var(--accent);background:var(--accent-soft,#eeeafd);border-radius:0 10px 10px 0;padding:14px 16px}.depth-submitted-answer>span{font-size:12px;font-weight:650;color:var(--muted)}.depth-submitted-answer>p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.depth-unlocked-solution{padding:0 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel-solid,#fff)}.depth-unlocked-solution summary{font-size:14px}.depth-unlocked-solution[open]{padding-bottom:8px}.depth-review-link{display:inline-flex;align-items:center;min-height:44px;font-weight:650;color:var(--accent-dark,#4d3aaa)}.depth-answer-card button:focus-visible,.depth-review-link:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.depth-answer-card.is-submitted{border-color:var(--accent)}
@media(max-width:600px){.depth-answer-card{padding:16px}.depth-question-prompt{font-size:16px}.depth-input-modes{display:flex}.depth-input-modes button{flex:1;padding:9px 10px}.depth-selected-tiles{padding:10px;gap:6px}.depth-token-group{gap:6px}.depth-token-group button,.depth-selected-tiles button{min-width:38px;min-height:44px;padding:9px 10px}.depth-answer-actions{align-items:stretch}.depth-answer-actions .primary,.depth-answer-actions .secondary{flex:1}.depth-state-pill{font-size:11px}}
@media(prefers-reduced-motion:reduce){.depth-token-group button,.depth-selected-tiles button{transition:none}.depth-token-group button:active{transform:none}}
