.study-panel{--st-surface:#fff;--st-soft:#f7f8fc;--st-elevated:#fff;--st-border:var(--line);--st-ink:var(--ink);--st-muted:#7b8492;--st-accent:#7866c7;--st-wash:#f1eefb;--st-violet:#8a6ac5;--st-rose:#b86e93;--st-cyan:#378e9d;--st-amber:#a88335;color:var(--st-ink);max-width:1800px;margin:auto}
:root[data-theme=clear] .study-panel{--st-soft:#f7f9fc;--st-accent:#306bb9;--st-wash:#edf4fd;--st-muted:#6b7a8e;--st-border:#e6ebf1}
:root[data-theme=dark] .study-panel{--st-surface:#1b222c;--st-soft:#151c25;--st-elevated:#222c39;--st-border:#303b4b;--st-ink:#e7edf7;--st-muted:#9daec4;--st-accent:#a6caff;--st-wash:#25364d;--st-violet:#b69ae9;--st-rose:#dfa3c4;--st-cyan:#7bc6d2;--st-amber:#dfc27d}
.st-icon{width:21px;height:21px;flex:0 0 21px;display:block}
.st-notebook-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}
.st-notebook-picker{display:flex;align-items:center;gap:12px;text-align:left;min-width:0;padding:0 5px 0 0}
.st-notebook-picker>.st-icon{color:var(--st-accent);width:30px;height:30px;flex-basis:30px}
.st-notebook-picker>span:first-of-type{display:block;min-width:0}
.st-notebook-picker strong{display:block;font-size:22px;letter-spacing:-.6px;font-weight:600;overflow-wrap:anywhere;line-height:1.4}
.st-notebook-picker small{display:block;color:var(--st-muted);font-size:10px;line-height:1.6;margin-top:3px}
.st-picker-chevron{font-size:20px;color:var(--st-muted);margin-left:6px}
.st-bar-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}
.st-bar-actions .outline{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--st-ink);border-color:var(--st-border);background:var(--st-surface)}
.st-bar-actions .st-icon{width:15px;height:15px;flex-basis:15px}
.st-preview-badge{color:var(--st-muted);border:1px solid var(--st-border);padding:6px 9px;border-radius:20px;font-size:8px;letter-spacing:1px;white-space:nowrap}
.st-layout{display:grid;grid-template-columns:215px minmax(0,1fr) 245px;gap:14px;align-items:stretch}
.st-sources,.st-studio,.st-workspace{background:var(--st-surface);border:1px solid var(--st-border);border-radius:16px;min-width:0;overflow:hidden}
.st-sources,.st-studio{padding:20px 15px;display:flex;flex-direction:column}
.st-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.st-panel-heading h2{font-size:15px;letter-spacing:-.3px;font-weight:600}
.st-count{font-size:10px;color:var(--st-muted);border:1px solid var(--st-border);min-width:22px;text-align:center;border-radius:6px;padding:3px}
.st-add-source{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;border:1px dashed var(--st-border);border-radius:8px;background:var(--st-soft);color:var(--st-ink);font-size:12px;padding:11px 6px}
.st-add-source .st-icon{width:16px;height:16px;flex-basis:16px}
.st-add-source:hover{background:var(--st-wash);border-color:var(--st-accent)}
.st-source-search input{width:100%;font:inherit;font-size:11px;color:var(--st-ink);background:transparent;border:0;border-bottom:1px solid var(--st-border);border-radius:0;padding:16px 2px 12px;outline-offset:-2px}
.st-source-search input::placeholder{color:var(--st-muted)}
.st-source-list{flex:1;min-height:300px;max-height:600px;overflow-y:auto;padding-top:14px}
.st-select-all{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--st-muted);padding:0 2px 15px;cursor:pointer}
.st-select-all small{margin-left:auto;font-size:9px}
.st-select-all input,.st-source-row input{accent-color:var(--st-accent);width:14px;height:14px;flex-shrink:0;margin:0;cursor:pointer}
.st-source-row{display:flex;align-items:center;gap:8px;padding:12px 2px;min-width:0}
.st-source-type{color:var(--st-accent);flex:0 0 18px}
.st-source-type .st-icon{width:18px;height:18px}
.st-source-row>button{min-width:0;flex:1;padding:0;text-align:left;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.st-source-row>button:hover{color:var(--st-accent)}
.st-source-row small{display:block;font-size:9px;color:var(--st-muted);margin-top:3px}
.st-source-foot{display:flex;align-items:flex-start;gap:8px;border-top:1px solid var(--st-border);padding-top:17px;margin-top:18px;color:var(--st-muted)}
.st-source-foot .st-icon{width:15px;height:15px;flex-basis:15px}
.st-source-foot p{font-size:9px;line-height:1.7}
.st-workspace{display:flex;flex-direction:column;min-height:650px}
.st-workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:20px 23px;border-bottom:1px solid var(--st-border)}
.st-center-label{font-size:8px;letter-spacing:1.3px;color:var(--st-muted)}
.st-ai-status{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--st-muted);white-space:nowrap}
.st-ai-status i{width:5px;height:5px;border-radius:50%;background:var(--st-muted)}
.st-body{padding:26px 23px;flex:1;min-width:0;max-height:690px;overflow-y:auto;scrollbar-width:thin}
.st-welcome{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 0 20px}
.st-welcome-icon{display:grid;place-items:center;color:var(--st-accent);background:var(--st-wash);border:1px solid var(--st-border);width:64px;height:64px;border-radius:19px;margin-bottom:26px;transform:rotate(-5deg)}
.st-welcome-icon .st-icon{width:32px;height:32px}
.st-welcome .eyebrow{font-size:8px;letter-spacing:1.4px;line-height:1.8;color:var(--st-muted)}
.st-welcome h2{font-size:35px;letter-spacing:-1.3px;margin:11px 0 14px;line-height:1.2}
.st-welcome>p:not(.eyebrow){font-size:12px;line-height:1.8;color:var(--st-muted)}
.st-welcome-steps{display:flex;flex-direction:column;text-align:left;gap:13px;margin:28px 0 23px;font-size:11px}
.st-welcome-steps span{display:flex;align-items:center;gap:14px;color:var(--st-muted)}
.st-welcome-steps b{color:var(--st-accent);font-size:9px;font-weight:500;border:1px solid var(--st-border);border-radius:50%;width:25px;height:25px;display:grid;place-items:center;background:var(--st-soft)}
.st-start-example{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--st-accent);border-radius:8px;padding:9px 8px}
.st-start-example .st-icon{width:15px;height:15px;flex-basis:15px}
.st-start-example:hover{background:var(--st-wash)}
.st-preview-explainer{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--st-border);border-radius:10px;background:var(--st-soft);margin:9px 0 0}
.st-preview-explainer>.st-icon{color:var(--st-accent);width:17px;height:17px;flex-basis:17px}
.st-preview-explainer strong{font-size:10px;font-weight:550;line-height:1.6}
.st-preview-explainer p{font-size:10px;color:var(--st-muted);line-height:1.7;margin-top:5px}
.st-composer{border-top:1px solid var(--st-border);padding:16px 20px 14px;background:var(--st-soft)}
.st-composer textarea{display:block;resize:none;border:0;background:transparent;color:var(--st-muted);width:100%;padding:0;font-size:12px;line-height:1.6;min-height:35px;opacity:.7;cursor:not-allowed}
.st-composer>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px}
.st-selected-count{font-size:9px;color:var(--st-muted)}
.st-composer button{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;border:1px solid var(--st-border);color:var(--st-muted);background:var(--st-surface);cursor:not-allowed}
.st-composer button .st-icon{width:15px;height:15px}
.st-composer>p{font-size:9px;color:var(--st-muted);margin-top:10px;line-height:1.6}
.st-studio-star{color:var(--st-muted)}
.st-studio-star .st-icon{width:17px;height:17px}
.st-studio-intro{font-size:10px;color:var(--st-muted);margin:-8px 0 18px;line-height:1.6}
.st-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.st-tool{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--st-border);border-radius:11px;background:var(--st-soft);padding:15px 11px 13px;text-align:left;min-width:0;min-height:151px}
.st-tool:hover,.st-tool[aria-pressed=true]{background:var(--st-elevated);border-color:var(--st-tone);box-shadow:0 3px 12px #17243808;transform:translateY(-1px)}
.st-tool-icon{color:var(--st-tone);margin-bottom:13px}
.st-violet{--st-tone:var(--st-violet)}.st-rose{--st-tone:var(--st-rose)}.st-cyan{--st-tone:var(--st-cyan)}.st-amber{--st-tone:var(--st-amber)}
.st-tool strong{font-size:11px;font-weight:550;line-height:1.5}
.st-tool>small{color:var(--st-muted);font-size:9px;line-height:1.6;margin:6px 0 12px}
.st-tool-preview{font-size:8px;line-height:1.5;color:var(--st-tone);margin-top:auto}
.st-saved-empty{border-top:1px solid var(--st-border);margin-top:24px;padding-top:25px;color:var(--st-muted)}
.st-saved-empty>.st-icon{margin-bottom:12px;width:22px;height:22px}
.st-saved-empty h3{font-size:12px;font-weight:500;letter-spacing:0;line-height:1.5;color:var(--st-ink);margin-bottom:8px}
.st-saved-empty p{font-size:10px;line-height:1.8}
.st-studio-note{color:var(--st-muted);font-size:10px;line-height:1.8;margin-top:auto;padding-top:38px}
.st-session-note{font-size:10px;color:var(--st-muted);line-height:1.7;padding:13px 2px}
.st-output-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--st-muted);margin-bottom:25px}
.st-output-back{padding:4px 0;color:var(--st-accent);font-size:10px}
.st-example-label{font-size:8px;letter-spacing:1.3px;color:var(--st-accent);line-height:1.7}
.st-output-title{font-size:24px;line-height:1.3;letter-spacing:-.7px;margin:10px 0 10px;font-weight:600}
.st-output-description{font-size:11px;line-height:1.7;color:var(--st-muted);margin-bottom:24px}
.st-example-footnote{font-size:9px;line-height:1.7;color:var(--st-muted);margin-top:24px}
.st-card-progress{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:9px;color:var(--st-muted);margin-bottom:13px;line-height:1.5}
.st-card-progress strong{font-size:10px;color:var(--st-ink);font-weight:500;white-space:nowrap}
.st-flashcard{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;gap:25px;background:var(--st-wash);border:1px solid var(--st-border);color:var(--st-ink);border-radius:16px;padding:27px 22px;width:100%;min-height:260px;box-shadow:0 5px 15px #00000004;transition:background .2s}
.st-flashcard.st-flipped{background:var(--st-soft)}
.st-card-side{font-size:8px;letter-spacing:1.7px;color:var(--st-accent)}
.st-flashcard>strong{font-size:21px;letter-spacing:-.5px;line-height:1.6;font-weight:500}
.st-flashcard>small{font-size:9px;line-height:1.6;color:var(--st-muted);margin-top:auto}
.st-card-controls{display:flex;align-items:center;justify-content:space-between;margin-top:20px}
.st-card-controls button{padding:8px 14px;min-width:40px;color:var(--st-ink);background:var(--st-surface);border-color:var(--st-border)}
.st-card-dots{display:flex;align-items:center;gap:7px}
.st-card-dots i{width:5px;height:5px;border-radius:50%;background:var(--st-border)}
.st-card-dots i.active{background:var(--st-accent);width:16px;border-radius:4px}
.st-quiz-question{font-size:18px;line-height:1.6;font-weight:500;letter-spacing:-.35px;margin:20px 0}
.st-quiz-options{display:flex;flex-direction:column;gap:9px}
.st-quiz-options button{display:flex;align-items:center;gap:11px;text-align:left;font-size:12px;line-height:1.5;padding:13px;border:1px solid var(--st-border);border-radius:9px;background:var(--st-soft);color:var(--st-ink)}
.st-quiz-options button>span{color:var(--st-muted);font-size:9px;flex-shrink:0}
.st-quiz-options button>b{margin-left:auto;font-size:13px}
.st-quiz-options button:hover:not(:disabled){border-color:var(--st-accent);background:var(--st-wash)}
.st-quiz-options button:disabled{opacity:1;cursor:default}
.st-quiz-options .st-correct{border-color:#74a58c;background:#74a58c14}
.st-quiz-options .st-incorrect{border-color:#b57680;background:#b5768012}
.st-quiz-hint{font-size:10px;line-height:1.7;color:var(--st-muted);margin-top:17px}
.st-quiz-explanation{padding:14px;border-left:2px solid var(--st-accent);margin:18px 0;background:var(--st-soft)}
.st-quiz-explanation strong{font-size:12px}
.st-quiz-explanation p{font-size:11px;color:var(--st-muted);line-height:1.7;margin-top:5px}
.st-quiz-next{font-size:11px;padding:11px 14px}
.st-quiz-result{display:flex;flex-direction:column;align-items:center;text-align:center;background:var(--st-soft);border:1px solid var(--st-border);border-radius:14px;padding:30px 20px;gap:16px}
.st-quiz-result>.st-icon{color:var(--st-accent);width:30px;height:30px}
.st-quiz-result>strong{font-size:48px;font-weight:500;letter-spacing:-2px}
.st-quiz-result strong small{font-size:20px;letter-spacing:0;color:var(--st-muted)}
.st-quiz-result h3{font-size:17px;line-height:1.5;letter-spacing:-.4px}
.st-quiz-result p{font-size:11px;color:var(--st-muted);line-height:1.7}
.st-quiz-result button{font-size:11px}
.st-mindmap{padding:20px 4px 10px;display:flex;flex-direction:column;align-items:center}
.st-map-root{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:550;border:1px solid var(--st-accent);border-radius:11px;background:var(--st-wash);padding:14px 19px;position:relative}
.st-map-root:after{content:'';position:absolute;height:25px;width:1px;bottom:-26px;left:50%;background:var(--st-border)}
.st-map-root .st-icon{color:var(--st-accent);width:19px;height:19px}
.st-map-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:9px;margin-top:48px}
.st-map-branch{position:relative;text-align:center;min-width:0}
.st-map-branch:before{content:'';position:absolute;left:50%;top:-24px;height:24px;width:1px;background:var(--st-border)}
.st-map-branch:after{content:'';position:absolute;top:-24px;left:-5px;right:-5px;height:1px;background:var(--st-border)}
.st-map-branch:first-child:after{left:50%}.st-map-branch:last-child:after{right:50%}
.st-map-branch>button{background:var(--st-soft);border:1px solid var(--st-border);border-radius:8px;font-size:11px;padding:12px 5px;width:100%;line-height:1.5}
.st-map-branch>button[aria-pressed=true]{border-color:var(--st-accent);background:var(--st-wash);color:var(--st-accent)}
.st-map-branch>span{display:flex;flex-direction:column;gap:6px;padding-top:12px}
.st-map-branch small{display:block;font-size:9px;line-height:1.6;color:var(--st-muted);padding:5px 3px;border-radius:5px;border:1px solid var(--st-border)}
.st-map-detail{background:var(--st-soft);border:1px solid var(--st-border);border-radius:9px;padding:15px;margin-top:20px}
.st-map-detail strong{font-size:12px;font-weight:550}
.st-map-detail p{font-size:11px;line-height:1.8;color:var(--st-muted);margin-top:6px}
.st-report{border:1px solid var(--st-border);border-radius:12px;overflow:hidden}
.st-report-cover{padding:25px 22px;background:var(--st-wash)}
.st-report-cover>.st-icon{color:var(--st-rose);margin-bottom:19px}
.st-report-cover>span{font-size:8px;letter-spacing:1.5px;color:var(--st-accent)}
.st-report-cover h3{font-size:24px;letter-spacing:-.8px;line-height:1.3;margin:11px 0}
.st-report-cover p{font-size:11px;line-height:1.7;color:var(--st-muted)}
.st-report section{padding:22px;border-top:1px solid var(--st-border)}
.st-report section>span{font-size:9px;color:var(--st-accent)}
.st-report h4{font-size:14px;line-height:1.5;margin:8px 0;font-weight:550}
.st-report section p,.st-report li{font-size:11px;color:var(--st-muted);line-height:1.9}
.st-report ul{padding-left:15px;margin:0}.st-report li{margin:9px 0}.st-report li strong{font-weight:550;color:var(--st-ink)}
.st-report-source-note{padding:16px 22px;border-top:1px solid var(--st-border);font-size:9px;line-height:1.7;color:var(--st-muted);background:var(--st-soft)}
.st-source-empty{padding:35px 8px;text-align:center;color:var(--st-muted)}
.st-source-empty>.st-icon{margin:0 auto 17px;color:var(--st-accent)}
.st-source-empty h3{color:var(--st-ink);font-size:12px;font-weight:500;line-height:1.6;letter-spacing:0;margin-bottom:9px}
.st-source-empty p,.st-mini-empty{font-size:10px;line-height:1.8;color:var(--st-muted)}
.st-dialog{width:min(560px,calc(100vw - 24px));max-width:none;padding:32px;border-radius:18px}
.st-dialog>.eyebrow{padding-right:25px;font-size:9px;margin:2px 0 14px}
.st-dialog>h2{margin-bottom:13px;line-height:1.3}
.st-dialog-intro,.st-dialog-note{font-size:12px;line-height:1.8;color:var(--muted)}
.st-dialog-note{font-size:11px;margin:16px 0}
.st-dialog form{margin-top:20px}
.st-dialog form>label{display:block;font-size:12px;margin:15px 0 8px}
.st-dialog form>input,.st-dialog textarea{display:block;width:100%;padding:12px 13px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:8px;font:inherit;font-size:13px}
.st-dialog textarea{resize:vertical;min-height:120px;max-height:350px;line-height:1.7}
.st-dialog form>.primary{margin-top:8px;font-size:12px}
.st-class-choices{border:0;padding:0;margin:20px 0}
.st-class-choices legend{font-size:12px;margin-bottom:10px}
.st-class-choices label{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:9px;border:1px solid var(--line);border-radius:7px;margin:0 5px 7px 0;color:var(--muted)}
.st-class-choices input{accent-color:var(--purple);width:14px;height:14px}
.st-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:23px 0}
.st-library-grid>button{text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:18px 15px;min-width:0;border:1px solid var(--line);border-radius:11px;background:var(--bg)}
.st-library-grid>.selected{border-color:#7e9ecb;background:#7e9ecb0b}
.st-library-grid .st-icon{color:#7e9ecb}
.st-library-grid strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere;font-weight:550}
.st-library-grid span,.st-library-grid small{font-size:10px;color:var(--muted);line-height:1.6}
.st-source-tabs{display:flex;gap:7px;margin-top:22px}
.st-source-tabs button{padding:10px 13px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:12px}
.st-source-tabs button[aria-pressed=true]{background:#7e9ecb16;border-color:#7e9ecb;color:var(--ink)}
.st-source-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:13px;color:var(--muted);margin-top:22px}
.st-mobile-tabs{display:none}
body[data-screen=study] .summary,body[data-screen=study] .header-actions{display:none!important}
@media(min-width:1001px) and (max-height:800px){.sidebar nav .nav{padding-top:8px;padding-bottom:8px}.sidebar .class-filter{padding-top:7px;padding-bottom:7px}}
@media(max-width:1300px){.st-layout{grid-template-columns:200px minmax(0,1fr) 245px;gap:12px}.st-sources,.st-studio{padding:18px 13px}.st-body{padding:24px 20px}.st-workspace-heading{padding:18px}.st-tool{padding:14px 9px}.st-welcome h2{font-size:32px}.st-tool-grid{gap:7px}.st-preview-badge{display:none}}
@media(max-width:1100px){.st-layout{grid-template-columns:175px minmax(0,1fr) 195px;gap:10px}.st-tool{padding:13px 8px}.st-tool strong{font-size:10px}.st-tool>small{font-size:8px}.st-tool-preview{font-size:7px}.st-center-label{font-size:7px}.st-workspace-heading{padding:16px 14px}.st-body{padding:22px 16px}.st-welcome .eyebrow{font-size:7px}.st-output-title{font-size:22px}.st-flashcard>strong{font-size:19px}.st-map-branches{gap:6px}.st-map-branch>button{font-size:10px}}
@media(max-width:850px){.st-notebook-bar{margin-bottom:17px;align-items:flex-start}.st-notebook-picker strong{font-size:21px}.st-bar-actions .outline{padding:9px}.st-bar-actions .outline>span{display:none}.st-bar-actions .outline>.st-icon{width:19px;height:19px}.st-notebook-picker>.st-icon{width:25px;height:25px;flex-basis:25px}.st-mobile-tabs{display:flex;gap:4px;padding:4px;background:var(--st-surface);border:1px solid var(--st-border);border-radius:10px;margin-bottom:14px}.st-mobile-tabs button{flex:1;padding:10px 5px;font-size:11px;line-height:1.4;border-radius:7px;color:var(--st-muted)}.st-mobile-tabs button[aria-pressed=true]{background:var(--st-wash);color:var(--st-accent)}.st-layout{display:block}.study-panel[data-study-tab=sources] .st-workspace,.study-panel[data-study-tab=sources] .st-studio,.study-panel[data-study-tab=workspace] .st-sources,.study-panel[data-study-tab=workspace] .st-studio,.study-panel[data-study-tab=tools] .st-sources,.study-panel[data-study-tab=tools] .st-workspace{display:none}.st-sources,.st-studio{padding:23px}.st-source-list{min-height:260px}.st-source-row{padding:15px 0;gap:12px}.st-source-row>button{font-size:13px}.st-source-row small{font-size:11px}.st-source-foot p{font-size:10px}.st-select-all{font-size:12px}.st-select-all small{font-size:11px}.st-source-search input{font-size:13px}.st-add-source{font-size:13px}.st-workspace{min-height:620px}.st-workspace-heading{padding:18px}.st-center-label{font-size:8px}.st-body{max-height:none;padding:26px 21px}.st-welcome{padding-top:22px}.st-welcome .eyebrow{font-size:8px}.st-welcome h2{font-size:35px}.st-welcome>p:not(.eyebrow){font-size:13px}.st-welcome-steps{font-size:12px}.st-start-example{font-size:12px}.st-preview-explainer strong,.st-preview-explainer p{font-size:11px}.st-composer{padding:18px}.st-composer textarea{font-size:13px}.st-composer>p{font-size:10px}.st-selected-count{font-size:10px}.st-tool-grid{gap:13px}.st-tool{min-height:170px;padding:20px 15px}.st-tool strong{font-size:14px}.st-tool>small{font-size:11px}.st-tool-preview{font-size:10px}.st-studio-intro{font-size:12px}.st-saved-empty p{font-size:12px}.st-studio-note{font-size:11px}.st-output-title{font-size:24px}.st-flashcard>strong{font-size:21px}.st-flashcard{min-height:280px}.st-output-description{font-size:12px}.st-quiz-options button{font-size:13px}.st-map-branch>button{font-size:11px}.st-report section p,.st-report li{font-size:12px}.st-session-note{font-size:10px}.st-dialog{padding:30px 22px}.st-class-choices label{min-height:40px}.st-dialog form>.primary{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.st-tool:hover{transform:none}.st-flashcard{transition:none}}

@media(min-width:1101px) and (max-width:1300px){.st-tool strong{font-size:12px}.st-tool>small{font-size:10px}.st-tool-preview{font-size:9px}}
/* Keep account controls reachable as the navigation gains a Study entry. */
@media(min-width:1001px){body:not(.mobile-layout) .sidebar{overflow:hidden}body:not(.mobile-layout) .sidebar :is(.wordmark,nav,.side-label,.side-divider,.classes-head,.sidebar-bottom){flex-shrink:0}body:not(.mobile-layout) #classFilters{flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-width:thin}body:not(.mobile-layout) .sidebar-bottom{margin-top:10px}}
@media(min-width:1001px) and (max-height:800px){body:not(.mobile-layout) .sidebar .quiet-card{display:none}}
.st-library-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;font-size:10px;color:var(--st-muted);line-height:1.7;margin:-7px 0 18px;padding:0 2px}
.st-library-status .text-btn{color:var(--st-accent);font-size:10px}
.st-library-status.st-save-error{border-left:2px solid #c68e6d;padding:8px 12px;background:var(--st-soft);border-radius:4px;color:var(--st-ink)}
.st-pdf-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;position:relative;min-height:145px;border:1px dashed #8eabc8;background:#7e9ecb0a;border-radius:12px;margin:20px 0 10px;padding:22px;text-align:center;cursor:pointer;overflow:hidden}
.st-pdf-drop>span{font-size:25px;color:#7e9ecb;line-height:1}
.st-pdf-drop>strong{font-size:14px;font-weight:550}
.st-pdf-drop>small{font-size:11px;color:var(--muted);line-height:1.5}
.st-pdf-drop input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0;margin:0}
.st-pdf-drop:focus-within,.st-pdf-drop.st-dragover{border-style:solid;outline:2px solid #8eabc8;outline-offset:3px;background:#7e9ecb16}
.st-file-name{font-size:11px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere;margin-bottom:13px}
.st-text-fields>label{display:block;font-size:12px;margin:15px 0 8px}
.st-import-progress{padding:12px 14px;margin:14px 0;font-size:12px;line-height:1.7;border:1px solid var(--line);border-radius:8px;background:#7e9ecb0c;color:var(--ink)}
.st-import-meta{font-size:11px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere;margin:10px 0}
.st-original-link{display:inline-flex;font-size:12px;margin:8px 0;overflow-wrap:anywhere}
@media(max-width:850px){.st-library-status{font-size:10px;margin:0 0 15px}.st-source-tabs{gap:5px}.st-source-tabs button{padding:9px 10px;font-size:11px;flex:1;white-space:nowrap}.st-pdf-drop{padding:20px 10px}.st-pdf-drop>small{font-size:10px}}
@media(max-width:850px){.st-source-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.st-source-tabs button{width:100%;white-space:normal}}
