/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components,utilities;:root{color:#292331;font-synthesis:none;--canvas:#f8f6fb;--surface:#fff;--subtle:#f1edf6;--text:#292331;--secondary:#6f6678;--tertiary:#938a9c;--border:#e4ddeb;--brand:#7355a7;--brand-strong:#5d408f;--brand-soft:#eee7f7;--warning:#b17a25;--danger:#ae4f69;--pink-soft:#fff0f5;--mint-soft:#e7f6f0;--shadow:0 12px 32px #45305814;background:#f8f6fb;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans JP,Hiragino Sans,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:radial-gradient(circle at 8% 3%, #ebddfa80, transparent 24%), radial-gradient(circle at 94% 14%, #ffe2ed6b, transparent 22%), var(--canvas);background-attachment:fixed;min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}svg{stroke-width:1.8px;width:1.15em;height:1.15em}.app-shell{min-height:100vh}.topbar{z-index:30;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#faf8fce8;justify-content:space-between;align-items:center;height:56px;padding:0 16px;display:flex;position:sticky;top:0}.brand{letter-spacing:-.02em;align-items:center;gap:9px;font-size:16px;font-weight:700;display:inline-flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#8464b6,#684797);border-radius:10px;place-items:center;width:29px;height:29px;font-size:14px;display:grid}.desktop-nav,.add-material-top{display:none}.topbar-actions{align-items:center;gap:10px;display:flex}.account-menu{position:relative}.account-menu summary{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:10px;place-items:center;width:36px;height:36px;list-style:none;display:grid}.account-menu summary::-webkit-details-marker{display:none}.account-menu>div{z-index:10;border:1px solid var(--border);background:var(--surface);width:190px;box-shadow:var(--shadow);border-radius:12px;padding:12px;position:absolute;top:43px;right:0}.account-menu strong{text-overflow:ellipsis;padding:5px 6px 10px;display:block;overflow:hidden}.account-menu button{background:var(--subtle);text-align:left;cursor:pointer;border:0;border-radius:8px;width:100%;padding:9px}.main-content{min-height:calc(100vh - 56px)}.page-wrap{width:100%;margin:0 auto;padding:20px 16px 100px}.wide-page,.narrow-page{width:100%}.page-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.page-heading h1,.viewer-header h1{letter-spacing:-.04em;margin:0 0 8px;font-size:clamp(28px,8vw,38px);line-height:1.2}.page-heading h1,.viewer-header h1,.today-intro h1{color:#3f3549}.page-heading h1 small{color:var(--secondary);letter-spacing:0;margin-top:7px;font-size:14px;font-weight:500;display:block}.page-heading p,.viewer-header p{color:var(--secondary);margin:0;font-size:14px;line-height:1.65}.section-label{color:var(--secondary);margin-bottom:6px;font-size:12px;font-weight:600;display:block}.primary-button,.start-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#8061b1,#69499b);border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 18px;font-size:14px;font-weight:700;display:inline-flex}.primary-button:hover,.start-button:hover{background:linear-gradient(135deg,#7253a4,#583881)}.primary-button.compact{white-space:nowrap;min-height:42px;padding:0 14px}.primary-button:disabled{opacity:.4;cursor:default}.secondary-button{border:1px solid var(--border);background:var(--surface);border-radius:10px;justify-content:center;align-items:center;min-height:44px;padding:0 16px;font-weight:650;display:inline-flex}.back-link{color:var(--secondary);margin-bottom:24px;font-size:13px;display:inline-flex}.back-link:before{content:"←";margin-right:7px}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.form-error{color:var(--danger);background:#f8ecea;border-radius:8px;padding:11px 12px;font-size:13px}.mobile-nav{height:66px;padding:5px max(12px, env(safe-area-inset-left)) env(safe-area-inset-bottom);z-index:25;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fcfafdf5;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;inset:auto 0 0}.mobile-nav a{min-width:68px;color:var(--tertiary);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:10px;font-weight:600;display:flex}.mobile-nav a svg{width:20px;height:20px}.mobile-nav a.active{color:var(--brand)}.chat-fab{z-index:35;border:1px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--brand);box-shadow:none;cursor:pointer;border-radius:10px;place-items:center;display:grid;position:fixed;top:10px;bottom:auto;right:60px}.chat-fab b{display:none}.today-page{flex-direction:column;max-width:760px;min-height:calc(100svh - 56px);padding-bottom:82px;display:flex}.today-intro{margin-bottom:16px}.date-label{color:var(--secondary);margin:0 0 3px;font-size:13px}.today-intro h1{letter-spacing:-.04em;margin:0 0 4px;font-size:29px}.today-intro>p:last-child{color:var(--secondary);margin:0;font-size:14px}.session-hero,.empty-hero{border:1px solid var(--border);box-shadow:var(--shadow);background:linear-gradient(155deg,#fff 0%,#fdf9ff 100%);border-radius:18px;overflow:hidden}.hero-topline{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:44px;padding:0 18px;display:flex}.subject-chip{font-size:13px;font-weight:700}.exam-chip{color:var(--secondary);font-size:12px}.exam-chip b{color:var(--text)}.hero-main{text-align:center;padding:24px 18px 20px}.hero-kicker{color:var(--secondary);margin:0;font-size:12px;font-weight:600}.item-count{justify-content:center;align-items:baseline;gap:7px;margin:4px 0 0;display:flex}.item-count strong{letter-spacing:-.07em;font-size:54px;line-height:1.1}.item-count span{font-size:15px;font-weight:700}.estimate{color:var(--secondary);margin:2px 0 16px;font-size:13px}.exam-plan-note{color:var(--secondary);margin:-8px 0 14px;font-size:11px}.start-button{justify-content:space-between;width:100%;max-width:340px;padding-left:20px}.quiet-note{color:var(--tertiary);margin:10px 0 0;font-size:11px}.completed-hero{padding-block:28px}.complete-check,.empty-icon{background:var(--brand-soft);width:52px;height:52px;color:var(--brand);border-radius:14px;place-items:center;margin:0 auto 16px;display:grid}.completed-hero h2,.empty-hero h2{letter-spacing:-.02em;margin:0;font-size:22px}.completed-hero p,.empty-hero p,.zero-session-hero p{color:var(--secondary);margin:9px 0 22px;font-size:13px;line-height:1.6}.zero-session-hero{padding-block:26px}.zero-session-hero h2{margin:0;font-size:18px}.zero-session-hero .secondary-button{cursor:pointer}.processing-banner{background:var(--brand-soft);border:1px solid #cce6dc;border-radius:12px;align-items:center;gap:12px;min-height:64px;margin:12px 0;padding:12px 16px;display:flex}.processing-banner>div{flex:1;min-width:0}.processing-banner b,.processing-banner small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.processing-banner b{font-size:13px}.processing-banner small{color:var(--secondary);margin-top:2px;font-size:11px}.processing-pulse{background:var(--brand);border-radius:50%;flex:none;width:8px;height:8px;animation:1.5s infinite pulse}.exam-setup{border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;gap:12px;margin-top:12px;padding:14px;display:flex}.exam-setup>div:nth-child(2){flex:1;min-width:0}.exam-setup h2{margin:0;font-size:14px}.exam-setup p{color:var(--secondary);margin:3px 0 0;font-size:11px}.exam-setup>button{border:1px solid var(--border);background:var(--surface);min-height:38px;color:var(--brand);cursor:pointer;border-radius:9px;padding:0 13px;font-size:12px;font-weight:650}.exam-setup form{gap:8px;width:100%;display:grid}.exam-form-heading{justify-content:space-between;align-items:center;display:flex}.exam-form-heading button{cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.exam-setup form label{margin-top:3px;font-size:11px;font-weight:650}.exam-setup form input{border:1px solid var(--border);border-radius:10px;outline:0;width:100%;height:44px;padding:0 12px}.exam-setup form input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.exam-setup form .primary-button{width:100%;margin-top:5px}@keyframes pulse{50%{opacity:.5}}.today-secondary{flex:1;grid-auto-rows:minmax(68px,1fr);gap:10px;max-height:330px;margin-top:12px;display:grid}.secondary-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;gap:12px;min-height:68px;padding:10px 13px;display:flex}.secondary-icon{background:var(--subtle);width:38px;height:38px;color:var(--brand);border-radius:10px;flex:none;place-items:center;display:grid}.secondary-card div{flex:1;min-width:0}.secondary-card b,.secondary-card small{display:block}.secondary-card b{font-size:14px}.secondary-card small{color:var(--secondary);margin-top:3px;font-size:11px}.secondary-card>svg{color:var(--tertiary)}.secondary-button{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer}.empty-hero{text-align:center;padding:34px 20px}@media (width<=767px) and (height<=760px){.topbar{height:52px}.main-content{min-height:calc(100vh - 52px)}.page-wrap{padding-top:14px}.today-page{min-height:calc(100svh - 52px);padding-bottom:76px}.today-intro{margin-bottom:12px}.today-intro>p:last-child{display:none}.today-intro h1{font-size:27px}.hero-main{padding-block:18px 16px}.item-count strong{font-size:48px}.estimate{margin-bottom:12px}.start-button{min-height:46px}.quiet-note{display:none}.today-secondary{gap:8px;max-height:none;margin-top:10px}.secondary-card{min-height:62px}}.subject-filter{scrollbar-width:none;gap:7px;margin-bottom:18px;display:flex;overflow:auto}.subject-filter button{border:1px solid var(--border);background:var(--surface);color:var(--secondary);white-space:nowrap;cursor:pointer;border-radius:9px;padding:8px 12px;font-size:12px}.subject-filter button.active{border-color:var(--brand);background:var(--brand);color:#fff}.material-grid{gap:10px;display:grid}.material-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding:13px;display:grid}.material-card:hover{border-color:#c3b2dc}.material-cover{background:var(--brand-soft);width:48px;height:58px;color:var(--brand);border-radius:9px;place-items:center;display:grid}.material-cover svg{width:23px;height:23px}.material-card-body{min-width:0}.material-card-body h2{text-overflow:ellipsis;white-space:nowrap;margin:0 0 5px;font-size:14px;overflow:hidden}.material-card-body p{color:var(--secondary);margin:0 0 8px;font-size:11px}.status{color:var(--secondary);align-items:center;gap:6px;font-size:11px;display:inline-flex}.status i{background:var(--brand);border-radius:50%;width:6px;height:6px}.status-processing i,.status-queued i{background:var(--warning);animation:1.5s infinite pulse}.status-partial i,.status-failed i{background:var(--danger)}.material-add-card{min-height:84px;color:var(--secondary);border:1px dashed #cbbdde;border-radius:14px;align-items:center;gap:12px;padding:13px;display:flex}.material-add-card>span{background:var(--subtle);width:48px;height:48px;color:var(--brand);border-radius:10px;place-items:center;display:grid}.material-add-card b{font-size:13px}.material-add-card small{margin-left:auto;font-size:10px}.upload-methods{gap:10px;display:grid}.upload-methods>button{border:1px solid var(--border);background:var(--surface);text-align:left;cursor:pointer;border-radius:14px;grid-template-rows:auto auto;grid-template-columns:44px 1fr;align-items:center;gap:2px 12px;min-height:82px;padding:14px;display:grid}.upload-methods>button:hover{border-color:#bca9d5}.upload-icon{background:var(--brand-soft);width:44px;height:44px;color:var(--brand);border-radius:10px;grid-row:1/3;place-items:center;display:grid}.upload-icon.file{background:var(--subtle);color:var(--secondary)}.upload-methods b{align-self:end;font-size:14px}.upload-methods small{color:var(--secondary);align-self:start;font-size:11px}.page-tray{border:1px solid var(--border);background:var(--surface);border-radius:14px;margin-top:18px;overflow:hidden}.page-tray-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:13px 14px;display:flex}.page-tray-heading h2{margin:0;font-size:14px}.page-tray-heading span{color:var(--secondary);font-size:11px}.page-tray ol{margin:0;padding:0;list-style:none}.page-tray li{border-bottom:1px solid var(--border);align-items:center;gap:10px;min-height:68px;padding:9px 10px;display:flex}.page-thumbnail{background:var(--subtle);width:44px;height:48px;color:var(--secondary);border-radius:7px;flex:none;place-items:center;display:grid;overflow:hidden}.page-thumbnail img{object-fit:cover;width:100%;height:100%}.page-file-name{flex:1;min-width:0}.page-file-name b,.page-file-name small{display:block}.page-file-name b{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.page-file-name small{color:var(--secondary);margin-top:3px;font-size:10px}.page-order-actions{flex-direction:column;display:flex}.page-order-actions button,.remove-page{width:28px;height:26px;color:var(--secondary);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.page-order-actions button:disabled{opacity:.2}.remove-page{color:var(--danger)}.add-page-button{background:var(--subtle);width:100%;min-height:42px;color:var(--brand);cursor:pointer;border:0;justify-content:center;align-items:center;gap:7px;font-size:12px;font-weight:600;display:flex}.subject-choice{margin-top:24px}.subject-label{margin-bottom:8px;font-size:13px;font-weight:650}.subject-label span{color:var(--secondary);font-weight:400}.subject-choice select{border:1px solid var(--border);background:var(--surface);width:100%;height:46px;color:var(--text);border-radius:10px;padding:0 12px}.upload-submit{width:100%;margin-top:24px}.privacy-note{color:var(--secondary);text-align:center;margin:11px 0 0;font-size:11px}.immersive .main-content,.study-page{min-height:100vh}.study-page{background:var(--canvas);flex-direction:column;display:flex}.study-header{border-bottom:1px solid var(--border);grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;min-height:60px;padding:0 12px;display:grid}.study-header>a,.study-header>button{cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.study-header>button{background:var(--brand-soft);color:var(--brand)}.study-progress{align-items:center;gap:10px;padding:0 10px;display:flex}.study-progress>div{flex:1;gap:3px;display:flex}.study-progress i{background:var(--border);border-radius:3px;flex:1;height:3px}.study-progress i.filled{background:var(--brand)}.study-progress span{color:var(--secondary);white-space:nowrap;font-size:11px}.study-card-wrap{width:100%;max-width:760px;margin:auto;padding:34px 16px 30px}.question-meta{color:var(--secondary);justify-content:center;gap:10px;margin-bottom:18px;font-size:11px;display:flex}.question-meta span+span:before{content:"·";margin-right:10px}.study-card-wrap>h1{text-align:center;letter-spacing:-.025em;max-width:700px;margin:0 auto 32px;font-size:clamp(22px,6vw,32px);line-height:1.55}.reveal-button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;width:100%;max-width:480px;min-height:52px;margin:0 auto;font-weight:650;display:flex;position:relative}.reveal-button small{display:none}.answer-panel{background:var(--brand-soft);border-radius:14px;max-width:650px;margin:0 auto;padding:22px}.answer-label{color:var(--brand);font-size:11px;font-weight:700}.answer-panel>p{margin:8px 0 0;font-size:16px;line-height:1.8}.occlusion-exercise{max-width:650px;margin:0 auto}.occlusion-image-wrap{border:1px solid var(--border);background:var(--subtle);border-radius:14px;margin-bottom:14px;position:relative;overflow:hidden}.occlusion-image-wrap img{width:100%;display:block}.occlusion-mask{background:var(--brand);cursor:pointer;border:2px solid #fff;border-radius:5px;min-width:28px;min-height:20px;position:absolute;box-shadow:0 2px 10px #123d2e38}.english-panel{border:1px solid var(--border);background:var(--surface);border-radius:12px;max-width:650px;margin:22px auto 0;padding:18px}.english-panel>span{color:var(--secondary);font-size:11px;font-weight:700}.english-panel>p{margin:8px 0 14px;line-height:1.7}.english-panel dl,.english-panel dd{margin:0}.english-panel dl div{border-top:1px solid var(--border);justify-content:space-between;gap:18px;padding:7px 0;font-size:12px;display:flex}.english-panel dt{color:var(--secondary)}.grade-feedback{border-top:1px solid #cddfd6;margin-top:18px;padding-top:16px}.grade-feedback b{color:var(--brand-strong);font-size:13px}.grade-feedback p{color:var(--secondary);margin:5px 0 0;font-size:13px;line-height:1.7}.rating-section{max-width:590px;margin:26px auto 0}.rating-section>p{color:var(--secondary);text-align:center;margin:0 0 10px;font-size:11px}.rating-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.rating-grid button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:10px;min-height:44px;font-size:12px;font-weight:600}.rating-grid button:hover{border-color:var(--brand);color:var(--brand)}.written-area{border:1px solid var(--border);background:var(--surface);border-radius:14px;max-width:650px;margin:0 auto;overflow:hidden}.written-area textarea{resize:vertical;background:0 0;border:0;outline:0;width:100%;min-height:170px;padding:18px;line-height:1.7}.written-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;padding:10px 10px 10px 16px;display:flex}.written-footer span{color:var(--tertiary);font-size:10px}.written-footer button{background:var(--brand);color:#fff;border:0;border-radius:9px;min-height:38px;padding:0 13px;font-size:12px;font-weight:650}.written-footer button:disabled{opacity:.4}.study-tools{min-height:58px;padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--border);justify-content:center;align-items:center;gap:28px;display:flex}.study-tools button{color:var(--secondary);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;font-size:12px;display:inline-flex}.empty-study{text-align:center;place-content:center;min-height:100vh;padding:20px;display:grid}.empty-study h1{font-size:24px}.empty-study a{color:var(--brand)}.viewer-mode-switch{border:1px solid var(--border);background:var(--subtle);border-radius:12px;gap:4px;margin:-8px 0 24px;padding:4px;display:inline-flex}.viewer-mode-switch button{min-height:38px;color:var(--secondary);background:0 0;border:0;border-radius:9px;align-items:center;gap:7px;padding:0 12px;font-size:11px;font-weight:700;display:flex}.viewer-mode-switch button.active{background:var(--surface);color:var(--brand);box-shadow:0 3px 10px #1e2f2614}.pdf-viewer-shell{background:#3c4046;border:1px solid #d8dce1;border-radius:18px;overflow:hidden;box-shadow:0 18px 50px #181c202e}.pdf-viewer-shell>div{color:#fff;background:#272b30;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:10px 16px;display:flex}.pdf-viewer-shell>div b{font-size:12px}.pdf-viewer-shell>div span{color:#bcc2c9;text-align:right;font-size:9px}.pdf-viewer-shell iframe{background:#52565c;border:0;width:100%;height:max(620px,100svh - 180px);display:block}.learn-library{padding-bottom:72px}.learn-library-hero{text-align:center;background:linear-gradient(135deg,#fbf5ff 0%,#fff7fb 52%,#f2fbf8 100%);border:1px solid #e4daf2;border-radius:32px;padding:clamp(34px,7vw,62px) 22px;position:relative;overflow:hidden;box-shadow:0 20px 55px #4c336717}.soft-blob{filter:blur(1px);opacity:.55;pointer-events:none;border-radius:45% 55% 60% 40%/55% 40% 60% 45%;position:absolute}.blob-one{background:#ead8ff;width:170px;height:145px;top:-45px;left:-38px;transform:rotate(18deg)}.blob-two{background:#d9f3ea;width:190px;height:160px;bottom:-58px;right:-30px;transform:rotate(-14deg)}.learn-library-kicker{color:#8061ad;letter-spacing:.15em;align-items:center;gap:6px;font-size:9px;font-weight:900;display:inline-flex;position:relative}.learn-library-kicker svg{width:14px}.learn-library-hero h1{color:#40354c;letter-spacing:-.055em;margin:10px 0 8px;font-size:clamp(31px,7vw,52px);position:relative}.learn-library-hero>p{color:#71667a;max-width:560px;margin:0 auto;font-size:13px;line-height:1.85;position:relative}.learn-library-flow{flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;margin:24px auto 0;display:flex;position:relative}.learn-library-flow span{color:#655572;background:#ffffffc7;border:1px solid #daccebcc;border-radius:999px;align-items:center;gap:6px;padding:8px 11px;font-size:10px;font-weight:750;display:inline-flex}.learn-library-flow svg{color:#8b6bbb;width:14px}.learn-library-flow i{color:#b4a5c1;font-size:10px;font-style:normal}.study-shelf{margin-top:30px}.study-shelf>header{justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px;display:flex}.study-shelf>header span{color:#8a72a9;letter-spacing:.13em;font-size:9px;font-weight:900}.study-shelf>header h2{margin:4px 0 0;font-size:23px}.study-shelf>header>a{color:#7154a0;background:#fff;border:1px solid #d8cae9;border-radius:999px;align-items:center;gap:5px;padding:9px 12px;font-size:10px;font-weight:800;text-decoration:none;display:inline-flex}.study-shelf>header svg{width:15px}.study-book-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;display:grid}.study-book{background:#fff;border:1px solid #e4dcea;border-radius:24px;transition:transform .18s,box-shadow .18s;overflow:hidden;box-shadow:0 12px 30px #44305612}.study-book:hover{transform:translateY(-3px);box-shadow:0 17px 36px #4430561c}.study-book-cover{background:linear-gradient(145deg,#e9dcfb,#f7edff);justify-content:space-between;align-items:flex-end;min-height:108px;padding:18px;display:flex}.tone-2 .study-book-cover{background:linear-gradient(145deg,#ffe2ec,#fff2f6)}.tone-3 .study-book-cover{background:linear-gradient(145deg,#d8f1e8,#edfaf6)}.study-book-cover>span{color:#7859a5;background:#ffffffc2;border-radius:17px;place-items:center;width:48px;height:48px;display:grid;box-shadow:inset 0 0 0 1px #fffc}.tone-2 .study-book-cover>span{color:#b65d7c}.tone-3 .study-book-cover>span{color:#4e8c78}.study-book-cover svg{width:23px}.study-book-cover small{color:#786c7f;letter-spacing:.08em;font-size:8px;font-weight:900}.study-book-body{padding:17px}.study-book-status{color:#73677a;align-items:center;gap:6px;font-size:9px;font-weight:750;display:inline-flex}.study-book-status i{background:#a898b4;border-radius:50%;width:7px;height:7px}.study-book-status.status-ready i{background:#63aa8c;box-shadow:0 0 0 4px #e7f5ef}.study-book-status.status-processing i,.study-book-status.status-queued i{background:#d6a746}.study-book-body h3{color:#453b4c;min-height:48px;margin:10px 0 5px;font-size:15px;line-height:1.55}.study-book-body p{color:#7a6f80;margin:0 0 14px;font-size:10px;line-height:1.65}.study-book-body>a,.study-book-body>button{color:#fff;background:#7355a7;border:0;border-radius:13px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:42px;font-size:10px;font-weight:850;text-decoration:none;display:flex}.study-book-body>a svg{width:15px}.study-book-body>button:disabled{color:#948b99;background:#e5e0e9}.study-book-add{color:#725c87;background:#fbf9fd;border:1px dashed #cfc0df;border-radius:24px;place-content:center;justify-items:center;min-height:274px;text-decoration:none;display:grid}.study-book-add>span{background:#eee7f6;border-radius:50%;place-items:center;width:48px;height:48px;display:grid}.study-book-add svg{width:21px}.study-book-add b{margin-top:10px;font-size:12px}.study-book-add small{color:#9a8ca5;margin-top:4px;font-size:9px}@media (width<=600px){.learn-library-hero{border-radius:24px}.learn-library-flow i{display:none}.study-shelf>header{align-items:center}}.document-guide{background:#fcfaff;border:1px solid #e3dcef;border-radius:24px;padding:22px 16px 40px;box-shadow:0 18px 50px #3e2a5d14}.document-guide>header{text-align:center;max-width:720px;margin:0 auto}.document-guide>header .guide-kicker{color:#7254c8;letter-spacing:.06em;font-size:10px;font-weight:850}.document-guide>header h2{letter-spacing:-.055em;margin:10px 0;font-size:clamp(28px,8vw,46px);line-height:1.2}.document-guide>header p{color:#71677d;margin:0;font-size:13px;line-height:1.8}.always-help{z-index:8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f8f5fff5;border:1px solid #d4c5ec;border-radius:17px;max-width:720px;margin:20px auto 0;position:sticky;top:10px;overflow:hidden;box-shadow:0 10px 30px #3e2a5d1f}.always-help>button{color:#4f3b6d;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;width:100%;padding:13px 15px;display:grid}.always-help>button>svg{color:#7654b5;width:24px}.always-help>button span b,.always-help>button span small{display:block}.always-help>button span b{font-size:12px}.always-help>button span small{color:#756a80;margin-top:2px;font-size:9px}.always-help>button>i{color:#fff;background:#7254c8;border-radius:999px;padding:7px 10px;font-size:9px;font-style:normal;font-weight:800}.always-help-chat{padding:0 14px 14px}.always-help-chat textarea{width:100%;min-height:80px;font:inherit;resize:vertical;background:#fff;border:1px solid #d8ceea;border-radius:12px;padding:11px 12px}.always-help-chat>div:last-of-type{justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.always-help-chat>div:last-of-type button{color:#fff;background:#7254c8;border:0;border-radius:10px;align-items:center;gap:6px;padding:9px 12px;font-size:10px;font-weight:800;display:inline-flex}.always-help-chat button:disabled{opacity:.45}.always-help-chat svg{width:15px}.always-help-response{background:#fff;border-radius:12px;margin-bottom:10px;padding:11px 13px}.always-help-response b{color:#7254c8;font-size:9px}.always-help-response p{white-space:pre-wrap;color:#50475a;margin:4px 0 0;font-size:11px;line-height:1.75}.study-phase-switch{background:#eeeaf3;border-radius:15px;grid-template-columns:1fr 1fr;gap:5px;max-width:720px;margin:16px auto 0;padding:5px;display:grid}.study-phase-switch button{color:#756b7e;cursor:pointer;background:0 0;border:0;border-radius:11px;justify-content:center;align-items:center;gap:9px;min-height:54px;padding:8px 12px;display:flex}.study-phase-switch button.active{color:#5d42a9;background:#fff;box-shadow:0 3px 12px #3e2a5d17}.study-phase-switch svg{width:19px}.study-phase-switch span b,.study-phase-switch span small{text-align:left;display:block}.study-phase-switch span b{font-size:12px}.study-phase-switch span small{margin-top:2px;font-size:8px}.practice-mode>.document-goal,.practice-mode>.document-flow,.practice-mode>.document-sections,.practice-mode>.exam-bridge,.practice-mode>.term-guide,.practice-mode>.quick-checks,.practice-mode>.term-recall,.practice-mode>.curiosity-section,.practice-mode>.bonus-dialogue{display:none}.practice-panel{max-width:720px;margin:26px auto 0}.practice-panel>header>span{color:#7254c8;letter-spacing:.13em;font-size:9px;font-weight:900}.practice-panel>header h3{margin:5px 0 7px;font-size:23px}.practice-panel>header p{color:#71677d;margin:0;font-size:11px;line-height:1.75}.practice-progress{color:#6046ae;background:#eee8ff;border-radius:12px;margin:16px 0;padding:11px 14px}.practice-progress b{font-size:20px}.practice-progress span{font-size:10px}.practice-question-list{gap:13px;display:grid}.practice-question-list>article{background:#fff;border:1px solid #e0d8ee;border-radius:17px;padding:18px}.practice-question-heading{grid-template-columns:34px 1fr;align-items:center;gap:10px;display:grid}.practice-question-heading>span{color:#6446bd;background:#eee8ff;border-radius:10px;place-items:center;width:32px;height:32px;font-size:9px;font-weight:900;display:grid}.practice-question-heading>b{font-size:13px;line-height:1.6}.practice-choices{gap:7px;margin-top:13px;display:grid}.practice-choices button{color:#51495a;text-align:left;background:#fcfbfd;border:1px solid #ded7e8;border-radius:11px;padding:10px 12px;font-size:11px}.practice-choices button.correct{color:#276a50;background:#eaf7f0;border-color:#69aa8c}.practice-choices button.incorrect{color:#923f57;background:#fff0f4;border-color:#d99aaa}.practice-feedback>p{margin:9px 0;font-size:10px;font-weight:800}.practice-feedback>p.correct{color:#28765a}.practice-feedback>p.incorrect{color:#a3445f}.practice-feedback>div{flex-wrap:wrap;gap:7px;display:flex}.practice-feedback button{color:#654aa8;background:#fff;border:1px solid #d8ceea;border-radius:999px;align-items:center;gap:5px;padding:8px 10px;font-size:9px;font-weight:800;display:inline-flex}.practice-feedback button svg{width:13px}.practice-feedback aside{color:#51485b;background:#f5f1ff;border-radius:11px;margin-top:9px;padding:11px 13px;font-size:11px;line-height:1.75}.practice-next{background:#f3f0f7;border-radius:14px;gap:10px;margin-top:15px;padding:14px;display:flex}.practice-next svg{color:#7254c8;flex:none;width:20px}.practice-next b{font-size:11px}.practice-next p{color:#71677d;margin:3px 0 0;font-size:9px}.document-goal{color:#5c42aa;background:#eee8ff;border-radius:17px;gap:12px;max-width:720px;margin:24px auto 0;padding:16px;display:flex}.document-goal>svg{flex:none;margin-top:2px}.document-goal b{font-size:11px}.document-goal p{color:#4e4460;margin:5px 0 0;font-size:13px;line-height:1.7}.document-flow{justify-content:center;align-items:center;gap:6px;max-width:620px;margin:24px auto 38px;display:flex}.document-flow span{text-align:center;background:#fff;border:1px solid #e0d8ee;border-radius:10px;padding:8px 9px;font-size:9px;font-weight:750}.document-flow i{color:#9a8daf;font-size:11px;font-style:normal}.document-sections{max-width:720px;margin:0 auto}.document-section-heading{margin-bottom:14px}.document-section-heading span,.document-checkpoint>span{color:#7254c8;letter-spacing:.12em;font-size:9px;font-weight:900}.document-section-heading h3{margin:3px 0 0;font-size:20px}.document-sections article{border-top:1px solid #e8e2ef;grid-template-columns:42px 1fr;gap:12px;padding:18px 0;display:grid}.section-number{color:#6446bd;background:#eee8ff;border-radius:13px;place-items:center;width:40px;height:40px;font-size:11px;font-weight:900;display:grid}.section-pages{color:#8b8197;font-size:9px;font-weight:750}.document-sections article h3{margin:4px 0 7px;font-size:17px}.document-sections article p{color:#665d70;margin:0 0 10px;font-size:12px;line-height:1.75}.section-deep-dive{border-top:1px dashed #ddd5e6;margin:13px 0;padding-top:12px}.document-sections article .section-deep-dive p{color:#4f4758;margin:0 0 9px;font-size:13px;line-height:1.9}.document-sections article .section-deep-dive p:last-child{margin-bottom:0}.document-sections code{color:#276e55;background:#edf7f2;border-radius:8px;padding:7px 9px;font-family:inherit;font-size:9px;font-weight:700;display:inline-block}.exam-bridge{background:#f8f5ff;border:1px solid #ddd2f4;border-radius:20px;max-width:720px;margin:34px auto 0;padding:clamp(20px,4vw,32px);box-shadow:0 12px 30px #3e2a5d0f}.exam-bridge>header>span{color:#7254c8;letter-spacing:.14em;font-size:9px;font-weight:900}.exam-bridge>header h3{color:#40384b;margin:5px 0 8px;font-size:clamp(21px,5vw,27px)}.exam-bridge>header p{color:#71677d;margin:0;font-size:12px;line-height:1.8}.exam-bridge-map{color:#71677d;background:#fff;border:1px dashed #d7cdec;border-radius:12px;justify-content:center;align-items:center;gap:7px;margin:18px 0;padding:11px;font-size:9px;display:flex}.exam-bridge-map strong{color:#6446bd}.exam-bridge-map i{color:#9a8daf;font-style:normal}.exam-topic-list{gap:10px;display:grid}.exam-topic-list>article{background:#fff;border:1px solid #e3dcef;border-radius:14px;overflow:hidden}.exam-topic-list>article.open{border-color:#cfc0eb;box-shadow:0 8px 20px #3e2a5d0f}.exam-topic-list>article>button{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:38px 1fr auto;align-items:center;gap:11px;padding:14px;display:grid}.exam-topic-list>article>button>span{color:#6446bd;background:#eee8ff;border-radius:12px;place-items:center;width:36px;height:36px;font-size:10px;font-weight:900;display:grid}.exam-topic-list button small{color:#7254c8;font-size:8px;font-weight:900;display:block}.exam-topic-list button b{margin-top:2px;font-size:13px;display:block}.exam-topic-list button p{color:#756871;margin:4px 0 0;font-size:10px;line-height:1.6}.exam-topic-list button>i{color:#826bb1;font-size:20px;font-style:normal}.exam-topic-detail{padding:0 16px 16px 65px}.exam-topic-detail code{color:#654685;background:#f4edff;border-radius:11px;padding:10px 12px;font-family:inherit;font-size:10px;font-weight:750;line-height:1.7;display:block}.exam-topic-detail ul{color:#554b51;margin:13px 0;padding-left:19px;font-size:12px;line-height:1.8}.exam-tip{background:#f0ebfa;border-left:4px solid #a88bd8;border-radius:4px 12px 12px 4px;padding:12px 14px}.exam-tip b{color:#6446bd;font-size:10px}.exam-tip p{color:#5d4d54;margin:4px 0 0;font-size:11px;line-height:1.75}@media (width<=560px){.exam-topic-detail{padding:0 13px 14px}}.document-checkpoint{background:#fff9df;border:1px solid #e8d79d;border-radius:18px;max-width:720px;margin:16px auto 0;padding:20px}.document-checkpoint>span{color:#956f18}.document-checkpoint h3{margin:5px 0 8px;font-size:17px}.document-checkpoint p{color:#554c2c;margin:0;font-size:13px;line-height:1.75}.curiosity-section{max-width:720px;margin:20px auto 0}.quick-checks{background:#f4fbf7;border:1px solid #d9eadf;border-radius:20px;max-width:720px;margin:28px auto;padding:20px}.term-guide,.term-recall{background:#ffffffd1;border:1px solid #6f4ea029;border-radius:28px;margin-top:28px;padding:clamp(20px,4vw,34px)}.term-guide header>span,.term-recall header>span{color:#7553a6;letter-spacing:.14em;font-size:.72rem;font-weight:800}.term-guide h3,.term-recall h3{margin:6px 0}.term-guide header p,.term-recall header p{color:var(--muted);margin:0 0 18px}.term-guide dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.term-guide dl>div{background:#f8f4ff;border-radius:18px;padding:15px}.term-guide dt{color:#5f3d8d;font-weight:850}.term-guide dd{color:#514b59;margin:5px 0 0;line-height:1.65}.term-recall article{border-top:1px solid #6f4ea01f;padding:16px 0}.term-recall label{margin-bottom:9px;font-weight:750;display:block}.term-recall article>div,.bonus-actions{align-items:stretch;gap:8px;display:flex}.term-recall input{min-width:0;font:inherit;border:1px solid #d9ccec;border-radius:13px;flex:1;padding:11px 13px}.term-recall button,.bonus-actions button{color:#fff;cursor:pointer;background:#6f4ca0;border:0;border-radius:13px;padding:10px 14px;font-weight:750}.term-recall button:disabled,.bonus-actions button:disabled{cursor:default;opacity:.5}.term-recall .voice-button,.bonus-actions .voice-button{color:#62418e;background:#f1e8ff;justify-content:center;align-items:center;gap:6px;display:inline-flex}.term-recall .voice-button svg,.bonus-actions .voice-button svg{width:17px;height:17px}.term-recall article>p{margin:8px 0 0;font-weight:700}.term-recall p.correct{color:#26775b}.term-recall p.incorrect{color:#a44c62}.term-recall article>.term-explanation-toggle{color:#62418e;background:#fff;border:1px solid #cdbce4;border-radius:999px;margin-top:9px;padding:8px 12px;font-size:.82rem}.term-recall article>.term-answer-explanation{color:#4f425b;background:#f4edff;border-radius:14px;margin-top:10px;padding:14px 16px;display:block}.term-answer-explanation b{color:#62418e}.term-answer-explanation p{margin:5px 0 0;font-weight:400;line-height:1.75}.bonus-actions{margin-top:10px}@media (width<=640px){.term-guide dl{grid-template-columns:1fr}.term-recall article>div,.bonus-actions{flex-wrap:wrap}.term-recall input{flex-basis:100%}}.quick-checks>header span{color:#28765a;letter-spacing:.12em;font-size:9px;font-weight:900}.quick-checks>header h3{margin:5px 0;font-size:20px}.quick-checks>header p{color:#66766c;margin:0 0 18px;font-size:11px}.quick-checks article{border-top:1px solid #dce9e1;padding:16px 0}.quick-checks article>b{margin-bottom:10px;font-size:13px;line-height:1.6;display:block}.quick-checks article>div{gap:7px;display:grid}.quick-checks article button{text-align:left;background:#fff;border:1px solid #d8e3dc;border-radius:11px;min-height:42px;padding:9px 12px;font-size:11px}.quick-checks article button.correct{color:#24694f;background:#e7f7ef;border-color:#58a684}.quick-checks article button.incorrect{color:#923f57;background:#fff0f4;border-color:#dca1b0}.quick-checks article>p{margin:8px 0 0;font-size:10px;font-weight:750}.quick-checks article>p.correct{color:#28765a}.quick-checks article>p.incorrect{color:#a3445f}.quick-checks article>.explanation-toggle{color:#286447;background:#fff;border:1px solid #b9d6c4;border-radius:999px;width:auto;margin-top:10px;padding:8px 12px;font-size:11px;font-weight:800}.quick-checks article>.answer-explanation{color:#354a3d;background:#e9f6ee;border-radius:14px;margin-top:10px;padding:14px 16px;display:block}.answer-explanation b{color:#286447}.answer-explanation p{margin:5px 0 0;font-size:12px;line-height:1.75}.curiosity-list .curiosity-answer-label{color:#7650a1;margin-top:12px;display:block}.curiosity-list .curiosity-answer{color:#4f425b;background:#f4edff;border-radius:12px;padding:10px 12px}.bonus-dialogue{background:#f5f1ff;border:1px solid #ddd2f4;border-radius:20px;max-width:720px;margin:28px auto 0;padding:20px}.bonus-dialogue>span{color:#6d4fc2;letter-spacing:.1em;font-size:9px;font-weight:900}.bonus-dialogue h3{margin:6px 0;font-size:19px}.bonus-dialogue>p{color:#6c6179;margin:0 0 14px;font-size:11px;line-height:1.7}.bonus-dialogue textarea{resize:vertical;background:#fff;border:1px solid #d8ccec;border-radius:13px;outline:0;width:100%;min-height:110px;padding:13px;font-size:12px;line-height:1.7}.bonus-dialogue textarea:focus{border-color:#7658cc;box-shadow:0 0 0 3px #7658cc1a}.bonus-dialogue>button{color:#fff;background:#6f50d8;border:0;border-radius:12px;min-height:43px;margin-top:9px;padding:0 15px;font-size:11px;font-weight:800}.bonus-dialogue>button:disabled{opacity:.4}.bonus-response{background:#fff;border-radius:13px;margin-top:14px;padding:15px}.bonus-response b{color:#6d4fc2;font-size:10px}.bonus-response p{white-space:pre-wrap;color:#51475d;margin:6px 0 0;font-size:12px;line-height:1.8}.bonus-missing,.bonus-model-answer{background:#fff;border-radius:13px;margin-top:12px;padding:12px 14px}.bonus-missing small,.bonus-model-answer small{color:#7553a6;font-weight:850}.bonus-missing ul{color:#5a4f65;margin:7px 0 0;padding-left:20px;line-height:1.7}.bonus-model-answer p{margin:6px 0 0;line-height:1.75}.bonus-response .open-bonus-chat{color:#fff;cursor:pointer;background:#6f50d8;border:0;border-radius:12px;width:100%;margin-top:12px;padding:11px 14px;font-weight:800}.bonus-chat-panel{background:#fff;border:1px solid #d8c9ef;border-radius:16px;margin-top:14px;padding:16px}.bonus-chat-panel header p{color:#6b6075;margin:5px 0 12px;font-size:11px}.bonus-chat-messages{gap:9px;margin-bottom:12px;display:grid}.bonus-chat-messages>div{background:#f1ecfa;border-radius:13px;max-width:88%;padding:10px 12px}.bonus-chat-messages>div.user{background:#e7f7ef;justify-self:end}.bonus-chat-messages small{color:#7658a1;font-weight:800}.bonus-chat-messages p{white-space:pre-wrap;color:#4f4758;margin:4px 0 0;font-size:12px;line-height:1.7}.curiosity-section>header{margin-bottom:12px}.curiosity-section>header span{color:#b85c77;letter-spacing:.12em;font-size:9px;font-weight:900}.curiosity-section>header h3{margin:5px 0;font-size:20px}.curiosity-section>header p{color:#756b7e;margin:0;font-size:11px}.curiosity-list{gap:9px;display:grid}.curiosity-list>article{background:#fff8fb;border:1px solid #eadce4;border-radius:16px;width:100%;overflow:hidden}.curiosity-question-button{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto 1fr;gap:8px 11px;width:100%;padding:15px;display:grid}.curiosity-question-button>span{color:#a33c5d;background:#ffe4ec;border-radius:8px;padding:5px 7px;font-size:8px;font-weight:900}.curiosity-question-button>b{align-self:center;font-size:12px;line-height:1.55}.curiosity-list>article.open{background:#fff3f7;border-color:#dba9ba}.curiosity-hint{background:#fff;border-radius:11px;margin:0 12px 12px;padding:12px}.curiosity-answer-toggle{color:#704698;cursor:pointer;background:#f8f2ff;border:1px solid #d7c0e8;border-radius:999px;margin:4px 0 10px;padding:8px 12px;font-size:10px;font-weight:800}.curiosity-list small{color:#a33c5d;font-size:9px;font-weight:850}.curiosity-list p{color:#5e5364;margin:5px 0 8px;font-size:12px;line-height:1.7}.curiosity-list i{color:#8e8193;font-size:8px;font-style:normal}.paper-page.learning-paper{background:#fcfaff;border-color:#e4dcf4;border-radius:20px;padding:34px 18px 22px}.beginner-guide .guide-kicker{color:#7254c8;letter-spacing:.06em;font-size:10px;font-weight:850}.beginner-guide>h2{letter-spacing:-.04em;border:0;margin:8px 0 18px;padding:0;font-size:clamp(24px,7vw,34px);line-height:1.35}.takeaway-card{color:#563ba5;background:#eee8ff;border-radius:16px;gap:10px;padding:16px;display:flex}.takeaway-card svg{flex:none;margin-top:3px}.takeaway-card p{color:#443660;margin:0;font-size:14px;line-height:1.8}.beginner-guide section{margin-top:24px}.beginner-guide section h3{margin:0 0 9px;font-size:13px}.beginner-guide section>p{color:#645b71;font-size:13px;line-height:1.85}.beginner-guide ol{counter-reset:guide-step;gap:9px;margin:0;padding:0;list-style:none;display:grid}.beginner-guide li{color:#554d61;counter-increment:guide-step;background:#fff;border:1px solid #e7e1ef;border-radius:13px;padding:12px 13px 12px 45px;font-size:12px;line-height:1.7;position:relative}.beginner-guide li:before{content:counter(guide-step);color:#267458;background:#e6f6ef;border-radius:8px;place-items:center;width:24px;height:24px;font-size:10px;font-weight:850;display:grid;position:absolute;top:12px;left:12px}.beginner-guide dl{gap:8px;margin:0;display:grid}.beginner-guide dl>div{background:#fff;border-radius:12px;padding:12px}.beginner-guide dt{color:#563ba5;font-size:11px;font-weight:800}.beginner-guide dd{color:#6e6578;margin:4px 0 0;font-size:11px;line-height:1.6}.page-check{background:#fff9df;border:1px solid #eadca9;border-radius:15px;margin-top:24px;padding:16px}.page-check b{color:#84631a;font-size:10px}.page-check p{color:#534924;margin:7px 0 0;font-size:13px;line-height:1.7}.source-details{color:var(--secondary);margin-top:18px}.source-details summary{cursor:pointer;font-size:11px;font-weight:700}.source-details p{background:#fff;border-radius:12px;margin-top:12px;padding:14px;font-size:11px;line-height:1.8}.viewer-header{flex-direction:column;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px;display:flex}.viewer-header>div{min-width:0}.viewer-header h1{overflow-wrap:anywhere}.viewer-header .secondary-button{flex:none;width:100%}.exam-analysis{border:1px solid var(--border);background:var(--surface);border-radius:14px;margin-bottom:24px;padding:20px}.analysis-heading{gap:8px;display:grid}.analysis-heading span,.format-list>span{color:var(--brand);font-size:11px;font-weight:700}.analysis-heading h2{margin:3px 0 0;font-size:22px}.analysis-heading p{color:var(--secondary);margin:0;font-size:13px;line-height:1.7}.theme-list{gap:12px;margin-top:18px;display:grid}.theme-list div{grid-template-columns:1fr auto;gap:6px 14px;display:grid}.theme-list b,.theme-list span{font-size:13px}.theme-list span{color:var(--secondary)}.theme-list i{background:var(--brand);border-radius:5px;grid-column:1/-1;height:5px}.format-list{border-top:1px solid var(--border);margin-top:18px;padding-top:15px}.format-list p{margin:5px 0 0;font-size:13px}.viewer-layout{display:block}.viewer-layout>aside{gap:7px;margin-bottom:16px;display:flex;overflow-x:auto}.viewer-layout>aside h2{display:none}.viewer-layout>aside a{border:1px solid var(--border);background:var(--surface);border-radius:9px;place-items:center;min-width:45px;height:40px;display:grid}.viewer-layout>aside a small{display:none}.page-stack{flex-direction:column;gap:22px;display:flex}.page-stack article{scroll-margin-top:74px}.paper-page{border:1px solid var(--border);background:var(--surface);border-radius:14px;min-height:300px;padding:46px 18px 24px;position:relative}.page-number{color:var(--tertiary);font-size:12px;position:absolute;top:16px;right:18px}.source-image{object-fit:contain;background:var(--subtle);border-radius:8px;width:100%;max-height:70vh;margin-bottom:22px;display:block}.paper-page h2{border-bottom:1px solid var(--border);margin:0 0 16px;padding-bottom:12px;font-size:20px;line-height:1.45}.paper-page p{white-space:pre-wrap;margin:0;font-size:14px;line-height:1.9}.page-caption{color:var(--tertiary);text-align:center;margin-top:7px;font-size:10px;display:block}.unreadable-note{color:var(--danger);background:#f8ecea;border-radius:8px;align-items:center;gap:7px;margin-top:16px;padding:11px;font-size:12px;display:flex}.processing-page{text-align:center;border:1px dashed #bdc7c1;border-radius:14px;padding:64px 20px}.processing-page h2{font-size:18px}.processing-page p{color:var(--secondary);font-size:13px}.map-summary{display:none}.map-legend{color:var(--secondary);gap:12px;margin-bottom:18px;font-size:10px;display:flex;overflow-x:auto}.map-legend span{white-space:nowrap;align-items:center;gap:5px;display:flex}.map-legend i{background:var(--border);border-radius:50%;width:7px;height:7px}.map-legend i.done{background:var(--brand)}.map-legend i.weak{background:var(--danger)}.map-legend i.doing{background:var(--warning)}.unit-map{flex-direction:column;gap:10px;display:flex}.unit-row{grid-template-columns:30px 1fr;align-items:stretch;gap:8px;display:grid}.unit-index{color:var(--tertiary);padding-top:15px;font-size:10px}.unit-line{display:none}.unit-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;gap:12px;min-height:96px;padding:14px;display:flex}.unit-card>div:first-child{flex:1;min-width:0}.unit-status{color:var(--secondary);font-size:10px}.unit-card h2{margin:4px 0;font-size:16px}.unit-card p{color:var(--secondary);margin:0;font-size:11px;line-height:1.5}.unit-progress-ring{background:conic-gradient(var(--brand) var(--progress), var(--subtle) 0);border-radius:50%;flex:none;place-items:center;width:48px;height:48px;display:grid}.unit-progress-ring:before{content:"";background:var(--surface);border-radius:50%;grid-area:1/1;width:38px;height:38px}.unit-progress-ring span{z-index:1;grid-area:1/1;font-size:9px}.unit-weak .unit-progress-ring{background:conic-gradient(var(--danger) var(--progress), var(--subtle) 0)}.map-cta{background:var(--brand-soft);border-radius:12px;margin-top:18px;padding:16px}.map-cta p{color:var(--secondary);margin:0 0 8px;font-size:12px}.map-cta a{color:var(--brand);font-size:13px;font-weight:700}.loading-state,.error-state{text-align:center;place-content:center;justify-items:center;min-height:60vh;padding:24px;display:grid}.spinner{border:2px solid var(--border);border-top-color:var(--brand);border-radius:50%;width:24px;height:24px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.loading-state p,.error-state p{color:var(--secondary);font-size:13px}.error-state>span{width:38px;height:38px;color:var(--danger);background:#f8ecea;border-radius:10px;place-items:center;font-weight:800;display:grid}.error-state h2{margin-bottom:0;font-size:20px}.error-state button{border:1px solid var(--border);background:var(--surface);border-radius:9px;min-height:40px;padding:0 14px}.auth-loading{min-height:100vh;color:var(--secondary);place-items:center;display:grid}.sign-in-page{background:var(--canvas);place-items:center;min-height:100vh;padding:24px 16px;display:grid}.sign-in-panel{border:1px solid var(--border);background:var(--surface);width:min(100%,430px);box-shadow:var(--shadow);border-radius:18px;padding:24px}.brand-static{margin-bottom:48px}.sign-in-panel h1{letter-spacing:-.04em;margin:0 0 10px;font-size:30px;line-height:1.35}.sign-in-panel>div>p{color:var(--secondary);margin:0 0 28px;font-size:14px;line-height:1.7}.sign-in-panel form label{margin-bottom:7px;font-size:12px;font-weight:650;display:block}.sign-in-panel form input{border:1px solid var(--border);border-radius:10px;outline:0;width:100%;height:48px;margin-bottom:12px;padding:0 13px}.sign-in-panel form input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.sign-in-panel form .primary-button{width:100%;margin-top:4px}.sign-in-note{color:var(--tertiary);text-align:center;margin:14px 0 0;font-size:10px}.chat-overlay,.modal-backdrop{z-index:60;background:#12191552;position:fixed;inset:0}.overlay-dismiss{background:0 0;border:0;width:100%;position:absolute;inset:0}.chat-panel{background:var(--surface);width:100%;max-height:88vh;box-shadow:var(--shadow);border-radius:20px 20px 0 0;flex-direction:column;display:flex;position:absolute;inset:auto 0 0;overflow:hidden}.chat-panel>header{border-bottom:1px solid var(--border);align-items:center;gap:10px;min-height:66px;padding:10px 14px;display:flex}.ai-avatar{background:var(--brand-soft);width:38px;height:38px;color:var(--brand);border-radius:10px;place-items:center;display:grid}.chat-panel>header>div:nth-child(2){flex:1;min-width:0}.chat-panel h2{margin:0;font-size:14px}.chat-panel header span{color:var(--secondary);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:10px;display:block;overflow:hidden}.chat-panel header button,.source-heading button{cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.chat-messages{flex-direction:column;gap:12px;min-height:300px;padding:18px 14px;display:flex;overflow-y:auto}.chat-message{background:var(--subtle);border-radius:12px;max-width:85%;padding:11px 13px}.chat-message.user{background:var(--brand);color:#fff;align-self:flex-end}.chat-message p{white-space:pre-wrap;margin:0;font-size:13px;line-height:1.65}.chat-message>span{color:var(--secondary);align-items:center;gap:4px;margin-top:8px;font-size:10px;display:flex}.chat-typing,.chat-error{color:var(--secondary);font-size:11px}.chat-error{color:var(--danger)}.chat-panel>form{padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--border);grid-template-columns:1fr 42px;gap:8px;display:grid}.chat-panel form input{border:1px solid var(--border);border-radius:10px;outline:0;min-width:0;height:42px;padding:0 12px}.chat-panel form button{background:var(--brand);color:#fff;border:0;border-radius:10px;place-items:center;display:grid}.source-sheet{background:var(--surface);border-radius:20px 20px 0 0;width:100%;max-height:86vh;padding:18px 16px 24px;position:absolute;inset:auto 0 0;overflow-y:auto}.sheet-handle{background:var(--border);border-radius:4px;width:38px;height:4px;margin:-7px auto 18px}.source-heading{justify-content:space-between;gap:12px;display:flex}.source-heading h2{margin:0;font-size:18px}.source-page{border:1px solid var(--border);border-radius:12px;margin:18px 0;padding:18px}.source-page>span{color:var(--secondary);font-size:10px}.source-page p{font-size:14px;line-height:1.8}.source-page mark{background:var(--brand-soft);color:var(--brand);border-radius:4px;padding:4px 6px;font-size:10px}.text-link{color:var(--brand);font-size:13px;font-weight:700}.done-page{text-align:center;align-content:center;justify-items:center;max-width:620px;min-height:calc(100vh - 56px);display:grid}.done-orbit{background:var(--brand-soft);width:64px;height:64px;color:var(--brand);border-radius:18px;place-items:center;margin-bottom:20px;display:grid}.done-orbit svg{width:28px;height:28px}.done-page h1{letter-spacing:-.04em;margin:0;font-size:30px}.done-page>p{color:var(--secondary);margin:12px 0 24px;font-size:14px;line-height:1.7}.onboarding-page{min-height:100vh;padding:20px}.onboarding-page>.brand{margin-bottom:36px}.onboarding-page main{gap:28px;max-width:760px;margin:0 auto;display:grid}.onboarding-visual{background:var(--brand-soft);min-height:220px;color:var(--brand);border-radius:20px;place-items:center;display:grid;position:relative}.onboarding-visual svg{z-index:1;width:54px;height:54px}.visual-orbit{border:1px solid #bcd6c9;border-radius:50%;width:130px;height:130px;position:absolute}.onboarding-copy h1{margin:0 0 12px;font-size:30px}.onboarding-copy>p{color:var(--secondary);font-size:14px;line-height:1.8}.onboarding-dots{gap:6px;margin:24px 0;display:flex}.onboarding-dots i{background:var(--border);border-radius:3px;width:22px;height:3px}.onboarding-dots i.active{background:var(--brand)}.onboarding-copy .primary-button{width:100%}.skip-link{color:var(--secondary);text-align:center;margin-top:14px;font-size:12px;display:block}.learning-page{--learn-ink:#211b2e;--learn-purple:#6f50d8;--learn-purple-dark:#5133b5;--learn-lilac:#eee8ff;--learn-pink:#ff7f9f;--learn-yellow:#ffe07a;--learn-mint:#a9e8d2;min-height:100svh;color:var(--learn-ink);background:radial-gradient(circle at 8% 14%,#ffe07a6b 0 8%,#0000 22%),radial-gradient(circle at 92% 28%,#ff7f9f38 0 12%,#0000 28%),#fbfaff}.learning-topbar{grid-template-columns:44px 1fr auto;align-items:center;gap:12px;width:min(100% - 28px,960px);min-height:74px;margin:0 auto;display:grid}.learning-topbar>a{background:#ffffffc7;border:1px solid #ddd6f4;border-radius:14px;place-items:center;width:40px;height:40px;display:grid}.learning-topbar>div{gap:2px;display:grid}.learning-topbar>div span{color:#806f9c;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:800}.learning-topbar>div b{font-size:15px}.learning-topbar>span{color:#75688b;background:#fff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800;box-shadow:0 6px 18px #4a357114}.learning-progress{grid-template-columns:repeat(4,1fr);width:min(100% - 28px,700px);margin:10px auto 0;display:grid;position:relative}.learning-progress:before{content:"";background:#ddd6ee;height:2px;position:absolute;top:17px;left:12.5%;right:12.5%}.learning-progress button{z-index:1;color:#9c91ae;cursor:default;background:0 0;border:0;justify-items:center;gap:6px;min-width:0;padding:0;display:grid}.learning-progress button.done{cursor:pointer}.learning-progress i{background:#fbfaff;border:2px solid #ddd6ee;border-radius:50%;place-items:center;width:34px;height:34px;font-size:11px;font-style:normal;font-weight:900;display:grid}.learning-progress i svg{width:14px}.learning-progress button.active i,.learning-progress button.done i{border-color:var(--learn-purple);background:var(--learn-purple);color:#fff;box-shadow:0 5px 15px #6f50d83d}.learning-progress button.active span{color:var(--learn-ink)}.learning-progress button span{font-size:9px;font-weight:800}.learning-stage{width:min(100% - 28px,760px);margin:0 auto;padding:44px 0 72px}.learning-stage>section{animation:.36s both learn-in}@keyframes learn-in{0%{opacity:0;transform:translateY(10px)}}.lesson-eyebrow{background:var(--learn-lilac);width:fit-content;color:var(--learn-purple-dark);border:1px solid #dcd1ff;border-radius:999px;align-items:center;gap:6px;margin:0 auto 16px;padding:8px 12px;font-size:11px;font-weight:850;display:flex}.lesson-intro-stage{text-align:center}.learning-stage h1{letter-spacing:-.065em;margin:0;font-size:clamp(38px,11vw,66px);line-height:1.08}.lesson-intro-stage>p,.stage-lead{color:#746987;max-width:560px;margin:18px auto 0;font-size:14px;line-height:1.85}.circulation-map{background:#ffffffd1;border:1px solid #e7dff7;border-radius:32px;grid-template-rows:1fr 1fr;grid-template-columns:1fr 76px 1fr;align-items:center;max-width:640px;min-height:280px;margin:34px auto 28px;padding:24px 15px;display:grid;position:relative;overflow:hidden;box-shadow:0 22px 70px #4d30791c}.circulation-map:after{content:"";background:var(--learn-yellow);opacity:.35;border-radius:50%;width:190px;height:190px;position:absolute;bottom:-110px;right:-80px}.map-node{z-index:1;border-radius:21px;place-content:center;gap:3px;min-height:86px;padding:13px;display:grid}.map-node small{color:#716681;font-size:10px}.map-node b{font-size:13px}.body-node{background:#eff7ff;grid-row:1/3}.heart-node{color:#9c3453;background:#ffe7ee;border-radius:26px;grid-area:1/2/3;place-self:center;width:76px;height:76px;box-shadow:0 10px 25px #ca58792b}.heart-node svg{width:25px;height:25px;margin:0 auto}.heart-node small{display:none}.lung-node{background:#e8faf4;grid-area:1/3/3}.map-arrow{color:#887a9c;font-size:9px;font-weight:750;position:absolute;left:26%;right:26%}.map-arrow.top{top:31px}.map-arrow.bottom{text-align:right;bottom:31px}.lesson-next{background:var(--learn-purple);color:#fff;cursor:pointer;border:0;border-radius:17px;justify-content:center;align-items:center;gap:14px;min-height:54px;padding:0 20px;font-size:13px;font-weight:850;display:inline-flex;box-shadow:0 13px 26px #5b3fbc3b}.lesson-next:hover{background:var(--learn-purple-dark);transform:translateY(-1px)}.lesson-next:disabled{opacity:.4;cursor:default;transform:none}.summary-stage>h1,.socratic-stage>h1{text-align:center}.key-idea-list{gap:12px;margin:32px 0 20px;display:grid}.key-idea-list article{background:#ffffffdb;border:1px solid #e6e0f2;border-radius:22px;grid-template-columns:43px 1fr;gap:14px;padding:20px;display:grid;box-shadow:0 12px 32px #4836670f}.key-idea-list article>span{background:var(--learn-lilac);width:43px;height:43px;color:var(--learn-purple);border-radius:14px;place-items:center;font-size:11px;font-weight:900;display:grid}.key-idea-list article:nth-child(2)>span{color:#bd4b6b;background:#ffe6ed}.key-idea-list article:nth-child(3)>span{color:#27785e;background:#e3f8f0}.key-idea-list h2{margin:1px 0 6px;font-size:17px}.key-idea-list p{color:#6f657d;margin:0;font-size:13px;line-height:1.75}.bridge-button{color:#725a18;text-align:left;background:#fff9df;border:1px dashed #d4bd70;border-radius:17px;align-items:center;gap:10px;width:100%;min-height:54px;padding:12px 16px;font-size:12px;font-weight:750;display:flex}.bridge-explanation{background:#fff;border-radius:17px;margin-top:10px;padding:18px;box-shadow:0 10px 30px #48366712}.bridge-explanation b{color:var(--learn-purple);font-size:12px}.bridge-explanation p{color:#645a71;margin:7px 0 0;font-size:13px;line-height:1.8}.learning-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:28px;display:flex}.text-action{color:#756a87;background:0 0;border:0;padding:10px 0;font-size:12px;font-weight:750}.coach-message{background:var(--learn-lilac);border:1px solid #ddd2ff;border-radius:23px 23px 23px 6px;grid-template-columns:42px 1fr;gap:13px;margin:30px 0 16px;padding:20px;display:grid}.coach-avatar{background:var(--learn-purple);color:#fff;border-radius:15px;place-items:center;width:42px;height:42px;font-size:11px;font-weight:900;display:grid}.coach-message b{font-size:12px}.coach-message p{margin:6px 0 0;font-size:14px;line-height:1.8}.answer-box{background:#fff;border:2px solid #ded5f1;border-radius:22px;display:block;overflow:hidden;box-shadow:0 16px 42px #442a6e14}.answer-box>span{color:#786a8f;padding:15px 18px 0;font-size:10px;font-weight:850;display:block}.answer-box textarea{resize:vertical;width:100%;min-height:150px;color:var(--learn-ink);border:0;outline:0;padding:12px 18px;font-size:15px;line-height:1.75}.answer-box>div{border-top:1px solid #eee9f5;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.answer-box button{min-height:38px;color:var(--learn-purple-dark);background:#f0ebfb;border:0;border-radius:12px;align-items:center;gap:7px;padding:0 12px;font-size:11px;font-weight:800;display:flex}.answer-box button.listening{color:#a33b5a;background:#ffe2ea}.answer-box small{color:#a298b0;font-size:10px}.rubric-preview{background:#ffffffa6;border-radius:16px;flex-wrap:wrap;gap:7px;margin-top:12px;padding:14px 16px;display:flex}.rubric-preview b{width:100%;margin-bottom:2px;font-size:10px}.rubric-preview span{color:#6f637d;background:#f1edf8;border-radius:8px;padding:5px 8px;font-size:9px}.feedback-result{background:#ebfaf3;border:1px solid #ccebdc;border-radius:25px;grid-template-columns:52px 1fr;gap:16px;padding:24px;display:grid}.feedback-result.close{background:#fff9df;border-color:#e8db9d}.feedback-result.retry{background:#fff0f4;border-color:#ead3dd}.feedback-icon{color:#fff;background:#49a47d;border-radius:17px;place-items:center;width:52px;height:52px;display:grid}.close .feedback-icon{background:#c29231}.retry .feedback-icon{background:#cb6884}.feedback-result h1{letter-spacing:-.045em;font-size:clamp(24px,6vw,34px)}.feedback-result p{color:#615873;margin:8px 0 0;font-size:13px;line-height:1.7}.answer-review{background:#fff;border:1px solid #e6e0f0;border-radius:18px;margin:16px 0;padding:18px}.answer-review span{color:#8b809b;font-size:10px;font-weight:800}.answer-review p{margin:8px 0 0;font-size:14px;line-height:1.75}.rubric-result{background:#fff;border-radius:22px;padding:20px;box-shadow:0 12px 36px #462e6812}.rubric-result h2{margin:0 0 12px;font-size:14px}.rubric-result>div{border-top:1px solid #f0ecf5;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;min-height:44px;display:grid}.rubric-result i{color:#24815e;background:#dff5eb;border-radius:8px;place-items:center;width:24px;height:24px;font-size:11px;font-style:normal;display:grid}.rubric-result .missing i{color:#9b6a00;background:#fff1cf}.rubric-result span{font-size:12px}.rubric-result b{color:#5b9b81;font-size:10px}.rubric-result .missing b{color:#b48324}.next-question{background:var(--learn-lilac);color:var(--learn-purple-dark);border-radius:18px;gap:12px;margin-top:14px;padding:18px;display:flex}.next-question>svg{flex:none;margin-top:2px}.next-question b{font-size:11px}.next-question p{color:#554a6d;margin:5px 0 0;font-size:13px;line-height:1.65}@media (width>=700px){.learning-stage{padding-top:58px}.key-idea-list{grid-template-columns:repeat(3,1fr)}.key-idea-list article{grid-template-columns:1fr;align-content:start;min-height:220px}.learning-progress button span{font-size:10px}.circulation-map{grid-template-columns:1fr 120px 1fr;padding-inline:30px}.heart-node{width:94px;height:94px}}@media (width>=768px){.topbar{height:64px;padding:0 max(24px,50vw - 580px)}.desktop-nav{align-items:center;gap:30px;height:100%;display:flex}.desktop-nav a{height:100%;color:var(--secondary);align-items:center;gap:6px;font-size:13px;font-weight:600;display:flex;position:relative}.desktop-nav a svg{display:none}.desktop-nav a.active{color:var(--brand)}.desktop-nav a.active:after{content:"";background:var(--brand);height:2px;position:absolute;inset:auto 0 -1px}.add-material-top{border:1px solid var(--border);background:var(--surface);border-radius:10px;align-items:center;gap:5px;min-height:38px;padding:0 13px;font-size:12px;font-weight:650;display:inline-flex}.mobile-nav{display:none}.chat-fab{color:#fff;background:linear-gradient(135deg,#8061b1,#69499b);border:0;border-radius:14px;gap:7px;width:auto;height:42px;padding:0 14px;display:flex;top:auto;bottom:24px;right:24px;box-shadow:0 8px 22px #69499b3d}.chat-fab b{font-size:12px;display:inline}.main-content{min-height:calc(100vh - 64px)}.page-wrap{width:min(100% - 48px,840px);padding:54px 0 90px}.wide-page{width:min(100% - 48px,1120px)}.narrow-page{width:min(100% - 48px,700px)}.page-heading{align-items:flex-end;margin-bottom:32px}.page-heading h1 small{margin:0 0 0 8px;display:inline}.today-page{min-height:auto;padding-top:56px;display:block}.today-secondary{grid-template-columns:1fr 1fr}.material-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.material-card{flex-direction:column;align-items:stretch;min-height:170px;padding:18px;display:flex}.material-cover{width:48px;height:48px;margin-bottom:24px}.material-card-body{margin-top:auto}.material-add-card{flex-direction:column;justify-content:center;min-height:170px}.material-add-card small{margin-left:0}.upload-methods{grid-template-columns:1fr 1fr}.upload-methods>button{min-height:110px}.rating-grid{grid-template-columns:repeat(4,1fr)}.viewer-header{flex-direction:row}.viewer-header .secondary-button{width:auto}.viewer-layout{grid-template-columns:170px minmax(0,1fr);align-items:start;gap:26px;display:grid}.viewer-layout>aside{margin:0;display:block;position:sticky;top:90px}.viewer-layout>aside h2{color:var(--secondary);margin:0 0 8px;font-size:11px;display:block}.viewer-layout>aside a{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;justify-content:flex-start;gap:8px;width:100%;height:auto;min-height:42px;padding:8px;display:flex}.viewer-layout>aside a small{color:var(--secondary);text-overflow:ellipsis;white-space:nowrap;font-size:9px;display:block;overflow:hidden}.paper-page{min-height:520px;box-shadow:var(--shadow);border-radius:4px;padding:60px 64px}.paper-page.learning-paper{padding:52px 58px}.document-guide{padding:48px 46px 58px}.map-summary{align-items:baseline;gap:4px;display:flex}.map-summary strong{color:var(--brand);font-size:42px}.map-summary>span{color:var(--secondary)}.map-summary small{font-size:10px;display:block}.unit-row{grid-template-columns:34px 1fr}.chat-panel{border-radius:18px;width:400px;height:min(680px,100vh - 32px);inset:16px 16px 16px auto}.source-sheet{border-radius:18px;width:min(620px,100% - 40px);inset:50% auto auto 50%;transform:translate(-50%,-50%)}.sheet-handle{display:none}.sign-in-panel{padding:36px}.onboarding-page main{grid-template-columns:1fr 1fr;align-items:center}}
