.assistant-status{font-size:10px;color:#799684}
.assistant-brief{padding:0 0 17px;margin-bottom:17px;border-bottom:1px solid var(--line)}
.brief-label{font-size:10px;color:var(--green);font-weight:600}
.assistant-brief p{font-size:12px;line-height:1.9;color:#4a6255;margin:8px 0 0}
.agent-panel .issue{background:#fff;border:1px solid #e1e7e2;border-left:3px solid #c99b65;border-radius:5px;padding:16px;margin-bottom:14px}
.agent-panel .issue.green{border-left-color:#7ba08a;background:#f8fbf8}
.agent-panel .issue h3{font-size:14px;line-height:1.65;margin:10px 0 6px;color:#294336}
.agent-panel .issue-label{font-size:9px;color:#a5814d}
.issue-fact{font-size:10px!important;color:#8b9990!important}
.issue-fact span{margin:0 3px;color:#bac6be}
.recommendation{display:flex;flex-direction:column;gap:5px;background:#f4f7f3;border-radius:4px;padding:11px;margin:12px 0 14px;font-size:11px;line-height:1.9;color:#5f7565}
.recommendation b{font-size:9px;font-weight:500;color:#8a9c8e}
.constraint-note{font-size:10px;color:#aa7b45;margin:0 0 13px;line-height:1.8}
.agent-panel .issue-actions{justify-content:flex-end}
.agent-panel-content{display:block}
.agent-panel .issue-actions .button{font-size:11px;padding:8px 11px}
.agent-panel .issue-actions .primary{color:white}
.agent-panel .agent-log{margin-top:20px}
.agent-panel .log-item{font-size:10px}
.agent-panel .chat-box h3{font-size:12px;margin-bottom:13px}
.agent-panel .chat-input input{font-size:11px}
.agent-panel .chat-suggestions .chip{font-size:10px}
.tool-evidence{border-top:1px solid #dce7df;margin-top:10px;padding-top:9px;font-size:10px;line-height:1.8;white-space:normal}
.tool-evidence b{font-weight:500;display:block;color:#4c715b}
.tool-evidence>span{font-size:9px;color:#889e8f}
.tool-evidence ul{padding-left:15px;margin:8px 0}
.tool-evidence li{margin:7px 0}
.tool-evidence li small{font-size:8px!important;overflow-wrap:anywhere;line-height:1.7}
.quiet-state{padding:22px 10px;color:var(--muted);font-size:12px;line-height:1.9}
.evidence-table{min-width:650px}
.date-block strong{white-space:nowrap}
.map-toolbar{margin-bottom:17px}
.map-caption{display:none}
.warehouse-map:before{content:'收货区'}
.feed-heading .text-button{font-size:9px}
.overview-grid{align-items:start}
.agent-panel{height:clamp(390px,calc(100dvh - 340px),690px);display:flex;flex-direction:column;position:sticky;top:18px}
.agent-panel>.panel-head{flex-shrink:0}
.agent-panel .agent-panel-content{padding:0;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.assistant-thread{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c3d3c8 transparent;padding:17px 19px 10px}
.agent-panel .chat-messages{max-height:none;overflow:visible;margin:0}
.agent-panel .chat-box{flex:none;margin:0;padding:12px 16px 15px;border-top:1px solid var(--line);background:white}
.agent-panel .chat-suggestions{margin-bottom:9px;gap:5px}
.agent-panel .chat-suggestions .chip{font-size:9px;padding:5px 6px}
.agent-panel .assistant-brief{padding-bottom:12px;margin-bottom:12px}
.agent-panel .assistant-brief p{font-size:11px;margin-top:5px}
.agent-panel .issue{padding:11px 12px;margin-bottom:10px}
.agent-panel .issue h3{font-size:12px;margin:7px 0 4px}
.agent-panel .recommendation{padding:8px 10px;margin:8px 0 10px;gap:2px;font-size:10px}
.agent-panel .issue-actions .button{font-size:10px;padding:7px 9px}
.agent-panel .agent-log{margin-top:12px}
.left-stack{display:grid;gap:19px;min-width:0}
.period-filter{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:7px;padding:13px 16px;margin-bottom:17px}
.period-label{font-size:11px;color:#537164;font-weight:600;margin-right:2px}
.range-shortcuts{display:flex;gap:5px}
.date-inputs{display:flex;gap:7px;align-items:center;margin-left:auto}
.date-inputs span{color:var(--muted);font-size:10px}
.date-inputs input,.period-filter select{border:1px solid #dce5e0;border-radius:4px;padding:7px;background:white;color:#476155;font-size:11px;min-width:0}
.period-filter select{width:62px}
.period-filter .button{padding:8px 12px}
.period-table-unit{font-size:9px;color:var(--muted)}
.summary-tabs{display:flex;align-items:center;gap:18px;padding:0 18px;border-bottom:1px solid var(--line)}
.summary-tab{border:0;border-bottom:2px solid transparent;background:none;font-size:11px;padding:13px 0;color:var(--muted)}
.summary-tab.active{color:var(--green);border-bottom-color:var(--green)}
.summary-tabs>span{margin-left:auto;color:var(--muted);font-size:9px}
.period-table .evidence-table{min-width:470px;font-size:10px}
.period-table .evidence-table td:not(:first-child),.period-table .evidence-table th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
.period-table .evidence-table td:first-child{min-width:95px}
.period-table .evidence-table tfoot{font-weight:600;background:#f5f8f5}
.period-table .evidence-table tfoot td{padding:12px 9px}
.period-table .evidence-table td small{font-size:9px}
.period-caption{font-size:9px;color:#91a096;padding:13px 18px;line-height:1.8}
.period-placeholder{padding:25px;color:var(--muted);font-size:12px}
.period-analysis{font-size:11px;line-height:1.95;color:#4c6455;white-space:normal;overflow-wrap:anywhere;margin:13px 0}
.period-analysis p{margin:9px 0}
.comparison-period{font-size:9px!important;color:#8b9e91!important;margin-top:7px!important}
.analysis-status{display:flex;gap:7px;align-items:center;font-size:9px;color:#8c9e91;line-height:1.8;margin:10px 0}
.period-retry{font-size:10px;color:#668a75}
.agent-panel{height:clamp(440px,calc(100dvh - 370px),730px)}
@media(max-width:1100px){.date-inputs{margin-left:0}.agent-panel{height:600px}}
@media(max-width:700px){.period-filter{padding:12px;gap:9px}.date-inputs{width:100%}.date-inputs input{width:calc(50% - 10px)}.range-shortcuts{margin-left:auto}.period-table-unit{display:none}.summary-tabs{gap:15px}.summary-tabs>span{font-size:8px}.agent-panel{height:min(640px,calc(100dvh - 24px))}}
@media(max-width:1100px){.agent-panel{position:static;height:560px}.agent-panel-content .assistant-thread,.agent-panel-content .chat-box{grid-column:auto}}
@media(max-width:700px){.agent-panel{height:min(620px,calc(100dvh - 24px));min-height:400px}.assistant-thread{padding:14px}.agent-panel .chat-box{padding:11px 13px 13px}}
@media(max-width:700px){.header-right .lab-badge{display:none}.date-block strong{font-size:12px}.page-heading p{max-width:180px;line-height:1.8}.agent-panel .issue h3{font-size:13px}.assistant-brief p{font-size:11px}.panel-head h2 small{display:none}}
/* Interaction feedback: real request stages, never simulated percentage. */
button,.zone,.chip,.summary-tab,.nav{transition:background-color .18s,border-color .18s,color .18s,transform .12s,opacity .18s}
button:not(:disabled):active{transform:scale(.97)}
.button:not(:disabled):hover{background:#f0f6f2;border-color:#7ca68d}
.button.primary:not(:disabled):hover{background:#066453;border-color:#066453}
.chip:not(:disabled):hover{background:#edf5ef;border-color:#99b9a5;color:#226b4a}
.range-shortcuts .chip.selected{background:#e2f1e7;color:#08734e;border-color:#75ad8a;font-weight:600}
.range-shortcuts .chip.selected:before{content:'✓';margin-right:4px}
.summary-tab:hover{color:var(--green);background:#f7faf7}
.summary-tab.active{font-weight:600;background:#f3f8f4}
.date-inputs input:focus,.period-filter select:focus,.chat-input:focus-within{outline:2px solid #9bc3aa;outline-offset:2px;border-color:#5b9872}
.analyze-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:100px;min-height:34px}
.analyze-button:disabled{opacity:1;background:#e6f0e9;color:#427454;border-color:#c5ddcd;cursor:wait}
.spinner{display:inline-block;flex-shrink:0;width:13px;height:13px;border:2px solid #c4d9cb;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}
.analysis-notice{display:flex;align-items:center;gap:12px;padding:12px 15px;border:1px solid #d5e5da;background:#edf5ef;border-radius:6px;margin:-4px 0 17px;animation:status-in .22s ease-out}
.analysis-notice strong{display:block;font-size:11px;font-weight:500;color:#3c6f4d;line-height:1.7}
.analysis-notice small{display:block;font-size:9px;color:#839c8b;line-height:1.7;margin-top:2px}
.analysis-notice>.analysis-elapsed,.analysis-notice>.text-button{margin-left:auto;white-space:nowrap;font-size:10px}
.notice-check{font-size:12px;font-weight:600;color:#4a8b60}
.analysis-notice.is-error{background:#fbf1ea;border-color:#e9d0bf}
.analysis-notice.is-error strong,.analysis-notice.is-error .notice-check{color:#ab6a40}
.agent-thinking{border-color:#8bb79b}
.agent-thinking>.panel-head{background:#edf6ef}
.assistant-status.status-thinking{display:flex;align-items:center;gap:6px;color:#47845b}
.thinking-dots{display:inline-flex;align-items:center;gap:3px}
.thinking-dots i{width:3px;height:3px;background:#629873;border-radius:50%;animation:dot-beat 1.25s ease-in-out infinite}
.thinking-dots i:nth-child(2){animation-delay:.17s}.thinking-dots i:nth-child(3){animation-delay:.34s}
.ai-thinking{margin:14px 0;padding:13px;background:#f0f7f1;border:1px solid #dbeadc;border-radius:6px}
.thinking-heading{display:flex;align-items:center;gap:8px;font-size:11px;color:#3b7450}
.thinking-heading strong{font-weight:500}.thinking-heading .thinking-dots{margin-left:auto}
.analysis-steps{list-style:none;padding:0;margin:12px 0;font-size:10px;line-height:2.25;color:#9bab9e}
.analysis-steps li.current{color:#3e7b50}.analysis-steps li.done{color:#6b9272}
.thinking-track{height:3px;background:#deebe0;overflow:hidden;border-radius:6px;margin:9px 0}
.thinking-track span{display:block;width:35%;height:100%;background:#80aa8a;animation:thinking-track 1.6s ease-in-out infinite}
.analysis-elapsed{font-size:9px;color:#8b9f90;line-height:1.8}
.verified-preview>small{display:block;font-size:9px;color:#8c9d90;margin-bottom:8px}
.brief-loading .verified-preview{color:#8a9c8c}
.skeleton-lines{display:grid;gap:9px;padding:9px 0}.skeleton-lines i{display:block;height:8px;background:#e7eee8;border-radius:3px;animation:skeleton-pulse 1.3s ease-in-out infinite}.skeleton-lines i:nth-child(2){width:87%}.skeleton-lines i:nth-child(3){width:64%}
.answer-enter{animation:answer-in .35s ease-out}
.status-error{color:#a77347}
.twin-panel .zone:hover{transform:translateY(-2px);border-color:#5b9970}
.twin-panel .zone:focus-visible{outline:2px solid #6ca17b;outline-offset:3px}
.twin-panel .zone.zone-selected{border:2px solid #44885e;background:#dfefe3}
.message.ai-pending{display:flex;gap:8px;align-items:center;color:#64846b;font-size:10px}
.message.ai-pending .thinking-dots{margin-left:auto}
.account-button{display:flex;align-items:center;gap:7px;border:0;background:none;color:#546d5e;font-size:11px;padding:4px;border-radius:5px;white-space:nowrap}
.account-button:hover{background:#eaf2ec}.account-icon{width:24px;height:24px;border-radius:50%;background:#e1ece4;display:grid;place-items:center;font-size:10px;color:#64836d}
.nickname-input{display:block;width:100%;margin-top:10px;padding:10px;border:1px solid var(--line);border-radius:5px}
.answer-line{margin:5px 0!important;line-height:1.9;white-space:normal}
.answer-heading,.answer-emphasis{font-weight:650;color:#294936}
.answer-number{font-weight:650;white-space:nowrap;border-radius:3px;padding:0 2px}
.tone-green{color:#287745;background:#eaf5ed}.tone-yellow{color:#9c6a13;background:#faf1db}.tone-red{color:#b74d3d;background:#fbece7}
.agent-panel .issue{padding:8px 10px;margin-bottom:8px;border-left-width:2px}
.agent-panel .issue-label{font-size:8px;line-height:1.4}
.agent-panel .issue-label>span:last-child{color:#9ca89f;font-size:8px}
.agent-panel .issue h3{font-size:11px;margin:5px 0 3px;line-height:1.6}
.agent-panel .issue .issue-fact{font-size:9px!important;margin:0 0 5px;line-height:1.5}
.agent-panel .issue .recommendation{display:block;background:transparent;padding:0;margin:5px 0 7px;line-height:1.6;font-size:9px}
.agent-panel .issue .recommendation b{display:inline;font-size:8px;margin-right:6px;color:#8b9e8e}
.agent-panel .issue-actions{gap:5px}
.agent-panel .issue-actions .button{font-size:9px;padding:5px 8px}
.agent-panel .issue .constraint-note{font-size:9px;margin-bottom:6px}
.message{white-space:normal}
.message.user{white-space:pre-wrap}
@media(max-width:700px){.header-right{gap:8px}.account-button{font-size:9px;gap:4px}.account-icon{display:none}.breadcrumbs span{margin:0 5px}.header-right .text-button{font-size:8px}.agent-panel .issue h3{font-size:11px}}
.feed-row{animation:status-in .25s ease-out}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes dot-beat{0%,70%,100%{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-2px)}}
@keyframes thinking-track{0%{transform:translateX(-110%)}100%{transform:translateX(390%)}}
@keyframes skeleton-pulse{0%,100%{opacity:.5}50%{opacity:1}}
@keyframes status-in{from{opacity:.25;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes answer-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.analysis-notice{align-items:flex-start;gap:9px;padding:11px}.analysis-notice>.analysis-elapsed{font-size:8px}.analysis-notice small{font-size:8px}.analysis-notice .text-button{font-size:9px}.twin-panel h2 small{display:inline!important;font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.spinner{border-style:dotted}.thinking-track span{width:100%;opacity:.5}}
/* Compact workbench heading: reserve the page for warehouse operations. */
.page-heading{padding:14px 0 12px;margin-bottom:10px;align-items:center;gap:16px}
.page-heading .eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:5px}
.page-heading h1{font-size:24px;line-height:1.25;margin:0 0 6px}
.page-heading p{font-size:11px;line-height:1.5;margin:0}
.page-heading .date-block{gap:3px}
.page-heading .date-block span,.page-heading .date-block small{font-size:10px}
.page-heading .date-block strong{font-size:18px;line-height:1.4}
@media(max-width:700px){.page-heading{padding:10px 0;margin-bottom:8px}.page-heading h1{font-size:20px}.page-heading p{font-size:10px;max-width:220px}.page-heading .date-block strong{font-size:13px}.page-heading .eyebrow{font-size:7px}}
.chat-input button{display:inline-flex;align-items:center;justify-content:center;transition:background .16s,transform .16s}.send-icon{width:19px;height:19px;display:block}.chat-input button:hover:not(:disabled){transform:translateY(-1px)}.chat-input button:active:not(:disabled){transform:translateY(0)}
/* Compact title strip; dates belong to the date controls and right-hand business date. */
.page-heading{padding:8px 0;margin-bottom:8px;min-height:0}
.page-heading #day-brief{display:none}
.page-heading .eyebrow{font-size:7px;margin-bottom:3px;line-height:1.2}
.page-heading h1{font-size:23px;line-height:1.2;margin:0}
.page-heading .date-block{display:flex;flex-direction:row;align-items:baseline;gap:10px;white-space:nowrap;text-align:right}
.page-heading .date-block span,.page-heading .date-block small{font-size:10px;margin:0;line-height:1.3}
.page-heading .date-block strong{font-size:17px;line-height:1.3;margin:0}
.page-heading .date-block strong i{margin:0 4px}
@media(max-width:700px){.page-heading{padding:7px 0;gap:8px}.page-heading h1{font-size:18px}.page-heading .date-block{gap:5px;flex-wrap:wrap;justify-content:flex-end}.page-heading .date-block span{display:none}.page-heading .date-block strong{font-size:12px}.page-heading .date-block small{font-size:9px}.page-heading .date-block strong i{margin:0 2px}.page-heading .eyebrow{font-size:6px;letter-spacing:1px}}
.unit-filter{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;color:#718ba7;font-size:10px}.unit-filter select{min-width:108px}.unit-filter>span{white-space:nowrap}
