:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#112346;background:#f4f7fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #88baff;outline-offset:2px}h1,h2,h3,p{margin-top:0}a{color:#2257dc}#workspace[hidden],#login[hidden]{display:none!important}.login-shell{min-height:100dvh;display:grid;place-content:center;padding:22px;background:radial-gradient(circle at 70% 20%,#dceaff,#f4f7fc 55%)}.login-brand{display:flex;align-items:center;gap:10px;margin-bottom:24px;color:#164be4;font-size:22px}.login-brand span{font-size:10px;letter-spacing:2px;color:#7789a7;margin-left:auto}.login-card{width:min(430px,90vw);background:#fff;padding:36px;border-radius:22px;box-shadow:0 22px 70px #183a7a16;border:1px solid #e1e9f8}.login-card h1{font-size:29px;letter-spacing:-1px}.login-card p{line-height:1.6;color:#697a97}.login-card label{display:grid;gap:7px;margin:18px 0;font-size:13px;font-weight:700}.login-card input,.list-tools input,.list-tools select{width:100%;padding:12px 14px;border:1px solid #d7e1ef;border-radius:10px;background:#fff;color:#142547}.error{color:#a12636!important}.eyebrow{font-size:10px!important;font-weight:800;letter-spacing:2.1px;color:#3965ed!important}.small{font-size:12px}.muted{color:#7a89a2}.btn{border:1px solid transparent;border-radius:10px;padding:11px 16px;font-size:12px;font-weight:750;display:inline-flex;align-items:center;gap:8px;justify-content:center;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.btn:active{transform:scale(.97)}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.primary{width:100%;background:#295be8;color:#fff;box-shadow:0 7px 18px #285bf034;justify-content:space-between}.btn.secondary,.btn.ghost{color:#2e50a4;background:#f5f8ff;border-color:#dce5f3}.btn.secondary:hover,.btn.ghost:hover{background:#e9f0ff}.shell{display:flex;min-height:100dvh}.sidebar{width:248px;flex-shrink:0;background:#0d1830;color:#c9d5e8;padding:24px 16px;display:flex;flex-direction:column;gap:26px}.brand{display:flex;align-items:center;color:#5c90ff;font-size:29px;gap:10px}.brand strong{display:block;color:#fff;font-size:14px;letter-spacing:1.3px}.brand small{display:block;font-size:9px;letter-spacing:1.3px;color:#9daccc;margin-top:4px}.workspace-card{display:flex;gap:12px;padding:14px;background:#172845;border:1px solid #29405e;border-radius:12px}.workspace-card strong{display:block;font-size:13px;color:#fff}.workspace-card small{display:block;color:#a5b6cf;font-size:11px;margin-top:5px}.ws-avatar{width:37px;height:37px;display:grid;place-items:center;border-radius:10px;background:#2755d3;color:#fff;font-weight:850}.side-caption{font-size:10px;letter-spacing:1.6px;color:#788cae;font-weight:800}.sidebar nav{display:grid;gap:7px}.nav{border:0;border-radius:10px;background:transparent;color:#becbe0;text-align:left;padding:13px 14px;display:flex;gap:13px;align-items:center;font-size:13px;transition:.16s}.nav:hover,.nav.active{background:#254cd7;color:#fff}.sidebar-foot{margin-top:auto;font-size:12px;line-height:1.8;color:#afc0dc}.content-wrap{flex:1;min-width:0}.topbar{height:72px;background:#fff;border-bottom:1px solid #e7edf7;display:flex;align-items:center;padding:0 clamp(20px,4vw,52px);gap:15px;justify-content:space-between}.breadcrumb{font-size:12px;color:#7f8da3}.breadcrumb b{color:#142b51}.breadcrumb span{padding:0 9px;color:#c0c9d9}.top-actions{display:flex;align-items:center;gap:10px}.pilot{font-size:10px;font-weight:850;color:#be7c24;background:#fff6e6;padding:8px 10px;border-radius:8px}.pill{font-size:11px;color:#63758b;background:#f1f6fc;padding:8px 10px;border-radius:20px}.content{max-width:1350px;margin:auto;padding:34px clamp(20px,4vw,52px)}.head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}.head h1{font-size:clamp(25px,3vw,33px);letter-spacing:-1.1px;margin-bottom:8px}.head p:not(.eyebrow){color:#71809b;font-size:13px;margin:0}.hero{background:linear-gradient(120deg,#10264f,#164184);border-radius:18px;color:#fff;padding:30px 32px;display:flex;justify-content:space-between;align-items:center;gap:24px;box-shadow:0 14px 35px #1b3f8719}.hero h2{font-size:32px;line-height:1.13;letter-spacing:-1px}.hero h2 em{font-style:normal;color:#91b8ff}.hero p{font-size:12px;color:#bfd0ea;line-height:1.6;max-width:390px;margin:0}.hero .eyebrow{color:#91b8ff!important}.hero-state{width:245px;background:#ffffff13;border:1px solid #ffffff29;border-radius:14px;padding:19px}.hero-state small{color:#c8d7f3;font-size:10px;letter-spacing:1px}.hero-state strong{display:block;font-size:19px;margin:14px 0 10px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.metrics article{background:#fff;border:1px solid #e2eaf7;padding:19px;border-radius:13px;min-height:106px}.metrics small{font-size:11px;color:#71809b}.metrics strong{display:block;font-size:27px;margin-top:11px;color:#12274d}.panel{background:#fff;border-radius:15px;border:1px solid #e2eaf7;padding:22px;box-shadow:0 3px 12px #15356b08}.panel-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.panel h2{font-size:17px;letter-spacing:-.3px;margin:0 0 5px}.panel-head p{font-size:12px;color:#7c8aa2}.list-tools{display:flex;gap:12px;margin:16px 0}.list-tools input{flex:2}.list-tools select{flex:1;max-width:210px}.item{padding:17px 2px;border-top:1px solid #edf1f8;display:flex;align-items:center;justify-content:space-between;gap:14px}.item h3{font-size:13px;margin:0 0 7px}.item p{font-size:11px;color:#728198;margin:0;line-height:1.6}.tag{padding:7px 10px;border-radius:20px;font-size:10px;font-weight:800;white-space:nowrap;background:#e8f6ed;color:#19734c}.tag.paused{background:#fff0d9;color:#9c6209}.empty{padding:26px;text-align:center;color:#8291a9;font-size:13px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px}.pagination span{font-size:12px;color:#8190a6}.footer-note{font-size:11px;color:#8290a7;line-height:1.7;margin-top:18px}#toast{position:fixed;bottom:25px;right:25px;background:#122a4f;color:#fff;padding:14px 18px;border-radius:11px;box-shadow:0 8px 28px #122a4f36;font-size:12px;opacity:0;transform:translateY(15px);pointer-events:none;transition:all .25s}#toast.show{opacity:1;transform:translateY(0)}#overlay{display:none}.mobile{display:none}@media(max-width:900px){.metrics{grid-template-columns:repeat(2,1fr)}.hero{align-items:stretch}.hero-state{width:auto;min-width:220px}}@media(max-width:700px){.sidebar{position:fixed;left:-270px;top:0;bottom:0;z-index:20;transition:left .22s;width:250px}.sidebar.open{left:0}#overlay.open{display:block;position:fixed;inset:0;background:#07192e88;z-index:19}.mobile{display:block}.topbar{padding:0 15px;gap:8px}.breadcrumb{display:none}.pilot{font-size:9px}.pill{display:none}.content{padding:25px 16px}.hero{display:block}.hero-state{margin-top:20px}.head{align-items:flex-start}.head .btn{white-space:nowrap}.metrics{gap:8px}.metrics article{padding:14px}.metrics strong{font-size:23px}.list-tools{flex-direction:column}.list-tools select{max-width:none}.item{align-items:flex-start}.panel{padding:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

/* Stage 2 UX extension: scope to staging only */
[hidden]{display:none!important} .brand-mark{font-weight:900;color:#639bff;line-height:1}.brand-suffix{margin-left:auto;font-size:10px;letter-spacing:2px}.navicon{width:20px;text-align:center;opacity:.88}.sidebar{gap:17px}.sidebar nav{gap:4px}.sidebar .nav{font-size:12px;padding:11px 13px}.topbar{position:sticky;top:0;z-index:5}.content{max-width:1420px}.hero{background:linear-gradient(125deg,#102348,#1d4485)}.hero h2{font-size:clamp(26px,3vw,36px)}.metrics strong{font-size:29px}.item-main{flex:1;min-width:0}.item-main p{max-width:760px;overflow-wrap:anywhere}.item.chat-row{align-items:center;justify-content:flex-start}.item-actions{display:flex;align-items:center;gap:16px;margin-top:11px}.item-actions a{font-size:11px}.avatar{width:40px;height:40px;flex:0 0 40px;border-radius:13px;background:#e8efff;color:#2455d5;display:grid;place-items:center;font-weight:850}.btn-xs{font-size:11px;padding:7px 11px}.meta-line{font-size:12px;font-weight:700;color:#3158a0;margin-top:8px}.data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.data-field{border:1px solid #e5ebf5;border-radius:12px;background:#fcfdff;padding:16px;min-width:0}.data-field span{display:block;font-size:11px;color:#70809e;margin-bottom:9px}.data-field strong{font-size:13px;font-weight:650;white-space:pre-wrap;overflow-wrap:anywhere}.read-note{padding:16px;border:1px solid #dce7fc;background:#f4f8ff;border-radius:12px;display:flex;align-items:flex-start;gap:13px;margin:18px 0}.read-note>span{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;background:#e1ebff;color:#2555df;border-radius:9px}.read-note strong{font-size:13px}.read-note p{font-size:12px;color:#607391;line-height:1.6;margin:5px 0 0}.read-section{border-top:1px solid #e8eef8;padding:21px 0 8px}.read-section h3{font-size:14px}.read-section p{font-size:12px;line-height:1.8;color:#566b87;white-space:pre-wrap}.fields-grid{display:grid;gap:10px}.field-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:15px;border:1px solid #e8eef8;border-radius:12px}.field-row h3{font-size:13px;margin-bottom:6px}.field-row p{font-size:11px;margin:0;color:#7787a1}.field-row>div:last-child{display:flex;gap:6px}.locked-controls{display:flex;flex-wrap:wrap;gap:10px}.btn.danger{background:#b84456;color:#fff}.warning-line{color:#8f5b0d;background:#fff5e6;padding:14px;border-radius:10px;font-size:12px;margin-bottom:15px}.compact-incident{padding:13px 0;border-bottom:1px solid #edf1f8}.compact-incident strong{font-size:12px}.compact-incident span{float:right;color:#8899af;font-size:11px}.compact-incident p{margin-bottom:0}.skeleton-list{padding:8px 0}.skeleton-list div{height:62px;margin:13px 0;background:linear-gradient(100deg,#edf2fa,#f9fbff,#edf2fa);background-size:220% 100%;border-radius:10px;animation:sheen 1.4s ease infinite}@keyframes sheen{to{background-position-x:-220%}}.btn.spinning{opacity:.6}.btn.spinning::first-letter{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.detail-backdrop{position:fixed;z-index:90;inset:0;background:#0b163075;display:flex;justify-content:flex-end;animation:fadeIn .18s ease}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.detail-drawer{width:min(600px,100vw);height:100dvh;overflow-y:auto;background:#fff;box-shadow:-16px 0 70px #061c4550;animation:slideIn .22s ease;display:flex;flex-direction:column}@keyframes slideIn{from{transform:translateX(34px)}to{transform:translateX(0)}}.drawer-header{padding:23px 28px;border-bottom:1px solid #e9eff7;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#fff;z-index:2}.drawer-header small{font-size:10px;font-weight:850;color:#4c6be0;letter-spacing:1px}.drawer-header h2{font-size:20px;margin:9px 0 0}.icon-btn{background:#f3f7ff;border:1px solid #dce7f7;border-radius:10px;padding:10px 14px;cursor:pointer}.detail-body{padding:22px 28px}.drawer-person{background:#f6f9ff;border:1px solid #e2ebfb;border-radius:13px;padding:20px}.drawer-person p{font-size:12px;color:#647590}.chat-history{display:grid;gap:12px;margin-top:16px}.chat-bubble{max-width:88%;background:#f2f6fd;padding:12px 15px;border-radius:12px;border:1px solid #e8eef7}.chat-bubble.out{justify-self:end;background:#e9f2ff;border-color:#d6e7ff}.chat-bubble small{font-size:10px;color:#7286a3}.chat-bubble p{font-size:12px;line-height:1.7;color:#19345e;margin:8px 0 0;overflow-wrap:anywhere}.drawer-open{overflow:hidden}.empty-icon{font-size:28px;color:#7e99cf}.empty strong{display:block;color:#2b466d;margin:7px 0}.empty p{margin:0;color:#8a98ad}.btn:focus-visible,.nav:focus-visible{outline:3px solid #96baff;outline-offset:2px}.nav.active{box-shadow:inset 3px 0 #94baff}.item:hover{background:#fafcff}.panel{animation:softUp .22s ease}@keyframes softUp{from{opacity:.75;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){.topbar{position:static}.data-grid{grid-template-columns:1fr}.detail-body{padding:18px}.drawer-header{padding:18px}.field-row{align-items:flex-start;flex-direction:column}.top-actions{gap:5px}.pilot{padding:5px 7px;font-size:8px}.item.chat-row{align-items:flex-start}.item .tag{white-space:normal}.item-actions{flex-wrap:wrap}}
.business-controls{padding:22px 26px;margin:18px 0}.control-summary{display:flex;justify-content:space-between;gap:18px;align-items:center}.control-summary strong{font-size:17px}.control-summary p,.control-help{color:#586985;font-size:12px;line-height:1.65;margin:8px 0 0}.control-buttons{display:flex;gap:8px;flex-shrink:0}.status-dot{display:inline-block;width:9px;height:9px;background:#8c9ab1;border-radius:50%;margin-right:9px}.status-dot.on{background:#12976d;box-shadow:0 0 0 5px #e7f6ef}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.editor-field{display:flex;flex-direction:column;gap:7px;color:#233451;font-size:13px;font-weight:600}.editor-field.wide{grid-column:1/-1}.editor-field input,.editor-field select,.editor-field textarea{box-sizing:border-box;width:100%;padding:12px 13px;border:1px solid #cfdaf0;border-radius:9px;background:white;color:#162d50;font:inherit;font-weight:400;line-height:1.5}.editor-field input:focus,.editor-field select:focus,.editor-field textarea:focus{outline:3px solid #d9e4ff;border-color:#315de3}.editor-field textarea{resize:vertical;min-height:100px}.editor-field small{font-size:11px;color:#6b7c96;font-weight:400;line-height:1.5}.check-field{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5;margin:8px 0}.check-field input{width:17px;height:17px;accent-color:#315de3;flex-shrink:0}.save-bar{position:sticky;bottom:0;background:#fff;border-top:1px solid #e3eaf5;padding:16px 0;display:flex;align-items:center;justify-content:space-between;gap:14px}.item-end{display:flex;align-items:flex-end;flex-direction:column;gap:12px;flex-shrink:0}fieldset{border:0;padding:0;margin:0 0 28px;min-width:0}legend{font-size:17px;font-weight:750;margin-bottom:18px;color:#132b52}fieldset:disabled input,fieldset:disabled textarea,fieldset:disabled select{background:#f3f6fc;color:#62728b}.action-area{padding:0 20px 18px}#editorDialog{padding:0;border:1px solid #dce5f5;border-radius:18px;width:min(780px,calc(100% - 28px));max-height:90dvh;color:#132b52;box-shadow:0 30px 100px #07193944}#editorDialog::backdrop{background:#06162b88;backdrop-filter:blur(3px)}#editorDialog[open]{animation:editor-enter .18s ease-out}#editorDialog .drawer-header{position:sticky;top:0;z-index:2;background:white}#editorDialog .detail-body{padding:24px}button:disabled{cursor:not-allowed}#saveError{white-space:normal;line-height:1.7}#businessEditForm{padding:6px 0}input[readonly]{background:#f4f6fb}#businessControls[hidden]{display:none}@keyframes editor-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(max-width:720px){.control-summary{align-items:flex-start;flex-direction:column}.control-buttons{flex-wrap:wrap;width:100%}.control-buttons .btn{flex:1}.business-controls{padding:18px}.editor-grid{grid-template-columns:1fr}.editor-field.wide{grid-column:auto}.save-bar{align-items:stretch;flex-direction:column}.item-end{min-width:80px}#editorDialog .detail-body{padding:16px}}@media(prefers-reduced-motion:reduce){#editorDialog[open]{animation:none}.status-dot{box-shadow:none}}
.conversation-buttons{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap}.item-actions .conversation-buttons{margin-left:5px}.conversation-buttons .btn{white-space:nowrap}@media(max-width:720px){.item-actions .conversation-buttons{margin-left:0;flex-basis:100%;margin-top:7px}}
