#password-dialog{width:min(420px,calc(100vw - 32px));max-width:420px;padding:24px;border:1px solid #dde4e0;border-radius:16px;color:#243630}#password-dialog h2{margin:0 0 10px;font-size:20px}#password-dialog>p{font-size:13px;line-height:1.7;color:#687a71}#password-change-form{display:grid;gap:9px;min-width:0}#password-change-form label{display:block;margin-top:6px;font-size:13px;font-weight:600}#password-change-form input{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dce5df;border-radius:8px;font-size:16px}#password-change-form input[readonly]{background:#f5f7f6;color:#61736a}#password-change-hint{font-size:12px;line-height:1.7;margin:8px 0 0;color:#73857b}#password-change-error{min-height:18px;margin:0;color:#b33333;font-size:13px;line-height:1.6}#password-change-form .form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}#password-change-form .form-actions button{min-height:44px;flex:1 1 120px}

#team-dialog {width:min(700px,calc(100vw - 24px));max-height:90vh;overflow:auto;padding:24px;border:1px solid #dce5df;border-radius:14px} #team-dialog p {margin:10px 0;color:#687a71;font-size:13px} #team-user-form{display:grid;gap:8px;margin:14px 0} #team-user-form label{display:block} #team-user-form label:not(:has(input[type=checkbox])) input,#team-user-form select{display:block;width:100%;min-width:0;min-height:44px;margin:5px 0;padding:8px} #team-users>div {padding:10px;border-bottom:1px solid #ddd} #team-owner {color:#147965;font-size:12px} #team-assign {font-size:12px} #team-error{color:#b33333!important} [hidden]{display:none!important}

:root{--ink:#1b2937;--muted:#7a8795;--line:#e8ecef;--green:#16816b;--deep:#126953;--mint:#eaf6f0;--surface:#f6f8fa;--sidebar:328px}
*{box-sizing:border-box}html,body{margin:0;min-width:320px;background:var(--surface);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;line-height:1.6}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:8px 12px;background:#fff;color:#425361;transition:background .16s,border-color .16s}button:hover:not(:disabled){background:#f1f6f4;border-color:#c6dad3}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b8e3d5;outline-offset:2px}button:disabled{opacity:.42;cursor:not-allowed}input,textarea{border:1px solid #dfe6e9;border-radius:9px;padding:12px;color:var(--ink);outline:none;background:#fff}input:focus,textarea:focus{border-color:#69b39b}button.primary{background:var(--green);border-color:var(--green);color:#fff;font-weight:600}button.primary:hover:not(:disabled){background:var(--deep)}label{cursor:pointer}input[type=checkbox]{accent-color:var(--green);cursor:pointer;width:14px;height:14px;margin:0}h1,h2,h3,p{margin:0}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#7d9890}.brand{display:flex;align-items:center;gap:12px}.brandmark{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--green);color:white;font-size:24px;font-weight:800;line-height:1}.brandmark>span{position:absolute;bottom:6px;right:5px;width:6px;height:6px;border-radius:2px;background:#afdec3}.brandmark.small{width:35px;height:35px;font-size:21px;border-radius:10px}.brand strong{font-size:18px;font-weight:650}.brand small{font-size:10px;letter-spacing:1.4px;color:#83918c;margin-left:8px}.login-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-intro{background:#e8f2ec;padding:48px 9% 32px;display:flex;flex-direction:column}.intro-copy{margin:auto 0;padding:70px 0;max-width:450px}.intro-copy h1{font-size:45px;line-height:1.45;letter-spacing:-1.5px;font-weight:650;margin:20px 0}.intro-copy>p{color:#718379;line-height:1.9;font-size:15px}.intro-card{display:flex;gap:14px;align-items:center;padding:20px;background:#fff;border:1px solid #e1e8e4;border-radius:14px;margin-top:36px;width:90%;box-shadow:0 10px 28px #163f3110}.intro-card small{font-size:11px;color:#8a9992}.intro-card p{font-size:14px;margin-top:3px}.mini-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#edf2ee;color:#738e81;font-size:13px}.intro-reply{margin:-2px 0 0 55px;position:relative;left:20px;background:#cce9d9;border:1px solid #b7dec9;padding:18px 22px;border-radius:13px;width:max-content;max-width:90%;box-shadow:0 12px 32px #163f310a}.intro-reply span{margin-left:25px;color:#578873}.intro-foot{font-size:11px;color:#7d9689;letter-spacing:1px}.intro-foot span{padding:0 8px}.login-side{display:grid;place-items:center;padding:40px;background:#fcfdfd}.login-card{width:min(370px,100%)}.login-kicker{font-size:10px;letter-spacing:2.2px;color:var(--green);font-weight:700}.login-card h2{font-size:28px;margin-top:14px;margin-bottom:5px}.login-card>p.muted{margin-bottom:33px;font-size:13px}.login-card label{display:block;font-size:12px;font-weight:600;margin:21px 0 8px}.login-card input{display:block;width:100%;height:48px}.login-submit{display:flex;width:100%;justify-content:space-between;margin-top:29px;padding:12px 16px;min-height:48px}.login-tip{font-size:11px;line-height:1.9;color:#88969f;border-top:1px solid var(--line);padding-top:20px;margin-top:10px}.version-label{display:block;margin-top:32px;font-size:10px;color:#a2adb4;letter-spacing:1.5px}#login-error{color:#b74f43;font-size:12px;min-height:32px;padding:8px 0}
#workbench{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}.topbar{height:72px;min-height:72px;padding:0 28px;background:white;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.top-divider{height:18px;width:1px;background:#dde4e8;margin:0 7px}.workspace-name{color:#6a7985;font-size:13px}.version-pill{background:#f0f3f5;font-size:10px;color:#80909c;padding:1px 7px;border-radius:5px}.header-actions{display:flex;align-items:center;gap:12px;font-size:12px}.connection{font-size:11px;color:#6c8b7f;display:flex;align-items:center;gap:7px;margin-right:15px}.connection i{height:6px;width:6px;background:#2f9b70;border-radius:50%}.connection.busy i{background:#caa75c}.connection.bad i{background:#cc695a}.connection.bad{color:#b76559}.admin-avatar{height:30px;width:30px;border-radius:50%;display:grid;place-items:center;background:#eef2f5;color:#6b7d8b;font-size:11px;font-weight:700}.text-button{border-color:transparent;padding:6px 10px;background:transparent;font-size:12px}.scope-strip{height:39px;min-height:39px;display:flex;align-items:center;gap:13px;padding:0 28px;font-size:11px;color:#7d8e94;background:#f4f7f7;border-bottom:1px solid #e8eeee}.scope-label{color:#517365;white-space:nowrap;font-size:10px;background:#e9f1ed;padding:1px 7px;border-radius:4px}.workspace{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);flex:1;min-height:0;margin:0;background:#fff}.sidebar{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);background:#fff}.aside-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 22px 19px}.small-eye{font-size:9px;letter-spacing:1.6px}.aside-heading h2{font-size:18px;font-weight:650;margin-top:3px}.count{font-size:11px;display:inline-block;vertical-align:middle;color:#708178;background:#edf3ef;padding:1px 7px;border-radius:5px;margin-left:5px}.icon-button{width:32px;height:32px;display:grid;place-items:center;padding:0;border-color:#e8edeb;font-size:21px;line-height:1;color:#6b8178}.search-box{display:flex;align-items:center;background:#f6f8f9;border:1px solid #e9eef0;border-radius:9px;margin:0 20px;gap:5px;padding-left:11px}.search-box span{color:#8b9a9e;font-size:21px;line-height:1}.search-box input{width:100%;min-width:0;border:0;background:transparent;padding:9px 8px;font-size:11px}.search-box input::placeholder{color:#98a3ab}.list-tabs{display:flex;gap:21px;padding:18px 22px 0;border-bottom:1px solid var(--line)}.tab{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;padding:0 0 12px;font-size:12px;color:#94a0a8}.tab:hover:not(:disabled){border-bottom-color:#bddccc;background:transparent}.tab.active{border-bottom-color:var(--green);color:var(--green);font-weight:650}.tab span{font-size:10px;padding-left:4px}.session-list{flex:1;min-height:0;overflow-y:auto;padding:10px 10px 14px}.item{display:flex;gap:11px;width:100%;margin:4px 0;text-align:left;padding:14px 11px;border:1px solid transparent;border-radius:10px;background:transparent;align-items:flex-start;position:relative}.item:hover:not(:disabled){background:#f5f8f6;border-color:transparent}.item.active{background:#edf7f1;border-color:#d6eade}.item.active:hover:not(:disabled){background:#edf7f1;border-color:#d6eade}.avatar{width:39px;height:39px;min-width:39px;border-radius:12px;background:#eaf0f5;color:#69859a;display:grid;place-items:center;font-size:14px;font-weight:600}.avatar.tone-1{background:#f4ece3;color:#a58b63}.avatar.tone-2{background:#eeeaf6;color:#8b79ad}.avatar.tone-3{background:#e6f0ec;color:#638779}.avatar.tone-4{background:#f1e9ec;color:#aa7e8e}.item-content{min-width:0;flex:1}.item-top{display:flex;align-items:center;gap:8px}.item-top b{font-size:13px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.item-top time{font-size:10px;color:#96a29f;white-space:nowrap}.item-preview{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;color:#89959d;margin:4px 0 7px}.item-preview .draft-prefix{color:#af8652}.item-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px}.channel-badge{font-size:9px;color:#7f998b;letter-spacing:.2px}.channel-badge::before{content:'';display:inline-block;width:5px;height:5px;background:#81b69b;border-radius:50%;margin-right:5px}.new-dot{width:6px;height:6px;border-radius:50%;background:#39a676;margin-left:4px}.route-warning{font-size:10px;color:#b56d51}.sidebar-foot{padding:14px 22px;border-top:1px solid var(--line);background:#fdfefe}.auto-switch{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#647c6e}.sidebar-foot>small{float:right;font-size:10px;color:#9aa6af;padding-top:2px}.sidebar-foot p{font-size:10px;line-height:1.7;color:#a0aab1;padding-top:7px}.chat-panel{min-width:0;display:flex;flex-direction:column;min-height:0}.chat-heading{min-height:91px;display:flex;align-items:center;padding:15px 30px;gap:13px;border-bottom:1px solid #eef1f3;background:#fff}.chat-avatar{width:41px;height:41px}.chat-heading-copy{min-width:0;flex:1}.chat-heading h2{font-size:16px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-heading p{font-size:11px;color:#8d9a9f;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-tools{display:flex;gap:5px;align-items:center}.chat-tools .icon-button{margin-left:9px}.transcript-tools{display:flex;justify-content:space-between;align-items:center;min-height:35px;padding:0 30px;font-size:10px;color:#9ca8b1;background:#f7f9fb;border-bottom:1px solid #eff2f4}.transcript-tools label{display:flex;align-items:center;gap:6px}.transcript-tools select{border:0;background:transparent;font-size:10px;color:#81929c;padding:3px;outline-offset:0}.transcript-area{position:relative;flex:1;min-height:0;background:#f7f9fb}.messages{height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:22px 32px;scroll-behavior:auto}.empty-state{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#9aa7b1}.empty-state h3{font-size:15px;font-weight:500;color:#81929d;margin:15px 0 7px}.empty-state p{font-size:12px;max-width:300px;line-height:1.9}.empty-icon{width:61px;height:51px;border:1px solid #dbe5e3;border-radius:17px 17px 17px 4px;background:#eff5f2;color:#a9c2b7;font-size:26px;letter-spacing:3px;display:grid;place-items:center}.date-divider{display:flex;align-items:center;justify-content:center;font-size:10px;color:#a3adb4;margin:4px 0 25px;gap:16px}.date-divider::before,.date-divider::after{content:'';width:40px;height:1px;background:#e8edf0}.message-row{display:flex;gap:10px;margin:0 0 12px;align-items:flex-start}.message-row.outgoing{flex-direction:row-reverse}.msg-avatar{width:29px;height:29px;min-width:29px;font-size:10px;border-radius:9px}.outgoing .msg-avatar{background:#deeee5;color:#6a9780}.message-body{max-width:min(72%,760px);min-width:56px}.message-meta{display:flex;align-items:center;gap:9px;font-size:10px;color:#98a4ad;margin:0 0 6px;padding:0 2px}.outgoing .message-meta{justify-content:flex-end}.message-meta time{color:#abb4bb;font-size:10px}.bubble{background:#fff;border:1px solid #e7edef;border-radius:0 12px 12px 12px;padding:12px 16px;color:#3c4e5c;font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 1px 2px #172b3b02;user-select:text}.outgoing .bubble{background:#dcf0e5;border-color:#cce7d8;border-radius:12px 0 12px 12px;color:#355547}.message-actions{display:flex;justify-content:flex-start;margin-top:2px;height:16px;opacity:0;transition:opacity .15s}.outgoing .message-actions{justify-content:flex-end}.message-row:hover .message-actions,.message-row:focus-within .message-actions{opacity:1}.copy-message{font-size:10px;border:0;background:transparent;padding:0 3px;color:#8aa293}.jump-latest{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);font-size:11px;border-radius:20px;padding:7px 16px;color:#4a826b;border-color:#d7e8df;box-shadow:0 4px 16px #254d3412;white-space:nowrap}.status-line{background:#fff;min-height:24px;line-height:1.8;font-size:11px;color:#83958e;padding:3px 28px;overflow-wrap:anywhere;border-top:1px solid #eef2f4}.status-line.bad{color:#ad5e48;background:#fff9f4}.status-line.good{color:#3f896a}.composer{padding:11px 28px 18px;background:#fff}.quick-replies{display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap}.quick-replies>span{font-size:10px;color:#9ca6ad;margin-right:4px}.quick-replies>button{font-size:11px;padding:4px 10px;border-radius:6px;background:#fafcfc;border-color:#e8edee;color:#768b80}.editor-box{border:1px solid #e0e7e5;border-radius:10px;overflow:hidden;transition:border-color .16s;background:#fff}.editor-box:focus-within{border-color:#6eae96;box-shadow:0 0 0 3px #d1e7dd38}.editor-box textarea{border:0;width:100%;display:block;resize:none;border-radius:10px;height:85px;max-height:130px;min-height:70px;padding:12px 14px 5px;outline:none!important;line-height:1.8;font-size:14px;background:transparent}.editor-box textarea::placeholder{color:#a7b2ba}.editor-box textarea:disabled{background:#fafcfc}.editor-foot{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#acb6bd;padding:3px 13px 7px;gap:10px}#char-count{white-space:nowrap}#char-count.over{color:#b05d48}.compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.send-preferences{display:flex;gap:17px;align-items:center;font-size:10px;color:#9ca8ae;flex-wrap:wrap}.send-preferences label{display:flex;align-items:center;gap:6px;color:#82948c;white-space:nowrap}.send-preferences b{font-weight:400;padding:0 3px;color:#bbc5c8}.send-button{min-width:115px;display:flex;align-items:center;justify-content:center;gap:17px;padding:8px 14px;border-radius:8px;font-size:12px;white-space:nowrap}.warning-button{font-size:11px;border-color:#e6cba3;color:#9e733e}.details-panel{padding:15px 30px 17px;background:#fbfcfd;border-bottom:1px solid var(--line);max-height:220px;overflow:auto}.details-panel h3{font-size:12px;color:#647889;margin-bottom:10px}.details-panel dl{display:grid;grid-template-columns:100px 1fr;gap:5px;font-size:11px;margin:0}.details-panel dt{color:#99a5ad}.details-panel dd{margin:0;color:#627481;overflow-wrap:anywhere;font-family:ui-monospace,Consolas,monospace}.details-panel p{font-size:10px;color:#a1adb6;margin-top:11px;line-height:1.8}.list-empty{padding:35px 15px;text-align:center;color:#a1adb4;font-size:12px;line-height:1.9}.mobile-only{display:none}dialog{border:1px solid #e3eae5;border-radius:16px;padding:30px;max-width:430px;width:calc(100% - 40px);box-shadow:0 20px 80px #1d3c372b}dialog::backdrop{background:#172f2c4d}dialog h2{margin:8px 0;font-size:20px}dialog p{font-size:12px;margin-bottom:20px}dialog label{display:block;font-size:12px;margin-bottom:8px}dialog input{width:100%}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.dialog-actions button{font-size:12px;min-width:76px}[hidden]{display:none!important}
@media(min-width:1600px){:root{--sidebar:355px}.messages{padding:28px 48px}.composer{padding:13px 38px 24px}.editor-box textarea{height:103px}.chat-heading{padding:18px 38px}.bubble{font-size:15px}}
@media(max-width:1000px){:root{--sidebar:290px}.topbar{padding:0 18px}.scope-strip{padding:0 18px}.chat-heading{padding:13px 20px}.composer{padding:10px 18px 16px}.messages{padding:18px 20px}.message-body{max-width:82%}.send-preferences{gap:6px}.send-preferences>span{width:100%}.workspace-name,.top-divider{display:none}.intro-copy h1{font-size:37px}.brand small{display:none}.login-intro{padding:35px 8%}.intro-copy{padding:40px 0}}
@media(max-width:680px){.topbar{height:60px;min-height:60px;padding:0 14px}.brand{gap:8px}.brand strong{font-size:16px}.version-pill,.admin-label,.admin-avatar{display:none}.header-actions{gap:4px}.connection{margin-right:5px;font-size:10px}.scope-strip{padding:5px 14px;height:auto;min-height:34px;font-size:10px;align-items:flex-start;gap:7px;line-height:1.7}.scope-label{margin-top:1px}.workspace{display:block;position:relative;min-height:0}.sidebar,.chat-panel{height:100%}.sidebar{border:0}.chat-panel{display:none}#workbench.chat-open .sidebar{display:none}#workbench.chat-open .chat-panel{display:flex}.mobile-only{display:grid}.chat-heading{min-height:75px;padding:10px 12px;gap:9px}.chat-avatar{display:none}.chat-heading h2{font-size:14px}.chat-heading p{font-size:10px}.chat-tools{gap:0}.chat-tools .text-button{padding:5px 7px;font-size:11px}.chat-tools .icon-button{margin-left:3px;width:28px;height:28px}.transcript-tools{padding:0 14px;font-size:9px;min-height:30px}.messages{padding:16px 13px}.message-row{gap:7px;margin-bottom:15px}.message-body{max-width:83%}.bubble{padding:10px 12px;font-size:13px}.msg-avatar{width:25px;min-width:25px;height:25px;font-size:9px}.message-meta{font-size:9px;gap:7px}.message-actions{height:18px;opacity:.65}.composer{padding:8px 12px 12px}.quick-replies{gap:6px;margin-bottom:8px}.quick-replies>span{font-size:9px;margin-right:0}.quick-replies>button{font-size:10px;padding:3px 7px}.editor-box textarea{height:75px;font-size:14px;min-height:55px}.editor-foot{font-size:9px}.editor-foot #draft-hint{max-width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compose-bottom{gap:8px;margin-top:8px}.send-preferences{font-size:9px;gap:4px}.send-preferences>span{font-size:9px}.send-button{min-width:96px;font-size:12px;padding:8px 11px;gap:9px}.status-line{padding:3px 14px;font-size:10px;max-height:72px;overflow:auto}.details-panel{padding:12px 16px}.details-panel dl{grid-template-columns:83px 1fr;font-size:10px}.warning-button{font-size:10px;padding:6px;max-width:116px}.login-shell{display:block;min-height:100dvh;background:#f9fcfa}.login-intro{padding:24px;background:transparent;display:block}.intro-copy,.intro-foot{display:none}.login-side{padding:20px 28px;background:transparent;min-height:calc(100dvh - 120px);align-items:start}.login-card{padding-top:10px}.login-card h2{font-size:26px}.login-card input{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* 0.3: customer detail pane, durable workbench status and editable replies. */
.workspace.details-open{grid-template-columns:var(--sidebar) minmax(320px,1fr) 280px}.profile-side{border-left:1px solid var(--line);overflow:auto;background:#fff;padding:23px 22px;min-width:0}.profile-head,.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.profile-head h3{font-size:17px;margin-top:6px}.profile-section{padding:20px 0;border-bottom:1px solid var(--line)}.profile-section>label{font-size:11px;color:#8a9994;display:block;margin-bottom:8px}.profile-section>p{font-size:13px;overflow-wrap:anywhere}.profile-section .note-text{white-space:pre-wrap;line-height:1.85;color:#6b7e74;font-size:12px;max-height:250px;overflow:auto}.small-copy{font-size:11px!important;margin-top:8px;line-height:1.8}.tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.tags span{font-size:10px;background:#eff4f2;color:#668074;border:1px solid #e3ebe7;border-radius:5px;padding:2px 7px}.case-badge{display:inline-block;font-size:10px!important;border-radius:5px;padding:2px 7px;background:#fff2df;color:#a1763f}.case-badge.active{background:#e6f0fa;color:#66829b}.case-badge.done{background:#e9f4ec;color:#688974}.profile-foot{font-size:10px;color:#a0aca6;line-height:1.9;margin-top:22px}.route-details{padding-top:18px;font-size:11px;color:#869b90}.route-details summary{cursor:pointer}.route-details dl{font-size:10px;margin-top:14px}.route-details dd{margin:3px 0 12px;overflow-wrap:anywhere;color:#a2ada7;font-family:ui-monospace,monospace}.status-filter{padding:10px 20px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8d9c94;border-bottom:1px solid #f0f3f2}.status-filter select{border:0;background:#f6f8f7;padding:4px 7px;border-radius:5px;color:#708276;font-size:11px}.item-bottom{flex-wrap:wrap}.draft-prefix{color:#ac8458}.hold-dot{font-size:10px;color:#b37b41}.quick-bar{display:flex;align-items:center;gap:8px;margin-bottom:10px;min-width:0}.quick-bar>span{font-size:10px;color:#91a197;white-space:nowrap}.quick-bar select{max-width:105px;font-size:11px;border:1px solid #e4ebe7;border-radius:5px;padding:4px;color:#708779;background:#fbfdfb}.quick-chips{display:flex;gap:6px;flex:1;overflow:auto;scrollbar-width:thin}.quick-chips button{font-size:11px;padding:4px 9px;white-space:nowrap;background:#f7faf8;border-color:#e5ede8;border-radius:6px}.editor-foot button{font-size:10px;padding:0 3px;white-space:nowrap}.editor-foot #draft-hint{flex:1}.editor-foot #draft-hint.dirty{color:#b28b54}.editor-foot #draft-hint.bad{color:#bc6753}.wide-dialog{max-width:860px;width:calc(100% - 40px);max-height:85vh;overflow:auto}.quick-manager{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;margin-top:15px}.quick-manager>div{border-right:1px solid #e7ede9;padding-right:18px}.quick-manager #quick-list{margin-top:12px;max-height:410px;overflow:auto}.quick-edit-item{display:block;text-align:left;width:100%;padding:10px;margin-bottom:6px}.quick-edit-item b,.quick-edit-item small{display:block;overflow-wrap:anywhere}.quick-edit-item small{font-size:10px;color:#91a498;margin-top:3px}.quick-edit-item.active{background:#edf6f0;border-color:#cadfd1}dialog select,dialog textarea{width:100%;padding:10px;border:1px solid #dfe7e2;border-radius:8px;resize:vertical}dialog label{margin-top:12px}.dialog-top h2{margin-bottom:12px}.form-error{min-height:20px;margin:8px 0!important;color:#ad604e;font-size:12px!important}.danger{color:#b56954;border-color:#e9d1c7}.receipt-card{padding:17px 18px;border:1px solid #e3eae6;border-radius:11px;margin-top:13px}.receipt-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.receipt-state{font-size:11px;padding:3px 8px;border-radius:5px;background:#f1f5f3;color:#769083}.receipt-state.sent{background:#e6f4ea;color:#498862}.receipt-state.unknown{background:#fff0de;color:#a97b36}.receipt-state.failed{background:#fbeeea;color:#b16d54}.receipt-state.sending{background:#e8f0fa;color:#6989aa}.receipt-state.prepared{background:#f1edf7;color:#8b79a4}.receipt-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;max-height:180px;overflow:auto;margin:12px 0!important;color:#4e6358}.receipt-info{font-size:11px;color:#879d90;overflow-wrap:anywhere}.receipt-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.receipt-actions button{font-size:11px}.receipt-review{font-size:11px;line-height:1.8;background:#f8faf8;padding:8px 10px;margin-top:9px;color:#859689}.migration-bar,.conflict-bar{display:flex;gap:12px;align-items:center;padding:8px 24px;background:#fff7e7;color:#92713c;font-size:11px;border-bottom:1px solid #f0e6d3}.migration-bar button,.conflict-bar button{font-size:11px;padding:4px 10px;white-space:nowrap}.conflict-bar{flex-wrap:wrap;padding:8px 24px}.scope-strip{font-size:11px}.connection.paused i{background:#c79349}.status-line{min-height:27px}.topbar{height:66px;min-height:66px}#hold-count{color:#bc8148}.empty-state .small-copy{max-width:360px}.sidebar-foot{padding-top:11px;padding-bottom:11px}
@media(max-width:1250px){.workspace.details-open{grid-template-columns:280px minmax(320px,1fr) 250px}.profile-side{padding:18px 15px}.chat-tools{gap:0}.chat-tools .text-button{font-size:11px;padding:6px}.chat-heading{padding:12px 18px}.chat-heading-copy{min-width:80px}.quick-bar{flex-wrap:wrap}.quick-chips{min-width:130px}}
@media(max-width:1000px){.workspace.details-open{grid-template-columns:var(--sidebar) minmax(0,1fr)}.profile-side{position:fixed;right:0;top:105px;bottom:0;width:290px;z-index:5;box-shadow:-16px 0 40px #233c311b}.quick-manager{grid-template-columns:180px 1fr}.scope-strip{height:auto;min-height:39px;padding-top:5px;padding-bottom:5px}.chat-heading h2{max-width:250px}}
@media(max-width:680px){.workspace.details-open{display:block}.profile-side{top:95px;width:min(330px,90vw);padding:22px}.quick-manager{grid-template-columns:1fr;gap:15px}.quick-manager>div{border-right:0;border-bottom:1px solid #e5ebe7;padding:0 0 12px}.quick-manager #quick-list{max-height:150px}.wide-dialog{padding:20px;width:calc(100% - 20px)}.chat-tools .text-button{font-size:10px;padding:4px}.chat-heading-copy{min-width:50px}.chat-heading h2{max-width:125px}.migration-bar{padding:8px 12px;flex-wrap:wrap}.quick-bar{gap:5px}.quick-bar>span{display:none}.quick-bar select{max-width:85px}.conflict-bar{font-size:10px;padding:8px 12px}.receipt-actions button{flex:1}.profile-section{padding:16px 0}}

.invite-dialog{width:min(660px,calc(100vw - 28px));max-width:660px;max-height:90dvh;overflow:auto;padding:25px 29px}.invite-top{display:flex;justify-content:space-between;align-items:flex-start}.invite-top>button{font-size:22px;line-height:1}.invite-dialog h2{font-size:22px;margin:7px 0 16px}.invite-warning{background:#fff7ea;border:1px solid #f1dfc2;border-radius:10px;padding:12px 15px;font-size:12px;color:#80623e}.invite-warning p{font-size:12px;margin:5px 0 0;line-height:1.8}.invite-consent{display:flex;gap:9px;align-items:center;font-size:12px;margin:14px 0}.invite-consent input{width:15px;height:15px;flex:none}.invite-stage{text-align:center;background:#f5faf7;border:1px solid #e0ece4;border-radius:13px;padding:18px}.invite-stage h3{font-size:15px;color:#236c53;margin:8px 0 12px}.invite-step{font-size:10px;color:#829488;letter-spacing:1px}.invite-step span{margin:0 10px;color:#adbbb3}#invite-qr{display:block;background:white;padding:4px;margin:8px auto;max-width:100%;height:auto;image-rendering:pixelated}#invite-download{font-size:11px;display:block;color:#247455;margin:9px 0}#invite-account{font-size:11px;overflow-wrap:anywhere;color:#526b5d;margin:8px 0}#invite-limit{font-size:10px;margin:4px 0;color:#8b9991}.invite-code-row{display:flex;gap:8px}.invite-code-row input{min-width:0;width:100%}#invite-code-box{padding:12px 0}#invite-code-box small{display:block;color:#8a978f;font-size:10px;line-height:1.8;margin-top:6px}.invite-error{color:#b64f3d;font-size:12px;min-height:20px;margin:10px 0!important;overflow-wrap:anywhere}.invite-actions{display:flex;justify-content:flex-end;gap:10px}.invite-foot{font-size:10px!important;line-height:1.8;color:#8b9790;margin:12px 0 0!important}.invite-next{font-size:12px;background:#e9f6ee;color:#33734e;padding:12px;border-radius:8px;margin-top:10px}#invite-open{border-color:#cfe5da;color:#287959;font-size:12px;white-space:nowrap}@media(max-width:680px){.invite-dialog{padding:17px}.topbar .brand strong{font-size:13px}.topbar .brandmark{display:none}#invite-open{font-size:10px;padding:6px}#sync-status{display:none}.invite-actions button{font-size:12px}}
/* Reception 0.5; builds on the existing compact operator layout. */
.reception-bar{display:flex;align-items:center;gap:18px;padding:9px 24px;background:#fff;border-bottom:1px solid var(--line);min-height:48px;flex-wrap:wrap;font-size:12px}.reception-stat{display:flex;align-items:baseline;gap:7px;color:#70847a}.reception-stat b{font-size:20px;color:#206e54}.reception-stat.urgent b{color:#b26040}.reception-stat.review b{color:#986731}.reception-note{margin-left:auto;font-size:10px;color:#87978e;max-width:430px}.queue-pill{display:inline-block;max-width:100%;font-size:10px;padding:2px 6px;border-radius:5px;background:#edf5ef;color:#4c8467;white-space:nowrap}.queue-pill.attention{background:#fff2da;color:#947139}.queue-pill.urgent{background:#ffede5;color:#b16343}.queue-pill.review{background:#fff1db;color:#9c7540}.queue-pill.unscanned{background:#eef1f4;color:#89969f}.item.queue-urgent{border-left:3px solid #d29675}.item-bottom{gap:7px;flex-wrap:wrap}.queue-current{font-size:11px;margin-top:4px;color:#748b7f}.list-tabs{gap:14px}.list-tabs .tab{white-space:nowrap;font-size:11px}.enhance-dialog{width:min(860px,calc(100% - 28px));max-width:860px;max-height:87dvh;overflow:auto;padding:26px}.enhance-dialog.compact-dialog{max-width:480px}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:12px}.dialog-heading h2{font-size:22px;margin:5px 0 0}.dialog-heading>div:last-child{display:flex;gap:6px;flex-wrap:wrap}.dialog-heading>div:first-child{display:block}.enhance-dialog p.muted{font-size:12px;margin-bottom:12px}.setting-line{display:flex;align-items:center;gap:10px;padding:10px 0;font-size:13px}.setting-line input{width:auto}.safe-note{margin-top:18px;background:#f5f8f6;border:1px solid #e5eeea;border-radius:9px;padding:12px 14px;font-size:11px;color:#7b8e83;line-height:1.8}.connection-cards{display:grid;gap:12px}.connection-card{border:1px solid #e1eae5;border-radius:12px;padding:16px 18px}.connection-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.connection-card-head b{font-size:14px;overflow-wrap:anywhere}.conn-state{font-size:11px;padding:2px 8px;border-radius:5px;white-space:nowrap;background:#edf5ef;color:#448766}.conn-state.bad{background:#fff0e8;color:#a66249}.conn-state.unknown{background:#f0f2f4;color:#81909b}.connection-meta{font-size:11px;color:#86958b;display:flex;gap:10px 24px;flex-wrap:wrap;overflow-wrap:anywhere;margin-bottom:10px}.connection-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.connection-actions input{height:35px;max-width:240px;font-size:12px;padding:7px 9px}.connection-actions button{font-size:11px;padding:7px 10px}.diagnostic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.diagnostic-card{padding:15px;border:1px solid #e2eae5;border-radius:11px;min-width:0}.diagnostic-card>span{font-size:11px;color:#88978e}.diagnostic-card h3{font-size:15px;color:#427c61;margin:6px 0}.diagnostic-card.warn h3{color:#a37047}.diagnostic-card p{font-size:11px;color:#8b9991;line-height:1.8;overflow-wrap:anywhere}.section-caption{font-size:13px;margin:20px 0 10px}.diagnostic-issue{padding:9px 0;border-bottom:1px solid #edf1ee;font-size:11px;color:#7b8d81}.diagnostic-issue b{display:block;color:#947042;margin-bottom:3px}.form-note.bad{color:#b1674f}.header-actions{gap:6px}.topbar{padding:0 20px}.header-actions .text-button{font-size:11px;padding:6px 7px}.connection{margin-right:5px}
@media(max-width:1180px){.workspace-name,.top-divider{display:none}.reception-bar{gap:12px}.reception-note{max-width:300px}.topbar{gap:8px}}
@media(max-width:760px){.topbar{height:auto;min-height:76px;flex-wrap:wrap;padding:8px 12px;gap:4px}.header-actions{width:100%;justify-content:flex-end;gap:2px}.header-actions .text-button{font-size:10px;padding:4px 6px}.reception-bar{padding:7px 12px;min-height:48px;gap:13px}.reception-stat{font-size:10px;gap:4px}.reception-stat b{font-size:16px}.reception-note{width:100%;max-width:none;font-size:9px;margin:0}.enhance-dialog{padding:18px}.diagnostic-grid{grid-template-columns:1fr}.dialog-heading{gap:9px}.dialog-heading h2{font-size:18px}.dialog-heading button{font-size:10px;padding:5px 6px}.connection-card{padding:12px}.connection-card-head{gap:8px}.connection-actions input{max-width:100%;flex:1;min-width:130px}.list-tabs{gap:22px}.queue-current{font-size:10px}}

.voice-panel{padding:8px 28px;border-top:1px solid #e5ece8;background:#f7fbf9;max-height:155px;overflow:auto;flex-shrink:0}.voice-title{font-size:11px;color:#557366;margin-bottom:5px}.voice-card{display:flex;align-items:center;gap:12px;margin:5px 0;flex-wrap:wrap}.voice-time,.voice-expired{font-size:11px;color:#74877d}.voice-player{height:32px;max-width:100%;width:280px}
.voice-bubble{padding:9px 14px;min-width:130px;max-width:290px;background:#fff}.voice-toggle{display:flex;align-items:center;gap:13px;background:transparent;border:0;border-radius:9px;width:100%;padding:4px 0;color:#27533e;text-align:left;cursor:pointer}.voice-toggle:focus-visible{outline:2px solid #2d865b;outline-offset:3px}.voice-toggle:disabled{cursor:default;color:#81958a}.voice-icon{font-size:20px;min-width:18px}.voice-waves{display:flex;align-items:center;gap:3px;height:23px;flex:1}.voice-wave{display:block;width:3px;background:currentColor;border-radius:3px}.voice-bubble.playing .voice-wave{animation:voicePulse .65s ease-in-out infinite alternate}.voice-duration{font-size:13px;white-space:nowrap}.voice-transcript{margin-top:7px;font-size:12px;color:#6b7f73}.voice-transcript summary{cursor:pointer;user-select:none}.voice-transcript p{margin:8px 0 1px;color:#2e4037;white-space:pre-wrap;word-break:break-word;line-height:1.65}.inline-voice-audio{display:none}.voice-unavailable{font-size:11px;color:#829088;margin-top:5px}@keyframes voicePulse{from{opacity:.45;transform:scaleY(.65)}to{opacity:1;transform:scaleY(1)}}@media(prefers-reduced-motion:reduce){.voice-bubble.playing .voice-wave{animation:none}}

/* Formal reception layout; delivery controls and warnings remain visible. */
:root{--sidebar:296px;--ink:#20332f;--muted:#7c8e87;--line:#e6ece9}
.topbar{height:64px;min-height:64px;padding:0 24px;gap:20px}.topbar .brand{gap:11px;flex-shrink:0}.topbar .brand strong{font-size:19px}.topbar .workspace-name{display:inline;font-size:12px;padding-left:12px;border-left:1px solid #e1e9e5;color:#789086}.header-actions{gap:12px;min-width:0}.header-actions .connection{margin:0 6px 0 0;font-size:12px;white-space:nowrap}.admin-label{font-size:12px;color:#486155}.admin-avatar{width:28px;height:28px;background:#edf4ef}.workbench-menu{position:relative;flex-shrink:0}.workbench-menu summary{cursor:pointer;list-style:none;padding:8px 10px;border:1px solid #e1e9e4;border-radius:8px;font-size:12px;color:#536b60;user-select:none}.workbench-menu summary::-webkit-details-marker{display:none}.workbench-menu summary span{margin-left:8px}.workbench-menu[open] summary{background:#f0f7f3;border-color:#bcd8ca}.workbench-menu-items{position:absolute;right:0;top:calc(100% + 8px);width:164px;padding:6px;border:1px solid #dfe8e2;border-radius:10px;background:#fff;box-shadow:0 12px 32px #1c3b2920;z-index:20}.workbench-menu-items button{display:block;width:100%;text-align:left;padding:10px 12px;border:0;font-size:12px;border-radius:6px;color:#4d6558}.workbench-menu-items #logout{border-top:1px solid #edf1ee;margin-top:4px;color:#9c6252}
#invite-open{background:#16816b;color:white;border-color:#16816b;padding:8px 13px;border-radius:8px;font-size:12px}#invite-open:hover:not(:disabled){background:#126953;border-color:#126953}.reception-bar{min-height:42px;padding:7px 24px;gap:24px;background:#fbfdfb}.reception-stat{font-size:12px;gap:7px}.reception-stat b{font-size:19px}.reception-note{font-size:11px;color:#85998c}
.aside-heading{padding:20px 20px 16px}.aside-heading h2{font-size:18px}.small-eye{letter-spacing:1px;font-size:10px}.search-box{margin:0 16px;background:#f4f7f5;border-color:#e4ebe6}.search-box input{font-size:12px;padding:10px 8px}.list-tabs{padding:16px 18px 0;gap:18px}.list-tabs .tab{font-size:12px;padding-bottom:11px}.status-filter{padding:8px 18px;font-size:11px}.session-list{padding:8px}.item{padding:13px 10px;margin:3px 0;gap:10px;border-radius:10px}.item-top b{font-size:14px;color:#324d40}.item-top time{font-size:11px}.item-preview{font-size:12px;margin:5px 0 9px;color:#7f9188}.item-bottom{gap:6px;justify-content:flex-start}.item-owner{font-size:11px;color:#819389;margin-left:auto;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-warning{flex-basis:100%;font-size:10px}.queue-pill{font-size:10px;padding:2px 6px}.item.active{background:#eaf5ee;border-color:#cae4d5}.sidebar-foot{padding:11px 18px}.sidebar-foot p{padding-top:6px}.auto-switch{font-size:11px}.sidebar-foot>small{font-size:10px}
.chat-heading{min-height:92px;padding:16px 24px;gap:12px}.chat-heading-copy{display:flex;flex-direction:column;gap:5px}.chat-heading h2{font-size:17px;max-width:none}.chat-heading p{margin:0;font-size:11px}.chat-reception{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px;line-height:1.7}#team-owner{font-size:11px;color:#327860}#team-assign{font-size:10px;padding:2px 7px;background:#f6faf7;border-color:#dfeae2;border-radius:5px}.chat-reception .queue-current{font-size:11px;margin:0;color:#889c90}.chat-tools{gap:2px}.chat-tools .text-button{font-size:11px;padding:6px 7px}.chat-tools .icon-button{margin-left:4px}.transcript-tools{min-height:31px;padding:0 24px;font-size:11px;background:#f5f8f6;color:#87998e}.transcript-tools select{font-size:11px}.transcript-area{background:#f5f8f6}.messages{padding:22px 26px}.message-body{max-width:min(78%,760px)}.message-meta{font-size:11px;color:#8d9c93}.message-meta time{font-size:10px}.bubble{font-size:14px;line-height:1.8;padding:11px 15px;border-color:#e0e9e3;color:#30473b}.outgoing .bubble{background:#dff0e6;border-color:#cde5d8;color:#315746}.message-row{margin-bottom:16px}.message-actions{height:14px}.date-divider{margin-bottom:20px}.msg-avatar{background:#e7eeea;color:#789184}.status-line{padding:4px 24px;min-height:26px;font-size:11px}.status-line:empty{display:none}.composer{padding:10px 24px 14px;border-top:1px solid #e8eeea}.quick-bar{margin-bottom:8px;gap:8px}.quick-bar>span{font-size:11px}.quick-bar select{font-size:11px}.quick-chips button{padding:5px 10px}.editor-box{border-color:#dce6df;background:#fcfefd}.editor-box textarea{height:74px;min-height:64px;max-height:130px;padding:11px 13px 4px;font-size:14px}.editor-foot{font-size:10px;padding:3px 12px 7px}.compose-bottom{margin-top:9px}.send-preferences{font-size:11px;gap:16px}.send-button{font-size:13px;padding:9px 18px;min-width:122px}.voice-panel{padding:0 24px;background:#fafcfb;max-height:160px;border-top:1px solid #e2eae5}.voice-title{padding:8px 0;margin:0;font-size:11px;color:#759180;cursor:pointer;user-select:none}.voice-panel[open]{padding-bottom:7px}.voice-card{margin:6px 0 7px}.voice-player{height:32px}.profile-foot{font-size:11px}.profile-side{padding:20px}
@media(min-width:1600px){:root{--sidebar:320px}.messages{padding:26px 36px}.editor-box textarea{height:90px}}
@media(max-width:1100px){.topbar{padding:0 18px}.header-actions{gap:8px}.workspace.details-open{grid-template-columns:var(--sidebar) minmax(0,1fr)}.profile-side{position:fixed;right:0;top:106px;bottom:0;width:290px;z-index:5;box-shadow:-16px 0 40px #233c311b}.chat-heading{padding:14px 18px;flex-wrap:wrap;gap:8px}.chat-tools{margin-left:auto}.chat-heading-copy{flex-basis:calc(100% - 65px)}.chat-tools{position:absolute;right:18px}.chat-heading h2{padding-right:205px}.chat-heading{position:relative}.chat-tools{top:13px}.chat-reception{gap:6px}.composer{padding:10px 18px 13px}.messages{padding:20px}.transcript-tools{padding:0 18px}.voice-panel{padding-left:18px;padding-right:18px}.send-preferences{gap:8px}.send-preferences>span{width:auto}}
@media(max-width:850px){:root{--sidebar:260px}.topbar .workspace-name{display:none}.chat-avatar{display:none}.chat-heading-copy{flex-basis:100%}.chat-heading h2{padding-right:185px;font-size:15px}.chat-tools .text-button{padding:5px;font-size:10px}.chat-tools .icon-button{width:26px;height:26px}.list-tabs{gap:12px;padding-left:14px;padding-right:14px}.list-tabs .tab{font-size:11px}.item-owner{max-width:80px}.quick-bar{gap:6px}.send-preferences{font-size:10px}.send-preferences>span{display:none}}
@media(max-width:680px){.topbar{height:auto;min-height:84px;padding:10px 12px;gap:8px}.topbar .brand strong{font-size:17px}.topbar .brandmark{display:grid;width:28px;height:28px}.header-actions{width:100%;justify-content:flex-end;gap:8px}.workbench-menu summary{font-size:11px;padding:6px 8px}.header-actions #invite-open{font-size:11px;padding:6px 10px}.reception-bar{min-height:38px;padding:6px 12px;gap:15px}.reception-stat{font-size:10px;gap:5px}.reception-stat b{font-size:17px}.reception-note{display:none}.chat-heading{padding:12px;min-height:99px;gap:8px}.chat-heading-copy{flex-basis:calc(100% - 42px)}.chat-heading h2{font-size:15px;padding-right:0}.chat-tools{position:static;margin-left:34px}.chat-reception{font-size:10px;gap:6px}.chat-reception .queue-current,#team-owner{font-size:10px}.chat-tools .text-button{font-size:11px;padding:4px 7px}.chat-tools .icon-button{width:26px;height:26px}.composer{padding:8px 12px 10px}.messages{padding:16px 13px}.message-body{max-width:85%}.editor-box textarea{height:65px;min-height:55px}.send-preferences{font-size:10px}.send-button{min-width:102px;padding:8px 12px;font-size:12px}.voice-panel{padding-left:14px;padding-right:14px}.voice-card{gap:6px}.voice-player{width:240px}.transcript-tools{padding:0 14px}.status-line{padding:4px 12px}.profile-side{top:122px}}

