:root{color:#111827;background:#f4f6fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #f4f6fb;--panel: #ffffff;--panel-soft: #f8fafc;--panel-strong: #eef2f7;--line: #dde5f0;--text: #111827;--muted: #64748b;--brand: #5661f6;--brand-strong: #4650df;--brand-soft: #eef0ff;--danger: #b43c3c;--shadow: 0 18px 42px rgba(15, 23, 42, .08);--radius: 8px}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;color:var(--text);background:var(--bg)}button,input,select,textarea{font:inherit}button{border:0}a{color:inherit;text-decoration:none}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,520px)}.login-side{display:flex;flex-direction:column;justify-content:center;padding:72px;color:#f8fafc;background:linear-gradient(135deg,#121826f0,#25305be6),radial-gradient(circle at 22% 22%,rgba(86,97,246,.4),transparent 34%)}.login-side img{width:46px;height:46px}.login-side h1{margin:28px 0 10px;font-size:42px;letter-spacing:0}.login-side p{max-width:520px;margin:0;color:#cbd5e1;font-size:16px;line-height:1.7}.login-card{align-self:center;width:min(420px,calc(100% - 40px));display:grid;gap:18px;margin:0 auto;padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow)}.login-card h2{margin:4px 0 0;font-size:26px}.impersonate-card p{margin:0;color:var(--muted);line-height:1.65}.login-card>div>span,label span{color:var(--muted);font-size:13px;font-weight:800}label{display:grid;gap:8px}input,select,textarea{width:100%;min-height:42px;border:1px solid var(--line);border-radius:7px;outline:none;padding:0 12px;color:var(--text);background:#fff}textarea{padding:12px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px #5661f61f}.button,.icon-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:7px;padding:0 14px;cursor:pointer;font-weight:850;white-space:nowrap}.button-primary{color:#fff;background:var(--brand)}.button-primary:hover{background:var(--brand-strong)}.button-ghost,.icon-button{color:var(--text);border:1px solid var(--line);background:#fff}.icon-button.active{color:#1d4ed8;border-color:#b9cdfa;background:#eef4ff}button:disabled{cursor:not-allowed;opacity:.55}.shell{min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:18px;border-right:1px solid var(--line);padding:18px 14px;background:#fff}.brand{display:flex;align-items:center;gap:10px;padding:0 8px 12px;border-bottom:1px solid var(--line)}.brand img{width:48px;height:48px;border-radius:12px;object-fit:contain}.brand strong,.brand span{display:block}.brand span{color:var(--muted);font-size:12px;font-weight:800}.nav-list{display:grid;gap:6px}.nav-item{min-height:42px;display:flex;align-items:center;gap:10px;border-radius:7px;padding:0 12px;font-size:14px;font-weight:850}.nav-item:hover{background:var(--panel-strong)}.nav-item.router-link-active{color:var(--brand);background:var(--brand-soft)}.workspace{min-width:0}.topbar{position:sticky;top:0;z-index:10;min-height:68px;display:flex;align-items:center;justify-content:flex-start;gap:18px;border-bottom:1px solid var(--line);padding:0 28px;background:#f4f6fbeb;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.topbar h1{margin:2px 0 0;font-size:20px}.page-kicker{color:var(--muted);font-size:12px;font-weight:850}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 1 auto;flex-wrap:nowrap;min-width:0}.topbar-chat-actions{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;justify-content:flex-end;min-width:0;overflow:visible;white-space:nowrap;margin-left:8px;margin-right:2px}.topbar-actions>.timezone-control,.topbar-actions>.user-chip,.topbar-actions>.button{flex:0 0 auto}.topbar-title{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:10px}.topbar-chat-actions:empty{display:none}.topbar-chat-actions .button{min-height:36px;padding:0 11px;font-size:13px;white-space:nowrap}.chat-topbar-actions{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;min-width:0}.chat-route-topbar-actions{position:static;inset:auto;z-index:auto;display:flex;align-items:center;justify-content:flex-end;height:auto;min-height:0;pointer-events:auto}.chat-route-topbar-actions .chat-topbar-actions{pointer-events:auto}@media(max-width:1280px){.chat-route-topbar-actions{position:static}.chat-route-topbar-actions .button{min-height:32px;padding:0 9px;font-size:12px}}.auto-first-reply-topbar{flex:0 1 auto;min-width:0;max-width:176px;min-height:36px;display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(148,163,184,.28);border-radius:8px;padding:5px 6px;background:#fff;box-shadow:0 8px 18px #0f172a0a;overflow:hidden}.auto-first-reply-topbar.enabled{border-color:#0a84ff52;background:#f8fbff}.auto-first-reply-topbar .auto-first-reply-switch{flex:0 0 auto}.auto-first-reply-topbar .auto-first-reply-switch span{width:36px;height:20px}.auto-first-reply-topbar .auto-first-reply-switch span:after{width:14px;height:14px}.auto-first-reply-topbar .auto-first-reply-switch input:checked+span:after{transform:translate(16px)}.auto-first-reply-topbar .auto-first-reply-main{flex:1 1 auto}.auto-first-reply-topbar .auto-first-reply-main strong{font-size:12px;max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auto-first-reply-topbar .auto-first-reply-main small{display:none}.auto-first-reply-topbar .auto-first-reply-manage{flex:0 0 auto;min-height:28px;padding:0 6px;font-size:11px}.user-chip{min-height:40px;display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:0 12px;background:#fff}.user-chip span{font-weight:850}.user-chip em{color:var(--muted);font-size:12px;font-style:normal}.timezone-control{min-width:168px}.timezone-control select{min-height:38px;border-radius:7px;padding:0 32px 0 10px;font-weight:850}.socket-indicator{flex:0 0 auto;color:#d97706;transition:color .18s ease,opacity .18s ease,transform .18s ease}.socket-indicator.connected{color:var(--brand)}.socket-indicator.connecting{color:#d97706;animation:socketPulse 1.15s ease-in-out infinite}.socket-indicator.disconnected{color:#e05252;opacity:.82}.content{max-width:1500px;margin:0 auto;padding:28px}.page-stack{display:grid;gap:16px}.toolbar,.section-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.toolbar{border:1px solid var(--line);border-radius:var(--radius);padding:16px;background:#fff}.filter-row,.toolbar-actions{display:flex;align-items:center;gap:10px}.search-field{min-width:280px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:0 12px;background:#fff}.search-field input{border:0;box-shadow:none;padding:0}.section-panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}.section-header{padding:18px;border-bottom:1px solid var(--line)}.section-header h2{margin:0;font-size:18px}.section-header p{margin:4px 0 0;color:var(--muted)}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.metric-card{display:grid;gap:9px;border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:#fff;box-shadow:var(--shadow)}.metric-card svg{color:var(--brand)}.metric-card span{color:var(--muted);font-size:13px;font-weight:850}.metric-card strong{font-size:28px}.data-table{overflow-x:auto}.table-row{min-width:860px;display:grid;grid-template-columns:1fr 1fr 2fr .8fr 1.2fr;align-items:center;gap:12px;border-top:1px solid var(--line);padding:13px 16px}.table-row:first-child{border-top:0}.table-head{color:var(--muted);background:var(--panel-soft);font-size:12px;font-weight:850}.permission-tags{display:flex;flex-wrap:wrap;gap:6px}.permission-tag{min-height:26px;display:inline-flex;align-items:center;border-radius:999px;padding:0 9px;color:#3440be;background:var(--brand-soft);font-size:12px;font-weight:850}.status-pill{width:fit-content;min-height:28px;display:inline-flex;align-items:center;border-radius:999px;padding:0 10px;color:var(--muted);background:#edf0f7;font-size:12px;font-weight:850}.status-enabled,.status-main,.status-normal{color:#1f3fb9;background:#eef0ff}.status-customer_service{color:#315f45;background:#e7f5ed}.status-disabled{color:#8f2424;background:#f7dddd}.status-waiting_reply,.status-unreplied,.status-queued,.status-scheduled,.status-due,.status-paused,.status-unsent,.status-pending,.status-pending_check,.status-running{color:#8a5f13;background:#f7ebcf}.status-replied,.status-received,.status-delivered,.status-done,.status-sent,.status-completed{color:#245f43;background:#e5f3eb}.status-failed,.status-canceled,.status-banned,.status-high_risk,.status-offline,.status-limited{color:#8f2424;background:#f7dddd}.empty-state{min-height:240px;display:grid;place-items:center;gap:8px;padding:36px 20px;color:var(--muted);text-align:center}.empty-state strong{color:var(--text)}.modal-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#f8fafc94;-webkit-backdrop-filter:blur(18px) saturate(1.12);backdrop-filter:blur(18px) saturate(1.12);pointer-events:auto}.modal{position:relative;z-index:1;width:min(640px,100%);border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);pointer-events:auto}.confirm-modal{width:min(460px,100%)}.confirm-modal .modal-header p{margin:6px 0 0;color:var(--muted);line-height:1.55;white-space:pre-wrap;word-break:break-word}.modal button,.modal input,.modal select,.modal textarea{position:relative;z-index:2;pointer-events:auto}.modal-header,.modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.modal-header h3{margin:0}.modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px 20px 0}.service-scope{display:grid;gap:8px;padding:16px 20px 0}.form-error{margin:14px 20px 0;border:1px solid rgba(180,60,60,.28);border-radius:7px;padding:10px 12px;color:var(--danger);background:#fef2f2e6;font-size:13px;font-weight:800}.login-card .form-error{margin:0}.toast-host{position:fixed;right:18px;bottom:18px;z-index:2200;display:grid;gap:10px;width:min(360px,calc(100vw - 36px));pointer-events:none}.toast{min-height:44px;padding:12px 14px;border:1px solid rgba(148,163,184,.3);border-radius:8px;color:var(--text);background:#fffffff0;box-shadow:0 16px 36px #0f172a24;-webkit-backdrop-filter:blur(18px) saturate(1.12);backdrop-filter:blur(18px) saturate(1.12);cursor:pointer;font-size:14px;font-weight:750;line-height:1.45;text-align:left;pointer-events:none;animation:toastIn .18s cubic-bezier(.2,.8,.2,1) both}.toast-success{border-color:#34825847;color:#166534}.toast-warning{border-color:#c784224d;color:#92400e}.toast-danger,.toast-error{border-color:#b43c3c4d;color:var(--danger)}@keyframes toastIn{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-actions{justify-content:flex-end;border-top:1px solid var(--line);border-bottom:0}.helper-note{margin:14px 20px 0;padding:11px 12px;border:1px solid #dfe5f4;border-radius:7px;color:var(--muted);background:#f8fafc;font-size:13px;line-height:1.45}.truncate{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-editor{display:grid;gap:14px;padding:18px}.inline-actions{padding:0;border:0}.broadcast-layout{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(0,1.45fr);gap:16px}.task-list{display:grid;gap:10px;padding:14px}.task-card{min-width:0;display:grid;gap:10px;border:1px solid var(--line);border-radius:7px;padding:14px;color:var(--text);background:#fff;text-align:left;cursor:pointer}.task-card:hover,.task-card.active{border-color:#bfc8ff;background:#f7f8ff}.task-card-head,.task-metrics,.result-summary{display:flex;align-items:center;justify-content:space-between;gap:10px}.task-card-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-track{height:8px;overflow:hidden;border-radius:999px;background:var(--panel-strong)}.progress-track span{height:100%;display:block;border-radius:inherit;background:var(--brand);transition:width .25s ease}.task-metrics{flex-wrap:wrap;color:var(--muted);font-size:12px;font-weight:850}.task-card small{color:var(--muted)}.result-panel{min-width:0}.result-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:14px;border-bottom:1px solid var(--line)}.result-summary div{display:grid;gap:4px;border:1px solid var(--line);border-radius:7px;padding:10px;background:var(--panel-soft)}.result-summary span{color:var(--muted);font-size:12px;font-weight:850}.result-summary strong{font-size:22px}.dashboard-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px}.dashboard-summary div{display:grid;gap:6px;border:1px solid var(--line);border-radius:7px;padding:14px;background:var(--panel-soft)}.dashboard-summary span,.dashboard-summary small{color:var(--muted);font-weight:850}.dashboard-summary span{font-size:12px}.dashboard-summary strong{font-size:24px}.dashboard-summary .quota-hot strong{color:#d31616;font-size:28px}@media(max-width:1180px){.dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.dashboard-summary{grid-template-columns:1fr}}.broadcast-modal{width:min(860px,100%);max-height:calc(100vh - 40px);overflow:auto}.broadcast-modal .modal-header{position:sticky;top:0;z-index:8;background:#fff}.broadcast-modal .modal-actions{position:sticky;bottom:0;z-index:8;background:#fff;box-shadow:0 -14px 28px #0f172a14}.broadcast-filterbar{align-items:flex-end}.broadcast-filter-grid{flex:1;display:grid;grid-template-columns:minmax(220px,1.1fr) minmax(170px,.7fr) minmax(160px,.65fr) minmax(160px,.65fr)}.broadcast-filter-grid label,.task-name-inline{min-width:0}.broadcast-workbench{overflow:visible}.broadcast-actionbar{position:relative;display:flex;align-items:center;gap:10px;padding:18px;border-bottom:1px solid var(--line);overflow:visible}.task-count{min-width:160px;display:grid;gap:3px}.task-count strong{font-size:18px}.task-count span,.follow-copy{color:var(--muted);font-size:13px;font-weight:800}.broadcast-runtime-card,.broadcast-quota-card,.broadcast-readonly-rule{display:flex;align-items:center;gap:8px;border:1px solid rgba(59,130,246,.22);border-radius:7px;background:#f8fbff;color:#1e3a8a;white-space:nowrap}.broadcast-runtime-card{min-height:36px;padding:0 12px}.broadcast-quota-card{min-height:36px;padding:0 12px;border-color:#dc26263d;background:#fff7f7;color:#991b1b}.broadcast-runtime-card span,.broadcast-quota-card span,.broadcast-readonly-rule span{color:#64748b;font-size:12px;font-weight:850}.broadcast-runtime-card em,.broadcast-readonly-rule em{color:#64748b;font-size:11px;font-style:normal;font-weight:850}.broadcast-runtime-card strong,.broadcast-quota-card strong,.broadcast-readonly-rule strong{color:#dc2626;font-size:18px;font-weight:950}.broadcast-quota-card em{max-width:240px;overflow:hidden;color:#64748b;font-size:11px;font-style:normal;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.broadcast-readonly-rule{margin:10px 14px 0;padding:10px 12px}.broadcast-readonly-rule em{color:#64748b;font-size:12px;font-style:normal;font-weight:850}.task-name-inline{width:min(280px,22vw);display:grid;grid-template-columns:auto minmax(150px,1fr);align-items:center;gap:8px}.task-name-inline input{min-height:44px}.upload-trigger{position:relative;overflow:hidden;cursor:pointer}.upload-trigger .file-input{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:0;cursor:pointer}.broadcast-create-guide{display:grid;gap:8px;margin:16px 20px 0;border:1px solid rgba(217,119,6,.18);border-radius:8px;padding:12px 14px;background:#fffbebcc;color:#3f3f46;font-size:13px;font-weight:800}.broadcast-create-guide strong{color:#d31616;font-size:14px}.file-pick-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 20px 0;border:1px solid var(--line);border-radius:8px;padding:12px;background:#f8fafcc7}.file-pick-row.compact{margin:0}.file-pick-row>div{min-width:0;display:grid;gap:3px}.file-pick-row strong{font-size:14px}.file-pick-row span{overflow:hidden;color:var(--muted);font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.split-import-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 20px 0}.split-import-card{display:grid;gap:10px;min-width:0}.split-import-card textarea{min-height:170px}.greeting-mode-row{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:14px 20px 0;color:var(--text);font-size:13px;font-weight:850}.greeting-mode-row>span{min-width:68px;color:var(--text)}.greeting-mode-row label{display:inline-flex;align-items:center;gap:6px;color:var(--text);font-weight:800}.greeting-mode-row input{width:15px;height:15px;accent-color:#2563eb}.compact-block{margin-top:12px}.compact-block textarea{min-height:110px}.image-strategy-inline{display:grid;grid-template-columns:76px minmax(180px,260px);align-items:center;gap:10px;font-size:13px;font-weight:850}.broadcast-image-panel{display:grid;gap:10px;margin:14px 20px 0}.broadcast-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px}.broadcast-image-choice{position:relative;display:grid;gap:5px;min-width:0;border:1px solid rgba(148,163,184,.28);border-radius:8px;padding:7px;background:#fff;color:var(--text);text-align:left;cursor:pointer}.broadcast-image-choice.active{border-color:#2563eb94;box-shadow:0 0 0 3px #2563eb1c}.broadcast-image-choice img{width:100%;height:82px;border-radius:6px;object-fit:cover;background:#f1f5f9}.broadcast-image-choice span,.broadcast-image-choice small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.broadcast-image-choice span{font-size:12px;font-weight:850}.broadcast-image-choice small{color:var(--muted);font-size:11px;font-weight:750}.broadcast-image-choice i{position:absolute;top:9px;left:9px;border-radius:999px;padding:2px 6px;background:#2563ebe6;color:#fff;font-size:11px;font-style:normal;font-weight:850}.broadcast-image-choice em{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#ffffffeb;color:#ef4444;box-shadow:0 8px 18px #0f172a1f}.dropdown-wrap{position:relative}.export-dropdown{position:relative;flex:0 0 auto}.broadcast-actionbar .export-trigger{min-width:150px;justify-content:center;gap:8px;padding:0 16px;color:#4568ff;border:1px solid rgba(69,104,255,.72);background:#fff;box-shadow:0 8px 18px #4568ff14;white-space:nowrap}.broadcast-actionbar .export-trigger:hover,.export-dropdown.open .export-trigger{color:#244dff;border-color:#4568ff;background:#f8fbff;box-shadow:0 10px 24px #4568ff26}.broadcast-actionbar .export-trigger span{line-height:1}.export-chevron{transition:transform .16s ease}.export-dropdown.open .export-chevron{transform:rotate(180deg)}.action-menu{position:absolute;z-index:20;top:calc(100% + 8px);left:0;min-width:168px;overflow:hidden;border:1px solid rgba(148,163,184,.28);border-radius:8px;padding:6px;background:#fffffff0;box-shadow:0 18px 42px #0f172a29;-webkit-backdrop-filter:blur(22px) saturate(1.2);backdrop-filter:blur(22px) saturate(1.2)}.action-menu button{width:100%;min-height:38px;justify-content:flex-start;border-radius:7px;padding:0 12px;color:var(--text);background:transparent;cursor:pointer;font-weight:850}.action-menu button:hover{color:#0a64c7;background:#eef4ff}.export-menu{position:absolute;z-index:30;top:calc(100% + 8px);left:0;min-width:150px;overflow:hidden;border:1px solid rgba(226,232,240,.9);border-radius:8px;padding:8px;background:#fffffffa;box-shadow:0 20px 42px #0f172a29;-webkit-backdrop-filter:blur(18px) saturate(1.12);backdrop-filter:blur(18px) saturate(1.12);white-space:normal}.export-menu button{display:flex;align-items:center;width:100%;min-height:38px;justify-content:flex-start;border:0;border-radius:7px;padding:0 14px;color:#1f2937;background:transparent;cursor:pointer;font-size:13px;font-weight:850;white-space:nowrap}.export-menu button:hover{color:#244dff;background:#eef4ff}.button-blue{color:var(--brand);border-color:#b9cdfa;background:#eef4ff}.button-danger{color:#d92d20;border:1px solid #ffc9c2;background:#fff6f4}.button-danger:hover{background:#ffe9e5}.broadcast-task-table .table-row{min-width:1530px;grid-template-columns:36px 72px minmax(260px,1.45fr) 86px 92px 86px 86px 86px 86px 86px 86px 136px 132px}.broadcast-task-table .table-row:not(.table-head){cursor:pointer}.broadcast-task-table .table-row.active{background:#f3f7ff;box-shadow:inset 3px 0 #0a84ff}.check-cell{display:flex;align-items:center;justify-content:center}.check-cell input{width:18px;min-height:18px}.task-name{min-width:0;display:grid;gap:4px;overflow:hidden;font-weight:850}.task-name-line{min-width:0;display:flex;align-items:center;gap:5px}.task-name-line strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-name em{display:inline-flex;align-items:center;min-height:22px;margin-right:6px;border-radius:7px;padding:0 7px;color:#0a64c7;background:#e8f2ff;font-size:12px;font-style:normal;font-weight:900}.broadcast-progress-text{overflow:hidden;color:var(--muted);font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.broadcast-progress-bar{width:100%;height:6px;overflow:hidden;border-radius:999px;background:#e6edf7}.broadcast-progress-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2f7df6,#5b8cff);transition:width .32s ease}.row-actions{display:flex;align-items:center;gap:6px}.row-actions .icon-button,.broadcast-actionbar .icon-button{width:40px;padding:0}.broadcast-pager{border-top:1px solid var(--line)}.broadcast-detail .section-header{align-items:flex-start}.result-tabs{display:flex;flex-wrap:wrap;gap:8px}.tab-button{min-height:34px;border:1px solid var(--line);border-radius:7px;padding:0 12px;color:var(--muted);background:#fff;cursor:pointer;font-weight:850}.tab-button.active{color:#0a64c7;border-color:#b9cdfa;background:#eef4ff}.result-summary.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.broadcast-result-table .table-row{grid-template-columns:.35fr 1fr 1fr .5fr minmax(180px,1.35fr) .75fr minmax(180px,1.3fr)}.broadcast-page{gap:10px;font-size:12px}.broadcast-page .toolbar{padding:10px 12px}.broadcast-page label{gap:5px}.broadcast-page label span{font-size:11px}.broadcast-page input,.broadcast-page select{min-height:32px;border-radius:6px;padding:0 9px;font-size:12px}.broadcast-page textarea{font-size:12px}.broadcast-page .button,.broadcast-page .icon-button{min-height:32px;border-radius:6px;gap:5px;padding:0 10px;font-size:12px;flex:0 0 auto;line-height:1;white-space:nowrap}.broadcast-page .status-pill{min-height:22px;padding:0 8px;font-size:11px}.broadcast-filter-grid{gap:8px;grid-template-columns:minmax(180px,1fr) 128px 138px 138px}.broadcast-actionbar{gap:7px;padding:9px 12px;overflow-x:auto;white-space:nowrap}.broadcast-actionbar .button{min-width:max-content}.broadcast-actionbar .button svg{width:16px;height:16px}.task-count{min-width:118px}.task-count strong{font-size:14px}.broadcast-runtime-card,.broadcast-quota-card{min-height:32px;padding:0 10px;gap:6px}.broadcast-runtime-card span,.broadcast-quota-card span,.broadcast-readonly-rule span,.broadcast-readonly-rule em{font-size:11px}.broadcast-runtime-card strong,.broadcast-quota-card strong,.broadcast-readonly-rule strong{font-size:14px}.broadcast-quota-card em{max-width:190px;font-size:10px}.task-count span,.follow-copy{font-size:11px}.task-name-inline{width:210px;grid-template-columns:auto minmax(120px,1fr);gap:6px}.task-name-inline input{min-height:32px}.action-menu{min-width:138px;border-radius:7px}.action-menu button{min-height:32px;font-size:12px}.broadcast-actionbar .export-trigger{min-width:132px;padding:0 12px;gap:7px}.export-menu{min-width:132px;padding:7px}.export-menu button{min-height:32px;padding:0 12px;font-size:12px}.broadcast-task-table{max-height:calc(100vh - 258px);overflow:auto}.broadcast-task-table .table-row{min-width:1300px;grid-template-columns:30px 58px minmax(230px,1.55fr) 64px 72px 58px 58px 58px 58px 58px 58px 108px 108px;gap:8px;padding:9px 11px;font-size:12px}.broadcast-task-table .table-head{position:sticky;top:0;z-index:2}.task-name em{min-height:19px;margin-right:4px;border-radius:5px;padding:0 5px;font-size:10px}.row-actions{gap:4px}.row-actions .icon-button,.broadcast-actionbar .icon-button{width:32px;padding:0}.broadcast-pager{min-height:42px;padding:7px 12px}.broadcast-pager select{width:104px}.result-drawer-backdrop{position:fixed;inset:0;z-index:1000;display:flex;justify-content:flex-end;background:#0f172a38;pointer-events:auto}.result-drawer{width:min(1040px,calc(100vw - 48px));height:100vh;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;border-left:1px solid rgba(148,163,184,.28);background:#fffffff5;box-shadow:-24px 0 50px #0f172a29;-webkit-backdrop-filter:blur(24px) saturate(1.18);backdrop-filter:blur(24px) saturate(1.18)}.result-drawer .section-header{padding:12px 14px}.result-drawer .section-header h2{font-size:16px}.result-drawer .section-header p{font-size:12px}.result-drawer .result-tabs{padding:10px 14px;border-bottom:1px solid var(--line)}.result-drawer .result-summary{padding:10px 14px}.result-drawer .result-summary div{padding:8px}.result-drawer .result-summary strong{font-size:18px}.result-drawer .broadcast-result-table{overflow:auto}.result-pager{min-height:44px;padding:7px 14px;background:#f8fafcf0}.result-pager select{width:104px}.result-drawer .broadcast-result-table .table-row{min-width:1080px;grid-template-columns:44px minmax(150px,.95fr) minmax(140px,.9fr) 48px minmax(300px,2fr) 76px minmax(170px,1.15fr);gap:8px;padding:8px 12px;font-size:12px}.result-content{color:var(--text);font-weight:750}.result-content-cell{display:flex;min-width:0;align-items:center;gap:8px}.broadcast-result-image{width:36px;height:36px;flex:0 0 auto;border:1px solid rgba(148,163,184,.32);border-radius:7px;object-fit:cover;background:#f8fafc}.broadcast-result-image.image-loading{display:grid;place-items:center;color:#64748b;font-size:12px;font-weight:900}.tab-button{min-height:28px;border-radius:6px;padding:0 9px;font-size:12px}.follow-modal{width:min(1180px,calc(100vw - 48px));height:min(880px,calc(100vh - 48px));max-height:calc(100vh - 48px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.follow-modal-body{min-height:0;overflow:auto;padding:0 4px 24px;scrollbar-gutter:stable}.follow-modal .modal-header,.follow-modal .modal-actions{flex:0 0 auto}.sender-switch-confirm-modal{width:min(520px,100%)}.sender-switch-confirm-modal .modal-header p{margin:6px 0 0;color:#64748b;font-size:13px;font-weight:750;line-height:1.55}.sender-switch-confirm-body{display:grid;gap:12px;padding:18px 20px 0}.sender-switch-confirm-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(148,163,184,.22);padding-bottom:10px;color:#64748b;font-size:13px;font-weight:850}.sender-switch-confirm-row strong{min-width:0;color:#0f172a;font-size:14px;font-weight:950;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sender-switch-confirm-row.warning strong,.sender-switch-confirm-row.warning span{color:#b91c1c}.sender-switch-confirm-body p{margin:0;color:#7f1d1d;font-size:14px;font-weight:900}.follow-copy{margin:16px 20px 0;border:1px solid #dfe5f4;border-radius:8px;padding:12px;background:#f8fafc}.account-picker-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 132px 36px;gap:8px;margin:12px 20px 0;align-items:center}.account-picker-toolbar .search-field{min-width:0}.account-picker-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 20px 0;color:var(--muted);font-size:12px;font-weight:800}.account-picker-summary strong{color:var(--text)}.account-picker-table{margin:10px 20px 0;max-height:min(360px,42vh);overflow:auto;border:1px solid var(--line);border-radius:8px}.account-picker-table .table-row{min-width:720px;grid-template-columns:32px minmax(180px,1.2fr) minmax(110px,.8fr) 86px minmax(110px,.8fr);gap:8px;padding:9px 12px}.account-picker-table .table-head{position:sticky;top:0;z-index:2}.account-picker-pager{min-height:42px;padding:8px 20px 0}.broadcast-expanded{position:fixed;z-index:12;inset:84px 24px 24px 260px;overflow:auto;padding-bottom:24px;background:var(--bg)}.modal-block{margin:16px 20px 0}.switch-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid var(--line);border-radius:7px;padding:0 12px}.switch-row input{width:18px;min-height:18px}.random-variable-row{margin:14px 20px 0;min-height:50px}.random-variable-row strong,.random-variable-row em{display:block}.random-variable-row strong{color:var(--text);font-size:14px;font-style:normal;font-weight:900}.random-variable-row em{margin-top:3px;color:var(--muted);font-size:12px;font-style:normal;font-weight:750}.account-assign-bar{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:center;gap:16px;padding:14px 16px}.broadcast-capacity-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;background:linear-gradient(90deg,#b43c3c14,#fffffff5 48%),var(--panel)}.broadcast-capacity-copy{min-width:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:16px}.broadcast-capacity-copy span,.broadcast-capacity-detail span{color:var(--text);font-size:13px;font-weight:900}.broadcast-capacity-copy strong{color:#d31616;font-size:30px;line-height:1;font-weight:950;letter-spacing:0;font-variant-numeric:tabular-nums}.broadcast-capacity-detail{display:grid;justify-items:end;gap:4px;color:var(--muted);text-align:right}.broadcast-capacity-detail small{color:var(--muted);font-size:12px;font-weight:800}.account-quota-panel{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,auto) auto;align-items:center;gap:14px;padding:13px 16px}.limit-copy,.limit-locked{min-width:0;display:grid;gap:4px}.quota-meter{display:grid;gap:4px;color:var(--muted);font-size:12px;font-weight:800;text-align:right}.limit-copy span,.limit-locked span,.limit-actions label span{color:var(--muted);font-size:12px;font-weight:800}.limit-actions,.limit-locked{display:flex;align-items:center;gap:10px}.limit-actions label{width:180px}.service-table .table-row{grid-template-columns:minmax(150px,1fr) minmax(150px,.85fr) 130px 96px 160px minmax(430px,auto)}.credential-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.service-password{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:6px;padding:5px 8px;background:#f8fafcd1;color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;text-overflow:ellipsis;white-space:nowrap}.service-quota{color:#d92d20;font-weight:950}.service-quota-field{margin-top:10px}.selection-summary{display:grid;gap:3px}.selection-actions{display:flex;align-items:center;gap:8px}.customer-select-native{min-width:184px;min-height:36px;border:1px solid var(--line);border-radius:7px;padding:0 34px 0 12px;background:#fffffff0;color:var(--text);font-size:13px;font-weight:900}.account-assign-bar span,.account-lines small,.account-usage span,.account-assignee span{color:var(--muted);font-size:12px;font-weight:800}.account-table .table-row{grid-template-columns:minmax(150px,.85fr) minmax(230px,1.05fr) 90px minmax(190px,1fr) minmax(160px,.9fr)}.check-cell{width:20px;display:inline-flex;align-items:center;justify-content:center}.check-cell input{width:17px;min-height:17px}.account-title,.account-lines,.account-usage,.account-restriction,.account-assignee{min-width:0;display:grid;gap:4px}.account-usage{display:flex;align-items:center;gap:14px;flex-wrap:nowrap}.account-usage-metric{min-width:0;display:inline-flex;align-items:baseline;gap:4px;color:var(--muted);font-size:12px;font-weight:850;white-space:nowrap}.account-usage-metric strong{color:var(--text);font-size:14px;font-weight:950}.account-title strong,.account-title span,.account-lines span,.account-lines small,.account-usage strong,.account-usage span,.account-restriction strong,.account-restriction span,.account-assignee strong,.account-assignee span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-title span{color:var(--muted);font-size:12px;font-weight:800}.account-usage strong{color:var(--text);font-size:13px;font-weight:950}.account-restriction strong{color:#991b1b;font-size:12px;font-weight:900}.account-restriction span{color:#b45309;font-size:11px;font-weight:800}.account-restriction:not(.is-ip) .account-retry-button{display:none}.account-retry-button{width:fit-content;min-height:28px;padding:0 9px;color:#075985;border-color:#0ea5e942;background:#f0f9ffe6;font-size:12px}.pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:12px 16px}.pager span{margin-right:auto;color:var(--muted);font-size:13px;font-weight:850}.pager strong{min-width:34px;text-align:center}.modal-grid-single{grid-template-columns:minmax(0,1fr)}.template-panel{overflow:hidden}.template-list{display:grid;gap:10px;padding:14px}.template-card{min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:start;gap:12px;border:1px solid var(--line);border-radius:8px;padding:13px;background:#fff}.template-rank{min-height:36px;display:grid;place-items:center;border:1px solid #d8e0ed;border-radius:8px;color:#1d4ed8;background:#f2f6fb;font-weight:900}.template-body{min-width:0;display:grid;gap:8px}.template-title-row,.template-meta,.template-actions,.script-card-head,.script-actions{display:flex;align-items:center;gap:10px}.template-title-row{justify-content:space-between}.template-title-row strong,.script-card strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-body p,.script-card p{margin:0;color:#334155;line-height:1.58;white-space:pre-wrap;word-break:break-word}.template-meta{flex-wrap:wrap;color:var(--muted);font-size:12px;font-weight:800}.template-actions{justify-content:flex-end}.template-content-field,.script-picker{margin:16px 20px 0}.toolbar-actions,.bulk-import-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.template-modal{width:min(760px,100%)}.bulk-import-modal{width:min(820px,100%)}.bulk-import-tools{margin:16px 20px 0}.bulk-file-name,.bulk-import-status{color:var(--muted);font-size:12px;font-weight:850}.bulk-import-status{margin-left:auto}.script-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;padding:14px}.script-card{min-width:0;display:grid;align-content:start;gap:10px;border:1px solid var(--line);border-radius:8px;padding:14px;background:#fff}.script-card-head{justify-content:space-between}.script-card-head>span{min-height:26px;display:inline-flex;align-items:center;border-radius:7px;padding:0 8px;color:#1d4ed8;background:#eef4ff;font-size:12px;font-weight:900}.script-actions{justify-content:flex-end;margin-top:4px}.sms-chat-page{position:relative;min-width:0}.sms-chat-grid{height:calc(100vh - 124px);display:grid;grid-template-columns:minmax(230px,.66fr) minmax(282px,.78fr) minmax(0,1.9fr);gap:14px}.sms-column,.sms-chat-window{min-width:0;min-height:0;border:1px solid var(--line);border-radius:var(--radius);background:#fbfcff;box-shadow:var(--shadow)}.sms-column{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);padding:12px}.room-column:has(.batch-reply-panel){grid-template-rows:auto auto auto auto minmax(0,1fr)}.room-column{overflow:hidden}.sms-column-head{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 12px}.sms-column-head div{min-width:0}.sms-column-head span,.sms-column-head small{color:var(--muted);font-size:11px;font-weight:900;letter-spacing:0}.sms-column-head strong{display:block;margin-top:3px;overflow:hidden;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:17px}.sms-column-head small{min-height:28px;display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:7px;padding:0 9px;background:#fff}.room-head-actions{flex:1 1 auto;min-width:0;width:100%;display:flex;align-items:center;justify-content:flex-start;gap:8px}.batch-reply-toggle{min-height:34px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;padding:0 10px;color:#334155;background:#fff;box-shadow:var(--control-shadow);cursor:pointer;font-size:13px;font-weight:850;white-space:nowrap}.batch-reply-toggle:hover,.batch-reply-toggle.active{color:#1d4ed8;border-color:#0a84ff4d;background:#eef4fff2}.batch-reply-toggle em{min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;color:#fff;background:#2563eb;font-size:11px;font-style:normal;font-weight:900}.sms-search-row{display:flex;align-items:center;gap:10px}.sms-search{min-width:0;width:100%;min-height:44px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:0 12px;background:#fff}.sms-search input{min-height:40px;border:0;box-shadow:none;padding:0}.sms-tabs{min-width:0;flex:0 0 auto;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);margin-top:14px;overflow-x:auto}.room-tabs{position:relative;z-index:2;min-height:32px;background:#fbfcff}.sms-tabs button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:36px;border-radius:7px 7px 0 0;padding:0 8px;color:var(--text);background:transparent;white-space:nowrap;cursor:pointer;font-size:14px;font-weight:850}.sms-tabs button.active{color:#1d4ed8;background:#eef4ff}.tab-count-badge{min-width:18px;height:18px;padding:0 5px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#dbeafe;color:#1d4ed8;font-size:11px;font-weight:900;line-height:1}.sms-tabs button.active .tab-count-badge{background:#2563eb;color:#fff}.sms-tabs button.active .tab-count-badge.risk,.tab-count-badge.risk{background:#fee2e2;color:#b91c1c}.sms-tabs button.active:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:3px;border-radius:999px 999px 0 0;background:#2563eb}.batch-reply-panel{display:grid;gap:8px;border:1px solid rgba(10,132,255,.18);border-radius:8px;margin-top:10px;padding:10px;background:linear-gradient(180deg,#f8fbfffa,#fffffff0);box-shadow:0 12px 28px #0f172a0f}.batch-reply-head,.batch-reply-actions{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}.batch-reply-head strong{color:#0f172a;font-size:14px;font-weight:900}.batch-reply-head span{min-height:22px;display:inline-flex;align-items:center;border-radius:999px;padding:0 8px;color:#1d4ed8;background:#eef4ff;font-size:12px;font-weight:900}.batch-reply-panel textarea{min-height:74px;max-height:136px;border:1px solid #dbe4f2;border-radius:8px;padding:10px 12px;color:var(--text);background:#fff;resize:vertical;font-size:14px;line-height:1.45}.batch-reply-mode,.batch-reply-table-box{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.batch-reply-mode label{display:inline-flex;align-items:center;gap:5px;color:#334155;font-size:13px;font-weight:800}.batch-reply-table-box{border:1px solid #dbe4f2;border-radius:8px;padding:8px;background:#fff}.batch-reply-table-box>span{flex:1 1 160px;min-width:0;color:#64748b;font-size:12px;font-weight:700}.batch-reply-table-box>strong{color:#1d4ed8;font-size:12px}.batch-reply-actions{flex-wrap:wrap;justify-content:flex-end}.batch-reply-actions .button{min-height:32px;border-radius:7px;padding:0 10px;font-size:13px}.auto-first-reply-card{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid rgba(148,163,184,.28);border-radius:10px;margin-top:10px;padding:10px;background:linear-gradient(135deg,#fffffffa,#f6f9fff5),#fff;box-shadow:0 10px 24px #0f172a0d}.auto-first-reply-card.enabled{border-color:#0a84ff57;background:linear-gradient(135deg,#eff6fffa,#fffffff5),#fff}.room-auto-first-reply{flex:1 1 160px;min-width:142px;max-width:230px;min-height:34px;grid-template-columns:auto minmax(0,1fr) auto;gap:7px;margin-top:0;border-radius:8px;padding:5px 6px;box-shadow:0 8px 18px #0f172a0a}.room-auto-first-reply .auto-first-reply-switch{flex:0 0 auto}.room-auto-first-reply .auto-first-reply-switch span{width:36px;height:20px}.room-auto-first-reply .auto-first-reply-switch span:after{width:14px;height:14px}.room-auto-first-reply .auto-first-reply-switch input:checked+span:after{transform:translate(16px)}.auto-first-reply-summary{min-width:0;border:0;padding:0;text-align:left;background:transparent;cursor:pointer}.room-auto-first-reply .auto-first-reply-main strong{max-width:100%;font-size:12px}.room-auto-first-reply .auto-first-reply-main small{max-width:100%;font-size:10px}.room-auto-first-reply .auto-first-reply-manage{flex:0 0 auto;min-height:28px;padding:0 6px;font-size:11px}.auto-first-reply-switch{display:inline-flex;align-items:center;cursor:pointer}.auto-first-reply-switch input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.auto-first-reply-switch span{position:relative;width:42px;height:24px;border-radius:999px;background:#cbd5e1;box-shadow:inset 0 0 0 1px #0f172a14;transition:background .16s ease,box-shadow .16s ease}.auto-first-reply-switch span:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:999px;background:#fff;box-shadow:0 3px 8px #0f172a38;transition:transform .16s ease}.auto-first-reply-switch input:checked+span{background:#0a84ff;box-shadow:inset 0 0 0 1px #2563eb2e,0 0 0 4px #0a84ff1a}.auto-first-reply-switch input:checked+span:after{transform:translate(18px)}.auto-first-reply-switch input:disabled+span{cursor:wait;opacity:.62}.auto-first-reply-main{min-width:0;display:grid;gap:2px}.auto-first-reply-main strong,.auto-first-reply-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auto-first-reply-main strong{color:#0f172a;font-size:14px;font-weight:950}.auto-first-reply-main small{color:#64748b;font-size:12px;font-weight:750}.auto-first-reply-manage{min-height:32px;padding:0 9px;font-size:12px}.auto-first-reply-modal{width:min(720px,100%)}.auto-first-reply-editor-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:center;margin:14px 20px 0}.auto-first-reply-editor-head .switch-row{min-height:42px}.segmented-send-row span{display:grid;gap:2px}.segmented-send-row strong{color:#0f172a;font-size:13px}.segmented-send-row small{color:#64748b;font-size:12px;font-weight:700;line-height:1.35}.auto-first-reply-hint{margin:8px 20px 0;color:#64748b;font-size:13px;font-weight:750;line-height:1.55}.tn-list,.room-list{min-height:0;display:grid;align-content:start;gap:8px;padding-top:12px;overflow:auto}.tn-card,.room-card{min-width:0;position:relative;overflow:hidden;border:1px solid transparent;border-radius:8px;color:var(--text);background:#fff;text-align:left;cursor:pointer}.tn-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 10px 11px 12px}.tn-card:hover,.tn-card.active,.room-card:hover,.room-card.active{border-color:#b9cdfa;background:#f5f8ff}.tn-card:before,.room-card:before{content:"";position:absolute;inset:10px auto 10px 0;width:3px;border-radius:0 999px 999px 0;background:transparent}.tn-card.active:before,.room-card.active:before{background:#2563eb}.tn-card.has-unread:before{background:#0f766e}.tn-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;color:#1f2937;border:1px solid #d8e0ed;background:#f2f6fb;font-size:14px;font-weight:900}.tn-card.active .tn-avatar{color:#fff;border-color:#1d4ed8;background:#1d4ed8}.tn-card-main,.tn-card strong,.tn-mini-metrics,.tn-mini-metrics span,.room-card strong,.room-card span,.room-card p,.room-card small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tn-card strong,.room-card strong{display:block;font-size:14px}.room-card span,.room-card small{color:var(--muted);font-size:12px;font-weight:750}.tn-mini-metrics{display:flex;align-items:center;gap:8px;margin-top:4px;color:var(--muted);font-size:12px;font-weight:800}.tn-card em,.room-meta em{min-width:22px;min-height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;color:#fff;background:#1d4ed8;font-size:12px;font-style:normal;font-weight:900}.tn-card em:empty{display:none}.room-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:12px 12px 12px 14px}.room-card.batch-mode{grid-template-columns:24px 38px minmax(0,1fr) auto;touch-action:none;-webkit-user-select:none;user-select:none}.room-card.batch-selected{border-color:#0a84ff61;background:#edf6ff}.room-card.batch-selected:before{background:#0a84ff}.room-load-more{min-height:38px;border:1px solid rgba(37,99,235,.16);border-radius:8px;color:#1d4ed8;background:#f6f9ff;font-size:12px;font-weight:900;cursor:pointer}.room-load-more:hover:not(:disabled){border-color:#2563eb52;background:#edf4ff}.room-load-more:disabled{cursor:wait;opacity:.65}.room-select-indicator{width:22px;height:22px;display:inline-grid;place-items:center;border:1px solid rgba(148,163,184,.36);border-radius:7px;color:#94a3b8;background:#fff;box-shadow:0 6px 14px #0f172a0f}.room-select-indicator.checked{color:#fff;border-color:#0a84ff;background:#0a84ff}.room-card p{grid-column:1 / -1;margin:0;color:var(--muted);font-size:13px}.room-meta{display:flex;align-items:center;gap:6px}.sms-chat-window{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;background:#fff}.sms-chat-head{min-height:82px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;border-bottom:1px solid var(--line);padding:14px 18px;background:#f8fafc}.chat-head-main{min-width:0;display:grid;gap:8px;justify-self:stretch}.chat-peer{min-width:0;display:flex;align-items:center;gap:12px}.peer-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;color:#1d4ed8;background:#fff}.chat-peer h2,.chat-peer span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-session-stats{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.chat-session-stats span{min-height:24px;display:inline-flex;align-items:center;gap:4px;border:1px solid #dde6f3;border-radius:7px;padding:0 8px;color:var(--muted);background:#fff;font-size:12px;font-weight:850}.chat-session-stats b{color:var(--text)}.chat-peer h2{margin:0;font-size:18px}.chat-peer span{color:var(--muted);font-size:13px;font-weight:800}.chat-head-actions{display:flex;align-items:center;align-self:start;justify-self:start;flex-wrap:wrap;gap:10px}.sms-message-pane{position:relative;min-height:0;overflow:auto;padding:18px 20px;background:linear-gradient(180deg,#f8fafccc,#fff0 160px),#fff}.sms-message-list{display:grid;gap:12px}.sms-message{width:fit-content;max-width:min(620px,82%);display:grid;gap:7px;border:1px solid var(--line);border-radius:7px;padding:11px 12px;background:#fff;box-shadow:0 10px 18px #0f172a0d}.sms-message.outbound{justify-self:end;color:#fff;border-color:#1f4fd3;background:#2556d8}.sms-message img{max-width:min(360px,72vw);max-height:360px;border-radius:7px;object-fit:contain}.message-topline{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:850}.sms-message.outbound .message-topline,.sms-message.outbound small{color:#dfe3ff}.sms-message.outbound .status-pill{color:#2731a6;background:#eef0ff}.sms-message p{margin:0;white-space:pre-wrap;word-break:break-word}.sms-message small{color:var(--muted);font-size:12px}.sms-message .message-error{color:#ffd8d3;font-weight:850}.message-failed-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:4px}.message-failed-actions .message-error{margin:0}.message-retry-button{min-height:24px;display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(255,255,255,.48);border-radius:999px;padding:0 8px;color:#1d4ed8;background:#eef2ff;font-size:11px;font-weight:900;cursor:pointer}.message-retry-button:disabled{cursor:not-allowed;opacity:.65}.chat-empty{display:grid;place-items:center;align-content:center;gap:10px;color:var(--muted)}.chat-loading-mask{position:absolute;inset:0;z-index:2;display:grid;place-items:center;align-content:center;gap:12px;color:#1d4ed8;background:#f8fafcdb;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);pointer-events:all}.chat-loading-mask strong{color:#1e3a8a;font-size:14px;font-weight:950}.chat-loading-spinner{width:30px;height:30px;border:3px solid #bfdbfe;border-top-color:#2563eb;border-radius:999px;animation:chat-loading-spin .8s linear infinite}@keyframes chat-loading-spin{to{transform:rotate(360deg)}}.sms-composer{display:grid;gap:10px;border-top:1px solid var(--line);padding:14px 18px 18px;background:#f8fafc}.composer-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.composer-tools>div:first-child{display:flex;align-items:center;gap:8px}.send-notice{min-height:30px;display:inline-flex;align-items:center;width:fit-content;max-width:100%;border:1px solid rgba(148,163,184,.28);border-radius:7px;padding:6px 10px;color:var(--muted);background:#ffffffc7;box-shadow:0 8px 20px #0f172a0d;font-size:13px;font-weight:800}.send-notice-sending{color:#1d4ed8;border-color:#5661f647;background:#eef0ffe6}.send-notice-success{color:#166534;border-color:#34825842;background:#f0fdf4e6}.send-notice-failed{color:var(--danger);border-color:#b43c3c47;background:#fef2f2eb}.send-key-toggle{display:inline-flex;overflow:hidden;border:1px solid var(--line);border-radius:7px;background:#fff}.send-key-toggle button{min-height:32px;padding:0 11px;color:var(--text);background:#fff;cursor:pointer;font-weight:850}.send-key-toggle button.active{color:#fff;background:#1d4ed8}.quick-reply-popover{max-height:240px;display:grid;gap:8px;overflow:auto;border:1px solid #dbe4f2;border-radius:8px;padding:10px;background:#fff;box-shadow:0 14px 30px #0f172a14}.emoji-popover{display:flex;flex-wrap:wrap;gap:6px;border:1px solid #dbe4f2;border-radius:8px;padding:10px;background:#fff;box-shadow:0 14px 30px #0f172a14}.emoji-popover button{width:34px;height:34px;display:grid;place-items:center;border:1px solid transparent;border-radius:7px;background:#f8fafc;cursor:pointer;font-size:18px}.emoji-popover button:hover{border-color:#b9cdfa;background:#eef4ff}.link-tail-popover{display:grid;gap:10px;border:1px solid #dbe4f2;border-radius:8px;padding:12px;background:#fff;box-shadow:0 14px 30px #0f172a14}.link-tail-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.link-tail-head strong{color:#0f172a;font-size:14px;font-weight:950}.link-tail-popover input,.link-tail-result{width:100%;border:1px solid #dbe4f2;border-radius:7px;padding:9px 10px;color:#0f172a;background:#fbfdff;font-size:13px;font-weight:760}.link-tail-result{min-height:58px;resize:vertical;line-height:1.45;word-break:break-all}.link-tail-actions{display:flex;flex-wrap:wrap;gap:8px}.link-tail-actions .button{min-height:32px;border-radius:7px;padding:0 12px;font-size:13px}.quick-reply-option{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px 10px;border:1px solid var(--line);border-radius:8px;padding:10px 11px;color:var(--text);background:#fbfdff;text-align:left;cursor:pointer}.quick-reply-option:hover{border-color:#b9cdfa;background:#f5f8ff}.quick-reply-option span,.quick-reply-option em{min-height:22px;display:inline-flex;align-items:center;border-radius:7px;padding:0 7px;font-size:12px;font-style:normal;font-weight:900}.quick-reply-option span{color:#1d4ed8;background:#eef4ff}.quick-reply-option em{color:var(--muted);background:#eef2f7}.quick-reply-send{min-height:26px;display:inline-flex;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(37,99,235,.22);border-radius:7px;padding:0 8px;color:#1d4ed8;background:#eef4ff;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}.quick-reply-send:hover:not(:disabled){border-color:#2563eb6b;background:#dbeafe}.quick-reply-send:disabled{cursor:not-allowed;opacity:.55}.quick-reply-option strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-reply-option p{grid-column:1 / -1;margin:0;color:#475569;line-height:1.48;white-space:pre-wrap;word-break:break-word}.quick-reply-popover .empty-state,.script-picker .empty-state{min-height:132px;padding:22px 12px}.image-preview-row{min-height:48px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;padding:6px 8px;background:var(--panel-soft)}.image-preview-row img{width:44px;height:34px;border-radius:6px;object-fit:cover}.image-preview-row span{min-width:0;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800}.composer-box{position:relative;display:grid}.composer-box textarea{min-height:96px;max-height:190px;border:1px solid #e0e7f1;border-radius:8px;padding:18px 72px 18px 20px;background:#fff;box-shadow:none;resize:vertical;font-size:16px}.send-fab{position:absolute;right:18px;bottom:18px;width:48px;height:48px;display:grid;place-items:center;border-radius:8px;color:#fff;background:#1d4ed8;cursor:pointer}.send-fab:disabled{cursor:not-allowed;opacity:.55}.script-picker{display:grid;gap:9px;max-height:360px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:12px;background:#f8fafc}.script-picker-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.script-picker-head span{color:var(--muted);font-size:13px;font-weight:850}.script-picker-head small{color:var(--muted);font-weight:750}.script-picker.follow-rule-box{max-height:none;overflow:visible}.follow-target-options{display:flex;flex-wrap:wrap;gap:10px}.radio-chip{min-height:34px;display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:7px;padding:0 11px;background:#fff;color:var(--text);font-size:13px;font-weight:800;cursor:pointer}.radio-chip input{margin:0}.radio-chip:has(input:checked){border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.follow-script-summary{min-height:38px;display:flex;align-items:center;gap:8px;border:1px dashed #bfdbfe;border-radius:8px;padding:0 11px;color:#1d4ed8;background:#eff6ff;font-weight:850}.follow-file-import-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:8px;padding:10px 11px;background:#fff}.follow-file-import-row>div{min-width:0;display:grid;gap:3px}.follow-file-import-row strong{font-size:13px}.follow-file-import-row span{overflow:hidden;color:var(--muted);font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.follow-file-import-row .button.disabled{cursor:not-allowed;opacity:.55}.follow-content-mode-row{margin:0}.follow-paste-panel{display:grid;gap:8px}.follow-paste-panel span,.follow-paste-actions span{color:var(--muted);font-size:12px;font-weight:850}.follow-paste-panel textarea{min-height:150px;padding:10px 12px;resize:vertical}.follow-paste-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.follow-image-panel{display:grid;gap:10px;min-height:0}.follow-image-panel .file-pick-row{margin:0}.follow-image-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));max-height:none;overflow:visible;padding:4px;scrollbar-gutter:stable}.follow-image-grid .broadcast-image-choice img{height:150px;object-fit:contain}@media(max-width:720px){.follow-modal{width:calc(100vw - 20px);height:calc(100vh - 20px);max-height:calc(100vh - 20px)}.follow-modal-body{padding:0 0 18px}.follow-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.follow-image-grid .broadcast-image-choice img{height:120px}}.script-choice{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 10px;border:1px solid var(--line);border-radius:8px;padding:11px;color:var(--text);background:#fff;text-align:left;cursor:pointer}.script-choice:hover,.script-choice.active{border-color:#b9cdfa;background:#eef4ff}.script-choice span{min-height:24px;display:inline-flex;align-items:center;border-radius:7px;padding:0 8px;color:#1d4ed8;background:#fff;font-size:12px;font-weight:900}.script-choice strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.script-choice p{grid-column:1 / -1;margin:0;color:#475569;line-height:1.55;white-space:pre-wrap;word-break:break-word}@media(max-width:860px){.login-page,.shell,.sms-chat-grid,.broadcast-layout{grid-template-columns:1fr}.login-side,.sidebar{display:none}.topbar,.toolbar,.account-assign-bar,.broadcast-capacity-panel,.account-quota-panel,.broadcast-actionbar{align-items:flex-start;flex-direction:column}.account-assign-bar,.account-quota-panel{grid-template-columns:1fr}.search-field{min-width:0;width:100%}.timezone-control,.customer-select-native{width:100%}.metric-grid,.modal-grid,.split-import-grid,.result-summary,.broadcast-filter-grid,.template-card,.script-grid,.account-table .table-row{grid-template-columns:1fr}.task-name-inline{width:100%;grid-template-columns:1fr}.broadcast-expanded{inset:16px}.sms-chat-grid{height:auto}.sms-column,.sms-chat-window{min-height:420px}.composer-tools,.sms-chat-head{align-items:flex-start;flex-direction:column}.sms-chat-head{grid-template-columns:1fr}}:root{--bg: #eef2f7;--panel: rgba(255, 255, 255, .86);--panel-solid: #ffffff;--panel-soft: rgba(248, 250, 252, .88);--panel-strong: rgba(226, 232, 240, .72);--line: rgba(148, 163, 184, .28);--text: #1d1d1f;--muted: #6e7681;--brand: #0a84ff;--brand-strong: #006edb;--brand-soft: rgba(10, 132, 255, .12);--shadow: 0 18px 42px rgba(15, 23, 42, .09), 0 1px 0 rgba(255, 255, 255, .72) inset;--shadow-hover: 0 22px 52px rgba(15, 23, 42, .13), 0 1px 0 rgba(255, 255, 255, .74) inset;--control-shadow: 0 8px 20px rgba(15, 23, 42, .08);--spring: cubic-bezier(.22, 1, .36, 1);--fast: .15s;--medium: .24s;--radius: 8px}html{scrollbar-gutter:stable}*{-webkit-tap-highlight-color:transparent}body{overflow-x:hidden;background:linear-gradient(180deg,#ffffffe6,#eef2f7b3 38%,#eef2f7),var(--bg)}body,.tn-list,.room-list,.sms-message-pane,.modal-body,.quick-reply-popover,.script-picker,.data-table{overscroll-behavior:contain;scrollbar-color:rgba(100,116,139,.42) transparent;scrollbar-width:thin}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:999px;background:#64748b61;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background:#64748b94;background-clip:content-box}button,a,input,select,textarea,.nav-item,.table-row,.metric-card,.section-panel,.template-card,.script-card,.task-card,.tn-card,.room-card,.quick-reply-option,.script-choice,.sms-message,.modal,.login-card{transition:transform var(--fast) var(--spring),box-shadow var(--medium) var(--spring),border-color var(--fast) ease,background-color var(--fast) ease,color var(--fast) ease,opacity var(--fast) ease}button,.nav-item,.task-card,.tn-card,.room-card,.quick-reply-option,.script-choice{will-change:transform}button:active:not(:disabled),.nav-item:active,.task-card:active,.tn-card:active,.room-card:active,.quick-reply-option:active,.script-choice:active{transform:scale(.975)}svg{flex:0 0 auto;stroke-linecap:round;stroke-linejoin:round;transition:transform var(--fast) var(--spring),color var(--fast) ease}input,select,textarea{border-color:#94a3b85c;background:#ffffffd1;box-shadow:0 1px #ffffffc2 inset}input:hover,select:hover,textarea:hover{border-color:#64748b80;background:#fffffff0}input:focus,select:focus,textarea:focus{border-color:#0a84ffb8;background:#fff;box-shadow:0 0 0 4px #0a84ff24,0 1px #fffc inset}.shell{background:linear-gradient(90deg,#ffffffad,#fff0 260px),transparent}.sidebar{border-right-color:#94a3b838;background:#f6f8fbc7;-webkit-backdrop-filter:blur(30px) saturate(1.3);backdrop-filter:blur(30px) saturate(1.3);box-shadow:1px 0 #ffffffa3 inset}.brand{border-bottom-color:#94a3b82e}.brand img{filter:drop-shadow(0 8px 14px rgba(10,132,255,.18))}.nav-list{gap:5px}.nav-item{position:relative;min-height:40px;border:1px solid transparent;color:#303642}.nav-item svg{width:28px;height:28px;padding:5px;border-radius:7px;color:#667085;background:#ffffff94}.nav-item:hover{border-color:#94a3b838;background:#ffffff94;box-shadow:0 8px 18px #0f172a0d}.nav-item:hover svg{color:var(--brand);transform:translateY(-1px)}.nav-item.router-link-active{color:#0f172a;border-color:#0a84ff33;background:#ffffffc2;box-shadow:0 10px 24px #0a84ff1a}.nav-item.router-link-active:before{content:"";position:absolute;inset:9px auto 9px -4px;width:3px;border-radius:999px;background:var(--brand)}.nav-item.router-link-active svg{color:#fff;background:linear-gradient(180deg,#29a3ff,#0a84ff);box-shadow:0 8px 16px #0a84ff3d}.topbar{border-bottom-color:#94a3b833;background:#f2f6fbb8;-webkit-backdrop-filter:blur(26px) saturate(1.35);backdrop-filter:blur(26px) saturate(1.35)}.topbar h1,.login-card h2,.section-header h2{font-weight:850}.content{animation:macFadeIn .28s var(--spring) both}.toolbar,.section-panel,.metric-card,.login-card,.sms-column,.sms-chat-window,.modal,.template-card,.script-card,.task-card,.quick-reply-popover,.script-picker{border-color:#94a3b842;background:var(--panel);-webkit-backdrop-filter:blur(22px) saturate(1.18);backdrop-filter:blur(22px) saturate(1.18);box-shadow:var(--shadow)}.toolbar:hover,.section-panel:hover,.metric-card:hover,.template-card:hover,.script-card:hover,.task-card:hover{box-shadow:var(--shadow-hover)}.metric-card:hover,.template-card:hover,.script-card:hover,.task-card:hover,.tn-card:hover,.room-card:hover,.quick-reply-option:hover,.script-choice:hover{transform:translateY(-1px)}.button,.icon-button{border-color:#94a3b852;box-shadow:var(--control-shadow)}.button-primary{background:linear-gradient(180deg,#34a3ff,#0a84ff);box-shadow:0 12px 24px #0a84ff38}.button-primary:hover{background:linear-gradient(180deg,#43adff,#0877e8);transform:translateY(-1px);box-shadow:0 16px 30px #0a84ff47}.button-ghost:hover,.icon-button:hover{border-color:#0a84ff3d;background:#ffffffe0;transform:translateY(-1px)}.icon-button.active{color:var(--brand);border-color:#0a84ff52;background:#0a84ff1f}.user-chip,.status-pill,.permission-tag,.chat-session-stats span,.sms-column-head small,.send-key-toggle,.pager select{border-color:#94a3b842;background:#ffffffb3;box-shadow:0 1px #ffffffb8 inset}.table-head{background:#f8fafcdb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.table-row{border-top-color:#94a3b82e}.table-row:not(.table-head):hover{background:#ffffff8a}.tn-card,.room-card,.quick-reply-option,.script-choice{background:#ffffffb3}.tn-card:hover,.tn-card.active,.room-card:hover,.room-card.active,.quick-reply-option:hover,.script-choice:hover,.script-choice.active{border-color:#0a84ff3d;background:#ffffffe6;box-shadow:0 10px 24px #0f172a14}.tn-card.active .tn-avatar,.send-key-toggle button.active,.send-fab{background:linear-gradient(180deg,#34a3ff,#0a84ff)}.sms-message{animation:macPop .22s var(--spring) both}.sms-message.outbound{border-color:#0a84ff70;background:linear-gradient(180deg,#209bff,#0a74e8)}.sms-message.inbound{background:#ffffffd6}.composer-box textarea{border-color:#94a3b847;background:#ffffffdb;box-shadow:0 14px 32px #0f172a0f inset}.modal-backdrop{background:#f8fafc94;-webkit-backdrop-filter:blur(18px) saturate(1.12);backdrop-filter:blur(18px) saturate(1.12)}.modal{animation:macModalIn .23s var(--spring) both}.login-page{background:linear-gradient(135deg,#ecf2f9f5,#fffc),var(--bg)}.login-side{color:#1d1d1f;background:linear-gradient(145deg,#ffffffb3,#e0e8f3e6),#e8eef7}.login-side p{color:#566171}.login-card,.workspace{position:relative}.route-progress{position:sticky;top:0;z-index:40;height:2px;overflow:hidden;opacity:0;pointer-events:none}.route-progress:before{content:"";width:42%;height:100%;display:block;border-radius:999px;background:linear-gradient(90deg,transparent,#5bb5ff 18%,#0a84ff 72%,transparent);filter:drop-shadow(0 0 8px rgba(10,132,255,.55));transform:translate(-120%)}.route-progress.active{opacity:1}.route-progress.active:before{animation:routeProgress .52s var(--spring) both}.content{position:relative;overflow-x:clip}.route-view{min-width:0;display:block;transform-origin:50% 24px;backface-visibility:hidden}.route-forward-enter-active,.route-forward-leave-active,.route-back-enter-active,.route-back-leave-active{transition:opacity .18s ease,transform .22s var(--spring),filter .18s ease;will-change:opacity,transform,filter}.route-forward-leave-active,.route-back-leave-active{position:absolute;inset:0;width:100%;pointer-events:none}.route-forward-enter-from{opacity:.76;filter:blur(2px);transform:translate(10px) scale(.996)}.route-forward-leave-to{opacity:.46;filter:blur(1.5px);transform:translate(-8px) scale(.998)}.route-back-enter-from{opacity:.76;filter:blur(2px);transform:translate(-10px) scale(.996)}.route-back-leave-to{opacity:.46;filter:blur(1.5px);transform:translate(8px) scale(.998)}.title-swap-enter-active,.title-swap-leave-active{transition:opacity .13s ease,transform .17s var(--spring)}.title-swap-leave-active{position:absolute}.title-swap-enter-from{opacity:.72;transform:translateY(4px)}.title-swap-leave-to{opacity:.34;transform:translateY(-4px)}.app-swap-enter-active,.app-swap-leave-active{transition:opacity .22s ease,transform .28s var(--spring),filter .22s ease}.app-swap-leave-active{position:fixed;inset:0;width:100%;pointer-events:none}.app-swap-enter-from,.app-swap-leave-to{opacity:.58;filter:blur(2px);transform:scale(.996)}@keyframes macFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes routeProgress{0%{transform:translate(-120%)}48%{transform:translate(62%)}to{transform:translate(245%)}}@keyframes macModalIn{0%{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes macPop{0%{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes socketPulse{0%,to{opacity:.62;transform:scale(.96)}50%{opacity:1;transform:scale(1.04)}}.shell{grid-template-columns:190px minmax(0,1fr);font-size:13px}.sidebar{gap:10px;padding:10px 9px}.brand{gap:8px;padding:0 7px 9px}.brand img{width:48px;height:48px}.brand strong{font-size:14px}.brand span,.page-kicker,.user-chip em{font-size:12px}.nav-list{gap:4px}.nav-item{min-height:34px;gap:8px;border-radius:6px;padding:0 8px;font-size:13px}.nav-item svg{width:24px;height:24px;padding:4px}.topbar{min-height:52px;padding:0 16px}.topbar h1{font-size:17px}.topbar-actions{gap:8px}.topbar-chat-actions{gap:6px;min-width:0;margin-right:2px}.topbar-chat-actions .button{min-height:32px;padding:0 9px;font-size:12px}.user-chip{min-height:32px;gap:6px;padding:0 9px}.content{max-width:none;padding:12px}.page-stack,.toolbar,.section-header{gap:10px}.toolbar{padding:10px 12px}.filter-row,.toolbar-actions{gap:8px}label{gap:5px}.login-card>div>span,label span{font-size:12px}input,select,textarea{min-height:36px;border-radius:6px;padding:0 9px;font-size:13px}textarea{padding:9px}.search-field{min-width:220px;min-height:36px;gap:6px;border-radius:6px;padding:0 9px}.search-field input{min-height:30px}.button,.icon-button{min-height:34px;gap:5px;border-radius:6px;padding:0 10px;font-size:13px;flex:0 0 auto;line-height:1;white-space:nowrap}.icon-button{width:34px;padding:0}.section-header{padding:11px 12px}.section-header h2{font-size:16px}.section-header p{margin-top:2px;font-size:13px}.metric-grid{gap:10px}.metric-card{gap:6px;padding:11px 12px}.metric-card span{font-size:12px}.metric-card strong{font-size:22px}.table-row{gap:8px;padding:8px 11px;font-size:13px}.table-head{font-size:12px}.status-pill{min-height:22px;padding:0 8px;font-size:12px}.permission-tags{gap:4px}.permission-tag{min-height:22px;padding:0 7px;font-size:12px}.empty-state{min-height:150px;gap:6px;padding:22px 14px}.modal-header,.modal-actions{padding:12px 14px}.modal-header h3{font-size:17px}.modal-grid{gap:10px;padding:12px 14px 0}.modal-block,.template-content-field,.script-picker{margin:12px 14px 0}.helper-note,.follow-copy{margin:10px 14px 0;padding:8px 9px;font-size:13px}.account-assign-bar{gap:10px;grid-template-columns:minmax(210px,1fr) auto auto;padding:10px 12px}.broadcast-capacity-panel{gap:10px;padding:12px 14px}.broadcast-capacity-copy strong{font-size:32px}.account-quota-panel{grid-template-columns:minmax(210px,1fr) minmax(150px,auto) auto;gap:10px;padding:10px 12px}.limit-actions label{width:156px}.account-assign-bar span,.account-lines small,.account-usage span,.account-assignee span,.account-title span,.pager span{font-size:12px}.account-table .table-row{min-width:720px;grid-template-columns:minmax(170px,.9fr) minmax(240px,1.2fr) 92px minmax(150px,.95fr)}.service-table .table-row{min-width:1240px;grid-template-columns:minmax(140px,.9fr) minmax(142px,.8fr) 120px 84px 136px minmax(430px,auto)}.credential-row{gap:6px}.check-cell input{width:15px;min-height:15px}.pager{min-height:42px;gap:7px;padding:7px 12px}.pager strong{min-width:28px}.pager select{width:104px}.template-list,.script-grid{gap:8px;padding:10px}.template-card{grid-template-columns:36px minmax(0,1fr) auto;gap:9px;padding:9px}.template-rank{min-height:30px;border-radius:6px;font-size:13px}.template-body{gap:5px}.template-title-row,.template-meta,.template-actions,.script-card-head,.script-actions{gap:7px}.template-body p,.script-card p{line-height:1.42;font-size:13px}.template-meta{font-size:12px}.script-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.script-card{gap:7px;padding:10px}.script-card-head>span{min-height:22px;border-radius:6px;padding:0 7px;font-size:12px}.sms-chat-grid{height:calc(100vh - 78px);grid-template-columns:minmax(232px,.72fr) minmax(276px,.86fr) minmax(0,1.55fr);gap:9px}.sms-column{padding:8px}.sms-column-head{min-height:38px;gap:8px;padding:0 1px 8px}.sms-column-head strong{margin-top:1px;font-size:15px}.sms-column-head small{min-height:24px;border-radius:6px;padding:0 7px}.sms-search-row{gap:7px}.sms-search{min-height:34px;gap:6px;border-radius:6px;padding:0 9px}.sms-search input{min-height:30px}.sms-tabs{gap:5px;margin-top:8px}.sms-tabs button{min-height:30px;border-radius:6px 6px 0 0;padding:0 7px;font-size:13px}.tn-list,.room-list{gap:6px;padding-top:8px}.tn-card{grid-template-columns:30px minmax(0,1fr) auto;gap:8px;padding:8px 8px 8px 10px}.tn-avatar{width:30px;height:30px;border-radius:6px;font-size:13px}.tn-card strong,.room-card strong{font-size:13px}.tn-mini-metrics{gap:6px;margin-top:2px;font-size:12px}.tn-card em,.room-meta em{min-width:18px;min-height:18px;font-size:11px}.room-card{gap:5px 8px;padding:8px 9px 8px 11px}.room-card span,.room-card small,.room-card p{font-size:12px}.room-meta{gap:5px}.sms-chat-head{min-height:56px;gap:10px;padding:9px 12px}.chat-head-main{gap:5px}.chat-peer{gap:8px}.peer-icon{width:32px;height:32px;border-radius:6px}.chat-peer h2{font-size:16px}.muted-peer h2{font-size:15px}.chat-peer span{font-size:12px}.chat-session-stats{gap:5px}.chat-session-stats span{min-height:20px;border-radius:6px;padding:0 6px;font-size:12px}.chat-head-actions{max-width:360px;gap:7px}.sms-message-pane{padding:12px 14px}.sms-message-list{gap:8px}.sms-message{gap:5px;max-width:min(520px,82%);padding:8px 10px;font-size:13px}.message-topline,.sms-message small{font-size:12px}.sms-composer{gap:7px;padding:9px 12px 12px}.composer-tools{gap:8px}.send-key-toggle button{min-height:28px;padding:0 9px;font-size:13px}.quick-reply-popover{max-height:190px;gap:6px;border-radius:7px;padding:7px}.quick-reply-option{gap:4px 8px;border-radius:7px;padding:7px 8px}.quick-reply-option span,.quick-reply-option em,.quick-reply-send,.script-choice span{min-height:20px;border-radius:6px;padding:0 6px;font-size:12px}.quick-reply-option p,.script-choice p{line-height:1.38;font-size:13px}.image-preview-row{min-height:40px;grid-template-columns:36px minmax(0,1fr) auto;gap:8px;border-radius:7px;padding:5px 7px}.image-preview-row img{width:36px;height:28px}.image-preview-row span{font-size:13px}.composer-box textarea{min-height:70px;max-height:140px;border-radius:7px;padding:12px 56px 12px 14px;font-size:14px}.send-fab{right:12px;bottom:12px;width:38px;height:38px;border-radius:7px}.script-picker{gap:7px;max-height:260px;padding:8px}.script-picker-head span{font-size:13px}.script-choice{gap:5px 8px;border-radius:7px;padding:8px}.broadcast-expanded{inset:62px 12px 12px 202px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;scroll-behavior:auto!important;transition-duration:1ms!important}}.shell,.nav-item,.brand strong,.topbar h1,.section-header h2{font-size:14px}.topbar h1,.section-header h2{font-size:18px}.brand span,.page-kicker,.user-chip em,.login-card>div>span,label span,.section-header p,.metric-card span,.table-head,.status-pill,.permission-tag,.helper-note,.follow-copy,.account-assign-bar span,.account-lines small,.account-assignee span,.account-title span,.pager span,.template-meta,.script-card-head>span,.tn-mini-metrics,.tn-card em,.room-meta em,.room-card span,.room-card small,.room-card p,.chat-peer span,.chat-session-stats span,.message-topline,.sms-message small,.quick-reply-option span,.quick-reply-option em,.quick-reply-send,.script-choice span,.script-picker-head span,.broadcast-page .muted,.task-meta,.task-stat span,.action-menu button,.broadcast-pager span,.result-drawer .section-header p{font-size:13px}input,select,textarea,.button,.icon-button,.tab-button,.send-key-toggle button,.broadcast-page input,.broadcast-page select,.broadcast-page textarea,.broadcast-page .button,.broadcast-page .icon-button{font-size:14px}input,select,textarea,.search-field,.button,.icon-button{min-height:36px}.icon-button{width:36px}.table-row,.account-table .table-row,.service-table .table-row,.broadcast-task-table .table-row,.broadcast-result-table .table-row,.result-drawer .broadcast-result-table .table-row,.template-body p,.script-card p,.sms-tabs button,.tn-card strong,.room-card strong,.sms-message,.quick-reply-option p,.script-choice p,.image-preview-row span{font-size:14px}.metric-card strong{font-size:24px}.modal-header h3,.template-rank,.sms-column-head strong,.chat-peer h2{font-size:17px}.muted-peer h2{font-size:16px}.composer-box textarea{font-size:15px}.account-distribute-modal{max-width:560px}.customer-check-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 10px}.customer-check-toolbar>div{display:flex;gap:8px}.customer-check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:360px;overflow:auto;padding:2px}.customer-check-item{display:flex;align-items:center;gap:10px;min-height:54px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#ffffffe0;cursor:pointer}.customer-check-item:hover{border-color:#3c6aff59;box-shadow:0 8px 22px #232d5014}.customer-check-item.disabled{opacity:.46;cursor:not-allowed}.customer-check-item input{min-height:auto}.customer-check-item span{display:grid;min-width:0}.customer-check-item strong,.customer-check-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-check-item small{color:var(--muted)}.batch-service-modal{max-width:620px}.batch-control-grid{display:grid;grid-template-columns:minmax(150px,.72fr) minmax(220px,1fr);gap:12px;padding:14px 14px 0}.batch-quota-field input{color:#d31616;font-size:17px;font-weight:950}.batch-quota-summary{margin:12px 14px 0;border:1px solid rgba(14,165,233,.24);border-radius:10px;padding:10px 12px;color:#0f3b67;background:#eff8ffd1;font-size:13px;font-weight:850}.batch-preview-list{display:grid;gap:8px;max-height:360px;overflow:auto;margin-top:12px}.batch-preview-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,auto) minmax(88px,auto);align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#ffffffdb}.batch-preview-row strong,.batch-preview-row span,.batch-preview-row em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-preview-row span{color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.batch-preview-row em{color:#d31616;font-style:normal;font-weight:900;text-align:right}.tn-list,.room-list{padding:8px 2px 12px}.tn-card,.room-card{width:100%;box-sizing:border-box;line-height:1.25}.tn-card{min-height:54px}.room-card{min-height:76px}.room-card>div:first-child,.chat-peer>div:last-child{min-width:0}.tn-card strong,.room-card strong{color:var(--text);letter-spacing:0}.tn-mini-metrics,.room-card span,.room-card p,.room-card small{line-height:1.3}.sms-chat-grid{grid-template-columns:minmax(218px,.58fr) minmax(272px,.72fr) minmax(0,2.15fr)}.sms-column{background:#fff}.tn-list,.room-list{gap:0;padding:6px 0 10px}.tn-card,.room-card{border-radius:0;border-color:transparent;border-bottom:1px solid rgba(218,226,237,.72);box-shadow:none;background:#fff}.tn-card:hover,.tn-card.active,.room-card:hover,.room-card.active{border-color:transparent;border-bottom-color:#b9cdfae6;background:#f4f8ff}.tn-card:before,.room-card:before{inset:8px auto 8px 0;width:2px}.tn-avatar,.contact-avatar,.message-avatar{display:grid;place-items:center;flex:0 0 auto;overflow:hidden;color:#fff;border:0;border-radius:999px;background:var(--avatar-bg, #2563eb);background-image:var(--avatar-image);background-position:center;background-size:cover;box-shadow:inset 0 -10px 18px #00000024;color:transparent;font-weight:900;letter-spacing:0}.tn-avatar{width:28px;height:28px;font-size:12px}.all-avatar{background:#1f2937;background-image:none;color:#fff}.tn-card.active .tn-avatar{border:0;background:var(--avatar-bg, #1d4ed8);background-image:var(--avatar-image);background-position:center;background-size:cover}.tn-card{min-height:44px;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;padding:6px 7px 6px 9px}.tn-card strong{font-size:13px;line-height:1.18}.tn-title-row{min-width:0;display:flex;align-items:center;gap:6px}.tn-title-row strong{flex:1 1 auto}.tn-status-badge{flex:0 0 auto;min-height:16px;display:inline-flex;align-items:center;border-radius:999px;padding:0 5px;color:#64748b;background:#eef2f7;font-size:10px;font-weight:950;line-height:1}.tn-status-badge.status-normal,.tn-status-badge.status-pending_check{color:#047857;background:#d1fae5}.tn-status-badge.status-banned,.tn-status-badge.status-high_risk{color:#991b1b;background:#fee2e2}.tn-status-badge.status-limited,.tn-status-badge.status-restricted,.tn-status-badge.status-blocked,.tn-status-badge.status-offline,.tn-status-badge.status-proxy_failed{color:#9a3412;background:#ffedd5}.tn-mini-metrics{gap:5px;margin-top:3px;color:#16803a;font-size:11px;font-weight:850}.tn-card em,.room-unread{min-width:18px;height:18px;min-height:18px;padding:0 5px;font-size:11px}.room-card{min-height:68px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 8px 8px 10px}.contact-avatar{width:38px;height:38px;font-size:12px}.chat-avatar{width:38px;height:38px}.room-card-main{min-width:0;display:grid;gap:3px}.room-title-row,.room-sub-row,.message-topline{min-width:0;display:flex;align-items:center;gap:7px}.room-title-row strong,.room-title-row small,.room-sub-row span,.room-card p,.message-topline span,.message-topline small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-title-row strong{flex:1 1 auto;font-size:13px;font-weight:900}.room-title-row small{flex:0 0 auto;color:#6b7280;font-size:11px;font-weight:800}.room-sub-row{justify-content:space-between}.room-sub-row span{color:#6b7280;font-size:11px;font-weight:800}.room-sub-row .status-pill{min-height:18px;padding:0 6px;font-size:11px}.room-failed-chip{flex:0 0 auto;max-width:96px;min-height:18px;padding:0 6px;border:1px solid rgba(220,38,38,.3);border-radius:999px;background:#fef2f2;color:#dc2626!important;font-size:11px;font-weight:900;line-height:16px}.room-card.has-failed-outbound{box-shadow:inset 2px 0 #dc2626b3}.room-card p{grid-column:auto;color:#6b7280;font-size:12px}.room-side-actions{align-self:start;display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;min-width:34px;margin-top:2px}.room-favorite{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:0;border-radius:7px;color:#9ca3af;background:transparent;cursor:pointer;transition:background .16s ease,color .16s ease,transform .16s ease}.room-favorite:hover{color:#d97706;background:#f59e0b1a}.room-favorite.active{color:#f59e0b}.room-favorite.active svg{fill:currentColor}.room-favorite:active{transform:scale(.92)}.room-card.has-room-unread{border-color:#ef444447;background:linear-gradient(90deg,#fef2f2f5,#fff 44%)}.room-card.has-room-unread:before{background:#ef4444}.room-unread-chip{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:18px;padding:0 7px;border-radius:999px;color:#b91c1c!important;background:#fee2e2;font-size:11px!important;font-weight:900!important}.room-preview-unread{color:#111827!important;font-weight:850}.reply-prefix{color:#dc2626!important;font-size:inherit!important;font-weight:950!important}.room-card.has-room-unread .room-unread{color:#fff;background:#ef4444;box-shadow:0 8px 18px #ef444442}.sms-message-list{gap:10px}.sms-message-row{width:100%;display:flex;align-items:flex-start;gap:8px}.sms-message-row.outbound{justify-content:flex-end}.sms-message-row.outbound .message-avatar{order:2}.message-avatar{width:30px;height:30px;margin-top:2px;font-size:11px}.sms-message{max-width:min(620px,calc(100% - 44px));border-radius:8px;padding:9px 11px;box-shadow:none}.sms-message-row.outbound .sms-message{color:#fff;border-color:#2453d2;background:#315ee7}.sms-message-row.outbound .message-topline,.sms-message-row.outbound .sms-message small{color:#e4e8ff}.sms-message-row.outbound .status-pill{color:#2336a6;background:#eef0ff}.chat-audio{width:min(360px,64vw);height:34px;display:block}.sms-message-row.outbound .chat-audio{filter:saturate(.96)}.chat-screenshot-sheet{position:fixed;top:0;left:-12000px;z-index:-1;width:640px;box-sizing:border-box;padding:20px;color:#111827;background:#fff;pointer-events:none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.chat-screenshot-header{display:flex;align-items:center;gap:11px;border-bottom:1px solid #e5e7eb;padding-bottom:14px}.chat-screenshot-avatar,.chat-screenshot-message-avatar{flex:0 0 auto;background-position:center;background-size:cover;box-shadow:inset 0 0 0 1px #0f172a14}.chat-screenshot-avatar{width:46px;height:46px;border-radius:14px}.chat-screenshot-header h1{margin:0;font-size:22px;line-height:1.15}.chat-screenshot-header p{margin:6px 0 0;color:#6b7280;font-size:13px;font-weight:750}.chat-screenshot-body{display:grid;gap:11px;padding-top:14px}.chat-screenshot-empty{margin:48px 0;color:#6b7280;text-align:center;font-size:16px;font-weight:800}.chat-screenshot-message{display:flex;align-items:flex-end;gap:7px}.chat-screenshot-message.outbound{justify-content:flex-end}.chat-screenshot-message-avatar{width:28px;height:28px;border-radius:10px}.chat-screenshot-bubble{max-width:500px;border:1px solid #d9e1ee;border-radius:10px;padding:10px 12px 11px;background:#f7f9fc}.chat-screenshot-message.outbound .chat-screenshot-bubble{color:#fff;border-color:#1d4ed8;background:#2563eb}.chat-screenshot-meta{display:flex;align-items:center;gap:8px;margin-bottom:5px;font-size:12px;font-weight:850}.chat-screenshot-meta span{opacity:.78}.chat-screenshot-meta b{border-radius:999px;padding:1px 7px;color:#166534;background:#dcfce7}.chat-screenshot-bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.5}.chat-screenshot-bubble img{display:block;max-width:360px;max-height:640px;border-radius:9px;object-fit:contain;background:#fff}.chat-screenshot-error{display:block;margin-top:7px;color:#fecaca;font-size:12px;font-weight:750}.message-topline{margin-bottom:1px}.message-topline span{max-width:220px}.message-topline small{color:#8a94a3;font-size:11px;font-weight:800}.sender-state-wrap{min-width:0;flex:1 1 auto;display:inline-flex;align-items:center;justify-content:flex-end;gap:8px}.sender-state{min-width:0;max-width:520px;min-height:34px;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(148,163,184,.34);border-radius:8px;padding:0 9px;color:var(--text);background:#fff;box-shadow:0 8px 18px #0f172a0d;cursor:pointer;font-weight:850}.sender-state:disabled{cursor:default;opacity:.74}.sender-state.healthy{border-color:#16a34a47;background:#f0fdf4eb}.sender-state.warning{border-color:#dc262647;background:#fef2f2f0}.sender-dot{width:8px;height:8px;flex:0 0 auto;border-radius:999px;background:#16a34a;box-shadow:0 0 0 3px #16a34a1f}.sender-state.warning .sender-dot{background:#dc2626;box-shadow:0 0 0 3px #dc26261f}.sender-caption{flex:0 0 auto;color:#64748b;font-size:12px;font-weight:900;white-space:nowrap}.sender-state strong,.sender-number{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.sender-number{max-width:190px;color:#0f172a;font-weight:950}.sender-state em{flex:0 0 auto;color:#1d4ed8;font-size:12px;font-style:normal}.sender-state.warning em{color:#dc2626}.sender-cooldown{flex:0 0 auto;color:#b91c1c;font-size:12px;font-weight:950;white-space:nowrap}.sender-risk-count{flex:0 0 auto;min-height:26px;display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(220,38,38,.32);border-radius:999px;padding:0 9px;color:#dc2626;background:#fff1f2;font-size:12px;font-weight:950;white-space:nowrap;box-shadow:0 8px 16px #dc262614}.sender-risk-count svg{flex:0 0 auto;color:#dc2626;stroke-width:2.8}.sender-risk-count.active{color:#b91c1c;border-color:#b91c1c75;background:#ffe4e6}.topbar-risk-count{min-height:36px;padding:0 18px;font-size:15px;box-shadow:0 8px 18px #dc26261a}.topbar-title-risk-count{margin-left:clamp(18px,3vw,56px);cursor:pointer;font-family:inherit}.topbar-title-risk-count+.topbar-title-risk-count{margin-left:8px}.topbar-title-risk-count:hover{border-color:#b91c1c8a;background:#ffe4e6}.chat-language-toggle{min-width:52px}.message-status-badge,.sender-status-label{min-height:20px;display:inline-flex;align-items:center;border-radius:999px;padding:0 7px;color:#334155;background:#eef2f7;font-size:11px;font-weight:900;white-space:nowrap}.message-status-badge.status-sent,.message-status-badge.status-delivered,.sender-status-label.status-normal{color:#166534;background:#dcfce7}.message-status-badge.status-failed,.sender-status-label.status-banned,.sender-status-label.status-high_risk{color:#991b1b;background:#fee2e2}.sender-status-label.status-limited,.sender-status-label.status-offline,.sender-status-label.status-proxy_failed,.sender-status-label.status-restricted,.sender-status-label.status-blocked{color:#9a3412;background:#ffedd5}.account-table .table-row{min-height:44px;padding-block:8px}.account-table .account-title strong,.account-table .account-lines span,.account-table .account-usage strong,.account-table .account-assignee strong{font-size:13px;line-height:1.18}.account-table .account-title span,.account-table .account-lines small,.account-table .account-usage span,.account-table .account-assignee span{font-size:11px}.broadcast-workbench,.broadcast-actionbar,.export-dropdown{overflow:visible!important}.broadcast-workbench{position:relative;z-index:6}.broadcast-actionbar{position:relative;z-index:12}.export-dropdown{z-index:40}.export-menu{z-index:9999}.brand{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;min-width:0}.brand img{flex:0 0 44px;width:44px;height:44px;border-radius:50%;object-fit:cover}.brand-text{display:flex;min-width:0;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.08}.brand strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:900;letter-spacing:0}.brand span{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800}.account-assign-note{display:flex;align-items:center;gap:12px;padding:12px 16px;color:#334155;background:linear-gradient(90deg,#0a84ff14,#fffffff5)}.account-assign-note strong{flex:0 0 auto;font-size:14px;font-weight:950}.account-assign-note span{color:var(--muted);font-size:12px;font-weight:800}.account-table .table-row{min-width:930px;grid-template-columns:minmax(150px,.85fr) minmax(230px,1.05fr) 90px minmax(190px,1fr) minmax(160px,.9fr)}.tn-column{grid-template-rows:auto auto auto minmax(0,1fr)}.room-context-actions{min-height:36px;display:flex;align-items:center;justify-content:stretch;padding:0 2px 8px}.sms-column-count{flex:0 0 auto;min-height:34px;display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;padding:0 9px;color:var(--muted);background:#fff;font-size:12px;font-weight:900;white-space:nowrap}.brand strong{font-size:16px}.brand span{color:#1d4ed8;font-size:13px;font-weight:950;letter-spacing:0}.sms-chat-grid.account-collapsed{grid-template-columns:46px minmax(286px,.82fr) minmax(0,2.35fr)}.tn-column.is-collapsed{min-width:46px;padding:0;overflow:hidden;background:linear-gradient(180deg,#fffffff5,#f4f8fff5)}.tn-collapsed-trigger{width:100%;min-height:100%;display:grid;place-items:center;align-content:center;gap:10px;border:0;color:#1d4ed8;background:transparent;cursor:pointer;font-weight:950}.tn-collapsed-trigger:hover{background:#eef4ff}.tn-collapsed-trigger span{writing-mode:vertical-rl;text-orientation:upright;letter-spacing:0;font-size:15px}.tn-collapsed-trigger:after{content:"›";color:#94a3b8;font-size:18px;line-height:1}.tn-collapsed-trigger em{min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;color:#fff;background:#ef4444;font-size:11px;font-style:normal;font-weight:950}.tn-panel-head{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 1px 8px}.tn-panel-head strong{color:#0f172a;font-size:15px;font-weight:950}.tn-panel-head .icon-button span{color:#64748b;font-size:24px;font-weight:900;line-height:1}.topbar-title{min-width:0;display:flex;align-items:center;gap:10px}.mobile-nav-toggle,.sidebar-scrim{display:none}@media(max-width:860px){.sms-chat-grid.account-collapsed{grid-template-columns:1fr}.tn-column.is-collapsed{min-height:42px}.tn-collapsed-trigger{min-height:42px;grid-auto-flow:column}.tn-collapsed-trigger span{writing-mode:horizontal-tb}}@media(max-width:860px){.shell{display:block;grid-template-columns:1fr}.mobile-nav-toggle{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid rgba(148,163,184,.32);border-radius:8px;color:#0f172a;background:#ffffffeb;box-shadow:0 8px 18px #0f172a14}.sidebar{position:fixed;inset:0 auto 0 0;z-index:60;width:min(236px,84vw);height:100vh;display:flex;transform:translate(-108%);transition:transform .18s ease}.shell.sidebar-open .sidebar{transform:translate(0)}.sidebar-scrim{position:fixed;inset:0;z-index:55;display:block;border:0;padding:0;background:#0f172a33;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.topbar{min-height:auto;align-items:stretch;flex-wrap:wrap}.topbar-title{width:100%;flex-basis:100%}.topbar-title-risk-count{margin-left:8px;min-height:30px;padding:0 12px;font-size:13px}.topbar-actions{width:100%;flex-wrap:wrap;justify-content:flex-start}.topbar-chat-actions{flex:1 1 100%;justify-content:flex-start;min-width:0}}
