:root{color:#17201b;background:#f5f7f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden}button,input,textarea,select{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{display:grid;grid-template-columns:272px minmax(460px,1fr) 340px;height:100vh;color:#17201b;background:#f5f7f5}.sidebar{display:flex;min-width:0;flex-direction:column;border-right:1px solid #dde3dd;background:#f9fbf8;padding:18px 14px 14px}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 16px}.brand-mark{display:grid;width:34px;height:34px;place-items:center;border-radius:7px;background:#0f6b57;color:#fff;font-weight:800}.brand strong,.brand span,.user-card strong,.user-card small,.task-name,.task-meta{display:block}.brand span,.user-card small,.task-meta,.message-meta span,.attachment-item span,.workspace-label,.panel-title span,.composer-actions span,.role-select span{color:#6c776f;font-size:12px}.nav-command,.section-trigger,.user-card,.business-item,.task-item{width:100%;border-radius:8px;color:#17201b;background:transparent}.nav-command{display:flex;align-items:center;gap:9px;padding:11px 10px;background:#edf3ef;font-weight:700}.nav-section{margin-top:10px}.section-trigger,.workbench-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;color:#34433b;font-weight:700}.section-trigger span,.workbench-title span{display:flex;align-items:center;gap:8px}.section-trigger button,.workbench-title button,.panel-title button,.composer-actions button{display:grid;width:32px;height:32px;place-items:center;border-radius:8px;background:#eef3ef;color:#34433b}.business-list,.workbench-list{display:grid;gap:6px;margin-top:4px}.business-item{display:flex;justify-content:space-between;align-items:center;padding:9px 10px;text-align:left}.business-item.active,.task-item.active{background:#e1eee7;color:#0f6b57}.business-item small{color:#6c776f}.search-box{display:flex;align-items:center;gap:8px;margin:12px 2px;padding:9px 10px;border:1px solid #dce4de;border-radius:8px;background:#fff}.search-box input{min-width:0;width:100%;border:0;outline:0;background:transparent}.workbench{min-height:0;flex:1;overflow:hidden}.workbench-title button,.panel-title button{color:#55645d;background:transparent}.workbench-list{max-height:100%;overflow:auto}.task-item{display:grid;gap:6px;padding:10px;text-align:left}.task-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.task-title-row small{flex:0 0 auto;color:#849089;font-size:12px}.task-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.sidebar-bottom{display:grid;gap:8px;padding-top:12px}.role-select{display:grid;gap:5px;padding:9px 10px;border-radius:8px;background:#fff;border:1px solid #dce4de}.role-select select{border:0;outline:0;background:transparent;color:#17201b}.user-card{display:grid;grid-template-columns:24px 1fr 18px;align-items:center;gap:9px;padding:10px;background:#edf3ef;text-align:left}.user-menu{display:grid;gap:4px;padding:8px;border:1px solid #dce4de;border-radius:8px;background:#fff;box-shadow:0 12px 32px #192a1f1f}.user-menu button{display:flex;align-items:center;gap:8px;padding:9px 8px;border-radius:7px;background:transparent;color:#34433b;text-align:left}.conversation-panel{display:grid;min-width:0;grid-template-rows:auto 1fr auto;background:#fff}.conversation-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:16px 28px;border-bottom:1px solid #e5e9e5}.conversation-header h1{margin:4px 0 0;font-size:20px;letter-spacing:0}.connection-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #d6e5dc;border-radius:999px;color:#0f6b57;background:#f2faf6;font-size:13px;white-space:nowrap}.connection-pill.danger{border-color:#ead1cf;color:#a23b32;background:#fff7f6}.message-list{min-height:0;overflow:auto;padding:26px clamp(24px,5vw,72px)}.empty-state,.empty-panel{padding:18px;border:1px solid #e4e9e5;border-radius:8px;color:#6c776f;background:#fbfcfb;font-size:14px}.message{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;margin-bottom:18px}.avatar{display:grid;width:34px;height:34px;place-items:center;border-radius:8px;background:#e7eee9;color:#315145}.message.user .avatar{background:#ecf1f8;color:#345880}.message-body{max-width:820px;padding:13px 15px;border:1px solid #e4e9e5;border-radius:8px;background:#fbfcfb}.message.user .message-body{background:#f7faff}.message-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px}.message-body p,.confirmation-card p,.timeline p{margin:0;color:#34433b;line-height:1.65}.message-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.message-attachments span{display:inline-flex;min-width:0;max-width:260px;align-items:center;gap:6px;padding:7px 9px;border:1px solid #dce5df;border-radius:8px;color:#315145;background:#fff;font-size:12px}.message-attachments svg{flex:0 0 auto}.confirmation-card{max-width:820px;margin:22px 0 0 46px;padding:15px;border:1px solid #d8dfd9;border-left:4px solid #0f6b57;border-radius:8px;background:#fbfdfb}.confirmation-card.danger{border-color:#ead1cf;border-left-color:#a23b32;background:#fff7f6}.confirmation-top{display:flex;align-items:center;gap:8px;margin-bottom:8px}.confirmation-top span{margin-left:auto;color:#6c776f;font-size:12px}.confirmation-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.confirmation-list{display:grid;gap:5px;margin:10px 0 0;padding-left:18px;color:#7d4a46;font-size:13px;line-height:1.55}.confirmation-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;margin-top:12px;padding:10px;border:1px solid #d6e5dc;border-radius:8px;background:#fff}.confirmation-result span,.confirmation-result small{color:#6c776f;font-size:12px}.confirmation-result strong{color:#0f6b57}.cost-split-card-mini{display:grid;gap:2px;margin-top:12px;padding:10px;border:1px solid #d6e5dc;border-radius:8px;background:#fff}.confirmation-actions button,.primary-action{min-width:78px;padding:9px 12px;border-radius:8px;background:#eef3ef;color:#34433b;font-weight:700}.confirmation-actions .primary-action,.send-button{background:#0f6b57;color:#fff}.composer-wrap{padding:18px clamp(24px,5vw,72px) 22px;border-top:1px solid #e5e9e5;background:#fff}.composer{border:1px solid #dce4de;border-radius:8px;background:#fbfcfb}.composer-error{margin:10px 10px 0;padding:9px 10px;border:1px solid #ead1cf;border-radius:8px;color:#a23b32;background:#fff7f6;font-size:13px}.pending-files{display:flex;flex-wrap:wrap;gap:8px;padding:10px 10px 0}.pending-file{display:inline-grid;grid-template-columns:18px minmax(0,1fr) 20px;max-width:min(100%,340px);align-items:center;gap:7px;padding:7px 8px;border:1px solid #dce5df;border-radius:8px;color:#34433b;background:#fff;font-size:12px}.pending-file span,.message-attachments span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pending-file button{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;color:#7d4a46;background:transparent}.composer textarea{display:block;width:100%;min-height:86px;resize:none;border:0;outline:0;padding:14px 16px;background:transparent;color:#17201b}.composer-actions{display:flex;align-items:center;gap:10px;padding:0 10px 10px}.composer-actions span{flex:1}.task-flow{min-width:0;overflow:auto;border-left:1px solid #dde3dd;background:#f9fbf8;padding:18px 16px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.panel-title h2{margin:3px 0 0;font-size:18px}.flow-section{padding:14px 0;border-top:1px solid #e1e6e1}.flow-section h3{margin:0 0 10px;font-size:14px}.attachment-list,.timeline{display:grid;gap:8px}.attachment-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:center;padding:9px;border:1px solid #e1e7e1;border-radius:8px;background:#fff}.attachment-item svg{color:#0f6b57}.attachment-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.timeline-item{position:relative;display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px}.timeline-dot{width:10px;height:10px;margin-top:5px;border-radius:50%;background:#b6c1ba}.timeline-item.active .timeline-dot{background:#0f6b57}.timeline-item.done .timeline-dot{background:#4e806f}.timeline-item strong,.split-row strong,.split-total strong{font-size:13px}.timeline p{color:#6c776f;font-size:12px}.split-summary,.cost-split-summary{display:grid;gap:8px}.split-lines,.authorization-list{display:grid;gap:6px}.split-line,.authorization-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:8px;border:1px solid #e1e7e1;border-radius:8px;background:#fff}.split-line span,.authorization-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.split-line small{grid-column:1 / -1;color:#6c776f;font-size:12px}.split-row,.split-total{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #e6ebe6}.split-total{color:#0f6b57}.reimbursement-summary{display:grid;gap:8px}.reimbursement-summary p{margin:0;color:#4c5a52;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.operation-log{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:start;margin-top:8px;color:#4c5a52;font-size:13px;line-height:1.5}.runtime-list,.evidence-block{display:grid;gap:8px}.runtime-item,.evidence-item{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:start;padding:9px;border:1px solid #e1e7e1;border-radius:8px;background:#fff}.runtime-item svg,.evidence-item svg{margin-top:2px;color:#0f6b57}.runtime-item strong,.evidence-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.runtime-item p,.evidence-item p{margin:2px 0 0;color:#6c776f;font-size:12px;line-height:1.45}.evidence-item p{overflow-wrap:anywhere}.evidence-item small{display:block;margin-top:5px;color:#849089;font-size:11px}.status-dot{width:10px;height:10px;margin:5px;border-radius:50%;background:#b6c1ba}.status-dot.active{background:#0f6b57}.status-dot.done{background:#4e806f}@media(max-width:1100px){.app-shell{grid-template-columns:248px minmax(360px,1fr)}.task-flow{display:none}}@media(max-width:760px){body{overflow:auto}.app-shell{display:block;height:auto;min-height:100vh}.sidebar,.task-flow{display:block;border:0}.conversation-panel{min-height:68vh}.conversation-header,.message-list,.composer-wrap{padding-left:16px;padding-right:16px}.confirmation-card{margin-left:0}}
