/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}:root{color:#172026;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body,#root{min-height:100vh;margin:0}button,input,select,textarea{font:inherit}.boot-screen,.login-screen{min-height:100vh;display:grid;place-items:center;background:#f6f7f9}.boot-screen{display:flex;gap:10px;color:#54606b}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-panel{width:min(420px,calc(100vw - 32px));display:grid;gap:18px;padding:28px;border:1px solid #d9e0e7;border-radius:8px;background:#fff;box-shadow:0 18px 48px #141e2814}.brand-row{display:flex;align-items:center;gap:10px}.brand-mark{width:32px;height:32px;flex:0 0 32px;border-radius:7px;background:#0f766e;color:#fff;display:grid;place-items:center;font-weight:800;font-size:17px;letter-spacing:0}.brand-row strong,.brand-row span{display:block}.brand-row span{color:#6b7682;font-size:12px;margin-top:2px}label{display:grid;gap:8px;color:#40505d;font-size:13px;font-weight:600}input,select,textarea{width:100%;border:1px solid #d5dee6;border-radius:8px;padding:10px 12px;color:#172026;background:#fff;outline:none}input:focus,select:focus,textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1f}.field-label{display:inline-flex;align-items:center;gap:2px}.required-mark{color:#dc2626;font-weight:700}.field-hint-error{margin:-4px 0 0;color:#dc2626;font-size:12px;font-weight:500}.field-hint{margin:-4px 0 0;color:#64748b;font-size:12px;line-height:1.5}input.input-invalid,select.input-invalid,textarea.input-invalid{border-color:#f87171}input.input-invalid:focus,select.input-invalid:focus,textarea.input-invalid:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261f}.form-error,.notice{border:1px solid #fecaca;background:#fff1f2;color:#be123c;border-radius:8px;padding:10px 12px}.notice-dialog-layer{z-index:90}.notice-dialog-panel{width:min(420px,100%)}.notice-dialog-message{margin:0;color:#334155;font-size:14px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.notice-dialog-success .modal-header h2{color:#0f766e}.notice-dialog-error .modal-header h2{color:#be123c}.notice-dialog-info .modal-header h2{color:#0f172a}.notice-toast-layer{position:fixed;top:20px;right:20px;z-index:200;pointer-events:none}.notice-toast{pointer-events:auto;display:flex;align-items:flex-start;gap:10px;width:min(360px,calc(100vw - 40px));padding:12px 14px;border-radius:10px;border:1px solid transparent;box-shadow:0 10px 30px #0f172a1f;background:#fff;animation:notice-toast-in .22s ease-out}.notice-toast-error{border-color:#fecaca;background:#fff1f2}.notice-toast-error .notice-toast-icon{color:#be123c;flex-shrink:0;margin-top:1px}.notice-toast-error .notice-toast-message{color:#9f1239}.notice-toast-success{border-color:#99f6e4;background:#f0fdfa}.notice-toast-success .notice-toast-icon{color:#0f766e;flex-shrink:0;margin-top:1px}.notice-toast-success .notice-toast-message{color:#115e59}.notice-toast-info{border-color:#e2e8f0;background:#f8fafc}.notice-toast-info .notice-toast-icon{color:#475569;flex-shrink:0;margin-top:1px}.notice-toast-info .notice-toast-message{color:#334155}.notice-toast-message{flex:1;margin:0;font-size:14px;line-height:1.6;word-break:break-word}.notice-toast-close{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;border-radius:6px;background:transparent;color:inherit;opacity:.55;cursor:pointer}.notice-toast-close:hover{opacity:1;background:#0f172a0f}@keyframes notice-toast-in{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr);transition:grid-template-columns .2s ease}.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid #dfe5eb;background:#fff;padding:18px 14px;display:flex;flex-direction:column;gap:14px;overflow:hidden}.sidebar.collapsed{padding-inline:12px}.sidebar-brand{padding:4px 8px 12px;min-height:44px;justify-content:flex-start}.brand-copy{min-width:0}.brand-copy strong{line-height:1.1}.brand-copy span{line-height:1.25}.sidebar-brand .sidebar-close{margin-left:auto}.sidebar.collapsed .sidebar-brand{justify-content:center;padding-inline:0}.sidebar.collapsed .brand-copy,.sidebar.collapsed .nav-item span,.sidebar.collapsed .nav-group-title,.sidebar.collapsed .sidebar-user div,.sidebar.collapsed .sidebar-user-chevron,.sidebar.collapsed .sidebar-collapse-btn span{display:none}.nav-list{display:grid;gap:14px;align-content:start;overflow-y:auto;padding:2px}.nav-group{display:grid;gap:4px}.nav-group-title{padding:0 10px 5px;color:#94a3b8;font-size:11px;font-weight:800}.sidebar.collapsed .nav-list{gap:8px;padding-inline:0}.nav-item{width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:8px;background:transparent;color:#475569;padding:10px 12px;cursor:pointer;text-align:left;min-height:40px;transition:background .15s ease,color .15s ease,border-color .15s ease}.sidebar.collapsed .nav-item{justify-content:center;padding-inline:0}.nav-item:hover,.nav-item.active{background:#edf7f5;color:#0f766e}.nav-item.active{font-weight:700}.nav-item-label{display:inline-flex;align-items:center;gap:6px}.nav-badge{min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center}.page-loading{padding:24px;color:#54606b}.sidebar-footer{margin-top:auto;display:grid;gap:10px;padding:12px 4px 0;border-top:1px solid #edf1f5}.sidebar.collapsed .sidebar-footer{place-items:center;padding-inline:0}.sidebar-account{position:relative;min-width:0}.sidebar-collapse-btn,.sidebar-user{width:100%;display:flex;align-items:center;gap:10px;min-width:0;border:0;border-radius:8px;padding:8px;color:#172026;background:#f8fafc;cursor:pointer}.sidebar-collapse-btn{justify-content:center;color:#475569;background:transparent}.sidebar-collapse-btn:hover,.sidebar-user:hover{color:#0f766e;background:#edf7f5}.sidebar.collapsed .sidebar-collapse-btn,.sidebar.collapsed .sidebar-user{width:40px;height:40px;justify-content:center;padding:0}.sidebar-user-chevron{margin-left:auto;color:#94a3b8;flex:0 0 auto}.sidebar-user strong,.sidebar-user span{display:block}.sidebar-user strong{font-size:13px}.sidebar-user span{margin-top:2px;color:#64748b;font-size:12px}.user-avatar{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:8px;background:#0f766e;color:#fff;font-weight:800}.sidebar-account-menu{position:absolute;left:0;right:0;bottom:calc(100% + 8px);z-index:35;display:grid;gap:2px;border:1px solid #d9e0e7;border-radius:8px;padding:6px;background:#fff;box-shadow:0 18px 42px #0f172a29}.sidebar.collapsed .sidebar-account-menu{left:46px;right:auto;bottom:0;width:148px}.sidebar-account-menu button{width:100%;min-height:34px;border:0;border-radius:6px;padding:7px 9px;display:flex;align-items:center;gap:8px;color:#172026;background:transparent;cursor:pointer;text-align:left}.sidebar-account-menu button:hover{background:#f1f5f9}.sidebar-account-menu button.danger{color:#dc2626}.sidebar-account-menu button:disabled{color:#94a3b8;cursor:not-allowed;background:transparent}.main-shell{min-width:0;padding:24px;display:grid;align-content:start;gap:18px}.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;gap:18px;align-items:center;min-width:0;margin:-24px -24px 0;padding:18px 24px;border-bottom:1px solid rgb(223 229 235 / .72);background:#f6f7f9e0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar-left{min-width:0;display:flex;gap:10px;align-items:center}.topbar h1{margin:0;font-size:24px;line-height:1.2}.topbar p{margin:6px 0 0;color:#64748b}.row-actions,.form-actions,.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.icon-btn{width:38px;height:38px;border:1px solid #d4dde5;border-radius:8px;background:#fff;color:#172026;display:inline-grid;place-items:center;cursor:pointer}.icon-btn:hover{border-color:#0f766e;color:#0f766e}.mobile-menu-trigger,.sidebar-close{display:none}.toolbar.end{justify-content:flex-end}.btn,.link{min-height:36px;border:1px solid #d4dde5;border-radius:8px;padding:8px 12px;background:#fff;color:#172026;display:inline-flex;gap:8px;align-items:center;justify-content:center;cursor:pointer;text-decoration:none}.btn:hover,.link:hover{border-color:#0f766e;color:#0f766e}.btn.primary{background:#0f766e;border-color:#0f766e;color:#fff}.btn.ghost{background:transparent}.btn.compact{min-height:30px;padding:5px 9px;gap:5px}.btn.danger{border-color:#fecaca;color:#b91c1c}.btn.danger:hover{border-color:#dc2626;color:#dc2626}.link{min-height:0;border:0;padding:0;background:transparent;color:#0f766e}.link.danger{color:#dc2626}.action-menu{position:relative;display:inline-grid;gap:6px;justify-items:end}.action-menu-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:40;width:168px;display:grid;gap:2px;border:1px solid #d9e0e7;border-radius:8px;padding:6px;background:#fff;box-shadow:0 18px 42px #0f172a29}.action-menu-panel button{width:100%;min-height:34px;border:0;border-radius:6px;padding:7px 9px;background:transparent;color:#172026;cursor:pointer;text-align:left}.action-menu-panel button:hover{background:#f1f5f9}.action-menu-panel button.danger{color:#dc2626}.action-menu-panel button:disabled{cursor:not-allowed;color:#94a3b8;background:transparent}.users-table:has(.action-menu-panel),.plans-table:has(.action-menu-panel),.orders-table:has(.action-menu-panel),.devices-table:has(.action-menu-panel){position:relative;z-index:5}.users-table tr:has(.action-menu-panel) td:last-child,.plans-table tr:has(.action-menu-panel) td:last-child,.orders-table tr:has(.action-menu-panel) td:last-child,.devices-table tr:has(.action-menu-panel) td:last-child{z-index:30;overflow:visible}.users-table tbody tr:last-child .action-menu-panel,.plans-table tbody tr:last-child .action-menu-panel,.orders-table tbody tr:last-child .action-menu-panel,.devices-table tbody tr:last-child .action-menu-panel{top:auto;bottom:calc(100% + 8px)}.page-stack{display:grid;gap:18px;min-width:0}.tab-row{display:flex;gap:8px;flex-wrap:wrap}.tab-btn{border:1px solid var(--border);background:var(--surface);color:var(--text-muted);padding:8px 14px;border-radius:8px;cursor:pointer}.tab-btn.active{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}.page-tabs{--page-tab-accent: #0f766e;--page-tab-accent-soft: #ecfdf5;--page-tab-track: #e8edf2;display:inline-flex;align-items:stretch;gap:6px;padding:6px;border:1px solid #d5dee6;border-radius:12px;background:var(--page-tab-track);box-shadow:inset 0 1px 2px #0f172a0a}.page-tabs-stretch{display:flex;width:100%;max-width:840px}.page-tabs-stretch .page-tab{flex:1;justify-content:center}.page-tab{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid transparent;background:transparent;color:#64748b;padding:11px 22px;border-radius:9px;font-size:15px;font-weight:500;line-height:1.25;cursor:pointer;white-space:nowrap;transition:color .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .12s ease,opacity .2s ease}.page-tab:not(.active){opacity:.78}.page-tab:hover:not(.active){color:#334155;opacity:1;background:#ffffff8c}.page-tab:active{transform:scale(.98)}.page-tab.active{color:var(--page-tab-accent);font-weight:700;opacity:1;background:#fff;border-color:#c7d8d3;box-shadow:0 2px 10px #0f766e29,0 1px 3px #0f172a14}.page-tab.active:before{content:"";position:absolute;top:0;left:14px;right:14px;height:3px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,#0f766e,#14b8a6);animation:page-tab-indicator .24s ease}.page-tab:focus-visible{outline:2px solid rgba(15,118,110,.45);outline-offset:1px}@keyframes page-tab-indicator{0%{transform:scaleX(.4);opacity:0}to{transform:scaleX(1);opacity:1}}.detail-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center}.detail-header h2{margin:0;font-size:22px}.agent-detail-name{max-width:16em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-header p{margin:5px 0 0;color:#64748b}.detail-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.metric-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-grid.boss-metrics{grid-template-columns:repeat(6,minmax(150px,1fr))}.metric-card,.card{min-width:0;border:1px solid #dfe5eb;border-radius:8px;background:#fff}.metric-card{padding:16px;display:grid;gap:10px}.metric-card span{color:#64748b;font-size:13px}.metric-card strong{font-size:24px;line-height:1.1}.metric-card small{min-height:17px;overflow:hidden;color:#64748b;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.metric-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#f1f5f9;color:#334155}.metric-card.success .metric-icon{background:#dcfce7;color:#15803d}.metric-card.warning .metric-icon{background:#fef3c7;color:#b45309}.metric-action{border:0;padding:0;background:transparent;text-align:left;cursor:pointer}.metric-action .metric-card{height:100%;transition:border-color .15s ease,box-shadow .15s ease,transform .12s ease}.metric-action:hover .metric-card{border-color:#0f766e;box-shadow:0 8px 24px #0f172a14}.metric-action:active .metric-card{transform:translateY(1px)}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.entitlement-table,.entitlement-history{padding:0 18px 18px}.entitlement-history{padding-top:2px}.entitlement-history h3{margin:0 0 10px;font-size:14px;color:#334155}.entitlement-table .table-wrap table,.entitlement-history .table-wrap table{min-width:1100px}.entitlement-table th,.entitlement-table td,.entitlement-history th,.entitlement-history td{white-space:normal}.entitlement-table th:nth-child(1),.entitlement-table td:nth-child(1),.entitlement-history th:nth-child(1),.entitlement-history td:nth-child(1){width:240px}.entitlement-table th:nth-child(2),.entitlement-table td:nth-child(2),.entitlement-history th:nth-child(2),.entitlement-history td:nth-child(2){width:110px}.entitlement-table th:nth-child(3),.entitlement-table td:nth-child(3),.entitlement-history th:nth-child(3),.entitlement-history td:nth-child(3){width:260px}.entitlement-table th:nth-child(4),.entitlement-table td:nth-child(4),.entitlement-history th:nth-child(4),.entitlement-history td:nth-child(4){width:150px}.entitlement-table th:nth-child(5),.entitlement-table td:nth-child(5),.entitlement-history th:nth-child(5),.entitlement-history td:nth-child(5){width:260px}.entitlement-table th:nth-child(6),.entitlement-table td:nth-child(6),.entitlement-history th:nth-child(6),.entitlement-history td:nth-child(6){width:140px}.dashboard-business-grid{align-items:stretch}.card{min-width:0;overflow:hidden}.card-header{padding:18px 18px 4px}.card-header h2{margin:0;font-size:17px}.card-header p{margin:6px 0 0;color:#64748b}.revenue-bars{min-height:260px;padding:18px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:end}.revenue-bar-item{min-width:0;display:grid;gap:8px;justify-items:center;color:#64748b;font-size:12px}.revenue-bar-item strong{max-width:100%;overflow:hidden;color:#172026;font-size:12px;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.revenue-bar-track{width:100%;height:150px;display:flex;align-items:end;border-radius:8px;background:#f1f5f9;overflow:hidden}.revenue-bar-fill{width:100%;min-height:0;border-radius:8px 8px 0 0;background:#0f766e}.plan-sales-list{padding:18px;display:grid;gap:14px}.plan-sales-item{display:grid;gap:8px}.plan-sales-item>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.plan-sales-item strong{font-size:14px}.plan-sales-item span{color:#64748b;font-size:12px}.plan-sales-meter{height:8px;border-radius:999px;background:#f1f5f9;overflow:hidden}.plan-sales-meter span{height:100%;display:block;border-radius:inherit;background:#0f766e}.empty-panel{min-height:180px;display:grid;place-items:center;color:#64748b}.analytics-presets,.quick-filter-row,.quick-list-tabs,.applied-filter-row{display:flex;gap:8px;flex-wrap:wrap}.analytics-presets .active,.quick-list-tabs .active{background:#0f766e;color:#fff;border-color:#0f766e}.analytics-period-panel{margin:0 18px 18px;display:grid;grid-template-columns:minmax(260px,1fr) minmax(560px,1.35fr);gap:18px;align-items:end;border:1px solid #dfe8ee;border-radius:8px;padding:16px;background:#fbfcfd}.analytics-period-summary{min-width:0}.analytics-period-summary span{display:block;color:#64748b;font-size:12px;font-weight:700}.analytics-period-summary strong{display:block;margin-top:6px;color:#172026;font-size:24px;line-height:1.15;font-variant-numeric:tabular-nums}.analytics-period-summary p{margin:8px 0 0;max-width:720px;color:#52606d;font-size:13px;line-height:1.65}.analytics-period-controls{display:grid;gap:12px;justify-items:end}.analytics-custom-range{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr)) auto;gap:10px;align-items:end;width:min(100%,620px)}.analytics-custom-range input:disabled{color:#334155;background:#f8fafc;opacity:1}.analytics-metric-section{display:grid;gap:12px}.analytics-metric-section-header{display:flex;justify-content:space-between;gap:16px;align-items:end}.analytics-metric-section-header h2{margin:0;color:#172026;font-size:18px}.analytics-metric-section-header p{margin:0;color:#64748b;font-size:13px;line-height:1.5;text-align:right}.analytics-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:12px}.analytics-metric-section.period .analytics-metric-grid{grid-template-columns:repeat(5,minmax(160px,1fr))}.analytics-metric-section.ops .analytics-metric-grid{grid-template-columns:repeat(4,minmax(180px,1fr))}.analytics-metric-grid .metric-card{min-height:134px;padding:14px;gap:8px}.analytics-metric-grid .metric-card strong{font-size:26px}.analytics-metric-grid .metric-icon{width:30px;height:30px}.analytics-filter-grid{grid-template-columns:repeat(4,minmax(180px,1fr))}.list-filter-panel{min-width:0;padding:0 18px 18px;display:grid;gap:14px}.list-filter-main{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:end}.filter-grid.list-filter-primary{min-width:0;padding:0;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.filter-grid.list-filter-primary>label,.list-filter-advanced .filter-grid>label{min-width:0}.list-filter-actions{display:flex;align-items:end;justify-content:flex-end;gap:8px;flex-wrap:wrap}.list-filter-toggle{min-height:40px}.list-filter-toggle.active{border-color:#0f766e;color:#0f766e;background:#edf7f5}.list-filter-toggle .rotated{transform:rotate(180deg)}.list-filter-advanced{border-top:1px solid #edf1f5;padding-top:14px}.list-filter-advanced .filter-grid{padding:0}.quick-filter-row,.applied-filter-row{padding:0 18px 12px}.quick-filter-row.list-filter-quick{padding:18px 18px 10px}.applied-filter-row{padding-top:2px;gap:6px}.applied-filter-row span{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #dbe4ec;border-radius:999px;padding:4px 9px;color:#475569;background:#f8fafc;font-size:12px}.analytics-chart{min-height:260px;display:flex;align-items:end;gap:8px;overflow-x:auto;padding:18px}.analytics-chart-bar{width:58px;min-width:58px;display:grid;gap:7px;align-items:end;text-align:center;color:#64748b;font-size:12px}.analytics-chart-bar strong{min-width:0;overflow:hidden;color:#172026;font-size:12px;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}.analytics-chart-track{width:100%;height:150px;display:flex;align-items:end;border-radius:8px;background:#f1f5f9;overflow:hidden}.analytics-chart-fill{width:100%;min-height:4px;border-radius:7px 7px 2px 2px;background:#0f766e}.analytics-structure{padding:18px;display:grid;gap:14px}.analytics-structure-row{display:grid;gap:8px}.analytics-structure-row>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.analytics-structure-row strong{font-size:13px}.analytics-structure-row span{color:#64748b;font-size:12px}.analytics-structure-track{height:8px;border-radius:999px;background:#f1f5f9;overflow:hidden}.analytics-structure-track span{height:100%;display:block;border-radius:inherit;background:#0f766e}.analytics-structure-track span.warning{background:#f59e0b}.quick-list-tabs{padding:0 18px 14px}.table-wrap{min-width:0;max-width:100%;width:100%;overflow-x:auto;overflow-y:visible;overscroll-behavior-x:contain}table{width:100%;border-collapse:collapse}.table-wrap table{table-layout:fixed;min-width:1280px}th,td{padding:13px 18px;border-bottom:1px solid #edf1f5;text-align:left;white-space:nowrap;vertical-align:middle}th:nth-child(1),td:nth-child(1){width:190px}th:nth-child(2),td:nth-child(2){width:150px}th:nth-child(3),td:nth-child(3){width:190px}th:nth-child(4),td:nth-child(4){width:92px}th:nth-child(5),td:nth-child(5){width:240px}th:nth-child(6),td:nth-child(6){width:150px}th:nth-child(7),td:nth-child(7),th:nth-child(8),td:nth-child(8){width:170px}th:nth-child(9),td:nth-child(9){width:150px}th{color:#64748b;font-size:12px;font-weight:700;background:#fbfcfd}.empty-cell{color:#64748b;text-align:center;padding:44px 18px}.cell-title{display:grid;gap:3px}.cell-title strong{font-size:13px}.cell-title span,.agent-stack span{color:#64748b;font-size:12px}.agent-stack{display:grid;gap:3px}.device-agent-cell,.agent-stack,.agent-stack span{min-width:0}.device-agent-cell{max-width:220px}.agent-stack span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge,.status-pill{display:inline-flex;gap:5px;align-items:center;border-radius:999px;border:1px solid #d7dee7;padding:3px 8px;color:#475569;background:#f8fafc;font-size:12px}.badge.success,.status-pill.success{border-color:#bbf7d0;color:#15803d;background:#f0fdf4}.badge.warning,.status-pill.warning{border-color:#fde68a;color:#a16207;background:#fefce8}.badge.danger,.status-pill.danger{border-color:#fecaca;color:#b91c1c;background:#fff1f2}.search-box{max-width:420px;flex:1;display:flex;gap:8px;align-items:center;border:1px solid #d5dee6;border-radius:8px;padding:0 10px;background:#fff}.search-box input{border:0;box-shadow:none;padding-inline:0}.search-clear{width:24px;height:24px;border:0;border-radius:999px;display:inline-grid;place-items:center;color:#64748b;background:transparent;cursor:pointer}.search-clear:hover{color:#0f766e;background:#eef6f5}.users-table table{min-width:980px}.users-table th:nth-child(1),.users-table td:nth-child(1){width:280px}.users-table th:nth-child(2),.users-table td:nth-child(2){width:110px}.users-table th:nth-child(3),.users-table td:nth-child(3){width:300px}.users-table th:nth-child(4),.users-table td:nth-child(4){width:170px}.users-table th:nth-child(5),.users-table td:nth-child(5){width:140px}.users-table .cell-title strong,.users-table .cell-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.users-table td:nth-child(3) strong{font-variant-numeric:tabular-nums}.users-table th:last-child,.users-table td:last-child{position:sticky;right:0;z-index:2;width:140px;min-width:140px;background:#fff;box-shadow:-8px 0 12px -10px #0f172a24;overflow:visible}.users-table thead th:last-child{z-index:3;background:#fbfcfd}.users-table .row-actions{flex-wrap:nowrap}.plans-table table{min-width:1280px}.plans-table th:nth-child(1),.plans-table td:nth-child(1){width:280px}.plans-table th:nth-child(2),.plans-table td:nth-child(2){width:120px}.plans-table th:nth-child(3),.plans-table td:nth-child(3){width:190px}.plans-table th:nth-child(4),.plans-table td:nth-child(4){width:190px}.plans-table th:nth-child(5),.plans-table td:nth-child(5){width:190px}.plans-table th:nth-child(6),.plans-table td:nth-child(6){width:260px}.plans-table th:nth-child(7),.plans-table td:nth-child(7){width:110px}.plans-table th:nth-child(8),.plans-table td:nth-child(8){width:150px}.plans-table .cell-title strong,.plans-table .cell-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plans-table th:last-child,.plans-table td:last-child{position:sticky;right:0;z-index:2;width:150px;min-width:150px;background:#fff;box-shadow:-8px 0 12px -10px #0f172a24;overflow:visible}.plans-table thead th:last-child{z-index:3;background:#fbfcfd}.plans-table .row-actions{flex-wrap:nowrap}.model-policy-badges{display:flex;gap:6px;flex-wrap:wrap;min-width:0}.benefit-groups-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:18px;align-items:start;padding:0 18px 18px}.benefit-groups-table{min-width:0}.benefit-groups-table table{min-width:760px}.table-actions{display:flex;justify-content:flex-end;margin:0 0 12px}.benefit-group-editor{display:grid;gap:14px;border:1px solid #e2e8f0;border-radius:8px;padding:16px;background:#fff}.benefit-group-editor h3{margin:0;font-size:15px}.benefit-group-actions{display:flex;justify-content:flex-end;gap:8px}.benefit-group-empty{min-height:260px}.audit-table table{min-width:1280px}.audit-table th:nth-child(1),.audit-table td:nth-child(1){width:160px}.audit-table th:nth-child(2),.audit-table td:nth-child(2){width:220px}.audit-table th:nth-child(3),.audit-table td:nth-child(3){width:280px}.audit-table th:nth-child(4),.audit-table td:nth-child(4){width:180px}.audit-table th:nth-child(5),.audit-table td:nth-child(5){width:120px}.audit-table th:nth-child(6),.audit-table td:nth-child(6){width:90px}.audit-table th:nth-child(7),.audit-table td:nth-child(7){width:170px}.audit-table .cell-title strong,.audit-table .cell-title span,.audit-table td:nth-child(3){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.segmented-filter{display:inline-flex;align-items:center;gap:2px;border:1px solid #d5dee6;border-radius:8px;padding:3px;background:#fff}.segmented-filter button{min-height:30px;border:0;border-radius:6px;padding:5px 10px;color:#475569;background:transparent;cursor:pointer}.segmented-filter button:hover,.segmented-filter button.active{color:#0f766e;background:#edf7f5}.segmented-filter button.active{font-weight:700}.orders-table table{min-width:1080px}.dashboard-orders-table table{min-width:820px}.dashboard-orders-table th:nth-child(1),.dashboard-orders-table td:nth-child(1){width:280px}.dashboard-orders-table th:nth-child(2),.dashboard-orders-table td:nth-child(2){width:170px}.dashboard-orders-table th:nth-child(3),.dashboard-orders-table td:nth-child(3){width:140px}.dashboard-orders-table th:nth-child(4),.dashboard-orders-table td:nth-child(4){width:220px}.dashboard-orders-table td:nth-child(3){font-variant-numeric:tabular-nums}.orders-table th:nth-child(1),.orders-table td:nth-child(1){width:230px}.orders-table th:nth-child(2),.orders-table td:nth-child(2){width:220px}.orders-table th:nth-child(3),.orders-table td:nth-child(3){width:150px}.orders-table th:nth-child(4),.orders-table td:nth-child(4){width:150px}.orders-table th:nth-child(5),.orders-table td:nth-child(5){width:190px}.orders-table th:nth-child(6),.orders-table td:nth-child(6){width:130px}.orders-table .cell-title strong,.orders-table .cell-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.orders-table td:nth-child(1) strong,.orders-table td:nth-child(4) strong{font-variant-numeric:tabular-nums}.orders-table th:last-child,.orders-table td:last-child{position:sticky;right:0;z-index:2;width:130px;min-width:130px;background:#fff;box-shadow:-8px 0 12px -10px #0f172a24;overflow:visible}.orders-table thead th:last-child{z-index:3;background:#fbfcfd}.orders-table .row-actions{flex-wrap:nowrap}.devices-table table{min-width:1620px}.devices-table th:nth-child(1),.devices-table td:nth-child(1){width:220px}.devices-table th:nth-child(2),.devices-table td:nth-child(2){width:150px}.devices-table th:nth-child(3),.devices-table td:nth-child(3){width:170px}.devices-table th:nth-child(4),.devices-table td:nth-child(4){width:180px}.devices-table th:nth-child(5),.devices-table td:nth-child(5){width:110px}.devices-table th:nth-child(6),.devices-table td:nth-child(6){width:160px}.devices-table th:nth-child(7),.devices-table td:nth-child(7){width:160px}.devices-table th:nth-child(8),.devices-table td:nth-child(8){width:130px}.devices-table th:nth-child(9),.devices-table td:nth-child(9){width:170px}.devices-table th:last-child,.devices-table td:last-child{position:sticky;right:0;z-index:2;width:196px;min-width:196px;background:#fff;box-shadow:-8px 0 12px -10px #0f172a24;overflow:visible}.devices-table thead th:last-child{z-index:3;background:#fbfcfd}.devices-table .row-actions{flex-wrap:nowrap}.devices-table .device-ip-cell{color:#334155;font-variant-numeric:tabular-nums}.devices-table .cell-title strong,.devices-table .cell-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usage-table table{min-width:920px}.usage-table th:nth-child(1),.usage-table td:nth-child(1){width:240px}.usage-table th:nth-child(2),.usage-table td:nth-child(2){width:160px}.usage-table th:nth-child(3),.usage-table td:nth-child(3),.usage-table th:nth-child(4),.usage-table td:nth-child(4),.usage-table th:nth-child(5),.usage-table td:nth-child(5){width:100px}.usage-table th:nth-child(6),.usage-table td:nth-child(6){width:180px}.usage-table .cell-title strong,.usage-table .cell-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-status-stack{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.partners-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:18px;align-items:start}.partners-layout .table-wrap table{min-width:780px}.partner-detail-stack{display:grid;gap:16px}.danger-text{color:#be123c}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.form-grid.compact{padding:0}.form-grid .full{grid-column:1 / -1}.form-actions.align-end{align-self:end}.form-hint{margin:0;color:#64748b;font-size:12px;line-height:1.5}.check-row{display:flex;align-items:center;gap:8px}.check-row input{width:auto}.empty-panel{min-height:180px;display:grid;place-items:center;align-content:center;gap:10px;padding:28px;color:#64748b;text-align:center}.empty-panel strong{color:#172026}.modal-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;place-items:center;padding:18px}.modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a5c}.modal-panel{position:relative;width:min(480px,100%);max-height:calc(100vh - 36px);display:flex;flex-direction:column;border:1px solid #d9e0e7;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a47}.modal-panel form{min-height:0;display:flex;flex-direction:column}.plan-modal-panel{width:min(920px,100%)}.benefit-modal-panel{width:min(980px,100%)}.modal-header,.modal-body,.modal-actions{padding:18px}.modal-header{border-bottom:1px solid #edf1f5;display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.modal-header h2{margin:0;font-size:18px}.modal-header p{margin:6px 0 0;color:#64748b}.modal-body{display:grid;gap:14px;overflow-y:auto}.modal-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #edf1f5;flex:0 0 auto}.plan-editor-body,.benefit-editor-body{background:#f8fafc}.benefit-editor-section{display:grid;gap:14px;border:1px solid #e2e8f0;border-radius:8px;padding:16px;background:#fff}.benefit-editor-section h3{margin:0;font-size:15px}.plan-editor-section{display:grid;gap:14px;border:1px solid #e2e8f0;border-radius:8px;padding:16px;background:#fff}.plan-editor-section h3{margin:0;font-size:15px}.plan-entitlement-summaries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.entitlement-summary{display:grid;gap:8px;border:1px solid #e2e8f0;border-radius:8px;padding:12px;background:#f8fafc;min-width:0}.entitlement-summary strong{font-size:13px}.entitlement-summary span{color:#64748b;font-size:12px}.entitlement-summary dl{display:grid;gap:7px;margin:0}.entitlement-summary div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px}.entitlement-summary dt,.entitlement-summary dd{margin:0;font-size:12px;line-height:1.45}.entitlement-summary dt{color:#64748b}.entitlement-summary dd{color:#0f172a;overflow-wrap:anywhere}.form-note{margin:0;color:#64748b;font-size:12px;line-height:1.55}.section-heading-row{display:flex;justify-content:space-between;gap:10px;align-items:center}.inline-muted{display:inline-flex;gap:6px;align-items:center;color:#64748b;font-size:12px}.form-warning{margin:0;border:1px solid #fde68a;border-radius:8px;padding:9px 10px;color:#92400e;background:#fffbeb;font-size:12px;line-height:1.5}@media(max-width:760px){.plan-entitlement-summaries{grid-template-columns:1fr}}.plan-enabled-toggle{align-self:end;min-height:40px}.model-picker{display:grid;gap:10px}.model-picker-title{color:#40505d;font-size:13px;font-weight:700}.model-option-grid{display:flex;flex-wrap:wrap;gap:8px}.model-option{min-height:32px;display:inline-flex;align-items:center;gap:7px;border:1px solid #d5dee6;border-radius:8px;padding:6px 9px;background:#f8fafc;color:#172026;font-size:13px;font-weight:600}.model-option input{width:auto}.model-weight-list{display:grid;gap:8px}.model-weight-row{display:grid;grid-template-columns:minmax(180px,1fr) 88px 34px;align-items:center;gap:8px}.model-weight-row input{min-width:0}.model-custom-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.selected-user-preview{border:1px solid #d9e0e7;border-radius:8px;padding:12px;background:#f8fafc}.searchable-user-select.is-disabled{opacity:.72}.searchable-user-select.is-disabled .search-box input{cursor:not-allowed}.searchable-user-select{display:grid;gap:10px}.searchable-user-select .search-box{max-width:none}.searchable-user-select-spinner{color:#64748b;flex:0 0 auto}.searchable-user-select-list{max-height:240px;overflow-y:auto;border:1px solid #d9e0e7;border-radius:8px;background:#fff}.searchable-user-select-option{width:100%;border:0;background:transparent;padding:10px 12px;text-align:left;cursor:pointer;border-bottom:1px solid #edf1f5}.searchable-user-select-option:last-child{border-bottom:0}.searchable-user-select-option:hover{background:#f8fafc}.searchable-user-select-option.selected{background:#eff6ff}.searchable-user-select-empty{padding:16px 12px;color:#64748b;font-size:13px}.info-list{display:grid;margin:0;padding:10px 18px 18px}.info-list div{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #edf1f5}.info-list div:last-child{border-bottom:0}.info-list dt{color:#64748b;font-size:13px}.info-list dd{min-width:0;margin:0;color:#172026;overflow-wrap:anywhere}.agent-detail-name-field{display:inline-block;max-width:16em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}.ops-panel{display:grid;gap:16px;padding:18px}.ops-actions{display:flex;gap:8px;flex-wrap:wrap}.diagnosis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.diagnosis-card{min-height:84px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;border:1px solid #d4dde5;border-radius:8px;padding:13px;background:#fff}.diagnosis-card.success{border-color:#bbf7d0;background:#f7fef9}.diagnosis-card.warning{border-color:#fde68a;background:#fffdf7}.diagnosis-card strong{display:block;font-size:13px}.diagnosis-card p{margin:6px 0 0;color:#64748b;font-size:12px;line-height:1.45}.ctl-list{display:grid;border:1px solid #edf1f5;border-radius:8px;overflow:hidden}.ctl-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px;background:#fff;border-bottom:1px solid #edf1f5}.ctl-row:last-child{border-bottom:0}.xterm-console{display:grid;gap:12px;padding:18px}.xterm-console.fullscreen{position:fixed;top:12px;right:12px;bottom:12px;left:12px;z-index:50;border:1px solid #1f2937;border-radius:8px;background:#fff;box-shadow:0 24px 80px #0f172a59}.terminal-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center}.terminal-toolbar strong,.terminal-toolbar span{display:block}.terminal-toolbar span,.terminal-meta{color:#64748b;font-size:12px}.terminal-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.xterm-shell{width:100%;min-height:360px;height:min(56vh,560px);overflow:hidden;border:1px solid #111827;border-radius:8px;padding:8px;background:#0b1020}.xterm-console.fullscreen .xterm-shell{height:calc(100vh - 168px)}.xterm{height:100%}@media(max-width:1180px){.metric-grid,.metric-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-period-panel{grid-template-columns:1fr}.analytics-period-controls{justify-items:stretch}.analytics-custom-range{width:100%}.analytics-metric-grid,.analytics-metric-section.period .analytics-metric-grid,.analytics-metric-section.ops .analytics-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.list-filter-main{grid-template-columns:1fr}.list-filter-actions{justify-content:flex-start;flex-wrap:wrap;white-space:normal}.two-col,.detail-grid{grid-template-columns:1fr}}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.sidebar.mobile{position:fixed;inset:12px auto 12px 12px;z-index:61;width:min(320px,calc(100vw - 24px));height:auto;display:flex;border:1px solid #dfe5eb;border-radius:8px;box-shadow:0 24px 70px #0f172a47}.mobile-nav-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60}.mobile-nav-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a5c}.nav-list{grid-template-columns:1fr}.main-shell{padding:18px}.topbar{margin:-18px -18px 0;padding:14px 18px}.detail-header,.terminal-toolbar{align-items:flex-start;flex-direction:column}.topbar-left{align-items:flex-start}.mobile-menu-trigger,.sidebar-close{display:inline-grid}.detail-header{display:flex}.metric-grid,.metric-grid.compact,.form-grid,.diagnosis-grid,.info-list div{grid-template-columns:1fr}}.filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px}.filter-grid.filter-grid-row{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:14px}.filter-grid.filter-grid-row>label{flex:1 1 0;min-width:0}.filter-grid.filter-grid-row .filter-actions{flex:0 0 auto;grid-column:auto}.filter-grid .full{grid-column:1 / -1}.filter-actions{display:flex;gap:8px;align-items:center}.filter-input{position:relative;display:flex;align-items:center;gap:4px;min-height:42px;padding:0 8px 0 12px;border:1px solid #d5dee6;border-radius:8px;background:#fff}.filter-input:focus-within{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1f}.filter-input input{flex:1;min-width:0;border:0;box-shadow:none;padding:10px 0;background:transparent}.filter-input-clear{flex-shrink:0;width:24px;height:24px;border:0;border-radius:999px;display:inline-grid;place-items:center;color:#64748b;background:transparent;cursor:pointer}.filter-input-clear:hover{color:#0f766e;background:#eef6f5}.date-range-input{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;align-items:center;gap:6px;min-height:42px;padding:0 10px;border:1px solid #d5dee6;border-radius:8px;background:#fff}.date-range-input:focus-within{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1f}.date-range-part{width:100%;min-width:0;border:0;padding:8px 0;background:transparent;box-shadow:none;color:#172026;font-size:13px}.date-range-part:focus{box-shadow:none}.date-range-part::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.7}.date-range-slot{position:relative;min-width:0}.date-range-sep{color:#94a3b8;font-size:12px;-webkit-user-select:none;user-select:none;flex-shrink:0}.date-range-slot:not(.has-value):not(:focus-within) .date-range-part{color:transparent}.date-range-slot:not(.has-value):not(:focus-within) .date-range-part::-webkit-datetime-edit,.date-range-slot:not(.has-value):not(:focus-within) .date-range-part::-webkit-datetime-edit-fields-wrapper,.date-range-slot:not(.has-value):not(:focus-within) .date-range-part::-webkit-datetime-edit-text,.date-range-slot:not(.has-value):not(:focus-within) .date-range-part::-webkit-datetime-edit-month-field,.date-range-slot:not(.has-value):not(:focus-within) .date-range-part::-webkit-datetime-edit-day-field,.date-range-slot:not(.has-value):not(:focus-within) .date-range-part::-webkit-datetime-edit-year-field{color:transparent}.date-range-part-placeholder{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);z-index:1;color:#94a3b8;font-size:13px;font-weight:400;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.date-range-clear{width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:#64748b;display:inline-grid;place-items:center;cursor:pointer;padding:0}.date-range-clear:hover{background:#f1f5f9;color:#172026}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 18px 18px;border-top:1px solid #e8edf2}.pagination-summary{color:#64748b;font-size:13px}.pagination-actions{display:flex;align-items:center;gap:8px}.pagination-page{min-width:72px;text-align:center;font-variant-numeric:tabular-nums;color:#475569;font-size:13px}.link.danger-text{color:#b91c1c}.link.danger-text:hover{border-color:#b91c1c;color:#991b1b}.agents-table .table-wrap{overflow-x:auto}.employee-list-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0 18px 14px}.employee-list-toolbar .search-box{flex:1 1 240px;min-width:200px}.employee-list-table .table-wrap table{min-width:1080px}.agents-table .table-wrap table{min-width:980px}.agents-table th:nth-child(1),.agents-table td:nth-child(1){width:240px}.agents-table th:nth-child(2),.agents-table td:nth-child(2){width:200px}.agents-table th:nth-child(3),.agents-table td:nth-child(3){width:200px}.agents-table th:nth-child(4),.agents-table td:nth-child(4){width:120px}.agents-table th:nth-child(5),.agents-table td:nth-child(5){width:130px}.agents-table .cell-title strong,.agents-table .cell-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agents-table td:nth-child(3) strong{font-variant-numeric:tabular-nums}.agents-table th:last-child,.agents-table td:last-child{position:sticky;right:0;z-index:2;width:196px;min-width:196px;background:#fff;box-shadow:-8px 0 12px -10px #0f172a24;overflow:visible}.agents-table thead th:last-child{z-index:3;background:#fbfcfd}.agents-table .row-actions{flex-wrap:nowrap}.token-rules-table .table-wrap{overflow-x:auto}.token-rules-table .table-wrap table{min-width:920px}.token-rules-table th:nth-child(1),.token-rules-table td:nth-child(1){width:260px}.token-rules-table th:nth-child(2),.token-rules-table td:nth-child(2){width:180px}.token-rules-table th:nth-child(3),.token-rules-table td:nth-child(3){width:220px}.token-rules-table th:nth-child(4),.token-rules-table td:nth-child(4){width:120px}.token-rules-table th:nth-child(5),.token-rules-table td:nth-child(5){width:130px}.token-rules-table .cell-title strong,.token-rules-table .cell-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.token-rules-table td:nth-child(2) strong{font-variant-numeric:tabular-nums}.token-rules-table th:last-child,.token-rules-table td:last-child{position:sticky;right:0;z-index:2;width:196px;min-width:196px;background:#fff;box-shadow:-8px 0 12px -10px #0f172a24;overflow:visible}.token-rules-table thead th:last-child{z-index:3;background:#fbfcfd}.token-rules-table .row-actions{flex-wrap:nowrap}.agent-rules-table .table-wrap{overflow-x:auto}.agent-rules-table .table-wrap table{min-width:1080px}.agent-rules-table th:nth-child(1),.agent-rules-table td:nth-child(1){width:240px}.agent-rules-table th:nth-child(2),.agent-rules-table td:nth-child(2){width:220px}.agent-rules-table th:nth-child(3),.agent-rules-table td:nth-child(3){width:280px}.agent-rules-table th:nth-child(4),.agent-rules-table td:nth-child(4){width:220px}.agent-rules-table th:nth-child(5),.agent-rules-table td:nth-child(5){width:120px}.agent-rules-table th:nth-child(6),.agent-rules-table td:nth-child(6){width:130px}.agent-rules-table .cell-title strong,.agent-rules-table .cell-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-rules-table td:nth-child(3) strong{font-variant-numeric:tabular-nums}.agent-rules-table th:last-child,.agent-rules-table td:last-child{position:sticky;right:0;z-index:2;width:196px;min-width:196px;background:#fff;box-shadow:-8px 0 12px -10px #0f172a24;overflow:visible}.agent-rules-table thead th:last-child{z-index:3;background:#fbfcfd}.agent-rules-table .row-actions{flex-wrap:nowrap}.agent-rule-load-error{margin:0 0 12px}.agent-rule-global-hint{margin:0 0 12px;padding:10px 12px;border-radius:8px;border:1px solid #bae6fd;background:#f0f9ff;color:#0c4a6e;font-size:13px;line-height:1.6}.agent-rule-filter-hint{margin:0 0 12px;color:#b45309;font-size:13px;line-height:1.5}.agent-rule-modal-panel{width:min(720px,100%);max-height:calc(100vh - 36px)}.agent-rule-editor-body{flex:1 1 auto;min-height:0;overflow-y:auto;display:grid;gap:14px;padding:18px;background:#f8fafc}.agent-rule-editor-section{display:grid;gap:14px;border:1px solid #e2e8f0;border-radius:10px;padding:16px;background:#fff}.agent-rule-editor-section h3{margin:0;font-size:15px;font-weight:700;color:#172026}.agent-rule-section-heading{display:flex;align-items:center;gap:8px}.agent-rule-section-help-btn{width:28px;height:28px;border:1px solid #d4dde5;border-radius:999px;background:#fff;color:#64748b;display:inline-grid;place-items:center;cursor:pointer;flex-shrink:0;padding:0}.agent-rule-section-help-btn:hover,.agent-rule-section-help-btn.active{border-color:#0f766e;color:#0f766e;background:#ecfdf5}.agent-rule-section-desc{display:grid;gap:8px;margin:-4px 0 0;padding:12px 14px;border-radius:8px;background:#f1f5f9;border:1px solid #e2e8f0;font-size:13px;line-height:1.55;color:#475569}.agent-rule-section-desc p{margin:0}.agent-rule-section-desc strong{color:#334155;font-weight:600}.agent-rule-editor-section .field-hint.full{margin:-4px 0 0}.agent-rule-editor-section label>.field-hint{display:block;margin-top:6px;font-size:12px;line-height:1.45;color:#64748b}.agent-rule-form-error{margin:0}.agent-rule-checkbox-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.agent-rule-checkbox-row .checkbox-field{margin:0;min-height:44px;padding:10px 12px;border:1px solid #e8edf2;border-radius:8px;background:#f8fafc}.agent-rule-editor-section .checkbox-field.full{min-height:44px;padding:10px 12px;border:1px solid #e8edf2;border-radius:8px;background:#f8fafc}.agent-rule-editor-section .segmented-filter{margin-top:8px}.agent-rule-remark-field{margin:0}.agent-rule-picker{display:grid;gap:8px;border:1px solid #d5dee6;border-radius:8px;padding:10px 12px;background:#f8fafc}.agent-rule-picker>input{width:100%}.agent-rule-picker-count{font-size:12px;color:#64748b}.agent-rule-picker-list{display:grid;gap:4px;max-height:160px;overflow-y:auto;padding:4px 0}.agent-rule-picker-item{display:flex;align-items:center;gap:8px;margin:0;padding:6px 8px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer}.agent-rule-picker-item:hover{background:#eef6f5}.checkbox-field{display:flex;align-items:center;gap:8px;font-size:13px}.checkbox-field input[type=checkbox]{width:auto}.token-rule-modal-panel{width:min(640px,100%)}.token-rule-versions-panel{width:min(860px,100%)}.version-compare-panel{margin-top:16px;padding-top:16px;border-top:2px solid #0f766e}.version-compare-panel h3{margin:0 0 12px;font-size:15px;color:#0f766e}.version-compare-row{background:#fffbeb}.version-compare-new{color:#15803d;font-weight:600}.empty-hint{margin:0;padding:24px 0;text-align:center;color:#64748b}.form-grid textarea{width:100%;min-height:88px;border:1px solid #d4dde5;border-radius:8px;padding:10px 12px;font:inherit;resize:vertical}.roles-perm-panel{width:min(720px,100%)}.roles-perm-body{display:flex;flex-direction:column;gap:0;max-height:min(68vh,640px);overflow:hidden;padding:0}.roles-perm-loading,.roles-perm-empty{padding:18px}.roles-perm-summary{flex:0 0 auto;padding:12px 18px;border-bottom:1px solid #edf1f5;font-size:13px;color:#64748b;background:#fff}.roles-perm-tree-panel{flex:1 1 auto;min-height:0;overflow-y:auto;padding:14px 18px 18px;background:#f8fafc}.roles-perm-tree{display:grid;gap:12px}.roles-perm-module{border:1px solid #e2e8f0;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 1px 2px #0f172a0a}.roles-perm-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;padding:12px 14px}.roles-perm-item.is-depth-0{background:#f8fafc;border-bottom:1px solid #edf1f5}.roles-perm-item.is-depth-0 .roles-perm-name{font-size:14px}.roles-perm-item.is-depth-1,.roles-perm-item.is-depth-2{padding-top:10px;padding-bottom:10px}.roles-perm-children{padding:4px 0 8px}.roles-perm-children.is-depth-0 .roles-perm-item{margin-left:14px;padding-left:12px;border-left:2px solid #e2e8f0}.roles-perm-children.is-depth-1 .roles-perm-item{margin-left:28px;padding-left:12px;border-left:2px solid #eef2f6}.roles-perm-meta{min-width:0}.roles-perm-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.roles-perm-name{font-size:13px;font-weight:600;color:#172026}.roles-perm-code{display:block;margin-top:6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 8px;border-radius:6px;background:#f1f5f9;color:#64748b;font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.roles-perm-type{flex-shrink:0;font-size:11px;line-height:1.4;padding:2px 8px;border-radius:999px;border:1px solid #d5dee6;background:#f8fafc;color:#64748b}.roles-perm-type.is-menu{border-color:#c7d8d3;background:#ecfdf5;color:#0f766e}.roles-perm-type.is-button{border-color:#dbeafe;background:#eff6ff;color:#1d4ed8}.roles-perm-type.is-field{border-color:#fde68a;background:#fffbeb;color:#a16207}.roles-perm-check{display:flex;align-items:center;margin:0;padding-top:2px;cursor:pointer}.roles-perm-status{width:8px;height:8px;border-radius:999px;background:#cbd5e1;margin-top:7px}.roles-perm-status.is-owned{background:#16a34a;box-shadow:0 0 0 3px #16a34a26}.roles-perm-reason{flex:0 0 auto;padding:14px 18px 18px;border-top:1px solid #edf1f5;background:#fff}.roles-form-panel{width:min(860px,100%)}.roles-form-body{display:flex;flex-direction:column;gap:20px;max-height:min(72vh,720px);overflow:auto;padding:18px 20px}.roles-form-section{display:flex;flex-direction:column;gap:12px}.roles-form-section-title{margin:0;font-size:14px;font-weight:600;color:#1e293b}.roles-form-role-hint{margin:0;padding:10px 12px;font-size:13px;color:#475569;background:#f8fafc;border-radius:8px}.roles-perm-group-title{margin:0 0 8px;padding:8px 12px;font-size:13px;font-weight:600;color:#475569;background:#f8fafc;border-radius:8px}.roles-perm-menu-block{margin-bottom:8px}.roles-scope-options{display:flex;flex-direction:column;gap:8px}.roles-scope-option{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer}.roles-scope-option.is-active{border-color:#16a34a;background:#f0fdf4}.roles-scope-option input{grid-row:span 2;align-self:center}.roles-scope-label{font-weight:600;color:#0f172a}.roles-scope-hint{grid-column:2;font-size:12px;color:#64748b}.roles-agent-scope{display:flex;flex-direction:column;gap:10px}.roles-agent-picker{display:flex;flex-direction:column;gap:6px;max-height:160px;overflow:auto;padding:8px;border:1px solid #e2e8f0;border-radius:8px;background:#fafafa}.roles-agent-pick-item{display:flex;align-items:center;gap:8px;font-size:13px}.roles-agent-pick-item code{margin-left:auto;font-size:11px;color:#64748b}.roles-assign-panel{width:min(640px,100%)}.roles-assign-body{display:flex;flex-direction:column;gap:0;max-height:min(68vh,600px);overflow:hidden;padding:0}.roles-assign-loading{padding:18px}.roles-assign-summary{flex:0 0 auto;padding:12px 18px;border-bottom:1px solid #edf1f5;font-size:13px;color:#64748b;background:#fff}.roles-assign-tree-panel{flex:1 1 auto;min-height:0;overflow-y:auto;padding:14px 18px;background:#f8fafc}.roles-assign-list{display:grid;gap:10px}.roles-assign-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;margin:0;padding:12px 14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.roles-assign-card:hover:not(.is-disabled){border-color:#c7d8d3;box-shadow:0 2px 8px #0f766e14}.roles-assign-card.is-selected{border-color:#9fd4cb;background:#f6fdfb;box-shadow:0 0 0 1px #0f766e14}.roles-assign-card.is-disabled{opacity:.62;cursor:not-allowed;background:#f8fafc}.roles-assign-check{margin-top:3px}.roles-assign-card-body{min-width:0}.roles-assign-card-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.roles-assign-name{font-size:14px;font-weight:700;color:#172026}.roles-assign-scope{flex-shrink:0;font-size:11px;line-height:1.4;padding:2px 8px;border-radius:999px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8}.roles-assign-desc{margin:6px 0 0;font-size:12px;line-height:1.5;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.roles-assign-reason{flex:0 0 auto;padding:14px 18px 18px;border-top:1px solid #edf1f5;background:#fff}.roles-table .table-wrap,.roles-admins-table .table-wrap{overflow-x:auto}.roles-table .table-wrap table{min-width:980px}.roles-admins-table .table-wrap table{min-width:920px}.roles-table th:nth-child(1),.roles-table td:nth-child(1){width:180px}.roles-table th:nth-child(2),.roles-table td:nth-child(2){width:220px}.roles-table th:nth-child(3),.roles-table td:nth-child(3){width:120px}.roles-table th:nth-child(4),.roles-table td:nth-child(4){width:100px}.roles-table th:nth-child(5),.roles-table td:nth-child(5){width:160px}.roles-table th:last-child,.roles-table td:last-child,.roles-admins-table th:last-child,.roles-admins-table td:last-child{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-8px 0 12px -10px #0f172a24;overflow:visible}.roles-table th:last-child,.roles-table td:last-child{width:320px;min-width:320px}.roles-admins-table th:last-child,.roles-admins-table td:last-child{width:132px;min-width:132px}.roles-table thead th:last-child,.roles-admins-table thead th:last-child{z-index:3;background:#fbfcfd}.roles-table .row-actions,.roles-admins-table .row-actions{flex-wrap:nowrap}.notifications-table .table-wrap{overflow-x:auto}.notifications-table .table-wrap table{min-width:860px}.notifications-table th:nth-child(1),.notifications-table td:nth-child(1){width:180px}.notifications-table th:nth-child(2),.notifications-table td:nth-child(2){width:120px}.notifications-table th:nth-child(3),.notifications-table td:nth-child(3){width:100px}.notifications-table th:nth-child(4),.notifications-table td:nth-child(4){width:160px}.notifications-table th:nth-child(5),.notifications-table td:nth-child(5){width:220px}.notifications-table th:last-child,.notifications-table td:last-child{position:sticky;right:0;z-index:2;width:132px;min-width:132px;background:#fff;box-shadow:-8px 0 12px -10px #0f172a24;overflow:visible}.notifications-table thead th:last-child{z-index:3;background:#fbfcfd}.cell-ellipsis{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-ellipsis .table-wrap table{table-layout:fixed;width:100%}.table-ellipsis th,.table-ellipsis td{vertical-align:middle}.table-ellipsis td:not(:has(.row-actions)){overflow:hidden}.table-ellipsis .cell-ellipsis{font-variant-numeric:tabular-nums}.h5-backup-table .table-wrap table{min-width:960px}.h5-backup-table td:has(.cell-summary-two-line){min-width:200px;max-width:300px;vertical-align:top}.cell-summary-two-line{display:flex;flex-direction:column;gap:4px;min-width:0}.cell-summary-primary{display:block;font-size:13px;font-weight:600;line-height:1.35;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-summary-secondary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12px;line-height:1.45;color:#64748b;word-break:break-word}.customers-table .table-wrap{overflow-x:auto}.customers-table .table-wrap table{min-width:760px}.customers-table-logs .table-wrap table{min-width:1080px}.customers-table th:nth-child(1),.customers-table td:nth-child(1){width:132px}.customers-table th:nth-child(2),.customers-table td:nth-child(2){width:140px}.customers-table th:nth-child(3),.customers-table td:nth-child(3){width:140px}.customers-table th:nth-child(4),.customers-table td:nth-child(4){width:160px}.customers-table-logs th:nth-child(7),.customers-table-logs td:nth-child(7){width:220px}.customers-table-logs th:nth-child(8),.customers-table-logs td:nth-child(8){width:160px}.customers-table-with-select th:first-child,.customers-table-with-select td:first-child{width:56px;min-width:56px}.customers-table .table-check{display:inline-flex;align-items:center;justify-content:center;margin:0}.customer-transfer-modal .modal-body{display:flex;flex-direction:column;gap:16px}.customer-transfer-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.customer-transfer-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px 4px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:13px}.customer-transfer-chip-remove{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.customer-transfer-chip-remove:disabled{cursor:not-allowed;opacity:.5}.customers-table-with-actions th:last-child,.customers-table-with-actions td:last-child{position:sticky;right:0;z-index:2;width:96px;min-width:96px;background:#fff;box-shadow:-8px 0 12px -10px #0f172a24;overflow:visible}.customers-table-with-actions thead th:last-child{z-index:3;background:#fbfcfd}.customers-table .row-actions{flex-wrap:nowrap}.quarter-reward-tier-panel{display:grid;gap:16px;padding:0 18px 18px}.quarter-reward-tier-intro{margin:0;padding:12px 14px;border-radius:8px;border:1px solid #bae6fd;background:#f0f9ff;color:#0c4a6e;font-size:13px;line-height:1.6}.quarter-reward-tier-table{border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;background:#fff}.quarter-reward-tier-item{border-bottom:1px solid #eef2f6;background:#fff}.quarter-reward-tier-item:last-child{border-bottom:0}.quarter-reward-tier-main,.quarter-reward-tier-card-main{display:grid;grid-template-columns:auto minmax(0,1fr) 32px;gap:16px;align-items:center;padding:16px 18px}.quarter-reward-tier-badge{display:inline-flex;align-self:center;padding:6px 12px;border-radius:999px;background:#ecfdf5;color:#0f766e;font-size:13px;font-weight:700;white-space:nowrap}.quarter-reward-tier-help-btn{width:32px;height:32px;border:1px solid #d4dde5;border-radius:999px;background:#fff;color:#64748b;display:inline-grid;place-items:center;cursor:pointer;flex-shrink:0;justify-self:end}.quarter-reward-tier-help-btn:hover,.quarter-reward-tier-help-btn.active{border-color:#0f766e;color:#0f766e;background:#ecfdf5}.quarter-reward-tier-rules-panel{padding:0 18px 16px;border-top:1px dashed #e8edf2}.quarter-reward-tier-rules-title{margin:12px 0 8px;font-size:12px;font-weight:600;color:#475569}.quarter-reward-tier-rules{margin:0;padding:12px 14px;list-style:none;display:grid;gap:6px;border-radius:8px;background:#f8fafc;border:1px solid #e8edf2}.quarter-reward-tier-rules li{position:relative;padding-left:12px;font-size:12px;color:#64748b;line-height:1.6}.quarter-reward-tier-rules li:before{content:"";position:absolute;left:0;top:.62em;width:4px;height:4px;border-radius:999px;background:#94a3b8}.quarter-reward-tier-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.quarter-reward-tier-fields label{display:grid;gap:6px;margin:0;min-width:0}.quarter-reward-tier-footer{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;padding-top:16px;border-top:1px solid #eef2f6}.quarter-reward-tier-reason{flex:1 1 320px;display:grid;gap:6px;margin:0;min-width:0}.quarter-reward-tier-footer .btn{flex:0 0 auto}.quarter-reward-tier-readonly{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 18px 18px}.quarter-reward-tier-card{display:grid;gap:0;border:1px solid #e2e8f0;border-radius:10px;background:linear-gradient(180deg,#f8fafc,#fff);overflow:hidden}.quarter-reward-tier-card-metrics{display:flex;flex-wrap:wrap;gap:8px 16px;min-width:0;font-size:13px;font-weight:600;color:#0f172a}.quarter-reward-tier-card-metrics span:last-child{color:#0f766e}.quarter-reward-metrics{margin-bottom:16px}.quarter-reward-metrics .metric-card strong{font-size:22px;line-height:1.2}.quarter-reward-amount{color:#0f766e;font-weight:700}.quarter-reward-money{font-variant-numeric:tabular-nums;font-weight:600;color:#0f172a}.quarter-rewards-table .table-wrap{overflow-x:auto}.quarter-rewards-table .table-wrap table{min-width:1080px}.quarter-rewards-table-with-select .table-wrap table{min-width:1124px}.quarter-rewards-table-with-select th:first-child,.quarter-rewards-table-with-select td:first-child{width:40px;min-width:40px;max-width:40px;padding-left:8px;padding-right:8px;text-align:center}.quarter-rewards-table-with-select .table-check{display:inline-flex;align-items:center;justify-content:center;margin:0}.quarter-rewards-table-with-select .table-check input[type=checkbox]{width:14px;height:14px;margin:0}.quarter-rewards-table-with-select th:nth-child(2),.quarter-rewards-table-with-select td:nth-child(2){width:220px}.quarter-rewards-table-with-select th:nth-child(3),.quarter-rewards-table-with-select td:nth-child(3){width:140px}.quarter-rewards-table-with-select th:nth-child(4),.quarter-rewards-table-with-select td:nth-child(4),.quarter-rewards-table-with-select th:nth-child(5),.quarter-rewards-table-with-select td:nth-child(5){width:132px;text-align:right}.quarter-rewards-table-with-select th:nth-child(6),.quarter-rewards-table-with-select td:nth-child(6){width:180px}.quarter-rewards-table-with-select th:nth-child(7),.quarter-rewards-table-with-select td:nth-child(7){width:100px}.quarter-rewards-table-with-select th:nth-child(8),.quarter-rewards-table-with-select td:nth-child(8){width:180px}.quarter-rewards-table-with-select th:nth-child(4),.quarter-rewards-table-with-select th:nth-child(5){text-align:right}.quarter-rewards-table-with-select .cell-title strong,.quarter-rewards-table-with-select .cell-title span,.quarter-rewards-table-with-select td:nth-child(4),.quarter-rewards-table-with-select td:nth-child(5){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quarter-rewards-table th:nth-child(1),.quarter-rewards-table td:nth-child(1){width:220px}.quarter-rewards-table th:nth-child(2),.quarter-rewards-table td:nth-child(2){width:140px}.quarter-rewards-table th:nth-child(3),.quarter-rewards-table td:nth-child(3),.quarter-rewards-table th:nth-child(4),.quarter-rewards-table td:nth-child(4){width:132px;text-align:right}.quarter-rewards-table th:nth-child(5),.quarter-rewards-table td:nth-child(5){width:180px}.quarter-rewards-table th:nth-child(6),.quarter-rewards-table td:nth-child(6){width:100px}.quarter-rewards-table th:nth-child(7),.quarter-rewards-table td:nth-child(7){width:180px}.quarter-rewards-table th:nth-child(3),.quarter-rewards-table th:nth-child(4){text-align:right}.quarter-rewards-table .cell-title strong,.quarter-rewards-table .cell-title span,.quarter-rewards-table td:nth-child(3),.quarter-rewards-table td:nth-child(4){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quarter-rewards-table th:last-child,.quarter-rewards-table td:last-child{position:sticky;right:0;z-index:2;width:196px;min-width:196px;background:#fff;box-shadow:-8px 0 12px -10px #0f172a24;overflow:visible}.quarter-rewards-table thead th:last-child{z-index:3;background:#fbfcfd}.quarter-rewards-table .row-actions{flex-wrap:nowrap}@media(max-width:1100px){.quarter-reward-tier-main,.quarter-reward-tier-card-main{grid-template-columns:1fr 32px;grid-template-areas:"badge help" "fields help";align-items:start}.quarter-reward-tier-badge{grid-area:badge}.quarter-reward-tier-fields,.quarter-reward-tier-card-metrics{grid-area:fields}.quarter-reward-tier-help-btn{grid-area:help;align-self:start;margin-top:2px}.quarter-reward-tier-fields,.quarter-reward-tier-readonly{grid-template-columns:1fr}.quarter-reward-tier-footer{flex-direction:column;align-items:stretch}.quarter-reward-tier-footer .btn{width:100%}}.profit-table .table-wrap{overflow-x:auto}.profit-table-agents .table-wrap table{min-width:760px}.profit-table-employees .table-wrap table{min-width:900px}.profit-table-orders .table-wrap table{min-width:980px}.profit-table-agents th:nth-child(1),.profit-table-agents td:nth-child(1),.profit-table-employees th:nth-child(2),.profit-table-employees td:nth-child(2){width:180px}.profit-table-employees th:nth-child(1),.profit-table-employees td:nth-child(1){width:160px}.profit-table-agents th:nth-child(n+2),.profit-table-agents td:nth-child(n+2),.profit-table-employees th:nth-child(n+3),.profit-table-employees td:nth-child(n+3){width:120px}.profit-table-orders th:nth-child(1),.profit-table-orders td:nth-child(1){width:140px}.profit-table-orders th:nth-child(2),.profit-table-orders td:nth-child(2){width:180px}.profit-table-orders th:nth-child(3),.profit-table-orders td:nth-child(3),.profit-table-orders th:nth-child(4),.profit-table-orders td:nth-child(4),.profit-table-orders th:nth-child(5),.profit-table-orders td:nth-child(5){width:110px}.profit-table-orders th:nth-child(6),.profit-table-orders td:nth-child(6){width:160px}.profit-table-orders th:nth-child(7),.profit-table-orders td:nth-child(7){width:96px}.roles-table .table-wrap table,.roles-admins-table .table-wrap table{table-layout:fixed;width:100%}.roles-admins-table th:nth-child(1),.roles-admins-table td:nth-child(1){width:140px}.roles-admins-table th:nth-child(2),.roles-admins-table td:nth-child(2){width:120px}.roles-admins-table th:nth-child(3),.roles-admins-table td:nth-child(3){width:120px}.roles-admins-table th:nth-child(4),.roles-admins-table td:nth-child(4){width:96px}.roles-admins-table th:nth-child(5),.roles-admins-table td:nth-child(5){width:220px}.roles-admins-table th:nth-child(6),.roles-admins-table td:nth-child(6){width:160px}.notifications-table .row-actions{flex-wrap:nowrap}.recalculation-table .table-wrap{overflow-x:auto}.recalculation-table .table-wrap table{min-width:960px;table-layout:fixed;width:100%}.recalculation-table th,.recalculation-table td{overflow:hidden;vertical-align:middle}.recalculation-table th:nth-child(1),.recalculation-table td:nth-child(1){width:140px}.recalculation-table th:nth-child(2),.recalculation-table td:nth-child(2){width:100px}.recalculation-table th:nth-child(3),.recalculation-table td:nth-child(3){width:96px}.recalculation-table th:nth-child(4),.recalculation-table td:nth-child(4){width:120px}.recalculation-table th:nth-child(5),.recalculation-table td:nth-child(5){width:96px}.recalculation-table th:nth-child(6),.recalculation-table td:nth-child(6){width:160px}.recalculation-table th:nth-child(7),.recalculation-table td:nth-child(7){width:220px}.recalculation-table .cell-ellipsis{font-variant-numeric:tabular-nums}@media(max-width:1100px){.filter-grid:not(.filter-grid-row){grid-template-columns:repeat(2,minmax(0,1fr))}.benefit-groups-layout{grid-template-columns:1fr}}@media(max-width:720px){.analytics-period-panel{margin:0 12px 14px;padding:12px}.analytics-period-summary strong{font-size:19px}.analytics-custom-range{grid-template-columns:1fr}.analytics-metric-section-header{display:grid;gap:4px}.analytics-metric-section-header p{text-align:left}.analytics-metric-grid,.analytics-metric-section.period .analytics-metric-grid,.analytics-metric-section.ops .analytics-metric-grid{grid-template-columns:1fr}.list-filter-panel{padding:0 12px 14px}.list-filter-actions .btn{flex:1 1 120px}.filter-grid:not(.filter-grid-row){grid-template-columns:1fr}.filter-grid.filter-grid-row{flex-wrap:wrap}.filter-grid.filter-grid-row .filter-actions{width:100%;justify-content:flex-end}.agent-rule-checkbox-row{grid-template-columns:1fr}}
