.notice-banner{border:1px solid var(--border,#dbe3d4);background:var(--soft-blue,#edf2ff);color:var(--ink,#182c28);border-radius:11px;align-items:center;gap:10px;margin:0 0 16px;padding:10px 14px;font-size:13px;display:flex}.notice-banner>.icon{color:var(--blue,#2453e8);flex:none}.notice-banner-title{text-align:left;min-width:0;color:inherit;font:inherit;background:0 0;flex-wrap:wrap;flex:1;align-items:center;gap:12px;line-height:1.5;display:flex}.notice-banner-title span{color:var(--blue,#2453e8);font-size:12px}.notice-banner .icon-button{width:32px;height:32px;color:inherit;background:0 0;border:0;flex:none}.notice-dialog{z-index:var(--z-dialog,100);overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface,#fff);width:min(620px,100vw - 28px);max-height:80dvh;color:var(--ink,#182c28);box-shadow:var(--shadow-lg);border-radius:18px;padding:24px;position:fixed;top:50%;bottom:auto;left:50%;right:auto;overflow:auto;transform:translate(-50%,-50%)}.notice-dialog-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.notice-dialog-heading h2{margin:0;font-size:20px}.notice-dialog>p{color:var(--muted);font-size:13px}.notice-entry{border-top:1px solid var(--border);padding:12px 0}.notice-entry>button{width:100%;color:inherit;text-align:left;font:inherit;background:0 0;justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-size:15px;display:flex}.notice-entry small{color:var(--muted);font-size:11px}.notice-entry>button small{color:var(--blue);margin-left:10px;display:inline-block}.notice-body p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9}.notice-unread{color:var(--blue);margin-left:6px;font-size:12px}.home>.notice-banner{max-width:1180px;margin:12px auto 0}.notice-dialog .icon-button{width:40px;height:40px;color:inherit;background:0 0;border:0}@media (max-width:650px){.notice-banner{padding:8px 10px;font-size:12px}.notice-banner .icon-button{width:44px;height:44px}.notice-dialog{max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:18px}.home>.notice-banner{margin:10px 16px 0}.notice-banner-title{gap:4px 10px;min-height:44px}}.notice-overlay{z-index:var(--z-overlay,99);background:#0f172a66;position:fixed;top:0;bottom:0;left:0;right:0}.notice-entry>button{border:0;padding:8px 0}.notice-dialog .icon-button{flex:none;place-items:center;display:grid}.practice-focus-mode #notices-root{display:none}.dialogue-page{background:var(--surface);border:1px solid var(--border);border-radius:20px;max-width:920px;margin:0 auto;padding:28px}.dialogue-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.dialogue-heading h2{margin:10px 0 0}.dialogue-background{background:var(--surface-muted);overflow-wrap:anywhere;border-radius:14px;margin-bottom:20px;padding:18px}.dialogue-background h3,.dialogue-background p{margin:0 0 8px}.dialogue-mode-cards{grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:20px;display:grid}.dialogue-mode-cards button{text-align:left;background:var(--surface);border-radius:16px;flex-direction:column;align-items:flex-start;gap:14px;min-height:190px;padding:24px;display:flex}.dialogue-mode-cards button.selected{border-color:var(--blue);box-shadow:0 0 0 2px var(--blue)}.dialogue-mode-cards strong{font-size:1.1rem}.dialogue-mode-cards span{color:var(--muted);line-height:1.6}.dialogue-thread{flex-direction:column;gap:10px;max-height:60vh;margin:12px 0;padding:4px;display:flex;overflow-y:auto}.dialogue-message{box-sizing:border-box;background:var(--surface-muted);overflow-wrap:anywhere;border-radius:12px;flex-direction:column;align-items:flex-start;gap:6px;width:340px;max-width:78%;padding:8px 12px;font-size:.92rem;display:flex}.dialogue-message.from-user{border:1px solid var(--blue);align-self:flex-end}.dialogue-message small{color:var(--muted);font-size:.72rem}.dialogue-message audio{width:100%;min-width:0;height:32px}.dialogue-message p{margin:0}.dialogue-voice-row{align-self:stretch;align-items:center;gap:8px;display:flex}.dialogue-voice-row audio,.dialogue-voice-row .secondary{flex:1;min-width:0}.dialogue-text-toggle{width:28px;height:28px;color:var(--muted);flex-shrink:0}.dialogue-composer{border-top:1px solid var(--border);padding-top:12px}.dialogue-page>.dialogue-guided-toggle{color:var(--muted);align-items:center;gap:8px;margin-bottom:16px;font-size:.9rem;display:flex}.dialogue-guided-toggle input{margin:0}.dialogue-guided-toggle>span{font-size:24px}.dialogue-turn-row{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.dialogue-turn-row.user-row{align-items:flex-end}.dialogue-turn-feedback{border-top:1px solid var(--border);color:var(--muted);align-items:flex-start;gap:6px;width:100%;padding-top:7px;font-size:.78rem;line-height:1.6;display:flex}.dialogue-turn-feedback.good{color:var(--ink)}.dialogue-turn-feedback .friendly-emoji{flex-shrink:0}.dialogue-turn-feedback p+p{margin-top:5px}.dialogue-turn-suggestion{color:var(--ink)}.dialogue-turn-suggestion>span{color:var(--muted)}.dialogue-coach{align-items:flex-start;gap:9px;max-width:min(100%,450px);margin:4px 0 10px;display:flex}.dialogue-coach-person{flex-shrink:0;font-size:32px;line-height:1.3}.dialogue-coach-bubble{background:var(--surface-muted);border:1px solid var(--border);overflow-wrap:anywhere;border-radius:4px 14px 14px;padding:10px 13px;font-size:.82rem;line-height:1.7;position:relative}.dialogue-coach-bubble button{margin-top:4px;display:block}.dialogue-composer .dialogue-record{width:100%;min-height:48px}.dialogue-finish{margin-top:20px}.live-voice{background:var(--surface-muted);border-radius:18px;flex-direction:column;align-items:center;gap:20px;padding:30px;display:flex}.live-voice.speaking>.icon{color:var(--blue)}.live-voice audio{width:min(100%,420px)}.dialogue-score{background:var(--surface-muted);border-radius:14px;gap:12px;padding:20px;display:grid}.dialogue-score>strong{color:var(--blue);font-size:2rem}.dialogue-score .score-grid{grid-template-columns:repeat(10,1fr);gap:6px;display:grid}.dialogue-score .score-grid button{min-width:0;padding:10px 0}.dialogue-score button.selected{background:var(--blue);color:#fff}.dialogue-review-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.dialogue-review-grid article{background:var(--surface-muted);border-radius:12px;padding:16px}.dialogue-review-grid h4{margin:0}.dialogue-correction{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:14px;margin:16px 0;padding:18px}.dialogue-save-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.dialogue-page>label{gap:8px;display:grid}.dialogue-page select{width:100%}@media (max-width:600px){.dialogue-page{padding:16px}.dialogue-heading{flex-wrap:wrap}.dialogue-mode-cards,.dialogue-review-grid{grid-template-columns:1fr}.dialogue-mode-cards button{min-height:140px;padding:18px}.dialogue-score .score-grid{grid-template-columns:repeat(5,1fr)}.dialogue-message{max-width:92%}.live-voice{padding:20px 12px}}.dialogue-page.dialogue-embedded{background:0 0;border:0;border-radius:0;max-width:none;margin:20px 0 0;padding:0}.conversation-history{margin-bottom:1rem}.conversation-history>button{text-align:start;display:block}.conversation-history-dialog{z-index:1001;background:var(--surface,white);width:min(760px,100vw - 24px);max-height:90dvh;color:var(--text,#172440);border-radius:20px;padding:24px;position:fixed;top:5vh;bottom:auto;left:50%;right:auto;overflow-y:auto;transform:translate(-50%);box-shadow:0 16px 64px #0003}.conversation-history-dialog audio{max-width:100%}.dialogue-page progress{width:100%}.conversation-history-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17244066;position:fixed;top:0;bottom:0;left:0;right:0}#dialogue-rail-root:empty{display:none}.study-layout:has(.dialogue-page)>*{min-width:0;max-width:100%}.dialogue-material-body form{min-width:0}.dialogue-materials{border:1px solid var(--border);background:var(--surface);border-radius:18px;min-width:0;margin-bottom:20px;padding:14px}.dialogue-material-tabs{background:var(--surface-muted);border-radius:12px;gap:4px;padding:4px;display:flex}.dialogue-material-tabs button{color:var(--text);background:0 0;border-radius:8px;flex:1;padding:9px 4px;font-size:.83rem}.dialogue-material-tabs button[aria-pressed=true]{background:var(--surface);color:var(--blue);box-shadow:0 1px 4px #0001}.dialogue-material-body{gap:12px;max-height:720px;padding-top:14px;font-size:.85rem;display:grid;overflow:auto}.dialogue-material-body textarea{border:1px solid var(--border);background:var(--surface-muted);width:100%;color:var(--text);border-radius:10px;padding:10px;font-size:.85rem}.dialogue-material-body form{gap:9px;display:grid}.dialogue-material-body article{border-top:1px solid var(--border);overflow-wrap:anywhere;padding:10px 0}.dialogue-material-body p{white-space:pre-wrap;margin:6px 0;line-height:1.6}.dialogue-material-body button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;padding:7px 9px;font-size:.8rem}.dialogue-material-actions{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}@media (min-width:1181px){.study-layout:has(.dialogue-page){grid-template-columns:minmax(0,1fr) 320px}}@media (max-width:960px){.study-rail:has(.dialogue-materials){flex-direction:column;display:flex}.dialogue-material-body{max-height:500px}}.dialogue-material-actions .dialogue-material-add{width:34px;height:34px;color:var(--blue);flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;padding:7px;display:inline-flex}.dialogue-material-overlay{z-index:calc(var(--z-dialog) + 1)}.dialogue-material-dialog{z-index:calc(var(--z-dialog) + 2);border:1px solid var(--border);border-radius:var(--r-xl);background:var(--surface);width:min(480px,100vw - 32px);max-height:85dvh;color:var(--ink);box-shadow:var(--shadow-lg);outline:none;padding:24px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}.dialogue-material-dialog .dialog-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.dialogue-material-dialog h2{margin:0;font-size:20px}.dialogue-material-dialog>.muted{font-size:13px}.dialogue-material-dialog form,.dialogue-material-dialog label{gap:10px;display:grid}.dialogue-material-dialog form{gap:18px;margin-top:20px}.dialogue-material-dialog label{font-size:14px}.dialogue-material-dialog textarea{resize:vertical;border:1px solid var(--border);background:var(--surface-muted);width:100%;min-height:100px;color:var(--ink);border-radius:10px;padding:12px}.dialogue-material-dialog form>button{background:var(--blue);color:#fff;border-radius:10px;justify-self:end;padding:10px 18px}.dialogue-material-dialog [role=alert]{color:var(--danger)}:root .mobile-study-toggle,:root .mobile-question-toggle{display:none}@media (max-width:900px){:root .exam-navigation{grid-row:1;padding:14px 16px;position:static}:root .exam-navigation-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}:root .exam-navigation-heading h2{font-size:15px}:root .mobile-question-toggle{min-height:44px;color:var(--blue);background:var(--soft-blue);font:inherit;border-radius:9px;align-items:center;gap:6px;padding:8px;font-size:13px;display:inline-flex}:root .exam-navigation .exam-nav-legend{display:none}:root .exam-navigation[data-mobile-open=true] .exam-nav-legend{display:flex}:root .exam-navigation .exam-navigation-groups{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:36dvh;padding:5px;display:none;overflow:auto}:root .exam-navigation[data-mobile-open=true] .exam-navigation-groups{display:block}:root .exam-navigation .exam-navigation-groups>section{min-width:0;max-width:none;margin:0 0 16px;display:block}:root .exam-navigation .exam-number-grid{grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:8px}:root .exam-navigation .exam-number-grid button{height:44px}:root .exam-navigation>.exam-muted{margin:6px 0 10px;font-size:12px}:root .exam-navigation>.ui-button{min-height:44px}}@media (max-width:650px){html:root{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(118px + env(safe-area-inset-top))}:root input:not([type=checkbox]):not([type=radio]):not([type=range]),:root select,:root textarea{font-size:16px}:root .ui-button,:root .segmented button,:root select,:root .score-button{min-height:44px}:root .workspace input:not([type=checkbox]):not([type=radio]):not([type=range]),:root .workspace textarea,:root .workspace select,:root [role=dialog] textarea,:root [role=dialog] input:not([type=checkbox]):not([type=radio]):not([type=range]),:root [role=dialog] select{font-size:16px}:root .practice-focus-mode .workspace{padding:0 max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left))}:root .icon-button,:root .practice-card-actions .icon-button{min-width:44px;min-height:44px}:root .sidebar,:root .sidebar-collapsed .sidebar{z-index:35;width:100%;height:auto;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));border:0;border-bottom:1px solid var(--border);background:var(--surface);grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;display:grid;position:sticky;top:0;bottom:auto;left:auto;right:auto;overflow:visible}:root .sidebar .brand,:root .sidebar-collapsed .sidebar .brand{justify-content:flex-start;align-items:center;gap:7px;min-width:0;padding:0;font-size:18px;display:flex}:root .sidebar .brand-mark{flex:none;width:30px;height:30px;padding-bottom:3px;font-size:23px}:root .sidebar .brand-space-name,:root .sidebar-collapsed .sidebar .brand>span:last-child{white-space:nowrap;font-size:17px;line-height:1.3;display:block}:root .sidebar .brand-sub,:root .sidebar .sidebar-toggle,:root .sidebar .side-label{display:none}:root .mobile-study-toggle{min-height:44px;color:var(--blue);background:var(--soft-blue);border-radius:10px;align-items:center;gap:6px;padding:8px;font-size:12px;display:flex}:root .mobile-study-toggle strong{font-variant-numeric:tabular-nums;margin-left:4px;font-weight:600}:root .sidebar nav,:root .sidebar-collapsed .sidebar nav{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-width:0;margin:0;display:grid}:root .sidebar .nav-item,:root .sidebar-collapsed .sidebar .nav-item{border-radius:9px;flex-direction:column;justify-content:center;gap:3px;width:100%;min-width:0;min-height:48px;margin:0;padding:5px 2px;display:flex}:root .sidebar nav .nav-label,:root .sidebar-collapsed .sidebar .nav-label{white-space:normal;text-align:center;font-size:11px;line-height:1.25;display:block}:root .sidebar .nav-icon{justify-content:center;align-items:center;display:flex}:root .sidebar .nav-icon .icon{width:18px;height:18px}:root .sidebar .side-bottom,:root .sidebar-collapsed .sidebar .side-bottom{display:none}:root .sidebar[data-mobile-open=true] .side-bottom{overscroll-behavior:contain;max-height:60dvh;padding:12px max(14px,env(safe-area-inset-right)) 16px max(14px,env(safe-area-inset-left));background:var(--surface);border-bottom:1px solid var(--border);margin:0;display:block;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 12px 24px #14244a18}:root .sidebar .daily-card{border-radius:12px;margin:0 0 12px;padding:14px}:root .sidebar .daily-card .progress-number{gap:6px;margin-top:8px}:root .sidebar .daily-card .mini-stats{grid-template-columns:1fr 1fr;gap:12px;margin-top:10px;padding-top:10px;display:grid}:root .sidebar .daily-card .mini-stats b,:root .sidebar .daily-card .mini-stats #learned-count{white-space:nowrap;font-size:16px}:root .sidebar .daily-streak{margin-top:10px;padding-top:8px;font-size:12px}:root .sidebar .recent-practice-topic,:root .sidebar .recent-practice-heading,:root .sidebar .recent-practice-more{min-height:44px}:root .workspace,:root .sidebar-collapsed .workspace{width:100%;min-width:0;padding:18px max(12px,env(safe-area-inset-right)) calc(30px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));margin-left:0}:root .workspace>header{flex-wrap:wrap;gap:10px;margin-bottom:16px}:root .workspace #page-title{margin-top:4px;font-size:21px;line-height:1.4}:root .workspace .header-actions{gap:8px;margin-left:auto}:root .study-layout{min-width:0;display:block}:root .study-main,:root .study-rail,:root .exercise{min-width:0}:root .study-rail{grid-template-columns:1fr;gap:12px;margin-top:18px;display:grid}:root .study-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:14px}:root .study-toolbar .segmented{width:100%;display:flex}:root .study-toolbar .segmented button{flex:1;padding:8px}:root .practice-toolbar-filters{gap:8px;width:100%;min-width:0;margin-left:0;display:flex}:root .practice-toolbar-filters #scope{flex:1;min-width:0;max-width:none}:root .practice-toolbar-filters .ui-button{flex-shrink:0}:root .workspace .exercise{scroll-margin-top:calc(118px + env(safe-area-inset-top));border-radius:14px;padding:18px 14px}:root .card-top{flex-wrap:wrap;gap:8px}:root .card-top #card-group{overflow-wrap:anywhere;min-width:0;max-width:100%}:root .practice-card-actions{flex-wrap:wrap;margin-left:auto}:root .exercise h2#prompt{overflow-wrap:anywhere;min-height:0;margin:10px 0 20px;font-size:22px;line-height:1.6}:root .exercise .prompt-label{margin-top:20px}:root .exercise textarea{width:100%;min-height:116px}:root .input-footer{flex-wrap:wrap;gap:8px}:root .exercise .action-row,:root .exercise .save-row{z-index:4;background:var(--surface);border-top:1px solid var(--border);padding:10px 14px max(10px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:8px;margin:18px -14px -18px;position:sticky;bottom:0}:root .exercise:has(textarea:focus) .action-row{position:static}:root .exercise:has(textarea:focus) .save-row{position:static}:root .exercise .action-row .primary,:root .exercise .save-row .primary{flex:100%;justify-content:center;width:100%;min-height:48px}:root .exercise .action-row .subtle{text-align:center;flex:1;justify-content:center;align-items:center;min-height:44px;display:inline-flex}:root .score-buttons{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}:root .score-key{flex-wrap:wrap;gap:5px;font-size:11px}:root .handout-card{min-width:0;height:auto}:root .handout-card .library-bottom{flex-wrap:wrap;gap:8px}:root .bubble-widget{right:max(10px,env(safe-area-inset-right));bottom:max(86px,calc(env(safe-area-inset-bottom) + 76px))}:root .bubble-launch{width:52px;height:52px}:root .toast{max-width:calc(100vw - 24px);bottom:max(16px,env(safe-area-inset-bottom))}:root .auth-dialog,:root .settings-dialog,:root .dialogue-material-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto}:root .profile-panel{max-width:calc(100vw - 24px);max-height:75dvh;overflow:auto}:root .exam-header{z-index:35;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));background:var(--surface);grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;display:grid;position:sticky;top:0}:root .exam-brand{gap:8px;min-width:0}:root .exam-brand strong{white-space:nowrap;font-size:18px}:root .exam-brand .brand-mark{flex:none;width:30px;height:30px;padding-bottom:3px;font-size:23px}:root .exam-picker-trigger{grid-area:2/1;justify-self:start;max-width:100%;min-height:36px;padding:6px;font-size:12px}:root .exam-header-actions{grid-area:1/2/3;gap:6px;min-width:0}:root .exam-header-actions .ui-button{gap:4px;min-height:44px;padding:8px;font-size:12px}:root .exam-main{padding:18px max(12px,env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}:root .exam-intro h1{font-size:24px;line-height:1.4}:root .exam-intro{margin-bottom:18px}:root .exam-modes{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:18px}:root .exam-mode{text-align:center;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:13px 5px;display:flex}:root .exam-mode>.icon{grid-row:1/3}:root .exam-mode strong{white-space:nowrap;font-size:14px}:root .exam-mode>span{display:none}:root .exam-setup,:root .exam-question,:root .exam-result{border-radius:14px;min-width:0;padding:18px 14px}:root .exam-section-tabs,:root .exam-levels{flex-wrap:nowrap;gap:8px;margin:16px 0;padding:3px 0 6px;overflow-x:auto}:root .exam-section-tabs>*,:root .exam-levels>*{flex:none}:root .exam-paper-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px;max-height:40dvh}:root .exam-paper-grid button{min-height:64px;padding:12px}:root .exam-start{z-index:4;background:var(--surface);padding:10px 14px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--border);margin:16px -14px -18px;position:sticky;bottom:0}:root .exam-start>.ui-button{width:100%;min-height:48px}:root .exam-session-heading{flex-wrap:wrap;gap:8px;margin-bottom:14px}:root .exam-session-heading h1{font-size:19px;line-height:1.4}:root .exam-time{padding:8px 12px;font-size:14px}:root .exam-session-layout{gap:12px}:root .exam-question{scroll-margin-top:calc(110px + env(safe-area-inset-top))}:root .exam-question-label{gap:8px;margin-bottom:16px;font-size:12px}:root .exam-content-tools{justify-content:flex-start;gap:8px}:root .exam-content-tools .ui-button,:root .exam-ai-choice{min-height:44px}:root .exam-selectable .selectable-passage{overflow-wrap:anywhere;font-size:16px}:root .exam-options{gap:10px;margin:20px 0}:root .exam-option{gap:10px;min-height:56px;padding:12px}:root .exam-question-actions{z-index:4;background:var(--surface);padding:10px 14px max(10px,env(safe-area-inset-bottom));grid-template-columns:auto minmax(0,1fr) auto;gap:8px;margin:18px -14px -18px;position:sticky;bottom:0}:root .exam-question-actions>.ui-button{gap:4px;min-height:48px;padding:8px;font-size:12px}:root .exam-answer-switch{flex-direction:column;gap:4px;min-height:48px;font-size:11px}:root .exam-review{padding:12px}:root .exam-error{flex-wrap:wrap;gap:8px;padding:12px}:root .home{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}:root .home-wrap{width:auto;margin-left:max(16px,env(safe-area-inset-left));margin-right:max(16px,env(safe-area-inset-right))}:root .home-nav{gap:8px}:root .home-nav-actions{gap:6px;min-width:0}:root .home-nav-space{padding:9px 7px;font-size:12px}:root .home-nav .home-language{padding:6px}html:root:has(.sidebar){scroll-padding-top:calc(66px + env(safe-area-inset-top));--phone-nav-height:calc(65px + env(safe-area-inset-bottom));--phone-action-height:0px}:root .sidebar nav,:root .sidebar-collapsed .sidebar nav{z-index:36;box-sizing:border-box;min-height:calc(65px + env(safe-area-inset-bottom));padding:6px max(10px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:var(--surface);border-top:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -6px 18px #14244a10}:root .sidebar .nav-item,:root .sidebar-collapsed .sidebar .nav-item{border-radius:10px;min-height:52px}:root .workspace,:root .sidebar-collapsed .workspace{padding-bottom:calc(108px + env(safe-area-inset-bottom))}:root .workspace>header .eyebrow{display:none}:root .workspace #page-title{margin-top:0;font-size:18px}:root .workspace>header{margin-bottom:10px}:root .study-toolbar{flex-wrap:wrap;align-items:stretch;gap:8px}:root .study-toolbar .segmented{flex:150px;width:auto}:root .study-toolbar .segmented button{padding:8px 6px;font-size:13px}:root .practice-toolbar-filters{flex:150px;width:auto}:root .practice-focus-entry{margin-bottom:6px}:root .practice-focus-entry button{min-height:44px;font-size:13px}:root .workspace .exercise{scroll-margin-top:calc(66px + env(safe-area-inset-top))}:root .card-top #card-group{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}:root .exercise .action-row,:root .exercise .save-row{bottom:var(--phone-nav-height)}:root .practice-focus-mode .exercise .action-row,:root .practice-focus-mode .exercise .save-row{bottom:0}:root .score-button{min-height:44px}:root body:has(.sidebar):not(.practice-focus-mode) .bubble-widget{bottom:calc(var(--phone-nav-height) + var(--phone-action-height) + 12px)}:root body:has(.sidebar):not(.practice-focus-mode) .toast-region{bottom:calc(var(--phone-nav-height) + var(--phone-action-height) + 76px)}:root .study-footnote{display:none}:root .history-card,:root .notes-card,:root .week-card{padding:14px}:root .history-caption,:root .history-card-label{display:none}:root .history-list{max-height:240px}:root .notes-card textarea{min-height:88px}:root .week-chart{height:72px;margin-top:12px}:root .study-rail{gap:10px;margin-top:14px}:root .history-card>.hint-content.concealed,:root .notes-card>.hint-content.concealed{display:none}:root .sidebar[data-mobile-open=true] .side-bottom{max-height:46dvh;padding:10px max(14px,env(safe-area-inset-right)) 12px max(14px,env(safe-area-inset-left))}:root .sidebar .daily-card{padding:12px}:root .sidebar .daily-card .progress-number{margin-top:6px}:root .sidebar .daily-card .progress-number strong{font-size:24px}:root .sidebar .daily-card .mini-stats,:root .sidebar .recent-practice{display:none}:root .sidebar .daily-streak{margin-top:8px;padding-top:8px}:root .segmented button{min-height:40px}:root .score-button{min-height:40px;font-size:15px}:root .score-title{margin-top:16px;font-size:14px}:root .practice-toolbar-filters .ui-button{min-height:40px;padding:7px 10px;font-size:13px}:root .study-toolbar .segmented button{padding:7px 8px}:root .reading-tools .reading-tool{min-height:40px;padding:6px 8px}:root .library-card.handout-card{height:auto;min-height:0;padding:12px}:root .handout-card .handout-description:has(button)>.note{display:none}:root .handout-card .library-bottom button{min-height:40px}:root .library-toolbar{flex-wrap:wrap;gap:8px}:root .library-category-tree{top:calc(60px + env(safe-area-inset-top));z-index:5;border-radius:12px;max-height:148px;padding:10px 12px;position:sticky}:root .library-category-tree button{min-height:40px}:root .library-question-list{gap:8px}:root .library-question-list .library-card{padding:12px}:root .library-question-list .library-card h3{margin:6px 0;font-size:15px;line-height:1.55}:root .library-practice-meta{gap:8px;margin:6px 0;font-size:12px}:root .library-question-list .library-bottom{margin-top:8px}:root .library-question-list .library-bottom button{min-height:40px}:root .library-expression-drawer{width:100%;max-height:86dvh;padding:18px 16px calc(18px + env(safe-area-inset-bottom));border-left:0;border-top:1px solid var(--border);border-radius:18px 18px 0 0;top:auto;bottom:0;left:0;right:0;box-shadow:0 -12px 40px #14244a22}:root .library-expression-drawer section{margin:16px 0;padding-top:12px}}@media (max-width:900px){:root .sidebar .nav-item.active:before{display:none}}:root .practice-toolbar-row{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}:root .practice-toolbar-row .study-toolbar{flex:1;justify-content:flex-start;min-width:0;margin-bottom:0}:root .practice-toolbar-row .practice-toolbar-filters{margin-left:0}:root .practice-toolbar-row .practice-focus-entry{flex:none;margin-bottom:0}:root .practice-toolbar-row .practice-focus-entry button{white-space:nowrap;min-height:44px}:root .practice-focus-mode .practice-toolbar-row{display:contents}:root .learning-space-switch{display:none}:root .learning-space-trigger{color:var(--ink);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;min-height:44px;padding:0;display:flex}:root .learning-space-trigger strong{white-space:nowrap;font-size:16px}:root .learning-space-trigger .brand-mark{border-radius:10px;width:30px;height:30px;font-size:24px}:root .learning-space-options{gap:12px;margin:20px 0;display:grid}:root .learning-space-options a{border:1px solid var(--border);color:var(--ink);background:var(--bg);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:18px;text-decoration:none;display:flex}:root .learning-space-options a[aria-current=page]{border-color:var(--blue)}:root .learning-space-options strong,:root .learning-space-options small{display:block}:root .learning-space-options small{color:var(--muted);margin-top:6px;font-size:13px}:root .profile-identity{border-bottom:1px solid var(--border);overflow-wrap:anywhere;gap:6px;margin-bottom:18px;padding:0 0 18px;display:grid}:root .profile-identity small{color:var(--muted)}:root .phone-profile-content{padding-top:16px}:root .phone-profile-content #profile-actions{margin-top:18px;display:grid}:root .phone-profile-content #profile-actions button{text-align:left;align-items:center;gap:12px;min-height:48px;display:flex}:root .phone-account-slot,:root .exam-phone-narration{display:none}:root .phone-sheet-overlay{z-index:1100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a66;position:fixed;top:0;bottom:0;left:0;right:0}:root .phone-sheet{z-index:1101;box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);max-height:85dvh;color:var(--ink);padding:20px 18px max(20px,env(safe-area-inset-bottom));border-radius:20px 20px 0 0;outline:none;position:fixed;top:auto;bottom:0;left:0;right:0;overflow:auto;box-shadow:0 -12px 40px #14244a22}:root .phone-sheet-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}:root .phone-sheet-heading h2{margin:0;font-size:19px}:root .phone-sheet-heading .ui-button{min-width:44px;min-height:44px}:root .phone-sheet>p{color:var(--muted);font-size:14px;line-height:1.7}:root .phone-sheet>.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:root .phone-sheet .library-category-tree{background:0 0;border:0;max-height:none;padding:0;position:static;overflow:visible}:root .phone-sheet .library-category-tree button,:root .phone-sheet .library-category-tree select{min-height:44px;font-size:16px}:root .phone-form-fields{gap:20px;margin:24px 0;display:grid}:root .phone-form-fields label{color:var(--muted);gap:8px;font-size:14px;display:grid}:root .phone-form-fields select{border:1px solid var(--border);background:var(--bg);width:100%;min-height:48px;color:var(--ink);border-radius:10px;padding:10px;font-size:16px}:root .phone-sheet-done{width:100%;min-height:48px}:root .growth-explanation{color:var(--muted);margin:20px 0;font-size:14px;line-height:1.8}:root .growth-explanation>summary{cursor:pointer;min-height:44px;color:var(--blue);align-items:center;display:flex}@media (max-width:650px){:root .library-card.handout-card{border-radius:12px;gap:4px;height:auto;min-height:0;padding:12px}:root .library-card.handout-card:has(.handout-active-switch){border-radius:12px;gap:4px;height:auto;min-height:0;padding:12px}:root .handout-card:has(.handout-active-switch) .handout-heading{padding-right:48px}:root .handout-card .handout-heading h3{font-size:16px;line-height:1.4}:root .handout-card .set-tags:empty{display:none}:root .handout-card .set-tags{height:auto;max-height:24px}:root .handout-card .set-attribute-labels{min-height:0}:root .handout-card>.muted{margin:4px 0;font-size:12px}:root .handout-card .library-bottom{flex-wrap:nowrap;gap:6px;margin-top:4px}:root .handout-card .handout-practice-actions{display:contents}:root .handout-card .library-bottom .handout-active-switch{justify-content:center;width:44px;height:44px;padding:0;font-size:0;position:absolute;top:8px;right:8px}:root .handout-card .library-bottom .primary{flex:1;min-width:0;min-height:44px;font-size:13px}:root .handout-card .library-bottom .handout-action{flex:none;width:44px;height:44px;min-height:44px}:root .practice-toolbar-row{gap:8px;margin-bottom:14px}:root .learning-space-switch{min-width:0;display:block}:root .sidebar>.brand,:root .exam-header>.exam-brand,:root .exam-header-actions>a,:root .phone-account-slot .exam-station-link{display:none}:root .exam-header{grid-template-columns:auto minmax(0,1fr) auto}:root .exam-header>.learning-space-switch{grid-area:1/1}:root .exam-header>.exam-picker-trigger{grid-area:1/2;justify-self:center}:root .exam-header>.exam-header-actions{grid-area:1/3}html:root:has(.sidebar){scroll-padding-top:calc(var(--phone-header-height,60px) + 12px)}:root .sidebar,:root .sidebar-collapsed .sidebar{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px 12px}:root .sidebar .phone-account-slot{min-width:0;display:block}:root .phone-account-slot .header-actions{gap:6px;margin:0;display:flex}:root .phone-account-slot .header-actions .ui-button{white-space:nowrap;min-height:44px;padding:8px}:root .phone-account-slot #sign-in-button{min-width:44px;padding:8px;font-size:0}:root .phone-account-slot #sign-in-button svg{width:20px;height:20px}:root .mobile-progress-label{display:none}:root .sidebar .mobile-study-toggle{white-space:nowrap;gap:2px;min-height:44px;padding:6px;font-size:12px}:root .mobile-study-toggle strong{margin:0}:root .workspace:has(#practice-view:not([hidden]))>header{display:none}:root .workspace>header .header-actions{display:none}:root .workspace>header{margin-bottom:14px}:root .workspace #page-title{font-size:20px}:root .study-toolbar{flex-wrap:nowrap;align-items:center;gap:8px;display:flex}:root .study-toolbar>[data-orientation]{flex:1;min-width:0}:root .study-toolbar .segmented{width:100%;min-width:0}:root .study-toolbar .segmented button{min-height:44px;padding:7px 6px;font-size:12px}:root .study-toolbar .practice-range-trigger{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;max-width:100%;min-height:48px;padding:7px 10px;font-size:12px;display:flex}:root .practice-range-trigger>.icon{display:none}:root .practice-range-trigger small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--muted);font-size:11px;display:block;overflow:hidden}:root .workspace .exercise{scroll-margin-top:calc(var(--phone-header-height,60px) + 12px)}:root .practice-feedback-details[data-compact=true]>summary{cursor:pointer;min-height:44px;color:var(--blue);padding:12px 0;font-size:14px;display:list-item}:root .input-footer .shortcut-hint{display:none}:root .study-layout:has(#empty-state:not([hidden]))>.study-rail{display:none}:root .study-layout:has(#empty-state[data-empty-kind=nosets]:not([hidden])) .study-toolbar{display:none}:root .library-browse-layout{grid-template-columns:minmax(0,1fr)}:root .library-category-trigger{text-align:left;justify-content:space-between;gap:10px;width:100%;min-height:44px;display:flex}:root .library-category-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}:root .library-category-trigger small{color:var(--muted);flex:none}:root .exam-content-tools .exam-ai-choice{display:none}:root .exam-phone-narration{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:flex}:root .exam-phone-narration>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}:root .exam-phone-narration select{border:1px solid var(--border);background:var(--surface);max-width:190px;min-height:44px;color:var(--ink);border-radius:9px;padding:8px;font-size:16px}:root .exam-content-tools{justify-content:space-between}:root .exam-navigation{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 10px;display:grid}:root .exam-navigation-heading{grid-area:1/1}:root .exam-navigation-heading h2{display:none}:root .exam-navigation .mobile-question-toggle{white-space:nowrap;background:0 0;padding-left:0;font-size:13px}:root .exam-navigation>.exam-nav-submit{grid-area:1/2;width:auto;min-height:44px;padding:8px 10px;font-size:12px}:root .exam-navigation .exam-navigation-groups,:root .exam-navigation .exam-nav-legend,:root .exam-navigation>.exam-muted{grid-column:1/-1}:root .exam-navigation:not([data-mobile-open=true])>.exam-muted{display:none}:root .exam-navigation>.exam-muted{margin:6px 0;font-size:12px}:root .workspace footer{display:none}}.phone-material-trigger,.phone-library-tools,.phone-filter-toggle{display:none}@media (max-width:650px){:root .sidebar[data-mobile-open=true] .recent-practice{display:block}:root .practice-toolbar-row{grid-template-columns:minmax(0,1fr) auto minmax(44px,1fr);align-items:center;gap:4px;display:grid}:root .practice-toolbar-row>.study-toolbar{min-width:0}:root .practice-toolbar-row .practice-focus-controls{display:contents}:root .practice-toolbar-row .practice-focus-entry{grid-column:2;justify-self:center}:root .practice-toolbar-row .phone-material-trigger{grid-column:3;justify-self:end;display:inline-flex}:root .practice-toolbar-row .practice-range-trigger{min-width:0;max-width:100%}:root .study-layout:has(.exercise[data-practice-mode=sentence])>.study-rail{display:none}:root .study-layout:has(.exercise[data-practice-mode=listening])>.study-rail{display:none}:root .focus-material-drawer .study-rail{margin-top:0;display:grid}:root .exercise[data-practice-mode=sentence] .practice-card-actions{flex-wrap:nowrap;gap:2px}:root .exercise[data-practice-mode=sentence] .practice-card-actions .voice-toggle{background:0 0;border:0;border-radius:22px;width:76px;height:44px;margin:0;position:relative;top:auto;right:auto}.input-mode-track{background:var(--soft-blue);border:1px solid var(--border);border-radius:20px;justify-content:space-around;align-items:center;width:72px;height:36px;display:flex;position:relative}.input-mode-track>.icon{z-index:1;pointer-events:none}.input-mode-thumb{background:var(--surface);border-radius:50%;width:28px;height:28px;transition:transform .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #14244a25}.voice-toggle:has(input:checked) .input-mode-thumb{background:var(--blue);transform:translate(36px)}.voice-toggle:has(input:checked) .input-mode-track>.icon:nth-child(2){color:#fff}:root .exercise .action-row{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:4px;display:grid}:root .exercise .action-row #dont-know{grid-area:1/1;padding:6px 2px;font-size:12px}:root .exercise .action-row #reveal{grid-area:1/2;width:100%;min-width:0;padding:8px;font-size:12px}:root .exercise .action-row #dictation{grid-area:1/3;padding:6px 2px;font-size:12px}:root .exercise .action-row .icon{flex-shrink:0;width:16px;height:16px}:root .phone-library-tools{align-items:center;gap:6px;min-height:44px;font-size:13px;display:flex}:root .mine-library-tools[data-detail=false][data-open=false],:root .desktop-handout-count,:root .mine-intro{display:none}:root .collection-head{flex-direction:row;justify-content:space-between;align-items:center;gap:8px;display:flex}:root .collection-head h2{align-items:center;gap:6px;margin:0;font-size:20px;display:flex}:root .collection-head .primary{min-height:40px;padding:8px 10px;font-size:12px}:root .public-refresh{width:44px;min-width:44px;height:44px;padding:10px}:root .public-refresh>span{display:none}:root .phone-filter-toggle{flex:none;display:inline-flex}:root .library-toolbar{flex-wrap:nowrap}:root .library-toolbar input{flex:1;min-width:0}:root .public-filter-panel[data-open=false]{display:none}:root .handout-card .library-bottom:has(.public-favorite)>.secondary{flex:2;justify-content:center}:root .handout-card .library-bottom .public-favorite{flex:1;min-width:44px;font-size:0}:root .public-favorite .icon{width:20px;height:20px}}@media (prefers-reduced-motion:reduce){.input-mode-thumb{transition:none}}.phone-argument-material-trigger{display:none}.argument-top-drawer{z-index:calc(var(--z-dialog) + 2);overscroll-behavior:contain;background:var(--surface);max-height:82dvh;color:var(--ink);box-shadow:var(--shadow-lg);border-radius:0 0 20px 20px;padding:18px;animation:.2s ease-out argument-drawer-down;position:fixed;top:0;bottom:auto;left:0;right:0;overflow-y:auto}.argument-top-drawer .argument-materials{border:0;margin:0;padding:0}@keyframes argument-drawer-down{0%{opacity:0;transform:translateY(-24px)}to{opacity:1;transform:translateY(0)}}@media (max-width:650px){:root .phone-argument-material-trigger{white-space:nowrap;grid-area:1/2;justify-self:center;align-items:center;gap:6px;min-height:44px;font-size:13px;display:inline-flex}:root .practice-toolbar-row .phone-material-trigger{grid-row:1}:root .study-layout:has(.exercise[data-practice-mode=argument])>.study-rail{display:none}:root .exercise[data-practice-mode=sentence][data-answer-revealed=false]{box-sizing:border-box;min-height:calc(100dvh - var(--phone-header-height,60px) - var(--phone-nav-height,72px) - 88px);flex-direction:column;display:flex}:root .exercise[data-practice-mode=sentence][data-answer-revealed=false] #answer-form{flex-direction:column;flex:1;display:flex}:root .exercise[data-practice-mode=sentence][data-answer-revealed=false] #answer{resize:none;flex:1;min-height:150px;padding-top:clamp(20px,7dvh,64px)}:root .exercise[data-practice-mode=sentence] #answer::placeholder{color:var(--muted);opacity:.65;font-size:17px}:root .exercise[data-practice-mode=sentence][data-answer-revealed=false] .action-row{margin-top:18px}:root .exercise[data-practice-mode=sentence][data-answer-revealed=false] #voice-panel:not([hidden]){flex:1}}@media (prefers-reduced-motion:reduce){.argument-top-drawer{animation:none}}.handout-action-label{display:none}.handout-actions-popover{z-index:var(--z-popover);background:var(--surface);min-width:152px;color:var(--ink);border:1px solid var(--border);box-shadow:var(--shadow-lg);border-radius:12px;padding:6px}.handout-actions-popover [role=group]{gap:2px;display:grid}.handout-actions-popover .handout-action{text-align:left;border-radius:8px;justify-content:flex-start;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 12px;display:flex}.handout-actions-popover .handout-action-label{font-size:14px;display:inline}@media (max-width:650px){:root .handout-card:has(.public-favorite-star) .handout-heading{padding-right:44px}:root .handout-card .public-favorite-star{width:44px;height:44px;min-height:44px;color:var(--muted);background:0 0;border-radius:50%;position:absolute;top:8px;right:8px}:root .handout-card .public-favorite-star[aria-pressed=true]{color:var(--blue);background:var(--soft-blue)}:root .handout-card .public-favorite-star .icon{width:23px;height:23px}:root .handout-card:has(.public-favorite-star) .library-bottom>.secondary{flex:1;justify-content:center}:root .handout-card .handout-menu-trigger{flex:none;width:44px;height:44px;min-height:44px}}.public-favorite-anchor{display:inline-flex;position:relative}:root .public-favorite-guide{z-index:12;color:#193258;min-width:190px;max-width:240px;box-shadow:var(--shadow-lg);background:#f0f5ff;border:1px solid #c9d8f2;border-radius:10px;align-items:center;gap:8px;padding:10px 12px;font-size:13px;line-height:1.5;display:flex;position:absolute;bottom:calc(100% + 10px);right:0}.public-favorite-guide:after{content:"";border:6px solid #0000;border-top-color:#f0f5ff;position:absolute;top:100%;right:16px}:root .handout-card .public-favorite-guide button{color:#193258;cursor:pointer;background:0 0;border:0;padding:2px 6px;font-size:20px}.public-admin-scope{align-items:center;gap:8px;margin:12px 0;font-size:13px;display:flex}.public-creator{overflow-wrap:anywhere;margin:8px 0;font-size:12px}.public-creator .tag{margin-left:8px}.public-admin-actions{margin-left:auto}.public-admin-actions [role=alert]{color:var(--red);font-size:12px}.public-admin-editor fieldset{border:0;gap:12px;min-width:0;margin:0;padding:0;display:grid}.public-admin-editor label{gap:5px;display:grid}.public-admin-editor textarea{resize:vertical;min-height:80px}.public-admin-editor input,.public-admin-editor textarea{box-sizing:border-box;width:100%}.handout-card .handout-menu-trigger{flex:none;width:40px;height:40px;min-height:40px}@media (max-width:650px){.public-favorite-anchor.phone{width:44px;height:44px;position:absolute;top:8px;right:8px}.public-favorite-anchor.phone .public-favorite-star{position:static!important}.public-favorite-anchor.phone .public-favorite-guide{min-width:180px;max-width:min(240px,100vw - 70px);top:calc(100% + 8px);bottom:auto;right:0}.public-favorite-anchor.phone .public-favorite-guide:after{border-top-color:#0000;border-bottom-color:#f0f5ff;top:auto;bottom:100%}.public-admin-editor{max-height:90dvh;overflow:auto}}.public-favorite-guide button{flex-shrink:0;min-width:32px;min-height:32px}:root .handout-card>.public-creator{margin:2px 0;font-size:12px;line-height:18px}.handout-list .handout-card:has(.public-creator){height:auto;min-height:280px}.public-favorite-anchor:not(.phone){flex:1;min-width:0}.handout-card .library-bottom .public-favorite{white-space:normal;width:100%;line-height:1.4}.public-admin-actions{flex:none}@media (max-width:650px){:root .handout-list .handout-card:has(.public-creator){min-height:0}}:root .handout-card .public-favorite-guide button:hover{color:#122746;background:#dfe9fc}:root .handout-card .public-favorite-guide button:focus-visible{outline-offset:1px;outline:2px solid #2853bc}[data-space-coach=true]{outline-offset:3px;outline:2px solid #a7b7ff}.space-switch-guide{z-index:1000;box-sizing:border-box;width:min(300px,100vw - 32px);max-height:var(--radix-popover-content-available-height);color:#1b2942;overflow-wrap:anywhere;background:#fff;border:1px solid #dfe4ef;border-radius:12px;padding:16px;overflow:auto;box-shadow:0 8px 26px #10297416}.space-guide-eyebrow{color:#69778d;align-items:center;gap:6px;font-size:11px;display:flex}.space-guide-eyebrow svg{width:14px;height:14px}.space-switch-guide h2{color:#1b2942;margin:9px 0 8px;font-size:16px;line-height:1.45}.space-switch-guide p{color:#5f6f86;margin:0 0 12px;font-size:13px;line-height:1.65}.space-guide-dismiss{color:#3258cd;font:inherit;cursor:pointer;background:#f6f8fc;border:1px solid #e0e6f2;border-radius:8px;margin-left:auto;padding:6px 13px;font-size:12px;font-weight:500;display:block}.space-guide-arrow{fill:#fff}@media (max-width:650px){:root #library-panel[data-handout-detail=true]{min-width:0}:root .phone-handout-header{grid-template-columns:36px minmax(0,1fr) 36px;align-items:start;gap:8px;min-width:0;margin:12px 0 8px;display:grid}:root .phone-handout-header h2{overflow-wrap:anywhere;margin:5px 0;font-size:18px;line-height:1.45}:root .phone-handout-header .icon-button{width:36px;min-width:36px;height:40px;box-shadow:none;background:0 0;border:0;margin:0;padding:8px}:root .phone-handout-info{border:0;margin:0 0 12px;padding:0 4px;font-size:13px}:root .phone-handout-info>summary{cursor:pointer;min-height:40px;color:var(--muted);align-items:center;gap:8px;list-style:none;display:flex}:root .phone-handout-info>summary::-webkit-details-marker{display:none}:root .phone-handout-info>summary small{text-overflow:ellipsis;white-space:nowrap;max-width:55%;margin-left:auto;font-size:12px;overflow:hidden}:root .phone-handout-info[open]>summary>.icon{transform:rotate(180deg)}:root .phone-handout-info .set-tags{margin-bottom:8px}:root .mine-library-tools[data-detail=true] .library-toolbar{grid-template-columns:minmax(0,1fr) 44px;gap:8px;min-width:0;margin-bottom:10px;display:grid}:root .mine-library-tools[data-detail=true] .library-toolbar>input[type=search]{box-sizing:border-box;grid-area:1/1;width:100%;min-width:0;height:44px;margin:0;padding:10px 12px;font-size:16px}:root #library-panel[data-handout-detail=true]>p[role=status]:empty{display:none}:root #library-panel[data-handout-detail=true] .bulk-actions{background:var(--surface-muted);border-radius:10px;gap:8px;margin-bottom:10px;padding:8px}:root #library-panel[data-handout-detail=true] .library-priority-legend{display:none}:root #library-panel[data-handout-detail=true] .library-category-heading{color:var(--muted);margin:8px 0;font-size:13px}}.desktop-filter-controls{display:contents}@media (max-width:650px){:root .mine-library-tools[data-detail=true] .library-toolbar{gap:8px 6px;margin-bottom:6px}:root .mine-library-tools[data-detail=true] .phone-library-view{border:1px solid var(--border);background:var(--surface);border-radius:10px;grid-area:1/2;width:44px;min-width:44px;height:44px;margin:0;padding:10px}:root .phone-handout-filters{grid-area:2/1/auto/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0;display:grid}:root .phone-handout-filters .phone-filter-chip,:root .phone-handout-filters select{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;height:40px;min-height:40px;color:var(--muted);box-shadow:none;white-space:nowrap;border-radius:9px;justify-content:space-between;align-items:center;gap:3px;margin:0;padding:6px;font-size:16px;line-height:1.4;display:flex}:root .phone-handout-filters .library-category-trigger{font-weight:400}:root .phone-handout-filters select{padding:6px;font-size:16px}:root .phone-filter-chip>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}:root .phone-filter-chip>.icon{flex:none;width:14px;height:14px}:root .phone-handout-filters [data-active=true]{color:var(--blue);background:var(--surface-muted);border-color:var(--blue)}:root #library-panel[data-handout-detail=true] .library-category-heading{margin:10px 0 8px;font-size:12px;font-weight:400}}@media (max-width:700px){:root .exercise .card-top #card-group{display:none}:root .exercise .practice-status-badges{flex-shrink:0}:root .exercise[data-practice-mode=sentence] .practice-card-actions,:root .exercise .practice-card-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;width:auto;max-width:100%;margin-left:auto}:root .practice-card-actions .practice-postpone{width:auto;height:auto;min-height:44px;padding:8px 10px}}.knowledge-library{max-width:1200px;margin:0 auto;padding:16px 0 48px}.knowledge-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.knowledge-heading h2{margin:8px 0;font-size:28px}.knowledge-heading p{max-width:620px;color:var(--muted);line-height:1.7}.knowledge-actions{flex-shrink:0;gap:10px;display:flex}.knowledge-actions button,.knowledge-card-actions button,.knowledge-reply-actions button{justify-content:center;align-items:center;gap:7px;display:inline-flex}.knowledge-empty{text-align:center;border:1px dashed var(--border);background:var(--surface);border-radius:24px;flex-direction:column;align-items:center;margin:28px 0;padding:64px 24px;display:flex}.knowledge-empty-icon{background:var(--blue-soft,#edf1ff);width:80px;height:80px;color:var(--blue);border-radius:24px;place-items:center;display:grid}.knowledge-empty h3{margin:22px 0 0}.knowledge-empty p{max-width:440px;color:var(--muted);line-height:1.8}.knowledge-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;margin:28px 0;display:grid}.knowledge-card{border:1px solid var(--border);background:var(--surface);border-radius:20px;flex-direction:column;gap:14px;min-width:0;padding:22px;display:flex}.knowledge-card-head{color:var(--muted);justify-content:space-between;align-items:center;display:flex}.knowledge-kind{background:var(--bg);border-radius:7px;padding:5px 8px;font-size:12px}.knowledge-card h3{overflow-wrap:anywhere;margin:0;font-size:19px}.knowledge-status{color:var(--muted);font-size:13px}.knowledge-status[data-status=ready]{color:var(--green,#22805f)}.knowledge-card-actions{justify-content:space-between;gap:8px;margin-top:auto;display:flex}.knowledge-footnote{color:var(--muted);font-size:13px;line-height:1.8}.knowledge-error{color:var(--red,#b84040);font-size:14px;line-height:1.6}.knowledge-picker{z-index:110;background:var(--surface);border:1px solid var(--border);border-radius:22px;width:min(600px,100vw - 32px);max-height:85dvh;padding:24px;position:fixed;top:50%;bottom:auto;left:50%;right:auto;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 24px 80px #18294524}.knowledge-picker input[type=search]{box-sizing:border-box;width:100%;margin:12px 0}.knowledge-picker-list{max-height:45dvh;margin-bottom:20px;overflow:auto}.knowledge-picker-list>div{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:14px 0;display:flex}.knowledge-picker-list span{flex:1;min-width:0}.knowledge-picker-list strong{overflow-wrap:anywhere;font-weight:500;display:block}.knowledge-picker-list small{color:var(--muted);margin-top:4px;display:block}.knowledge-chat-overlay{z-index:105;background:#0b163026;position:fixed;top:0;bottom:0;left:0;right:0}.knowledge-chat{z-index:110;background:var(--surface);width:min(520px,100vw - 40px);color:var(--ink);border:1px solid var(--border);border-radius:24px;flex-direction:column;display:flex;position:fixed;top:20px;bottom:20px;right:20px;overflow:hidden;box-shadow:0 20px 80px #0e233e30}.knowledge-chat-header{border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0;align-items:center;gap:8px;min-height:0!important;padding:18px!important;display:flex!important;position:static!important}.knowledge-chat-header>div{flex:1;min-width:0}.knowledge-chat-header h2{margin:0 0 3px;font-size:18px}.knowledge-chat-header small{color:var(--muted);font-size:11px}.knowledge-chat-header button{min-width:34px;min-height:38px;padding:7px}.knowledge-chat-avatar{color:#268263;background:#e8f6ef;border-radius:13px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.knowledge-chat-settings,.knowledge-history{border-bottom:1px solid var(--border);flex-direction:column;flex-shrink:0;gap:12px;max-height:30dvh;padding:16px 20px;display:flex;overflow:auto}.knowledge-chat-settings label{align-items:center;gap:8px;display:flex}.knowledge-chat-settings small,.knowledge-history small{color:var(--muted);line-height:1.6}.knowledge-history button{text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.knowledge-chat-scope{border-bottom:1px solid var(--border);background:var(--bg);flex-shrink:0}.knowledge-chat-scope summary{cursor:pointer;align-items:center;gap:7px;padding:12px 20px;font-size:13px;list-style:none;display:flex}.knowledge-chat-scope summary::-webkit-details-marker{display:none}.knowledge-chat-scope>div{gap:12px;max-height:24dvh;padding:0 20px 14px;display:grid;overflow:auto}.knowledge-chat-scope label{align-items:flex-start;gap:8px;font-size:13px;display:flex}.knowledge-chat-scope small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.knowledge-chat-messages{overscroll-behavior:contain;flex:1;min-height:0;padding:24px 20px;overflow:auto}.knowledge-chat-welcome{color:var(--ink);padding:20px 0}.knowledge-chat-welcome>svg{color:var(--blue)}.knowledge-chat-welcome h3{margin:16px 0 10px;font-size:24px}.knowledge-chat-welcome p{color:var(--muted);font-size:14px;line-height:1.8}.knowledge-chat-welcome>div{gap:10px;margin-top:24px;display:grid}.knowledge-chat-welcome button{text-align:left;justify-content:space-between;align-items:center;font-size:13px;display:flex}.knowledge-message{overflow-wrap:anywhere;margin-bottom:26px}.knowledge-message>p{white-space:pre-wrap;margin:10px 0;font-size:14px;line-height:1.85}.knowledge-user{background:var(--blue-soft,#edf1ff);border-radius:17px;margin-left:42px;padding:14px 16px}.knowledge-user>p{margin:4px 0}.knowledge-speaker{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}.knowledge-assistant .knowledge-speaker{color:var(--green,#258262);font-weight:600}.knowledge-citations{border:1px solid var(--border);border-radius:12px;margin-top:16px;padding:10px 12px;font-size:12px}.knowledge-citations summary{cursor:pointer;color:var(--muted)}.knowledge-citations>div{margin-top:12px}.knowledge-citations a{color:var(--blue);text-decoration:none}.knowledge-citations p{white-space:pre-wrap;color:var(--muted);max-height:160px;line-height:1.7;overflow:auto}.knowledge-reply-actions{gap:12px;display:flex}.knowledge-reply-actions button{font-size:12px}.knowledge-thinking{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.knowledge-composer{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;padding:12px 18px 16px}.knowledge-composer textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--border);background:var(--bg);width:100%;min-height:80px;max-height:180px;color:var(--ink);line-height:1.6;font:inherit;border-radius:14px;padding:12px;font-size:14px;display:block}.knowledge-composer>div{justify-content:space-between;align-items:center;gap:10px;margin-top:10px;display:flex}.knowledge-composer small{color:var(--muted);font-size:11px}.knowledge-composer button{align-items:center;gap:5px;display:flex}.knowledge-composer>p{margin:0 0 8px;font-size:12px}@media (max-width:767px){:root .sidebar nav,:root .sidebar-collapsed .sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr))}:root .sidebar .nav-label{font-size:11px}.knowledge-heading{flex-direction:column;align-items:flex-start;gap:8px}.knowledge-heading h2{font-size:24px}.knowledge-heading p{font-size:14px}.knowledge-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.knowledge-actions button{min-height:44px;font-size:13px}.knowledge-empty{padding:38px 18px}.knowledge-grid{grid-template-columns:1fr}.knowledge-picker .knowledge-heading{flex-direction:row;align-items:center}.knowledge-chat{border:0;border-radius:0;width:auto;height:100dvh;top:0;bottom:0;left:0;right:0}.knowledge-chat-header{gap:5px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px!important}.knowledge-chat-header small{font-size:10px}.knowledge-chat-header button{min-width:36px;min-height:44px}.knowledge-chat-avatar{width:34px;height:34px}.knowledge-chat-header h2{font-size:16px}.knowledge-composer{padding-bottom:max(12px,env(safe-area-inset-bottom))}.knowledge-composer textarea{font-size:16px}.knowledge-chat-messages{padding:18px 16px}.knowledge-picker{padding:20px}.knowledge-card-actions button{min-height:44px}}.knowledge-note-preview{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);-webkit-line-clamp:5;-webkit-box-orient:vertical;margin:0;font-size:14px;line-height:1.8;display:-webkit-box;overflow:hidden}.knowledge-note-editor fieldset{border:0;min-width:0;margin:20px 0 0;padding:0}.knowledge-import{border:1px dashed var(--border);background:var(--bg);border-radius:12px;gap:8px;margin-bottom:18px;padding:14px;display:grid}.knowledge-import>span{font-size:14px;font-weight:600}.knowledge-import p{margin:0}.knowledge-note-editor label{gap:8px;margin-bottom:18px;font-size:14px;display:grid}.knowledge-note-editor input,.knowledge-note-editor textarea{box-sizing:border-box;width:100%;font:inherit;line-height:1.7}.knowledge-note-editor textarea{resize:vertical;min-height:180px}.knowledge-note-editor .muted{font-size:12px;line-height:1.7}.knowledge-chat-header{height:auto!important;margin:0!important}.knowledge-chat-context{border-bottom:1px solid var(--border);background:var(--accent-soft);flex-shrink:0;align-items:center;gap:9px;padding:10px 18px;font-size:12px;display:flex}.knowledge-chat-context>span{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.knowledge-bubble-editor{padding:7px 0!important;font-size:12px!important}.knowledge-ai-note{margin-top:8px;line-height:1.4;display:block}.knowledge-drawer-overlay{z-index:120;background:#17243b38;position:fixed;top:0;bottom:0;left:0;right:0}.knowledge-drawer{z-index:125;box-sizing:border-box;background:var(--surface);width:min(310px,100vw - 56px);color:var(--ink);border:1px solid var(--border);overscroll-behavior:contain;border-radius:22px;padding:22px;animation:.2s ease-out knowledge-slide-in;position:fixed;top:20px;bottom:20px;right:20px;overflow:auto;box-shadow:-10px 0 40px #14213b22}.knowledge-drawer-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px;padding-bottom:18px;display:flex}.knowledge-drawer-heading h2{margin:0;font-size:18px}.knowledge-drawer-heading button{min-width:38px;min-height:38px}.knowledge-drawer-history,.knowledge-drawer-settings{flex-direction:column;gap:14px;display:flex}.knowledge-drawer-history button{text-align:left;white-space:normal;overflow-wrap:anywhere;min-height:44px}.knowledge-drawer-history>.secondary{justify-content:center;align-items:center;gap:8px;display:flex}.knowledge-drawer-settings label{align-items:center;gap:9px;font-size:14px;display:flex}.knowledge-drawer-settings p{color:var(--muted);margin:0;font-size:13px;line-height:1.8}.knowledge-drawer-settings button{justify-content:center;align-items:center;gap:8px;min-height:44px;display:flex}@keyframes knowledge-slide-in{0%{opacity:0;transform:translate(35px)}to{opacity:1;transform:translate(0)}}@media (prefers-reduced-motion:reduce){.knowledge-drawer{animation:none}}@media (max-width:767px){.knowledge-actions{justify-content:flex-start;display:flex}.knowledge-drawer{width:min(300px,85vw);padding:calc(18px + env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom));border-radius:20px 0 0 20px;top:0;bottom:0;right:0}.knowledge-note-editor input,.knowledge-note-editor textarea{font-size:16px}.knowledge-chat-context{padding:8px 14px}.knowledge-bubble-editor{min-height:40px}}.knowledge-note-editor input:not([type=file]){border:1px solid var(--border);background:var(--bg);color:var(--ink);border-radius:10px;padding:10px 12px}.knowledge-import-summary{background:var(--accent-soft,#edf2ff);color:var(--ink);border-radius:10px;padding:12px;font-size:13px;line-height:1.8}.knowledge-note-editor form>.primary{min-height:44px}@media (max-width:767px){.knowledge-note-editor form>.primary{width:100%}}.knowledge-input-modes{border:1px solid var(--border);background:var(--bg);border-radius:14px;grid-template-columns:1fr 1fr;gap:6px;margin-top:22px;padding:6px;display:grid}.knowledge-input-modes [role=tab]{min-height:46px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 12px;font-weight:600;display:flex}.knowledge-input-modes [role=tab][data-state=active]{background:var(--surface);color:var(--blue);border-color:var(--border);box-shadow:0 2px 6px #14213b0a}.knowledge-input-modes [role=tab]:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.knowledge-input-modes [role=tab]:disabled{cursor:default;opacity:.6}.knowledge-mode-panel>p{margin-top:0;margin-bottom:18px}.knowledge-import .knowledge-import-error{background:var(--surface);border-radius:9px;padding:10px 12px;font-size:13px;line-height:1.7}.knowledge-note-editor form .primary{min-height:44px}@media (max-width:767px){.knowledge-note-editor form .primary{width:100%}}.knowledge-pro-badge{vertical-align:middle;background:var(--accent-soft,#edf2ff);color:var(--blue);border-radius:8px;margin-left:6px;padding:4px 9px;font-size:13px;display:inline-block}.knowledge-incomplete{color:var(--muted);font-size:12px;line-height:1.6;display:block}.knowledge-list{border:1px solid var(--border);background:var(--surface);border-radius:18px;display:grid;overflow:hidden}.knowledge-list-row{border-bottom:1px solid var(--border);align-items:flex-start;gap:16px;min-width:0;padding:20px;display:flex}.knowledge-list-row:last-child{border-bottom:0}.knowledge-list-icon{background:var(--accent-soft,#edf2ff);width:44px;height:44px;color:var(--blue);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.knowledge-list-info{flex:1;min-width:0}.knowledge-document-title{color:var(--ink);font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;padding:0;font-size:17px;font-weight:650}.knowledge-document-title:focus-visible{outline:2px solid var(--blue);outline-offset:4px}.knowledge-list-info p{color:var(--muted);overflow-wrap:anywhere;margin:8px 0 0;font-size:12px}.knowledge-list-preview{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.7;display:-webkit-box;overflow:hidden}.knowledge-list-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.knowledge-list-actions button{align-items:center;gap:5px;min-height:40px;display:flex}.knowledge-pagination{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;margin:18px 0;font-size:13px;display:flex}.knowledge-pagination button{min-height:40px}.knowledge-document-viewer{z-index:100;box-sizing:border-box;background:var(--surface);width:min(900px,100vw - 40px);height:min(860px,100dvh - 48px);color:var(--ink);border:1px solid var(--border);border-radius:22px;flex-direction:column;padding:28px;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 25px 80px #17243b30}.knowledge-document-viewer>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.knowledge-document-viewer h2{overflow-wrap:anywhere;margin:0;font-size:24px}.knowledge-document-viewer .muted{margin:10px 0;font-size:12px}.knowledge-document-viewer .knowledge-pagination{flex-shrink:0;margin:12px 0}.knowledge-document-content{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.knowledge-document-content article{border:1px solid var(--border);border-radius:14px;margin-bottom:14px;padding:20px}.knowledge-document-content article>span{color:var(--muted);font-size:12px}.knowledge-document-content article p{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:0;font-size:15px;line-height:1.9}.knowledge-original{background:var(--bg);overflow-wrap:anywhere;border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;padding:12px;font-size:12px;display:flex}.knowledge-original span{flex:1;min-width:0}.knowledge-original button{align-items:center;gap:6px;display:flex}.knowledge-upload-progress{flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0;font-size:12px;display:flex}.knowledge-upload-progress progress{width:100%;accent-color:var(--blue)}@media (max-width:767px){.knowledge-list-row{flex-wrap:wrap;gap:12px;padding:16px}.knowledge-list-icon{width:34px;height:34px}.knowledge-list-info{flex-basis:calc(100% - 48px)}.knowledge-list-actions{justify-content:flex-end;width:100%}.knowledge-list-actions button{min-height:44px}.knowledge-document-title{font-size:16px}.knowledge-document-viewer{width:100%;height:100dvh;padding:max(18px,env(safe-area-inset-top)) 16px max(12px,env(safe-area-inset-bottom));border:0;border-radius:0;top:0;bottom:0;left:0;right:0;transform:none}.knowledge-document-viewer h2{font-size:20px}.knowledge-document-viewer .knowledge-pagination{gap:10px}.knowledge-document-content article{padding:16px}.knowledge-document-viewer button{min-height:42px}.knowledge-original>span{flex-basis:100%}}.knowledge-document-viewer>header{min-height:0;box-shadow:none;background:0 0;border:0;flex-shrink:0;height:auto!important;margin:0!important;padding:0!important}.knowledge-document-viewer>header h2{line-height:1.4}.knowledge-document-viewer>.knowledge-error{flex-shrink:0;margin:8px 0;font-size:13px}.knowledge-index-status{color:var(--green,#258262)!important}.knowledge-chat-scope{border-bottom:1px solid var(--border);flex-shrink:0;padding:7px 20px}.knowledge-chat-scope button{color:var(--muted);align-items:center;gap:7px;padding:4px 0;font-size:12px;display:inline-flex}.knowledge-source-picker>p{font-size:13px;line-height:1.7}.knowledge-source-auto{align-items:center;gap:8px;margin:14px 0;font-size:13px;display:flex}.knowledge-source-picker input[type=checkbox]{accent-color:var(--blue);flex-shrink:0;width:16px;height:16px}.knowledge-source-tools{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.knowledge-source-tools input,.knowledge-source-tools select{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);min-width:0;color:var(--ink);font:inherit;border-radius:9px;padding:10px;font-size:13px}.knowledge-source-tools input{flex:140px}.knowledge-source-tools select{flex:120px}.knowledge-source-list{gap:4px;display:grid}.knowledge-source-list label{border-bottom:1px solid var(--border);cursor:pointer;align-items:flex-start;gap:10px;padding:10px 6px;font-size:14px;line-height:1.5;display:flex}.knowledge-source-list span{overflow-wrap:anywhere;min-width:0}.knowledge-source-list small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.knowledge-source-pages,.knowledge-source-apply{justify-content:space-between;align-items:center;gap:12px;margin:18px 0;font-size:13px;display:flex}.knowledge-source-apply{background:var(--surface);border-top:1px solid var(--border);padding:14px 0;position:sticky;bottom:-20px}@media (max-width:767px){.knowledge-source-tools input,.knowledge-source-tools select{font-size:16px}}.knowledge-markdown{overflow-wrap:anywhere;min-width:0;max-width:100%;margin:10px 0;font-size:14px;line-height:1.85}.knowledge-markdown>:first-child{margin-top:0}.knowledge-markdown>:last-child{margin-bottom:0}.knowledge-markdown p{white-space:normal;margin:0 0 12px}.knowledge-markdown h1,.knowledge-markdown h2,.knowledge-markdown h3,.knowledge-markdown h4,.knowledge-markdown h5,.knowledge-markdown h6{color:var(--ink);margin:20px 0 10px;font-weight:650;line-height:1.5}.knowledge-markdown h1{font-size:20px}.knowledge-markdown h2{font-size:18px}.knowledge-markdown h3{font-size:16px}.knowledge-markdown h4,.knowledge-markdown h5,.knowledge-markdown h6{font-size:14px}.knowledge-markdown ul,.knowledge-markdown ol{margin:10px 0 14px;padding-left:24px}.knowledge-markdown li{margin:5px 0}.knowledge-markdown li>p{margin:4px 0}.knowledge-markdown blockquote{border-left:3px solid var(--blue);background:var(--bg);color:var(--muted);margin:12px 0;padding:6px 12px}.knowledge-markdown code{background:var(--bg);white-space:break-spaces;border-radius:4px;padding:2px 5px;font:.9em/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}.knowledge-markdown pre{box-sizing:border-box;background:var(--bg);border:1px solid var(--border);white-space:pre;border-radius:10px;max-width:100%;margin:12px 0;padding:12px;overflow-x:auto}.knowledge-markdown pre code{white-space:pre;overflow-wrap:normal;background:0 0;padding:0}.knowledge-markdown a{color:var(--blue);text-underline-offset:3px;text-decoration:underline}.knowledge-markdown-table{max-width:100%;margin:12px 0;overflow-x:auto}.knowledge-markdown table{border-collapse:collapse;min-width:100%;font-size:13px;line-height:1.65}.knowledge-markdown th,.knowledge-markdown td{border:1px solid var(--border);text-align:left;vertical-align:top;min-width:90px;padding:8px 10px}.knowledge-markdown th{background:var(--bg);font-weight:600}.knowledge-markdown hr{border:0;border-top:1px solid var(--border);margin:18px 0}
