:root{--theme-canvas:#fff;--theme-workspace:#f7f8fa;--theme-panel:#fff;--theme-sidebar:#f7f8f6;--theme-wash:#f1f5ec;--theme-input:#fff;--theme-text:#29382b;--theme-heading:#344b30;--theme-muted:#5d6c56;--theme-border:#dfe6d7;--theme-input-border:#b1c0a6;--theme-accent:#36513c;--theme-on-accent:#fff;--theme-soft:#e9f0e1;--theme-focus:#688f4f;--theme-danger-bg:#fff0ed;--theme-danger-text:#9c342b;--theme-warning-bg:#faf5e9;--theme-warning-text:#795d31;--theme-success-bg:#e7f7ec;--theme-success-text:#28633d;--theme-shadow:0 16px 48px #25351c14;--theme-scrim:#22301940}html[data-study-theme=sand]{--theme-canvas:#f5eee2;--theme-workspace:#f5eee2;--theme-panel:#fffaf2;--theme-sidebar:#eee5d6;--theme-wash:#ede5d5;--theme-input:#fffdf8;--theme-text:#3b352b;--theme-heading:#59482f;--theme-muted:#6d6153;--theme-border:#dacebc;--theme-input-border:#a69883;--theme-accent:#725738;--theme-on-accent:#fffaf2;--theme-soft:#e8decc;--theme-focus:#85643a;--theme-shadow:0 16px 48px #4c371d19;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-study-theme=sage]{--theme-canvas:#edf2e8;--theme-workspace:#edf2e8;--theme-panel:#f8fbf4;--theme-sidebar:#e3ebdc;--theme-wash:#e0e9d6;--theme-input:#fafff7;--theme-text:#29382b;--theme-heading:#344d30;--theme-muted:#556b50;--theme-border:#c8d5bf;--theme-input-border:#94aa86;--theme-accent:#365b3a;--theme-on-accent:#fff;--theme-soft:#dce9d1;--theme-focus:#567a43;--theme-shadow:0 16px 48px #253c1919;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-study-theme=midnight]{--theme-canvas:#111815;--theme-workspace:#111815;--theme-panel:#1b2520;--theme-sidebar:#141e19;--theme-wash:#233127;--theme-input:#17211b;--theme-text:#edf2e9;--theme-heading:#e3eed6;--theme-muted:#afc0a8;--theme-border:#394a3d;--theme-input-border:#71846a;--theme-accent:#bed3a7;--theme-on-accent:#182318;--theme-soft:#2d402b;--theme-focus:#c6eaa2;--theme-danger-bg:#392320;--theme-danger-text:#ffc1b2;--theme-warning-bg:#362c1b;--theme-warning-text:#ead2a0;--theme-success-bg:#203729;--theme-success-text:#b6e2ba;--theme-shadow:0 18px 55px #0000004d;--theme-scrim:#0000008c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html[data-study-theme]:not([data-study-theme=paper]){--background:var(--theme-workspace);--foreground:var(--theme-text);--muted:var(--theme-muted);--line:var(--theme-border);--panel:var(--theme-panel);--blue:var(--theme-accent);--lime:var(--theme-soft)}.theme-picker{color:var(--theme-text);font-size:.875rem}.theme-picker-compact{flex:none;display:inline-flex;position:relative}.theme-picker .theme-picker-trigger{border:1px solid var(--theme-border);background:var(--theme-panel);min-height:44px;color:var(--theme-muted);white-space:nowrap;border-radius:22px;justify-content:center;align-items:center;gap:7px;padding:10px 12px;font-size:.75rem;line-height:1.4;display:inline-flex}.theme-picker .theme-picker-trigger:hover,.theme-picker .theme-picker-trigger[aria-expanded=true]{background:var(--theme-soft);color:var(--theme-heading)}.theme-picker .theme-picker-popover{z-index:60;border:1px solid var(--theme-border);background:var(--theme-panel);width:340px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 110px);box-shadow:var(--theme-shadow);text-align:left;border-radius:16px;padding:20px;position:absolute;top:calc(100% + 11px);right:0;overflow-y:auto}.theme-picker.theme-align-left .theme-picker-popover{left:0;right:auto}.theme-picker .theme-popover-heading h2{letter-spacing:-.03em;color:var(--theme-heading);font:400 1.35rem/1.3 Georgia,Times New Roman,serif}.theme-picker .theme-popover-heading p{color:var(--theme-muted);margin-top:7px;font-size:.75rem;line-height:1.7}.theme-picker .theme-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:20px;display:grid}.theme-picker .theme-option{border:1px solid var(--theme-border);background:var(--theme-panel);text-align:left;min-width:0;color:var(--theme-text);border-radius:11px;flex-direction:column;align-items:stretch;padding:8px;display:flex}.theme-picker .theme-option:hover{background:var(--theme-wash)}.theme-picker .theme-option.selected{border-color:var(--theme-accent);box-shadow:0 0 0 1px var(--theme-accent);background:var(--theme-wash)}.theme-picker .theme-swatch{background:var(--swatch-background);border:1px solid color-mix(in srgb,var(--swatch-accent) 18%,transparent);border-radius:7px;justify-content:center;align-items:center;min-height:69px;display:flex;position:relative;overflow:hidden}.theme-picker .theme-swatch>i{background:var(--swatch-surface);border-right:1px solid color-mix(in srgb,var(--swatch-accent) 12%,transparent);width:16%;position:absolute;top:0;bottom:0;left:0}.theme-picker .theme-swatch>span{gap:5px;width:45%;margin-left:13%;display:grid;transform:translateY(5px)}.theme-picker .theme-swatch b{background:var(--swatch-accent);opacity:.48;border-radius:4px;height:3px}.theme-picker .theme-swatch b:first-child{opacity:.75;width:70%;margin:0 auto 3px}.theme-picker .theme-swatch b:last-child{background:var(--swatch-surface);border:1px solid color-mix(in srgb,var(--swatch-accent) 25%,transparent);opacity:1;height:10px}.theme-picker .theme-swatch>em{background:var(--swatch-accent);opacity:.7;border-radius:4px;width:16px;height:5px;position:absolute;top:7px;right:8px}.theme-picker .theme-option-label{color:var(--theme-text);justify-content:space-between;align-items:center;gap:5px;margin:10px 2px 0;font-size:.8rem;font-weight:500;display:flex}.theme-picker .theme-option-label>svg{color:var(--theme-accent)}.theme-picker .theme-option>small{color:var(--theme-muted);margin:4px 2px 2px;font-size:.72rem;line-height:1.55}.theme-picker .theme-picker-note{color:var(--theme-muted);margin:17px 0 0;font-size:.72rem;line-height:1.7}.theme-picker .theme-picker-done{background:var(--theme-accent);width:100%;min-height:44px;color:var(--theme-on-accent);border-radius:9px;justify-content:center;align-items:center;gap:8px;margin-top:14px;font-size:.8rem;display:flex}.theme-picker-panel{border:1px solid var(--theme-border);background:var(--theme-panel);border-radius:13px;padding:25px}.theme-picker .theme-picker-heading{align-items:flex-start;gap:13px;display:flex}.theme-picker .theme-picker-icon{background:var(--theme-soft);width:38px;height:38px;color:var(--theme-heading);border-radius:10px;flex:none;place-items:center;display:grid}.theme-picker .theme-picker-heading h2{letter-spacing:-.03em;color:var(--theme-heading);font:400 1.45rem/1.3 Georgia,Times New Roman,serif}.theme-picker .theme-picker-heading p{color:var(--theme-muted);margin-top:7px;font-size:.8rem;line-height:1.7}.theme-picker-panel .theme-options{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:24px}.theme-picker button:focus-visible{outline:3px solid var(--theme-focus);outline-offset:4px}html[data-study-theme]:not([data-study-theme=paper]) body{background:var(--theme-workspace);color:var(--theme-text)}html[data-study-theme]:not([data-study-theme=paper]) :is(.tutor-home,.home-main,.workspace,.auth-page,.legal){background:var(--theme-canvas)!important;color:var(--theme-text)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.tutor-home,.workspace,.auth-page,.legal) *{border-color:var(--theme-border)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.tutor-home,.exam-studio){--home-ink:var(--theme-text);--home-muted:var(--theme-muted);--home-line:var(--theme-border);--studio-green:var(--theme-accent);--studio-ink:var(--theme-text);--studio-muted:var(--theme-muted);--studio-line:var(--theme-border)}html[data-study-theme]:not([data-study-theme=paper]) :is(.card,.stat,.course-card,.flashcard,.topbar,.dialog,.hero-panel,.auth-content,.home-composer,.composer-tool-menu,.course-picker-panel,.studio-controls,.studio-output,.price-card,.panel-stat,.footer){background:var(--theme-panel)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.sidebar,.home-sidebar,.home-explainer,.studio-history){background:var(--theme-sidebar)!important;border-color:var(--theme-border)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.new-chat,.empty,.studio-empty-course){background:var(--theme-panel)!important;color:var(--theme-muted)!important;border-color:var(--theme-border)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.source-excerpt,.upgrade-box,.save-work,.home-level-control,.studio-modes,.studio-answer-question,.studio-style-explanation,.studio-style-option,.studio-style-option:hover,.hero-callout){background:var(--theme-wash)!important;color:var(--theme-text)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.course-context,.demo-banner,.citation,.source-kind,.syllabus-practice-note,.studio-demo-notice,.studio-preview-label,.studio-output-badge,.studio-preview-settings>span,.studio-answer-meta>span,.studio-saved-settings,.studio-style-option.selected,.studio-modes button:hover,.studio-modes button.active,.course-picker-trigger,.tool-menu-upload,.tool-menu-upload:hover,.studio-copy,.badge,.avatar,.course-icon){background:var(--theme-soft)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.home-nav.active,.nav-item.active,.home-nav:hover,.nav-item:hover,.icon-button:hover,.tool-menu-trigger:hover,.tool-menu-trigger[aria-expanded=true],.tool-tile:hover,.prompt-grid button:hover,.home-login:hover),html[data-study-theme]:not([data-study-theme=paper]) :is(.message.user,.home-message.user){background:var(--theme-soft)!important;color:var(--theme-text)!important}html[data-study-theme]:not([data-study-theme=paper]) .message.assistant{background:var(--theme-panel)!important;color:var(--theme-text)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.studio-output-icon,.tool-tile-icon){background:var(--theme-soft)!important;color:var(--theme-heading)!important;border-color:var(--theme-border)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.studio-divider,.studio-paper-lines>i,.progress){background:var(--theme-wash)!important}html[data-study-theme]:not([data-study-theme=paper]) .progress>span{background:var(--theme-accent)!important}html[data-study-theme]:not([data-study-theme=paper]) .home-new-conversation{background:var(--theme-soft)!important;color:var(--theme-heading)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.workspace,.tutor-home,.auth-page,.dialog) :is(input,textarea,select,.input){accent-color:var(--theme-accent);background:var(--theme-input)!important;color:var(--theme-text)!important;border-color:var(--theme-input-border)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(input,textarea)::placeholder{opacity:1;color:var(--theme-muted)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.home-composer textarea,.home-level-control select){background:0 0!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.button.blue,.button.dark,.send-circle,.brand-mark,.check-circle.done){background:var(--theme-accent)!important;color:var(--theme-on-accent)!important;border-color:var(--theme-accent)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.button.lime,.button.outline){background:var(--theme-soft)!important;color:var(--theme-text)!important;border-color:var(--theme-input-border)!important}html[data-study-theme]:not([data-study-theme=paper]) .send-circle:disabled{background:var(--theme-wash)!important;color:var(--theme-muted)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.focus-card,.auth-aside){background:var(--theme-accent)!important;color:var(--theme-on-accent)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.focus-card,.auth-aside) :is(h1,h2,p,small,.eyebrow,.focus-footer){color:var(--theme-on-accent)!important}html[data-study-theme]:not([data-study-theme=paper]) .focus-card .button{background:var(--theme-panel)!important;color:var(--theme-text)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.tutor-home,.workspace,.auth-content,.legal) :is(h1,h2,h3,.brand,.course-context strong,.studio-style-option strong,.studio-paper-metrics strong,.studio-history-item strong){color:var(--theme-heading)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.tutor-emblem,.answer-brand>span,.score){color:var(--theme-accent)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.tutor-emblem>span,.studio-question-preview>div>span,.studio-section-title>span){color:var(--theme-muted)!important;background-color:#0000!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.home-message.assistant,.answer-text,.message,.flashcard h2,.source-excerpt,.syllabus-summary,.studio-answer-text,.studio-answer-question>p,.studio-question-preview p,.studio-answer-points li,.studio-style-explanation>p,.studio-field,.form-grid label,.field){color:var(--theme-text)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.muted,.field-help,.ai-note,.nav-label,.nav-item,.topbar-right,.stat-top,.stat small,.task-row small,.topic-row small,.course-card p,.course-card footer,.source-row small,.source-row button,.exam-meta,.legal p,.account-link small,.page-heading p,.flashcard p,.sidebar-label,.home-subject,.home-login,.home-nav,.icon-button,.new-chat,.add-notes,.add-notes small,.save-work p,.sidebar-links,.nav-preview,.home-ai-note,.home-footer,.home-footer>span,.answer-brand,.answer-brand>small,.thinking,.continue-prompt a,.continue-prompt>span,.tutor-intro>p,.home-how-link,.prompt-grid button,.prompt-grid button>svg,.tool-menu-trigger,.tool-tile,.tool-menu-note,.tool-menu-upload small,.home-explainer-heading p,.home-explainer-grid p,.home-explainer-grid article>span,.home-level-control>span,.studio-heading p,.studio-course>.field,.studio-source-note,.studio-source-action,.studio-helper,.studio-optional,.studio-field>small,.studio-style-option small,.studio-style-notes summary,.studio-style-notes summary>span,.studio-style-notes>small,.studio-create-action>p,.studio-demo-switch,.studio-output-empty>p,.studio-generating-detail,.studio-result-context,.studio-paper-metrics,.studio-question-preview strong,.studio-question-preview>div>small,.studio-scope-note,.studio-answer-source,.studio-answer-source>button,.studio-history>p,.studio-history-item,.studio-history-item small,.studio-history-heading>span,.studio-usage-note),html[data-study-theme]:not([data-study-theme=paper]) :is(.tutor-home,.workspace) .eyebrow,html[data-study-theme]:not([data-study-theme=paper]) :is(.home-subject-label,.home-explainer-grid small),html[data-study-theme]:not([data-study-theme=paper]) :is(.price-card.featured p,.price-card.featured h3 small,.price-card>small,.feature-grid article>div>span){color:var(--theme-muted)!important}html[data-study-theme]:not([data-study-theme=paper]) .studio-saved-settings strong,html[data-study-theme]:not([data-study-theme=paper]) :is(.syllabus-topics ul,.syllabus-links a,.text-link,.ghost,.studio-answer-points li>svg,.home-explainer-grid article>svg){color:var(--theme-heading)!important}html[data-study-theme]:not([data-study-theme=paper]) .notice{background:var(--theme-soft)!important;color:var(--theme-text)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.notice.error,.button.danger){background:var(--theme-danger-bg)!important;color:var(--theme-danger-text)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.studio-history>.studio-history-error,.workspace .text-link[style*=color]){color:var(--theme-danger-text)!important}html[data-study-theme]:not([data-study-theme=paper]) .notice.success{background:var(--theme-success-bg)!important;color:var(--theme-success-text)!important}html[data-study-theme]:not([data-study-theme=paper]) .studio-stale-note{background:var(--theme-warning-bg)!important;color:var(--theme-warning-text)!important}html[data-study-theme]:not([data-study-theme=paper]) .source-stale{color:var(--theme-warning-text)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(.composer-tool-menu,.course-picker-panel,.dialog,.theme-picker-popover){box-shadow:var(--theme-shadow)!important}html[data-study-theme]:not([data-study-theme=paper]) .dialog::backdrop,html[data-study-theme]:not([data-study-theme=paper]) .home-sidebar-scrim{background:var(--theme-scrim)!important}html[data-study-theme]:not([data-study-theme=paper]) :is(button,a,input,textarea,select):focus-visible{outline-color:var(--theme-focus)!important}html[data-study-theme=midnight] .home-composer{box-shadow:0 5px 24px #0000001f!important}html[data-study-theme]:not([data-study-theme=paper]) .workspace .focus-card :is(h1,h2,p,small,.eyebrow,.focus-footer),html[data-study-theme]:not([data-study-theme=paper]) .auth-page .auth-aside :is(h1,h2,p,small,.eyebrow,.brand){color:var(--theme-on-accent)!important}html[data-study-theme]:not([data-study-theme=paper]) .theme-picker .theme-option.selected{border-color:var(--theme-accent)!important}html[data-study-theme]:not([data-study-theme=paper]) .theme-picker .theme-picker-done{color:var(--theme-on-accent)!important;background:var(--theme-accent)!important}@media (max-width:760px){.theme-picker-panel .theme-options{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-picker-panel{padding:21px}.theme-picker .theme-picker-trigger{min-width:44px;padding:10px}.theme-picker-compact .theme-picker-trigger>span,.theme-picker-compact .theme-picker-trigger>svg:last-child{display:none}.theme-picker .theme-picker-popover{width:340px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 92px);position:fixed;top:76px;left:auto;right:16px}.theme-picker.theme-align-left .theme-picker-popover{left:16px;right:auto}.theme-picker .theme-picker-heading h2{font-size:1.3rem}.theme-picker .theme-option>small{font-size:.75rem}}@media (prefers-reduced-motion:reduce){.theme-picker *{transition:none!important;animation:none!important}}
