/* =====================================================================
   Billing UI — standalone design system (replaces style.css + billing.css)
   Font: Noto Sans Georgian · accent: teal · light + dark themes
   ===================================================================== */
:root, :root[data-theme="light"] {
  --bg: #f4f7f7; --panel: #ffffff; --panel2: #f6f9f9; --hover: #eef5f4; --line: #e4ebea; --line2: #d4dfde;
  --text: #0f1d1c; --muted: #5a6e6d; --dim: #8a9c9b;
  --accent: #0d9488; --accent2: #0f766e; --accent-soft: rgba(13,148,136,.10); --accent-ring: rgba(13,148,136,.22);
  --ok: #16a34a; --warn: #d97706; --crit: #dc2626; --info: #0284c7; --violet: #7c3aed;
  --ok-soft: #dcfce7; --warn-soft: #fef3c7; --crit-soft: #fee2e2; --info-soft: #e0f2fe; --violet-soft: #ede9fe;
  --side: #0c2423; --side2: #133432; --side-text: #a9c4c2; --side-dim: #5d8482;
  --shadow-sm: 0 1px 2px rgba(15,29,28,.05); --shadow: 0 1px 2px rgba(15,29,28,.04), 0 6px 20px rgba(15,29,28,.06); --shadow-lg: 0 20px 60px rgba(15,29,28,.18);
  --font: "Helvetica Neue LT GEO", "Noto Sans Georgian", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 16px; --r-sm: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0a1313; } }
:root[data-theme="dark"] {
  --bg: #091211; --panel: #0f1c1b; --panel2: #132322; --hover: #172b2a; --line: #1d3130; --line2: #284241;
  --text: #e3eeed; --muted: #8ea6a4; --dim: #5f7978;
  --accent: #2dd4bf; --accent2: #5eead4; --accent-soft: rgba(45,212,191,.12); --accent-ring: rgba(45,212,191,.25);
  --ok: #4ade80; --warn: #fbbf24; --crit: #f87171; --info: #38bdf8; --violet: #a78bfa;
  --ok-soft: rgba(74,222,128,.12); --warn-soft: rgba(251,191,36,.13); --crit-soft: rgba(248,113,113,.13); --info-soft: rgba(56,189,248,.12); --violet-soft: rgba(167,139,250,.14);
  --side: #071010; --side2: #0f1f1e;
  --shadow-sm: none; --shadow: 0 1px 0 rgba(255,255,255,.02); --shadow-lg: 0 24px 70px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--accent2); }
h1, h2, h3 { margin: 0; }
.hidden { display: none !important; }
.muted { color: var(--muted); } .mono { font-family: var(--mono); } .right { float: right; }
.pos { color: var(--ok); } .neg { color: var(--crit); }
.money { font-variant-numeric: tabular-nums; font-family: var(--mono); }
.spacer { flex: 1; }
.mt { margin-top: 16px; }
.lnk, .link { color: var(--accent2); cursor: pointer; text-decoration: none; font-weight: 500; }
.lnk:hover, .link:hover { text-decoration: underline; }
::selection { background: var(--accent-ring); }

/* ---------- layout ---------- */
#app { display: grid; grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: 64px 1fr; min-height: 100vh; }
.side { grid-row: 1 / 3; background: var(--side); color: var(--side-text); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--side2) transparent; }
.side .logo { height: 72px; padding: 0 20px; display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: .2px; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #0e7490); flex: none; overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 3px; }
.logo-dot { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; display: inline-block; }
.login-card .logo-dot { border-color: var(--accent); }
nav { padding: 6px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.nav-sec { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--side-dim); font-weight: 700; padding: 18px 12px 6px; }
nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--side-text); cursor: pointer; text-decoration: none; font-size: 13.8px; transition: background .12s, color .12s; position: relative; }
nav a i { font-style: normal; width: 20px; display: grid; place-items: center; opacity: .85; }
nav a i svg { width: 19px; height: 19px; }
nav a:hover { background: var(--side2); color: #fff; }
nav a.active { background: rgba(45,212,191,.14); color: #fff; font-weight: 600; }
nav a.active::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
nav a.active i { color: #5eead4; opacity: 1; }
.side-foot { margin-top: auto; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; gap: 10px; }
#whoami { display: flex; gap: 10px; align-items: center; color: #e6f2f1; flex: 1; min-width: 0; font-size: 13px; }
#whoami b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
#whoami small { display: block; font-size: 11px; color: var(--side-dim); }
.side-foot .link { color: var(--side-text); font-size: 12.5px; padding: 6px 8px; border-radius: 8px; }
.side-foot .link:hover { background: var(--side2); text-decoration: none; color: #fff; }
.uav { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #0e7490); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }

.top { grid-column: 2; display: flex; align-items: center; gap: 12px; padding: 0 28px; position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; white-space: nowrap; overflow: hidden; }
.crumbs a { cursor: pointer; color: var(--muted); } .crumbs a:hover { color: var(--text); }
.crumbs span:last-child { color: var(--text); font-weight: 600; }
.crumbs .sep { color: var(--dim); }
.qsearch { margin-left: auto; position: relative; }
.qsearch input { width: 340px; height: 40px; padding-left: 38px; border-radius: 12px; background: var(--panel); }
.qsearch::before { content: ""; position: absolute; left: 13px; top: 12px; width: 16px; height: 16px; background: var(--muted); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.theme-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; font-size: 16px; display: grid; place-items: center; }
.theme-btn:hover { border-color: var(--line2); }
#clock { font-size: 12px; color: var(--muted); white-space: nowrap; }
.burger { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 18px; cursor: pointer; }
main#page { grid-column: 2; padding: 26px 28px 60px; min-width: 0; max-width: 1600px; width: 100%; animation: fadeUp .25s ease-out; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

.mode-test { background: var(--warn-soft); color: var(--warn); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.mode-live { background: var(--ok-soft); color: var(--ok); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }

/* ---------- page head ---------- */
.page-head, .cf-head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1, .cf-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; }
.page-head p, .cf-head p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.cf-head { display: block; }

/* ---------- cards / grids ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); min-width: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card h3 { font-size: 15px; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.card.flush h3 { padding: 18px 20px 0; }
.card h3 .right { margin-left: auto; font-size: 12.5px; font-weight: 500; }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.cols-eq, .grid.cols-2.cf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chart-box { position: relative; height: 270px; } .chart-box.sm { height: 210px; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .big { font-size: 34px; margin-bottom: 8px; opacity: .7; }

/* KPI cards (dashboard) */
.kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; right: -24px; top: -24px; width: 96px; height: 96px; border-radius: 50%; background: var(--k-soft, var(--accent-soft)); }
.kpi .lbl { font-size: 12.5px; color: var(--muted); font-weight: 500; position: relative; z-index: 1; }
.kpi .val { font-size: 28px; font-weight: 800; letter-spacing: -.5px; margin-top: 6px; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.kpi .sub { font-size: 12px; color: var(--muted); margin-top: 4px; position: relative; z-index: 1; }
.kpi.ok { --k-soft: var(--ok-soft); } .kpi.bad { --k-soft: var(--crit-soft); } .kpi.bad .val { color: var(--crit); }
.kpi.warn { --k-soft: var(--warn-soft); } .kpi.info { --k-soft: var(--info-soft); }
.kpi.link { cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.kpi.link:hover { transform: translateY(-2px); border-color: var(--line2); box-shadow: var(--shadow), 0 10px 30px rgba(15,29,28,.08); }

/* status cards (clients) */
.stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat-card { font: inherit; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; color: var(--text); box-shadow: var(--shadow); transition: .15s; }
.stat-card:hover { transform: translateY(-2px); border-color: var(--line2); }
.stat-card.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.stat-card .sc-l { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; font-weight: 500; }
.stat-card .sc-l i { width: 10px; height: 10px; border-radius: 50%; }
.stat-card b { font-size: 28px; font-weight: 800; letter-spacing: -.5px; line-height: 1.1; }
.stat-card b small { font-size: 13px; font-weight: 600; color: var(--crit); letter-spacing: 0; }
.stat-card.s1 i { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); } .stat-card.s2 i { background: var(--crit); box-shadow: 0 0 0 4px var(--crit-soft); }
.stat-card.s3 i { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); } .stat-card.s4 i { background: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }

.chips-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip-f { font: inherit; font-size: 13px; height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; transition: .12s; }
.chip-f:hover { border-color: var(--line2); }
.chip-f small { color: var(--muted); font-size: 11.5px; margin-left: 5px; font-weight: 600; }
.chip-f.on { background: var(--text); border-color: var(--text); color: var(--panel); font-weight: 600; }
.chip-f.on small { color: inherit; opacity: .7; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 4px 11px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); font-size: 12px; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar > input, .toolbar > select { width: auto; height: 40px; }
.toolbar .check { margin: 0; }

/* ---------- forms ---------- */
input, select, textarea { width: 100%; height: 42px; background: var(--panel); color: var(--text); border: 1px solid var(--line2); border-radius: var(--r-sm); padding: 0 12px; font: inherit; font-size: 14px; outline: none; transition: border-color .12s, box-shadow .12s; }
textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; }
select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6e6d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
input:hover, select:hover, textarea:hover { border-color: var(--dim); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
input[readonly], input:disabled, select:disabled { background: var(--panel2); color: var(--muted); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; flex: none; }
input[type="color"] { padding: 4px; height: 42px; cursor: pointer; }
input[type="file"] { height: auto; padding: 8px; }
label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 14px; }
.form-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid .span2 { grid-column: 1 / -1; }
.form-grid > div > label + input, .form-grid > div > label + select { margin: 0; }
.check { display: flex; align-items: center; gap: 10px; margin: 8px 0; color: var(--text); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.req { color: var(--crit); }
.err { color: var(--crit); font-size: 13px; min-height: 18px; }
.bad { border-color: var(--crit) !important; box-shadow: 0 0 0 4px var(--crit-soft) !important; }
.form-sec h3, .sec-t { font-size: 15px !important; font-weight: 700; color: var(--text) !important; margin: 0 0 18px !important; padding: 0 0 14px !important; border-bottom: 1px solid var(--line) !important; display: flex !important; text-transform: none !important; letter-spacing: 0 !important; }
.subbox { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-top: 14px; background: var(--panel2); }
.subbox summary { cursor: pointer; font-weight: 600; font-size: 13.5px; }
.inp-btn { display: flex; gap: 8px; } .inp-btn select { flex: 1; min-width: 0; } .inp-btn .btn { height: 42px; }
.rads { display: flex; gap: 10px; flex-wrap: wrap; }
.rad { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin: 0; font-size: 13.5px; font-weight: 500; color: var(--text); background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 14px; transition: .12s; }
.rad:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-ring); }
.cf-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; padding: 14px 18px; position: sticky; bottom: 14px; z-index: 5; box-shadow: var(--shadow-lg); }
#mapPick { height: 320px; border-radius: 14px; border: 1px solid var(--line); margin-top: 10px; }

/* ---------- buttons ---------- */
.btn { height: 40px; background: var(--panel); color: var(--text); border: 1px solid var(--line2); border-radius: 11px; padding: 0 16px; font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: background .12s, border-color .12s, transform .06s, box-shadow .12s; text-decoration: none; }
.btn:hover { background: var(--hover); border-color: var(--dim); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(13,148,136,.3), inset 0 1px 0 rgba(255,255,255,.15); }
:root[data-theme="dark"] .btn.primary { color: #042f2c; }
.btn.primary:hover { background: var(--accent2); border-color: var(--accent2); }
.btn.danger { color: var(--crit); border-color: color-mix(in srgb, var(--crit) 35%, transparent); background: var(--crit-soft); }
.btn.danger:hover { background: color-mix(in srgb, var(--crit) 18%, transparent); }
.btn.sm { height: 32px; padding: 0 11px; font-size: 12.5px; border-radius: 9px; }
.btn.big { height: 46px; padding: 0 24px; font-size: 14.5px; border-radius: 12px; }
.btn.wide { width: 100%; }
.btn.on { background: var(--accent-soft); border-color: var(--accent); }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--panel2); }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: 13px; }
tr.clickable { cursor: pointer; transition: background .1s; }
tr.clickable:hover td { background: var(--hover); }
th.sortable { cursor: pointer; user-select: none; } th.sortable:hover { color: var(--text); } th.sorted { color: var(--accent2); }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; padding: 12px 16px; border-top: 1px solid var(--line); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); font-size: 12px; white-space: nowrap; font-weight: 500; }

/* status badges */
.stb { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px 4px 9px; border-radius: 999px; white-space: nowrap; }
.stb::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-1 { background: var(--ok-soft); color: var(--ok); } .st-2 { background: var(--crit-soft); color: var(--crit); }
.st-3 { background: var(--warn-soft); color: var(--warn); } .st-4 { background: var(--crit); color: #fff; } .st-5 { background: var(--info-soft); color: var(--info); }
.st-t1, .st-t5 { color: var(--ok); } .st-t2, .st-t4 { color: var(--crit); } .st-t3 { color: var(--warn); }
.who { display: flex; align-items: center; gap: 12px; }
.cav { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.cav::before { display: none; }
.cname { font-weight: 700; cursor: pointer; text-decoration: none; }
.cname:hover { text-decoration: underline; }
.cname .caret { font-size: 10px; opacity: .5; }

/* ---------- client page ---------- */
.client-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding: 24px; background: linear-gradient(120deg, var(--panel) 55%, var(--accent-soft)); }
.avatar { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), #0e7490); flex-shrink: 0; box-shadow: 0 8px 20px var(--accent-ring); }
.host-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 6px; }
.host-meta b { color: var(--text); font-weight: 600; }
.bal-big { font-size: 34px; font-weight: 800; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.live { font-size: 11px; font-weight: 700; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; background: var(--ok-soft); padding: 3px 10px; border-radius: 999px; vertical-align: middle; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.tabs { display: flex; gap: 4px; margin: 16px 0; overflow-x: auto; scrollbar-width: none; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 5px; width: max-content; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 8px 16px; cursor: pointer; color: var(--muted); white-space: nowrap; font-size: 13.5px; font-weight: 500; border-radius: 10px; transition: .12s; }
.tabs a:hover { color: var(--text); background: var(--hover); }
.tabs a.active { color: var(--text); background: var(--accent-soft); font-weight: 700; box-shadow: inset 0 0 0 1px var(--accent-ring); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 500; word-break: break-word; }

/* ---------- row menu ---------- */
.cmenu { position: fixed; z-index: 60; min-width: 250px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 6px; animation: cmIn .14s ease-out; max-height: calc(100vh - 16px); overflow: auto; }
@keyframes cmIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.cmenu .cm-h { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: 13px; }
.cmenu a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; cursor: pointer; font-size: 13.5px; color: var(--text); text-decoration: none; }
.cmenu a:hover { background: var(--hover); }
.cmenu a i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: 13px; background: var(--panel2); }
.cmenu .cm-sep { height: 1px; background: var(--line); margin: 4px 8px; }

/* ---------- modal / toast ---------- */
.modal { position: fixed; inset: 0; background: rgba(6,18,17,.55); display: grid; place-items: center; z-index: 50; padding: 16px; backdrop-filter: blur(6px); animation: fadeIn .15s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card { width: 100%; max-width: 620px; max-height: 92vh; overflow: auto; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); animation: popIn .18s ease-out; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-card.wide { max-width: 980px; }
.modal-card h2 { margin: 0 0 16px; font-size: 19px; font-weight: 800; }
.modal-card label { margin-top: 12px; }
.modal-card .form-grid label { margin-top: 0; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; align-items: center; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 14px; background: #0f1d1c; color: #fff; font-weight: 500; font-size: 13.5px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .25s; z-index: 70; display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px); }
.toast::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; font-size: 12px; flex: none; color: #fff; }
.toast.bad::before { content: "!"; background: var(--crit); font-weight: 800; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
:root[data-theme="dark"] .toast { background: #e3eeed; color: #0f1d1c; }

/* notes / logos */
.notes { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; max-height: 50vh; overflow: auto; }
.note { border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; background: var(--panel2); }
.logo-pick { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px dashed var(--line2); border-radius: 14px; background: var(--panel2); }
.logo-prev { width: 96px; height: 96px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 12px; overflow: hidden; flex: none; }
.logo-prev img, .co-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.co-logo { width: 42px; height: 42px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; font-weight: 800; color: var(--accent2); }
.swatch { display: inline-block; width: 24px; height: 24px; border-radius: 8px; border: 1px solid var(--line); vertical-align: middle; }

/* ---------- login ---------- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; background:
  radial-gradient(900px 500px at 10% -10%, rgba(13,148,136,.22), transparent 60%),
  radial-gradient(700px 500px at 110% 110%, rgba(14,116,144,.20), transparent 60%), var(--bg); }
.login-card { width: 100%; max-width: 400px; padding: 40px 34px; display: flex; flex-direction: column; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); }
.login-card .logo { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; margin-bottom: 2px; }
.login-card input { height: 48px; }
.login-card .btn { height: 48px; font-size: 15px; margin-top: 6px; }

/* ---------- misc ---------- */
.c-warn { color: var(--warn); }
body.ro [onclick*="go('client-new')"], body.ro [onclick*="saveClient"] { display: none !important; }
body:not(.role-admin) #nav a[data-page="users"], body:not(.role-admin) #nav a[data-page="settings"] { display: none !important; }
.leaflet-container { font-family: var(--font); }

/* ---------- responsive ---------- */
@media (max-width: 1200px) { .kpis, .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols-3 { grid-template-columns: 1fr 1fr; } .qsearch input { width: 220px; } }
@media (max-width: 900px) {
  #app { grid-template-columns: 1fr; }
  .side { position: fixed; left: -280px; width: 260px; z-index: 45; transition: left .22s; box-shadow: var(--shadow-lg); }
  body.nav-open .side { left: 0; }
  .top, main#page { grid-column: 1; }
  .top { padding: 0 16px; }
  main#page { padding: 18px 16px 50px; }
  .burger { display: grid; place-items: center; }
  .cols-2, .cols-eq, .cols-3, .grid.cols-2.cf { grid-template-columns: 1fr; }
  #clock { display: none; }
}
@media (max-width: 640px) {
  .qsearch { display: none; }
  .form-grid, .form-grid.g3 { grid-template-columns: 1fr; }
  .kpi .val, .stat-card b { font-size: 22px; }
  .page-head h1 { font-size: 22px; }
  .cf-bar .btn.big { width: 100%; }
}
@media print { .side, .top, .toolbar, .actions, .tabs { display: none !important; } #app { display: block; } .card { box-shadow: none; } }

/* ---------- services ---------- */
.svc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 4px; }
.svc-opt { font: inherit; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border-radius: 14px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); cursor: pointer; font-size: 13px; font-weight: 600; transition: .12s; }
.svc-opt span { font-size: 22px; }
.svc-opt:hover { border-color: var(--accent); transform: translateY(-1px); }
.svc-opt.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-ring); }
.res-box { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.res-l { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 5px; } .res-l span { color: var(--muted); }
.res-bar { height: 8px; border-radius: 99px; background: var(--panel2); overflow: hidden; border: 1px solid var(--line); }
.res-bar i { display: block; height: 100%; border-radius: 99px; }
.res small { font-size: 11.5px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.svc-card.dim { opacity: .55; }
.svc-h { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.svc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 20px; flex: none; }
.svc-ic.sm { width: 32px; height: 32px; font-size: 15px; border-radius: 9px; }
.prod-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-top: 8px; cursor: pointer; }
.prod-row:hover { border-color: var(--accent); background: var(--hover); }
pre.conf { background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-family: var(--mono); font-size: 12px; white-space: pre-wrap; word-break: break-all; margin: 0; }
.stb.sv-active { background: var(--ok-soft); color: var(--ok); } .stb.sv-suspended { background: var(--warn-soft); color: var(--warn); }
.stb.sv-provisioning, .stb.sv-pending { background: var(--info-soft); color: var(--info); } .stb.sv-error { background: var(--crit-soft); color: var(--crit); }
.stb.sv-terminated { background: var(--panel2); color: var(--muted); }

/* ---------- login: centered logo + form ---------- */
.login-wrap { display: grid; place-items: center; padding: 24px 16px; background:
  radial-gradient(800px 500px at 15% 0%, rgba(74,163,180,.30), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(13,148,136,.25), transparent 60%),
  linear-gradient(150deg, #0b2a3d 0%, #0e3b52 55%, #0c4a52 100%); }
.login-card { width: 100%; max-width: 400px; background: #fff; color: #0f1d1c; border: 0; border-radius: 24px; padding: 36px 32px 28px; gap: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.login-card label { color: #5a6e6d; }
.login-card input { background: #fff; color: #0f1d1c; border-color: #d4dfde; }
.lc-logo { display: block; height: 96px; max-width: 220px; object-fit: contain; margin: 0 auto 10px; }
.pw-wrap { position: relative; } .pw-wrap input { padding-right: 46px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer; border-radius: 8px; opacity: .55; font-size: 15px; }
.pw-eye:hover { opacity: 1; background: #eef5f4; }
.lc-copy { font-size: 12px; text-align: center; margin: 6px 0 0; color: #8a9c9b; }
/* sidebar: wide company logo */
.brand-logo:has(img) { width: auto; max-width: 150px; height: 44px; background: #fff; padding: 4px 8px; border-radius: 10px; }
.brand-logo img { padding: 0 !important; background: transparent !important; }
.side .logo:has(img) #comp { display: none; }
.side .logo:has(img) .brand-logo { max-width: 190px; height: 50px; }

/* sidebar logo: fit the whole image */
.side .logo:has(img) { height: 84px; padding: 0 16px; }
.side .logo:has(img) .brand-logo { width: 100%; max-width: none; height: 60px; padding: 6px 12px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; }
.side .logo:has(img) .brand-logo img { width: 100%; height: 100%; object-fit: contain; }
code { font-family: var(--mono); font-size: 12px; background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }

/* ---------- settings page ---------- */
.set-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 80px; }
.set-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); }
.set-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; cursor: pointer; color: var(--muted); font-weight: 500; font-size: 14px; transition: .12s; }
.set-nav a span { width: 26px; height: 26px; border-radius: 8px; background: var(--panel2); display: grid; place-items: center; font-size: 13px; }
.set-nav a:hover { background: var(--hover); color: var(--text); }
.set-nav a.active { background: var(--accent-soft); color: var(--text); font-weight: 700; }
.set-nav a.active span { background: var(--accent); color: #fff; }
.set-body { min-width: 0; }
.set-sec { display: flex; flex-direction: column; gap: 14px; animation: fadeUp .2s ease-out; }
.set-sec-h { display: flex; gap: 14px; align-items: center; margin-bottom: 4px; }
.set-sec-h h2 { font-size: 19px; font-weight: 800; }
.set-sec-h p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.set-ic { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), #0e7490); color: #fff; display: grid; place-items: center; font-size: 20px; flex: none; }
.hint { display: block; font-size: 11.5px; color: var(--dim); margin-top: 6px; }
.logo-up { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.logo-up-prev { width: 220px; height: 120px; border-radius: 16px; border: 2px dashed var(--line2); background: repeating-conic-gradient(var(--panel2) 0 25%, var(--panel) 0 50%) 0 0 / 16px 16px; display: grid; place-items: center; padding: 14px; overflow: hidden; flex: none; }
.logo-up-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-up-txt { flex: 1; min-width: 220px; } .logo-up-txt p { margin: 4px 0 12px; font-size: 13px; }
.logo-up-txt label.btn { margin: 0; color: #fff; }
.sw-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; margin: 0; cursor: pointer; color: var(--text); font-size: 14px; }
.sw-row + .sw-row { border-top: 1px solid var(--line); }
.sw-row small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
input.sw { appearance: none; -webkit-appearance: none; width: 46px !important; height: 26px !important; border-radius: 99px; background: var(--line2); position: relative; cursor: pointer; transition: .2s; flex: none; border: 0; }
input.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: .2s; }
input.sw:checked { background: var(--accent); } input.sw:checked::after { left: 23px; }
.live-card { border-left: 4px solid var(--warn); background: linear-gradient(90deg, var(--warn-soft), var(--panel) 60%); }
.live-card.on { border-left-color: var(--ok); background: linear-gradient(90deg, var(--ok-soft), var(--panel) 60%); }
.live-card .sw-row { padding: 2px 0; }
.sms-bal { display: flex; align-items: center; gap: 10px; align-self: end; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel2); }
.sms-bal b { font-size: 16px; color: var(--ok); }
.save-bar { position: fixed; bottom: 16px; left: calc(260px + 28px); right: 28px; z-index: 15; display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
#setDirty { color: var(--warn); font-weight: 600; font-size: 13px; }
@media (max-width: 900px) { .set-layout { grid-template-columns: 1fr; } .set-nav { position: static; flex-direction: row; overflow-x: auto; } .set-nav a { white-space: nowrap; } .save-bar { left: 16px; right: 16px; } }
/* sidebar logo v3: no box — transparent logos sit on the menu background */
.side .logo:has(img) { height: auto; padding: 22px 20px 14px; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 4px; }
.side .logo:has(img) .brand-logo { width: 100%; max-width: 200px; height: 72px; padding: 0; background: transparent !important; border-radius: 0; box-shadow: none; }
.side .logo:has(img) .brand-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 2px 8px rgba(0,0,0,.35)); }

/* ---------- technical docs ---------- */
.doc { display: flex; flex-direction: column; gap: 16px; }
.doc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
.doc-head h2 { font-size: 20px; font-weight: 800; }
.doc h3 { font-size: 17px; }
.doc h4 { font-size: 14px; margin: 18px 0 8px; }
.step { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; display: inline-grid; place-items: center; font-size: 14px; font-weight: 800; }
.url-box { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel2); margin-bottom: 10px; }
.url-box .m { background: var(--ok-soft); color: var(--ok); font-weight: 800; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; }
.url-box code { flex: 1; background: none; border: 0; font-size: 13px; word-break: break-all; padding: 0; }
.doc-tbl { margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.doc-tbl td { font-size: 13px; }
code.xml { font-size: 11.5px; white-space: normal; word-break: break-all; }
.code-wrap { position: relative; margin-top: 8px; }
.code-copy { position: absolute; top: 8px; right: 8px; }
.ok-l { color: var(--ok); font-size: 13px; } .err-l { color: var(--crit); font-size: 13px; }
.chip-f.add { border-style: dashed; color: var(--accent2); font-weight: 600; }
.md p { margin: 0 0 10px; line-height: 1.6; } .md h3 { margin: 18px 0 10px; } .md h3:first-child { margin-top: 0; } .md ul { margin: 0 0 12px; padding-left: 22px; } .md li { margin: 4px 0; }
.pill.ok-p { background: var(--ok-soft); color: var(--ok); border-color: transparent; font-weight: 700; }
@media (max-width: 900px) { .doc-head { grid-template-columns: 1fr; } }
body.print-doc .side, body.print-doc .top, body.print-doc .set-nav, body.print-doc .set-sec-h, body.print-doc .save-bar, body.print-doc .page-head { }
@media print {
  body.print-doc .side, body.print-doc .top, body.print-doc .set-nav, body.print-doc .set-sec-h, body.print-doc .save-bar, body.print-doc .page-head { display: none !important; }
  body.print-doc .set-layout { display: block; }
  .no-print, .page-head .btn, .code-copy, .url-box .btn, .save-bar { display: none !important; }
  main#page { padding: 0 !important; max-width: none; }
  .card { break-inside: avoid; border-color: #ccc; }
  body { background: #fff; }
}

/* leaflet layer switcher */
.leaflet-control-layers { border: 1px solid var(--line) !important; border-radius: 12px !important; box-shadow: var(--shadow) !important; background: var(--panel) !important; color: var(--text); font-family: var(--font); }
.leaflet-control-layers-expanded { padding: 6px 10px !important; }
.leaflet-control-layers label { margin: 0 !important; font-size: 13px; font-weight: 500; color: var(--text); padding: 3px 0; }
.leaflet-control-layers-base input { width: auto !important; height: auto !important; margin-right: 6px; }

/* contract templates */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.ct-vars { position: sticky; top: 84px; max-height: calc(100vh - 110px); overflow: auto; }
.ct-g { margin-bottom: 10px; } .ct-g small { display: block; color: var(--muted); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 5px; }
.ct-v { font: inherit; font-size: 12px; padding: 4px 9px; margin: 0 4px 4px 0; border-radius: 8px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); cursor: pointer; }
.ct-v:hover { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 1100px) { .ct-grid { grid-template-columns: 1fr; } .ct-vars { position: static; } }

/* package form */
.svc-pick.big { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.svc-pick.big .svc-opt { padding: 20px 12px; font-size: 14px; }
.svc-pick.big .svc-opt span { font-size: 28px; }
.svc-opt small { font-weight: 400; color: var(--muted); font-size: 11.5px; text-align: center; }
.pkg-preview { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--accent-ring); }
.pkg-preview span { color: var(--muted); font-size: 13px; }
.pkg-preview .money { font-size: 18px; color: var(--accent2); }

/* offline page editor */
.off-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.off-prev { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 6px; }
.off-prev iframe { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: 16px; background: #0e3b52; box-shadow: var(--shadow); }
.off-prev small { text-align: center; font-size: 12px; }
@media (max-width: 1200px) { .off-grid { grid-template-columns: 1fr; } .off-prev { position: static; } }

pre.conf.acc { margin: 0; font-size: 11.5px; padding: 8px 10px; }

/* client search picker */
.cpick { position: relative; }
.cpick-sel { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 5px 8px 5px 6px; border: 1px solid var(--accent); border-radius: var(--r-sm); background: var(--accent-soft); }
.cpick-sel small, .cpick-list small { display: block; color: var(--muted); font-size: 11.5px; }
.cpick-x { margin-left: auto; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; color: var(--muted); }
.cpick-x:hover { background: var(--panel); color: var(--crit); }
.cpick-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 80; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); max-height: 300px; overflow: auto; padding: 4px; }
.cpick-list a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 9px; cursor: pointer; font-size: 13.5px; }
.cpick-list a:hover { background: var(--hover); }

.tk-chat { display: flex; flex-direction: column; gap: 12px; max-height: 55vh; overflow: auto; }
.tk-msg { max-width: 80%; padding: 12px 16px; border-radius: 16px; background: var(--panel2); border: 1px solid var(--line); white-space: pre-wrap; font-size: 14px; }
.tk-msg.me { align-self: flex-end; background: var(--accent-soft); border-color: var(--accent-ring); }
.tk-msg small { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 4px; }

/* ===== ActiviHost brand: Georgian red + graphite ===== */
:root, :root[data-theme="light"] { --accent: #e11d2e; --accent2: #be123c; --accent-soft: rgba(225,29,46,.08); --accent-ring: rgba(225,29,46,.20);
  --side: #15171c; --side2: #23262e; --side-text: #b4b4bc; --side-dim: #6b6b75; --bg: #f6f6f7; --hover: #fbf1f2; }
:root[data-theme="dark"] { --accent: #f43f5e; --accent2: #fb7185; --accent-soft: rgba(244,63,94,.12); --accent-ring: rgba(244,63,94,.25);
  --side: #0c0d10; --side2: #1a1c22; --bg: #0f1013; --panel: #16181d; --panel2: #1c1f25; --line: #262931; --line2: #30343d; --hover: #1f2128; }
nav a.active { background: rgba(225,29,46,.16) !important; } nav a.active i { color: #fb7185 !important; } nav a.active::before { background: #e11d2e !important; }
.brand-logo:not(:has(img)), .uav, .avatar, .set-ic { background: linear-gradient(135deg, #e11d2e, #9f1239) !important; }
.btn.primary { box-shadow: 0 1px 2px rgba(225,29,46,.3), inset 0 1px 0 rgba(255,255,255,.15); }
.login-wrap { background: radial-gradient(800px 500px at 15% 0%, rgba(225,29,46,.28), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(140,20,32,.30), transparent 60%), linear-gradient(150deg, #0d0e11, #15171c 55%, #1c1f26) !important; }
.client-head { background: linear-gradient(120deg, var(--panel) 55%, rgba(225,29,46,.07)) !important; }
.netbox { display: none !important; }
