:root{--bg:#f3f6fa;--panel:#ffffff;--ink:#172033;--muted:#687386;--line:#d9e1ea;--accent:#0f9f6e;--accent-soft:#e8f8f0;--warn:#c26a05}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}.shell{min-height:100vh;padding:28px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.title{margin:0;font-size:24px;line-height:1.2}.subtitle{margin:6px 0 0;color:var(--muted);font-size:14px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:14px;gap:14px}.card,.grid>*,.split>*,.stack>*{min-width:0}.card{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:16px;max-width:100%;box-shadow:0 10px 26px rgba(43,57,84,.06)}.card h2,.card h3{margin:0 0 10px;font-size:16px}.metric{font-size:29px;font-weight:800;line-height:1;color:#121926;letter-spacing:0}.metric-compact{font-size:23px;font-weight:800;line-height:1.08}.metric-card{position:relative;display:flex;min-height:126px;flex-direction:column;gap:10px;border:1px solid #e7edf3;border-radius:8px;padding:15px 16px 13px 52px;background:#ffffff;box-shadow:0 8px 18px rgba(39,52,77,.06);text-align:left;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.metric-card-clickable{width:100%;color:inherit;cursor:pointer;font:inherit}.metric-card-clickable:hover{border-color:#0f9f6e;background:#e8f8f0;box-shadow:0 10px 24px rgba(15,159,110,.16),inset 0 0 0 1px rgba(15,159,110,.28)}.metric-card-clickable:hover:before{position:absolute;top:13px;bottom:13px;left:0;width:4px;border-radius:0 999px 999px 0;background:#0f9f6e;content:""}.metric-card-clickable:active{transform:translateY(1px)}.metric-card-clickable:focus-visible{outline:2px solid #9bd8ce;outline-offset:2px}.metric-card.selected,.metric-card[aria-pressed=true],.metric-card[data-selected=true]{border-color:#0f9f6e;background:#e8f8f0;box-shadow:0 10px 24px rgba(15,159,110,.16),inset 0 0 0 1px rgba(15,159,110,.28)}.metric-card.selected:before,.metric-card[aria-pressed=true]:before,.metric-card[data-selected=true]:before{position:absolute;top:13px;bottom:13px;left:0;width:4px;border-radius:0 999px 999px 0;background:#0f9f6e;content:""}.metric-card.selected:after,.metric-card[aria-pressed=true]:after,.metric-card[data-selected=true]:after{position:absolute;top:12px;right:12px;width:8px;height:8px;border-radius:999px;background:#0f9f6e;content:""}.metric-card-head{display:flex;align-items:center;justify-content:flex-start;gap:7px}.metric-card h2{margin:0;color:#202938;font-size:13px;font-weight:800}.icon-label{gap:7px;min-width:0;vertical-align:middle}.icon-label,.label-icon{display:inline-flex;align-items:center}.label-icon{flex:0 0 auto;justify-content:center;place-items:center;width:20px;height:20px;border-radius:999px;background:#e8f8f0;color:#0f9f6e}.metric-card .label-icon{width:24px;height:24px;background:#0f9f6e;color:#ffffff}.metric-card-icon{position:absolute;top:15px;left:16px}.ops-alert .label-icon{background:#fff0d6;color:#d97706}.metric-card.danger .label-icon{background:#f97316;color:#ffffff}.admin-anomaly.active-issue .label-icon{background:#fff0d6;color:#d97706}.metric-card.warning .label-icon{background:#f97316;color:#ffffff}.metric-card.good .label-icon{background:#0f9f6e;color:#ffffff}.metric-dot{width:9px;height:9px;border-radius:999px;background:#9aa8bb}.metric-card.danger,.metric-card.good,.metric-card.warning{border-color:#e7edf3;background:#ffffff}.metric-card-clickable:hover,.metric-card.danger.metric-card-clickable:hover,.metric-card.danger.selected,.metric-card.danger[aria-pressed=true],.metric-card.danger[data-selected=true],.metric-card.good.metric-card-clickable:hover,.metric-card.good.selected,.metric-card.good[aria-pressed=true],.metric-card.good[data-selected=true],.metric-card.selected,.metric-card.warning.metric-card-clickable:hover,.metric-card.warning.selected,.metric-card.warning[aria-pressed=true],.metric-card.warning[data-selected=true],.metric-card[aria-pressed=true],.metric-card[data-selected=true]{border-color:#0f9f6e;background:#e8f8f0;box-shadow:0 10px 24px rgba(15,159,110,.16),inset 0 0 0 1px rgba(15,159,110,.28)}.metric-dot.good{background:#0f9f6e}.metric-dot.warning{background:#d97706}.metric-dot.danger{background:#dc2626}.metric-card .muted{margin:0}.metric-card-main{display:flex;min-height:32px;align-items:center;justify-content:flex-start;gap:10px}.metric-hint{min-height:18px;margin:0;color:#5f6f82;font-size:12px;font-weight:700;line-height:1.5}.metric-badge{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;margin-left:auto;min-width:42px;height:24px;border-radius:7px;padding:0 10px;background:#e8f8f0;color:#0f9f6e;font-size:12px;font-weight:800}.metric-badge.danger,.metric-badge.warning{background:#fff1db;color:#c35a0a}.metric-action{display:inline-flex;align-items:center;gap:2px;justify-self:start;align-self:center;margin-top:auto;color:#8a97a8;font-size:11px;font-weight:700}.metric-card .metric-action{color:#8a97a8}.metric-card-clickable:hover .metric-action,.metric-card.selected .metric-action,.metric-card[aria-pressed=true] .metric-action,.metric-card[data-selected=true] .metric-action{color:#536071}.metric-action svg{transform:rotate(-90deg)}.muted{color:var(--muted)}.form-error{color:#b42318;font-size:12px;margin:8px 18px 0}.error-dialog-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:rgba(15,23,42,.38);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.error-dialog{width:min(420px,100%);border:1px solid rgba(180,35,24,.18);border-radius:8px;padding:20px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.24)}.error-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.error-dialog h2{margin:0;color:#172033;font-size:18px;line-height:1.25}.error-dialog p{margin:0;color:#b42318;font-size:14px;line-height:1.55}.error-dialog-actions{display:flex;justify-content:flex-end;margin-top:18px}.compact-error{margin:6px 0 0}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:700}.admin-brand{display:flex;align-items:center;gap:12px;min-width:0}.admin-brand-icon{display:inline-grid;flex:0 0 auto;place-items:center;width:42px;height:42px;border-radius:9px;background:linear-gradient(180deg,#10b981,#059669);color:#ffffff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.24),0 8px 18px rgba(5,150,105,.22)}.table{width:100%;border-collapse:collapse;background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden}.table td,.table th{padding:11px 12px;border-bottom:1px solid var(--line);text-align:center;font-size:14px;vertical-align:middle}.table th{background:#f7f9fc;color:var(--muted);font-weight:600}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px}.button{border:1px solid #0f9f6e;border-radius:6px;padding:9px 12px;background:var(--panel);color:#047857;font-weight:600;white-space:nowrap;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.button:focus-visible,.button:hover{border-color:#0f9f6e;background:#e8f8f0;color:#047857;box-shadow:0 5px 13px rgba(15,159,110,.14)}.button:active{transform:translateY(1px)}.button.danger:disabled,.button.primary:disabled,.button.warning:disabled,.button:disabled,.button[aria-pressed=true]:disabled,.button[data-selected=true]:disabled{border-color:#d5dde7;background:#f1f5f9;color:#98a4b3;box-shadow:none;cursor:not-allowed;transform:none}.button.danger:disabled:focus-visible,.button.danger:disabled:hover,.button.primary:disabled:focus-visible,.button.primary:disabled:hover,.button.warning:disabled:focus-visible,.button.warning:disabled:hover,.button:disabled:focus-visible,.button:disabled:hover{border-color:#d5dde7;background:#f1f5f9;color:#98a4b3;box-shadow:none}.button.active,.button.primary,.button[aria-pressed=true],.button[data-selected=true]{border-color:var(--accent);background:var(--accent);color:white}.button.active:focus-visible,.button.active:hover,.button.primary:focus-visible,.button.primary:hover,.button[aria-pressed=true]:focus-visible,.button[aria-pressed=true]:hover,.button[data-selected=true]:focus-visible,.button[data-selected=true]:hover{border-color:#0b8d61;background:#0b8d61;color:#ffffff;box-shadow:0 7px 16px rgba(15,159,110,.22)}.button.danger{border-color:#b42318;background:#ffffff;color:#b42318}.button.danger:focus-visible,.button.danger:hover{border-color:#b42318;background:#fff4f2;color:#b42318}.button.warning{border-color:#0f9f6e;background:#ffffff;color:#047857}.button.warning:focus-visible,.button.warning:hover{border-color:#0f9f6e;background:#e8f8f0;color:#047857}.language-switch{display:inline-flex;align-items:center;gap:5px;height:40px;border:1px solid #d8e0ea;border-radius:8px;padding:4px 5px;background:#f7f9fc;box-shadow:inset 0 1px 0 rgba(255,255,255,.76),0 1px 2px rgba(43,57,84,.05)}.flag-button{display:inline-grid;place-items:center;width:34px;height:30px;border:0;border-radius:6px;background:transparent;cursor:pointer;transition:background-color .16s ease,box-shadow .16s ease}.flag-button.active{background:#e8f8f0;box-shadow:inset 0 0 0 1px rgba(15,159,110,.16)}.flag-image{display:block;width:23px;height:17px;border-radius:3px;background-position:50%;background-repeat:no-repeat;background-size:cover;box-shadow:inset 0 0 0 1px rgba(15,23,42,.12),0 1px 2px rgba(43,57,84,.12)}.flag-cn{background-image:url(/flags/cn.svg)}.flag-vn{background-image:url(/flags/vn.svg)}.link-button{border:0;padding:0;background:transparent;color:var(--accent);cursor:pointer;font:inherit;font-size:12px;font-weight:700}.stack{grid-gap:14px}.split,.stack{display:grid;gap:14px}.split{grid-template-columns:minmax(0,1.4fr) minmax(320px,.8fr);grid-gap:14px}.form{display:grid;grid-gap:10px;gap:10px}.field{display:grid;grid-gap:5px;gap:5px}.field label{color:var(--muted);font-size:12px;font-weight:700}.checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.checkbox-line{display:flex;align-items:center;gap:8px;min-height:38px;border:1px solid var(--line);border-radius:8px;padding:0 10px;background:white;color:var(--ink);font-size:13px;font-weight:700}.checkbox-line input{width:16px;height:16px;margin:0;accent-color:var(--accent)}.input,.select,.textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:9px 10px;background:white;color:var(--ink);font:inherit}.select{height:38px;inline-size:160px;min-inline-size:160px;max-inline-size:160px;padding-block:0;line-height:36px;white-space:nowrap;text-overflow:ellipsis;vertical-align:middle}.admin-detail-panel .select,.field .select{inline-size:100%;min-inline-size:0;max-inline-size:100%}.textarea{min-height:76px;resize:vertical}.status{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;border:1px solid var(--line);font-size:12px}.status.active,.status.online,.status.open,.status.sent,.status.在线,.status.正常,.status.运行中{border-color:#9bd8ce;color:var(--accent);background:var(--accent-soft)}.status.P1,.status.high,.status.human_takeover,.status.pending,.status.token_revoked,.status.urgent,.status.已超时,.status.需关注,.status.高{border-color:#f2b8a8;color:#b42318;background:#fff3f1}.status.P2,.status.中,.status.待处理{border-color:#fed7aa;color:#c26a05;background:#fff7ed}.status.ai_auto,.status.assist,.status.received,.status.低{border-color:#bfdbfe;color:#2563eb;background:#eff6ff}.status.not_connected,.status.offline,.status.已暂停,.status.离线{border-color:#e5e7eb;color:#64748b;background:#f8fafc}.small{font-size:12px}.nowrap{white-space:nowrap}.admin-shell{--admin-header-offset:132px;display:grid;grid-gap:16px;gap:16px;align-content:start;padding-top:calc(var(--admin-header-offset) + 16px);background:linear-gradient(180deg,rgba(231,239,255,.82) 0,rgba(238,243,248,0) 280px),var(--bg)}.admin-header{position:fixed;top:0;right:0;left:0;z-index:20;display:grid;grid-gap:10px;gap:10px;padding:14px 28px 10px;background:rgba(248,251,255,.96);border-bottom:1px solid rgba(204,214,226,.82);box-shadow:0 10px 28px rgba(43,57,84,.08);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.admin-header .topbar{margin-bottom:0}.admin-header .compact-error{margin:0}.admin-toolbar{align-items:center;gap:12px;margin-bottom:0}.admin-user-menu{position:relative;flex:0 0 auto}.admin-user-pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;border-radius:8px;padding:0 12px;border:1px solid #dbe3ee;background:#f7f9fc;color:#0f9f6e;box-shadow:0 1px 2px rgba(43,57,84,.05);cursor:pointer}.admin-user-pill:hover,.admin-user-pill[aria-expanded=true]{border-color:#b9c8dd;background:#e8f8f0}.admin-user-dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:40;width:148px;border:1px solid #d8e0ea;border-radius:8px;background:#ffffff;box-shadow:0 14px 32px rgba(20,31,52,.14);overflow:hidden}.admin-user-dropdown-header{display:grid;grid-gap:2px;gap:2px;padding:10px 12px;border-bottom:1px solid #edf1f7;color:#72809a;font-size:11px}.admin-user-dropdown-header strong{color:#172033;font-size:13px}.admin-user-logout,.admin-user-menu-item{display:flex;align-items:center;gap:8px;width:100%;border:0;padding:10px 12px;background:#ffffff;color:#b42318;font-weight:700;cursor:pointer}.admin-user-menu-item{color:#172033}.admin-user-menu-item:hover{background:#f7f9fc}.admin-user-logout:hover{background:#fff5f3}.admin-modal-backdrop{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:rgba(15,23,42,.34);overflow-y:auto}.admin-password-panel{display:grid;grid-gap:14px;gap:14px;margin-top:12px;border:1px solid #dbe4ee;border-radius:10px;padding:14px;background:#ffffff;box-shadow:0 10px 28px rgba(43,57,84,.08)}.admin-account-modal{width:min(720px,100%);max-height:calc(100vh - 48px);margin-top:0;overflow-y:auto}.admin-password-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.admin-password-panel-header h2{margin:0;color:#172033;font-size:16px;line-height:1.25}.admin-password-panel-header p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.4}.admin-password-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;align-items:end}.admin-password-form .admin-detail-actions,.admin-password-form .form-error,.admin-password-form .success-note{grid-column:1/-1}.admin-totp-form{grid-template-columns:1fr}.totp-secret-box{display:grid;grid-gap:6px;gap:6px;grid-column:1/-1;border:1px solid #c8d7e8;border-radius:8px;padding:12px;background:#f8fbff}.totp-secret-box small,.totp-secret-box span{color:var(--muted);font-size:12px}.totp-secret-box strong{color:#172033;font-family:var(--font-mono,monospace);font-size:18px;letter-spacing:0;overflow-wrap:anywhere}.success-note{margin:0;color:#0f8a5f;font-size:13px;font-weight:700}.recaptcha-settings{display:grid;grid-gap:12px;gap:12px}.toggle-row{display:inline-flex;align-items:center;gap:8px;color:#172033;font-size:13px;font-weight:700}.toggle-row input{width:18px;height:18px;accent-color:#0f9f6e}@media (max-width:760px){.admin-modal-backdrop{align-items:stretch;padding:16px 10px}.admin-account-modal{width:100%;max-height:calc(100vh - 32px)}.admin-password-form{grid-template-columns:1fr}}.admin-refresh-button{height:42px;min-width:56px;border-color:#d8e0ea;border-radius:8px;padding:0 13px;background:#ffffff;color:#172033;box-shadow:0 1px 2px rgba(43,57,84,.06)}.admin-refresh-button:hover{border-color:#c8d3e1;background:#f9fbff}.admin-tabs{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:6px;padding:4px;height:44px;min-height:44px;max-height:44px;border:1px solid #d5deea;border-radius:10px;background:#eef3f9;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}.admin-tabs::-webkit-scrollbar{display:none}.admin-tab{box-sizing:border-box;display:inline-flex;flex:0 0 96px;align-items:center;justify-content:center;width:96px;min-width:96px;max-width:96px;height:36px;min-height:36px;max-height:36px;border:1px solid transparent;border-radius:8px;background:transparent;color:#4d5a70;cursor:pointer;font-size:14px;font-weight:700;line-height:1;white-space:nowrap;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}.admin-tab .icon-label{gap:5px}.admin-tab .label-icon{width:17px;height:17px;background:transparent;color:currentColor}.admin-tab .label-icon svg{width:14px;height:14px}.admin-tab:hover{border-color:#cfd9e7;background:white}.admin-tab:focus-visible{outline:2px solid #9bd8ce;outline-offset:2px}.admin-tab.active{border-color:#0f9f6e;background:#0f9f6e;color:white;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.time-segment{display:inline-flex;align-items:center;gap:4px;height:40px;border:1px solid #d8e0ea;border-radius:8px;padding:4px;background:#f7f9fc;box-shadow:inset 0 1px 0 rgba(255,255,255,.76),0 1px 2px rgba(43,57,84,.05)}.time-segment button{height:30px;border:0;border-radius:6px;padding:0 12px;background:transparent;color:#4d5a70;cursor:pointer;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;transition:background-color .16s ease,box-shadow .16s ease,color .16s ease}.time-segment button.active{background:#0f9f6e;color:white;box-shadow:0 2px 5px rgba(15,159,110,.28)}.admin-actions{display:flex;flex-direction:column;flex-wrap:wrap;align-items:center;gap:6px;min-width:92px}.admin-work-table td.admin-actions{display:table-cell;min-width:0;text-align:center}.admin-work-table .admin-actions .button,.admin-work-table .admin-actions .compact-select{inline-size:86px;min-inline-size:86px;max-inline-size:86px;box-sizing:border-box;height:34px;min-height:34px;max-height:34px;margin-inline:auto;font-size:12px;line-height:32px}.admin-work-table .admin-actions .button{display:inline-flex;align-items:center;justify-content:center;padding:0 10px}.admin-work-table .admin-actions .compact-select{margin-top:6px;padding-block:0;padding-inline:10px 26px;background-position:right 8px center;text-align:center;text-align-last:center}.admin-work-table .task-actions{min-width:160px;white-space:nowrap}.admin-work-table .task-actions .button{display:inline-flex;width:auto;min-width:58px;max-width:none;align-items:center;justify-content:center;margin-inline:3px}.admin-search{max-width:420px}.admin-reason{max-width:260px}.admin-message-cell{max-width:360px;white-space:pre-wrap;word-break:break-word;line-height:1.45;text-align:center}.admin-anomaly-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));grid-gap:14px;gap:14px}.admin-anomaly{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:#fbfcfa;font-size:13px;font:inherit;text-align:left;cursor:pointer}.admin-anomaly strong{color:inherit}.dashboard-overview{gap:12px}.eyebrow{display:inline-flex;align-items:center;margin-bottom:7px;border-radius:999px;padding:4px 10px;background:#e8f8f0;color:#0f9f6e;font-size:12px;font-weight:800}.ops-alert{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #ead794;border-radius:8px;min-height:48px;padding:8px 12px 8px 16px;background:#fff7e7;box-shadow:0 8px 20px rgba(43,57,84,.04)}.ops-alert.good{border-color:#b9ddcc;background:#f3fbf7}.ops-alert.danger{border-color:#efaaa1;background:#fff3f1}.ops-alert-copy{display:flex;align-items:center;gap:10px;min-width:0;color:#c2410c;font-weight:800}.ops-alert-copy svg{flex:0 0 auto}.ops-alert p{margin:0;color:#8a3c14;font-size:13px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ops-alert b{color:#9a3412}.ops-alert-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 14px}.ops-alert-actions .button{height:30px;padding:0 12px;font-size:12px}.ops-alert-actions .button:first-child{border-color:#ef4444;background:#ef4444;color:#ffffff}.ops-alert-actions .button.primary{border-color:#f97316;background:#f97316}.ops-alert-close{display:inline-grid;place-items:center;width:26px;height:26px;border:0;border-radius:999px;background:transparent;color:#c87942;cursor:pointer}.overview-meta{display:flex;flex-wrap:wrap;gap:8px 14px;border:1px solid #dbe4ee;border-radius:10px;padding:8px 12px;background:rgba(255,255,255,.7);color:var(--muted);font-size:12px;font-weight:700}.ops-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.dashboard-top-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:12px;gap:12px;align-items:stretch}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.section-badge{display:inline-flex;align-items:center;height:28px;border-radius:999px;padding:0 10px;background:#e8f8f0;color:#0f9f6e;font-size:12px;font-weight:800;white-space:nowrap}.section-heading h2,.section-heading p{margin:0}.section-heading h2+p{margin-top:4px}.ops-table .metric-cell{font-weight:800;font-size:15px}.ops-table{border-radius:8px}.ops-table td,.ops-table th{padding:8px 12px;font-size:12px;text-align:center}.ops-table th{background:#f8fafc;color:#64748b;font-weight:800}.ops-table .button{height:26px;min-width:58px;padding:0 10px;border-color:#99d8c4;background:#ffffff;color:#047857;font-size:12px;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.ops-table .button:focus-visible,.ops-table .button:hover{border-color:#0f9f6e;background:#0f9f6e;color:#ffffff;box-shadow:0 6px 14px rgba(15,159,110,.22)}.ops-table .button:active{transform:translateY(1px)}.cockpit-layout{grid-template-columns:minmax(0,1.55fr) minmax(420px,.9fr);align-items:stretch}.cockpit-layout,.cockpit-side{display:grid;grid-gap:12px;gap:12px}.cockpit-side{min-height:100%}.health-score{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:16px;font-size:22px;font-weight:900}.health-score,.health-score.good{background:#e8f8f0;color:#0f9f6e}.health-score.warning{background:#fff3d7;color:#c26a05}.health-score.danger{background:#ffe4e0;color:#dc2626}.health-bars{display:grid;grid-gap:7px;gap:7px}.health-bars div{display:flex;align-items:center;justify-content:space-between;border:1px solid #dbe4ee;border-radius:10px;padding:8px 10px;background:#f8fbff;color:#5b687c;font-size:13px}.health-bars b{color:#172033;font-size:18px}.quick-panel{display:grid;grid-template-rows:auto 1fr auto;grid-gap:10px;gap:10px;height:100%}.quick-panel h2{margin-bottom:0}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(82px,1fr));grid-gap:14px;gap:14px;min-height:0}.quick-action{display:grid;justify-items:center;align-content:center;grid-gap:8px;gap:8px;min-height:82px;border:1px solid #e2e8f0;border-radius:8px;background:#ffffff;color:#172033;cursor:pointer;font:inherit;font-size:13px;font-weight:800}.quick-action:hover{border-color:#9bd8ce;background:#f8fffc}.quick-action-icon{display:inline-grid;place-items:center;width:28px;height:28px;color:#0f9f6e}.quick-hint{margin:0;color:var(--muted);text-align:center;font-size:12px}.anomaly-panel{background:#ffffff}.governance-panel{display:grid;grid-template-columns:218px minmax(0,1fr);grid-gap:28px;gap:28px;align-items:stretch}.governance-health{display:grid;place-items:center;align-content:center;grid-gap:14px;gap:14px;border-right:1px solid #edf1f6;padding:6px 22px 4px 2px}.governance-gauge{display:grid;place-items:center;width:150px;height:150px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(15,159,110,.08)}.governance-gauge-core{display:grid;place-items:center;align-content:center;width:118px;height:118px;border-radius:999px;background:#ffffff;box-shadow:0 6px 18px rgba(35,48,74,.08)}.governance-gauge-core span{color:#172033;font-size:13px;font-weight:800}.governance-gauge-core strong{margin-top:7px;color:#121926;font-size:31px;line-height:1}.governance-gauge-core small{margin-top:-19px;margin-left:78px;color:#536071;font-size:13px;font-weight:800}.governance-gauge-core em{margin-top:7px;border-radius:999px;padding:3px 9px;background:#fff0db;color:#c35a0a;font-size:12px;font-style:normal;font-weight:800}.governance-detail-link{border:0;background:transparent;color:#7a8798;cursor:pointer;font:inherit;font-size:12px;font-weight:700}.governance-detail-link:hover{color:#0f9f6e}.governance-content{display:grid;align-content:start;grid-gap:12px;gap:12px;min-width:0}.governance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:18px;gap:18px}.governance-stat{display:grid;grid-template-columns:1fr auto;align-items:flex-end;min-height:70px;border:1px solid transparent;border-radius:8px;padding:12px 16px;text-align:left;cursor:pointer;font:inherit}.governance-stat span{grid-column:1/-1;color:#536071;font-size:12px;font-weight:800}.governance-stat strong{font-size:26px;line-height:1}.governance-stat small{display:inline-flex;align-items:center;gap:2px;justify-self:end;color:#8a97a8;font-size:11px;font-weight:700}.governance-stat small svg{transform:rotate(-90deg)}.governance-stat.good{background:#ecfbf5;color:#0f9f6e}.governance-stat.warning{background:#fff1e7;color:#d65f12}.governance-stat.attention{background:#fff9e8;color:#d97706}.governance-stat:hover{border-color:currentColor;box-shadow:0 8px 18px rgba(43,57,84,.08)}.governance-subtitle{margin:0;color:#172033;font-size:13px;font-weight:900}.ops-anomalies.admin-anomaly-grid{grid-template-columns:repeat(5,minmax(120px,1fr));gap:12px 14px}.ops-anomalies .admin-anomaly{min-height:34px;color:#4d5a70}.ops-anomalies .admin-anomaly.quiet{border-color:#e7edf3;background:#ffffff}.ops-anomalies .admin-anomaly.active-issue{border-color:#f0c2c2;background:#fff5f5;color:#b42318}.ops-anomalies .admin-anomaly:hover{border-color:#0f9f6e;background:#f5fffb}.governance-footnote{margin:0;color:#9aa5b5;text-align:center;font-size:12px;font-weight:700}.admin-json{max-height:520px;overflow:auto;margin:0;border:1px solid var(--line);border-radius:8px;padding:12px;background:#111816;color:#e8f3ef;font-size:12px;line-height:1.5}.admin-page{gap:14px}.admin-page-heading{display:grid;grid-gap:3px;gap:3px;padding:2px 6px 0}.admin-page-heading h1{margin:0;color:#172033;font-size:25px;line-height:1.12;letter-spacing:0}.admin-page-heading p{margin:0;color:var(--muted);font-size:14px}.admin-page-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:14px;gap:14px}.admin-page-metrics .metric-card{min-height:92px;padding-top:15px;padding-bottom:12px}.list-action-bar{justify-content:space-between;flex-wrap:wrap;border:1px solid #b9ddcc;border-radius:8px;padding:10px 14px;background:#f3fbf7;color:#0f6f50}.active-filter-banner,.batch-actions,.list-action-bar{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:800}.active-filter-banner{justify-content:space-between;flex:1 1 auto;min-width:260px;color:#0f6f50}.active-filter-chips,.active-filter-content{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.active-filter-content{flex:1 1}.active-filter-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;border:1px solid #a7d6c2;border-radius:999px;padding:3px 8px 3px 10px;background:#ffffff;color:#0f6f50;font:inherit;font-size:12px;cursor:pointer}.active-filter-chip:focus-visible,.active-filter-chip:hover{border-color:#0f9f6e;color:#075f45;outline:none}.batch-actions{justify-content:flex-start;flex-wrap:wrap;color:#445166}.batch-actions-label{flex:0 0 auto;min-inline-size:112px;color:#172033;white-space:nowrap}.batch-action-controls{display:flex;flex:1 1 auto;align-items:center;flex-wrap:wrap;gap:12px;min-width:0}.batch-actions .button:disabled{border-color:#d5dde7;background:#f7f9fb;color:#98a4b3;cursor:not-allowed}.active-filter-banner .button,.batch-actions .button{height:30px;min-width:88px;padding:0 12px;font-size:12px}.batch-actions .batch-target-select{block-size:30px;min-inline-size:210px;max-inline-size:min(280px,100%);padding-block:0;font-size:12px}.admin-permission-empty{color:#66758a;font-size:12px;font-weight:800}.admin-status-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #b9ddcc;border-radius:8px;padding:10px 14px;background:#f3fbf7;color:#0f6f50;font-size:13px;font-weight:800}.admin-status-banner span{color:#445166;font-weight:700}.admin-status-banner.success{border-color:#b9ddcc;background:#f3fbf7;color:#0f6f50}.admin-status-banner.warning{border-color:#fed7aa;background:#fff7ed;color:#c2410c}.admin-status-banner.danger{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.list-action-bar>.batch-actions{flex:0 0 auto}.list-action-bar>.active-filter-banner{border-left:1px solid #c9e6d8;padding-left:12px}.admin-filter-card{padding:16px 18px}.admin-filter-card h2{margin-bottom:10px;font-size:15px}.admin-filter-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.admin-filter-controls{display:grid;flex:1 1 auto;grid-template-columns:minmax(260px,1.3fr) repeat(5,160px);grid-gap:12px;gap:12px;min-width:0}.admin-detail-actions,.admin-filter-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px 16px;min-width:0}.admin-page-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.admin-page-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:12px}.member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eef2f7}.member-row:last-child{border-bottom:0}.admin-detail-actions{justify-content:flex-start;margin-top:14px}.admin-detail-actions>*,.admin-filter-actions>*{flex:0 0 auto}.admin-detail-actions .button,.admin-filter-actions .button{min-width:92px}.admin-filter-tabs{display:flex;grid-column:1/-1;gap:10px}.admin-filter-tabs button{min-width:112px;height:34px;border:1px solid #0f9f6e;border-radius:7px;background:#ffffff;color:#047857;cursor:pointer;font-weight:800;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}.admin-filter-tabs button:focus-visible,.admin-filter-tabs button:hover{background:#e8f8f0;box-shadow:0 5px 13px rgba(15,159,110,.14)}.admin-filter-tabs button.active{border-color:var(--accent);background:var(--accent);color:#ffffff}.customer-filter-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.customer-filter-tabs button span{display:inline-grid;place-items:center;min-width:22px;height:20px;border-radius:999px;padding:0 6px;background:#eef5f1;color:#047857;font-size:11px}.customer-filter-tabs button.active span{background:rgba(255,255,255,.22);color:#ffffff}.customer-insight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.customer-insight-grid>div{display:grid;grid-gap:5px;gap:5px;border:1px solid #dbe4ee;border-radius:8px;padding:12px 14px;background:#ffffff}.customer-insight-grid small,.customer-insight-grid span{min-width:0;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.customer-insight-grid strong{min-width:0;overflow:hidden;color:#172033;font-size:22px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.customer-table-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:16px 18px 14px}.customer-table-heading h2{margin:0;font-size:18px}.customer-table-heading p{margin:4px 0 0;color:var(--muted);font-size:12px}.customer-table-heading>span{flex:0 0 auto;border-radius:999px;padding:5px 10px;background:#e8f8f0;color:#047857;font-size:12px;font-weight:900}.admin-two-column{display:grid;grid-template-columns:minmax(0,.92fr) minmax(420px,1fr);grid-gap:18px;gap:18px;align-items:stretch}.admin-two-column.lower{grid-template-columns:minmax(0,1.5fr) minmax(360px,.68fr)}.admin-main-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.46fr);grid-gap:18px;gap:18px;align-items:start}.admin-main-detail.wide-detail{grid-template-columns:minmax(0,1.45fr) minmax(340px,.55fr)}.admin-system-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(420px,1fr);grid-gap:14px;gap:14px;align-items:stretch}.system-card{display:grid;align-content:start;grid-gap:12px;gap:12px;padding:14px 16px}.system-card h2{margin:0;font-size:17px;line-height:1.2}.admin-table-card{padding:0;overflow-x:auto;overflow-y:hidden}.admin-table-card>h2{margin:0;border-bottom:1px solid var(--line);padding:16px 18px 14px;font-size:18px}.admin-work-table{border:0;border-radius:0;box-shadow:none;width:100%;min-width:940px}.admin-two-column .admin-work-table{min-width:760px}.admin-system-grid .admin-work-table{min-width:720px}.wide-detail .admin-work-table{width:100%;min-width:960px;table-layout:fixed}.wide-detail .admin-work-table td:first-child,.wide-detail .admin-work-table th:first-child{width:40px}.wide-detail .admin-work-table td:nth-child(2),.wide-detail .admin-work-table th:nth-child(2){width:150px}.wide-detail .admin-work-table td:nth-child(3),.wide-detail .admin-work-table th:nth-child(3){width:110px}.wide-detail .admin-work-table td:nth-child(4),.wide-detail .admin-work-table th:nth-child(4){width:135px}.wide-detail .admin-work-table td:nth-child(5),.wide-detail .admin-work-table td:nth-child(6),.wide-detail .admin-work-table th:nth-child(5),.wide-detail .admin-work-table th:nth-child(6){width:68px}.wide-detail .admin-work-table td:nth-child(7),.wide-detail .admin-work-table th:nth-child(7){width:52px}.wide-detail .admin-work-table td:nth-child(8),.wide-detail .admin-work-table th:nth-child(8){width:170px}.wide-detail .admin-work-table td:nth-child(9),.wide-detail .admin-work-table th:nth-child(9){width:85px}.wide-detail .admin-work-table td:nth-child(10),.wide-detail .admin-work-table th:nth-child(10){width:92px}.wide-detail .admin-work-table td,.wide-detail .admin-work-table th{padding:12px 6px}.admin-work-table td,.admin-work-table th{padding:12px 14px;font-size:13px;text-align:center;vertical-align:middle;overflow-wrap:anywhere;word-break:break-word}.admin-work-table th{color:#667481;font-weight:800;white-space:nowrap}.admin-work-table td:first-child{font-weight:600}.admin-work-table .selection-cell{width:42px;min-width:42px;padding-left:16px;padding-right:8px;text-align:center}.admin-work-table .selection-cell input{width:16px;height:16px;accent-color:var(--green);cursor:pointer}.admin-work-table .selection-cell input:disabled{cursor:not-allowed}.admin-work-table .metric-cell{color:#ef233c;font-weight:900}.admin-work-table tr.selected-row td{background:#f0fdf7}.admin-work-table tbody tr{cursor:default}.admin-work-table tbody tr:hover td{background:#eaf7f1}.admin-work-table tbody tr.selected-row:hover td{background:#ddf5eb}.customer-channel,.customer-owner{display:grid;justify-items:center;grid-gap:3px;gap:3px;width:150px;min-width:0;max-width:150px;margin-inline:auto;text-align:center}.customer-channel{width:100%;max-width:98px}.customer-owner{width:100%;max-width:123px}.customer-channel small,.customer-owner small{color:var(--muted);font-size:11px}.customer-channel small,.customer-owner small,.customer-owner strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-owner strong{color:#172033}.wide-detail .admin-identity-cell{display:grid;justify-items:center;grid-gap:4px;gap:4px;width:100%;max-width:138px;margin-inline:auto}.wide-detail .admin-identity-cell>div{max-width:100%}.wide-detail .admin-identity-cell span,.wide-detail .admin-identity-cell strong,.wide-detail .customer-channel,.wide-detail .customer-channel small,.wide-detail .customer-owner small,.wide-detail .customer-owner strong{line-height:1.35}.wide-detail .admin-identity-cell span,.wide-detail .customer-channel small,.wide-detail .customer-owner small{max-width:100%;overflow-wrap:anywhere}.task-count{display:inline-grid;place-items:center;min-width:28px;height:26px;border:1px solid #dbe4ee;border-radius:999px;background:#ffffff;color:#536071;font-weight:900}.task-count.active{border-color:#f97316;background:#fff7ed;color:#c2410c}.empty-state{display:grid;justify-items:center;grid-gap:5px;gap:5px;padding:22px 10px;color:var(--muted);text-align:center}.empty-state strong{color:#172033;font-size:14px}.empty-state span{font-size:12px}.admin-identity-cell{display:grid;justify-content:center;width:100%;min-width:0;max-width:100%;text-align:center}.admin-identity-cell>div{display:grid;justify-items:center;min-width:0;max-width:100%}.admin-identity-cell span,.admin-identity-cell strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;max-width:100%}.admin-identity-cell strong{color:#172033;font-weight:900;overflow-wrap:anywhere;white-space:normal}.admin-identity-cell span{margin-top:3px;color:var(--muted);font-size:12px;overflow-wrap:anywhere;white-space:normal}.admin-table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:12px 18px;color:var(--muted);font-size:12px}.admin-page-size{display:inline-flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}.admin-page-size .admin-page-size-select{height:28px;inline-size:78px;min-inline-size:78px;max-inline-size:78px;padding-block:0;padding-inline:12px 28px;background-position:right 8px center;font-size:12px;font-weight:800;line-height:26px;text-align:center;text-align-last:center}.admin-page-size>span:last-child{color:#536071;font-weight:700}.admin-pager{display:flex;gap:7px}.admin-pager button{min-width:30px;height:30px;border:1px solid #0f9f6e;border-radius:6px;background:#ffffff;color:#047857;cursor:pointer;font-weight:800;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}.admin-pager button:focus-visible,.admin-pager button:hover{background:#e8f8f0;box-shadow:0 5px 13px rgba(15,159,110,.14)}.admin-pager button.active{border-color:var(--accent);background:var(--accent);color:#ffffff}.admin-filter-tabs button[aria-pressed=true],.admin-filter-tabs button[data-selected=true],.admin-pager button[aria-pressed=true],.admin-pager button[data-selected=true]{border-color:var(--accent)!important;background:var(--accent)!important;color:#ffffff!important;transition:none}.admin-detail-panel{display:grid;grid-gap:14px;gap:14px;min-width:0}.admin-detail-panel h2{margin-bottom:0;font-size:18px}.admin-detail-panel h3{margin:6px 0 0;font-size:15px}.detail-identity{border:1px solid var(--line);border-radius:8px;padding:14px;background:#fbfdfc}.detail-stack{display:grid;grid-gap:12px;gap:12px;min-width:0}.detail-kv{display:grid;grid-template-columns:96px minmax(0,1fr);grid-gap:12px;gap:12px;align-items:center;border:1px solid #e5edf4;border-radius:8px;padding:10px 12px;background:#fbfdfc;color:#536071;font-size:13px}.detail-kv strong{min-width:0;overflow:hidden;color:#172033;text-overflow:ellipsis;white-space:nowrap}.customer-detail-header{display:grid;grid-gap:12px;gap:12px;border:1px solid var(--line);border-radius:8px;padding:14px;background:#fbfdfc}.customer-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px}.customer-detail-summary>div{display:grid;grid-gap:4px;gap:4px;border:1px solid #e5edf4;border-radius:8px;padding:10px 8px;background:#ffffff;text-align:center}.customer-detail-summary span{color:var(--muted);font-size:11px}.customer-detail-summary strong{color:#172033;font-size:18px;line-height:1}.customer-timeline{display:grid;grid-gap:8px;gap:8px;border-left:3px solid #0f9f6e;padding-left:12px;color:#445166;font-size:13px}.customer-timeline span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-task-list{display:grid;grid-gap:8px;gap:8px}.customer-task-item{display:grid;grid-gap:4px;gap:4px;border:1px solid #e5edf4;border-radius:8px;padding:10px 12px;background:#ffffff}.customer-task-item span,.customer-task-item strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-task-item span{color:var(--muted);font-size:12px}.member-list,.permission-list{display:flex;flex-wrap:wrap;gap:12px 16px;min-width:0}.member-list{display:grid;grid-template-columns:1fr}.compact-form{gap:12px}.message-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.compact-stat-grid{gap:8px}.message-stat-grid>div{border:1px solid #e5edf4;border-radius:8px;padding:12px;background:#fbfdfc}.compact-stat-grid>div{padding:10px 12px}.message-stat-grid span{display:block;color:var(--muted);font-size:12px;font-weight:800}.message-stat-grid strong{display:block;margin-top:4px;color:#172033;font-size:22px;line-height:1.1}.compact-stat-grid strong{margin-top:2px}.plugin-heartbeat{display:inline-flex;min-width:72px;align-items:center;justify-content:center;border-radius:999px;padding:4px 8px;border:1px solid #e5edf4;background:#f8fafc;color:#64748b;font-size:12px;font-weight:800;white-space:nowrap}.plugin-heartbeat.good{border-color:#9bd8ce;background:var(--accent-soft);color:var(--accent)}.plugin-heartbeat.warning{border-color:#fed7aa;background:#fff7ed;color:#c26a05}.plugin-heartbeat.danger{border-color:#f2b8a8;background:#fff3f1;color:#b42318}.plugin-health-label{display:inline-flex;max-width:220px;align-items:center;border-radius:8px;padding:5px 8px;font-size:12px;font-weight:800;line-height:1.35}.plugin-health-label.ok{background:var(--accent-soft);color:var(--accent)}.plugin-health-label.warning{background:#fff7ed;color:#c26a05}.plugin-health-label.danger{background:#fff3f1;color:#b42318}.plugin-monitor-table .table-subtext{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:700;white-space:nowrap}.inline-confirm-card{border:1px solid #f2b8a8;border-radius:8px;padding:14px;background:#fff3f1;color:#7a271a}.inline-confirm-card p{margin:8px 0 0;line-height:1.55}.admin-progress-row{display:grid;grid-template-columns:110px 38px minmax(120px,1fr);grid-gap:10px;gap:10px;align-items:center;color:#5f6f82;font-size:13px}.admin-progress-row strong{color:#172033}.admin-progress-track{height:8px;overflow:hidden;border-radius:999px;background:#eef2f1}.admin-progress-track i{display:block;height:100%;border-radius:inherit;background:var(--accent)}.admin-progress-track i.orange{background:#f97316}.admin-progress-track i.red{background:#ef4444}.admin-inner-toolbar{margin:0 18px 14px}.recommend-list{display:grid;grid-gap:12px;gap:12px}.recommend-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;grid-gap:14px 18px;gap:14px 18px;border:1px solid var(--line);border-radius:8px;padding:12px;background:#fbfdfc}.recommend-row>span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-weight:900}.recommend-row p{margin:4px 0 0;color:var(--muted);font-size:12px}.load-grid,.pill-row{display:grid;grid-gap:10px;gap:10px}.two-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.risk-note{border:1px solid #fed7aa;border-radius:8px;padding:14px}.pill.warning,.risk-note{background:#fff7ed;color:#9a3412}.pill.warning{border-color:#fed7aa}.risk-note p{margin:8px 0 0;line-height:1.6}.light-pre{margin:0;border:1px solid var(--line);border-radius:8px;padding:14px;background:#fbfdfc;color:#536071;font:inherit;line-height:1.6;white-space:pre-wrap}.light-pre.success,.success-note{border:1px solid #9bd8ce;background:#e8f8f0;color:#155e4b}.success-note{border-radius:8px;padding:16px}.config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.config-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid #0f9f6e;border-radius:8px;padding:12px 14px;background:#fbfdfc;color:#047857;cursor:pointer;text-align:left;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}.config-item:focus-visible,.config-item:hover{background:#e8f8f0;box-shadow:0 5px 13px rgba(15,159,110,.14)}.config-item.active,.config-item[aria-pressed=true]{border-color:#047857;background:#e8f8f0;box-shadow:inset 3px 0 0 #0f9f6e}.config-item strong{line-height:1.2}.config-item span{grid-column:1;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.25}.config-item svg{grid-column:2;grid-row:1/span 2;color:var(--accent);transform:rotate(-90deg)}.section-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.config-center-card .risk-note{margin:0;padding:12px 14px}.config-center-card .risk-note p{margin:6px 0 0;line-height:1.45}.config-textarea{min-height:116px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;line-height:1.45}.compact-permission-list{gap:12px}.diagnostics-detail{display:grid;grid-gap:8px;gap:8px}.client-layout{display:grid;grid-template-columns:300px minmax(0,1fr) 300px;grid-gap:14px;gap:14px;align-items:start}.client-shell{min-height:100vh;width:100%;max-width:100%;min-width:0;overflow:visible;display:grid;grid-template-rows:auto auto auto;padding:18px}.client-shell .topbar{margin-bottom:14px}.client-shell .client-layout{height:max(620px,calc(100dvh - 92px));min-height:0}.client-layout>*,.client-shell>*{min-width:0}.client-inspector,.client-sidebar{align-self:stretch;max-height:100%;min-height:0;min-width:0;overflow:hidden}.client-sidebar{display:flex;flex-direction:column}.client-inspector,.client-list{overflow-y:auto}.client-list{display:grid;grid-gap:10px;gap:10px;margin-top:8px;flex:1 1 auto;min-height:0;padding-right:4px}.list-sync-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;margin-bottom:6px;color:var(--muted);font-size:12px}.client-list-item{display:grid;grid-gap:5px;gap:5px;min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:#fff;font-size:12px;line-height:1.45}.client-list-item span,.client-list-item strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-list-item span{color:var(--muted)}.client-list-item.selected{border-color:var(--accent);background:var(--accent-soft)}.chat-panel{align-self:start;height:100%;max-height:100%;min-height:0;min-width:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;padding:0;overflow:hidden}.chat-panel>*{min-width:0;width:100%}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:10px 16px;min-height:56px}.chat-header h2{margin:0;flex:0 0 auto;font-size:16px}.chat-title-row{display:flex;align-items:center;gap:14px;min-width:0}.chat-identity{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bubble-tags,.chat-meta{display:flex;flex-wrap:wrap;gap:6px}.chat-livebar{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:10px 16px;background:#f7fbf9}.chat-livebar-main,.control-row,.danger-control-panel{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.danger-control-panel{margin-top:8px}.danger-link{color:#b42318}.client-debug-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;border-bottom:1px solid var(--line);padding:10px 16px;background:#fff}.client-debug-grid details{border:1px solid var(--line);border-radius:8px;padding:8px 10px}.client-debug-grid summary{cursor:pointer;font-size:13px;font-weight:700}.mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px 10px;gap:6px 10px;margin-top:8px;color:var(--muted);font-size:12px}.chat-body{min-height:0;overscroll-behavior:contain;overflow-y:auto;padding:16px;background:#fbfbf8}.bubble{max-width:min(680px,82%);border:1px solid var(--line);border-radius:8px;padding:10px 12px;margin-bottom:10px;background:#fff;overflow-wrap:anywhere}.bubble.customer{margin-left:auto;border-color:#9bd8ce}.bubble.sales{margin-right:auto}.bubble.sending{opacity:.72}.bubble.failed{border-color:#f2b8a8;background:#fff8f6}.bubble-text{white-space:pre-wrap;line-height:1.45}.bubble-meta{margin-top:6px;color:var(--muted);font-size:12px}.bubble-tags{margin-top:8px}.debug-json{max-height:260px;margin:8px 0 0;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:10px;background:#111816;color:#d9f0ec;font-size:11px;line-height:1.45;white-space:pre-wrap}.queue-panel{display:grid;grid-gap:8px;gap:8px;width:min(560px,100%);margin:8px auto 12px 0;border:1px dashed #9bd8ce;border-radius:8px;padding:10px 12px;background:#f0fbf8;font-size:13px}.testbench-ops{display:grid;grid-gap:14px;gap:14px;margin-top:16px;min-width:0}.testbench-heading,.testbench-panel-title,.testbench-status-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.testbench-heading h2,.testbench-panel h3{margin:0}.testbench-heading h2{font-size:20px}.testbench-heading p{margin:4px 0 0}.testbench-panel-title{justify-content:flex-start;margin-bottom:12px}.testbench-panel-title svg{color:var(--accent);flex:0 0 auto}.testbench-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px;min-width:0}.testbench-panel{min-width:0;overflow:hidden}.testbench-panel.wide{grid-column:1/-1}.testbench-explorer{display:grid;grid-template-columns:1fr 1fr 1.1fr;grid-gap:12px;gap:12px;min-width:0}.endpoint-summary,.testbench-endpoint-list,.testbench-request-box{display:grid;grid-gap:10px;gap:10px;min-width:0}.testbench-module-tabs{display:flex;flex-wrap:wrap;gap:6px}.endpoint-summary{border:1px solid var(--line);border-radius:8px;padding:10px;background:#fbfefc}.endpoint-summary p{margin:0;color:var(--text);font-size:13px;line-height:1.45}.endpoint-summary small{color:var(--muted);overflow-wrap:anywhere}.mono-textarea{min-height:112px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.testbench-result{min-height:260px;margin-top:0}.icon-button-text{display:inline-flex;align-items:center;justify-content:center;gap:6px}.testbench-list{display:grid;grid-gap:8px;gap:8px;min-width:0;max-height:360px;overflow-y:auto;padding-right:4px}.testbench-list.compact{max-height:300px}.testbench-list-item{display:grid;grid-gap:5px;gap:5px;min-width:0;border:1px solid var(--line);border-radius:8px;padding:9px 10px;background:#fff;font-size:12px}.testbench-list-item code,.testbench-list-item small,.testbench-list-item span,.testbench-list-item strong{min-width:0;overflow-wrap:anywhere}.testbench-list-item small,.testbench-list-item span{color:var(--muted)}.testbench-list-item code{border-radius:6px;padding:3px 5px;background:#f2f5f4;color:#243532;font-size:11px}.check-row{grid-template-columns:auto minmax(0,1fr);align-items:center}.check-row code{grid-column:1/-1}.queue-list{display:grid;grid-gap:6px;gap:6px}.queue-item{grid-template-columns:48px 64px 52px auto;grid-gap:8px;gap:8px;color:var(--muted);font-size:12px}.chat-compose,.queue-item{display:grid;align-items:center}.chat-compose{grid-template-columns:80px 80px minmax(260px,1fr) 84px;grid-gap:10px;gap:10px;border-top:1px solid var(--line);padding:12px;background:var(--panel);z-index:1}.chat-compose>*{min-width:0}.compact-select{height:44px;inline-size:92px;min-inline-size:92px;max-inline-size:92px;line-height:42px}.chat-input{height:44px;min-height:44px;max-height:44px;resize:none;line-height:22px;overflow-y:auto;padding-top:10px;padding-bottom:10px}.chat-compose .button{height:44px;white-space:nowrap}.empty-chat{display:grid;place-items:center;align-content:center;min-height:360px;text-align:center}.sales-timeline{max-height:720px;min-height:360px;border:1px solid var(--line);border-radius:8px}.sales-shell{display:grid;grid-gap:14px;gap:14px;align-content:start;background:linear-gradient(180deg,rgba(231,239,255,.82) 0,rgba(238,243,248,0) 280px),var(--bg)}.sales-login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(180deg,rgba(231,239,255,.82) 0,rgba(238,243,248,0) 280px),var(--bg)}.sales-login-panel{width:min(100%,440px);display:grid;grid-gap:18px;gap:18px;border:1px solid #dbe4ee;border-radius:10px;padding:18px;background:rgba(255,255,255,.92);box-shadow:0 20px 50px rgba(43,57,84,.12)}.sales-login-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:12px;gap:12px;align-items:center}.sales-login-tools{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.sales-login-heading h1{margin:0;color:#172033;font-size:22px;line-height:1.2}.sales-login-form{display:grid;grid-gap:14px;gap:14px}.login-check-row{display:inline-flex;align-items:center;gap:8px;color:#172033;font-size:13px;font-weight:700;line-height:1.4}.login-check-row input{width:18px;height:18px;margin:0;accent-color:#0f9f6e}.sales-login-form .button{width:100%}.sales-topbar{border:1px solid #dbe4ee;border-radius:10px;padding:14px 16px;background:rgba(255,255,255,.82);box-shadow:0 8px 20px rgba(43,57,84,.05)}.sales-toolbar,.sales-topbar{margin-bottom:0}.sales-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(164px,1fr));gap:12px}.sales-detail-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.sales-metric-card{min-width:0;min-height:118px;padding-left:16px}.sales-metric-card h2{margin:0;color:#202938;font-size:13px;font-weight:800;line-height:1.25;overflow-wrap:anywhere}.sales-metric-card .metric{margin-top:4px}.sales-metric-card .metric-action,.sales-metric-card .metric-hint{line-height:1.35;overflow-wrap:anywhere}.sales-filter-card{padding:16px}.sales-filter-card h2{margin-bottom:12px}.sales-filter-controls{grid-template-columns:minmax(240px,1.35fr) repeat(6,minmax(142px,.7fr));gap:12px}.sales-filter-controls .compact-select{inline-size:100%;min-inline-size:0;max-inline-size:100%;text-align:center;text-align-last:center}.sales-filter-tabs{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;overflow-x:auto;padding-bottom:2px}.sales-filter-tabs button{min-height:34px;white-space:normal}.sales-active-filter-banner{margin-top:12px;border-top:1px solid #d9efe5;padding-top:12px}.sales-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(360px,.58fr);grid-gap:14px;gap:14px;align-items:start}.sales-ai-connect-card{padding:16px}.sales-ai-connect-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.sales-ai-connect-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(116px,auto);grid-gap:10px 12px;gap:10px 12px;align-items:center;border:1px solid #e5edf4;border-radius:8px;padding:12px;background:#fbfefc}.sales-ai-connect-item strong{overflow-wrap:anywhere}.sales-ai-connect-status{display:grid;justify-items:end;grid-gap:4px;gap:4px;min-width:0;text-align:right}.sales-ai-link-code{display:grid;grid-column:1/-1;grid-template-columns:auto minmax(0,1fr) auto auto;grid-gap:8px;gap:8px;align-items:center;border:1px dashed #9ad7c0;border-radius:8px;padding:8px 10px;background:#f0fdf7}.sales-ai-link-code strong{color:#035f45;font-family:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace);letter-spacing:0}.sales-ai-link-copy{min-height:30px;padding:5px 12px;white-space:nowrap}.sales-ai-resource-form{display:grid;grid-column:1/-1;grid-gap:8px;gap:8px}.sales-ai-resource-form label{display:grid;grid-gap:4px;gap:4px;min-width:0;color:#607284;font-size:12px;font-weight:600}.sales-ai-resource-form .input,.sales-ai-resource-form .select,.sales-ai-resource-form .textarea{width:100%;inline-size:100%;min-width:0;min-inline-size:0;max-inline-size:100%}.sales-ai-card-actions{display:flex;grid-column:1/-1;flex-wrap:wrap;gap:8px}.sales-ai-card-actions .button{flex:1 1 128px}.sales-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.sales-section-heading h2{margin-bottom:0;line-height:1.25;overflow-wrap:anywhere}.sales-section-heading .muted{min-width:0;line-height:1.35;overflow-wrap:anywhere}.sales-section-heading .compact-select{width:168px;min-width:132px}.sales-section-actions{display:inline-flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:10px}.sales-detail-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);grid-gap:14px;gap:14px;align-items:start}.sales-table-card{overflow-x:auto;overflow-y:hidden}.sales-table-card .sales-section-heading{margin-bottom:0;border-bottom:1px solid var(--line);padding:16px 18px 14px}.sales-table-card .sales-section-heading h2{margin:0;font-size:16px;line-height:1.25}.sales-work-table{min-width:860px}.sales-work-table td,.sales-work-table th{line-height:1.42;overflow-wrap:anywhere;vertical-align:middle}.sales-task-row{cursor:pointer}.sales-task-row:focus-visible td{background:#e8f8f0;box-shadow:inset 0 0 0 2px rgba(15,159,110,.32)}.sales-task-title-button{max-width:100%;text-align:left}.sales-task-title-button:focus-visible,.sales-task-title-button:hover{color:#035f45;text-decoration:underline}.sales-customer-table{table-layout:fixed;min-width:980px}.sales-customer-table td:first-child,.sales-customer-table th:first-child{width:130px}.sales-customer-table td:nth-child(2),.sales-customer-table th:nth-child(2){width:160px}.sales-customer-table td:nth-child(7),.sales-customer-table th:nth-child(7){width:260px}.sales-customer-table td:nth-child(8),.sales-customer-table th:nth-child(8){width:108px;overflow-wrap:normal;text-align:center;white-space:nowrap}.sales-customer-table td:nth-child(8) .button{display:inline-flex;min-width:72px;justify-content:center}.sales-work-table a:not(.button){color:#047857;font-weight:800}.sales-preview-card{display:grid;grid-gap:12px;gap:12px;padding:16px}.sales-preview-heading{display:grid;grid-gap:4px;gap:4px}.sales-preview-card h2{margin-bottom:0}.sales-preview-detail{display:grid;grid-gap:12px;gap:12px}.sales-preview-identity{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}.sales-preview-identity>div{display:grid;grid-gap:4px;gap:4px;min-width:0}.sales-preview-identity strong{overflow-wrap:anywhere;font-size:18px}.sales-preview-identity span{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.sales-preview-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.sales-preview-block,.sales-preview-facts span{min-width:0;border:1px solid #e5edf4;border-radius:8px;padding:10px;background:#fbfefc}.sales-preview-facts span{display:grid;grid-gap:4px;gap:4px;color:#172033;font-size:13px;overflow-wrap:anywhere}.sales-preview-block h3,.sales-preview-facts strong{color:#687386;font-size:12px}.sales-preview-block{display:grid;grid-gap:6px;gap:6px}.sales-preview-block h3,.sales-preview-block p{margin:0}.sales-preview-block h3{line-height:1.25;overflow-wrap:anywhere}.sales-preview-block p{color:#172033;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.sales-customer-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:6px 10px;gap:6px 10px;border-radius:8px;padding:12px;background:#ffffff;border-color:#e5edf4}.sales-customer-card>div,.sales-customer-card>span:not(.status){min-width:0}.sales-customer-card span:not(.status),.sales-customer-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:root[lang=vi-VN] .sales-shell{font-size:14px}:root[lang=vi-VN] .sales-action-card .select,:root[lang=vi-VN] .sales-filter-controls .compact-select{text-align:left;text-align-last:left}:root[lang=vi-VN] .sales-metric-card{padding-right:14px}:root[lang=vi-VN] .sales-ai-connect-item .button,:root[lang=vi-VN] .sales-task-actions .button{min-height:34px;white-space:normal}.sales-message-preview{grid-column:1/-1;color:#536071}.sales-selected-task-customer{border-color:#0f9f6e;background:#e8f8f0}.sales-action-card,.sales-panel{display:grid;grid-gap:12px;gap:12px}.sales-action-card h2,.sales-panel h2{margin-bottom:0}.sales-action-card .button,.sales-action-card .select,.sales-action-card .textarea{width:100%}.sales-action-card .select{inline-size:100%;min-inline-size:0;max-inline-size:100%;text-align:center;text-align-last:center}.sales-task-actions{display:grid;grid-template-columns:repeat(2,minmax(58px,1fr));grid-gap:8px;gap:8px;justify-content:center;min-width:136px}.sales-task-actions .button{width:100%;min-width:0;height:32px;padding:0 10px;font-size:12px}.sales-table-footer{position:-webkit-sticky;position:sticky;left:0;min-width:min(100%,520px)}@media (max-width:860px){.shell{padding:12px}.topbar{align-items:flex-start;margin-bottom:12px}.topbar .toolbar{width:100%}.sales-topbar{padding:12px}.sales-toolbar{flex-wrap:nowrap;overflow-x:auto}.sales-detail-kpis,.sales-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-section-heading{align-items:stretch;flex-direction:column}.sales-section-heading .compact-select{width:100%}.sales-filter-controls{grid-template-columns:1fr}.sales-filter-card .input,.sales-filter-controls .compact-select{inline-size:100%;min-inline-size:0;max-inline-size:100%}.sales-ai-connect-grid,.sales-ai-connect-item,.sales-dashboard-grid,.sales-detail-grid{grid-template-columns:1fr}.sales-ai-connect-status{justify-items:start;text-align:left}.sales-task-actions{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start}.title{font-size:20px}.subtitle{font-size:12px}.client-shell{height:auto;min-height:100vh;overflow:visible}.split{grid-template-columns:1fr}.table{display:block;max-width:100%;overflow-x:auto}.admin-tabs{width:100%}.admin-shell{--admin-header-offset:232px;padding-top:calc(var(--admin-header-offset) + 12px)}.admin-header{padding:12px 12px 10px;gap:10px}.time-segment{order:5;width:100%;justify-content:space-between}.time-segment button{flex:1 1}.admin-toolbar{flex-wrap:nowrap;width:100%;overflow-x:auto;scrollbar-width:none}.admin-toolbar::-webkit-scrollbar{display:none}.admin-toolbar .time-segment{order:0;flex:0 0 auto;width:auto;justify-content:flex-start}.admin-toolbar .time-segment button{flex:0 0 auto;padding:0 10px}.admin-toolbar .admin-refresh-button,.admin-toolbar .admin-user-pill,.admin-toolbar .language-switch{flex:0 0 auto}.cockpit-layout,.dashboard-top-grid,.governance-panel{grid-template-columns:1fr}.governance-panel{gap:18px}.governance-health{border-right:0;border-bottom:1px solid #edf1f6;padding:0 0 18px}.governance-summary{grid-template-columns:1fr;gap:14px}.admin-page-metrics,.customer-insight-grid,.ops-anomalies.admin-anomaly-grid,.ops-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-detail-actions,.admin-filter-row{align-items:stretch;flex-direction:column}.admin-filter-controls{grid-template-columns:1fr}.list-action-bar{align-items:stretch;flex-direction:column}.list-action-bar>.active-filter-banner,.list-action-bar>.batch-actions{width:100%}.list-action-bar>.active-filter-banner{border-left:0;border-top:1px solid #c9e6d8;min-width:0;padding-left:0;padding-top:10px}.admin-detail-panel .select,.admin-filter-controls .select,.field .select{inline-size:100%;min-inline-size:0;max-inline-size:100%}.admin-filter-actions{justify-content:flex-start;overflow-x:auto}.customer-filter-tabs{overflow-x:auto;padding-bottom:2px}.customer-filter-tabs button{flex:0 0 auto}.admin-main-detail,.admin-system-grid,.admin-two-column,.admin-two-column.lower{grid-template-columns:1fr}.admin-page-heading h1{font-size:22px}.config-grid,.two-fields{grid-template-columns:1fr}.recommend-row{grid-template-columns:34px minmax(0,1fr)}.recommend-row .button{grid-column:1/-1;justify-self:start}.admin-progress-row{grid-template-columns:92px 32px minmax(100px,1fr)}.customer-table-heading{align-items:flex-start;flex-direction:column}.customer-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-alert{min-height:auto;align-items:flex-start;flex-direction:column}.ops-alert-actions{justify-content:flex-start;width:100%;overflow-x:auto;padding-bottom:2px}.ops-alert p{white-space:normal;overflow:visible;text-overflow:clip}.section-heading{flex-direction:column}.admin-message-cell{min-width:240px}.client-layout{grid-template-columns:1fr;gap:10px;height:auto;width:100%;max-width:100%;min-width:0}.client-inspector,.client-sidebar{align-self:auto;max-height:none;overflow:visible;padding:12px}.client-sidebar{display:block}.client-list{display:flex;gap:8px;max-height:none;overflow-x:auto;overflow-y:hidden;padding:2px 0 8px;scroll-snap-type:x proximity}.client-list-item{flex:0 0 min(78vw,260px);scroll-snap-align:start}.list-sync-row{margin-top:10px}.chat-panel{height:min(760px,calc(100dvh - 24px));min-height:560px;grid-template-rows:auto auto auto minmax(0,1fr) auto}.chat-header{gap:8px;padding:10px 12px}.chat-header,.chat-title-row{align-items:flex-start;flex-direction:column}.chat-title-row{width:100%;gap:4px}.chat-identity{width:100%}.chat-livebar{align-items:flex-start;flex-direction:column;padding:8px 12px}.client-debug-grid{grid-template-columns:1fr;padding:8px 12px}.chat-body{padding:12px}.bubble{max-width:100%}.mini-grid{grid-template-columns:1fr}.chat-compose{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:10px}.chat-compose .button,.chat-input{grid-column:1/-1}.queue-item{grid-template-columns:42px 54px 44px auto}.testbench-heading{align-items:flex-start;flex-direction:column}.testbench-explorer,.testbench-grid{grid-template-columns:1fr}.testbench-panel.wide{grid-column:auto}.testbench-list{max-height:none}}@media (max-width:520px){.topbar{flex-direction:column;gap:8px}.pill{align-self:flex-start}.client-sidebar .form{gap:8px}.chat-panel{min-height:calc(100vh - 24px);grid-template-rows:auto auto auto minmax(300px,1fr) auto auto}.bubble-tags,.chat-livebar-main,.chat-meta,.control-row{gap:6px}.status{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.debug-json{max-height:180px}.queue-item{grid-template-columns:1fr 1fr}.testbench-grid,.testbench-ops{gap:10px}.testbench-panel{padding:12px}.admin-page-metrics,.check-row,.ops-anomalies.admin-anomaly-grid{grid-template-columns:1fr}.admin-table-footer{align-items:flex-start;flex-direction:column}}.telegram-testbench-shell{background:linear-gradient(180deg,rgba(15,159,110,.08),rgba(243,246,250,0) 260px),var(--bg)}.telegram-testbench-grid{display:grid;grid-template-columns:minmax(280px,.95fr) minmax(320px,1.2fr);grid-gap:14px;gap:14px;align-items:start}.telegram-testbench-panel{display:flex;flex-direction:column;gap:14px}.telegram-testbench-wide{grid-column:1/-1}.telegram-field-grid,.telegram-field-stack{display:grid;grid-gap:12px;gap:12px}.telegram-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.telegram-field-grid label,.telegram-field-stack label,.telegram-message-input{display:grid;grid-gap:6px;gap:6px;color:#344055;font-size:12px;font-weight:700}.telegram-message-input textarea{min-height:126px;resize:vertical}.telegram-result-strip,.telegram-thread-preview,.telegram-token-card{display:grid;grid-gap:8px;gap:8px;border:1px solid #d9e1ea;border-radius:8px;background:#f8fafc;padding:12px}.telegram-result-strip strong,.telegram-thread-preview strong,.telegram-token-card strong{min-width:0;overflow-wrap:anywhere;font-size:13px}.telegram-thread-preview{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.telegram-result-strip span,.telegram-thread-preview span{color:var(--muted);font-size:12px;font-weight:700}.telegram-result-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.telegram-result-strip>div{display:grid;grid-gap:4px;gap:4px;min-width:0}.telegram-log-list{display:grid;grid-gap:10px;gap:10px}.telegram-log-list details{border:1px solid #d9e1ea;border-radius:8px;background:#ffffff;overflow:hidden}.telegram-log-list summary{display:grid;grid-template-columns:72px minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:center;padding:10px 12px;cursor:pointer;list-style:none}.telegram-log-list summary::-webkit-details-marker{display:none}.telegram-log-list summary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.telegram-log-list .debug-json{margin:0;border-top:1px solid #d9e1ea;border-radius:0}@media (max-width:860px){.telegram-field-grid,.telegram-result-strip,.telegram-testbench-grid,.telegram-thread-preview{grid-template-columns:1fr}}