/* 冰川钴蓝：按蓝色主页面图统一五个工作区。侧栏可滚动，主区与辅助区独立响应。 */
:root{--ink:var(--theme-ink);--muted:var(--theme-muted);--secondary:var(--theme-secondary);--accent:var(--theme-action);--line:var(--theme-wash);--canvas:var(--theme-paper);--button:var(--theme-action);--soft:var(--theme-wash)}
body{background:var(--theme-paper);padding:0}.app-window{height:100vh;min-height:620px;border:0;border-radius:0;grid-template-columns:208px minmax(0,1fr);grid-template-rows:58px minmax(0,1fr)}
.sidebar{background:linear-gradient(140deg,var(--theme-ink),var(--theme-ink));border:0;color:var(--theme-wash);padding:24px 12px 18px;overflow:hidden}.brand{padding:0 10px 25px;gap:9px;flex-shrink:0}.brand strong{font-size:24px;color:#fff;display:block;line-height:1.25;letter-spacing:0}.brand small{display:block;font-size:10px;color:var(--theme-muted);letter-spacing:.08em;margin-top:4px}.brand-icon{width:29px;height:33px}.main-nav{gap:8px;flex-shrink:0}.nav-link{color:var(--theme-border);padding:12px 15px;font-size:14px;border-radius:10px;gap:14px}.nav-link svg{width:20px;height:20px}.nav-link.active{color:#fff;background:linear-gradient(110deg,var(--theme-action),var(--theme-action));box-shadow:0 4px 16px color-mix(in srgb,var(--theme-action) 22.35%,transparent)}.nav-link.active svg{color:#fff}.nav-link:hover:not(.active){background:#ffffff0b;color:#fff}.bottom-nav{border-top:1px solid #ffffff16;gap:4px;flex-shrink:0;margin-top:12px;padding-top:10px}.account{border-color:#ffffff16;color:var(--theme-line);margin-top:10px;padding:14px 13px 0;flex-shrink:0}
.sidebar-context{flex:1;overflow:auto;min-height:45px;margin-top:22px;padding:16px 8px 0;border-top:1px solid #ffffff1f;scrollbar-width:thin;scrollbar-color:var(--theme-secondary) transparent}.sidebar-context h2{font-size:12px;color:var(--theme-wash);margin:0 0 10px;font-weight:600}.recent-record{display:flex;align-items:flex-start;gap:9px;text-align:left;width:100%;padding:7px 0 10px;color:var(--theme-border);font-size:11px}.recent-record>.icon{width:16px;height:16px;margin-top:3px;color:var(--theme-muted)}.recent-record span{min-width:0}.recent-record strong{display:block;font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:135px}.recent-record small{display:block;font-size:10px;color:var(--theme-muted);margin-top:4px;line-height:1.5}.sidebar-quick{font-size:11px;color:var(--theme-border);display:flex;align-items:center;gap:8px;padding:9px 0 13px;width:100%;text-align:left}.sidebar-quick .icon{width:15px;height:15px}.recent-tools{border-top:1px solid #ffffff18;padding-top:13px;margin-top:4px}.sidebar-context .empty-hint{font-size:10px;line-height:1.9;color:var(--theme-muted);margin-bottom:10px}.recent-tools button{display:block;color:var(--theme-border);font-size:11px;text-align:left;padding:6px 0;width:100%}
.topbar{padding-inline:28px;border-color:var(--theme-wash);background:#ffffffeb;box-shadow:none;gap:22px}.search-button{background:var(--theme-paper);border:1px solid var(--theme-wash);color:var(--theme-muted)}.save-status{color:var(--theme-muted)}.workspace{background:radial-gradient(ellipse at 92% 88%,var(--theme-wash) 0,transparent 44%),linear-gradient(120deg,var(--theme-paper),var(--theme-paper))}.page-grid{padding:25px 24px 25px 28px;gap:24px;grid-template-columns:minmax(0,1fr) 278px}.page-header{margin-bottom:22px}.page-header h1{font-size:36px;line-height:1.25;letter-spacing:-.04em;color:var(--theme-ink)}.page-header p{font-size:13px;margin-top:8px;color:var(--theme-muted)}.section-nav{gap:17px;border-color:var(--theme-wash)}.section-nav button{color:var(--theme-muted);font-size:12px}.section-nav button.active{color:var(--theme-action)}.section-nav button.active:after{background:var(--theme-action)}.form-card{border-color:var(--theme-wash);box-shadow:0 5px 22px color-mix(in srgb,var(--theme-action) 1.18%,transparent)}.step-number{background:var(--theme-wash);color:var(--theme-action)}.field input,.field select,.field textarea{border-color:var(--theme-line);background:#fff;color:var(--theme-ink)}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--theme-accent-soft);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme-action) 5.1%,transparent)}.field input::placeholder,.field textarea::placeholder{color:var(--theme-action)}.button{border-color:var(--theme-line);color:var(--theme-secondary);border-radius:8px}.button.primary{background:linear-gradient(110deg,var(--theme-action),var(--theme-action));border-color:var(--theme-action);box-shadow:0 5px 12px color-mix(in srgb,var(--theme-action) 9.41%,transparent);color:#fff}.button.primary:hover{background:var(--theme-action)}.button:hover{background:var(--theme-paper)}.chip.active{background:var(--theme-wash);color:var(--theme-action);border-color:var(--theme-line)}.chip{color:var(--theme-muted);border-color:var(--theme-wash);border-radius:18px;padding:6px 15px}.category-explanation{border-color:var(--theme-wash)}.record-toolbar input,.record-toolbar select{border-color:var(--theme-line)}.notes{color:var(--theme-action)}.status-pill,.badge.orange{background:var(--theme-wash);color:var(--theme-muted)}.context-rail{background:linear-gradient(var(--theme-paper),var(--theme-wash));border-radius:16px}.preview-card{border-color:var(--theme-wash);background:#ffffffe6;padding:20px}.preview-link{padding:20px 0;border-color:var(--theme-wash)}.preview-link small{color:var(--theme-muted)}.mascot-card{min-height:280px;padding:12px 20px 24px}.mascot-card:before{border-color:color-mix(in srgb,var(--theme-line) 43.92%,transparent)}.mascot-card:after{border-color:color-mix(in srgb,var(--theme-wash) 60.0%,transparent)}.mascot-card h3{color:var(--theme-text);font-size:18px}.mascot-card p{color:var(--theme-muted)}.mascot-card img{height:180px}.mascot-ask{margin-top:17px;width:100%}.record-fieldset legend>span{color:var(--theme-action);background:var(--theme-wash)}.record-group-description{color:var(--theme-muted)}.badge{background:var(--theme-wash);color:var(--theme-muted)}.dialog-note{background:var(--theme-paper);color:var(--theme-muted)}.engine-overlay .engine-close{background:#fff;color:var(--theme-text)}
/* 工作台：行动卡、最近材料和真实任务；空档案不植入示例。 */
.product-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:25px}.hero-action{position:relative;display:flex;align-items:center;gap:24px;background:linear-gradient(115deg,var(--theme-line),var(--theme-wash));border:1px solid var(--theme-line);border-radius:16px;padding:27px 30px;margin-bottom:17px;overflow:hidden}.hero-action:after{content:'';position:absolute;width:220px;height:220px;border:40px solid #ffffff25;right:-90px;top:-70px;border-radius:50%;pointer-events:none}.hero-document{width:92px;height:110px;display:grid;place-items:center;background:#ffffffb5;border-radius:12px;transform:rotate(-7deg);box-shadow:-12px 9px 0 color-mix(in srgb,var(--theme-accent-soft) 31.37%,transparent),-23px 17px 0 color-mix(in srgb,var(--theme-border) 14.9%,transparent);flex-shrink:0}.hero-document .icon{width:44px;height:44px;color:var(--theme-action)}.hero-action h2{font-size:23px;margin-bottom:7px}.hero-action p{font-size:13px;color:var(--theme-muted);margin-bottom:17px;max-width:470px}.quick-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px}.quick-card{padding:18px;background:#fff;border:1px solid var(--theme-wash);border-radius:12px;display:flex;gap:13px;align-items:center;text-align:left}.quick-card>.icon{width:32px;height:32px;color:var(--theme-action);padding:5px;box-sizing:content-box;background:var(--theme-wash);border-radius:9px}.quick-card strong{display:block;font-size:15px}.quick-card small{display:block;color:var(--theme-action);font-size:11px;margin-top:3px}.product-card{border:1px solid var(--theme-wash);border-radius:15px;background:#fffffff2;padding:21px 23px;margin-bottom:20px}.product-card h2{font-size:18px;font-weight:650}.card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.card-header button{font-size:11px;color:var(--theme-action)}.artifact-row{padding:16px 0;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--theme-wash)}.artifact-row:last-child{border:0}.artifact-row strong{font-size:13px}.artifact-row p{font-size:11px;color:var(--theme-muted);margin-top:5px}.task-line{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--theme-wash);font-size:13px}.task-line:last-child{border:0}.task-line input{width:17px;height:17px;accent-color:var(--theme-action)}.task-line small{display:block;color:var(--theme-muted);font-size:11px;margin-top:4px}.task-line .due{margin-left:auto;font-size:11px;color:var(--theme-muted);white-space:nowrap}.done{text-decoration:line-through;color:var(--theme-action)}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin:18px 0 22px}.week-strip span{text-align:center;padding:8px 2px;border-radius:10px;font-size:10px;color:var(--theme-muted)}.week-strip b{display:block;font-size:12px;margin-top:4px;font-weight:500}.week-strip .today{background:var(--theme-action);color:#fff}.product-assistant{position:relative;margin-top:8px;text-align:center;padding:10px 15px 22px;border-radius:17px;background:linear-gradient(color-mix(in srgb,var(--theme-wash) 0.0%,transparent),var(--theme-wash))}.product-assistant img{width:220px;height:170px;object-fit:contain}.product-assistant h2{font-size:21px;color:var(--theme-action);margin-bottom:10px}.assistant-prompts{display:grid;gap:8px;margin-top:17px}.assistant-prompts button{padding:11px 13px;background:#ffffffbd;border:1px solid var(--theme-wash);border-radius:10px;font-size:12px;text-align:left;color:var(--theme-muted)}
/* 任务交换仅展示明确共享任务；预览和回执状态使用同一蓝色组件语言。 */
.exchange-card .news-actions{gap:8px;margin:16px 0}.exchange-card .button{white-space:normal}.exchange-open{font-size:12px;color:var(--accent,var(--theme-action));text-decoration:none}.exchange-code{font:600 32px ui-monospace,monospace;letter-spacing:.18em;text-align:center;color:var(--theme-action);background:var(--theme-paper);border-radius:12px;padding:22px;margin:20px 0}.exchange-preview{padding:17px 0;border-bottom:1px solid var(--theme-wash)}.exchange-preview h3{font-size:14px;margin:0 0 9px}.exchange-preview p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--theme-muted)}.exchange-preview dl{display:grid;grid-template-columns:76px 1fr;font-size:12px;line-height:1.8;gap:6px;margin:12px 0}.exchange-preview dt{color:var(--theme-muted)}.exchange-preview dd{margin:0;overflow-wrap:anywhere}.exchange-conflict{color:#a96839!important}
/* 勾选资料与材料编辑器：选中集合独立于档案，不自动发送完整数据库。 */
.material-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 18px;background:#fff;border:1px solid var(--theme-line);border-radius:12px;margin-bottom:19px}.material-toolbar label{display:grid;gap:5px;font-size:11px;color:var(--theme-muted);min-width:125px;flex:1}.material-toolbar select,.material-toolbar input{border:1px solid var(--theme-line);padding:8px 10px;border-radius:7px;font-size:12px;min-width:0;background:#fff;color:var(--theme-secondary)}.workflow-stepper{display:flex;gap:12px;margin-bottom:22px}.workflow-stepper span{flex:1;padding:13px 15px;border:1px solid var(--theme-line);border-radius:12px;background:#ffffffc4;color:var(--theme-muted);font-size:12px}.workflow-stepper b{background:var(--theme-wash);border-radius:50%;padding:4px 8px;margin-right:8px;color:var(--theme-action)}.workflow-stepper .active{color:var(--theme-action);border-color:var(--theme-line)}.material-layout{display:grid;grid-template-columns:minmax(250px,330px) minmax(0,1fr);gap:20px;align-items:start}.selection-panel{background:#fff;border:1px solid var(--theme-wash);border-radius:13px;padding:20px}.selection-panel h2{font-size:17px;margin-bottom:9px}.selection-panel p{font-size:12px;color:var(--theme-muted);line-height:1.8}.selected-source{padding:13px 0;border-top:1px solid var(--theme-wash);font-size:12px}.selected-source small{font-size:10px;display:block;color:var(--theme-action);margin-top:5px}.selection-panel .button{width:100%;margin-top:15px}.source-group{margin:18px 0}.source-group h3{font-size:13px;margin-bottom:10px}.source-choice{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--theme-wash);border-radius:10px;padding:12px 13px;margin:8px 0;cursor:pointer;font-size:12px;background:#fff}.source-choice:has(input:checked){background:var(--theme-wash);border-color:var(--theme-border)}.source-choice input{accent-color:var(--theme-action);width:16px;height:16px;flex-shrink:0;margin-top:3px}.source-choice strong{display:block;font-size:12px;font-weight:550}.source-choice small{display:block;font-size:10px;color:var(--theme-muted);line-height:1.7;margin-top:4px}.source-explanation{font-size:11px;color:var(--theme-muted);line-height:1.8}.paper{padding:32px 35px;background:#fff;min-height:610px;border:1px solid var(--theme-line);box-shadow:0 7px 22px color-mix(in srgb,var(--theme-secondary) 2.75%,transparent);color:var(--theme-text)}.paper>h2{text-align:center;font-size:21px;letter-spacing:.03em;margin:0 0 23px}.paper-section{margin-top:22px}.paper-section h3{font-size:14px;border-bottom:1px solid var(--theme-border);padding-bottom:6px;margin-bottom:12px;color:var(--theme-action)}.paper-entry{font-size:12px;line-height:1.9;margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.source-tag{font-size:9px;display:inline-block;color:var(--theme-muted);margin:0 6px 0 0}.paper-empty{min-height:420px;display:grid;place-items:center;text-align:center;color:var(--theme-muted);font-size:13px;line-height:2}.material-actions{display:flex;flex-wrap:wrap;gap:10px;padding:15px 0;align-items:center}.material-actions .primary{margin-left:auto}.generation-notice{font-size:11px;color:var(--theme-muted);background:var(--theme-wash);border:1px solid var(--theme-line);padding:12px 15px;border-radius:9px;line-height:1.9;margin-bottom:15px}.generation-notice.error{background:#fff4f2;border-color:#f3d9d4;color:#ae6358}.material-editor{width:100%;min-height:540px;line-height:1.9;border:1px solid var(--theme-line);padding:22px;border-radius:8px;font-size:13px;resize:vertical}.textarea-source{display:block;width:100%;min-height:145px;border:1px solid var(--theme-line);border-radius:8px;padding:12px;font:inherit;font-size:12px;line-height:1.9;margin-top:12px;resize:vertical}
/* 规划、资讯和聊天。时间与状态都从真实记录计算，不植入演示数值。 */
.plan-entry{display:flex;gap:10px;margin-top:17px}.plan-entry input{border:1px solid var(--theme-line);padding:12px;border-radius:9px;flex:1;min-width:0;background:#fff}.planner-columns{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:9px;overflow:auto;padding-bottom:10px}.plan-day{padding:13px 10px;border:1px solid var(--theme-wash);border-radius:11px;background:var(--theme-paper);min-height:330px}.plan-day h3{font-size:12px;font-weight:550;margin-bottom:12px;color:var(--theme-muted)}.plan-day h3 small{display:block;color:var(--theme-muted);font-size:10px;margin-top:3px}.plan-task{background:var(--theme-wash);border:1px solid var(--theme-line);border-radius:9px;padding:12px 10px;margin-top:9px;text-align:left;width:100%;font-size:11px}.plan-task small{display:block;color:var(--theme-action);font-size:10px;margin-bottom:8px}.plan-task strong{font-weight:550;display:block;line-height:1.8}.plan-task .badge{margin-top:8px}.plan-empty{font-size:10px;color:var(--theme-muted);padding:24px 3px}.inbox-list{display:grid;gap:14px}.note-card{padding:20px;border:1px solid var(--theme-line);border-radius:12px;background:#fff}.note-card h3{font-size:15px}.note-card p{font-size:12px;color:var(--theme-muted);white-space:pre-wrap;line-height:1.9;margin:9px 0 15px}.news-source{font-size:11px;color:var(--theme-muted);overflow-wrap:anywhere;line-height:1.9}.news-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.news-tabs{display:flex;gap:10px;margin-bottom:20px}.chat-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:22px}.chat-side{padding:18px;background:var(--theme-wash);border-radius:14px;text-align:center;align-self:start}.chat-side img{width:180px;height:150px;object-fit:contain}.chat-side h2{font-size:20px;color:var(--theme-action)}.chat-side p{font-size:12px;line-height:1.9;color:var(--theme-muted);margin:12px 0}.chat-log{background:#ffffffd9;border:1px solid var(--theme-wash);border-radius:14px;min-height:420px;max-height:calc(100vh - 310px);overflow:auto;padding:24px}.chat-message{display:flex;justify-content:flex-start;margin:15px 0}.chat-message.user{justify-content:flex-end}.chat-message>div{padding:14px 17px;border:1px solid var(--theme-wash);border-radius:13px;max-width:90%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;background:var(--theme-paper)}.chat-message.user>div{background:var(--theme-wash);border-color:var(--theme-line);color:var(--theme-text)}.chat-compose{display:flex;gap:12px;margin-top:14px}.chat-compose textarea{flex:1;min-height:90px;border:1px solid var(--theme-line);border-radius:10px;padding:13px;resize:vertical;font-size:13px;line-height:1.8}.chat-compose .button{align-self:end;min-height:43px}.document-meta{font-size:10px;color:var(--theme-action);line-height:1.9;margin:12px 0}.saved-line{font-size:11px;color:#50866c}.tool-card .icon{color:var(--theme-action)}.tool-card .badge{background:var(--theme-wash);color:var(--theme-action)}
@media(min-width:1700px){.app-window{grid-template-columns:224px minmax(0,1fr)}.page-full{max-width:1580px}.page-grid{grid-template-columns:minmax(0,1fr) 300px}.sidebar-context .recent-record strong{max-width:150px}}
@media(max-width:1280px){body{padding:0}.app-window{height:100vh;grid-template-columns:184px minmax(0,1fr);border-radius:0}.page-grid{grid-template-columns:minmax(0,1fr) 230px;gap:17px;padding-inline:23px}.product-grid{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.quick-card{padding:14px 11px;gap:7px}.quick-card>.icon{width:23px;height:23px}.quick-card small{font-size:10px}.hero-action{padding:24px;gap:20px}.hero-document{width:70px;height:88px}.hero-action h2{font-size:20px}.material-layout{grid-template-columns:260px minmax(0,1fr)}.paper{padding:25px 24px}.sidebar{padding-inline:10px}.brand strong{font-size:22px}.brand small{font-size:9px}.nav-link{font-size:13px;padding:12px}.sidebar-context{padding-inline:4px}.page-header h1{font-size:32px}}
@media(max-width:1090px){.product-grid{grid-template-columns:1fr}.product-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.context-rail{display:none}.page-grid{grid-template-columns:1fr}.material-layout{grid-template-columns:235px minmax(0,1fr)}.chat-layout{grid-template-columns:185px minmax(0,1fr)}.chat-side img{width:145px}.hero-action p{max-width:600px}.section-nav{overflow:auto;justify-content:flex-start;gap:20px}.section-nav button{flex-shrink:0}}
@media(max-width:760px){.app-window{grid-template-columns:64px minmax(0,1fr);min-height:0}.sidebar{padding:18px 7px}.sidebar-context,.brand span{display:none}.brand{padding:0 8px 25px}.brand-icon{width:26px}.nav-link{padding:12px 7px;justify-content:center}.bottom-nav{margin-top:auto}.account{padding-inline:7px}.page-full{padding:22px 18px}.product-grid>aside,.material-layout,.chat-layout{grid-template-columns:1fr}.quick-cards{grid-template-columns:1fr;gap:8px}.hero-action{padding:20px}.hero-document{display:none}.hero-action h2{font-size:20px}.material-toolbar{gap:9px}.material-toolbar label{min-width:110px}.workflow-stepper{gap:5px}.workflow-stepper span{padding:9px;font-size:10px}.workflow-stepper b{display:block;width:max-content;margin-bottom:4px}.chat-side{display:none}.chat-log{padding:15px}.product-grid>aside{display:block}.paper{padding:23px}.material-actions .primary{margin-left:0}.page-header h1{font-size:28px}.material-toolbar .button{width:100%}.selection-panel{padding:17px}.source-choice strong{font-size:11px}.plan-entry{flex-wrap:wrap}.plan-entry input{flex-basis:100%}}
@media print{body{background:#fff}.sidebar,.topbar,.material-toolbar,.material-actions,.selection-panel,.page-header,.workflow-stepper,.generation-notice,.context-rail,.document-meta{display:none!important}.app-window{display:block;height:auto;overflow:visible}.workspace{overflow:visible;background:#fff}.page-full{padding:0;max-width:none}.material-layout{display:block}.paper{border:0;box-shadow:none;padding:0}.paper-section{break-inside:avoid}.source-tag{display:none}}
