@import url('/tokens.css');
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #f7f4ed; background: #0b0b0e; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button, input, select, textarea { color: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: #ffc078; }
svg { flex-shrink: 0; vertical-align: middle; }
img { display: block; max-width: 100%; object-fit: contain; }
strong, h1, h2, h3 { color: #f7f4ed; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(30px, 3vw, 43px); letter-spacing: -1.6px; font-weight: 650; line-height: 1.18; margin-bottom: 12px; }
h2 { font-size: 20px; letter-spacing: -.6px; font-weight: 600; line-height: 1.35; margin-bottom: 12px; }
h3 { font-size: 16px; letter-spacing: -.25px; font-weight: 600; }
p { margin-bottom: 18px; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex="-1"]:focus-visible { outline: 2px solid #ffc078; outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 30; top: -100px; left: 16px; padding: 12px 24px; background: #ff794d; color: #0b0b0e; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.app-shell { display: grid; grid-template-columns: 242px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100dvh; border-right: 1px solid #242227; background: #0e0e11; padding: 30px 18px 22px; display: flex; flex-direction: column; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; width: fit-content; margin-bottom: 48px; font-size: 21px; font-weight: 600; line-height: 1.05; letter-spacing: -.6px; }
.brand img { border-radius: 12px; }
.brand-product { display: block; font-size: 16px; font-weight: 450; letter-spacing: -.3px; margin-top: 4px; }
.brand-dot { color: #ff794d; }
.workspace-label { font-size: 9px; color: #716e77; font-weight: 650; letter-spacing: 1.75px; margin: 0 15px 14px; }
nav { display: flex; flex-direction: column; gap: 6px; }
nav a, .sidebar-bottom > a { display: flex; align-items: center; gap: 12px; padding: 13px 15px; min-height: 47px; font-size: 12px; color: #a29da6; border-radius: 7px; }
nav a:hover, .sidebar-bottom > a:hover { background: #1a171b; color: #f7f4ed; }
nav a[aria-current="page"] { background: #ff794d16; color: #ff976f; box-shadow: inset 2px 0 #ff794d; }
.nav-count { margin-left: auto; font-size: 10px; border-radius: 4px; padding: 1px 6px; color: #b9a3fa; background: #8b5cf61c; }
.sidebar-bottom { margin-top: auto; padding-top: 60px; }
.sidebar-bottom > a { padding: 12px 15px; font-size: 11px; }
.brand-signature { border-top: 1px solid #242227; margin: 24px 10px 0; padding: 25px 3px 0; font-size: 10px; color: #8d8790; }
.brand-signature strong { font-size: 12px; }
.small-mark { color: #ff794d; font-family: monospace; font-weight: 700; margin-right: 5px; }
.brand-signature > span:last-child { display: block; font-size: 9px; color: #68636c; margin-top: 9px; }
.page-shell { min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 80px; padding: 0 42px; border-bottom: 1px solid #242227; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.breadcrumb { color: #88828d; font-size: 11px; }
.breadcrumb span { margin: 0 13px; color: #55505a; }
.breadcrumb strong { font-weight: 400; color: #d2cbd4; }
.topbar-actions { display: flex; align-items: center; gap: 24px; }
.private-label { font-size: 10px; color: #96919b; display: flex; align-items: center; gap: 7px; }
.status-dot { width: 5px; height: 5px; display: inline-block; background: #d0b78b; border-radius: 50%; flex-shrink: 0; }
.private-label .status-dot { background: #91d8ac; }
.account-link { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #33201b; color: #ffac82; font-size: 11px; border: 1px solid #624033; }
main { padding: 38px 42px 56px; max-width: 1440px; margin: 0 auto; width: 100%; flex: 1; outline: none; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.eyebrow { font-size: 9px; letter-spacing: 1.9px; font-weight: 650; color: #ada4a0; margin-bottom: 12px; }
.page-heading .eyebrow { color: #d5ad96; }
.accent { color: #ff976f; }
.lead { color: #9a939f; font-size: 12px; margin: 0; max-width: 660px; line-height: 1.8; }
.date-label { color: #68616c; letter-spacing: 1.4px; font-size: 8px; white-space: nowrap; padding-bottom: 3px; }
.muted { color: #a29aa6; }
.small { font-size: 11px; }
.button { border: 1px solid transparent; border-radius: 7px; font-size: 11px; line-height: 1.5; padding: 12px 20px; display: inline-flex; gap: 13px; justify-content: center; align-items: center; min-height: 43px; font-weight: 600; white-space: nowrap; }
.button svg { width: 16px; height: 16px; }
.primary { background: #ff794d; color: #1b100c; border-color: #ff794d; }
.primary:hover:not(:disabled) { background: #ff966d; color: #1b100c; }
.secondary { background: #1c191e; border-color: #38313b; color: #ded6df; }
.secondary:hover:not(:disabled) { background: #28212b; color: #fff; }
.ghost { background: transparent; color: #b2a7b7; }
.danger { background: #351d22; color: #ffc1bd; border-color: #784044; }
.danger:hover { background: #4a252c; }
.study-hero { position: relative; overflow: hidden; min-height: 288px; border-radius: 13px; border: 1px solid #47312b; background: radial-gradient(ellipse at 89% 45%, #5f342c73 0, #281d2070 35%, transparent 65%), linear-gradient(110deg, #241d1e, #1d191e 55%, #211b20); display: grid; grid-template-columns: 1.35fr 1fr; margin-bottom: 23px; }
.hero-copy { padding: 29px 34px; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 8px; letter-spacing: 1.2px; background: #ffc0780c; color: #e6b99a; padding: 6px 10px; border: 1px solid #9b69532c; border-radius: 5px; }
.hero-copy h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; font-weight: 600; letter-spacing: -1px; margin: 17px 0 12px; }
.hero-copy > p { font-size: 11px; color: #b9a9a7; max-width: 315px; line-height: 1.8; margin-bottom: 23px; }
.hero-actions { display: flex; align-items: center; gap: 18px; }
.hero-actions > span { font-size: 8px; color: #a59598; line-height: 1.7; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: end; min-width: 0; }
.hero-art img { position: relative; z-index: 1; height: 284px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 17px; filter: drop-shadow(0 15px 20px #0009); }
.hero-orbit { position: absolute; border-radius: 50%; width: 245px; height: 245px; border: 1px solid #b6886630; top: 35px; left: 50%; transform: translateX(-50%); }
.hero-orbit::after { content: ''; position: absolute; inset: 16px; border-radius: 50%; border: 1px solid #b6886619; }
.hero-art-note { position: absolute; bottom: 11px; font-size: 6px; letter-spacing: 1.9px; color: #8d7776; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 37px; }
.stat-card { background: #151316; border: 1px solid #2b252d; border-radius: 10px; padding: 18px 19px 17px; }
.stat-label { display: flex; align-items: center; gap: 8px; color: #b4aab7; font-size: 9px; margin-bottom: 13px; }
.stat-icon { display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; width: 25px; height: 25px; background: #ff794d12; }
.stat-icon svg { width: 14px; height: 14px; }
.coral { color: #ff976f; }
.green { color: #91d8ac; }
.amber { color: #ffc078; }
.violet { color: #b49af7; }
.stat-icon.green { background: #91d8ac0c; }
.stat-icon.amber { background: #ffc0780c; }
.stat-icon.violet { background: #8b5cf610; }
.stat-card > strong { display: block; font-size: 29px; line-height: 1.2; font-weight: 550; letter-spacing: -1px; margin-bottom: 8px; }
.stat-note { display: block; color: #7f7687; font-size: 8px; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 27px; align-items: start; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 18px; }
.section-heading .eyebrow { margin-bottom: 8px; font-size: 8px; }
.section-heading > svg { color: #a89aa8; }
.subjects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.subject-card { display: flex; flex-direction: column; text-align: left; padding: 19px; border: 1px solid #2d2630; border-radius: 9px; background: #161317; transition: border-color .18s, transform .18s; min-width: 0; }
.subject-card:hover { border-color: #7a4a3b; transform: translateY(-2px); }
.subject-top { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 19px; }
.subject-top > svg { width: 14px; height: 14px; color: #635b69; }
.subject-icon { display: inline-flex; align-items: center; justify-content: center; width: 33px; height: 33px; border-radius: 7px; }
.subject-icon svg { width: 18px; height: 18px; }
.tone-0 { background: #ff794d10; color: #e6a47e; }
.tone-1 { background: #8b5cf610; color: #b19add; }
.tone-2 { background: #91d8ac0c; color: #97bfa3; }
.tone-3 { background: #ffc0780c; color: #d1b485; }
.subject-parent { color: #7f7485; font-size: 8px; margin-bottom: 4px; }
.subject-card > strong { font-size: 13px; font-weight: 500; margin-bottom: 11px; }
.subject-count { font-size: 8px; color: #96899b; margin-bottom: 14px; }
.subject-count > span { color: #5b4e61; margin: 0 4px; }
progress { appearance: none; width: 100%; height: 3px; border: 0; border-radius: 5px; background: #302733; overflow: hidden; color: #b58e76; }
progress::-webkit-progress-bar { background: #302733; border-radius: 5px; }
progress::-webkit-progress-value { background: #c79a7f; border-radius: 5px; }
progress::-moz-progress-bar { background: #c79a7f; }
.rhythm-panel { border-left: 1px solid #28212c; padding-left: 26px; }
.rhythm-panel > .section-heading { margin-top: 1px; margin-bottom: 17px; }
.rhythm-panel .section-heading h2 { font-size: 17px; }
.rhythm-panel > p { font-size: 9px; }
.chart-empty { height: 154px; border-bottom: 1px solid #29212e; padding: 25px 0; color: #7b6e85; text-align: center; }
.chart-zero { font-size: 27px; color: #6e5b74; }
.chart-empty p { font-size: 9px; line-height: 1.8; }
.activity-chart { height: 155px; display: flex; justify-content: space-between; gap: 9px; padding: 12px 0 7px; border-bottom: 1px solid #2a2430; }
.activity-column { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; justify-content: end; }
.activity-column > span { font-size: 9px; color: #d8bca6; }
.activity-column meter { appearance: none; width: 16px; height: 95px; writing-mode: vertical-lr; direction: rtl; margin: 6px 0; background: #271e2a; border-radius: 3px; }
meter::-webkit-meter-bar { background: #271e2a; border: none; border-radius: 3px; }
meter::-webkit-meter-optimum-value { background: #cb936e; }
meter::-moz-meter-bar { background: #cb936e; }
.activity-column small { font-size: 7px; color: #8e8098; white-space: nowrap; }
.rhythm-insight { display: flex; gap: 10px; padding: 21px 0 14px; }
.rhythm-insight > svg { color: #b4a480; width: 17px; height: 17px; }
.rhythm-insight p { font-size: 10px; color: #a296aa; line-height: 1.8; margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #ffb192; font-size: 10px; }
.text-link svg { width: 14px; height: 14px; }
.review-prompt { border-top: 1px solid #2b2331; margin-top: 26px; padding-top: 25px; }
.review-prompt .stat-icon { margin-bottom: 13px; }
.review-prompt h3 { font-size: 14px; }
.review-prompt p { font-size: 10px; color: #a296aa; }
.review-prompt a { font-size: 10px; display: flex; align-items: center; gap: 9px; color: #bba4e9; }
.review-prompt a svg { width: 14px; }
.panel { background: #161317; border: 1px solid #302733; border-radius: 12px; padding: 27px; }
.panel-icon { display: inline-flex; justify-content: center; align-items: center; width: 45px; height: 45px; background: #ff794d12; color: #ffab86; border: 1px solid #6b3f2b66; border-radius: 11px; margin-bottom: 23px; }
form { margin: 0; }
label { display: block; color: #c3b7c7; font-size: 11px; line-height: 1.7; }
input:not([type="radio"]):not([type="checkbox"]), select, textarea { display: block; margin-top: 7px; width: 100%; background: #0f0d12; border: 1px solid #423446; border-radius: 6px; padding: 11px 12px; min-height: 43px; color: #e9deee; font-size: 12px; }
input[type="file"] { padding: 9px; }
input[type="date"] { color-scheme: dark; }
textarea { resize: vertical; font-family: ui-monospace, monospace; }
select { padding-right: 27px; }
form > label + label { margin-top: 19px; }
form > .button { margin-top: 23px; }
form > .small { margin-top: 12px; }
.message { padding: 13px 16px; border-radius: 7px; font-size: 12px; margin-top: 17px; overflow-wrap: anywhere; }
.message.error { color: #ffc0b5; border: 1px solid #6d393b; background: #341d24; }
.message.notice { color: #bbdbc7; border: 1px solid #365941; background: #182920; }
.loading-state { display: grid; place-items: center; text-align: center; min-height: 260px; color: #a697b0; font-size: 12px; }
.empty-state { text-align: center; padding: 50px 24px; max-width: 600px; margin: 0 auto; }
.empty-icon { display: inline-flex; color: #caac8f; margin-bottom: 18px; }
.empty-icon svg { width: 28px; height: 28px; }
.empty-state p { color: #a99aaf; font-size: 12px; line-height: 1.9; }
.empty-state .button { margin-top: 9px; }
.setup-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(230px, .85fr); gap: 60px; max-width: 930px; margin: 34px auto; }
.setup-panel { padding: 35px; }
.setup-panel form { margin-top: 26px; }
.setup-panel .button { width: 100%; }
.setup-note { align-self: center; text-align: center; max-width: 310px; margin: auto; }
.setup-note img { width: 190px; height: auto; margin: 0 auto 16px; }
.setup-note h2 { font-size: 26px; }
.setup-note p { color: #af9db8; font-size: 12px; line-height: 1.9; }
.question-layout { display: grid; grid-template-columns: minmax(0, 1fr) 235px; gap: 24px; align-items: start; }
.question-panel { padding: 32px; }
.question-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #aa96b0; font-size: 9px; margin-bottom: 29px; }
.subtle { background: #302134; border-color: #513959; color: #c3a6cc; letter-spacing: .4px; font-size: 9px; }
.meta-dot { margin: 0 6px; }
.question-statement { font-size: 21px; line-height: 1.65; letter-spacing: -.3px; font-weight: 500; margin-bottom: 30px; white-space: pre-wrap; overflow-wrap: anywhere; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.answer-options { display: flex; flex-direction: column; gap: 12px; }
.answer-option { position: relative; display: flex; align-items: center; gap: 15px; border-radius: 8px; border: 1px solid #3c2f42; background: #100d15; padding: 17px; cursor: pointer; color: #d1c1d9; line-height: 1.7; font-size: 12px; }
.answer-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.answer-option:has(input:focus-visible) { outline: 2px solid #ffc078; outline-offset: 3px; }
.answer-option:hover { border-color: #846044; }
.answer-option.selected { border-color: #cc7956; background: #ff794d0b; }
.option-letter { display: grid; place-items: center; font-size: 10px; width: 29px; height: 29px; flex-shrink: 0; border: 1px solid #5b4165; border-radius: 6px; color: #bba4c7; }
.selected .option-letter { background: #ff794d; border-color: #ff794d; color: #1b100c; font-weight: 650; }
fieldset:disabled .answer-option { cursor: default; }
.answer-option.correct-option { border-color: #599473; background: #91d8ac0a; }
.correct-option .option-letter { border-color: #589373; background: #274435; color: #b4e7c9; }
.answer-option.incorrect-option { border-color: #a85d5c; background: #ffaaa00b; }
.incorrect-option .option-letter { border-color: #ad6362; background: #462b35; color: #ffcec5; }
.option-status { margin-left: auto; font-size: 9px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.option-status svg { width: 14px; height: 14px; }
.correct-option .option-status { color: #a1dbb9; }
.incorrect-option .option-status { color: #ffbbb1; }
.answer-actions, .result-actions { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.answer-actions > span, .result-actions > span { font-size: 9px; }
.answer-result { margin-top: 26px; padding: 22px; background: #211c25; border-radius: 9px; border: 1px solid #59445f; }
.answer-result.success { border-color: #3b624d; background: #15231c; }
.answer-result.review { border-color: #6a473d; background: #2a1d22; }
.result-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.result-heading h3 { margin: 0; font-size: 16px; }
.result-heading > span { color: #e9b68e; }
.success .result-heading > span { color: #a3dfb8; }
.explanation { font-size: 12px; line-height: 1.9; white-space: pre-wrap; color: #d5c7d9; }
.sources { font-size: 10px; color: #b8a5c1; border-top: 1px solid #69507150; padding-top: 13px; }
summary { cursor: pointer; }
.sources li { margin-bottom: 8px; }
.sources p { font-size: 10px; margin: 12px 0 0; }
.study-aside .panel { padding: 23px; }
.study-aside .eyebrow { font-size: 8px; }
.study-aside h2 { font-size: 17px; }
.session-stats { margin: 25px 0; }
.session-stats > div { display: flex; justify-content: space-between; margin: 15px 0; font-size: 12px; }
.session-stats dt { color: #baa9c2; }
.session-stats dd { color: #e9d9f0; font-size: 15px; }
.study-tip { padding: 29px 15px; }
.study-tip > svg { color: #ceaa8d; margin-bottom: 15px; }
.study-tip h3 { font-size: 14px; }
.study-tip p { color: #ae99ba; font-size: 11px; line-height: 1.9; }
.filter-bar { display: flex; gap: 13px; align-items: end; flex-wrap: wrap; background: #161317; border: 1px solid #302733; border-radius: 10px; padding: 20px; }
.filter-bar label { min-width: 130px; flex: 1; margin: 0; }
.filter-bar .filter-subject { flex: 2; min-width: 180px; }
.filter-bar .button { margin: 0; }
.filter-help { margin: 11px 0 27px; font-size: 9px; }
.history-panel { padding: 24px; }
.history-row, .editor-row { border-top: 1px solid #392c41; }
.history-row > summary { display: flex; align-items: center; gap: 16px; padding: 22px 0; list-style: none; }
.history-row summary::-webkit-details-marker, .editor-row summary::-webkit-details-marker { display: none; }
.history-status { flex-shrink: 0; width: 30px; }
.history-info { flex: 1; min-width: 0; }
.history-info > strong { font-size: 12px; line-height: 1.7; font-weight: 450; display: block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.history-info > span { display: block; color: #ab93b6; font-size: 9px; margin-top: 5px; }
.result-tag { font-size: 9px; white-space: nowrap; }
.disclosure { font-size: 21px; color: #a28aaf; }
.history-row[open] .disclosure { transform: rotate(45deg); }
.history-detail { padding: 0 10px 25px 44px; font-size: 12px; }
.history-detail .answer-result { margin-top: 20px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #382b40; padding-top: 23px; margin-top: 13px; }
.pagination > span { font-size: 11px; color: #b29cbd; }
.performance-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: 20px; margin-bottom: 22px; }
.large-number { display: block; font-size: 42px; line-height: 1.3; font-weight: 500; letter-spacing: -2px; color: #ffb383; margin: 25px 0 10px; }
.performance-grid p { font-size: 11px; color: #bba6c5; line-height: 1.8; }
.performance-grid .small { font-size: 10px; color: #ab95b5; }
.performance-grid .activity-chart { height: 213px; }
.performance-grid meter { height: 140px; }
.subject-performance { margin-bottom: 22px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
th, td { border-bottom: 1px solid #392941; padding: 17px 12px; white-space: nowrap; }
thead th { color: #ac93b8; font-weight: 400; font-size: 10px; }
tbody th { font-weight: 400; color: #e1cde9; }
td { color: #baa2c6; }
td progress { width: 60px; margin-left: 12px; vertical-align: middle; }
.rate-text { display: inline-block; min-width: 47px; color: #d3b28c; }
.daily-details { margin-bottom: 20px; }
.daily-details summary { color: #c9acd8; font-size: 12px; }
.metrics-note { display: flex; gap: 10px; align-items: start; font-size: 10px; line-height: 1.8; color: #a990b6; }
.metrics-note svg { color: #c19c75; width: 17px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; max-width: 1000px; }
.account-grid p { font-size: 12px; color: #baa6c5; }
.account-grid .small { font-size: 10px; }
.account-grid > div > .panel + .panel { margin-top: 24px; }
hr { border: 0; border-top: 1px solid #3e2f48; margin: 30px 0; }
.danger-panel { border-color: #5a343d; }
dialog { background: #211a27; color: #eee1f3; border: 1px solid #70517e; padding: 30px; border-radius: 12px; width: min(90vw, 490px); box-shadow: 0 30px 80px #0009; }
dialog::backdrop { background: #08040dc9; backdrop-filter: blur(4px); }
dialog p { font-size: 13px; color: #c4aace; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 25px; }
.checkbox-label { display: flex; gap: 12px; align-items: start; font-size: 11px; margin-top: 20px; }
input[type="checkbox"] { margin-top: 5px; accent-color: #ff794d; }
.document-copy { max-width: 820px; padding: 35px; }
.document-copy p { color: #c7afd3; font-size: 13px; line-height: 2; }
.document-copy h2 { margin: 32px 0 13px; }
.document-copy .text-link { margin-top: 20px; }
.import-panel { margin-bottom: 24px; }
.import-panel summary { font-size: 15px; color: #e5c8f0; }
.import-panel p { font-size: 12px; color: #c4aace; margin-top: 18px; }
.import-panel form { max-width: 650px; }
.editor-compose { margin-bottom: 24px; }
.editor-compose p { color: #baa2c6; font-size: 12px; }
.editor-row > summary { display: flex; align-items: center; justify-content: space-between; gap: 30px; list-style: none; padding: 22px 0; }
.editor-row summary > span:first-child { flex: 1; min-width: 0; }
.editor-row summary strong { display: block; font-size: 12px; margin-bottom: 6px; }
.editor-row summary .muted { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.editor-status { font-size: 10px; color: #d9b196; }
.editor-detail { padding: 6px 0 24px; font-size: 12px; }
.editor-detail code { word-break: break-all; }
.editor-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.login-layout { max-width: 1000px; min-height: calc(100vh - 230px); display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; margin: 0 auto; }
.login-story { padding: 25px; }
.login-story h1 { font-size: clamp(40px, 4.3vw, 60px); letter-spacing: -2.5px; line-height: 1.08; }
.login-story > p:not(.eyebrow) { color: #baa0c5; font-size: 13px; max-width: 250px; line-height: 1.9; }
.login-story > img { width: 230px; height: auto; margin-top: 18px; }
.login-panel { padding: 34px; background: linear-gradient(145deg, #231b26, #17121d); }
.login-panel h2 { font-size: 25px; line-height: 1.3; }
.login-panel > p { font-size: 12px; }
.login-panel form { margin-top: 28px; }
.login-panel form > .button { width: 100%; margin-top: 25px; }
.login-help { margin-top: 23px; font-size: 10px !important; color: #a98db7; line-height: 1.9; }
.login-links { display: flex; align-items: center; justify-content: center; gap: 13px; font-size: 10px; color: #b496c1; border-top: 1px solid #4d365a; padding-top: 20px; }
.local-pill { font-size: 7px; letter-spacing: .8px; }
.page-footer { padding: 20px 42px; margin-top: 15px; display: flex; justify-content: space-between; align-items: center; font-size: 8px; color: #786b82; border-top: 1px solid #251d2b; gap: 16px; }
.page-footer > div { display: flex; gap: 19px; }
.toast { position: fixed; bottom: 28px; right: 28px; z-index: 40; background: #332638; color: #e9d2f3; border: 1px solid #806189; border-radius: 9px; box-shadow: 0 10px 50px #0009; padding: 16px 23px; font-size: 12px; max-width: min(480px, calc(100vw - 40px)); }
@media (min-width: 1600px) { main { padding-top: 48px; } .study-hero { min-height: 330px; } .hero-art img { height: 310px; } .hero-copy { padding: 36px 42px; } }
@media (max-width: 1200px) { .app-shell { grid-template-columns: 210px minmax(0, 1fr); } main { padding: 30px 28px 40px; } .topbar { padding: 0 28px; } .sidebar { padding-left: 12px; padding-right: 12px; } .dashboard-columns { grid-template-columns: minmax(0, 1fr) 215px; gap: 20px; } .rhythm-panel { padding-left: 20px; } .stat-card { padding: 16px 13px; } .stat-label { font-size: 8px; gap: 6px; } .hero-copy { padding: 26px; } .hero-art img { height: 265px; } .hero-actions { gap: 12px; } .hero-actions > span { display: none; } .question-layout { grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; } .question-panel { padding: 25px; } .date-label { display: none; } }
@media (max-width: 1000px) { .app-shell { grid-template-columns: 185px minmax(0, 1fr); } .brand { gap: 6px; font-size: 18px; } .brand img { width: 40px; height: 40px; } .brand-product { font-size: 14px; } nav a { font-size: 11px; gap: 9px; padding-left: 12px; padding-right: 12px; } .workspace-label { font-size: 7px; } .topbar { height: 65px; } .topbar-actions { gap: 15px; } .private-label { display: none; } .dashboard-columns { grid-template-columns: 1fr; } .rhythm-panel { border-left: 0; border-top: 1px solid #34263d; padding: 26px 0 0; margin-top: 10px; } .stats-grid { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-label { font-size: 10px; } .stat-note { font-size: 9px; } .hero-copy { padding: 25px 22px; } .hero-art img { height: 245px; } .hero-copy h2 { font-size: 28px; } .hero-copy > p { font-size: 10px; } .hero-copy .pill { font-size: 6px; letter-spacing: .8px; } .question-layout { grid-template-columns: 1fr; } .study-aside { display: none; } .setup-layout { gap: 30px; grid-template-columns: 1fr .8fr; } .setup-panel { padding: 25px; } .setup-note img { width: 150px; } .setup-note h2 { font-size: 23px; } .setup-note p { font-size: 11px; } .account-grid { grid-template-columns: 1fr; } .performance-grid { grid-template-columns: 1fr; } .login-layout { gap: 24px; } .login-story { padding: 0; } .login-story h1 { font-size: 39px; } .login-panel { padding: 25px; } .login-panel h2 { font-size: 21px; } .login-story > img { width: 190px; } .page-footer { padding-left: 28px; padding-right: 28px; } }
@media (max-width: 720px) { .app-shell { display: block; } .sidebar { position: relative; height: auto; padding: 17px 18px 0; border-right: 0; border-bottom: 1px solid #322539; overflow: visible; } .brand { margin-bottom: 20px; font-size: 18px; } .brand-product { font-size: 13px; } .brand img { width: 40px; height: 40px; } .workspace-label, .sidebar-bottom .brand-signature { display: none; } nav { flex-direction: row; overflow-x: auto; gap: 3px; padding-bottom: 10px; } nav a { font-size: 10px; padding: 11px; min-height: 42px; gap: 7px; white-space: nowrap; } nav a svg { width: 16px; height: 16px; } nav a[aria-current="page"] { box-shadow: inset 0 -2px #ff794d; } .sidebar-bottom { position: absolute; top: 16px; right: 18px; padding: 0; display: flex; gap: 5px; } .sidebar-bottom > a { min-height: 38px; width: 38px; padding: 10px; font-size: 0; gap: 0; } .sidebar-bottom > a svg { width: 18px; height: 18px; } .topbar { height: 57px; padding: 0 20px; border-bottom: 0; } .breadcrumb { font-size: 10px; } .breadcrumb span { margin: 0 9px; } .account-link { font-size: 10px; } .avatar { width: 27px; height: 27px; } main { padding: 21px 20px 35px; } .page-heading { margin-bottom: 25px; align-items: start; gap: 14px; } .page-heading > .button { padding: 9px 12px; font-size: 9px; min-height: 38px; } h1 { font-size: 31px; letter-spacing: -1.15px; } .eyebrow { font-size: 8px; letter-spacing: 1.5px; } .lead { font-size: 11px; } .study-hero { min-height: 260px; grid-template-columns: 1.15fr 1fr; border-radius: 10px; } .hero-copy { padding: 24px 0 24px 21px; } .hero-copy h2 { font-size: 26px; letter-spacing: -.9px; margin-top: 17px; } .hero-copy > p { font-size: 9px; line-height: 1.9; max-width: 200px; } .hero-copy .pill { font-size: 5.8px; padding: 5px 7px; letter-spacing: .5px; gap: 4px; white-space: nowrap; } .hero-copy .button { padding: 11px 12px; font-size: 9px; gap: 7px; } .hero-art img { height: 220px; margin-bottom: 19px; max-width: 132%; } .hero-orbit { width: 160px; height: 160px; top: 60px; } .hero-art-note { font-size: 4px; letter-spacing: .7px; } .stats-grid { gap: 10px; margin-bottom: 29px; } .stat-card { padding: 16px 14px; } .stat-label { font-size: 8px; margin-bottom: 11px; } .stat-card > strong { font-size: 27px; } .stat-note { font-size: 8px; } .section-heading h2 { font-size: 17px; } .section-heading > .small { font-size: 8px; } .subject-card { padding: 16px; } .subject-card > strong { font-size: 12px; } .subject-count { font-size: 7px; } .subject-top { margin-bottom: 16px; } .subject-icon { width: 30px; height: 30px; } .subject-parent { font-size: 7px; } .setup-layout { display: block; margin: 0; } .setup-panel { padding: 27px; } .setup-note { margin-top: 32px; } .setup-note img { width: 150px; } .setup-note h2 { font-size: 23px; } .question-panel { padding: 23px 19px; } .question-meta { margin-bottom: 23px; gap: 10px; } .question-meta .pill { max-width: 100%; white-space: normal; } .question-meta > span:last-child { font-size: 8px; } .question-statement { font-size: 18px; line-height: 1.7; } .answer-option { padding: 14px 12px; font-size: 11px; gap: 11px; flex-wrap: wrap; } .answer-option > span:nth-of-type(2) { flex: 1; min-width: 180px; } .option-letter { width: 26px; height: 26px; } .option-status { padding-left: 37px; width: 100%; margin: 0; font-size: 8px; } .answer-actions, .result-actions { flex-direction: column; align-items: stretch; gap: 15px; } .answer-actions > span, .result-actions > span { font-size: 9px; text-align: center; } .answer-result { padding: 19px; } .explanation { font-size: 11px; } .result-heading h3 { font-size: 14px; } .filter-bar { padding: 17px; gap: 13px; } .filter-bar label { min-width: calc(50% - 14px); font-size: 10px; } .filter-bar .filter-subject { min-width: calc(50% - 14px); } .filter-bar input, .filter-bar select { font-size: 11px; padding: 10px 9px; } .filter-bar > .button { flex: 1; } .filter-help { font-size: 8px; line-height: 1.8; margin-bottom: 20px; } .history-panel { padding: 20px 15px; } .history-row > summary { gap: 10px; padding: 19px 0; } .history-status { width: 21px; } .history-status svg { width: 17px; } .history-info > strong { font-size: 11px; } .history-info > span { font-size: 8px; } .result-tag { font-size: 8px; } .disclosure { font-size: 17px; } .history-detail { padding-left: 0; font-size: 11px; } .pagination > .button { font-size: 10px; padding: 10px 15px; } .pagination > span { font-size: 9px; } .panel { padding: 23px; } .history-panel { padding: 20px 15px; } .performance-grid .section-heading { flex-wrap: wrap; } table { font-size: 10px; } th, td { padding: 14px 11px; } .performance-grid .panel { min-width: 0; } .activity-chart { gap: 5px; } .activity-column meter { width: 12px; } .activity-column small { font-size: 6px; } .document-copy { padding: 25px; } .document-copy p { font-size: 12px; } .login-layout { display: block; min-height: auto; padding-top: 10px; } .login-story { padding: 0 10px 10px; position: relative; } .login-story h1 { font-size: 37px; line-height: 1.13; max-width: 220px; } .login-story > p:not(.eyebrow) { font-size: 10px; max-width: 180px; } .login-story > img { position: absolute; right: 0; bottom: 20px; width: 125px; margin: 0; opacity: .93; } .login-panel { padding: 26px; margin-top: 5px; } .login-panel .panel-icon { width: 37px; height: 37px; margin-bottom: 16px; } .login-panel h2 { font-size: 23px; } .page-footer { padding: 19px 20px; flex-direction: column; font-size: 8px; gap: 13px; } .page-footer > div { gap: 22px; } .toast { bottom: 18px; right: 20px; } .editor-row > summary { gap: 10px; } .editor-status { font-size: 8px; } .dialog-actions { flex-wrap: wrap; } .empty-state { padding: 35px 10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Contrast for small functional labels on dark surfaces. */
.workspace-label { color: #978b9d; }
.stat-note { color: #a08fa8; }
.subject-parent { color: #aa96b5; }
.subject-count { color: #ab98b7; }
.page-footer { color: #ad95b9; }
