:root{--blue:#2563eb;--blue-dark:#1749c4;--blue-soft:#eaf3ff;--ink:#172033;--muted:#667085;--line:#dce5f0;--surface:#fff;--page:#f4f8fc;--danger:#c2414d;--shadow:0 16px 45px rgba(28,62,105,.13);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink)}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{overflow:hidden;background:var(--page)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.hidden{display:none!important}.secondary{border:1px solid #cbd9eb!important;background:#fff!important;color:#2458b8!important}.primary-action,button:not(.secondary){border:0;border-radius:9px;background:var(--blue);color:#fff;font-weight:700}.app-shell{height:100vh;height:100dvh;background:var(--page)}
.app-topbar{height:70px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);display:flex;align-items:center;gap:28px;padding:0 clamp(16px,3vw,44px);position:relative;z-index:40}.app-brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;white-space:nowrap}.brand-mark{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#4381f6,#1d4ed8);color:#fff;font:800 17px/1 "Songti SC",serif}.app-brand strong,.app-brand small{display:block}.app-brand strong{font-size:16px}.app-brand small{margin-top:2px;color:var(--muted);font-size:10px}.top-nav{height:100%;display:flex;align-items:center;gap:4px}.top-nav button{height:100%;padding:0 14px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#64748b;font-size:13px;font-weight:700}.top-nav button:hover,.top-nav button.active{border-bottom-color:var(--blue);color:var(--blue)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.top-action{min-height:36px;padding:7px 11px;border:1px solid #d1deef;border-radius:9px;background:#fff;color:#2458b8;font-size:11px;font-weight:700}.top-action b{margin-left:4px}.compact-only{display:none}.classroom{height:calc(100dvh - 70px);display:flex;flex-direction:column;background:#f9fbfe}.learning-header{min-height:61px;padding:11px clamp(18px,5vw,96px);border-bottom:1px solid #e4ebf4;background:#fff;display:flex;align-items:center;gap:18px}.learning-heading{min-width:0;flex:1}.learning-heading span,.learning-heading strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.learning-heading span{color:var(--muted);font-size:11px}.learning-heading strong{margin-top:3px;font-size:15px}.learning-progress{width:130px;color:var(--muted);font-size:11px;text-align:right}.learning-progress i{height:4px;margin-top:6px;border-radius:99px;background:#e4ecf6;display:block;overflow:hidden}.learning-progress b{width:0;height:100%;background:var(--blue);display:block}.conversation{min-height:0;flex:1;overflow-y:auto}.conversation-inner{width:min(100%,870px);min-height:100%;margin:0 auto;padding:34px 26px 22px}.unit-intro{padding:24px;border:1px solid #d5e3f4;border-radius:16px;background:linear-gradient(130deg,#fff,#edf5ff);margin-bottom:31px}.intro-kicker,.page-heading span,.notes-sidebar>div span{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.1em}.unit-intro h1{margin:7px 0 9px;font-size:clamp(21px,3vw,29px)}.unit-intro p{margin:0;color:#526176;line-height:1.75;font-size:14px}.intro-actions{display:flex;gap:10px;margin-top:17px}.intro-actions button{min-height:38px;padding:8px 13px}.intro-actions #intro-context{border:1px solid #c9d9eb;border-radius:9px;background:#fff;color:#275ba8}.message-list{display:flex;flex-direction:column;gap:24px}.message-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px}.message-row.user{display:flex;justify-content:flex-end}.assistant-avatar{width:34px;height:34px;border-radius:10px;background:var(--blue);color:#fff;display:grid;place-items:center;font:800 15px/1 "Songti SC",serif}.message-content{min-width:0;max-width:100%}.message-row.user .message-content{max-width:min(88%,650px);padding:11px 14px;border-radius:16px 16px 4px 16px;background:#e5f0ff}.message-meta{display:flex;gap:8px;align-items:center;margin-bottom:7px;color:#8491a4;font-size:10px}.message-meta strong{color:#34445c;font-size:12px}.message-kind,.citation-chip{padding:3px 7px;border-radius:99px;background:#e9f2ff;color:#2860bb}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.82}.message-attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,220px));gap:8px}.message-attachments img{max-width:100%;max-height:320px;border-radius:10px}.citation-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;font-size:10px}.date-divider{display:flex;align-items:center;gap:10px;color:#91a0b2;font-size:10px}.date-divider:before,.date-divider:after{content:"";height:1px;flex:1;background:#e1e9f2}.typing-row{display:grid;grid-template-columns:34px 1fr;gap:12px;margin-top:24px}.typing-dots{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px}.typing-dots i{width:5px;height:5px;border-radius:50%;background:#6d91c9;animation:pulse 1.1s infinite}.typing-dots span{margin-left:5px}@keyframes pulse{50%{opacity:.25;transform:translateY(-2px)}}
.composer-wrap{flex:0 0 auto;padding:8px clamp(12px,3vw,26px) calc(12px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(249,251,254,0),#f9fbfe 22%)}.composer-inner{width:min(100%,870px);margin:0 auto}.quick-prompts{display:flex;gap:7px;overflow-x:auto;margin:0 2px 7px}.quick-prompts button{flex:0 0 auto;min-height:31px;padding:6px 10px;border:1px solid #d7e2f0;border-radius:99px;background:#fff;color:#53657d;font-size:11px}.composer{min-height:58px;padding:8px;border:1px solid #cbd9e9;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(37,99,235,.07);display:flex;align-items:flex-end;gap:8px}.attach-button,.send-button{width:42px;height:42px;flex:0 0 42px;border-radius:11px;display:grid;place-items:center;font-size:20px}.attach-button{background:#edf4ff;color:#2860bb;cursor:pointer}.send-button{font-size:22px}.composer textarea{flex:1;min-height:42px;max-height:150px;padding:8px 2px;border:0;outline:0;resize:none;background:transparent;color:var(--ink);font-size:15px;line-height:1.55}.attachment-preview{display:flex;gap:8px;padding:8px;border:1px solid #cfdeed;border-bottom:0;border-radius:14px 14px 0 0;background:#fff}.pending-image{position:relative;width:58px;height:58px}.pending-image img{width:100%;height:100%;border-radius:8px;object-fit:cover}.pending-image button{position:absolute;top:2px;right:2px;border:0;border-radius:50%;background:#1e293b;color:#fff}.composer-meta{display:flex;gap:12px;align-items:center;padding:5px 4px 0;color:#728197;font-size:10px}.composer-meta label{display:flex;gap:4px;align-items:center}.composer-meta select,.composer-meta button{max-width:180px;border:0;background:transparent;color:#52657e;font-size:10px}.composer-meta span{margin-left:auto}
.learning-inspector{position:fixed;z-index:50;top:70px;right:0;bottom:0;width:min(400px,94vw);display:flex;flex-direction:column;border-left:1px solid #d8e4f1;background:#fff;box-shadow:-14px 0 42px rgba(38,68,111,.13);transform:translateX(105%);transition:transform .2s ease}.learning-inspector.open{transform:translateX(0)}.inspector-header{min-height:64px;padding:11px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.inspector-header span,.inspector-header strong{display:block}.inspector-header span{color:var(--muted);font-size:10px}.inspector-header strong{margin-top:3px;font-size:14px}.inspector-header button{width:34px;height:34px;border:1px solid #d4e0ed;border-radius:8px;background:#fff;color:#315d9e;font-size:20px}.context-scroll{min-height:0;flex:1;overflow-y:auto}.context-section{padding:18px;border-bottom:1px solid #e5edf5}.section-title,.card-title{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.section-title strong,.card-title strong{font-size:13px}.section-title span,.card-title span{color:var(--muted);font-size:10px}.context-section p{color:#58687d;font-size:12px;line-height:1.65}.context-section input,.context-section textarea{width:100%;margin-top:8px;padding:9px;border:1px solid #cfdeec;border-radius:8px;resize:vertical}.context-section button{margin-top:8px;min-height:31px;padding:6px 9px}.concept-list,.dashboard-card-list{display:grid;gap:9px;margin-top:12px}.concept-item{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center}.concept-id{width:28px;height:28px;border-radius:8px;background:#eaf3ff;color:#2860bb;display:grid;place-items:center;font-size:9px;font-weight:800}.concept-copy strong{font-size:11px}.concept-copy i{height:3px;margin-top:5px;background:#e6edf5;display:block}.concept-copy i b{height:100%;background:var(--blue);display:block}.concept-state{font-size:9px;color:var(--muted)}.evidence-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.drawer-backdrop{position:fixed;z-index:45;inset:70px 0 0;background:rgba(27,49,79,.25);border:0}
.workspace-page{position:fixed;z-index:30;top:70px;right:0;bottom:0;left:0;background:var(--page)}.page-scroll{height:100%;overflow-y:auto;padding:clamp(28px,5vw,58px);max-width:1360px;margin:auto}.page-scroll.narrow{max-width:1040px}.page-heading{margin:0 0 24px}.page-heading h1{margin:5px 0 8px;font-size:30px}.page-heading p{max-width:650px;margin:0;color:#5f6f84;font-size:13px;line-height:1.7}.schedule-layout{display:grid;grid-template-columns:1.35fr .8fr;gap:15px;align-items:start}.schedule-layout .dashboard-today,.schedule-layout .page-card:nth-child(2){grid-column:1}.schedule-layout .page-card:nth-child(3),.schedule-layout .page-card:nth-child(4){grid-column:2}.page-card,.dashboard-card{padding:17px;border:1px solid #dbe6f1;border-radius:14px;background:#fff;box-shadow:0 5px 17px rgba(42,77,124,.04)}.page-card+.page-card{margin-top:14px}.schedule-layout .page-card{margin-top:0}.dashboard-card p{margin:9px 0;color:#56687e;white-space:pre-line;font-size:12px;line-height:1.65}.dashboard-card-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.status-pill{padding:4px 7px;border-radius:99px;background:#e9f3ff;color:#2860bb;font-size:9px;font-weight:800}.status-pill.waiting{background:#fff4d8;color:#9a6a14}.status-pill.issue{background:#ffeaeb;color:var(--danger)}.dashboard-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.dashboard-card-actions button,.dashboard-create button,.dashboard-form button{min-height:33px;padding:7px 10px}.dashboard-card-actions input{min-width:130px;padding:7px;border:1px solid #d2dfed;border-radius:8px}.dashboard-create{margin-top:14px;padding-top:13px;border-top:1px solid #e4ecf5}.dashboard-create summary{color:#2860bb;cursor:pointer;font-size:12px;font-weight:700}.dashboard-form{display:grid;gap:9px;margin-top:12px}.dashboard-form input,.dashboard-form textarea{width:100%;padding:9px;border:1px solid #ccdceb;border-radius:8px;resize:vertical}.dashboard-form label{display:grid;gap:5px;color:#5d6c80;font-size:10px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.form-label{display:block;margin-bottom:6px;color:#5d6c80;font-size:10px}.subject-options{display:flex;flex-wrap:wrap;gap:7px}.subject-options label{padding:6px 8px;border:1px solid #d8e4ef;border-radius:8px;background:#f9fbff}.subject-options input{width:auto;padding:0}.dashboard-empty,.empty-state{padding:14px;border:1px dashed #ccdae9;border-radius:10px;color:#718096;font-size:12px;text-align:center}.course-order-list{display:grid;gap:8px;margin:12px 0}.course-order-item{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px;border:1px solid #dfe8f2;border-radius:10px;background:#fbfdff;color:var(--ink);text-align:left}.course-order-item:hover{border-color:#8eb5ef;background:#f1f7ff}.course-order-index{width:30px;height:30px;border-radius:9px;background:#e8f2ff;color:#2860bb;display:grid;place-items:center;font-size:11px;font-weight:800}.course-order-item strong,.course-order-item small{display:block}.course-order-item small{margin-top:4px;color:var(--muted)}.course-order-status{color:#2860bb;font-size:10px;white-space:nowrap}.path-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px}.path-row input{min-width:0;padding:10px;border:1px solid #cfdeed;border-radius:8px}.scan-status{min-height:24px;margin-top:8px;color:var(--muted);font-size:11px}.course-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.course-option{padding:12px;border:1px solid #dbe6f1;border-radius:10px;background:#fbfdff;text-align:left}.course-option span,.course-option strong{display:block}.course-option span{color:var(--muted);font-size:10px}.course-option strong{margin-top:6px;color:var(--ink);font-size:13px}
.notes-layout{height:100%;display:grid;grid-template-columns:285px minmax(0,1fr)}.notes-sidebar{padding:28px 14px;background:#f9fbff;border-right:1px solid #dbe6f1;overflow-y:auto}.notes-sidebar h1{margin:5px 0 20px;font-size:25px}.notes-sidebar input{width:100%;padding:9px;border:1px solid #ccdaea;border-radius:8px;background:#fff}.notes-tree-group{margin-top:14px}.notes-tree-group summary{padding:7px;color:#50709b;cursor:pointer;font-size:11px;font-weight:800}.note-link{width:100%;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#44566e;text-align:left;font-size:12px}.note-link:hover,.note-link.active{background:#e4f0ff;color:#1e56b3}.note-reader{min-width:0;overflow-y:auto;padding:clamp(28px,6vw,68px);background:#fff}.note-reader>*{width:min(100%,820px);margin-right:auto;margin-left:auto}.note-document-header{margin-bottom:28px}.note-document-header span,.note-document-header small{color:var(--muted);font-size:11px}.note-document-header h1{margin:7px 0;font-size:30px}.note-fold{margin:14px auto;padding:11px 14px;border:1px solid #dce6f1;border-radius:10px;background:#fbfdff}.note-fold summary{color:#2860bb;cursor:pointer;font-weight:750}.note-properties{display:grid;gap:8px;margin-top:11px}.note-property{padding:9px 11px;border-left:3px solid #9cc0f4;background:#fff}.note-property>strong{display:block;margin-bottom:4px;color:#526a89;font-size:11px}.note-property p{margin:0;line-height:1.7}.muted-note,.notes-empty{color:var(--muted);font-size:11px}
.notes-tree-folder{margin-left:8px}.notes-tree-folder>summary{padding:5px 7px;color:#7085a1;font-size:10px}.legacy-markdown{line-height:1.78;color:#24364d}.legacy-markdown h2,.legacy-markdown h3,.legacy-markdown h4,.legacy-markdown h5,.legacy-markdown h6{margin:1.5em 0 .65em;color:#173c70}.legacy-markdown p{margin:.55em 0;white-space:pre-wrap}.legacy-markdown pre{overflow:auto;padding:14px;border:1px solid #d8e3f0;border-radius:10px;background:#f5f8fc}.legacy-markdown code{font-family:Consolas,"Cascadia Code",monospace}.legacy-markdown :not(pre)>code{padding:1px 5px;border-radius:5px;background:#edf3fa}.legacy-markdown blockquote{margin:12px 0;padding:7px 13px;border-left:4px solid #8bb5ed;background:#f5f9ff;color:#536c8c}.legacy-markdown ul{padding-left:24px}
.course-modal{position:fixed;z-index:70;inset:0;display:grid;place-items:center;padding:20px}.modal-backdrop{position:absolute;inset:0;background:rgba(20,42,72,.38);backdrop-filter:blur(4px)}.course-picker{position:relative;width:min(100%,700px);max-height:86dvh;padding:24px;border-radius:18px;background:#fff;box-shadow:var(--shadow);overflow-y:auto}.picker-header{display:flex;justify-content:space-between;gap:16px;align-items:start}.picker-header span,.picker-section-title{color:#526d92;font-size:11px;font-weight:800}.picker-header h2{margin:5px 0;font-size:24px}.picker-actions{display:flex;gap:7px}.picker-actions button,.course-picker>.secondary{min-height:34px;padding:7px 10px}.course-switch-section,.course-unit-section{margin-top:20px}.course-switcher{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:8px}.course-switch-option,.picker-unit-option{padding:11px;border:1px solid #d8e4f0;border-radius:10px;background:#fbfdff;text-align:left}.course-switch-option.active,.picker-unit-option.active{border-color:#4481e8;background:#edf5ff}.course-switch-option strong,.course-switch-option span,.course-switch-option em,.picker-unit-option strong,.picker-unit-option span{display:block}.course-switch-option span,.picker-unit-option .unit-progress{margin-top:4px;color:var(--muted);font-size:11px}.course-switch-option em{margin-top:6px;color:#60799b;font-size:10px}.course-unit-picker{display:grid;gap:8px;margin-top:8px}.unit-section{display:grid;gap:5px}.unit-section-title,.unit-section summary{display:flex;justify-content:space-between;color:#637795;font-size:10px;font-weight:800}.unit-section-items{display:grid;gap:6px}.unit-status{color:#2860bb;font-size:10px;font-weight:750}.picker-unit-option strong{margin-top:2px;font-size:13px}
.handwriting-board{position:fixed;z-index:100;inset:0;padding:10px;background:#183457}.handwriting-sheet{width:100%;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-radius:16px;overflow:hidden;background:#fff}.handwriting-header,.handwriting-footer{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px}.handwriting-header{border-bottom:1px solid #dbe5f0}.handwriting-header span{color:#2860bb;font-size:10px;font-weight:800}.handwriting-header h2{margin:3px 0;font-size:18px}.handwriting-header-actions{display:flex;gap:10px;align-items:center}.handwriting-toggle{font-size:11px;color:#52657d}.handwriting-header button{padding:7px 10px;border:1px solid #d4e1ef;border-radius:8px;background:#fff;color:#315c9a}.handwriting-layout{min-height:0;display:grid;grid-template-columns:minmax(210px,.28fr) minmax(0,1fr)}.handwriting-chat-pane{min-width:0;overflow:hidden;border-right:1px solid #dbe5f0;background:#f7faff;display:flex;flex-direction:column}.handwriting-chat-heading{padding:10px 13px;border-bottom:1px solid #dbe5f0;display:flex;justify-content:space-between;font-size:11px}.handwriting-chat-heading span{color:var(--muted);font-size:10px}.handwriting-chat-context{min-height:0;padding:11px;overflow-y:auto}.handwriting-chat-entry{padding:9px 10px;border-radius:10px;background:#fff;color:#4f6078;font-size:11px;line-height:1.6}.handwriting-canvas-wrap{min-width:0;min-height:0;position:relative;overflow:hidden}.handwriting-canvas{position:absolute;inset:0;touch-action:none}.handwriting-footer{border-top:1px solid #dbe5f0}.handwriting-footer p{margin:0;color:#64748b;font-size:11px}.toast{position:fixed;z-index:120;bottom:25px;left:50%;max-width:min(88vw,430px);padding:10px 14px;border-radius:10px;background:#174584;color:#fff;box-shadow:var(--shadow);transform:translate(-50%,14px);opacity:0;transition:.18s;pointer-events:none;font-size:12px}.toast.show{transform:translate(-50%,0);opacity:1}
@media(max-width:800px){.app-topbar{height:61px;gap:12px;padding:0 12px}.app-brand small{display:none}.top-nav{overflow-x:auto;gap:0}.top-nav button{padding:0 9px;font-size:11px;white-space:nowrap}.top-actions{gap:5px}.wide-only{display:none}.compact-only{display:block}.study-only{display:none}.classroom{height:calc(100dvh - 61px)}.learning-inspector,.drawer-backdrop,.workspace-page{top:61px}.learning-header{min-height:55px;padding:8px 14px}.learning-progress{display:none}.conversation-inner{padding:18px 14px}.unit-intro{padding:17px;margin-bottom:23px}.message-text{font-size:14px}.composer-wrap{padding:6px 8px calc(7px + env(safe-area-inset-bottom))}.quick-prompts{margin-bottom:5px}.composer-meta span{display:none}.schedule-layout{display:block}.schedule-layout .page-card{margin-top:12px}.page-scroll{padding:22px 12px}.page-heading h1{font-size:25px}.form-row,.path-row{grid-template-columns:1fr}.course-list{grid-template-columns:1fr}.notes-layout{grid-template-columns:120px minmax(0,1fr)}.notes-sidebar{padding:15px 7px}.notes-sidebar h1{font-size:19px}.notes-sidebar input{font-size:10px}.note-link{padding:8px 5px;font-size:10px}.note-reader{padding:22px 14px}.note-document-header h1{font-size:23px}.course-modal{padding:0;align-items:end}.course-picker{width:100%;max-height:88dvh;border-radius:18px 18px 0 0;padding:19px 14px}.course-switcher{grid-template-columns:1fr}.handwriting-layout{grid-template-columns:1fr;grid-template-rows:25dvh minmax(0,1fr)}.handwriting-chat-pane{border-right:0;border-bottom:1px solid #dbe5f0}.handwriting-footer p{display:none}}
body:not([data-active-page="study"]) .study-only{display:none}
.learning-course-directory{min-height:34px;padding:7px 10px;border:1px solid #d1deef!important;border-radius:9px!important;background:#fff!important;color:#2458b8!important;font-size:11px}.notes-layout{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.notes-browser{padding:22px clamp(20px,5vw,58px);border-bottom:1px solid #dbe6f1;background:#f9fbff;display:grid;grid-template-columns:auto minmax(220px,360px) minmax(0,1fr);gap:20px;align-items:center}.notes-browser-heading{white-space:nowrap}.notes-browser-heading h1{margin:4px 0 0;font-size:24px}.notes-browser input{width:100%;padding:9px;border:1px solid #ccdaea;border-radius:8px;background:#fff}.notes-browser #notes-tree{min-width:0;max-height:120px;overflow:auto;display:flex;gap:8px;align-items:flex-start}.notes-browser .notes-tree-group{min-width:160px;margin:0;padding:4px;border:1px solid #dbe6f1;border-radius:9px;background:#fff}.notes-browser-heading span{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.1em}
@media(max-width:800px){.learning-course-directory{font-size:10px;padding:6px 8px}.notes-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.notes-browser{padding:10px;grid-template-columns:auto minmax(0,1fr);gap:9px}.notes-browser-heading h1{font-size:18px}.notes-browser-heading span{display:none}.notes-browser #notes-tree{grid-column:1/-1;max-height:86px}.notes-browser .notes-tree-group{min-width:135px}}
.ai-workbench{margin:0 0 16px;padding:16px;border:1px solid #cfe0f4;border-radius:14px;background:linear-gradient(135deg,#fff,#f1f7ff);box-shadow:0 6px 20px rgba(37,99,235,.05)}.ai-workbench-head,.ai-workbench-head>div{display:flex;align-items:center;gap:10px}.ai-workbench-head{justify-content:space-between}.ai-workbench-head strong,.ai-workbench-head small{display:block}.ai-workbench-head small{margin-top:3px;color:var(--muted);font-size:10px}.ai-workbench-head select{max-width:280px;padding:8px;border:1px solid #cbdced;border-radius:8px;background:#fff;color:#355170}.ai-avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#2563eb;color:#fff;font-weight:800}.ai-transcript{max-height:250px;margin-top:12px;padding:10px;border:1px solid #dbe7f3;border-radius:10px;background:#fff;overflow-y:auto;display:grid;gap:8px}.ai-message{max-width:88%;padding:9px 11px;border-radius:10px;background:#edf5ff;color:#40536c;font-size:12px;line-height:1.65}.ai-message.user{margin-left:auto;background:#dcecff;color:#244a7d}.ai-message.review{border-left:3px solid #7c9bc7;background:#f7f9fc}.ai-message.system{background:#f4f6f8;color:#657386}.ai-message-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:3px;color:#718096;font-size:9px}.ai-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px}.ai-composer textarea{min-width:0;padding:9px 10px;border:1px solid #cbdced;border-radius:9px;resize:vertical}.ai-composer button{padding:8px 13px}.ai-workbench-note{display:block;margin-top:7px;color:#66768c}.compact-workbench .ai-transcript{max-height:190px}.live-indicator{padding:4px 7px;border-radius:99px;background:#e5f1ff;color:#2860bb;font-size:9px}.audit-log{margin-top:10px;color:#315b98;font-size:11px}.compact-transcript{max-height:180px}.iteration-decision-actions .danger{color:var(--danger)!important}.notes-sidebar{display:none!important}
@media(max-width:800px){.ai-workbench{padding:12px}.ai-workbench-head{align-items:flex-start}.ai-workbench-head select{max-width:145px}.ai-composer{grid-template-columns:1fr}.ai-transcript{max-height:210px}.ai-message{max-width:96%}}
.temporary-notes-dock{position:fixed;z-index:45;top:72px;right:0;bottom:0;width:min(370px,92vw);display:flex;flex-direction:column;gap:12px;padding:18px;background:#fafdff;border-left:1px solid #cfe0f4;box-shadow:-12px 0 30px rgba(40,75,120,.12)}.temporary-notes-dock.hidden{display:none}.temporary-notes-dock header{display:flex;align-items:center;justify-content:space-between;gap:12px}.temporary-notes-dock header span{display:block;color:#5e79a0;font-size:12px}.temporary-notes-dock header strong{display:block;color:#18375f;font-size:19px}.temporary-notes-dock>p{margin:0;color:#627895;font-size:13px;line-height:1.5}.temporary-notes-dock textarea{flex:1;min-height:220px;resize:none;padding:13px;border:1px solid #cbdcf0;border-radius:12px;background:#fff;color:#18375f;font:inherit;line-height:1.6}.temporary-notes-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.temporary-notes-footer small{color:#69809e}.learning-flow-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 4px;padding:13px 15px;border:1px solid #d7e5f5;border-radius:12px;background:#f8fbff}.learning-flow-actions p{margin:0;color:#5d7392;font-size:13px;line-height:1.5}.learning-flow-actions button{flex:none}.top-action:disabled{opacity:.5;cursor:not-allowed}@media(max-width:800px){.temporary-notes-dock{top:61px;width:100%;padding:14px 15px}.learning-flow-actions{align-items:stretch;flex-direction:column}.learning-flow-actions button{width:100%}}
