:root{color-scheme:light;--navy-950:#041d2b;--navy-900:#06283a;--navy-800:#073b55;--teal-700:#0b6378;--teal-600:#0b7f95;--blue-600:#2563eb;--bg:#f3f6fa;--panel:#ffffff;--panel-soft:#f8fafc;--line:#e2e8f0;--line-strong:#cbd5e1;--text:#172033;--muted:#64748b;--subtle:#94a3b8;--accent:#0b6b83;--accent-2:#2563eb;--success:#16a34a;--warning:#f59e0b;--danger:#e11d48;--purple:#7c3aed;--shadow:0 12px 36px rgba(15,23,42,0.08)}*{box-sizing:border-box}html{background:var(--bg)}body,html{min-height:100%}body{margin:0;background:radial-gradient(circle at 90% 0,rgba(14,116,144,.08),transparent 24rem),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}.app-shell{min-height:100vh}.topbar{position:-webkit-sticky;position:sticky;top:0;z-index:50;color:#fff;background:linear-gradient(105deg,rgba(4,29,43,.98),rgba(6,54,76,.98)),var(--navy-950);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 10px 26px rgba(2,18,28,.18)}.topbar:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.28;background-image:repeating-radial-gradient(ellipse at 78% 115%,transparent 0 28px,rgba(255,255,255,.16) 29px 30px,transparent 31px 48px);-webkit-mask-image:linear-gradient(90deg,transparent 30%,#000 68%,transparent);mask-image:linear-gradient(90deg,transparent 30%,#000 68%,transparent)}.topbar-inner{position:relative;z-index:1;width:min(1720px,calc(100% - 48px));min-height:66px;margin:0 auto;display:grid;grid-template-columns:minmax(230px,.75fr) minmax(260px,1.35fr) minmax(360px,1fr);align-items:center;grid-gap:24px;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:700;letter-spacing:-.45px}.brand strong{color:#65d5e7;font-weight:800}.brand-light{color:#fff}.brand-mark{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;color:#06283a;font-size:19px;font-weight:900;background:linear-gradient(145deg,#7de5ee,#4ac1d2);box-shadow:0 8px 24px rgba(55,206,220,.22)}.global-search{min-width:0;height:38px;display:flex;align-items:center;gap:9px;padding:0 11px;border:1px solid rgba(255,255,255,.13);border-radius:9px;color:rgba(255,255,255,.7);background:rgba(3,22,33,.48)}.global-search input{flex:1 1;min-width:0;border:0;outline:0;color:#fff;background:transparent}.global-search input::placeholder{color:rgba(255,255,255,.58)}.global-search kbd{padding:2px 6px;border:1px solid rgba(255,255,255,.12);border-radius:5px;color:rgba(255,255,255,.55);font-size:10px;background:rgba(255,255,255,.07)}.topbar-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}.icon-button,.mobile-menu-button{position:relative;width:38px;height:38px;border:1px solid rgba(255,255,255,.1);border-radius:10px;display:grid;place-items:center;color:rgba(255,255,255,.82);background:rgba(255,255,255,.07);transition:.18s ease}.icon-button:hover,.mobile-menu-button:hover{color:#fff;background:rgba(255,255,255,.13);transform:translateY(-1px)}.notification-dot{position:absolute;right:7px;top:7px;width:7px;height:7px;border:2px solid var(--navy-900);border-radius:50%;background:#fb476d}.profile-chip{display:flex;align-items:center;gap:10px;min-width:0;margin:0 4px}.profile-avatar{flex:0 0 auto;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;font-size:12px;font-weight:800;color:#063346;background:linear-gradient(145deg,#ecfeff,#99e8ef)}.profile-copy{min-width:0;display:grid;grid-gap:1px;gap:1px}.profile-copy strong{max-width:190px;overflow:hidden;text-overflow:ellipsis;font-size:12px;white-space:nowrap}.profile-copy small{color:rgba(255,255,255,.55);font-size:10px}.mobile-menu-button{display:none}.topnav{position:-webkit-sticky;position:sticky;top:66px;z-index:45;color:#dbeafe;background:rgba(4,34,49,.98);border-bottom:1px solid rgba(255,255,255,.08)}.topnav-inner{width:min(1720px,calc(100% - 48px));min-height:39px;margin:0 auto;display:flex;align-items:stretch;gap:2px;overflow-x:auto;scrollbar-width:none}.topnav-inner::-webkit-scrollbar{display:none}.topnav a{min-height:39px;display:inline-flex;align-items:center;gap:7px;padding:0 14px;border-bottom:2px solid transparent;color:rgba(226,242,249,.76);font-size:12px;font-weight:650;white-space:nowrap;transition:.18s ease}.topnav a:hover{color:#fff;background:rgba(255,255,255,.055)}.topnav a.active{color:#fff;border-bottom-color:#5ee0e9;background:rgba(70,207,220,.1)}.app-content{width:min(1720px,calc(100% - 48px));margin:0 auto;padding:24px 0 44px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}.page-heading h1{margin:7px 0 0;color:#142137;font-size:clamp(24px,2vw,31px);letter-spacing:-.8px}.page-heading p{margin:6px 0 0;color:var(--muted);font-size:13px}.breadcrumb{display:flex;align-items:center;gap:6px;color:var(--subtle);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.breadcrumb strong{color:var(--teal-700)}.page-heading-status{display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.72);box-shadow:0 5px 16px rgba(15,23,42,.035)}.page-heading-status div{display:grid;grid-gap:1px;gap:1px}.page-heading-status strong{color:#1e293b;font-size:11px}.page-heading-status small{color:var(--muted);font-size:9px}.live-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12)}.grid{display:grid;grid-gap:16px;gap:16px}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.two-col{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-gap:18px;gap:18px}.card,.dashboard-panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.card{padding:20px}.card h2{margin:0 0 18px;color:#1e293b;font-size:16px}.metric{position:relative;overflow:hidden}.metric:after{content:"";position:absolute;right:-22px;top:-22px;width:100px;height:100px;border-radius:50%;background:rgba(11,107,131,.07)}.metric strong{display:block;margin-top:10px;color:#0f4256;font-size:30px}.muted{color:var(--muted)}.table-scroll{width:100%;overflow-x:auto}.table{width:100%;border-collapse:collapse}.table td,.table th{padding:13px 12px;border-bottom:1px solid #edf1f5;text-align:left;vertical-align:middle}.table th{color:#66758b;background:#f8fafc;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.04em}.table td{color:#334155;font-size:12px}.table tbody tr{transition:.15s ease}.table tbody tr:hover{background:#fbfdff}.table tbody tr:last-child td{border-bottom:0}.table-subtext{display:block;margin-top:3px;color:var(--subtle);font-size:9px}.badge,.status-badge,.type-chip{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:9px;font-weight:750;line-height:1;white-space:nowrap}.badge{padding:6px 9px;color:#075985;background:#e0f2fe}.type-chip{padding:5px 8px;color:#475569;border:1px solid #dce4ed;background:#f8fafc}.status-badge{min-width:58px;padding:6px 9px;color:#475569;background:#eef2f7}.status-active,.status-answered,.status-connected,.status-paid{color:#15803d;background:#dcfce7}.status-customer_reply,.status-pending,.status-processing{color:#a16207;background:#fef3c7}.status-error,.status-open,.status-suspended{color:#be123c;background:#ffe4e6}.status-cancelled,.status-closed,.status-disabled{color:#475569;background:#e2e8f0}.status-unknown{color:#6d28d9;background:#ede9fe}.btn{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:9px;padding:9px 14px;color:#fff;font-size:11px;font-weight:750;background:linear-gradient(135deg,var(--teal-700),#0d91a4);box-shadow:0 8px 18px rgba(11,107,131,.18);transition:.18s ease}.btn:hover{transform:translateY(-1px);filter:brightness(1.04)}.btn.secondary{color:#334155;border:1px solid var(--line);background:#fff;box-shadow:none}.form{display:grid;grid-gap:14px;gap:14px}.field{display:grid;grid-gap:7px;gap:7px}.field label,label{color:#64748b;font-size:11px;font-weight:650}.field input,.field select,.field textarea,.toolbar select{width:100%;border:1px solid #d8e0ea;border-radius:9px;padding:10px 11px;outline:none;color:#1e293b;background:#fff;transition:.15s ease}.field input:focus,.field select:focus,.field textarea:focus,.toolbar select:focus{border-color:#3da5b5;box-shadow:0 0 0 3px rgba(61,165,181,.12)}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.toolbar select{width:auto;min-width:240px}.error{margin-bottom:14px;padding:11px 13px;color:#be123c;border:1px solid #fecdd3;border-radius:9px;background:#fff1f2;font-size:12px}.empty{padding:40px 20px;text-align:center;color:var(--muted)}.dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.82)}.toolbar-summary{display:flex;align-items:center;gap:9px;min-width:0}.toolbar-summary strong{color:#27354a;font-size:11px}.toolbar-summary small{color:var(--muted);font-size:10px}.toolbar-actions{display:flex;gap:8px}.action-grid,.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px}.overview-card{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.045)}.overview-card>div{min-width:0;display:grid;grid-gap:3px;gap:3px}.overview-card strong{font-size:clamp(19px,1.7vw,26px);letter-spacing:-.55px}.overview-card span:not(.overview-icon){color:#4b5b70;font-size:10px;font-weight:700}.overview-card small{color:var(--subtle);font-size:8px}.overview-icon{flex:0 0 auto;width:55px;height:55px;display:grid;place-items:center;border-radius:15px;opacity:.72}.tone-green strong{color:#2f9c67}.tone-green .overview-icon{color:#2f9c67;background:#e9f8f0}.tone-orange strong{color:#f08a23}.tone-orange .overview-icon{color:#e9831f;background:#fff4e7}.tone-blue strong{color:#3b82f6}.tone-blue .overview-icon{color:#3b82f6;background:#eaf2ff}.tone-red strong{color:#ee4d62}.tone-red .overview-icon{color:#e9455b;background:#ffedf0}.action-grid{margin-top:10px}.action-metric{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-radius:9px;color:#fff;overflow:hidden;box-shadow:0 7px 20px rgba(15,23,42,.08)}.action-metric>div{display:grid;grid-gap:2px;gap:2px}.action-metric strong{font-size:24px}.action-metric span{font-size:10px;font-weight:750}.action-metric small{color:rgba(255,255,255,.72);font-size:8px}.action-metric>svg{flex:0 0 auto;opacity:.24;transform:scale(1.18)}.action-pink{background:linear-gradient(115deg,#df2267,#f03b7c)}.action-purple{background:linear-gradient(115deg,#8a5cf6,#a56ff7)}.action-green{background:linear-gradient(115deg,#5aa66b,#73b97e)}.action-slate{background:linear-gradient(115deg,#547385,#6c8998)}.dashboard-panel{margin-top:10px;overflow:hidden;box-shadow:0 7px 22px rgba(15,23,42,.055)}.panel-title{min-height:38px;justify-content:space-between;gap:14px;padding:8px 11px;color:#fff;background:linear-gradient(90deg,#07506c,#08647d)}.panel-title,.panel-title>div{display:flex;align-items:center}.panel-title>div{gap:7px;min-width:0}.panel-title strong{font-size:10px}.panel-title span{color:rgba(255,255,255,.62);font-size:8px}.panel-title a{display:inline-flex;align-items:center;gap:4px;color:rgba(255,255,255,.8);font-size:8px;white-space:nowrap}.panel-title a:hover{color:#fff}.panel-title .panel-total{color:#fff;font-size:10px;font-weight:750}.dashboard-table td,.dashboard-table th{padding:10px 11px}.customer-cell{display:flex;align-items:center;gap:8px;min-width:150px}.customer-cell>span{flex:0 0 auto;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;color:#0c667b;background:#dff4f7;font-size:9px;font-weight:800}.customer-cell>div{min-width:0;display:grid;grid-gap:1px;gap:1px}.customer-cell strong{color:#243248;font-size:10px}.customer-cell small{max-width:165px;overflow:hidden;text-overflow:ellipsis;color:var(--subtle);font-size:8px;white-space:nowrap}.table-action{width:25px;height:25px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;color:#0b6b83;background:#fff}.table-action:hover{background:#ecfeff}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:10px;gap:10px}.dashboard-columns-lower{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.empty-state{min-height:170px;display:grid;place-items:center;align-content:center;grid-gap:5px;gap:5px;padding:24px;color:#b0bac7;text-align:center}.empty-state strong{color:#7d8999;font-size:11px}.empty-state span{font-size:9px}.empty-state svg{margin-bottom:5px;opacity:.55}.empty-state.compact{min-height:130px}.compact-list{display:grid}.compact-row{min-height:54px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:10px;gap:10px;padding:9px 12px;border-bottom:1px solid #edf1f5}.compact-row:last-child{border-bottom:0}.compact-row:hover{background:#f8fbfd}.compact-row>div{min-width:0;display:grid;grid-gap:2px;gap:2px}.compact-row strong{color:#263449;font-size:10px}.compact-row small,.compact-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-row small{color:var(--muted);font-size:8px}.priority-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.13)}.priority-high,.priority-urgent{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.12)}.priority-normal{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.12)}.priority-low{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12)}.chart-wrap{padding:11px 14px 9px;color:#0b8299}.revenue-chart{width:100%;height:165px;overflow:visible}.chart-grid-line{stroke:#e5eaf0;stroke-width:1;stroke-dasharray:4 5}.chart-line{fill:none;stroke:currentColor;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.chart-point{fill:#fff;stroke:currentColor;stroke-width:3}.chart-labels{display:grid;grid-template-columns:repeat(7,1fr);grid-gap:4px;gap:4px;color:#475569;text-align:center}.chart-labels span{display:grid;grid-gap:1px;gap:1px}.chart-labels strong{font-size:8px;text-transform:uppercase}.chart-labels small{color:var(--subtle);font-size:7px}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;padding:11px}.integration-health{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:9px;gap:9px;padding:10px;border:1px solid #e7edf3;border-radius:9px;background:#fbfdff}.integration-health>div{min-width:0;display:grid;grid-gap:2px;gap:2px}.integration-health strong{color:#263449;font-size:10px}.integration-health small,.integration-health strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.integration-health small{color:var(--muted);font-size:8px}.health-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:9px}.health-label{padding:5px 7px;border-radius:999px;font-size:8px;font-weight:750}.health-connected{color:#15803d;background:#dcfce7}.health-error{color:#be123c;background:#ffe4e6}.health-unknown{color:#6d28d9;background:#ede9fe}.health-disabled{color:#475569;background:#e2e8f0}.provider-alert{display:flex;align-items:center;gap:9px;margin:0 11px 11px;padding:9px 10px;color:#b45309;border:1px solid #fde68a;border-radius:8px;background:#fffbeb}.provider-alert>div{min-width:0;display:grid;grid-gap:1px;gap:1px}.provider-alert strong{font-size:9px}.provider-alert small{overflow:hidden;text-overflow:ellipsis;font-size:8px;white-space:nowrap}.status-distribution{display:grid;grid-gap:11px;gap:11px;padding:14px}.distribution-row{display:grid;grid-gap:5px;gap:5px}.distribution-row>div:first-child{display:flex;justify-content:space-between;align-items:center;color:#5b687b;font-size:9px}.distribution-row strong{color:#253248}.progress{height:7px;overflow:hidden;border-radius:999px;background:#eef2f6}.progress span{display:block;height:100%;border-radius:inherit;background:#64748b}.progress .progress-active,.progress .progress-paid{background:#22c55e}.progress .progress-pending,.progress .progress-processing{background:#f59e0b}.progress .progress-suspended{background:#f43f5e}.progress .progress-cancelled{background:#94a3b8}.timeline{display:grid;padding:9px 13px 13px}.timeline-item{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:10px;gap:10px;min-height:43px;padding:6px 0;border-bottom:1px solid #edf1f5}.timeline-item:last-child{border-bottom:0}.timeline-item>span{width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#0b8299;box-shadow:0 0 0 3px #d9f1f5}.timeline-item>div{display:grid;grid-gap:1px;gap:1px}.timeline-item strong{color:#27354a;font-size:9px}.timeline-item small,.timeline-item time{color:var(--muted);font-size:8px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,rgba(3,29,43,.94),rgba(5,63,83,.91)),radial-gradient(circle at 80% 20%,#147d92,transparent 42%)}.login-card{width:min(440px,100%);padding:30px;border-color:rgba(255,255,255,.16);box-shadow:0 30px 80px rgba(2,18,28,.35)}.login-card h1{margin:22px 0 4px;font-size:27px}.login-card .brand{color:#06283a}.login-card .brand span{color:#0b8299}.auth-loading{display:flex;align-items:center;gap:10px}.spinner{width:18px;height:18px;border:2px solid #d7e2e8;border-top:2px solid var(--teal-600);border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}@media (max-width:1220px){.topbar-inner{grid-template-columns:minmax(210px,.7fr) minmax(240px,1fr) auto}.profile-copy{display:none}.action-grid,.grid-4,.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.topbar-inner{width:min(100% - 28px,1720px);grid-template-columns:1fr auto;gap:12px}.global-search{display:none}.mobile-menu-button{display:grid}.topnav{display:none;top:66px}.topnav.topnav-open{display:block}.topnav-inner{width:100%;padding:8px 14px 12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:5px;gap:5px}.topnav a{border:0;border-radius:8px;padding:10px 11px}.topnav a.active{border:0}.app-content{width:min(100% - 28px,1720px);padding-top:18px}.page-heading{align-items:flex-start}.dashboard-columns,.dashboard-columns-lower,.integration-grid,.two-col{grid-template-columns:1fr}}@media (max-width:640px){.topbar-inner{min-height:60px}.topnav{top:60px}.brand{font-size:16px}.brand-mark{width:32px;height:32px}.topbar-actions{gap:6px}.profile-chip{display:none}.icon-button,.mobile-menu-button{width:34px;height:34px}.page-heading{display:grid}.page-heading-status{display:none}.dashboard-toolbar{align-items:flex-start}.toolbar-summary{display:grid;grid-template-columns:auto 1fr}.toolbar-summary small{grid-column:2}.toolbar-actions .btn{padding-inline:10px}.action-grid,.grid-4,.overview-grid{grid-template-columns:1fr}.overview-card{min-height:72px}.action-metric{min-height:68px}.chart-labels small,.panel-title>div span{display:none}.timeline-item{grid-template-columns:auto 1fr}.timeline-item time{grid-column:2}.toolbar select{width:100%}}