/*! 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{--app-font:"Yu Gothic UI", "Yu Gothic", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;font-family:var(--app-font);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}*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:var(--app-font);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}h1,h2,h3,h4,p,a,button,input,textarea,select{font-family:var(--app-font)}h1,h2,h3{font-weight:700}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}.chat-prompt{z-index:45;border:1px solid var(--border);background:var(--surface);border-radius:16px;align-items:flex-start;display:flex;position:fixed;top:54px;right:10px;overflow:hidden;box-shadow:0 12px 32px #31264329}.chat-prompt-open{min-width:0;color:var(--primary);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:9px;padding:10px 4px 10px 10px;display:flex}.chat-prompt-open>span:last-child{gap:2px;min-width:0;display:grid}.chat-prompt-open b{font-size:12px;line-height:1.35}.chat-prompt-open small{color:var(--secondary);font-size:10px}.chat-prompt-dismiss{width:34px;height:34px;color:var(--tertiary);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;margin:3px 3px 0 0;display:grid}.chat-prompt-dismiss:hover{background:var(--subtle);color:var(--primary)}.chat-prompt svg{width:17px;height:17px}.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}.session-explainer{width:min(100%,340px);color:var(--secondary);background:#ffffffb8;border:1px solid #e7dff0;border-radius:12px;justify-content:center;align-items:center;gap:11px;margin:0 auto 18px;padding:10px 14px;font-size:11px;font-weight:650;display:flex}.session-explainer span{align-items:center;gap:5px;display:inline-flex}.session-explainer svg{color:var(--brand)}.session-explainer i{background:var(--border);width:1px;height:18px}.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}.material-processing-state{border:1px solid var(--border);text-align:center;min-height:420px;box-shadow:var(--shadow);background:linear-gradient(155deg,#fff 0%,#f8f2fc 100%);border-radius:24px;flex-direction:column;justify-content:center;align-items:center;padding:64px 24px;display:flex}.material-processing-state h2{letter-spacing:-.035em;margin:0;font-size:clamp(22px,5vw,30px)}.processing-progress{width:min(100%,420px);margin-top:24px}.processing-progress-label{justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:8px;display:flex}.processing-progress-label b{color:var(--brand);font-size:22px}.processing-progress-label span{color:var(--secondary);font-size:11px}.processing-progress-track{background:#ebe4f3;border-radius:999px;height:9px;overflow:hidden}.processing-progress-track i{border-radius:inherit;background:linear-gradient(90deg, var(--brand), #b28ad3);height:100%;transition:width .5s;display:block}.processing-steps{text-align:left;gap:10px;width:min(100%,420px);margin:20px 0 0;padding:0;list-style:none;display:grid}.processing-steps li{border:1px solid var(--border);min-height:56px;color:var(--secondary);background:#ffffffbf;border-radius:15px;align-items:center;gap:12px;padding:12px 15px;font-size:13px;font-weight:700;display:flex}.processing-steps li svg{width:20px;height:20px;color:var(--brand);flex:none}.processing-steps.queued li:first-child,.processing-steps.processing li{color:var(--text);background:#fff;border-color:#cdbce4;animation:2.4s ease-in-out infinite processing-step}.processing-steps.processing li:nth-child(2){animation-delay:.8s}.processing-steps.processing li:nth-child(3){animation-delay:1.6s}.processing-note{color:var(--tertiary);margin:18px 0 0;font-size:11px}.processing-study-suggestion{text-align:left;background:#ffffffe0;border:1px solid #e3d3ee;border-radius:20px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;width:min(100%,640px);margin-top:28px;padding:18px;display:grid;box-shadow:0 14px 34px #6144851a}.processing-study-suggestion-icon{width:44px;height:44px;color:var(--brand);background:linear-gradient(145deg,#f6e8ff,#fff1db);border-radius:15px;place-items:center;display:grid}.processing-study-suggestion-icon svg{width:21px;height:21px}.processing-study-suggestion small{color:var(--brand);font-size:11px;font-weight:800}.processing-study-suggestion h3{margin:3px 0 0;font-size:15px;line-height:1.45}.processing-study-suggestion p{color:var(--secondary);margin:4px 0 0;font-size:11px;line-height:1.5}.processing-study-suggestion .secondary-button{white-space:nowrap}.materials-study-suggestion{background:linear-gradient(135deg,#fff 0%,#fbf2ff 58%,#fff7e9 100%);border-color:#dfccec;border-radius:16px;grid-template-columns:auto minmax(0,1fr);gap:10px;width:100%;margin:10px 0 0;padding:13px}.materials-study-suggestion .processing-study-suggestion-icon{border-radius:12px;width:36px;height:36px}.materials-study-suggestion h3{font-size:12px}.materials-study-suggestion .secondary-button{grid-column:1/-1;justify-content:center}@media (width<=680px){.processing-study-suggestion{grid-template-columns:auto minmax(0,1fr)}.processing-study-suggestion .secondary-button{grid-column:1/-1;justify-content:center}}@keyframes processing-step{0%,to{box-shadow:none;transform:translateY(0)}35%{transform:translateY(-2px);box-shadow:0 8px 22px #6144851f}}.material-processing-state.failed-state>svg{width:38px;height:38px;color:var(--danger);margin-bottom:20px}.material-processing-state.failed-state .primary-button{margin-top:24px}.material-processing-state.guide-preparing-state>svg{width:38px;height:38px;color:var(--brand);margin-bottom:20px}.material-processing-state.guide-preparing-state .primary-button{margin-top:24px}.generated-guide{gap:22px;display:grid}.learning-phase-heading{border:1px solid var(--border);background:#fff;border-radius:20px;grid-template-columns:58px minmax(0,1fr);align-items:start;gap:16px;padding:22px clamp(18px,4vw,28px);display:grid}.learning-phase-heading>b{background:var(--brand);color:#fff;text-align:center;letter-spacing:.08em;border-radius:11px;padding:8px 7px;font-size:9px}.learning-phase-heading span{color:var(--brand);font-size:11px;font-weight:850}.learning-phase-heading h2{letter-spacing:-.025em;margin:4px 0 6px;font-size:clamp(18px,3vw,24px)}.learning-phase-heading p{color:var(--secondary);margin:0;font-size:12px;line-height:1.75}.deep-phase-heading{background:linear-gradient(145deg,#fff 0%,#f8f2fc 100%);margin-top:10px}.generated-guide>header{border:1px solid var(--border);background:linear-gradient(145deg,#fff 0%,#f3ecfa 100%);border-radius:24px;padding:32px clamp(20px,5vw,44px)}.generated-guide>header>span,.generated-overview>span,.generated-check>span{color:var(--brand);font-size:11px;font-weight:750}.generated-guide>header h2{letter-spacing:-.04em;margin:8px 0;font-size:clamp(25px,5vw,38px)}.generated-guide>header p,.generated-overview p{color:var(--secondary);margin:0;line-height:1.85}.generated-overview,.generated-check{border:1px solid var(--border);background:var(--surface);border-radius:20px;padding:24px}.generated-overview p{color:var(--text);margin-top:10px}.generated-overview>h3{margin:5px 0 20px;font-size:20px}.overview-learning-poster{background:radial-gradient(circle at 8% 8%,#fad2e373,#0000 22%),radial-gradient(circle at 92% 90%,#c7e8e08c,#0000 24%),#fffdf8;border:1px solid #eadff0;border-radius:28px;padding:clamp(20px,4vw,34px);position:relative;overflow:hidden;box-shadow:0 14px 36px #674e7c1a}.overview-learning-poster:before,.overview-learning-poster:after{content:"";border:2px dotted #aa7dbe2e;border-radius:50%;width:56px;height:56px;position:absolute}.overview-learning-poster:before{top:-18px;right:12%}.overview-learning-poster:after{bottom:-22px;left:7%}.overview-learning-poster-title{color:var(--brand-strong);justify-content:center;align-items:center;gap:9px;margin-bottom:18px;font-size:clamp(18px,3vw,24px);display:flex}.overview-learning-poster-title svg{background:#f5e7f6;border-radius:50%;width:24px;height:24px;padding:5px}.overview-step-list{gap:12px;display:grid;position:relative}.overview-step-list>article{background:#ffffffd6;border:2px solid #bb97ca38;border-radius:999px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;padding:13px 18px 13px 12px;display:grid;position:relative;overflow:hidden;box-shadow:0 7px 18px #69537e12}.overview-step-list>article:nth-child(2n){background:#fafffce0;border-color:#6fbeab4d}.overview-step-list>article>b{background:linear-gradient(145deg, #b68bc7, var(--brand));color:#fff;border-radius:50%;place-items:center;width:42px;height:42px;font-size:13px;display:grid;box-shadow:0 4px 10px #794c8e33}.overview-step-list h4{margin:0;font-size:16px}.overview-step-content{min-width:0}.overview-step-list p{color:var(--secondary);margin:7px 0 0;font-size:13px;line-height:1.7}.overview-keywords{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.overview-keywords span{background:var(--brand-soft);color:var(--brand-strong);border-radius:999px;padding:3px 8px;font-size:10px;font-weight:700}.overview-learning-poster>small{color:var(--secondary);text-align:center;margin-top:16px;font-weight:650;display:block}.study-resume-choice{background:radial-gradient(circle at 90% 10%,#daf0e8b8,#0000 28%),radial-gradient(circle at 8% 92%,#f9dae7b3,#0000 30%),#fffdf9;border:1px solid #e8dbef;border-radius:28px;padding:clamp(28px,6vw,52px);box-shadow:0 18px 48px #5e466f1c}.study-resume-choice>span,.advanced-material-study>header>span{color:var(--brand);font-size:12px;font-weight:800}.study-resume-choice h2{margin:8px 0;font-size:clamp(26px,5vw,38px)}.study-resume-choice>p{max-width:620px;color:var(--secondary);line-height:1.8}.study-resume-choice>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px;display:grid}.study-resume-choice button{min-height:112px;color:var(--text);text-align:left;background:#ffffffe0;border:1px solid #e6dbea;border-radius:22px;align-items:center;gap:14px;padding:20px;display:flex;box-shadow:0 8px 22px #674e7c14}.study-resume-choice button>svg:first-child{background:var(--brand-soft);width:42px;height:42px;color:var(--brand-strong);border-radius:15px;flex:none;padding:10px}.study-resume-choice button span{gap:5px;display:grid}.study-resume-choice button b{font-size:16px}.study-resume-choice button small{color:var(--secondary)}.study-resume-choice .continue-study-action{background:linear-gradient(145deg,#fbfffd,#edf9f4);border-color:#bfe2d8}.study-resume-choice .continue-study-action>svg:first-child{color:#24765f;background:#dff4ed}.study-resume-choice .continue-study-action>svg:last-child{color:#24765f;margin-left:auto}.advanced-material-study{gap:18px;display:grid}.advanced-material-study>header,.advanced-term-practice,.advanced-written-practice{border:1px solid var(--border);background:var(--surface);border-radius:24px;padding:clamp(22px,5vw,36px)}.advanced-material-study>header{background:linear-gradient(145deg,#fffdf9,#f4edf8)}.advanced-material-study>header h2{margin:8px 0;font-size:clamp(25px,5vw,36px)}.advanced-material-study>header p,.advanced-study-heading p{color:var(--secondary);line-height:1.75}.advanced-material-study>header button,.advanced-written-practice>article>button,.advanced-chat-action{border:1px solid var(--border);color:var(--brand-strong);background:#fff;border-radius:12px;align-items:center;gap:7px;margin-top:12px;padding:10px 14px;font-weight:750;display:inline-flex}.advanced-study-heading{align-items:flex-start;gap:14px;margin-bottom:20px;display:flex}.advanced-study-heading>b{background:var(--brand);color:#fff;white-space:nowrap;border-radius:10px;padding:7px 10px;font-size:11px}.advanced-study-heading h3,.advanced-study-heading p{margin:0}.advanced-term-list{gap:12px;display:grid}.advanced-term-list>article,.advanced-written-practice>article{background:#fffdfd;border:1px solid #e9e0ed;border-radius:18px;padding:18px}.advanced-term-list>article>span,.advanced-written-practice>article>span{color:var(--brand);font-size:11px;font-weight:800}.advanced-term-list>article>p{margin:8px 0 14px;line-height:1.75}.advanced-term-list>article>div{gap:8px;display:flex}.advanced-term-list input,.advanced-written-practice textarea{width:100%;color:var(--text);font:inherit;background:#fff;border:1px solid #dcd0e2;border-radius:12px}.advanced-term-list input{min-width:0;padding:11px 13px}.advanced-term-list button{background:var(--brand);color:#fff;white-space:nowrap;border:0;border-radius:11px;padding:10px 13px;font-weight:750}.advanced-term-list button:disabled,.advanced-written-practice button:disabled{opacity:.45}.advanced-term-list aside,.advanced-written-practice aside{background:#f4f1f6;border-radius:12px;gap:6px;margin-top:12px;padding:13px;display:grid}.advanced-term-list aside.correct{color:#236b55;background:#eaf7f1}.advanced-term-list aside.incorrect{color:#8a3d4c;background:#fff2f2}.advanced-term-list aside small{color:var(--secondary);line-height:1.65}.advanced-written-practice>article+article{margin-top:12px}.advanced-written-practice h4{margin:8px 0 13px;line-height:1.65}.advanced-written-practice textarea{resize:vertical;min-height:130px;padding:14px;line-height:1.7}.advanced-written-practice aside p{color:var(--secondary);margin:0 0 8px;line-height:1.7}.advanced-written-practice .advanced-chat-action{background:var(--brand);color:#fff}.material-completion-panel{background:radial-gradient(circle at 92% 20%,#d5eee69e,#0000 30%),linear-gradient(145deg,#fffdf9,#f7effa);border:1px solid #ddcfe5;border-radius:24px;justify-content:space-between;align-items:center;gap:20px;padding:clamp(22px,5vw,34px);display:flex;box-shadow:0 12px 34px #6048721a}.material-completion-panel span{color:var(--brand);font-size:11px;font-weight:800}.material-completion-panel h3{margin:5px 0;font-size:clamp(19px,3vw,25px)}.material-completion-panel p{color:var(--secondary);margin:0;line-height:1.7}.material-completion-panel>button{background:var(--brand);color:#fff;border:0;border-radius:15px;flex:none;justify-content:center;align-items:center;gap:8px;min-height:50px;padding:13px 18px;font-weight:800;display:inline-flex;box-shadow:0 8px 18px #754c8938}.material-completion-panel.completed{background:linear-gradient(145deg,#fbfffd,#eaf8f2);border-color:#b9dfd2;justify-content:flex-start}.material-completion-panel.completed>svg{color:#2c8066;flex:none;width:42px;height:42px}.material-completion-panel.completed>button{background:#2c8066;margin-left:auto}.pending-cloze-study,.study-finished-page{gap:16px;display:grid}.pending-cloze-study>header,.pending-cloze-unit,.pending-cloze-study>footer,.study-finished-page{border:1px solid var(--border);background:var(--surface);border-radius:24px;padding:clamp(22px,5vw,36px)}.pending-cloze-study>header{background:radial-gradient(circle at 92% 8%,#d6efe7b3,#0000 28%),linear-gradient(145deg,#fffdf9,#f6eff9)}.pending-cloze-study>header>span,.study-finished-page>span{color:var(--brand);font-size:12px;font-weight:800}.pending-cloze-study>header h2,.study-finished-page h2{margin:7px 0;font-size:clamp(25px,5vw,36px)}.pending-cloze-study>header p,.study-finished-page p{color:var(--secondary);margin:0;line-height:1.75}.pending-cloze-study>header button{border:1px solid var(--border);color:var(--brand-strong);background:#fff;border-radius:11px;margin-top:14px;padding:9px 13px;font-weight:700}.pending-cloze-unit>div:first-child{align-items:center;gap:10px;margin-bottom:14px;display:flex}.pending-cloze-unit>div:first-child b{color:#a04a5a;background:#fff0f2;border-radius:999px;padding:5px 8px;font-size:10px}.pending-cloze-unit>div:first-child h3,.pending-cloze-unit .unit-cloze-exercise{margin:0}.pending-cloze-study>footer{background:#fbf8fc;justify-content:flex-end;align-items:center;gap:10px;display:flex}.pending-cloze-study>footer button,.study-finished-page button{border-radius:13px;justify-content:center;align-items:center;gap:7px;min-height:48px;padding:11px 16px;font-weight:800;display:inline-flex}.pending-cloze-study .skip-cloze-action,.study-finished-page button:first-child{border:1px solid var(--border);color:var(--secondary);background:#fff}.pending-cloze-study .finish-study-action,.study-finished-page button:last-child{background:var(--brand);color:#fff;border:0}.study-finished-page{text-align:center;background:radial-gradient(circle at 15% 20%,#f7d6e599,#0000 25%),radial-gradient(circle at 85% 80%,#c9eae1b3,#0000 28%),#fffdf9;align-content:center;place-items:center;min-height:420px}.study-finished-page>svg{color:#31826a;width:64px;height:64px}.study-finished-page>div{gap:10px;margin-top:14px;display:flex}@media (width<=680px){.study-resume-choice>div{grid-template-columns:1fr}.advanced-term-list>article>div,.material-completion-panel{flex-direction:column;align-items:stretch}.material-completion-panel.completed>button{margin-left:0}.pending-cloze-study>footer,.study-finished-page>div{flex-direction:column;align-items:stretch}}.generated-section-list{gap:16px;display:grid}.unit-summary-table-wrap{background:#fcfafd;overflow:hidden}.unit-deep-details{border:1px solid var(--border);background:#fcfafd;border-radius:16px;margin-top:18px;overflow:hidden}.unit-deep-details>summary{color:var(--brand-strong);cursor:pointer;background:linear-gradient(135deg,#f3e9fa,#fdf8ff);border-radius:15px;justify-content:space-between;align-items:center;gap:12px;padding:15px 18px;font-size:14px;font-weight:850;list-style:none;transition:background .16s,transform .16s;display:flex;box-shadow:inset 0 -1px #64408214}.unit-deep-details>summary::-webkit-details-marker{display:none}.unit-deep-details>summary:hover{background:linear-gradient(135deg,#ecddf7,#fbf2ff)}.unit-deep-details>summary:active{transform:translateY(1px)}.unit-deep-details>summary>span:after{content:"▼";margin-left:9px;font-size:10px}.unit-deep-label-open,.unit-deep-details[open] .unit-deep-label-closed{display:none}.unit-deep-details[open] .unit-deep-label-open{display:inline}.unit-deep-details[open]>summary>span:after{content:"▲"}.unit-deep-details>summary small{color:var(--tertiary);font-size:10px;font-weight:650}.unit-deep-details[open]>summary{border-bottom:1px solid var(--border);border-radius:15px 15px 0 0}.unit-deep-details tr{scroll-margin-top:90px}.unit-summary-table-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:baseline;gap:12px;padding:12px 15px;display:flex}.unit-summary-table-heading span{color:var(--brand);font-size:11px;font-weight:850}.unit-summary-table-heading small{color:var(--tertiary);font-size:9px}.unit-summary-table-scroll{overflow-x:auto}.unit-summary-table{border-collapse:collapse;text-align:left;width:100%;min-width:560px}.unit-summary-table th,.unit-summary-table td{border-bottom:1px solid var(--border);vertical-align:top;padding:12px 14px;font-size:11px;line-height:1.65}.unit-summary-table thead th{color:var(--secondary);letter-spacing:.06em;background:#f4eef8;font-size:9px}.unit-summary-table tbody th{width:24%;color:var(--text);font-weight:800}.unit-summary-table tbody td:nth-child(2){color:var(--secondary)}.unit-summary-table tbody td:last-child{width:62px;color:var(--tertiary);white-space:nowrap}.unit-summary-table tbody tr:last-child th,.unit-summary-table tbody tr:last-child td{border-bottom:0}.generated-section-list>section{border:1px solid var(--border);background:var(--surface);border-radius:20px;padding:22px}.unit-learning-loop{box-shadow:0 14px 34px #472d690e}.generated-section-heading{align-items:center;gap:12px;display:flex}.generated-section-heading>div small{color:var(--tertiary);margin-bottom:3px;font-size:10px;font-weight:700;display:block}.unit-visual{background:linear-gradient(145deg,#fffdf8 0%,#f7f1fc 100%);border:1px solid #ded2eb;border-radius:18px;margin:18px 0 0;padding:clamp(18px,3vw,28px);overflow:hidden}.unit-visual figcaption span{color:var(--brand);font-size:10px;font-weight:850}.unit-visual figcaption h4{margin:4px 0 0;font-size:18px}.unit-generated-illustration{object-fit:contain;width:100%;height:auto;max-height:none;display:block}.unit-visual-generating{color:var(--secondary);background:#ffffffb8;border-radius:12px;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;font-size:11px;display:flex}.unit-visual-generating span,.unit-visual-incomplete span{gap:2px;display:grid}.unit-visual-generating strong,.unit-visual-incomplete strong{color:inherit;font-size:11px}.unit-visual-incomplete{color:#9b5b48;background:#fff7f3;border:1px solid #efd6cb;border-radius:12px;align-items:flex-start;gap:7px;margin:10px 0;padding:10px;font-size:10px;line-height:1.5;display:flex}.unit-visual-incomplete svg{flex:none;width:15px}.unit-node-image-incomplete>button{color:#fff;background:var(--brand);border:0;border-radius:999px;align-items:center;gap:5px;padding:7px 10px;font-size:10px;font-weight:800;display:inline-flex}.unit-node-image-incomplete>button svg{width:12px}.unit-generated-illustration-wrap{background:#fff;border:1px solid #d9cae9;border-radius:16px;width:calc(100% + clamp(12px,2vw,24px));margin:18px calc(-1*clamp(6px,1vw,12px)) 0;position:relative;overflow:hidden}.unit-generated-illustration-wrap>span{z-index:1;color:var(--brand-strong);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffe0;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:850;position:absolute;top:14px;left:14px}.unit-visual-guide-label{border-left:3px solid var(--brand);background:var(--brand-soft);color:var(--brand-strong);border-radius:0 9px 9px 0;margin-top:14px;padding:9px 12px;font-size:11px;font-weight:750}.unit-visual-generating svg{width:16px;color:var(--brand)}.unit-visual-nodes{gap:10px;max-width:820px;margin:20px auto 0;display:grid}.unit-visual-node-wrap{gap:10px;min-width:0;display:grid}.unit-visual-node{background:#ffffffe0;border:1px solid #704e9729;border-radius:18px;min-width:0;padding:clamp(18px,3vw,26px);box-shadow:0 8px 22px #4f336f12}.unit-node-image-wrap{background:#fff;border:1px solid #704e9729;border-radius:18px;margin:calc(-1*clamp(18px,3vw,26px)) calc(-1*clamp(18px,3vw,26px)) 18px;overflow:hidden}.unit-node-image-title{color:#fff;text-align:center;background:linear-gradient(135deg,#8164b5,#65509b);padding:13px 18px;font-size:clamp(16px,2.4vw,20px);font-weight:850;line-height:1.45}.unit-node-image-title>span{vertical-align:2px;background:#fff3;border-radius:999px;margin-right:8px;padding:4px 7px;font-size:9px;display:inline-block}.unit-node-image-wrap img{aspect-ratio:3/2;object-fit:contain;background:#fff;width:100%;display:block}.unit-node-image-caption{background:linear-gradient(145deg,#fff,#f8f3fc);border-top:1px solid #704e9729;padding:16px 18px}.unit-node-image-caption p{color:var(--text);margin:0;font-size:clamp(14px,2vw,16px);font-weight:650;line-height:1.8}.unit-node-image-caption small{color:var(--tertiary);margin-top:8px;font-size:11px;display:block}.unit-node-image-fallback b{font-size:clamp(16px,2.4vw,20px)}.unit-node-image-fallback p{font-size:clamp(13px,2vw,15px);line-height:1.85}.unit-visual-node b{color:var(--brand-strong);font-size:clamp(16px,2.4vw,20px);line-height:1.5;display:block}.unit-visual-step{background:var(--brand-soft);width:fit-content;color:var(--brand);letter-spacing:.04em;border-radius:999px;margin-bottom:8px;padding:5px 9px;font-size:11px;font-weight:850;display:block}.unit-visual-node p{color:var(--secondary);margin:10px 0;font-size:clamp(13px,2vw,15px);line-height:1.85}.unit-visual-node small{color:var(--tertiary);font-size:11px}.unit-visual-disclaimer{color:var(--tertiary);margin-top:12px;font-size:9px;display:block}@media (width<=700px){.unit-visual{border-radius:16px;margin-left:-10px;margin-right:-10px;padding:16px 12px}.unit-generated-illustration-wrap{border-left:0;border-right:0;border-radius:0;width:calc(100% + 24px);margin-left:-12px;margin-right:-12px}}.unit-loop-check{background:linear-gradient(145deg,#f7f0fb,#fff);border:1px solid #d9cae9;border-radius:16px;margin-top:20px;overflow:hidden}.unit-loop-check>summary{color:var(--brand-strong);cursor:pointer;background:linear-gradient(135deg,#eee1f8,#fff8fc);justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;font-size:14px;font-weight:850;list-style:none;display:flex}.unit-loop-check>summary::-webkit-details-marker{display:none}.unit-loop-check>summary>span:after{content:"▼";margin-left:9px;font-size:10px}.unit-loop-check>summary small{color:var(--tertiary);font-size:10px}.unit-challenge-label-open,.unit-loop-check[open] .unit-challenge-label-closed{display:none}.unit-loop-check[open] .unit-challenge-label-open{display:inline}.unit-loop-check[open]>summary{border-bottom:1px solid #d9cae9}.unit-loop-check[open]>summary>span:after{content:"▲"}.unit-loop-check-content{padding:18px}.unit-cloze-exercise{background:linear-gradient(145deg,#fffdf8,#faf5ff);border:1px solid #d9cae9;border-radius:18px;margin-top:20px;padding:clamp(16px,3vw,22px);box-shadow:0 10px 28px #5a3e7812}.unit-cloze-heading{align-items:flex-start;gap:12px;display:flex}.unit-cloze-heading>span{background:var(--brand);color:#fff;white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:850}.unit-cloze-heading h4,.unit-cloze-heading p{margin:0}.unit-cloze-heading h4{font-size:17px}.unit-cloze-heading p{color:var(--secondary);margin-top:4px;font-size:11px}.unit-cloze-passage{background:#fff;border-radius:13px;margin-top:15px;padding:15px}.unit-cloze-word-bank{background:#faf7ff;border:1px solid #dfd4eb;border-radius:14px;margin:14px 0;padding:12px}.unit-cloze-word-bank>legend{color:var(--brand);font-size:11px;display:block}.unit-cloze-word-bank>div{flex-wrap:wrap;gap:7px;margin-top:8px;display:flex}.unit-cloze-word-bank button{color:var(--text);cursor:grab;background:#fff;border:1px solid #ded2e8;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700;transition:all .15s}.unit-cloze-word-bank button:hover,.unit-cloze-word-bank button.selected{border-color:var(--brand);color:var(--brand);transform:translateY(-1px);box-shadow:0 3px 10px #5a3e781f}.unit-cloze-word-bank button.used{opacity:.45}.unit-cloze-word-bank>small{color:var(--secondary);margin-top:9px;font-size:9px;display:block}.unit-cloze-passage p{margin:0;font-size:13px;line-height:1.9}.unit-cloze-passage p+p{margin-top:7px}.unit-cloze-drop{min-width:76px;min-height:32px;color:var(--brand);font:inherit;vertical-align:middle;background:#faf7ff;border:1.5px dashed #bba4cf;border-radius:9px;margin:0 4px;padding:3px 10px;font-weight:800;transition:all .15s}.unit-cloze-drop.ready{border-color:var(--brand);background:#f1e8fa;box-shadow:0 0 0 3px #7c589a1a}.unit-cloze-drop.filled{color:#4d6f62;background:#eef8f2;border-style:solid}.unit-cloze-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.unit-cloze-inputs label{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-width:0;display:grid}.unit-cloze-inputs label b{color:var(--brand);font-size:11px}.unit-cloze-inputs input,.unit-cloze-inputs select{border:1px solid var(--border);background:#fff;border-radius:10px;outline:0;min-width:0;height:42px;padding:0 10px}.unit-cloze-inputs input:focus,.unit-cloze-inputs select:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.unit-cloze-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.unit-cloze-actions button{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:10px;min-height:40px;padding:0 13px;font-size:11px;font-weight:750}.unit-cloze-actions .grade-action{border-color:var(--brand);background:var(--brand);color:#fff}.unit-cloze-actions button:disabled{opacity:.45;cursor:default}.unit-cloze-answer,.unit-cloze-score{background:var(--mint-soft);border-radius:11px;margin:12px 0 0;padding:12px;font-size:12px;line-height:1.75}.unit-cloze-answer p{margin:4px 0 0}@media (width<=600px){.unit-cloze-inputs{grid-template-columns:1fr}}.unit-loop-check-content>h4{margin:0;font-size:17px}.unit-loop-check-content>p{color:var(--secondary);margin:6px 0 0;font-size:11px}.generated-section-heading b{color:var(--brand);font-size:12px}.generated-section-heading h3,.generated-check h3{margin:0;font-size:20px}.generated-point-list{gap:10px;margin-top:16px;display:grid}.generated-point-details{border:1px solid var(--border);background:#fcfafd;border-radius:14px;margin-top:16px}.generated-point-details>summary{color:var(--brand-strong);text-align:center;cursor:pointer;padding:14px 16px;font-size:12px;font-weight:800;list-style-position:inside}.generated-point-details[open]>summary{border-bottom:1px solid var(--border)}.generated-point-details .generated-point-list{margin:0;padding:12px}.generated-point-list article{background:var(--subtle);border-radius:14px;padding:15px;scroll-margin-top:90px}.generated-point-list h4,.generated-point-list p{margin:0}.generated-point-list small{color:var(--tertiary);font-size:10px}.generated-point-list p{margin-top:8px;font-size:13px;line-height:1.75}.generated-check h3{margin:5px 0 16px}.story-step-list{gap:10px;display:grid}.story-step-list article{background:linear-gradient(135deg,#fdfaff,#fff);border:1px solid #e4d9ee;border-radius:13px;grid-template-columns:26px minmax(0,1fr);align-items:start;gap:10px;padding:13px 14px;display:grid}.story-step-list article>b{background:var(--brand-soft);width:24px;height:24px;color:var(--brand-strong);border-radius:50%;place-items:center;font-size:11px;display:grid}.story-step-list p{color:var(--secondary);margin:0;font-size:13px;line-height:1.9}.generated-check .story-step-list+.guide-chat-callout{margin-top:16px}.generated-check details{border-top:1px solid var(--border);padding:14px 0}.generated-check summary{cursor:pointer;gap:10px;font-size:13px;line-height:1.6;display:flex}.generated-check summary b{color:var(--brand)}.generated-check details p{color:var(--secondary);margin:12px 0 0 34px;font-size:13px;line-height:1.75}.guide-chat-callout{background:var(--brand-soft);width:100%;color:var(--brand-strong);text-align:left;cursor:pointer;border:0;border-radius:14px;align-items:center;gap:12px;margin:0 0 14px;padding:14px;display:flex}.guide-chat-callout>svg{flex:none}.guide-chat-callout span,.guide-chat-callout b,.guide-chat-callout small{display:block}.guide-chat-callout small{color:var(--secondary);margin-top:3px;font-size:10px}.guide-question-card{border-top:1px solid var(--border);padding:18px 0}.guide-question-title{gap:10px;display:flex}.guide-question-title b{color:var(--brand);font-size:13px}.guide-question-title p{margin:0;font-size:14px;font-weight:650;line-height:1.65}.guide-question-card textarea{border:1px solid var(--border);resize:vertical;border-radius:12px;outline:0;width:100%;min-height:110px;margin-top:12px;padding:13px;line-height:1.7}.guide-short-answer{border:1px solid var(--border);border-radius:12px;outline:0;width:100%;min-height:48px;margin-top:12px;padding:0 13px}.guide-short-answer:focus,.guide-question-card textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.guide-question-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:8px;display:flex}.guide-question-actions>a{border:1px solid var(--border);min-height:40px;color:var(--brand);background:#fff;border-radius:10px;align-items:center;gap:6px;padding:0 12px;font-size:10px;font-weight:800;display:inline-flex}.guide-question-actions>a:hover{background:var(--brand-soft);border-color:#bba8d4}.guide-question-actions>a svg{width:15px;height:15px}.guide-question-actions button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:10px;align-items:center;gap:6px;min-height:40px;padding:0 12px;font-size:11px;font-weight:700;display:inline-flex}.guide-question-actions .grade-action{border-color:var(--brand);background:var(--brand);color:#fff}.guide-question-actions button:disabled{opacity:.45;cursor:default}.guide-grade-result{background:var(--mint-soft);border-radius:12px;margin-top:12px;padding:14px}.guide-grade-result b{color:var(--brand-strong);font-size:12px}.guide-grade-result p,.guide-grade-result ul{margin:6px 0 0;font-size:12px;line-height:1.7}.guide-question-card>details{border:0;padding:10px 0 0}.guide-question-card>details summary{color:var(--secondary);font-size:11px;font-weight:650}.guide-question-card>details p{background:var(--subtle);border-radius:10px;margin-left:0;padding:12px}.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-card-shell{min-width:0;position:relative}.material-delete-button{width:34px;height:34px;color:var(--tertiary);cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;display:grid;position:absolute;top:10px;right:10px}.material-delete-button:hover:not(:disabled){color:var(--danger);background:#fff0f3}.material-delete-button:disabled{opacity:.35;cursor:not-allowed}.material-delete-button svg{width:17px;height:17px}.material-card-body{padding-right:34px}.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}.material-list-progress{margin-top:9px}.material-list-progress small,.material-list-progress em{color:var(--secondary);font-size:10px;font-style:normal;display:block}.material-list-progress>span{background:var(--brand-soft);border-radius:999px;height:6px;margin:5px 0;display:block;overflow:hidden}.material-list-progress>span i{border-radius:inherit;background:linear-gradient(90deg,#a987c8,#d79bbb);height:100%;transition:width 1.2s;display:block}.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,.subject-choice input{border:1px solid var(--border);background:var(--surface);width:100%;height:46px;color:var(--text);border-radius:10px;padding:0 12px}.subject-choice input::placeholder{color:var(--muted)}.upload-submit{width:100%;margin-top:24px}.privacy-note{color:var(--secondary);text-align:center;margin:11px 0 0;font-size:11px}.auto-create-flow{border:1px solid var(--border);background:linear-gradient(145deg,#fff,#f7f1fb);border-radius:16px;margin-bottom:20px;padding:16px}.auto-create-flow>p{color:var(--brand);margin:0 0 12px;font-size:11px;font-weight:750}.auto-create-flow ol{gap:10px;margin:0;padding:0;list-style:none;display:grid}.auto-create-flow li{grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px;display:grid;position:relative}.auto-create-flow li:not(:last-child):after{content:"";background:var(--border);width:1px;position:absolute;top:28px;bottom:-10px;left:13px}.auto-create-flow li>span{background:var(--brand);color:#fff;border-radius:9px;place-items:center;width:28px;height:28px;font-size:10px;font-weight:750;display:grid}.auto-create-flow li>div{min-width:0}.auto-create-flow b,.auto-create-flow small{display:block}.auto-create-flow b{font-size:12px}.auto-create-flow small{color:var(--secondary);margin-top:2px;font-size:10px}.immersive .main-content,.study-page{min-height:100vh}.study-page{background:radial-gradient(circle at 12% 15%,#ebddfab8,#0000 25%),radial-gradient(circle at 88% 72%,#ffe1ed8c,#0000 24%),#faf8fc;flex-direction:column;display:flex}.study-header{border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffb8;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{background:#ffffffeb;border:1px solid #e4ddebeb;border-radius:28px;width:100%;max-width:700px;margin:auto;padding:30px clamp(20px,5vw,52px) 34px;box-shadow:0 24px 70px #48305e1f}.study-purpose{text-align:center;margin:0 auto 26px}.study-purpose>span{color:var(--brand);align-items:center;gap:6px;font-size:12px;font-weight:750;display:inline-flex}.study-purpose>p{color:var(--secondary);margin:8px 0 0;font-size:12px;line-height:1.6}.question-meta{color:var(--secondary);justify-content:center;gap:10px;margin-bottom:14px;font-size:11px;display:flex}.question-meta span{background:var(--subtle);border-radius:999px;padding:5px 9px}.question-meta .question-topic{background:var(--brand-soft);color:var(--brand-strong);font-weight:700}.question-meta span+span:before{content:none}.study-steps{color:var(--tertiary);justify-content:center;align-items:center;gap:8px;margin:0 auto 20px;font-size:10px;font-weight:650;display:flex}.study-steps span{align-items:center;gap:4px;display:inline-flex}.study-steps b{background:var(--subtle);border-radius:50%;place-items:center;width:18px;height:18px;font-size:9px;display:grid}.study-steps .active{color:var(--brand)}.study-steps .active b{background:var(--brand);color:#fff}.study-steps i{background:var(--border);width:12px;height:1px}.study-card-wrap>h1{text-align:center;letter-spacing:-.025em;max-width:700px;margin:0 auto 8px;font-size:clamp(22px,6vw,32px);line-height:1.55}.question-source{color:var(--tertiary);text-align:center;margin:0 auto 26px;font-size:10px}.reveal-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#8061b1,#674895);border:0;border-radius:14px;justify-content:center;align-items:center;width:100%;max-width:480px;min-height:52px;margin:0 auto;font-weight:650;display:flex;position:relative;box-shadow:0 10px 24px #69499b38}.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);background:#ffffffb8;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.answer-lead{margin:14px 0 0;font-size:16px;line-height:1.8}.answer-points{gap:9px;margin-top:14px;display:grid}.answer-points>div{background:#ffffffad;border:1px solid #7355a71a;border-radius:12px;grid-template-columns:26px minmax(0,1fr);align-items:start;gap:10px;padding:12px 13px;display:grid}.answer-points>div>span{background:var(--brand);color:#fff;border-radius:9px;place-items:center;width:26px;height:26px;font-size:11px;font-weight:750;display:grid}.answer-points p{margin:1px 0 0;font-size:14px;line-height:1.75}.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);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffb8;justify-content:center;align-items:center;gap:28px;display:flex}@media (width<=767px){.study-card-wrap{border-radius:22px;width:calc(100% - 24px);margin-block:18px;padding:24px 18px 28px}.study-purpose{margin-bottom:20px}.study-steps{gap:5px}.study-steps i{width:6px}}.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}.material-upgrade-note{color:var(--text);background:linear-gradient(135deg,#fff9fd,#f7f1fb);border:1px solid #eadcf4;border-radius:16px;align-items:flex-start;gap:12px;margin:0 0 18px;padding:14px 16px;display:flex}.material-upgrade-note>svg{width:20px;color:var(--brand)}.material-upgrade-note b,.material-upgrade-note p{margin:0;display:block}.material-upgrade-note p{color:var(--secondary);margin-top:3px;font-size:13px}.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;position:relative;overflow:hidden;box-shadow:0 12px 30px #44305612}.study-book-delete{z-index:2;width:34px;height:34px;color:var(--tertiary);cursor:pointer;background:#ffffffc2;border:0;border-radius:10px;place-items:center;display:grid;position:absolute;top:10px;right:10px}.study-book-delete:hover:not(:disabled){color:var(--danger);background:#fff0f3}.study-book-delete:disabled{opacity:.35;cursor:not-allowed}.study-book-delete svg{width:16px;height:16px}.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-progress{margin:12px 0 14px}.study-book-progress>div{justify-content:space-between;align-items:baseline;margin-bottom:6px;display:flex}.study-book-progress b{color:var(--brand);font-size:16px}.study-book-progress small{color:var(--secondary);font-size:9px}.study-book-progress>span{background:#e9e1f1;border-radius:999px;height:7px;display:block;overflow:hidden}.study-book-progress>span i{border-radius:inherit;background:linear-gradient(90deg, var(--brand), #b28ad3);height:100%;transition:width .5s;display:block}.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%}.viewer-header-actions{flex-wrap:wrap;gap:8px;width:100%;display:flex}.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}.material-map-list{gap:22px;display:grid}.material-map{border:1px solid var(--border);background:var(--surface);border-radius:20px;padding:16px}@supports (color:color-mix(in lab, red, red)){.material-map{background:color-mix(in srgb, var(--surface) 94%, var(--brand-soft))}}.material-map{box-shadow:0 10px 30px #47384d0f}.material-map-heading{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;display:grid}.material-map-heading>div:nth-child(2){min-width:0}.material-map-heading span{color:var(--brand);font-size:10px;font-weight:800}.material-map-heading h2{overflow-wrap:anywhere;margin:2px 0;font-size:16px}.material-map-heading p{color:var(--secondary);margin:0;font-size:11px}.material-map-heading>a{width:fit-content;color:var(--brand);grid-column:2;font-size:11px;font-weight:800}.material-map-icon{width:42px;height:42px;color:var(--brand);background:var(--brand-soft);border-radius:14px;place-items:center;display:grid}.material-map-icon svg{width:20px}.material-map-progress{background:var(--subtle);border-radius:999px;height:7px;margin:14px 0 16px 38px;overflow:hidden}.material-map-progress i{border-radius:inherit;background:linear-gradient(90deg, var(--brand), #b995d5);height:100%;display:block}.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-state-icon{width:34px;height:34px;color:var(--brand);background:var(--brand-soft);border-radius:12px;flex:none;place-items:center;display:grid}.unit-state-icon svg{width:17px}.unit-weak .unit-state-icon{color:var(--danger);background:#fff0ed}.unit-done .unit-state-icon{color:#52806d;background:#edf8f1}.unit-card-copy{flex:1;min-width:0}.unit-card>div:first-child{min-width:0}.unit-status{color:var(--secondary);font-size:10px}.unit-card h2,.unit-card h3{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)}.unit-map-actions{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.unit-map-actions a{color:#fff;background:var(--brand);border-radius:999px;align-items:center;gap:4px;padding:7px 10px;font-size:10px;font-weight:800;display:inline-flex}.unit-map-actions a.practice-link{color:var(--danger);background:#fff0ed}.unit-map-actions svg{width:12px}.map-empty{border:1px dashed var(--border);text-align:center;background:var(--surface);border-radius:20px;justify-items:center;padding:48px 20px;display:grid}.map-empty>svg{width:32px;color:var(--brand)}.map-empty h2{margin:12px 0 4px}.map-empty p{color:var(--secondary);margin:0 0 14px;font-size:12px}.map-empty a{color:var(--brand);font-weight:800}.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}.chat-prompt{top:auto;bottom:78px;right:24px}.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-header-actions{justify-content:flex-end;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}}
