@charset "UTF-8";
:root{--ink:var(--brand-ink);--muted:var(--brand-muted);--line:var(--brand-line);--paper:var(--brand-paper);--action:var(--brand-action);--accent-pale:var(--brand-tint);--white:#fff;--accent:#6b4a59;--radius:17px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-size:16px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}button,a{touch-action:manipulation}button{transition:background .16s,color .16s,box-shadow .16s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--brand-focus);outline-offset:3px}button svg,.local-note svg{flex-shrink:0}svg{display:block;width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button{border:0}textarea{resize:vertical;line-height:1.65}input,textarea,select{min-width:0}::selection{background:var(--brand-tint)}input::placeholder,textarea::placeholder{color:#929a94}button.primary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 20px;border-radius:10px;background:var(--action);color:white;font-weight:600;font-size:.9375rem}button.primary:hover{background:#4f3641;box-shadow:0 3px 12px #3a242e1c}.secondary{border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:10px 18px}.quiet{display:flex;align-items:center;gap:7px;background:none;color:#6e5b63;padding:8px 9px;font-size:.875rem;border-radius:7px;white-space:nowrap}.quiet:hover{background:#f0e4e9;color:var(--action)}.quiet.small{font-size:.875rem}.icon-button{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:8px;background:transparent;color:var(--muted)}.icon-button:hover{background:#f3e7ec}.skip{position:fixed;top:-80px;left:20px;z-index:100;background:var(--action);color:white;padding:15px}.skip:focus{top:10px}
.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:var(--brand-white);color:#f0e4e9;display:flex;flex-direction:column;padding:37px 20px 24px;z-index:20}.brand{display:flex;gap:12px;align-items:center;padding:0 9px;font-weight:650;letter-spacing:.5px;font-size:1.12rem}.brand-mark{display:flex;align-items:center;justify-content:center;background:var(--accent-pale);color:#3a272f;width:43px;height:43px;border-radius:13px;font-size:1.3rem;box-shadow:3px 3px 0 #58434c}.brand small{display:block;color:#b09fa7;font-weight:400;font-size:.75rem;letter-spacing:2px;margin-top:6px}.nav-caption{color:#a7959d;font-size:.75rem;letter-spacing:1.2px;margin:53px 14px 15px}.nav-item{display:flex;align-items:center;gap:12px;background:transparent;width:100%;padding:15px 13px;margin:4px 0;color:#c2b5bb;font-size:.9375rem;text-align:left;border-radius:10px}.nav-item:hover{background:#39262e;color:white}.nav-item.active{background:var(--accent-pale);color:#33232a;font-weight:650}.nav-badge{font-size:.6875rem;background:#cd8fab;border-radius:5px;padding:3px 5px;margin-left:auto;white-space:nowrap}.nav-count{margin-left:auto;color:#b7a7ae;font-size:.8125rem}.sidebar-bottom{margin-top:auto}.course-mini{border:1px solid #4d3c44;border-radius:13px;padding:18px 15px;background:linear-gradient(135deg,#3c2b33,#36222b);margin-top:35px}.mini-label{font-size:.75rem;color:#b4a1a9}.course-mini strong{display:block;margin:10px 0;font-size:.9375rem;line-height:1.6;max-height:3.2em;overflow:hidden}.course-mini p{font-size:.8125rem;line-height:1.8;color:#bcadb4}.course-mini button{background:transparent;border-top:1px solid #52434a;color:#e2cfd7;display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:17px;padding:14px 0 0;font-size:.875rem}.course-mini button svg{width:16px;height:16px}.local-note{display:flex;gap:6px;align-items:center;color:#ac9ba3;font-size:.6875rem;white-space:nowrap;margin:18px 0 0 3px}.local-note svg{width:13px;height:13px}.workspace{margin-left:236px}.topbar{height:77px;background:#fbf9fa;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 42px;font-size:.8125rem}.breadcrumb{color:#a08d95}.slash{margin:0 14px;color:#bfb1b7}main{padding:40px 42px 0;max-width:1540px;margin:auto;outline:none}.hero{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:33px}.eyebrow{font-size:.6875rem;letter-spacing:1.7px;font-weight:600;color:#7f6973;margin-bottom:16px}.eyebrow span{margin:0 7px}h1{font-size:clamp(1.5rem,2.3vw,2rem);letter-spacing:-.6px;font-weight:650;line-height:1.5}.hero p{font-size:.875rem;color:var(--muted);margin-top:10px;line-height:1.7}.hero-note{display:flex;gap:13px;align-items:center;font-size:.75rem;line-height:1.9;color:#927b85;white-space:nowrap;padding-left:18px}.hero-note strong{font-size:.75rem;font-weight:500;color:#654f59}.note-spark{font-size:46px;color:#b48399;line-height:1}.editor-layout{display:grid;grid-template-columns:minmax(300px,355px) minmax(0,1fr);gap:28px;align-items:start}.panel{border:1px solid var(--line);border-radius:var(--radius);background:white;box-shadow:0 5px 20px #33202803}.control-panel{padding:25px;position:sticky;top:22px}.panel-title{display:flex;gap:11px;align-items:center;margin-bottom:26px}.panel-title h2,.settings-intro h2{font-size:1rem;font-weight:650}.panel-title p{font-size:.75rem;color:#879087;line-height:1.6;margin-top:5px}.icon-tile{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px;background:#f3e4eb;color:#705561;flex-shrink:0}.icon-tile svg{width:19px;height:19px}fieldset{border:0;margin:0 0 23px;padding:0;min-width:0}legend{font-size:.875rem;font-weight:550;margin-bottom:11px;padding:0}.segmented{display:flex;background:#f5eff2;border:1px solid #f2e7ec;padding:4px;border-radius:9px;gap:2px}.segmented label{flex:1;position:relative}.segmented input,.theme-option input{position:absolute;opacity:0;width:1px;height:1px}.segmented span{display:block;text-align:center;padding:10px 3px;border-radius:6px;font-size:.8125rem;color:#7b857b;cursor:pointer;white-space:nowrap}.segmented input:checked+span{background:white;color:#46303a;box-shadow:0 2px 5px #1e11170d;font-weight:600}.segmented input:focus-visible+span,.theme-option input:focus-visible+span{outline:3px solid var(--brand-focus);outline-offset:1px}.theme-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.theme-option{position:relative}.theme-option span{display:flex;align-items:center;justify-content:center;padding:10px 4px;border:1px solid #e8e3e5;border-radius:8px;font-size:.8125rem;color:#7d6871;cursor:pointer;transition:.15s}.theme-option input:checked+span{border-color:#8e6477;background:#f6e7ee;color:#5d3949;font-weight:600;box-shadow:inset 0 0 0 .5px #8e6477}.theme-option:last-child{grid-column:1 / -1}.theme-option span:hover{background:#f9f0f4}.field{display:flex;flex-wrap:wrap;gap:9px;align-content:start;font-size:.875rem;font-weight:550;margin-bottom:22px;min-width:0}.field input,.field select,.field textarea{display:block;width:100%;background:#fdfbfc;border:1px solid #e4dde0;padding:11px 12px;border-radius:8px;color:#413339;font-size:.875rem;font-weight:400}.field select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23767f72' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field-hint{font-size:.75rem;color:#99848d;font-weight:400;line-height:1.7}.optional{margin-left:auto;color:#ab99a1;font-size:.75rem;font-weight:400}.generate{width:100%;margin-top:3px}.engine-note{text-align:center;font-size:.6875rem;color:#9d8992;margin-top:13px;line-height:1.6}.output-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;margin:2px 0 20px}.output-toolbar h2{font-size:1rem;font-weight:600}.output-toolbar>div>span{display:block;color:#99848d;font-size:.75rem;margin-top:7px;line-height:1.5}.results{display:flex;flex-direction:column;gap:17px}.result-card{border:1px solid var(--line);border-radius:var(--radius);padding:24px 25px 0;background:#fff;box-shadow:0 4px 15px #35232b03;overflow:hidden}.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.card-heading{display:flex;align-items:center;gap:10px;min-width:0}.card-heading h3{font-size:.875rem;font-weight:600;line-height:1.7}.tag{display:inline-flex;align-items:center;gap:5px;font-size:.6875rem;border:1px solid #e6d9df;background:#f7eaf0;color:#765765;padding:4px 7px;border-radius:6px;white-space:nowrap}.tag.dark{color:#705a64;background:#f5edf1;border-color:#e9e1e5}.card-number{font-size:.75rem;color:#9e7d8c;letter-spacing:.4px}.result-text{font-size:1rem;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:.15px}.image-tip{display:flex;align-items:flex-start;gap:8px;background:#f9f1f5;border-radius:8px;margin-top:19px;padding:10px 12px;font-size:.75rem;color:#8e7781;line-height:1.7}.image-tip svg{width:15px;height:15px;margin-top:2px;flex-shrink:0}.card-actions{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f3e8ed;margin-top:22px;padding:12px 0;gap:7px}.char-count{font-size:.6875rem;color:#ac9aa2}.actions-right{display:flex;align-items:center;gap:5px}.copy-btn{display:flex;align-items:center;gap:6px;color:#624954;background:#f6e8ee;border:1px solid #eadbe2;border-radius:7px;font-size:.8125rem;padding:7px 10px}.copy-btn svg{width:14px;height:14px}.copy-btn:hover{background:#ebdce3}.starred{color:#8e4063;background:#f6e5ed}.starred svg{fill:#dda4bd}.bottom-tip{display:flex;align-items:center;gap:8px;color:#9a858e;font-size:.75rem;padding:21px 3px;line-height:1.7}.bottom-tip svg{width:16px;height:16px;flex-shrink:0}.page-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:36px;padding:23px 0;color:#a49099;font-size:.6875rem;letter-spacing:.4px}.quick-examples{display:flex;gap:7px;flex-wrap:wrap;margin:-9px 0 22px}.quick-examples button{background:#f7edf1;color:#876f7a;font-size:.75rem;border-radius:6px;padding:6px 9px}.quick-examples button:hover{background:#ebdee4}.strategy-card{padding:20px 23px;border:1px solid #e2ced7;background:#f5e7ed;border-radius:14px}.strategy-card .strategy-heading{display:flex;align-items:center;gap:9px;font-size:.875rem;font-weight:600;color:#5e3e4c;margin-bottom:10px}.strategy-card p{font-size:.875rem;line-height:1.8;color:#7e6972}.suggestion-card{border:1px dashed #ddcfd5;border-radius:14px;padding:22px;background:#fbf6f8}.suggestion-card h3{font-size:.875rem;color:#705662;margin-bottom:10px}.suggestion-card p{font-size:.875rem;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.followup-row{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.followup-row strong{font-size:.75rem;display:block;margin-bottom:6px;color:#89707b}.reminders{font-size:.75rem;color:#927c86;line-height:1.8;padding-left:20px;margin-bottom:0}.history-toolbar{display:flex;justify-content:space-between;gap:15px;margin-bottom:16px;align-items:center}.filter-group{display:flex;gap:5px}.filter-group button{padding:10px 15px;border-radius:8px;background:none;font-size:.875rem;color:#89717c}.filter-group button.active{background:var(--action);color:white}.search-field{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:white}.search-field svg{color:#957f89}.search-field input{border:0;outline:none;background:none;max-width:200px;font-size:.875rem}.history-info{color:#927b85;font-size:.75rem;line-height:1.8;margin-bottom:25px}.history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;align-items:start}.history-card{background:white;border:1px solid var(--line);border-radius:14px;padding:21px;min-width:0}.history-card h3{font-size:.9375rem;margin:14px 0 10px}.history-card p{font-size:.875rem;line-height:1.8;color:#836d77;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.history-meta{display:flex;justify-content:space-between;gap:9px;align-items:center;color:#a38f98;font-size:.6875rem}.history-buttons{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:17px;padding-top:13px}.empty-state{grid-column:1/-1;text-align:center;padding:90px 25px;background:white;border:1px dashed #ddced5;border-radius:16px}.empty-state>span{display:inline-flex;color:#9f7688;background:#f6e5ed;padding:17px;border-radius:18px;margin-bottom:18px}.empty-state h3{font-size:1rem;margin-bottom:10px}.empty-state p{font-size:.875rem;color:#96808a;line-height:1.9}.empty-state button{margin:23px auto 0}.settings-panel{max-width:880px;padding:30px}.settings-intro{display:flex;align-items:center;gap:14px;margin-bottom:30px}.settings-intro p{font-size:.875rem;line-height:1.8;color:#927b85;margin-top:6px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.full{grid-column:1/-1}.settings-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:22px;border-top:1px solid var(--line)}.settings-footer>span{color:#967f89;font-size:.75rem;line-height:1.7}.data-note{display:flex;gap:12px;max-width:880px;margin-top:25px;padding:0 4px;color:#957f89}.data-note svg{flex-shrink:0;margin-top:3px}.data-note strong{font-size:.8125rem;font-weight:500}.data-note p{font-size:.75rem;margin-top:7px;line-height:1.8}.toast{position:fixed;bottom:30px;left:calc(50% + 118px);transform:translateX(-50%);max-width:calc(100vw - 35px);background:var(--brand-action);color:#fff;box-shadow:0 6px 25px #25151c30;padding:13px 22px;border-radius:10px;font-size:.875rem;z-index:100;line-height:1.6}dialog{width:min(620px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:18px;padding:27px;color:var(--ink);box-shadow:0 24px 70px #24171d33}dialog::backdrop{background:#28181f5c;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-heading h2{font-size:1.2rem}dialog p{font-size:.875rem;color:#8a727d;line-height:1.8;margin-bottom:16px}dialog textarea{width:100%;border:1px solid #ddd1d6;border-radius:9px;padding:14px;font-size:1rem;line-height:1.9}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:17px}.help-steps{padding-left:23px;margin:27px 0 15px}.help-steps li{padding-left:8px;margin-bottom:22px}.help-steps strong{font-size:1rem}.help-steps p{margin-top:8px}.help-note{font-size:.8125rem;color:#866f79;line-height:1.9;padding:16px;background:#f7e9ef;border-radius:10px}.noscript{position:fixed;inset:0;display:grid;place-items:center;background:white;z-index:100}
@media(min-width:1500px){main{padding-top:48px}.hero{margin-bottom:38px}.editor-layout{grid-template-columns:370px minmax(0,1fr);gap:33px}.control-panel{padding:28px}.result-card{padding-left:29px;padding-right:29px}}
@media(max-width:1200px){.sidebar{width:213px;padding:30px 16px}.workspace{margin-left:213px}main{padding:32px 28px 0}.topbar{padding:0 28px}.hero-note{display:none}.editor-layout{grid-template-columns:300px minmax(0,1fr);gap:20px}.control-panel{padding:21px}.result-card{padding:21px 21px 0}.card-heading{gap:7px;flex-wrap:wrap}.toast{left:calc(50% + 106px)}}
@media(max-width:990px){.sidebar{width:182px;padding:28px 12px}.brand{padding:0 6px;font-size:.9375rem;gap:9px}.brand-mark{width:36px;height:36px;font-size:1.1rem}.brand small{font-size:.625rem}.nav-item{font-size:.8125rem;padding:14px 11px;gap:9px}.nav-badge{display:none}.course-mini{padding:13px}.course-mini strong{font-size:.8125rem}.local-note{font-size:.5625rem;gap:3px}.workspace{margin-left:182px}main{padding:28px 23px 0}.topbar{height:65px;padding:0 23px}.editor-layout{grid-template-columns:1fr}.control-panel{position:static}.theme-grid{grid-template-columns:repeat(4,1fr)}.theme-option:last-child{grid-column:auto}.output-toolbar{margin-top:10px}.hero{margin-bottom:25px}.history-grid{grid-template-columns:1fr}.history-toolbar{align-items:stretch;flex-direction:column}.search-field input{max-width:none;width:100%}.toast{left:calc(50% + 91px)}.course-mini p{font-size:.75rem}}
@media(max-width:640px){.sidebar{position:sticky;top:0;width:100%;height:auto;padding:12px 17px 0;background:var(--brand-white);flex-direction:row;flex-wrap:wrap;gap:10px;box-shadow:0 3px 15px #291b2115}.brand{font-size:.9375rem;padding:0;gap:10px;width:100%}.brand-mark{width:31px;height:31px;border-radius:9px;font-size:1rem}.brand small{display:inline;margin-left:13px;font-size:.6875rem;letter-spacing:1px}.nav-caption,.sidebar-bottom{display:none}.sidebar nav{display:flex;width:100%;justify-content:space-between;gap:4px}.nav-item{padding:11px 9px;margin:0 0 8px;justify-content:center;gap:6px;white-space:nowrap;font-size:.8125rem}.nav-item svg{width:16px;height:16px}.nav-count{display:none}.workspace{margin-left:0}.topbar{height:49px;padding:0 18px;font-size:.75rem}.topbar .quiet{font-size:.75rem}.topbar .quiet svg{width:15px;height:15px}.slash{margin:0 9px}main{padding:25px 17px 0}.eyebrow{font-size:.625rem;letter-spacing:1px;margin-bottom:11px}h1{font-size:1.4rem;letter-spacing:-.5px}.hero p{font-size:.8125rem;line-height:1.8}.hero{margin-bottom:23px}.control-panel{padding:21px}.panel-title{margin-bottom:23px}.theme-grid{grid-template-columns:1fr 1fr}.theme-option:last-child{grid-column:1/-1}.field input,.field select,.field textarea{font-size:1rem}.result-card{padding:20px 20px 0}.result-text{font-size:1rem;line-height:1.95}.card-top{margin-bottom:15px}.output-toolbar .quiet{padding:7px 0 7px 6px}.output-toolbar h2{font-size:.9375rem}.output-toolbar>div>span{font-size:.6875rem;max-width:220px;line-height:1.7}.card-actions{flex-wrap:wrap}.actions-right{gap:2px}.icon-button{width:32px;height:34px}.char-count{font-size:.625rem}.copy-btn{font-size:.75rem}.settings-panel{padding:22px 19px}.settings-intro{align-items:flex-start;gap:11px}.settings-intro h2{line-height:1.7}.settings-intro p{font-size:.75rem}.settings-grid{grid-template-columns:1fr}.settings-footer{align-items:stretch;flex-direction:column}.settings-footer>button{width:100%}.toast{left:50%;bottom:20px;min-width:160px;text-align:center}.page-footer{font-size:.625rem;gap:10px;line-height:1.7}.filter-group{gap:2px}.filter-group button{font-size:.8125rem;padding:9px 11px}dialog{padding:22px}.engine-note{font-size:.6875rem}.quick-examples button{font-size:.8125rem;padding:8px 10px}.local-note{display:none}.history-toolbar{margin-top:3px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.topbar-actions{display:flex;gap:15px;align-items:center}.connection-dot{width:7px;height:7px;background:#af98a2;border-radius:50%}.connection-dot.connected{background:#804760}.connection-button{font-size:.8125rem}.ai-panel{margin-bottom:25px}.ai-actions{display:flex;gap:10px}.ai-status{font-size:.875rem;line-height:1.8;color:#7b626d;background:#f7eaf0;padding:13px 15px;border-radius:9px;margin-bottom:20px}.api-link{font-size:.8125rem;color:#7d5265;text-decoration:underline;text-underline-offset:4px}.conversation-status{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 23px;padding:12px 17px;background:#f3e5eb;border:1px solid #e5d6dd;border-radius:11px;font-size:.8125rem;color:#795f6b}.accept-row{border-top:1px solid #f2e5eb;padding:7px 0 10px}.accept-row .quiet{font-size:.75rem;color:#836572}.accept-row svg{width:15px;height:15px}.conversation-log{margin-top:25px;border:1px solid var(--line);border-radius:13px;background:#fff;padding:18px;font-size:.8125rem;color:#7f6571}.conversation-log summary{cursor:pointer}.conversation-bubble{margin-top:16px;padding:12px 15px;background:#f7edf1;border-radius:10px}.conversation-bubble.user{background:#faf5f7}.conversation-bubble strong{font-size:.75rem;font-weight:500}.conversation-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin-top:7px;font-size:.875rem;color:#5c4951}.error-banner{background:#fff0e9;color:#995335;border:1px solid #f1d5c8;padding:16px 19px;border-radius:12px;font-size:.875rem;line-height:1.8}.spinner{width:17px;height:17px;border:2px solid #ffffff50;border-top-color:white;border-radius:50%;animation:spin 1s linear infinite}.is-loading{background:#6f515e!important}.sales-empty{padding:85px 20px}.sales-empty>span svg{width:28px;height:28px}.settings-panel .engine-note{line-height:1.8;text-align:left}.field-hint,.engine-note{overflow-wrap:anywhere}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:640px){.topbar-actions{gap:0}.connection-button{font-size:.6875rem;padding:7px}.topbar #help-button span:last-child{display:none}.topbar>div:first-child{font-size:.6875rem}.conversation-status{align-items:flex-start;flex-direction:column;gap:4px;padding:13px 15px;font-size:.75rem;line-height:1.8}.conversation-status .quiet{padding-left:0;font-size:.75rem}.ai-actions{width:100%;flex-wrap:wrap}.ai-actions>*{flex:1}.settings-footer .api-link{padding:8px 0}.accept-row .quiet{font-size:.75rem}.settings-panel .engine-note{font-size:.6875rem}}
@media(max-width:640px){.topbar{height:auto;min-height:49px;flex-wrap:wrap;gap:4px;padding-top:7px;padding-bottom:7px}.topbar-actions{margin-left:auto}}
/* 花与AI branding for the existing writing workbench. */
.sidebar .brand {align-items:flex-start; flex-direction:column; gap:9px; --logo-width:112px}
.sidebar .brand-context {color:var(--brand-ink); font-size:.78rem; font-weight:550; letter-spacing:.08em}
.sidebar .nav-item.active {background:var(--brand-action); color:#fff}
.sidebar .nav-badge {background:#fff; color:var(--brand-action)}
.course-mini {background:#fff8fb; border-color:var(--brand-line)}
.course-mini p,.course-mini button {color:var(--brand-muted)}
.topbar {background:var(--brand-white)}
.topbar .quiet:hover {background:var(--brand-tint); color:var(--brand-action)}
button.primary:hover {background:var(--brand-action-hover)}
.connection-dot.connected {background:#c0246e}
.theme-option input:checked+span {background:var(--brand-tint); color:#812653; border-color:#bd6592}
.note-spark {color:var(--brand-action)}
@media(max-width:990px) {.sidebar .brand {--logo-width:100px}}
@media(max-width:640px) {
  .sidebar .brand {align-items:center; flex-direction:row; gap:13px; --logo-width:87px}
  .sidebar .brand-context {font-size:.74rem}
}

.sidebar {color:var(--brand-ink); border-right:1px solid var(--brand-line)}
.sidebar .nav-item {color:var(--brand-ink)}
.sidebar .nav-item:not(.active):hover {background:var(--brand-tint); color:var(--brand-action)}
.sidebar .nav-caption,.sidebar .nav-count,.sidebar .local-note,.sidebar .mini-label {color:var(--brand-muted)}
.sidebar .course-mini button {border-color:var(--brand-line); color:var(--brand-action)}
input::placeholder,textarea::placeholder {color:#6a5663}
.field input,.field select,.field textarea,.search-field input {color:var(--brand-ink); background:var(--brand-white)}
.sidebar .nav-item.active .nav-count {color:#fff}
@media(max-width:640px) {.sidebar {border-right:0; border-bottom:1px solid var(--brand-line)}}
