: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}.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:36px;height:36px}.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:space-between;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;gap:10px}.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}.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-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}.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}.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}.broadcast-result-table .table-row{grid-template-columns:.35fr 1fr 1fr .5fr .75fr minmax(180px,1.5fr)}.broadcast-modal{width:min(860px,100%);max-height:calc(100vh - 40px);overflow:auto}.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}.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}.file-input{display:none}.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:1420px;grid-template-columns:36px 72px minmax(190px,1.25fr) 86px 92px 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;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:850}.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}.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 .75fr .75fr minmax(180px,1.5fr)}.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}.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:1160px;grid-template-columns:30px 58px minmax(170px,1.35fr) 64px 72px 58px 58px 58px 58px 58px 108px 108px;gap:8px;padding:8px 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:46;display:flex;justify-content:flex-end;background:#0f172a38}.result-drawer{width:min(860px,calc(100vw - 72px));height:100vh;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);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-drawer .broadcast-result-table .table-row{min-width:760px;grid-template-columns:44px 1fr 1fr 48px 76px 76px minmax(150px,1.3fr);gap:8px;padding:8px 12px;font-size:12px}.tab-button{min-height:28px;border-radius:6px;padding:0 9px;font-size:12px}.follow-modal{width:min(680px,100%)}.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}.account-assign-bar{display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:center;gap:16px;padding:14px 16px}.limit-self-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px}.limit-copy,.limit-locked{min-width:0;display:grid;gap:4px}.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) minmax(260px,1.35fr) 96px 160px minmax(330px,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}.selection-summary{display:grid;gap:3px}.selection-actions{display:flex;align-items:center;gap:8px}.account-assign-bar span,.account-lines small,.account-assignee span{color:var(--muted);font-size:12px;font-weight:800}.account-table .table-row{grid-template-columns:42px minmax(170px,1.15fr) minmax(160px,.95fr) 110px minmax(150px,.9fr) minmax(160px,1fr) 170px}.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-assignee{min-width:0;display:grid;gap:4px}.account-title strong,.account-title span,.account-lines span,.account-lines small,.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}.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}.template-modal{width:min(760px,100%)}.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(292px,.78fr) minmax(342px,.92fr) minmax(0,1.48fr);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}.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}.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{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);margin-top:14px;overflow-x:auto}.sms-tabs button{position:relative;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}.sms-tabs button.active:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:3px;border-radius:999px 999px 0 0;background:#2563eb}.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 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:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:14px 18px;background:#f8fafc}.chat-head-main{min-width:0;display:grid;gap:8px}.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;gap:10px}.sms-message-pane{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}.chat-empty{display:grid;place-items:center;align-content:center;gap:10px;color:var(--muted)}.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-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}.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-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-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-actionbar{align-items:flex-start;flex-direction:column}.account-assign-bar{grid-template-columns:1fr}.search-field{min-width:0;width:100%}.metric-grid,.modal-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}}: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:30px;height:30px}.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}.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}.limit-self-panel{gap:10px;padding:10px 12px}.limit-actions label{width:156px}.account-assign-bar span,.account-lines small,.account-assignee span,.account-title span,.pager span{font-size:12px}.account-table .table-row{min-width:1120px;grid-template-columns:34px minmax(150px,1.1fr) minmax(140px,.92fr) 92px minmax(132px,.86fr) minmax(140px,1fr) 148px}.service-table .table-row{min-width:1260px;grid-template-columns:minmax(140px,.9fr) minmax(142px,.8fr) minmax(220px,1.25fr) 84px 136px minmax(320px,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{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,.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,.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}
