:root{--nav:#10233c;--nav-muted:#8ea3bd;--ink:#1d2e43;--muted:#8190a1;--line:#e9edf2;--bg:#f5f7fa;--green:#178b72;--mint:#64dfc1;--soft:#e9f7f2;--blue:#477ad5;--red:#db6a67;--purple:#7e6dd8;--shadow:0 12px 50px #142b441a}
*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:13px;color:var(--ink);background:var(--bg);line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{border:0}a{color:var(--green);text-decoration:none}svg{width:19px;height:19px;flex-shrink:0;vertical-align:middle}button:focus-visible,a:focus-visible{outline:3px solid #6be4c8;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:0;border-color:#47bca1!important;box-shadow:0 0 0 3px #47bca114}input,select,textarea{color:var(--ink)}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:-.7px;line-height:1.4}h2{font-size:15px;letter-spacing:.1px}h3{font-size:14px}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.mono{font-variant-numeric:tabular-nums}.green{color:var(--green)}.red{color:var(--red)}.flex{display:flex;align-items:center;gap:10px}.between{display:flex;align-items:center;justify-content:space-between;gap:16px}.wrap{flex-wrap:wrap}.grow{flex:1}.spacer{flex:1}.hidden{display:none!important}.empty{padding:38px 20px;text-align:center;color:var(--muted)}.empty svg{width:30px;height:30px;color:#b5c3cd;margin-bottom:8px}.empty p{margin:5px 0 12px}.skeleton{height:5px;background:var(--line);border-radius:5px;margin:5px 0}.loading-screen{height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:var(--muted)}.brand-mark{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;font-size:30px;font-weight:900;line-height:1;color:var(--nav);background:var(--mint);font-style:italic;padding-right:3px}
.layout{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:var(--nav);color:white;display:flex;flex-direction:column;padding:30px 16px 17px;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 15px 29px}.brand strong{font-size:19px;letter-spacing:2px}.brand small{display:block;color:var(--nav-muted);font-size:9px;letter-spacing:2.5px;margin-top:1px}.nav-group{font-size:10px;letter-spacing:1.5px;color:#637e9d;padding:14px 18px 9px}.nav-item{display:flex;gap:13px;align-items:center;color:#acbdd2;padding:11px 15px;border-radius:8px;margin:3px 0;transition:.16s;width:100%;text-align:left;background:none;font-size:13px}.nav-item:hover{background:#ffffff09;color:white}.nav-item.active{background:#23433f;color:#75e0c5;font-weight:600}.nav-item svg{width:18px;height:18px}.nav-item .nav-count{margin-left:auto;font-size:10px;border-radius:4px;padding:0 6px;background:#ffffff09}.nav-item.active .nav-count{background:#65ddc51a}.sidebar-foot{margin-top:auto;border-top:1px solid #ffffff12;padding:17px 10px 0}.local-pill{color:#b6c9d9;display:flex;align-items:center;gap:7px;font-size:11px;margin-bottom:17px}.dot{height:6px;width:6px;border-radius:50%;background:var(--mint);display:inline-block}.profile .avatar{background:#2d435d;color:#bed9e9;border:1px solid #49617b}.profile small{display:block;font-size:10px;color:#758da8}.profile .icon-btn{color:#9bb0ca}.main{margin-left:226px;flex:1;min-width:0}.topbar{height:75px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 35px;position:sticky;top:0;z-index:15}.crumb{font-size:12px;color:#99a6b4;display:flex;gap:12px;align-items:center}.crumb b{font-weight:500;color:#526377}.global-search{position:relative;display:flex;align-items:center;gap:10px;color:#9ea9b5}.global-search input{width:210px;border:0;background:#f7f9fb;padding:9px 33px;border-radius:7px;font-size:12px}.global-search>svg{position:absolute;left:10px;width:15px}.global-search kbd{position:absolute;right:10px;font-size:10px;border:1px solid #e6eaf0;border-radius:3px;padding:0 4px}.search-results{position:absolute;top:42px;right:0;width:360px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);max-height:400px;overflow:auto}.search-result{display:block;width:100%;padding:11px 15px;text-align:left;background:white;border-bottom:1px solid #f5f5f5}.search-result:hover{background:#f6fbf9}.top-actions{display:flex;gap:15px;align-items:center}.icon-btn{width:33px;height:33px;display:inline-grid;place-items:center;border-radius:7px;background:transparent;color:#8493a2;position:relative}.icon-btn:hover{background:#edf3f3;color:var(--green)}.icon-btn .unread-dot{position:absolute;right:7px;top:5px;background:#e58469;border:2px solid white;height:8px;width:8px;border-radius:50%}.btn{border:1px solid #e0e6ea;background:white;color:#485c6e;padding:9px 14px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-weight:500;font-size:12px;transition:.15s}.btn:hover{border-color:#a7d8ca;color:var(--green);background:#fcfffe}.btn svg{width:16px;height:16px}.btn.primary{background:#198e76;border-color:#198e76;color:white;box-shadow:0 2px 4px #168f7610}.btn.primary:hover{background:#107c66}.btn.ai{background:#f2f8f6;border-color:#dbece5;color:#28765f}.btn.danger{color:var(--red)}.btn.light{background:transparent;border-color:transparent;padding:5px;color:var(--muted)}.btn.small{padding:5px 10px;font-size:11px}.btn.block{width:100%}.content{padding:30px 35px 40px;max-width:1710px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:20px}.page-head p{margin-top:7px;color:var(--muted);font-size:12px}.eyebrow{font-size:10px;color:var(--green);letter-spacing:1.5px;font-weight:700;margin-bottom:8px}.date-tag{color:#96a2b1;font-size:12px;display:flex;align-items:center;gap:7px}.date-tag svg{width:15px}.tag{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:4px;white-space:nowrap;font-size:10px;font-weight:500;background:#eff3f8;color:#7c91a9}.tag.green{background:#ebf7f2;color:#238969}.tag.blue{background:#edf3fd;color:#658ac3}.tag.orange{background:#fff3e8;color:#c48b51}.tag.red{background:#fdf0ee;color:#ca736e}.tag.purple{background:#f3effc;color:#9180c6}.tag.outline{border:1px solid #e6e9ee;background:none;color:#9aa7b4}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:20px 22px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#8e9cac;font-size:12px}.stat-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#eef6f3;color:#589e8a}.stat-icon.blue{background:#eff3fb;color:#7d9fcd}.stat-icon.orange{background:#fcf3e8;color:#c5a06b}.stat-icon.purple{background:#f4f0fa;color:#a48cc9}.stat strong{display:block;font-size:29px;letter-spacing:-1px;margin:10px 0 7px;font-weight:650;color:#24374c;line-height:1.2}.stat strong small{font-size:16px;font-weight:500;letter-spacing:0;color:#8190a1;margin-right:3px}.stat-bottom{font-size:10px;color:#a3adba;display:flex;align-items:center;gap:7px}.stat-bottom b{color:#589a84;font-weight:500}.dash-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:22px;align-items:start}.stack{display:flex;flex-direction:column;gap:22px}.card{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.card-head{display:flex;align-items:center;justify-content:space-between;padding:19px 21px;border-bottom:1px solid #f0f3f6}.card-head h2{display:flex;align-items:center;gap:9px}.card-head h2 svg{width:16px;color:#8198a4}.card-head .count{background:#f1f4f7;color:#8996a4;font-size:10px;padding:1px 7px;border-radius:4px}.card-body{padding:20px 21px}.task-row{padding:15px 21px;display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid #f0f3f6;transition:.15s}.task-row:last-child{border:0}.task-row:hover{background:#fbfdfc}.check{width:16px;height:16px;border-radius:5px;border:1px solid #d8e1e6;background:white;margin-top:4px;display:grid;place-items:center;flex-shrink:0}.check:hover{border-color:var(--green);background:var(--soft)}.check svg{width:12px;height:12px}.task-title{font-size:12px;font-weight:550;display:block;cursor:pointer}.task-meta{display:flex;gap:9px;align-items:center;color:#9ca8b5;font-size:10px;margin-top:5px}.task-side{margin-left:auto;text-align:right;display:flex;align-items:center;gap:10px;font-size:10px;white-space:nowrap}.avatar{height:29px;width:29px;border-radius:50%;background:#eaf2f5;color:#6c8a9f;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:11px;font-weight:600}.avatar.small{height:23px;width:23px;font-size:9px}.avatar.square{border-radius:8px;height:34px;width:34px;background:#edf5f5;color:#538c87;font-size:14px}.avatar.purple{background:#f1eef8;color:#9a87bf}.avatar.orange{background:#faf1e5;color:#b29771}.pipeline-row{display:grid;grid-template-columns:65px 1fr 24px;align-items:center;gap:13px;margin:16px 0;font-size:11px;color:#8493a1}.pipeline-row strong{font-weight:500;text-align:right}.bar-bg{height:7px;background:#f1f4f8;border-radius:5px;overflow:hidden}.bar{height:100%;border-radius:5px;background:#86c9ba}.pipeline-summary{margin-top:17px;padding-top:17px;border-top:1px dashed #e9edf1;display:flex;justify-content:space-between;font-size:11px;color:#8594a3}.notice{padding:13px 15px;border:1px solid #e4eee9;border-radius:8px;background:#f6fbf8;color:#638e7f;font-size:11px;line-height:1.8}.notice.warning{background:#fffaf2;border-color:#f3e6cc;color:#a38b62}.monitor-empty{padding:21px;color:#8e9caa}.monitor-icon{background:#eff6f4;color:#92b7a8;border-radius:10px;height:40px;width:40px;display:grid;place-items:center;margin-bottom:12px}.monitor-empty p{font-size:11px;margin:7px 0 13px;color:#9aa6b2;line-height:1.9}.activity-row{display:flex;gap:12px;padding:11px 0;align-items:flex-start}.activity-dot{position:relative;width:9px;height:9px;flex-shrink:0;margin-top:6px;background:#c8ded6;border:2px solid #f0f6f3;border-radius:50%}.activity-row:not(:last-child) .activity-dot:after{content:"";position:absolute;top:9px;left:2px;width:1px;height:32px;background:#edf2ef}.activity-row p{font-size:11px}.activity-row small{display:block;font-size:10px;color:#a2adba;margin-top:2px}.activity-time{margin-left:auto;font-size:10px;color:#a4aeb9;white-space:nowrap}.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.quick{background:#f8fafb;color:#78909e;border:1px solid #edf1f3;border-radius:7px;padding:12px 3px;font-size:10px;display:flex;align-items:center;flex-direction:column;gap:8px}.quick:hover{background:#eef8f4;color:var(--green);border-color:#cde8dd}.quick svg{width:18px;height:18px}.greeting{padding:18px 21px;background:linear-gradient(110deg,#eff8f4,#fbfdfa);border:1px solid #e2eee8;border-radius:9px;margin-bottom:22px;display:flex;align-items:center;gap:14px}.greeting-icon{height:38px;width:38px;border-radius:10px;background:#dfefe7;display:grid;place-items:center;color:#5f9c84}.greeting h3{font-size:12px;font-weight:600}.greeting p{font-size:11px;color:#84a093;margin-top:3px}.greeting .btn{margin-left:auto}
.toolbar{display:flex;align-items:center;gap:10px;padding:15px 19px;border-bottom:1px solid var(--line);background:white}.tabs{display:flex;gap:23px;align-items:center;border-bottom:1px solid var(--line);padding:0 21px;background:white}.tab{background:transparent;color:#9aa7b5;padding:15px 0;position:relative;font-size:12px;border-bottom:2px solid transparent}.tab.active{color:var(--green);border-color:var(--green);font-weight:600}.tab small{margin-left:5px;color:#adbac5;font-size:10px}.search-input{position:relative}.search-input svg{position:absolute;left:10px;top:10px;width:15px;color:#a0aebb}.search-input input{border:1px solid #e6ebf0;border-radius:6px;padding:8px 10px 8px 31px;width:220px;font-size:11px;background:white}.filter{border:1px solid #e6ebf0;border-radius:6px;padding:8px 11px;background:white;color:#8493a2;font-size:11px;max-width:160px}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:10px;font-weight:500;color:#9aa7b4;background:#fafbfd;padding:13px 20px;border-bottom:1px solid var(--line)}td{padding:17px 20px;border-bottom:1px solid #eef2f5;font-size:12px;color:#637589}tbody tr:last-child td{border:0}tbody tr:hover{background:#fcfefd}.record-name{color:#354c60;font-size:12px;font-weight:550;background:none;text-align:left;padding:0}.record-name:hover{color:var(--green)}.record-sub{font-size:10px;color:#a4afba;margin-top:3px}.table-footer{padding:14px 20px;border-top:1px solid var(--line);font-size:10px;color:#9ba8b6;display:flex;justify-content:space-between}.cell-name{display:flex;gap:10px;align-items:center}.linklike{background:none;color:var(--green);padding:0;font-size:11px}.board{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:15px;overflow:auto;align-items:start}.board-col{background:#edf1f6;border-radius:10px;padding:13px;min-height:230px}.board-head{display:flex;justify-content:space-between;align-items:center;margin:3px 3px 14px;font-size:12px}.board-card{background:white;border:1px solid #e6eaf0;border-radius:8px;padding:15px;margin-bottom:11px;box-shadow:0 2px 4px #142b4403;cursor:pointer}.board-card:hover{border-color:#9acfbf}.board-card h3{font-size:12px;line-height:1.7}.board-card p{font-size:10px;color:#97a5b3;margin:5px 0 13px}.board-card strong{font-size:17px;font-weight:600}.board-card .between{margin-top:13px;border-top:1px solid #f0f4f5;padding-top:11px}.segmented{display:flex;border:1px solid #e2e9ee;border-radius:6px;padding:3px;background:#f7f9fa}.segmented button{padding:5px 10px;background:transparent;color:#94a1ad;border-radius:4px;font-size:11px}.segmented button.active{background:white;color:var(--green);box-shadow:0 1px 3px #142b4410}.section-space{margin-top:22px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.setting-card{padding:23px}.setting-card .icon-box{width:37px;height:37px;background:#eff6f3;color:#64a08b;border-radius:9px;display:grid;place-items:center}.setting-card p{font-size:12px;color:#95a3b0;margin:14px 0;line-height:1.9}.setting-card code{font-size:11px;background:#f5f7f8;border-radius:3px;padding:2px 5px;word-break:break-all}.setting-card pre{font-size:10px;color:#7c8d9d;background:#f7f9fb;padding:12px;border-radius:6px;white-space:pre-wrap}.news-card{padding:21px;border-bottom:1px solid var(--line)}.news-card h3{margin:8px 0}.news-card p{color:#8a99a9;font-size:12px;line-height:1.9}.news-card a{font-size:11px;display:inline-block;margin-top:12px}
.backdrop{position:fixed;inset:0;background:#0e20394a;z-index:40;backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:25px}.modal{background:white;border-radius:14px;box-shadow:0 25px 90px #0c20343b;width:min(820px,95vw);max-height:92vh;display:flex;flex-direction:column}.modal-head{padding:21px 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-head p{font-size:11px;color:#9ba8b5;margin-top:3px}.modal-body{padding:23px 25px;overflow:auto;flex:1}.modal-footer{padding:16px 25px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;align-items:center;gap:10px;background:#fbfcfd;border-radius:0 0 14px 14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 20px}.field{display:block;min-width:0}.field.wide{grid-column:1/-1}.field>span{display:block;font-size:11px;color:#8494a3;margin-bottom:6px}.field em{color:#cf8577;font-style:normal}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe6ec;border-radius:6px;background:white;padding:10px 11px;font-size:12px;min-height:39px}.field textarea{resize:vertical;min-height:85px}.field .check-field{display:flex;align-items:center;gap:9px;height:40px;border:1px solid #e7ecef;border-radius:6px;padding:8px 12px}.field input[type=checkbox]{width:15px;min-height:15px;accent-color:var(--green)}.field-hint{font-size:10px;color:#a4adba;margin-top:5px}.form-section{margin:23px 0 13px;padding-top:18px;border-top:1px solid var(--line);font-size:12px;font-weight:600}.line-head,.quote-line{display:grid;grid-template-columns:1.3fr .8fr 1fr 1fr 26px;gap:10px;align-items:center}.line-head{font-size:10px;color:#8e9ba8;padding:8px}.quote-line{margin:9px 0}.quote-line input{width:100%;min-width:0;border:1px solid #e2e8ed;border-radius:5px;padding:9px;font-size:12px}.quote-line .subtotal{text-align:right;padding-right:10px;color:#7e8fa0;font-size:12px}.quote-summary{margin-top:20px;background:#f6faf8;border:1px solid #deeee5;border-radius:9px;padding:17px 20px}.quote-summary .total{font-size:26px;font-weight:650;letter-spacing:-.5px;color:#24866d}.quote-summary .mini{font-size:11px;color:#89a697;margin-top:7px}.error-banner{border-radius:6px;background:#fff1ed;color:#b97566;padding:10px 13px;font-size:12px;margin-bottom:16px}.drawer-shell{position:fixed;inset:0;background:#0e20392e;z-index:35;display:flex;justify-content:flex-end}.drawer{width:min(790px,95vw);background:white;box-shadow:-10px 0 50px #142b4415;display:flex;flex-direction:column;animation:slide .18s ease-out}.drawer-head{padding:23px 27px;border-bottom:1px solid var(--line)}.drawer-head h2{font-size:19px;margin:6px 0}.drawer-body{padding:22px 27px;overflow:auto;flex:1;background:#fafbfd}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-item{font-size:12px;word-break:break-word}.detail-item small{font-size:10px;display:block;color:#98a7b6;margin-bottom:4px}.detail-item.wide{grid-column:1/-1}.detail-section{background:white;padding:19px 21px;border:1px solid var(--line);border-radius:8px;margin-bottom:17px}.detail-section h3{font-size:12px;margin-bottom:15px}.related-row{padding:12px 0;border-bottom:1px solid #f0f2f5;display:flex;align-items:center;gap:10px}.related-row:last-child{border:0}.related-row p{font-size:11px}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.file-row{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:11px}.file-row a{flex:1}.agent{width:min(440px,100vw);display:flex;flex-direction:column;background:#fbfcfe;position:fixed;right:0;top:0;bottom:0;z-index:60;box-shadow:-10px 0 60px #152e4322;animation:slide .2s ease-out}.agent-head{padding:22px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;gap:11px}.agent-logo{height:34px;width:34px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(130deg,#dbf4e9,#ebecfc);color:#729c8b}.agent-head h2{font-size:14px}.agent-head small{font-size:10px;color:#9aa8b5}.agent-body{padding:22px;overflow:auto;flex:1}.agent-welcome{text-align:center;margin-top:45px}.agent-welcome .agent-logo{margin:0 auto 18px;width:52px;height:52px;border-radius:15px}.agent-welcome h3{font-size:17px}.agent-welcome p{color:#94a3b2;font-size:12px;line-height:1.9;margin-top:10px}.prompt-chip{display:block;width:100%;background:white;border:1px solid #e7ecef;border-radius:8px;text-align:left;padding:12px 15px;margin-top:10px;color:#8596a6;font-size:11px}.prompt-chip:hover{border-color:#bedfce;color:#429c7e}.chat-message{max-width:96%;padding:13px 15px;border-radius:9px;margin:14px 0;font-size:12px;white-space:pre-wrap;word-break:break-word;line-height:1.9}.chat-message.user{background:#e7f4ee;margin-left:25px;border-bottom-right-radius:2px;color:#35745e}.chat-message.assistant{background:white;border:1px solid #e8edf2;border-bottom-left-radius:2px;color:#647a8e}.chat-label{font-size:9px;color:#a3afbc;letter-spacing:.5px}.chat-action{display:block;background:#edf6f1;border:1px solid #d9ebe2;border-radius:5px;padding:8px;color:#4d9277;font-size:11px;margin:6px 0}.agent-compose{padding:15px 20px 20px;border-top:1px solid var(--line);background:white}.compose-box{border:1px solid #dce7e1;border-radius:10px;padding:10px}.compose-box textarea{border:0;resize:none;width:100%;min-height:70px;font-size:12px;background:transparent;padding:3px;box-shadow:none!important}.compose-box .between{font-size:9px;color:#a0afa9}.send{width:28px;height:28px;border-radius:6px;background:#258b70;color:white;display:grid;place-items:center}.send svg{width:15px}.notifications{width:min(470px,95vw)}.notification{padding:17px 21px;border-bottom:1px solid var(--line);cursor:pointer}.notification.unread{background:#f2faf6}.notification h3{font-size:12px}.notification p{font-size:11px;color:#99a6b1;margin-top:5px}.notification small{font-size:10px;color:#adb7c2}.toast{position:fixed;bottom:28px;left:calc(50% + 80px);transform:translateX(-50%);padding:12px 22px;border-radius:9px;background:#183b32;color:#e8fbf3;box-shadow:var(--shadow);z-index:100;font-size:12px;max-width:80vw;animation:fadein .2s}.toast.error{background:#6f3f3a}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1.2fr;background:white}.auth-aside{background:var(--nav);color:white;padding:65px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-aside:after{content:"7";font-size:650px;position:absolute;bottom:-250px;left:20px;color:#6fdec106;font-weight:900;font-style:italic;line-height:1;pointer-events:none}.auth-aside .brand{padding:0}.auth-aside h1{font-size:34px;line-height:1.6;letter-spacing:1px}.auth-aside p{font-size:13px;color:#90a7bf;margin-top:22px;line-height:2.2;max-width:320px}.auth-aside small{color:#67829e;font-size:11px}.auth-main{display:flex;align-items:center;justify-content:center;padding:40px}.auth-form{max-width:490px;width:100%}.auth-form h2{font-size:23px;margin-bottom:8px}.auth-form>p{font-size:12px;color:#97a4b0;margin-bottom:25px}.auth-form .form-grid{gap:15px}.auth-form .field{margin-bottom:15px}.auth-form .btn{margin-top:20px}.setup-person{font-size:11px;color:#6e8b82;margin:19px 0 10px;border-top:1px solid var(--line);padding-top:17px}.demo-checkbox{display:flex;gap:9px;align-items:center;font-size:11px;color:#8c9ca8;margin-top:10px}.demo-checkbox input{accent-color:var(--green)}.welcome-note{font-size:10px;color:#a2b1bd;margin-top:16px}.mobile-menu{display:none}
@keyframes slide{from{transform:translateX(30px);opacity:.5}to{transform:translateX(0);opacity:1}}@keyframes fadein{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
.stack,.card{min-width:0}.task-row>div{min-width:0}
@media(min-width:1550px){.content{padding:35px 48px}.topbar{padding:0 48px}.stat{padding:23px 25px}}
@media(max-width:1200px){.sidebar{width:200px}.main{margin-left:200px}.content{padding:24px}.topbar{padding:0 24px}.dash-grid{grid-template-columns:1.2fr 1fr;gap:17px}.stat{padding:17px}.stat strong{font-size:25px}.board{grid-template-columns:repeat(4,240px)}.stat-grid{gap:12px}.task-row{padding:14px 17px}.task-side{gap:5px}.global-search input{width:170px}.auth-aside{padding:45px}.auth-aside h1{font-size:28px}}
@media(max-width:960px){.sidebar{width:73px;padding:25px 9px}.brand{padding:0 8px 25px}.brand div:not(.brand-mark){display:none}.nav-group,.nav-item span,.sidebar-foot .profile div,.local-pill{display:none}.nav-item{padding:12px;justify-content:center}.nav-item .nav-count{display:none}.sidebar-foot{padding:15px 7px 0}.profile .icon-btn{display:none}.main{margin-left:73px}.dash-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(4,1fr)}.stat{padding:14px}.stat strong{font-size:23px}.greeting .btn{font-size:10px}.auth-page{grid-template-columns:1fr}.auth-aside{display:none}}
@media(max-width:650px){h1{font-size:23px}.topbar{height:63px;padding:0 15px}.crumb>span:first-child,.crumb svg{display:none}.top-actions{gap:8px}.global-search{display:none}.top-actions .btn{padding:7px 9px;font-size:10px}.content{padding:20px 14px}.stat-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-icon{width:26px;height:26px}.stat-top{font-size:10px}.stat strong{font-size:24px}.greeting{padding:14px}.greeting .btn{display:none}.page-head{align-items:flex-start;gap:10px}.page-head .date-tag{display:none}.page-head .btn{padding:8px 10px}.settings-grid{grid-template-columns:1fr}.toolbar{overflow:auto;padding:12px}.toolbar .search-input input{width:170px}.tabs{gap:18px;overflow:auto;padding:0 15px}.tab{white-space:nowrap}.modal-body{padding:18px}.modal-head{padding:17px}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.modal-footer{padding:14px}.backdrop{padding:10px}.detail-grid{grid-template-columns:1fr}.drawer-head{padding:18px}.drawer-body{padding:15px}.detail-item.wide{grid-column:auto}.line-head,.quote-line{grid-template-columns:1.1fr .7fr 1fr 25px;gap:5px}.line-head span:nth-child(4),.quote-line .subtotal{display:none}.toast{left:50%;width:85vw;text-align:center}.task-side .avatar{display:none}.quick-actions{gap:6px}.auth-main{padding:25px}.board{grid-template-columns:repeat(4,235px)}.topbar .avatar{display:none}.stat-bottom{font-size:9px}.sidebar{width:59px;padding:22px 5px}.main{margin-left:59px}.brand-mark{width:33px;height:33px;font-size:26px}.brand{padding:0 7px 25px}.nav-item{padding:12px 10px}.sidebar-foot{padding:12px 8px 0}}
@media(max-width:960px){.dash-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat strong{font-size:18px}.task-side{white-space:normal;max-width:65px;flex-shrink:0}}
.agent-page-head{margin-bottom:22px}.agent-page-head h1{font-size:25px}.model-status{display:flex;align-items:center;gap:8px;border:1px solid #e0e8e5;border-radius:20px;background:white;padding:8px 13px;color:#819a8e;font-size:11px;white-space:nowrap}.model-status svg{width:12px;height:12px}.dot.pending{background:#d6af6f}.agent-workspace{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:23px;align-items:start}.conversation-card{height:calc(100vh - 214px);min-height:560px;border:1px solid #e2e9e7;background:#fff;border-radius:14px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 2px 10px #224e3c03}.conversation-top{padding:17px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eff3f1;background:#fefffe}.conversation-top b{font-size:12px;font-weight:550}.agent-mini-logo{width:29px;height:29px;background:linear-gradient(130deg,#def5e9,#eff4ee);display:grid;place-items:center;color:#589e83;border-radius:8px;flex-shrink:0}.agent-mini-logo svg{width:17px;height:17px}.home-messages{padding:22px 27px;overflow:auto;flex:1;min-height:0;scroll-behavior:auto;overscroll-behavior:contain}.agent-intro{padding:14px 0 22px;text-align:center}.agent-orb{height:60px;width:60px;display:grid;place-items:center;margin:0 auto 17px;background:radial-gradient(ellipse at 30% 20%,#ecf9f2,#dcefe6 80%);border:1px solid #d6ecdf;border-radius:19px;box-shadow:0 8px 20px #c5e8d630;color:#548e75;transform:rotate(-5deg)}.agent-orb svg{width:30px;height:30px;transform:rotate(5deg)}.intro-greeting{font-size:11px;color:#a3b4aa;letter-spacing:.3px}.agent-intro h2{font-size:24px;font-weight:600;letter-spacing:-.5px;margin-top:7px;color:#294538}.agent-intro p{font-size:12px;line-height:1.9;color:#9caaa2;margin-top:12px}.agent-starters{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:680px;margin:1px auto 8px}.agent-starter{display:flex;align-items:flex-start;gap:12px;text-align:left;border:1px solid #e8efeb;border-radius:9px;background:#fff;padding:16px 14px;color:#7c9385;min-width:0;transition:.16s}.agent-starter:hover{background:#f5fbf7;border-color:#b9d9c9;transform:translateY(-1px)}.agent-starter>.starter-icon{height:30px;width:30px;display:grid;place-items:center;background:#f0f7f2;color:#8bb49e;border-radius:8px;flex-shrink:0}.agent-starter>.starter-icon svg{width:16px;height:16px}.agent-starter>b{font-size:12px}.agent-starter>span:not(.starter-icon){min-width:0;flex:1}.agent-starter b{display:block;font-size:12px;font-weight:550;color:#5a7667}.agent-starter small{display:block;font-size:10px;color:#a0aea6;line-height:1.7;margin-top:5px}.agent-starter>svg{width:12px;height:12px;margin-top:6px;color:#b4c3ba}.home-composer-wrap{padding:0 23px 15px}.connection-inline{display:flex;align-items:center;gap:7px;font-size:10px;color:#a9a080;padding:9px 2px}.connection-inline button{margin-left:auto;background:none;color:#8ba99a;white-space:nowrap;font-size:10px}.home-composer{border:1px solid #cddfd4;border-radius:11px;padding:12px 15px;background:#fcfefc;box-shadow:0 4px 13px #33584104}.home-composer:focus-within{border-color:#79b69a;box-shadow:0 0 0 3px #69ba9a0c}.home-composer textarea{border:0;background:transparent;box-shadow:none!important;outline:0;resize:none;min-height:62px;width:100%;font-size:12px;line-height:1.8;color:#476353}.home-composer textarea::placeholder{color:#aebdb3}.composer-hint{font-size:9px;color:#b2beb7}.home-send{border-radius:7px;background:#288967;color:white;display:flex;gap:8px;align-items:center;padding:8px 12px;font-size:11px}.home-send svg{width:14px;height:14px}.agent-footnote{text-align:center;color:#b8c2bc;font-size:9px;margin-top:9px}.agent-context{display:flex;flex-direction:column;gap:18px;min-width:0}.agent-context .card-head{padding:16px 17px}.agent-context .card-head h2{font-size:12px}.agent-context .card-head h2 svg{width:15px;height:15px}.agent-context .card-head .linklike{font-size:10px}.context-todo{padding:15px 17px;border-bottom:1px solid #eff3f1}.context-todo:last-child{border:0}.context-todo>.between:last-child{margin-top:8px}.context-todo .record-name{font-size:11px;white-space:normal;line-height:1.8}.context-todo svg{height:12px;width:12px;color:#c7b688}.agent-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:20px 12px;gap:8px}.agent-mini-stats>div{text-align:center;border-right:1px solid #edf3ef}.agent-mini-stats>div:last-child{border:0}.agent-mini-stats strong{display:block;font-size:23px;font-weight:600;color:#496657;line-height:1.5}.agent-mini-stats small{font-size:9px;color:#a4b0a9}.agent-result-empty{padding:2px 0 5px;text-align:center}.result-check{height:29px;width:29px;display:grid;place-items:center;border-radius:50%;background:#f0f6f2;color:#a6c1af;margin:0 auto 10px}.result-check svg{width:15px;height:15px}.agent-result-empty p{font-size:11px;color:#94a69b}.agent-result-empty small{font-size:10px;color:#b4bfb8;display:block;margin-top:5px}.agent-context-note{display:flex;align-items:flex-start;gap:9px;font-size:10px;color:#acb9b0;padding:0 4px;line-height:1.8}.agent-context-note svg{width:14px;height:14px;margin-top:2px;flex-shrink:0}.home-message{display:flex;align-items:flex-start;gap:12px;margin:5px 0 25px}.home-message .message-content{min-width:0;flex:1}.home-message .chat-label{margin-bottom:8px;color:#a2b4a8}.home-message .message-text{font-size:12px;white-space:pre-wrap;word-break:break-word;line-height:1.95;color:#627a6b}.home-message.user .message-text{background:#f1f8f3;border:1px solid #e7f0e9;padding:12px 15px;border-radius:0 10px 10px;display:inline-block;color:#527763}.home-message.user .avatar{width:29px;height:29px;background:#e8f3ec;color:#83a38f;font-size:10px}.home-message .chat-action{display:flex;align-items:center;gap:9px;padding:11px 12px;font-size:11px}.home-message .chat-action>svg{margin-left:auto}.action-check{display:grid;place-items:center;background:#dff0e4;border-radius:4px;width:22px;height:22px}.action-check svg{width:13px;height:13px}
.sidebar{overflow-y:auto;scrollbar-width:thin}.sidebar>.nav-item,.sidebar>.brand,.sidebar>.nav-group,.sidebar>.sidebar-foot{flex-shrink:0}
@media(min-height:1000px){.agent-intro{padding-top:35px;padding-bottom:35px}.agent-starter{padding:20px 16px}}
@media(max-width:1250px){.agent-workspace{grid-template-columns:minmax(0,1fr) 255px;gap:17px}.home-messages{padding:20px}.home-composer-wrap{padding:0 18px 13px}.agent-starters{gap:9px}.agent-starter{padding:12px;gap:8px}.agent-starter>.starter-icon{width:24px;height:24px}.agent-intro h2{font-size:22px}}
@media(max-width:1050px){.agent-workspace{grid-template-columns:minmax(0,1fr)}.agent-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.agent-context>section:first-child{grid-row:span 2}.agent-context-note{display:none}.conversation-card{min-height:575px}.agent-page-head h1{font-size:24px}}
@media(max-width:650px){.agent-page-head{align-items:flex-start;gap:8px}.agent-page-head h1{font-size:21px}.agent-page-head p{font-size:10px;max-width:180px}.agent-page-head .eyebrow{font-size:8px}.model-status{font-size:9px;padding:6px 8px;gap:4px}.model-status svg{display:none}.conversation-card{height:auto;min-height:590px}.conversation-top{padding:13px}.conversation-top .tiny{display:none}.home-messages{padding:15px}.agent-intro{padding:15px 0 20px}.agent-intro h2{font-size:20px}.agent-intro p{font-size:11px}.agent-starters{grid-template-columns:minmax(0,1fr)}.agent-starter{padding:12px}.agent-starter small{display:none}.agent-starter b{font-size:11px}.agent-orb{width:48px;height:48px;border-radius:15px}.agent-orb svg{width:25px;height:25px}.home-composer-wrap{padding:0 12px 12px}.connection-inline{font-size:9px;flex-wrap:wrap;gap:5px}.connection-inline button{margin-left:11px}.home-composer{padding:10px}.home-composer textarea{font-size:11px;min-height:75px}.composer-hint{font-size:8px;max-width:130px}.home-send{font-size:10px;padding:7px 9px}.agent-context{grid-template-columns:minmax(0,1fr)}.agent-context>section:first-child{grid-row:auto}.home-message .message-text{font-size:11px}}
@media(max-width:650px){.conversation-card{height:calc(100dvh - 210px);min-height:390px}.home-composer textarea{min-height:52px}.home-composer-wrap{flex-shrink:0}}

.chat-usage{margin-top:8px;font-size:11px;color:#82968c;max-width:100%}.chat-usage summary{display:flex;align-items:center;gap:12px;cursor:pointer;line-height:1.7;list-style:none;width:fit-content}.chat-usage summary::-webkit-details-marker{display:none}.usage-price{color:#60796e}.usage-toggle{color:#26866c}.usage-less{display:none}.chat-usage[open] .usage-more{display:none}.chat-usage[open] .usage-less{display:inline}.usage-detail{margin-top:9px;padding:4px 12px 12px;border:1px solid #e4ede8;border-radius:8px;background:#f7fbf9}.usage-call{display:flex;flex-direction:column;gap:4px;padding:10px 0;border-bottom:1px solid #e4ede8;overflow-wrap:anywhere}.usage-call small{font-size:10px;color:#82968c}.usage-detail p{font-size:10px;line-height:1.8;margin:9px 0}.usage-detail a{color:#26866c}.usage-missing{font-size:10px;color:#9ba9a2;margin-top:8px}

.conversation-top,.home-composer-wrap{flex-shrink:0}.agent-body{min-height:0;overscroll-behavior:contain;scroll-behavior:auto}
.assistant-task-panel{flex-shrink:0;border-bottom:1px solid #e5eee8;background:#f7fbf8;padding:10px 20px;font-size:11px;color:#637d6b}.task-toolbar{display:flex;align-items:center;gap:10px}.task-toolbar b{white-space:nowrap;color:#38775d}.task-toolbar select{min-width:0;flex:1;border:1px solid #dde8e0;border-radius:6px;padding:5px;background:white;color:#637d6b;font-size:11px;max-width:100%}.task-empty{margin-top:7px;line-height:1.7;color:#82998a}.task-progress{margin-top:9px}.task-progress summary{display:flex;gap:10px;align-items:center;cursor:pointer;list-style:none}.task-progress summary:after{content:'展开';margin-left:auto;white-space:nowrap;color:#67937b}.task-progress[open] summary:after{content:'收起'}.task-goal{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.task-status{white-space:nowrap;color:#578b6d}.task-status.waiting,.task-status.paused,.task-status.failed{color:#a87a3d}.task-progress-body{max-height:190px;overflow:auto;overscroll-behavior:contain;padding-top:10px}.task-step{display:flex;gap:8px;align-items:baseline;padding:4px 0}.task-step>span{width:18px;flex-shrink:0}.task-step.completed{color:#368262}.task-step.running{color:#3b7896}.task-event{font-size:10px;color:#8a9d90;margin-top:5px}.task-question,.task-warning,.task-result{white-space:pre-wrap;line-height:1.8;margin:7px 0}.task-question{color:#7c673f}.task-warning{color:#b87552}.task-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}.agent .assistant-task-panel{padding:10px 16px}.agent .task-toolbar b{font-size:10px}@media(max-width:650px){.assistant-task-panel{padding:8px 12px}.task-toolbar{gap:7px}.task-progress-body{max-height:140px}.task-toolbar b{font-size:10px}}
.task-scope-label{font-size:11px;color:#427d64;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-history-controls{display:flex;gap:14px;align-items:center;margin-top:8px;font-size:10px}.task-toolbar select{width:100px}

.voice-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:8px 0 10px;font-size:11px}.voice-controls button{color:#2c8a69;padding:4px 0}.voice-controls button:disabled{opacity:.5}.voice-controls span{font-size:10px}
.composer-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.voice-icon-btn{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid #d9e6df;background:#fff;color:#477962;padding:7px;cursor:pointer}.voice-icon-btn svg{width:19px;height:19px}.voice-icon-btn:hover{background:#edf7f1}.voice-icon-btn.recording{color:#c74747;background:#fff0ef;border-color:#efb9b5;animation:voicepulse 1.1s ease-in-out infinite}.voice-icon-btn.voice-pending{opacity:.65}.voice-icon-btn:disabled{cursor:wait}.agent .voice-icon-btn{width:30px;height:30px;padding:5px}.voice-device{display:flex;align-items:center;gap:6px;max-width:100%;color:#7d9285}.voice-device select{min-width:120px;max-width:240px;width:auto;border:1px solid #dfe9e2;border-radius:6px;background:white;padding:5px 7px;font-size:10px;color:#526d5d}.voice-device-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#82988a}.voice-meter{display:flex;align-items:center;gap:10px;flex-basis:100%;color:#527f67;font-size:10px}.voice-meter canvas{width:150px;height:26px;background:#f2f8f4;border-radius:5px}.voice-preview{flex-basis:100%;border-radius:6px;background:#f3f9f5;padding:8px 10px;max-height:88px;overflow:auto;font-size:11px;line-height:1.7;color:#486f58;white-space:pre-wrap}.voice-preview small{display:block;color:#91a798;font-size:9px;margin-bottom:4px}.voice-meter[hidden],.voice-preview[hidden]{display:none}.voice-controls{gap:7px 10px}.voice-controls>[data-voice-status]{flex-basis:100%}@keyframes voicepulse{50%{box-shadow:0 0 0 5px #ef8d8d20}}

/* Keep the agent conversation as the primary workspace. */
.chat-content{height:calc(100dvh - 75px);padding:12px 24px;max-width:none;min-height:0}.chat-workspace{height:100%;min-height:0;position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.chat-workspace.context-open{grid-template-columns:minmax(0,1fr) 270px}.chat-workspace:not(.context-open)>.agent-context{display:none}.chat-workspace>.agent-context{height:100%;min-height:0;overflow:auto}.chat-workspace .conversation-card{height:100%;min-height:0}.chat-workspace .conversation-top{padding:9px 18px;min-height:48px}.chat-workspace .conversation-top b{font-size:13px}.chat-model-dot{display:grid;place-items:center;background:none;padding:6px;cursor:pointer}.business-toggle{color:#799184}.chat-workspace .home-messages{padding:24px clamp(18px,4vw,65px)}.chat-workspace .home-message{max-width:900px;margin:0 auto 24px}.chat-workspace .home-message .message-text{font-size:14px;line-height:1.85}.chat-workspace .home-composer-wrap{padding:0 20px 14px}.home-composer{max-width:1020px;margin:0 auto;padding:10px 14px}.home-composer textarea,.agent .compose-box textarea{height:38px;min-height:38px;max-height:128px;padding:0;line-height:24px;font-size:13px;overflow-y:auto}.home-composer .between{gap:8px}.home-composer .composer-hint{font-size:10px}.home-composer .home-send{height:34px}.chat-workspace .agent-intro{padding:clamp(12px,6vh,60px) 0 24px}.chat-workspace .agent-intro h2{font-size:24px}.chat-workspace .agent-intro .intro-greeting{font-size:12px}.chat-workspace .agent-starters{max-width:700px}.chat-workspace .agent-starter{min-height:52px;padding:13px}.chat-workspace .agent-orb{width:48px;height:48px;margin-bottom:14px}
.assistant-task-panel{position:relative;z-index:6;padding:7px 18px;background:#fbfdfb;font-size:11px}.task-toolbar{gap:8px;position:relative;min-height:30px}.task-toolbar select{padding:5px 8px;border:0;background:#f0f6f2;max-width:520px;height:30px;font-size:11px}.task-toolbar>.icon-btn{width:30px;height:30px;flex-shrink:0}.task-scope-label{margin:5px 0 0;font-size:10px;color:#7a9282}.task-history-menu,.task-progress{position:relative;flex-shrink:0;margin:0}.task-history-menu>summary,.task-progress>summary{height:30px;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;color:#64846e;list-style:none;font-size:11px}.task-history-menu>summary{width:30px}.task-history-menu svg{width:17px;height:17px}.task-progress>summary:after{display:none}.task-progress>summary{padding:0 6px}.task-history-menu>summary::-webkit-details-marker,.voice-settings>summary::-webkit-details-marker{display:none}.task-history-popover,.task-progress-body{position:absolute;right:0;top:36px;width:360px;max-width:calc(100vw - 100px);max-height:min(45dvh,330px);overflow:auto;background:#fff;border:1px solid #e0eae3;border-radius:9px;box-shadow:0 8px 28px #183b2720;padding:14px;z-index:8}.task-history-popover{width:150px;display:flex;flex-direction:column;align-items:stretch;gap:6px}.task-history-popover button{text-align:left;padding:7px}.task-progress-body .task-step{font-size:11px}.assistant-task-panel>.task-warning{margin:5px 0}.task-controls{gap:8px}.agent .assistant-task-panel{padding:7px 14px}
.voice-settings{position:relative}.voice-settings>summary{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;list-style:none;cursor:pointer;color:#93a79a}.voice-settings>summary:hover,.voice-settings[open]>summary{background:#eef6f0;color:#3e7f5e}.voice-settings svg{width:17px;height:17px}.voice-settings-popover{position:absolute;right:0;bottom:42px;width:290px;max-width:calc(100vw - 60px);padding:14px;background:#fff;border:1px solid #e0eae3;border-radius:9px;box-shadow:0 8px 28px #183b2720;z-index:9;display:flex;flex-direction:column;gap:10px}.voice-settings-popover .voice-device{align-items:flex-start;flex-direction:column;gap:7px}.voice-settings-popover select{width:100%;max-width:100%}.voice-settings-popover small{font-size:10px;line-height:1.7;color:#8a9c90}.voice-controls[hidden]{display:none}.voice-controls{margin:4px 0 7px}.voice-preview{max-height:64px}.voice-controls .voice-device-name{font-size:9px}.agent .agent-compose{padding-top:10px;padding-bottom:12px}.chat-workspace .chat-usage .usage-detail{max-height:none}
@media(max-width:1050px){.chat-workspace.context-open{grid-template-columns:minmax(0,1fr)}.chat-workspace.context-open>.agent-context{position:absolute;right:12px;top:54px;bottom:12px;width:280px;max-width:calc(100% - 24px);height:auto;display:flex;z-index:5;background:#f7faf8;border:1px solid #e1ebe4;border-radius:10px;padding:10px;box-shadow:0 8px 28px #183b2720}.chat-workspace .home-messages{padding:22px}.chat-content{padding:10px 16px}}
@media(max-width:650px){.chat-content{height:calc(100dvh - 63px);padding:6px}.chat-workspace .conversation-top{padding:7px 12px;min-height:42px}.chat-workspace .assistant-task-panel{padding:6px 10px}.chat-workspace .home-messages{padding:16px 12px}.chat-workspace .home-message{gap:8px;margin-bottom:20px}.chat-workspace .home-message .message-text{font-size:13px}.chat-workspace .home-composer-wrap{padding:0 9px 9px}.home-composer{padding:9px 11px}.home-composer textarea{min-height:38px;font-size:13px}.home-composer .composer-hint{font-size:9px}.task-toolbar{gap:5px}.task-toolbar select{max-width:100%;font-size:10px}.task-progress>summary{font-size:10px;gap:4px}.task-progress-body{width:270px;max-width:calc(100vw - 85px)}.composer-actions{gap:7px}.chat-workspace .agent-intro h2{font-size:21px}.chat-workspace .agent-starters{gap:8px}.chat-workspace .agent-starter{min-height:44px;padding:10px}.chat-workspace .agent-intro{padding:18px 0}.voice-settings-popover{right:-40px}}
.voice-inline{display:inline-flex;align-items:center;gap:5px;color:#b85f5f;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.voice-inline[hidden]{display:none}.voice-inline i{width:5px;height:5px;border-radius:50%;background:#d65c5c;animation:voicepulse 1.1s ease-in-out infinite}.voice-preview{max-height:44px;background:#f5faf6;padding:5px 8px;font-size:11px}.voice-controls:has(.voice-preview:not([hidden])){margin-bottom:6px}.voice-controls>[data-voice-status][hidden]{display:none}
.audit-summary{font-size:12px;line-height:1.8;color:#567260;margin-top:8px;overflow-wrap:anywhere;white-space:pre-wrap}.audit-changes{margin-top:7px;font-size:11px}.audit-changes>summary{cursor:pointer;color:#39836a;width:fit-content}.audit-change{display:grid;grid-template-columns:minmax(80px,120px) minmax(0,1fr) 12px minmax(0,1fr);gap:8px;padding:9px 0;border-bottom:1px solid #edf2ef;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.audit-change b{font-weight:500;color:#788e80}.audit-before{color:#9b8585}.audit-after{color:#49775c}.drawer .related-row:has(.audit-summary){align-items:flex-start}.drawer .related-row:has(.audit-summary)>div{min-width:0;flex:1}@media(max-width:650px){.audit-change{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr)}.audit-change b{grid-column:1/-1}}

/* Distinguish the two speakers with opposing message alignment. */
.chat-workspace .home-message.user{flex-direction:row-reverse}.chat-workspace .home-message.user .message-content{flex:0 1 auto;max-width:80%;display:flex;flex-direction:column;align-items:flex-end}.chat-workspace .home-message.user .chat-label{text-align:right}.chat-workspace .home-message.user .message-text{max-width:100%;text-align:left;border-radius:12px 0 12px 12px;background:#eaf5ee;border-color:#dcece2;overflow-wrap:anywhere}.chat-workspace .home-message.user .avatar{flex-shrink:0}.side-message.user .chat-label{text-align:right}.side-message.user .chat-message{width:fit-content;max-width:85%;margin-left:auto;margin-right:0;border-radius:10px 0 10px 10px;overflow-wrap:anywhere}@media(max-width:650px){.chat-workspace .home-message.user .message-content{max-width:85%}}
.conversation-caption{font-size:11px;color:#64816d}.history-load-more{display:block;margin:0 auto 16px;padding:5px 12px;color:#789082;background:#f3f8f4;border-radius:14px;font-size:11px}.task-history-popover{width:260px}.task-history-popover select{width:100%;max-width:100%}.task-goal-full{font-size:12px;color:#3d7256;margin:0 0 10px;white-space:pre-wrap}.report-filter{display:flex;align-items:end;gap:14px;flex-wrap:wrap;background:white;border:1px solid var(--line);padding:17px;border-radius:10px;margin-bottom:20px}.report-filter label{display:flex;flex-direction:column;gap:6px;color:#82948a;font-size:11px}.report-filter input,.report-filter select,.card-head select{border:1px solid #dde7e0;border-radius:6px;padding:7px 9px;background:white}.report-filter .report-demo{flex-direction:row;align-items:center;align-self:center;margin-top:17px}.report-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.report-stats>.card{padding:16px}.report-stats small{color:#879b8d;font-size:10px}.report-stats strong{display:block;font-size:25px;margin-top:8px;color:#365f48}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.report-grid .card{min-width:0}.report-bar{display:flex;align-items:center;gap:10px;margin:14px 0;font-size:11px}.report-bar>span{width:64px}.report-bar>div{height:8px;background:#eff5f1;flex:1;border-radius:4px;overflow:hidden}.report-bar i{display:block;height:100%;background:#56b99a;border-radius:4px}.report-rules{margin-top:20px;color:#839589;font-size:11px}.report-rules summary{cursor:pointer}.report-rules p{margin-top:8px}.price-picker{display:flex;gap:10px;margin:12px 0 6px}.price-picker select{min-width:0;flex:1;border:1px solid #dfe9e2;border-radius:6px;padding:8px;background:white}@media(max-width:1100px){.report-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.report-grid{grid-template-columns:1fr}.report-filter{gap:10px}.report-filter input{max-width:145px}.price-picker{flex-wrap:wrap}.price-picker select{width:100%}}
/* Competition detail shares existing drawers/forms and keeps evidence folded. */
.competition-workspace{overflow-wrap:anywhere}.competition-workspace h3{margin:0 0 12px}.competition-workspace h4{margin:0 0 8px}.competition-link{padding:15px 0;border-bottom:1px solid var(--line,#e7efeb)}.competition-link p{margin:7px 0}.competition-block{margin-top:20px;padding-top:16px;border-top:1px solid var(--line,#e7efeb)}.competition-block summary{cursor:pointer;font-weight:600;color:var(--text,#253d50)}.competition-block p{line-height:1.7}.competition-analyze{display:grid;gap:10px;padding:20px 0 10px}.competition-history{display:flex;gap:10px;align-items:center;font-size:12px;color:#7b9289}.competition-history select{min-width:0;flex:1;padding:8px;border:1px solid #d8e8e0;border-radius:8px;background:white;color:#426253}.competition-conclusion{font-size:16px;line-height:1.8;color:#355e50}.competition-strategies{display:grid;grid-template-columns:1fr 1fr;gap:18px}.competition-strategy{margin-bottom:16px}.competition-strategy small{display:block;line-height:1.7;color:#7b8e9b}.competition-refs{display:block;margin-top:6px;font-size:11px;color:#82958b}.competition-step{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #edf2ef}.competition-step p{margin:5px 0}.competition-public{padding:14px 0}.competition-sources{padding-left:22px;font-size:12px;line-height:1.9}.competition-share{padding:12px;background:#f8f6ed;border-radius:9px;margin-top:12px;font-size:13px}.competition-share .tag{margin-right:8px}.competition-evidence{margin-top:12px}.competition-evidence pre{white-space:pre-wrap;max-height:220px;overflow:auto;font-size:11px}.competition-workspace td{font-size:12px;white-space:normal;min-width:95px;vertical-align:top}.competition-workspace .table-wrap{max-width:100%}@media(max-width:650px){.competition-strategies{grid-template-columns:1fr}.competition-history{display:grid}}
.report-stats button.card{font:inherit;text-align:left;cursor:pointer;color:inherit}.report-stats button.card:hover{border-color:#77b69f;background:#fbfdfb}.report-stats button.card:focus-visible,.report-value:focus-visible{outline:2px solid #27876b;outline-offset:3px}.report-value{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer;text-align:inherit}.report-value:hover{color:#17866c;text-decoration:underline}.report-drill-modal{width:min(1050px,94vw);max-height:86vh;display:flex;flex-direction:column}.report-drill-modal .modal-body{overflow:auto}.report-drill-modal th,.report-drill-modal td{white-space:normal}.report-drill-modal .modal-head{gap:20px}.report-drill-modal .table-wrap{margin-top:14px}.report-drill-shell{z-index:80}.report-drill-modal small{color:#82938e}

.competitor-identity[hidden]{display:none}.identity-input{display:flex;gap:10px}.identity-input input{flex:1;min-width:0}.competitor-identity>small,.identity-candidates>small,.identity-selected small{display:block;font-size:11px;line-height:1.7;color:#83958c;margin:6px 0}.identity-status{font-size:12px;color:#7c9287;margin:9px 0}.identity-local{display:flex;flex-wrap:wrap;gap:8px;align-items:center;width:100%;padding:10px;text-align:left;border:1px solid #dce9e2;border-radius:7px;background:#f8fbf9;margin-top:8px;color:#3b6354}.identity-local span{margin-left:auto}.identity-local small{color:#84968e}.identity-candidates{max-height:310px;overflow:auto;padding:10px;background:#f7faf8;border:1px solid #e1ebe5;border-radius:8px}.identity-candidates article{padding:12px 0;border-bottom:1px solid #e1ebe5;font-size:12px;line-height:1.65}.identity-candidates article p{margin:5px 0}.identity-candidates a{color:#25856a;overflow-wrap:anywhere}.identity-candidates article button{display:block;margin-top:8px}.identity-provisional{display:block;font:inherit;font-size:11px;background:none;border:0;color:#829389;text-decoration:underline;cursor:pointer;margin:12px 0}.identity-selected{font-size:13px;color:#26846a;margin:10px 0}.identity-input button{white-space:nowrap}@media(max-width:650px){.identity-input{flex-wrap:wrap}.identity-input input{width:100%}}

.form-assist{border:1px solid #deebe4;background:#f7fbf9;border-radius:9px;margin-bottom:22px}.form-assist>summary{display:flex;align-items:center;gap:8px;padding:12px 15px;cursor:pointer;color:#267b64;font-size:13px;list-style:none}.form-assist>summary svg{width:18px;height:18px}.form-assist-body{padding:0 15px 15px}.form-assist textarea{width:100%;min-height:76px;max-height:180px;margin:9px 0;border:1px solid #dce7e0;border-radius:7px;padding:10px;font:inherit;font-size:13px;resize:vertical}.form-assist .voice-icon-btn{width:32px;height:32px}.form-assist .voice-icon-btn svg{width:17px;height:17px}.form-assist-result{font-size:12px;margin-top:12px}.form-assist-result>small{display:block;color:#85948d;margin-top:9px}.form-assist-result ul{padding-left:18px;color:#7c8e84;line-height:1.8}.assist-changes{max-height:270px;overflow:auto}.assist-change{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid #e1ebe5;align-items:flex-start}.assist-change>input{margin-top:4px}.assist-change>span{min-width:0}.assist-change small,.assist-change strong{display:block;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.assist-change small{color:#99a69e;font-size:11px}.assist-change strong{color:#386c58;font-weight:400}.field>span:first-child{display:flex;align-items:center;gap:4px}.field-assist-btn{margin-left:auto;border:0;background:transparent;padding:0 3px;cursor:pointer;color:#6b9e88;display:inline-flex}.field-assist-btn:hover{color:#198e76}.field-assist-btn svg{width:15px;height:15px}

.assistant-shortcuts{display:flex;gap:6px;padding-top:7px;flex-wrap:wrap}.assistant-shortcuts button{font:inherit;font-size:11px;border:1px solid #dbe9e1;border-radius:14px;background:#fff;color:#497b65;padding:5px 10px;cursor:pointer}.assistant-shortcuts button:hover{background:#ebf5ef;border-color:#a4cbbb}.assistant-shortcuts button:disabled{opacity:.5;cursor:default}

.chat-wait{max-width:700px;padding:12px 14px;margin:10px 0 20px;border:1px solid #e2ede6;border-radius:12px;background:linear-gradient(110deg,#f7fbf8,#fbfdfb);font-size:12px;color:#608274}.chat-workspace .chat-wait{margin:10px auto 24px;width:100%}.waiting-line{display:flex;align-items:center;gap:10px}.waiting-line>span:nth-child(2){min-width:0;flex:1}.waiting-line b{font-weight:500}.waiting-line small{display:block;color:#94a69b;font-size:10px;line-height:1.7;overflow-wrap:anywhere}.waiting-line>[data-wait-time]{white-space:nowrap;flex-shrink:0}.waiting-orbit{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:50%;background:#e4f3eb;color:#3b9d7a;animation:qi-breathe 2s ease-in-out infinite}.waiting-orbit svg{width:18px;height:18px}.thinking-dots{animation:qi-breathe 1.5s ease-in-out infinite}.waiting-toggle{border:0;background:transparent;color:#87a292;font:inherit;font-size:10px;padding:8px 0 0;cursor:pointer}.waiting-game{padding-top:9px}.waiting-game[hidden]{display:none}.waiting-stars{display:flex;gap:5px;justify-content:space-between;max-width:310px}.waiting-stars button{width:32px;height:32px;border:0;border-radius:50%;background:#edf3ee;color:#bdcfc3;font-size:21px;cursor:pointer;transition:background .15s,color .15s}.waiting-stars button.target{background:#d8f1e3;color:#31946c;box-shadow:0 0 0 2px #afe1c8}.waiting-stars button.lit{background:#fff2d0;color:#d2a649;cursor:default}.waiting-game>[data-wait-score]{display:inline-block;font-size:10px;color:#97a99e;margin-top:9px}.waiting-game>.linklike{margin-left:8px;font-size:10px}@keyframes qi-breathe{50%{opacity:.55;transform:scale(.93)}}@media(prefers-reduced-motion:reduce){.waiting-orbit,.thinking-dots{animation:none}.waiting-stars button{transition:none}}

.customer-intelligence{background:#f8fcf9;border:1px solid #dcebe2}.customer-intelligence h3{display:flex;align-items:center;gap:7px}.customer-intelligence h3 svg{width:17px;height:17px;color:#4c9a78}.customer-smart-status{font-size:12px;line-height:1.8;color:#6e897a;margin-bottom:8px}.customer-intelligence small{display:block;font-size:11px;color:#8b9e92;line-height:1.8}.customer-intelligence .flex{gap:8px;flex-wrap:wrap;margin-top:9px}.customer-intelligence .tiny{line-height:1.8;margin:10px 0 0}.contact-candidates{margin-top:15px;border-top:1px solid #e2ebe5;padding-top:12px}.contact-candidate{display:flex;gap:10px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #e4eee7;font-size:12px;line-height:1.8}.contact-candidate input{margin-top:5px}.contact-candidate>span{min-width:0}.contact-candidate p{margin:4px 0;overflow-wrap:anywhere}.contact-candidate a{font-size:11px;color:#2a8a6b;overflow-wrap:anywhere}.customer-contact-offer{margin-top:8px;color:#86a18e;font-size:11px}.customer-contact-offer button{background:none;border:0;color:#248a6b;padding:3px;font:inherit;cursor:pointer}.assist-sources{font-size:11px;color:#81988a;margin-top:8px;line-height:1.8}.assist-sources a{color:#278a69;overflow-wrap:anywhere}

/* Reviewed card entry and immediate contextual workflows. */
.guided-record-list{display:grid;gap:9px;margin-top:16px;max-height:50vh;overflow:auto}.guided-record-list button{position:relative;text-align:left;padding:15px 40px 15px 16px;border:1px solid #dce8e3;border-radius:12px;background:#fff;color:#21394a;cursor:pointer}.guided-record-list button:hover{background:#eff7f3}.guided-record-list small{display:block;color:#81958c;margin-top:5px}.guided-record-list svg{position:absolute;right:12px;top:18px;width:18px}.guided-help{margin-bottom:18px;display:flex;gap:8px;align-items:flex-start}.guided-help svg{width:18px;flex-shrink:0}.card-upload{border:1px dashed #a8ccbd;padding:18px;border-radius:14px;background:#f5faf7}.card-upload textarea{margin:12px 0;width:100%;min-height:110px}.card-thumbnail{display:block;max-width:100%;max-height:190px;object-fit:contain;margin:12px 0}.business-card-review{padding:20px 0;border-top:1px solid #dde9e3;margin-top:20px}.business-card-review .form-grid{margin:16px 0}.business-card-review .primary{margin-top:16px}.card-duplicates{margin-top:16px;padding:14px;background:#fff8eb;border-radius:10px}.card-update{display:flex;gap:10px;padding:8px 0;align-items:flex-start;overflow-wrap:anywhere}.card-update input{width:auto;flex-shrink:0}.business-card-modal .error-banner{position:sticky;top:0;z-index:2}.business-card-review .flex{flex-wrap:wrap;gap:10px}.card-upload .btn{display:inline-flex}

/* Context shortcuts stay with the composer on home and every assistant drawer. */
.assistant-compose-actions{max-width:1020px;margin:0 auto 8px;flex-shrink:0}.assistant-compose-actions:empty{display:none}.assistant-compose-actions .assistant-shortcuts{padding-top:0}.agent-compose .assistant-compose-actions{max-width:none;margin-bottom:9px}

.report-action-modal{width:min(1080px,calc(100vw - 32px))}.report-reading{line-height:1.9}.report-reading ul{padding-left:22px}.report-action-modal .table-wrap{margin:18px 0}.report-action-modal table{min-width:950px}.report-action-modal .mono{white-space:nowrap}
/* Shared task calendar, date-only due dates. */
.calendar-toolbar,.calendar-filters{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid var(--border,#e5ebe9)}
.calendar-toolbar h2{font-size:21px;margin:0 8px}.calendar-prev svg{transform:rotate(180deg)}
.calendar-views{display:flex;padding:3px;background:#f2f6f4;border-radius:9px;gap:3px}.calendar-views button{padding:7px 18px;border:0;background:transparent;border-radius:6px;color:#647e73}.calendar-views .selected{background:#fff;color:#21876b;box-shadow:0 1px 4px #183d2412;font-weight:600}
.calendar-filters{justify-content:flex-start;background:#fbfdfc;gap:12px}.calendar-filters label{display:flex;align-items:center;gap:8px;font-size:12px;color:#7b8d85}.calendar-filters select,.calendar-filters input{width:auto;max-width:220px;padding:7px 10px;font-size:13px}.calendar-count{margin-left:auto;font-size:12px;color:#7b8d85}
.calendar-surface{overflow-x:auto}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:700px}.calendar-weekdays{background:#fbfdfc;text-align:center;color:#82948c;font-size:12px}.calendar-weekdays b{padding:12px;font-weight:500}.calendar-cell{min-height:134px;display:flex;flex-direction:column;border-right:1px solid #edf1ef;border-top:1px solid #edf1ef;padding:7px;position:relative}.calendar-cell:nth-child(7n){border-right:0}.calendar-cell.outside{background:#f8faf9}.calendar-cell.outside .calendar-date{color:#aab8b2}.calendar-cell.is-selected{background:#f1faf6}.calendar-cell.is-today .calendar-date{background:#24886d;color:white;border-radius:7px}.calendar-cell-head{display:flex;align-items:center;justify-content:space-between;gap:4px}.calendar-date{border:0;background:none;color:#365d4b;font-size:14px;min-width:30px;min-height:30px;padding:4px 6px}.calendar-date small{margin-left:4px;font-size:10px}.calendar-add{width:25px;height:25px;opacity:.55}.calendar-add:hover{opacity:1}.calendar-add svg{width:15px;height:15px}
.calendar-task{display:flex;align-items:center;gap:5px;border:0;border-left:2px solid #5eae8e;border-radius:4px;padding:6px;margin:4px 0;background:#eaf6ef;color:#356e56;text-align:left;width:100%;font-size:12px;line-height:1.5;min-width:0}.calendar-task>span:nth-child(2){overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.calendar-task small{font-size:10px;opacity:.7;max-width:48px;overflow:hidden;text-overflow:ellipsis}.calendar-task-dot{display:inline-block;width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:currentColor}.calendar-task.late{background:#fff2ef;color:#bb6555;border-left-color:#d58a7b}.calendar-task.finished{background:#f1f3f2;color:#8c9993;border-left-color:#bbc9c1}.calendar-task.finished>span:nth-child(2){text-decoration:line-through}.calendar-empty-add{flex:1;min-height:20px;border:0;background:transparent;border-radius:4px}.calendar-empty-add:hover{background:#8fd1b415}.calendar-empty-add:focus-visible{outline:2px solid #24886d}.calendar-more{font-size:11px;padding:3px}.calendar-grid.week-view .calendar-cell{min-height:360px}.calendar-footer{display:flex;gap:20px;align-items:center;padding:13px 22px;flex-wrap:wrap;color:#8a9d93;font-size:11px;border-top:1px solid #edf1ef}.calendar-footer span:last-child{margin-left:auto}.calendar-day-agenda{padding:22px;min-height:360px}.calendar-day-agenda h3{font-size:16px}.calendar-agenda-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #edf1ef;padding:14px 0}.calendar-agenda-row>div{flex:1;min-width:0}.calendar-agenda-row .calendar-task{font-size:15px;width:fit-content;max-width:100%;padding:8px 12px}.calendar-agenda-row p{font-size:12px;margin:6px 0;color:#82948c;white-space:pre-wrap}.calendar-undated{margin-top:20px;padding:20px}.calendar-undated h3{font-size:15px}
@media(max-width:800px){.calendar-toolbar,.calendar-filters{padding:12px}.calendar-toolbar h2{font-size:16px}.calendar-toolbar .flex{gap:4px}.calendar-count{width:100%;margin:0}.calendar-filters label{flex-wrap:wrap}.calendar-filters select{max-width:160px}.calendar-footer{padding:12px;gap:10px}.calendar-footer span:last-child{margin:0;width:100%}}

.customer-name-lookup{margin:15px 0;padding-top:12px;border-top:1px solid #dfece5}.customer-name-lookup summary{cursor:pointer;color:#25866c;font-size:13px}.customer-name-lookup .identity-input{display:flex;gap:8px;margin:10px 0}.customer-name-lookup input{flex:1;min-width:0}.customer-name-lookup .identity-candidates{margin-top:12px}
/* Clock-time tasks: equal-height time-point rows, no invented meeting durations. */
.staff-0{--staff:#33896e;--staff-bg:#edf7f1}.staff-1{--staff:#7066a5;--staff-bg:#f2effa}.staff-2{--staff:#4e8dab;--staff-bg:#edf5fa}.staff-3{--staff:#ad8350;--staff-bg:#faf4e9}
.calendar-task{color:var(--staff,#356e56);background:var(--staff-bg,#eaf6ef);border-left-color:var(--staff,#5eae8e)}.calendar-task-time{font-size:11px;flex-shrink:0;font-variant-numeric:tabular-nums;font-weight:600}.calendar-person{display:inline-flex;align-items:center;gap:6px;color:var(--staff,#5e8572);font-size:11px}.calendar-person i{width:7px;height:7px;border-radius:50%;background:var(--staff,#5e8572)}
.calendar-timeline{height:clamp(320px,calc(100vh - 370px),680px);max-height:680px;overflow:auto;position:relative;overscroll-behavior:contain;border-top:1px solid #edf1ef}.calendar-time-grid{min-width:calc(76px + var(--calendar-cols)*var(--calendar-min));position:relative}.calendar-time-row,.calendar-time-header{display:grid;grid-template-columns:76px repeat(var(--calendar-cols),minmax(var(--calendar-min),1fr));min-height:51px}.calendar-time-header{position:sticky;top:0;z-index:6;background:#fcfefd;min-height:54px;box-shadow:0 1px 0 #e5ece8}.calendar-column-title{text-align:center;display:flex;justify-content:center;align-items:center;gap:7px;flex-direction:column;padding:8px;border-right:1px solid #edf1ef}.calendar-column-title button{background:none;border:0;color:#4c6c5d;font-size:12px}.calendar-time-label{position:sticky;left:0;z-index:3;background:#fbfdfc;display:flex;align-items:flex-start;justify-content:center;padding:13px 5px;color:#8c9c93;font-size:11px;font-variant-numeric:tabular-nums;border-right:1px solid #e7eeea;border-bottom:1px solid #edf1ef}.calendar-time-header .calendar-time-label{z-index:8;align-items:center}.calendar-time-row{border-bottom:1px solid #edf1ef}.calendar-time-row .calendar-time-label{border-bottom:0}.calendar-time-cell{padding:4px 7px;border-right:1px solid #edf1ef;min-width:0;position:relative;display:flex;flex-direction:column;gap:2px}.calendar-time-cell .calendar-task{font-size:12px;min-height:30px;margin:1px 0;padding:6px}.calendar-time-cell .calendar-task>span:nth-last-child(2){white-space:normal}.calendar-slot-add{border:0;background:none;color:#9db6a9;border-radius:4px;min-height:28px;text-align:right;padding:4px 7px;flex:1;opacity:.25}.calendar-slot-add:hover,.calendar-slot-add:focus-visible{opacity:1;background:#dcefe760}.calendar-untimed{position:sticky;top:54px;z-index:5;background:#fff;box-shadow:0 1px 0 #e5ece8}.calendar-untimed .calendar-time-cell{max-height:116px;overflow-y:auto;background:#fbfdfc}.calendar-untimed .calendar-time-label{font-size:10px}.today-column{background:#f5fbf7}.calendar-timeline .calendar-task.finished{background:#f1f3f2;color:#8c9993;border-left-color:#bbc9c1}.calendar-timeline .calendar-task.late{background:#fff2ef;color:#bb6555;border-left-color:#d58a7b}
@media(max-width:800px){.calendar-timeline{max-height:65vh;min-height:350px}.calendar-time-grid{--calendar-min:150px!important}.calendar-task-time{font-size:10px}.calendar-column-title button{font-size:11px}}

.calendar-task>.calendar-task-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-time-cell .calendar-task>.calendar-task-title{white-space:normal}.calendar-task.finished>.calendar-task-title{text-decoration:line-through}
/* Searchable task relationships: selected IDs, accessible typeahead results. */
.record-lookup{position:relative;min-width:0}.record-lookup-control{position:relative;display:flex;align-items:center;border:1px solid #dce4e9;border-radius:7px;background:#fff;min-width:0}.record-lookup-control>svg{width:16px;height:16px;flex:0 0 16px;margin-left:12px;color:#8fa3ae}.record-lookup-control>input{border:0!important;box-shadow:none!important;min-width:0;padding-left:9px;flex:1;width:100%;background:transparent}.record-lookup-control:focus-within{border-color:#71b99d;box-shadow:0 0 0 3px #4cab8c12}.record-lookup.selected .record-lookup-control{border-color:#b6d9c8;background:#fbfefc}.record-lookup-control .icon-btn{flex:0 0 29px;width:29px;height:29px;margin-right:5px}.record-lookup-control .icon-btn svg{width:14px;height:14px}.record-lookup-status{display:block;font-size:10px;color:#93a49b;margin-top:5px;min-height:14px;line-height:1.5}.record-lookup-options{position:absolute;left:0;right:0;top:calc(100% - 13px);background:#fff;border:1px solid #d9e7e0;box-shadow:0 8px 24px #143a2b20;border-radius:8px;z-index:30;max-height:242px;overflow:auto;padding:5px}.record-lookup.above .record-lookup-options{top:auto;bottom:calc(100% + 4px)}.record-lookup-options[hidden]{display:none}.record-lookup-option{display:block;text-align:left;width:100%;border:0;background:#fff;border-radius:5px;padding:10px;color:#416153}.record-lookup-option strong{display:block;font-size:12px;font-weight:500;white-space:normal;line-height:1.5}.record-lookup-option small{display:block;font-size:10px;color:#90a195;margin-top:3px;line-height:1.5}.record-lookup-option:hover,.record-lookup-option.active{background:#edf7f1}.record-lookup-empty,.record-lookup-more{display:block;padding:11px;font-size:11px;color:#8da195;line-height:1.6}

/* Customer contact reporting map. Unknown parents have a separate, explicit lane. */
.drawer.org-wide{width:min(1440px,calc(100vw - 32px));max-width:none}
.contact-org{margin-bottom:26px}.org-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.org-toolbar h3{margin:0 0 6px}.org-toolbar p{margin:0}.org-tools{display:flex;gap:16px;align-items:center;margin-bottom:16px}.org-tools .search-input{flex:1}.org-canvas{overflow:auto;max-height:64vh;border:1px solid #dce7e4;border-radius:14px;background:#f8fbfa;padding:20px;overscroll-behavior:contain}.org-canvas:focus-visible{outline:2px solid #278a72}.org-group h4{margin:0 0 8px;font-size:13px;color:#477668}.org-group{padding-bottom:22px}.org-group+.org-group{border-top:1px dashed #cbded7;padding-top:22px}.org-tree,.org-tree ul{display:flex;list-style:none;padding:26px 0 0;margin:0;width:max-content;min-width:100%;position:relative;justify-content:center}.org-tree{padding-top:10px}.org-tree li{position:relative;list-style:none;text-align:center;padding:24px 10px 0;display:flex;flex-direction:column;align-items:center}.org-tree>li{padding-top:0}.org-tree ul:before{content:'';position:absolute;top:0;left:50%;height:26px;border-left:1px solid #b4cec3}.org-tree li:before,.org-tree li:after{content:'';position:absolute;top:0;width:50%;height:24px;border-top:1px solid #b4cec3}.org-tree li:before{right:50%}.org-tree li:after{left:50%;border-left:1px solid #b4cec3}.org-tree li:only-child:before,.org-tree>li:before,.org-tree>li:after{display:none}.org-tree li:first-child:before,.org-tree li:last-child:after{border-top:none}.org-tree li:last-child:before{border-right:1px solid #b4cec3}.org-tree li:only-child:after{border-top:none}.org-person{width:220px;background:#fff;border:1px solid #dbe7e0;border-radius:12px;box-shadow:0 3px 9px #153d2c06;text-align:left;padding:14px;flex:none}.org-person-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.org-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e8f4ef;color:#25846c;font-weight:600}.org-person .record-name{font-weight:650;overflow-wrap:anywhere}.org-person p{margin:10px 0 4px;font-size:13px}.org-person small{font-size:12px;color:#7b8f86}.org-badges{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}.org-badges:empty{display:none}.org-card-actions{display:flex;gap:12px;align-items:center;border-top:1px solid #eef3f0;margin-top:12px;padding-top:10px}.org-card-actions button{font-size:11px}.org-warning{color:#a57231;font-size:11px}.org-empty{text-align:center;padding:48px 20px;color:#81958a}.org-note{margin:12px 0 0}.org-pending h4{color:#96743b}
@media(max-width:650px){.org-toolbar{align-items:flex-start;flex-direction:column}.org-tools{gap:8px}.org-person{width:195px}.drawer.org-wide{width:100vw}.org-canvas{padding:12px;max-height:58vh}}
.org-detail .drawer-head{padding:16px 28px}.org-detail .drawer-head h2{font-size:20px;margin:9px 0}.org-detail .detail-actions{margin-top:10px}.org-detail .drawer-body{padding:18px 28px}.org-detail .org-toolbar{margin-bottom:10px}.org-detail .org-tools{margin-bottom:10px}.org-person .org-badges .tag{font-size:10px}.org-person .org-badges{margin:6px 0}.org-person p{margin:7px 0 3px}.org-card-actions{margin-top:8px;padding-top:8px}

/* Home: local priorities, continuous chat and an optional history rail. */
.home-v2.chat-workspace{grid-template-columns:minmax(0,1fr);gap:0;border:1px solid #e2ebe7;border-radius:16px;background:white;overflow:hidden}.home-v2.chat-workspace.history-open{grid-template-columns:230px minmax(0,1fr)}.home-v2 .conversation-card{border:0;border-radius:0;box-shadow:none;min-width:0}.home-v2>.home-history{display:none}.home-v2.history-open>.home-history{display:flex}.home-history{flex-direction:column;min-height:0;background:#f5f9f7;border-right:1px solid #e3ece6;padding:18px 12px 12px}.home-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.home-history-head b{display:flex;align-items:center;gap:8px;font-size:13px}.home-history-head svg{width:17px;height:17px}.home-new-topic{justify-content:flex-start;background:white;margin-bottom:14px;font-size:12px}.home-history-search{padding:7px 8px;background:white;font-size:11px;flex-shrink:0}.home-history-search input{font-size:11px;min-width:0;width:100%}.home-history-list{overflow:auto;min-height:0;flex:1;margin-top:8px;overscroll-behavior:contain}.home-history-day{font-size:10px;color:#96a69e;margin:16px 6px 7px}.home-history-entry{display:flex;flex-direction:column;gap:4px;text-align:left;width:100%;border:0;background:transparent;border-radius:8px;padding:9px 8px;cursor:pointer;color:#52695e}.home-history-entry>span{font-size:11px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.home-history-entry>small{font-size:9px;color:#98aaa0}.home-history-entry:hover,.home-history-entry.active{background:#e5f1eb;color:#287858}.home-history-footer{display:flex;flex-direction:column;gap:8px;border-top:1px solid #e4ece7;padding:12px 6px 0;margin-top:8px}.home-history-footer button{font-size:11px}.home-history-footer button:disabled{color:#a4b1aa;cursor:default}.home-history-footer small,.home-history-empty{font-size:10px;line-height:1.7;color:#98a99f}.home-v2 .home-messages{padding:22px clamp(18px,3vw,48px)}.home-v2 .conversation-top>[data-home-new]{display:flex;align-items:center;gap:6px;font-size:11px}.home-v2 .conversation-top>[data-home-new] svg{width:16px;height:16px}.home-welcome{max-width:960px;margin:clamp(10px,4vh,38px) auto 0}.home-welcome-label{display:flex;gap:8px;align-items:center;font-size:13px;color:#27856b}.home-welcome-label svg{width:23px;height:23px}.home-welcome h2{font-size:25px;margin:16px 0 8px}.home-welcome>p{font-size:13px;color:#91a399;margin:0 0 24px}.home-focus-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-focus-card{position:relative;display:flex;flex-direction:column;gap:10px;min-width:0;text-align:left;border:1px solid #e0eae4;border-radius:12px;background:white;padding:19px;color:#304a3c;cursor:pointer;transition:border-color .15s,background .15s}.home-focus-card:hover{border-color:#74b69b;background:#fbfdfc}.home-focus-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}.home-focus-title svg{width:17px;height:17px;color:#6a9782}.home-focus-card>strong{font-size:27px;font-weight:600;line-height:1}.home-focus-card>small{font-size:10px;line-height:1.5;color:#94a59b}.home-focus-link{display:flex;align-items:center;justify-content:flex-end;gap:3px;font-size:10px;color:#4b9677}.home-focus-link svg{width:13px;height:13px}.home-focus-scope{display:block;margin-top:14px;font-size:10px;color:#a0afa5}.home-return-chat{display:flex;align-items:center;gap:6px;font-size:11px;margin-top:18px}.home-return-chat svg{width:14px;height:14px}#home-focus-strip{flex-shrink:0;padding:8px 18px;border-bottom:1px solid #edf2ee}#home-focus-strip[hidden]{display:none}.home-focus-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.compact .home-focus-card{flex-direction:row;gap:6px;align-items:center;justify-content:space-between;padding:9px 10px;border-radius:8px}.compact .home-focus-title{font-size:10px;gap:5px}.compact .home-focus-title svg{width:14px;height:14px}.compact .home-focus-card>strong{font-size:17px}.home-message-target .message-text{outline:2px solid #81c5a6;outline-offset:4px}.home-focus-mask{position:fixed;inset:0;background:#112b3d55;display:flex;align-items:center;justify-content:center;padding:24px;z-index:90}.home-focus-dialog{width:min(1000px,96vw);max-height:85vh}.home-focus-dialog .modal-head h2{margin:0;font-size:18px}.home-focus-dialog .modal-body{max-height:65vh;overflow:auto}.home-focus-dialog th,.home-focus-dialog td{white-space:normal;min-width:95px}.home-focus-dialog td:first-child{min-width:180px}
@media(max-width:1050px){.home-v2.chat-workspace.history-open{grid-template-columns:minmax(0,1fr)}.home-v2.history-open>.home-history{position:absolute;inset:0 auto 0 0;width:min(290px,90%);z-index:12;box-shadow:10px 0 35px #24473822}.home-focus-grid.compact{gap:5px}.compact .home-focus-card{padding:8px 6px}.compact .home-focus-title svg{display:none}}
@media(max-width:650px){.home-v2.chat-workspace{border-radius:10px}.home-welcome{margin:8px auto 0}.home-welcome h2{font-size:21px;margin-top:12px}.home-welcome>p{margin-bottom:16px}.home-focus-grid{gap:9px}.home-focus-card{padding:12px;gap:8px}.home-focus-title{font-size:12px}.home-focus-card>strong{font-size:23px}.home-focus-card>small{display:none}.home-focus-link{font-size:9px}.home-welcome-label{font-size:11px}#home-focus-strip{padding:6px 10px}.home-focus-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.compact .home-focus-title{font-size:10px}.home-focus-mask{padding:8px}.home-focus-dialog{width:100%}}
@media(prefers-reduced-motion:reduce){.home-focus-card{transition:none}}
.home-v2 .assistant-task-panel [data-action="task-new"],.home-v2 .assistant-task-panel .task-history-menu{display:none}.home-v2 .assistant-task-panel[hidden]{display:none}.home-welcome{margin:8px auto 0}.home-welcome h2{font-size:23px;margin:8px 0}.home-welcome>p{font-size:12px;margin-bottom:18px}.home-focus-card{padding:15px;gap:8px}.home-focus-card>strong{font-size:25px}.home-focus-card>small{font-size:9px}.home-return-chat{margin-top:12px}.home-focus-scope{margin-top:10px}
@media(max-height:780px){.home-welcome{margin:0 auto}.home-welcome h2{font-size:22px;margin:5px 0}.home-welcome>p{margin-bottom:14px}.home-focus-card{padding:12px 14px;gap:7px}.home-focus-grid{gap:11px}.home-focus-card>strong{font-size:24px}.home-focus-card>small{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-focus-scope{margin-top:8px}.home-return-chat{margin-top:8px}}
.home-conversation-row{display:flex;align-items:center;gap:2px;border-radius:8px;margin-bottom:5px}.home-conversation-row.active,.home-conversation-row:hover{background:#e5f1eb}.home-conversation-row .home-history-entry{flex:1;min-width:0}.home-conversation-row .home-history-entry>span{font-size:12px;-webkit-line-clamp:2}.home-rename-button{width:25px;flex:none;padding:5px;opacity:.45}.home-conversation-row:hover .home-rename-button,.home-rename-button:focus{opacity:1}.home-rename-button svg{width:14px;height:14px}.home-rename{width:100%;padding:7px}.home-rename input{width:100%;min-width:0;padding:8px;border:1px solid #b7d6c6;border-radius:6px;font-size:12px}.home-rename>div{display:flex;gap:14px;padding:8px 0 2px;font-size:11px}
[data-current-chat-title]{max-width:clamp(160px,26vw,420px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
