:root {
  --navy: #071428;
  --navy-2: #0d1e3a;
  --card: #122848;
  --line: rgba(255,255,255,.08);
  --text: #e8eefc;
  --muted: #9eb0d0;
  --orange: #e7a15c;
  --green: #22c55e;
  --pink: #f0b4cf;
  --cyan: #21b4e6;
  --indigo: #1b1440;
  --purple: #5b46e8;
  --bg: #f4f6fb;
  --side: 268px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: "Segoe UI", sans-serif; color: var(--text); background: var(--navy); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.brand-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-logo {
  display: block; height: auto; width: auto; max-width: 100%; background: transparent; border-radius: 0;
  padding: 0; object-fit: contain; object-position: center; flex: none;
}
.side-brand, .bar-brand { background: transparent; }
.brand-logo.header { max-height: 64px; max-width: 100%; }
.brand-logo.side { display: block; height: auto; width: auto; max-width: 100%; max-height: 96px; padding: 0; position: static; background: transparent; border: 0; }
.brand-logo.foot { max-height: 96px; }
.brand-logo.auth { max-height: 96px; margin: 0 auto 8px; }
.brand-logo.bar { max-height: 64px; max-width: 100%; padding: 0; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-copy strong { color: #fff; font-size: 16px; }
.brand-copy span { color: #f0b4cf; font-size: 12px; }
.eyebrow { margin: 0; color: #f0b4cf; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.bar-brand { display: none; }
.topbar { background: #06101f; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-row { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.top-row nav { display: flex; gap: 16px; margin-left: 16px; align-items: center; flex-wrap: wrap; }
.download-app { margin-left: auto; flex: none; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.user-app .download-app { color: #e8eefc; margin-left: 8px; }
.install-panel { margin-top: 18px; }
.install-panel h2 { margin: 0 0 8px; font-size: 22px; text-align: left; color: #fff; }
.install-panel h3 { margin: 0 0 6px; font-size: 16px; color: #fff; }
.install-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.install-panel .btn { margin-top: 8px; }
html.install-ios .install-android-col,
html.install-ios #install-android { display: none !important; }
html.install-android-device .install-ios-col { display: none; }
html.install-ios .install-choices,
html.install-android-device .install-choices { grid-template-columns: 1fr; }
.top-row nav a { color: #d5def0; text-decoration: none; font-size: 14px; }
.top-row nav a.on, .top-row nav a.go { color: #fff; font-weight: 700; }
.nav-toggle { display: none; background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; padding: 48px 0 28px; }
.hero > *, .split > *, .two > *, .metrics > *, .stats > * { min-width: 0; }
.live { display: inline-flex; gap: 12px; align-items: center; border: 1px solid var(--line); background: #102445; border-radius: 999px; padding: 8px 14px; color: var(--muted); font-size: 13px; }
.live b { color: #fff; font-size: 16px; }
h1 { font-size: 52px; line-height: 1.05; margin: 16px 0 8px; letter-spacing: -1px; }
h1 span { color: var(--pink); }
.lede { color: #c5d2ea; font-size: 16px; line-height: 1.6; max-width: 620px; }
.cta { display: flex; gap: 12px; margin: 22px 0; }
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 18px; text-decoration: none; cursor: pointer; font-weight: 700; }
.btn-orange { background: linear-gradient(180deg, #f0b56e, #e19645); color: #1b140c; }
.btn-ghost { background: #24365c; color: #fff; }
.btn-green { background: #16a34a; color: #fff; }
.btn-red { background: #dc2626; color: #fff; }
.btn-purple { background: var(--purple); color: #fff; }
.btn-dark { background: #111; color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span, .chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: #d5def0; font-size: 13px; }
.login-card, .card-dark { background: #10203a; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.login-card h2 { margin: 0 0 4px; }
.muted { color: var(--muted); }
label { display: block; margin: 12px 0 6px; font-size: 14px; }
input, select, textarea { width: 100%; background: #0c1a30; color: #fff; border: 1px solid #2a4068; border-radius: 10px; padding: 12px; }
textarea { min-height: 90px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.check { display: flex; gap: 8px; align-items: center; margin: 10px 0; }
.check input { width: auto; }
.demo { margin-top: 12px; font-size: 13px; color: #c9d6ee; background: #0c1930; border-radius: 10px; padding: 10px; }
.section { padding: 28px 0 48px; }
.section h2 { text-align: center; font-size: 32px; }
.center { text-align: center; }
.grid-4, .grid-3, .platforms { display: grid; gap: 14px; }
.grid-4, .platforms { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.panel-card, .review, .stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.review strong { color: #fff; }
.stars { color: #f5c451; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pub th, .user-app .cat-row td { background: #16345c; }
.user-app .filters a, .pub .filters a { background: #122848; color: #fff; border-color: var(--line); }
.user-app .filters a.on, .pub .filters a.on { background: var(--orange); color: #1b140c; }
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 80px; color: var(--muted); }
.wa { position: fixed; left: 16px; bottom: 16px; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; background: #25d366; color: #fff; text-decoration: none; border-radius: 999px; padding: 0; z-index: 30; }
.wa svg { width: 28px; height: 28px; display: block; }
.install { position: fixed; right: 16px; bottom: 16px; background: #111; color: #fff; border: 0; border-radius: 12px; padding: 12px 14px; z-index: 30; }
.app { display: flex; min-height: 100vh; }
.user-app { background: #07152c; }
.side { width: var(--side); background: #08162d; border-right: 1px solid var(--line); padding: 16px 12px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.side-brand { display: block; width: 100%; margin: 4px 0 16px; }
.side nav a { display: flex; justify-content: flex-start; align-items: center; gap: 8px; color: #d5e2f7; text-decoration: none; padding: 11px 12px; border-radius: 10px; margin-bottom: 2px; }
.nav-ico { width: 1.4em; text-align: center; flex: none; opacity: .9; }
.side nav a b { margin-left: auto; }
.side nav a.on, .side nav a:hover { background: #16325a; }
.side nav a b, .who b { background: #38bdf8; color: #042; border-radius: 999px; padding: 1px 7px; font-size: 12px; }
.main { flex: 1; min-width: 0; }
.appbar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.prefs { display: flex; gap: 6px; margin-left: auto; align-items: center; min-width: 0; flex-wrap: wrap; }
.prefs a { color: #d5def0; text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; font-size: 12px; }
.prefs a.on { background: #fff; color: #111; }
.prefs select { width: auto; max-width: 220px; padding: 4px 8px; font-size: 12px; border-radius: 8px; }
.top-row .prefs { margin-left: 0; }
.admin-app .prefs a { color: #334155; border-color: #d6dbe6; }
.admin-app .prefs a.on { background: #111; color: #fff; }
.admin-app .rate-input { width: 9rem; padding: 8px; }
a.bal { background: #0c1c34; border: 1px solid var(--line); color: #4ade80; text-decoration: none; border-radius: 999px; padding: 8px 12px; font-weight: 800; }
.user-app .appbar .signed-name { color: #e8eefc; font-weight: 800; min-width: 0; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.user-theme-light .user-app .appbar .signed-name { color: #142033; }
.who { color: #fff; text-decoration: none; }
.content { padding: 18px 18px 88px; }
.ticker { color: #d7e4f8; font-size: 13px; margin-bottom: 12px; }
.banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #22c55e; color: #052; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.banner a { background: #fff; color: #052; text-decoration: none; border-radius: 8px; padding: 8px 14px; font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.stat b { display: block; font-size: 22px; margin-top: 6px; }
[hidden] { display: none !important; }
.platforms button, .platforms a, .tabs a, .tabs button { background: #122848; color: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 10px; text-decoration: none; cursor: pointer; }
.platforms button, .platforms a { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 74px; }
.platforms button i, .platforms a i { font-style: normal; font-size: 18px; }
.platforms button.on, .tabs a.on { outline: 2px solid var(--orange); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.user-app th { background: var(--cyan); color: #042; }
.user-app .table-wrap, .card { background: #102445; border: 1px solid var(--line); border-radius: 14px; overflow: auto; }
.card { padding: 14px; margin-bottom: 14px; }
.user-app .card { padding: 0; }
.user-app .card .pad, .pad { padding: 14px; }
.flash { border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.flash.ok { background: #14532d; color: #dcfce7; }
.flash.error { background: #7f1d1d; color: #fee2e2; }
.admin-app .flash.ok { background: #dcfce7; color: #14532d; }
.admin-app .flash.error { background: #fee2e2; color: #7f1d1d; }
.pill { display: inline-block; border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.08); }
.pill.completed, .pill.active, .pill.success, .pill.paid, .pill.verified, .pill.addition { background: rgba(34,197,94,.18); color: #4ade80; }
.pill.deduction { background: rgba(239,68,68,.18); color: #fca5a5; }
.pill.pending, .pill.awaiting { background: rgba(245,158,11,.18); color: #fbbf24; }
.pill.processing, .pill.inprogress, .pill.answered { background: rgba(59,130,246,.18); color: #93c5fd; }
.pill.canceled, .pill.banned, .pill.fail, .pill.error, .pill.refunded, .pill.disabled { background: rgba(239,68,68,.18); color: #fca5a5; }
.pill.partial { background: rgba(168,85,247,.18); color: #d8b4fe; }
.pager { display: flex; gap: 6px; padding: 12px; flex-wrap: wrap; align-items: center; }
.pager a { color: #fff; text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
.pager a.on { background: var(--orange); color: #1b140c; }
.admin-app { background: var(--bg); color: #1e293b; }
.admin-app .side { background: var(--indigo); color: #fff; }
.admin-app .side nav a { color: #ddd6fe; }
.admin-app .side nav a.on { background: var(--purple); color: #fff; }
.admin-app .sec { color: #a5b4fc; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin: 14px 12px 6px; }
.admin-app .appbar { background: #fff; color: #111; border-bottom: 1px solid #e5e7eb; }
.admin-app .nav-toggle { color: #111827; border-color: #cbd5e1; background: #fff; }
.admin-app .appbar .who,
.admin-app .appbar .who-menu,
.admin-app .appbar .who-menu summary,
.admin-app .appbar .who-menu a { color: #111827; }
.admin-app .content { color: #1e293b; }
.admin-app input, .admin-app select, .admin-app textarea { background: #fff; color: #111; border: 1px solid #d6dbe6; }
.admin-app .card, .admin-app .table-wrap { background: #fff; border: 1px solid #e6eaf2; color: #1e293b; box-shadow: 0 8px 24px rgba(20,24,40,.04); }
.admin-app .audit-card { max-width: 100%; min-width: 0; }
.admin-app .audit-scroll { display: block; max-width: 100%; overflow-x: auto; }
.admin-app th { background: var(--purple); color: #fff; }
.admin-app .muted { color: #64748b; }
.admin-app .panel-id { color: #1e293b; font-weight: 700; font-size: 13px; }
.admin-app .health-table th:nth-child(1),
.admin-app .health-table td:nth-child(1),
.admin-app .health-table th:nth-child(3),
.admin-app .health-table td:nth-child(3),
.admin-app .health-table th:nth-child(10),
.admin-app .health-table td:nth-child(10) { white-space: nowrap; }
.heat { font-size: 12px; }
.heat td.z { color: #cbd5e1; }
.heat td.on { background: #efeaff; color: #312e81; font-weight: 700; }
.admin-app .pill.completed, .admin-app .pill.active { background: #dcfce7; color: #166534; }
.admin-app .pill.pending { background: #fef3c7; color: #92400e; }
.admin-app .pill.canceled, .admin-app .pill.banned { background: #fee2e2; color: #991b1b; }
.metric { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 8px 24px rgba(20,24,40,.05); }
.metric b { display: block; font-size: 28px; margin-top: 6px; }
.metric span { color: #64748b; font-size: 13px; }
.metric i { display: inline-flex; width: 36px; height: 36px; border-radius: 12px; align-items: center; justify-content: center; background: #ecfeff; color: #0891b2; font-style: normal; font-weight: 800; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding-top: 8px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 6px; color: #64748b; font-size: 12px; }
.bar-col .bar { width: 100%; max-width: 36px; background: #7c6bf2; border-radius: 8px 8px 2px 2px; min-height: 4px; }
.hbar { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.hbar b { width: 42px; text-align: right; }
.hbar span { flex: 1; height: 10px; background: #efeaff; border-radius: 999px; overflow: hidden; }
.hbar span i { display: block; height: 100%; background: #7c6bf2; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.page-head h1 { font-size: 26px; margin: 0; color: #111; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.filters a { text-decoration: none; background: #fff; color: #334155; border-radius: 10px; padding: 8px 10px; border: 1px solid #e5e7eb; }
.filters a.on { background: var(--purple); color: #fff; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.admin-app .card.dash-top {
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  padding: 12px 0 0;
}
.admin-app .dash-top > h2,
.admin-app .dash-top > .muted,
.admin-app .dash-top > p { margin-left: 12px; margin-right: 12px; }
.admin-app .dash-top > h2 { margin-top: 0; }
.admin-app .dash-scroll {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}
.admin-app .dash-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: max-content;
  min-width: 920px;
  margin: 0;
  padding: 10px 12px;
  text-align: left;
  background: #fff;
}
.admin-app .dash-head {
  position: sticky;
  top: 0;
  background: #312e81;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.admin-app .dash-head span { min-width: 0; }
.admin-app .dash-scroll .dash-svc:nth-child(even) { background: #fff; }
.admin-app .dash-scroll .dash-svc:nth-child(odd) { background: #e7eefc; }
.admin-app .dash-scroll .dash-svc:hover,
.admin-app .dash-scroll .dash-svc:focus-within { background: #ddd6fe; }
.admin-app form.dash-svc { max-width: none; width: max-content; }
.admin-app .dash-svc > input[type="hidden"] { display: none; }
.admin-app .dash-svc input,
.admin-app .dash-svc select {
  width: 100%;
  min-width: 0;
  margin: 0;
  background: #fff;
  text-align: left;
}
.admin-app .dash-id { display: flex; align-items: center; gap: 8px; flex: 0 0 280px; width: 280px; min-width: 280px; }
.admin-app .dash-id strong { flex: none; min-width: 2.4rem; color: #0f172a; font-size: 15px; text-align: left; }
.admin-app .dash-id input { flex: 1; width: auto; }
.admin-app .dash-head > span:first-child { flex: 0 0 280px; width: 280px; }
.admin-app .dash-offer {
  display: flex;
  flex: none;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}
.admin-app .dash-rate-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  flex: none;
  width: max-content;
}
.admin-app .dash-offer .dash-rate { width: 112px; flex: none; }
.admin-app .dash-offer select { width: 150px; flex: none; }
.admin-app .dash-offer input[name="api_service_id"] { width: 120px; flex: none; }
.admin-app .dash-api { color: #64748b; font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.admin-app .dash-margin { color: #15803d; font-size: 11px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.admin-app .dash-svc .btn { margin: 0; min-height: 40px; width: auto; justify-self: start; }
.order-confirm { margin-top: 12px; padding: 12px; border: 1px solid var(--line, #334155); border-radius: 12px; }
.order-confirm h3 { margin: 0 0 8px; }
.order-confirm p { margin: 0 0 8px; overflow-wrap: anywhere; }
.order-confirm .btn { margin: 8px 8px 0 0; }
@media (max-width: 760px) {
  .admin-app .card.dash-top { overflow-x: hidden; }
  .admin-app form.dash-svc { max-width: none; width: auto; min-width: 920px; }
}
.admin-app .svc-card tbody tr.svc-row { cursor: pointer; }
.admin-app .svc-card tbody tr.svc-row:hover { background: #eef2ff; }
.admin-app .svc-card tbody tr.svc-row.is-selected {
  background: #ede9fe;
  box-shadow: inset 0 0 0 2px #5b46e8;
}
.admin-app .svc-card tbody tr.svc-row.is-selected:hover { background: #e4dffc; }
.admin-app .svc-card tbody tr.svc-row input,
.admin-app .svc-card tbody tr.svc-row textarea { cursor: text; }
.guide { background: linear-gradient(90deg, #312e81, #7c3aed); color: #fff; border-radius: 16px; padding: 16px; }
.warn { background: #7f1d1d; color: #fee2e2; border-radius: 10px; padding: 10px; margin-top: 10px; }
.rate-warn { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.rate-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.rate-filters .field { flex: 1; min-width: 140px; }
.rate-filters .check { margin: 0 0 10px; }
.rate-alts form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.rate-best { background: #dcfce7; }
.admin-app .rate-best { background: #dcfce7; }
.search input { min-width: 260px; }
.impersonate { background: #fde68a; color: #78350f; padding: 8px 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.actions form { display: flex; gap: 6px; align-items: center; }
.actions select, .actions input, .order-edit select, .order-edit input { width: auto; }
.order-edit { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.svc-rename { display: flex; gap: 6px; align-items: center; }
.svc-rename input[name="name"] { width: 240px; max-width: 42vw; }
.svc-rate { width: 96px; }
.svc-qty { width: 84px; }
.svc-status { width: 110px; }
.svc-flag { margin: 0; }
.svc-flag input { width: auto; }
.drag-handle { cursor: grab; user-select: none; }
.drag-handle:active { cursor: grabbing; }
.btn.btn-icon, button.btn.btn-icon {
  flex: none; width: 36px; min-width: 36px; height: 36px; min-height: 36px; padding: 0;
}
.btn-icon .ico { width: 18px; height: 18px; display: block; }
tr.sort-dragging { opacity: .45; }
tr.sort-over td { box-shadow: inset 0 3px 0 #5b46e8; }
.svc-edit-form { max-width: 720px; padding: 8px 4px 12px; }
.admin-app .svc-edit-row td { background: #f8fafc; }
.clip { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-table .name-full { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.hover-tip {
  position: fixed; z-index: 90; max-width: min(480px, calc(100vw - 16px));
  padding: 8px 10px; border-radius: 8px; background: #071428; color: #e8eefc;
  border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600;
  line-height: 1.4; white-space: normal; overflow-wrap: anywhere;
  box-shadow: 0 10px 28px rgba(0,0,0,.35); pointer-events: none;
}
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-method { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: block; cursor: pointer; }
.pay-method strong, .pay-method span { display: block; }
.pay-method span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.pay-method input { width: auto; margin-right: 8px; }
.funds-card { max-width: 520px; }
.user-app .funds-card.pad {
  padding: 0 0 18px;
  background: linear-gradient(180deg, #16325f 0%, #102445 120px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(2, 8, 22, .35);
  overflow: hidden;
}
.user-app .funds-card .funds-head { padding: 20px 20px 0; }
.funds-card h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: 0; }
.funds-lead { margin: 0; font-size: 13px; line-height: 1.45; }
.user-app .funds-card .funds-alert {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 2px solid #dc2626;
  border-radius: 12px;
  background: #3f1016;
  color: #fee2e2;
  font-weight: 700;
  line-height: 1.45;
}
.user-app .funds-card .pay-pick { padding: 16px 20px 0; }
.user-app .funds-card .pay-pick label { margin: 0 0 8px; font-weight: 700; font-size: 13px; color: #d7e4f8; }
.user-app .funds-card .pay-pick select { background: #0c1c36; border-radius: 12px; padding: 13px 14px; }
.user-app .funds-card .pay-stage {
  margin: 16px 16px 0;
  padding: 18px 16px 6px;
  background: #0b1830;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
}
.user-app .funds-card .pay-detail { margin: 0 0 4px; padding: 0; border: 0; background: transparent; }
.pay-detail h3 { margin: 0 0 8px; font-size: 18px; }
.pay-detail p { margin: 0 0 10px; line-height: 1.5; }
.user-app .funds-card .method-note h3 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.user-app .funds-card .method-note p { margin: 0 0 8px; color: #d5e2f7; }
.user-app .funds-card .method-min { color: var(--muted); font-size: 13px; }
.user-app .funds-card .scan-kicker {
  margin: 0 0 12px; text-align: center; color: #f3d2ad; font-size: 12px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.upi-panel { margin: 0; }
.upi-qr { width: min(320px, 100%); height: auto; background: #fff; border-radius: 16px; }
.upi-checkout { max-width: 420px; }
.upi-live-qr { display: block; width: min(220px, 100%); max-width: 100%; height: auto; margin: 12px auto; background: #fff; }
.google-card { margin-top: 12px; }
.google-btn { width: 100%; }
.user-app .funds-card .upi-qr {
  width: 240px; max-width: 100%; height: auto; display: block; margin: 0 auto 14px;
  padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.user-app .funds-card .payee { text-align: center; margin: 0 0 12px; }
.user-app .funds-card .payee span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.user-app .funds-card .payee strong { display: block; margin-top: 3px; color: #fff; font-size: 18px; }
.user-app .funds-card .upi-copy {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: #122848; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 10px 10px 10px 14px; margin: 0 0 12px;
}
.user-app .funds-card .upi-copy > div { min-width: 0; flex: 1; }
.user-app .funds-card .upi-copy span { display: block; color: var(--muted); font-size: 12px; }
.user-app .funds-card .upi-copy strong { display: block; color: #fff; word-break: break-all; font-size: 14px; }
.user-app .funds-card .upi-copy .btn { flex: none; padding: 8px 12px; border-radius: 10px; }
.user-app .funds-card .scan-hint { margin: 0 0 8px; font-size: 13px; text-align: center; }
.upi-id { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #122848; border-radius: 12px; padding: 12px 14px; }
.upi-id span { color: var(--muted); }
.upi-id strong { color: #fff; word-break: break-all; text-align: right; }
.user-app .funds-card .amount-block { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.08); }
.user-app .funds-card .amount-block label,
.user-app .funds-card .scan-fields label { font-weight: 700; margin-top: 12px; }
.user-app .funds-card .opt { font-weight: 500; color: var(--muted); }
.user-app .funds-card .chips { margin: 8px 0 10px; }
.user-app .funds-card .chips span { background: rgba(231,161,92,.12); border-color: rgba(231,161,92,.35); color: #f3d2ad; }
.user-app .funds-card .amounts { margin: 0 0 10px; }
.user-app .funds-card .amounts button.on { background: var(--orange); color: #1b140c; border-color: transparent; }
.user-app .funds-card .bonus-hint { margin: 8px 0 0; color: #86efac; font-size: 13px; }
.user-app .funds-card .bonus-hint:empty { display: none; }
.user-app .funds-card .fee-hint { margin: 4px 0 0; color: #fde68a; font-size: 13px; }
.user-app .funds-card .fee-hint:empty { display: none; }
.user-app .funds-card .bonus-note,
.user-app .funds-card .shot-hint { margin: 6px 0 8px; font-size: 13px; }
.user-app .funds-card .btn-orange { width: calc(100% - 32px); margin: 14px 16px 0; padding: 14px; border-radius: 12px; }
.funds-history h2 { margin: 0; padding: 16px 16px 0; font-size: 18px; letter-spacing: 0; }
.pay-shot { width: 120px; height: auto; border-radius: 8px; background: #fff; }
.gw-edit { margin-top: 12px; }
.gw-edit h2 { margin-top: 0; }
.amounts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.amounts button { background: #122848; color: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.thread { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.bubble { max-width: min(520px, 100%); border-radius: 14px; padding: 12px; }
.bubble.you { margin-left: auto; background: #16325a; }
.bubble.staff { background: #14532d; }
.bubble strong, .bubble span { display: block; }
.bubble span { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.bubble p { margin: 0; }
.admin-app .bubble.you { background: #efeaff; color: #1e1b4b; }
.admin-app .bubble.staff { background: #ecfdf5; color: #14532d; }
.admin-app .bubble span { color: #64748b; }
.filter-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-bottom: 12px; }
.filter-form label { font-size: 12px; color: #64748b; }
.filter-form input, .filter-form select { width: 160px; padding: 8px; }
.admin-app .pager a { color: #334155; background: #fff; }
.admin-app .pager a.on { background: #5b4cdb; color: #fff; }
.chart-svg { width: 100%; max-width: 100%; height: auto; display: block; overflow: hidden; }
.report-chart { min-height: 80px; max-width: 100%; min-width: 0; overflow: hidden; }
.note-pop { position: fixed; inset: 0; z-index: 60; background: rgba(7, 20, 40, .72); display: flex; align-items: center; justify-content: center; padding: 18px; }
.note-card { width: min(480px, 100%); background: #102445; color: var(--text); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.note-card h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: 0; color: #fff; }
.note-card p { margin: 0 0 8px; color: #d5e2f7; line-height: 1.5; }
.note-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.note-actions form { margin: 0; }
.order-split { display: grid; grid-template-columns: 1.35fr .75fr; gap: 16px; align-items: start; }
.order-split > * { min-width: 0; }
.news-panel article { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.news-panel article strong { display: block; margin-bottom: 4px; }
.news-switch button { background: transparent; color: inherit; border: 0; cursor: pointer; }
.who-menu { position: relative; }
.who-menu summary { cursor: pointer; list-style: none; }
.who-menu summary::-webkit-details-marker { display: none; }
.who-menu a { display: block; margin-top: 6px; text-decoration: none; }
.api-sample { background: #07111f; color: #d7e4ff; border-radius: 12px; padding: 12px; overflow: auto; white-space: pre-wrap; }
.api-label { margin: 12px 0 6px; color: #c4b5fd; font-weight: 700; }
.admin-app .api-sample { background: #0f172a; }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 14px; margin: 10px 0 14px; }
.perm-grid .check { margin: 4px 0; }
.perm-grid .is-locked { opacity: .65; }
@media (max-width: 980px) {
  .order-split { grid-template-columns: 1fr; }
  .hero, .stats, .grid-4, .platforms, .grid-3, .metrics, .split, .two { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 10px 14px; flex: none; }
  .bar-brand { display: inline-flex; max-width: min(240px, 58vw); min-width: 0; }
  .top-row { flex-wrap: nowrap; row-gap: 8px; min-width: 0; }
  .top-row .brand-link { flex: 1 1 auto; min-width: 0; }
  .top-row .brand-copy { display: none; }
  .top-row nav .prefs { margin-left: 8px; }
  .top-row nav, aside.side { display: none; }
  .top-row nav.open, aside.side.open {
    display: block; position: fixed; inset: 72px 12px auto 12px; background: #08162d; z-index: 40;
    padding: 12px; border-radius: 12px; height: auto; max-height: calc(100dvh - 88px); overflow: auto;
  }
  .top-row nav.open a { display: flex; align-items: center; min-height: 44px; padding: 8px 4px; }
  .admin-app .side.open { background: var(--indigo); }
  html:has(.admin-app), body:has(.admin-app) { overflow-x: clip; }
  .admin-app .appbar { position: sticky; top: 0; z-index: 50; }
  .appbar { flex-wrap: wrap; row-gap: 8px; }
  .appbar .search { flex: 1 1 100%; }
  .search input { min-width: 0; width: 100%; }
  .content { padding: 14px 12px 96px; }
  .card, .table-wrap { max-width: 100%; }
  h1 { font-size: 32px; letter-spacing: 0; }
  .lede { max-width: 100%; }
  .brand-logo.auth, .brand-logo.foot { height: auto; max-height: 88px; width: auto; }
}
@media (max-width: 640px) {
  .hero, .stats, .grid-4, .platforms, .grid-3, .metrics, .split, .two, .pay-methods { grid-template-columns: 1fr; }
  .btn, button.btn, .amounts button, .side nav a { min-height: 44px; }
  .btn.btn-icon, button.btn.btn-icon { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
  .prefs a { min-height: 40px; padding: 8px 10px; display: inline-flex; align-items: center; }
  .prefs select { max-width: 100%; }
  .filter-form { align-items: stretch; }
  .filter-form input, .filter-form select, .filter-form label { width: 100%; max-width: 100%; }
  .funds-card, .user-app .funds-card.pad { max-width: 100%; }
  .user-app .funds-card .upi-qr { width: min(220px, calc(100% - 8px)); max-width: 100%; }
  .user-app .funds-card .btn-orange { width: calc(100% - 32px); max-width: calc(100% - 32px); }
  .user-app .card td.actions {
    position: sticky; right: 0; z-index: 1; background: #122848;
    box-shadow: -8px 0 12px rgba(7, 20, 40, .28);
  }
  a.bal { min-height: 44px; display: inline-flex; align-items: center; }
  h1 { font-size: 28px; }
}
.admin-app .users-list { padding: 0; overflow-x: auto; max-width: 100%; background: #fff; }
.admin-app .users-list table { width: 100%; }
.admin-app .users-list th {
  background: #fff; color: #94a3b8; font-size: 13px; font-weight: 600;
  border-bottom: 1px solid #eef2f7; padding: 14px 12px; white-space: nowrap; vertical-align: middle;
}
.admin-app .users-list td { border-bottom: 1px solid #f1f5f9; padding: 14px 12px; vertical-align: middle; color: #1e293b; }
.admin-app .users-list tbody tr:hover { background: #fafbff; }
.admin-app .users-list tbody tr:has(input[type="checkbox"]:checked) { background: #f5f3ff; }
.admin-app .users-list .pick { width: 36px; }
.admin-app .users-list .num { width: 48px; color: #64748b; }
.admin-app .users-list .act { width: 56px; text-align: right; }
.admin-app .users-list input[type="checkbox"] { width: auto; margin: 0; accent-color: #6d5ce6; }
.admin-app .users-list .th-sort { display: inline-flex; align-items: center; gap: 6px; color: #94a3b8; text-decoration: none; font-weight: 600; }
.admin-app .users-list .carets { display: inline-flex; flex-direction: column; gap: 2px; }
.admin-app .users-list .carets i { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; display: block; }
.admin-app .users-list .carets i:first-child { border-bottom: 4px solid #cbd5e1; }
.admin-app .users-list .carets i:last-child { border-top: 4px solid #cbd5e1; }
.admin-app .users-list .carets.asc i:first-child { border-bottom-color: #6d5ce6; }
.admin-app .users-list .carets.desc i:last-child { border-top-color: #6d5ce6; }
.admin-app .users-list .user-name { display: block; font-weight: 700; color: #0f172a; text-decoration: none; }
.admin-app .users-list .user-name:hover { color: #4f46e5; }
.admin-app .users-list .user-mail, .admin-app .users-list .user-phone { color: #94a3b8; font-size: 13px; margin-top: 2px; }
.admin-app .users-list .user-phone { display: flex; align-items: center; gap: 4px; }
.admin-app .users-list .user-phone svg { flex: none; }
.admin-app .users-list .bal,
.admin-app td.bal {
  background: none; border: 0; border-radius: 0; box-shadow: none;
  color: #1e293b; font-weight: 600; white-space: nowrap;
}
.admin-app .users-list .ip { max-width: 130px; word-break: break-word; color: #334155; }
.admin-app .users-list .btn-rate {
  display: inline-flex; align-items: center; white-space: nowrap;
  border: 1px solid #93c5fd; color: #3b82f6; background: #fff;
  border-radius: 8px; padding: 6px 10px; font-size: 13px; font-weight: 600; text-decoration: none;
}
.admin-app .users-list .btn-rate:hover { background: #eff6ff; }
.admin-app .users-list .when { display: flex; flex-direction: column; line-height: 1.35; white-space: nowrap; }
.admin-app .users-list .when b { font-weight: 600; color: #1e293b; }
.admin-app .users-list .when span { color: #94a3b8; font-size: 12px; font-weight: 500; }
.admin-app .users-list .switch-form { margin: 0; }
.admin-app .users-list .status-switch {
  position: relative; width: 44px; height: 24px; border: 0; border-radius: 999px;
  background: #e2e8f0; padding: 0; cursor: pointer;
}
.admin-app .users-list .status-switch.on { background: #6d5ce6; }
.admin-app .users-list .status-switch i {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .25); display: block;
}
.admin-app .users-list .status-switch.on i { left: 23px; }
.admin-app .users-list .user-menu { position: relative; display: inline-block; }
.admin-app .users-list .user-menu summary {
  list-style: none; cursor: pointer; width: 32px; height: 32px; border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
.admin-app .users-list .user-menu summary::-webkit-details-marker { display: none; }
.admin-app .users-list .user-menu summary span { width: 3px; height: 3px; border-radius: 50%; background: #64748b; display: block; }
.admin-app .users-list .user-menu[open] summary { background: #f1f5f9; }
.admin-app .users-list .user-menu .menu {
  position: absolute; right: 0; top: 36px; z-index: 8; min-width: 180px; padding: 6px;
  background: #fff; border: 1px solid #e6eaf2; border-radius: 10px; box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
}
.admin-app .users-list .user-menu .menu form { margin: 0; }
.admin-app .users-list .user-menu .menu a,
.admin-app .users-list .user-menu .menu button {
  display: block; width: 100%; text-align: left; background: transparent; border: 0; color: #1e293b;
  padding: 8px 10px; border-radius: 8px; text-decoration: none; cursor: pointer; font-weight: 600;
}
.admin-app .users-list .user-menu .menu a:hover,
.admin-app .users-list .user-menu .menu button:hover { background: #f8fafc; }
.admin-app .users-list .user-menu .menu { min-width: 210px; z-index: 20; }
.user-edit {
  border: 0; border-radius: 16px; padding: 0; width: min(520px, calc(100% - 32px));
  color: #1e293b; background: #fff; box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
}
.user-edit::backdrop { background: rgba(15, 23, 42, .45); }
.user-edit form { margin: 0; padding: 18px 20px 16px; }
.user-edit header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.user-edit h2 { margin: 0; font-size: 18px; color: #0f172a; }
.user-edit label, .user-edit .edit-label { display: block; margin: 12px 0 6px; font-size: 13px; color: #64748b; }
.user-edit .edit-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.user-edit .edit-actions .btn { width: auto; }
.pay-allows { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.pay-allow { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #1e293b; font-weight: 600; cursor: pointer; position: relative; }
.pay-allow input { position: absolute; opacity: 0; width: 44px; height: 24px; margin: 0; }
.pay-allow .sw { width: 44px; height: 24px; border-radius: 999px; background: #e2e8f0; position: relative; flex: none; }
.pay-allow .sw i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; display: block; box-shadow: 0 1px 2px rgba(15, 23, 42, .25); }
.pay-allow input:checked + .sw { background: #6d5ce6; }
.pay-allow input:checked + .sw i { left: 23px; }
.pay-allow input:focus-visible + .sw { outline: 2px solid #6d5ce6; outline-offset: 2px; }
@media (max-width: 980px) {
  .admin-app .users-list { overflow-x: auto; max-width: 100%; }
  .pub, .app, .main, .content, .wrap { max-width: 100%; }
  .login-card, .card-dark { max-width: 100%; }
}
.platforms.order-platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.platforms.order-platforms button { min-height: 72px; }
.platforms.order-platforms button i { font-size: 22px; }
.platforms.order-platforms button span { text-align: center; font-size: 13px; }
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }
  .top-row { min-height: 64px; gap: 8px; }
  .top-row .brand-link { max-width: calc(100% - 60px); }
  .brand-logo.header, .brand-logo.bar { max-height: 64px; max-width: 100%; height: auto; width: auto; }
  .top-row nav.open {
    left: 10px; right: 10px; width: auto; max-width: calc(100vw - 20px); inset: 72px 10px auto 10px;
  }
  .top-row nav.open a, .side nav a, .tabs a, .btn, button.btn, .nav-toggle, .amounts button { min-height: 44px; }
  .appbar { flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; min-height: 64px; }
  .appbar .nav-toggle { order: 1; flex: none; }
  .appbar .bar-brand { order: 2; flex: 0 0 auto; min-width: 0; max-width: 120px; background: transparent; }
  .appbar .brand-logo.bar { max-height: 64px; max-width: 120px; height: auto; width: auto; }
  .appbar .bal { order: 3; margin-left: auto; flex: none; }
  .appbar .who, .appbar .who-menu { order: 4; flex: 0 1 auto; min-width: 0; max-width: 36%; margin-left: 0; }
  .admin-app .appbar .who { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; }
  .appbar .prefs, .appbar .search { order: 5; flex: 1 1 100%; margin-left: 0; min-width: 0; }
  .who-menu summary { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .page-head { flex-wrap: wrap; align-items: flex-start; }
  .page-head h1 { font-size: 22px; }
  h1, h2, .lede { overflow-wrap: break-word; }
  .card, .table-wrap, .admin-app .card, .user-app .card, .pub .card { overflow-x: auto; max-width: 100%; }
  .user-app .card table, .admin-app .card table, .pub .card table, .pub table { width: max-content; min-width: 100%; }
  input, select, textarea, form, .login-card { max-width: 100%; }
  .platforms.order-platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .platforms.order-platforms button { min-height: 64px; padding: 10px 4px; }
  .platforms.order-platforms button i { font-size: 20px; }
  .platforms.order-platforms button span { font-size: 12px; }
  .admin-app .content { min-width: 0; max-width: 100%; }
  .admin-app .audit-card { overflow: hidden; max-width: 100%; min-width: 0; }
  .admin-app .audit-card .audit-scroll { display: block; overflow-x: auto; max-width: 100%; }
  .admin-app .audit-card .audit-table,
  .admin-app .audit-card .audit-table tbody,
  .admin-app .audit-card .audit-table tr,
  .admin-app .audit-card .audit-table td { display: block; width: 100%; min-width: 0; }
  .admin-app .audit-card .audit-table { border-collapse: separate; }
  .admin-app .audit-card .audit-table thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  .admin-app .audit-card .audit-table tr { padding: 8px 0; border-bottom: 1px solid #e6eaf2; }
  .admin-app .audit-card .audit-table td {
    display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 8px;
    padding: 4px 12px; white-space: normal; overflow-wrap: anywhere; border-bottom: 0;
  }
  .admin-app .audit-card .audit-table td::before {
    content: attr(data-label); font-weight: 700; color: #64748b;
  }
  .admin-app .card.deposit-card {
    overflow-x: clip; max-width: 100%; min-width: 0;
  }
  .admin-app .deposit-card .deposit-table,
  .admin-app .deposit-card .deposit-table tbody,
  .admin-app .deposit-card .deposit-table tr {
    display: block; width: 100%; min-width: 0; max-width: 100%;
  }
  .admin-app .deposit-card .deposit-table { border-collapse: separate; }
  .admin-app .deposit-card .deposit-table thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  .admin-app .deposit-card .deposit-table tr { padding: 8px 0 12px; border-bottom: 1px solid #e6eaf2; }
  .admin-app .deposit-card .deposit-table td[data-label] {
    display: grid; grid-template-columns: 6.4rem minmax(0, 1fr); gap: 8px;
    width: 100%; min-width: 0; max-width: 100%;
    padding: 4px 12px; white-space: normal; overflow-wrap: anywhere; border-bottom: 0;
  }
  .admin-app .deposit-card .deposit-table td[data-label]::before {
    content: attr(data-label); font-weight: 700; color: #64748b;
  }
  .admin-app .deposit-card .deposit-table td.actions {
    display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;
    grid-template-columns: none; width: 100%; max-width: 100%;
    padding: 10px 12px 0; margin: 0;
  }
  .admin-app .deposit-card .deposit-table td.actions::before { content: none; }
  .admin-app .deposit-card .deposit-table td.actions:empty { display: none; }
  .admin-app .deposit-card .deposit-table td.actions form {
    flex: 1 1 calc(50% - 8px); min-width: 0; margin: 0; display: flex;
  }
  .admin-app .deposit-card .deposit-table td.actions .btn {
    width: 100%; min-height: 44px; box-sizing: border-box;
  }
  .admin-app .deposit-card .pay-shot { max-width: 100%; height: auto; }
  .admin-app .card.dash-top { overflow-x: hidden; }
  .admin-app .dash-scroll { overflow-x: auto; max-width: 100%; }
  .admin-app form.dash-svc { max-width: none; width: max-content; min-width: 920px; }
}
.svc-scroll { overflow-x: auto; max-width: 100%; }
.order-svc-scroll { max-height: 320px; overflow: auto; }
.admin-app .card.svc-card,
.admin-app .card.rate-group { overflow: hidden; }
.admin-app .category-sort { display: flex; flex-direction: column; gap: 12px; min-width: 0; max-width: 100%; }
.admin-app .category-card { max-width: 100%; min-width: 0; overflow: hidden; margin-bottom: 0; }
.admin-app .category-card input { max-width: 100%; width: 100%; }
.admin-app .category-card .cat-meta { margin: 8px 0 12px; }
.admin-app .category-card .actions { margin-top: 10px; flex-wrap: nowrap; align-items: center; }
.admin-app .category-card .actions form { flex: none; margin: 0; }
.admin-app .category-card.sort-dragging { opacity: .45; }
.admin-app .category-card.sort-over { box-shadow: inset 0 3px 0 #5b46e8; }
.admin-app .provider-card { max-width: 100%; min-width: 0; overflow: hidden; }
.admin-app .provider-card input,
.admin-app .provider-card select,
.admin-app .provider-card textarea { max-width: 100%; }
.admin-app .provider-hikes { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e6eaf2; min-width: 0; }
.admin-app .provider-hikes h3 { margin: 0 0 8px; font-size: 15px; }
.admin-app .provider-hike-list { list-style: none; margin: 0; padding: 0; }
.admin-app .provider-hike-list li { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; border-bottom: 1px solid #eef2f7; overflow-wrap: anywhere; }
.admin-app .provider-hike-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.admin-app .provider-hike-list .hike-meta { color: #64748b; font-size: 13px; }
.admin-app .rate-group h2 { margin: 0 0 8px; font-size: 18px; }
.svc-provider-rate { display: block; margin-top: 4px; font-size: 12px; line-height: 1.3; font-weight: 600; white-space: nowrap; }
.admin-app .svc-provider-rate { color: #64748b; }
.admin-app .svc-table td,
.admin-app .svc-table th,
.pub .svc-table td,
.pub .svc-table th,
.user-app .svc-table td,
.user-app .svc-table th { vertical-align: middle; }
.admin-app .svc-table .svc-id,
.admin-app .svc-table .svc-rate-cell,
.admin-app .svc-table td.actions,
.pub .svc-table .svc-id,
.pub .svc-table .svc-rate,
.pub .svc-table .svc-act,
.user-app .svc-table .svc-id,
.user-app .svc-table .svc-rate,
.user-app .svc-table .svc-act { white-space: nowrap; }
.admin-app .svc-table td.actions,
.admin-app .svc-table .actions { flex-wrap: nowrap; }
.admin-app .svc-table .svc-name { white-space: normal; }
.svc-table .svc-name { max-width: 280px; white-space: normal; }
.svc-table .svc-act .btn { white-space: nowrap; }
.order-svc-scroll .svc-table th { position: sticky; top: 0; z-index: 1; }
@media (max-width: 760px) {
  .admin-app .rate-group table {
    width: max-content;
    min-width: 100%;
  }
  .pub .svc-card table.svc-table,
  .user-app .svc-card table.svc-table,
  .admin-app .svc-card table.svc-table,
  .user-app .order-svc-scroll table.svc-table {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .svc-table .svc-name {
    max-width: none;
    min-width: 0;
  }
}
.admin-app .svc-card {
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}
.admin-app .svc-card .svc-scroll,
.pub .svc-card .svc-scroll,
.user-app .svc-card .svc-scroll { overflow-x: hidden; max-width: 100%; }
.user-app .order-svc-scroll { overflow-x: hidden; overflow-y: auto; max-width: 100%; }
.admin-app .svc-card table.svc-table,
.pub .svc-card table.svc-table,
.user-app .svc-card table.svc-table,
.user-app .order-svc-scroll table.svc-table { display: block; width: 100%; min-width: 0; max-width: 100%; }
.admin-app .svc-card table.svc-table thead,
.admin-app .svc-card table.svc-table tbody { display: block; width: 100%; min-width: 0; }
.admin-app .svc-card tr.svc-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.admin-app .svc-card tr.svc-row > th,
.admin-app .svc-card tr.svc-row > td {
  display: block;
  padding: 8px 4px;
  border-bottom: 1px solid #e6eaf2;
  min-width: 0;
}
.admin-app .svc-card .svc-name {
  flex: 1 1 auto;
  min-width: 4.5rem;
  max-width: none;
  overflow: hidden;
  white-space: normal;
}
.admin-app .svc-card .svc-rename { display: block; width: 100%; min-width: 0; }
.admin-app .svc-card .svc-rename input[name="name"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-app .svc-card .svc-minmax {
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-app .svc-card tr.svc-row > .svc-id { flex: 0 0 auto; width: auto; min-width: max-content; white-space: nowrap; font-weight: 700; }
.admin-app .svc-card tr.svc-row > .svc-rate-cell { flex: 0 0 7.5rem; width: 7.5rem; min-width: 7.5rem; max-width: 7.5rem; }
.admin-app .svc-card .svc-rate { width: 100%; }
.admin-app .svc-card .svc-provider-rate { white-space: normal; overflow-wrap: anywhere; }
.admin-app .svc-card tr.svc-row > td.actions,
.admin-app .svc-card tr.svc-row > th.svc-act {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: max-content;
  width: auto;
}
.admin-app .svc-card .actions form { flex: none; margin: 0; display: flex; }
.admin-app .svc-card .svc-state-on {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}
.admin-app .svc-card .svc-state-off {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}
.admin-app dialog.svc-edit-dialog {
  position: fixed;
  inset: auto;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  height: auto;
  max-height: min(86dvh, 860px);
  margin: 0;
  padding: 16px;
  border: 1px solid #e6eaf2;
  border-radius: 16px;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
  overflow: auto;
}
.admin-app dialog.svc-edit-dialog::backdrop { background: rgba(7, 20, 40, .55); }
.admin-app dialog.svc-edit-dialog:not([open]) { display: none; }
.svc-edit-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.stay-error { color: #b91c1c; font-weight: 700; margin: 0 0 8px; }
.svc-edit-head strong { font-size: 18px; }
.admin-app .svc-card tr.svc-edit-row { display: block; width: 100%; min-width: 0; }
.admin-app .svc-card tr.svc-edit-row td {
  display: block;
  box-sizing: border-box;
  width: min(720px, 100%);
  max-width: min(720px, calc(100vw - 48px));
  white-space: normal;
  position: sticky;
  left: 0;
}
.admin-app .svc-card thead tr.svc-row { background: var(--purple); border-radius: 8px; }
.admin-app .svc-card thead tr.svc-row > th { background: transparent; color: #fff; border-bottom: 0; }
.admin-app .svc-card .svc-edit-delete { margin-top: 8px; }
.pub .card.svc-card,
.user-app .card.svc-card { overflow-x: hidden; max-width: 100%; min-width: 0; }
.pub .svc-card table.svc-table thead,
.pub .svc-card table.svc-table tbody,
.user-app .svc-card table.svc-table thead,
.user-app .svc-card table.svc-table tbody,
.user-app .order-svc-scroll table.svc-table thead,
.user-app .order-svc-scroll table.svc-table tbody { display: block; width: 100%; min-width: 0; max-width: 100%; }
.pub .svc-card tr.svc-row,
.user-app .svc-card tr.svc-row,
.user-app .order-svc-scroll tr.svc-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}
.pub .svc-card tr.svc-row > th,
.pub .svc-card tr.svc-row > td,
.user-app .svc-card tr.svc-row > th,
.user-app .svc-card tr.svc-row > td,
.user-app .order-svc-scroll tr.svc-row > th,
.user-app .order-svc-scroll tr.svc-row > td {
  display: block;
  min-width: 0;
  padding: 8px 4px;
}
.pub .svc-card .svc-name,
.user-app .svc-card .svc-name,
.user-app .order-svc-scroll .svc-name { flex: 1 1 0; min-width: 0; max-width: none; overflow: hidden; }
.svc-card .name-full,
.order-svc-scroll .name-full { display: block; max-width: 100%; }
.pub .svc-card .name-full {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  overflow-wrap: anywhere;
}
.svc-name-line { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.svc-name-line .svc-rename,
.svc-name-line .name-full { flex: 1 1 8rem; min-width: 0; }
.svc-blurb {
  margin: 0;
  flex: 1 1 10rem;
  min-width: 0;
  max-width: 16rem;
  color: #64748b;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
textarea.svc-blurb {
  display: block;
  width: 100%;
  max-height: 2.6em;
  resize: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #334155;
  box-shadow: none;
}
textarea.svc-blurb:focus {
  border: 1px solid #cbd5e1;
  background: #fff;
  max-height: 6em;
  overflow: auto;
  padding: 4px 6px;
}
.pub .svc-blurb, .user-app .svc-blurb { color: var(--muted); }
.svc-detail-desc { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 8px; }
@media (max-width: 760px) {
  .svc-name-line { flex-direction: column; gap: 2px; }
  .svc-blurb, textarea.svc-blurb { max-width: 100%; font-size: 12px; }
}
.svc-minmax {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pub .svc-card .svc-minmax {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  overflow-wrap: anywhere;
}
.pub .svc-minmax,
.user-app .svc-minmax { color: var(--muted); }
.pub .svc-card tr.svc-row > .svc-id,
.user-app .svc-card tr.svc-row > .svc-id,
.user-app .order-svc-scroll tr.svc-row > .svc-id {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  overflow: visible;
  white-space: nowrap;
  font-weight: 700;
}
.pub .svc-card tr.svc-row > .svc-rate,
.user-app .svc-card tr.svc-row > .svc-rate,
.user-app .order-svc-scroll tr.svc-row > .svc-rate {
  flex: 0 0 4.8rem;
  width: 4.8rem;
  max-width: 4.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pub .svc-card tr.svc-row > .svc-act,
.user-app .svc-card tr.svc-row > .svc-act {
  flex: 0 0 7.5rem;
  width: 7.5rem;
  max-width: 7.5rem;
}
.user-app .order-svc-scroll tr.svc-row > .svc-act {
  flex: 0 0 5.4rem;
  width: 5.4rem;
  max-width: 5.4rem;
}
.pub .svc-card .svc-act .btn,
.user-app .svc-card .svc-act .btn,
.user-app .order-svc-scroll .svc-act .btn { padding: 8px 10px; white-space: nowrap; }
.pub .svc-card tr.cat-row,
.pub .svc-card tr.svc-detail-row,
.user-app .svc-card tr.cat-row,
.user-app .svc-card tr.svc-detail-row {
  display: block;
  width: 100%;
  min-width: 0;
}
.pub .svc-card tr.cat-row > td,
.pub .svc-card tr.svc-detail-row > td,
.user-app .svc-card tr.cat-row > td,
.user-app .svc-card tr.svc-detail-row > td {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
}
@media (max-width: 640px) {
  .admin-app .card.svc-card,
  .pub .card.svc-card { padding: 8px 4px; }
  .admin-app .svc-card tr.svc-row {
    display: grid;
    grid-template-columns: 2.7rem minmax(0, 1fr) 4.4rem 11.8rem;
    gap: 2px;
    align-items: center;
    width: 100%;
    min-width: 0;
  }
  .admin-app .svc-card tr.svc-row > th,
  .admin-app .svc-card tr.svc-row > td {
    min-width: 0;
    max-width: 100%;
    padding: 4px 1px;
    overflow: hidden;
  }
  .admin-app .svc-card .svc-name { min-width: 0; flex: none; }
  .admin-app .svc-card tr.svc-row > .svc-id,
  .admin-app .svc-card tr.svc-row > .svc-rate-cell,
  .admin-app .svc-card tr.svc-row > td.actions,
  .admin-app .svc-card tr.svc-row > th.svc-act {
    flex: none;
    width: auto;
    min-width: 0;
    max-width: none;
  }
  .admin-app .svc-card thead .svc-id,
  .admin-app .svc-card thead .svc-rate-cell {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 10px;
    line-height: 1.15;
  }
  .admin-app .svc-card tr.svc-row > td.actions,
  .admin-app .svc-card tr.svc-row > th.svc-act {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    padding: 4px 0;
    overflow: hidden;
  }
  .admin-app .svc-card tr.svc-row > td.actions .btn.btn-icon,
  .admin-app .svc-card tr.svc-row > td.actions button.btn.btn-icon {
    width: 24px;
    min-width: 24px;
    max-width: 24px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 8px;
  }
  .admin-app .svc-card tr.svc-row > td.actions .btn-icon .ico { width: 16px; height: 16px; }
  .admin-app .svc-card .svc-rate {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 4px 2px;
    font-size: 12px;
  }
  .admin-app .svc-card .svc-provider-rate { margin-top: 2px; font-size: 11px; line-height: 1.2; }
  .admin-app dialog.svc-edit-dialog {
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: auto;
    transform: none;
    width: auto;
    max-height: calc(100dvh - 24px);
  }
  .pub .svc-card tr.svc-row,
  .user-app .svc-card tr.svc-row,
  .user-app .order-svc-scroll tr.svc-row { gap: 4px; }
  .pub .svc-card tr.svc-row > th,
  .pub .svc-card tr.svc-row > td,
  .user-app .svc-card tr.svc-row > th,
  .user-app .svc-card tr.svc-row > td,
  .user-app .order-svc-scroll tr.svc-row > th,
  .user-app .order-svc-scroll tr.svc-row > td { padding: 6px 2px; }
  .pub .svc-card .svc-act .btn,
  .user-app .svc-card .svc-act .btn,
  .user-app .order-svc-scroll .svc-act .btn { min-height: 44px; padding: 8px 8px; }
  .install-choices { grid-template-columns: 1fr; }
  .user-app .appbar .download-app { order: 2; margin-left: 6px; font-size: 13px; }
  .user-app .appbar .bar-brand { order: 3; }
}
.admin-app .report-card {
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  padding: 0;
}
.admin-app .report-card > h2 { margin: 0; padding: 12px 12px 0; }
.admin-app .report-card .report-scroll {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}
.admin-app .report-card .report-scroll table {
  width: max-content;
  min-width: 100%;
}
@media (min-width: 641px) and (max-width: 980px) {
  .admin-app .filter-form { flex-wrap: nowrap; align-items: flex-end; }
  .admin-app .filter-form label { flex: 1 1 0; width: auto; min-width: 0; }
  .admin-app .filter-form input,
  .admin-app .filter-form select { width: 100%; min-width: 0; max-width: 100%; }
  .admin-app .filter-form .btn { flex: none; width: auto; }
}
html.is-standalone .download-app,
html.is-standalone .install-panel,
html.is-standalone .app-download,
html.install-hidden .download-app,
html.install-hidden .app-download,
html.install-hidden .install-panel { display: none !important; }
.app-download { display: none; }
.bar-notes { display: none; }
.app-tabbar { display: none; }
.user-app .side nav a { gap: 10px; padding: 12px 14px; }
.user-app .order-svc-scroll tr.svc-row:hover { background: #16345c; }
.user-app .order-svc-scroll tr.svc-row.is-selected,
.user-app .order-svc-scroll tr.svc-row.is-selected:hover { background: #1d4e89; box-shadow: inset 3px 0 0 #7dd3fc; }
.user-app #order-category.is-picked,
.user-app #order-service.is-picked { border-color: #7dd3fc; box-shadow: 0 0 0 1px #7dd3fc; }
.user-app #order-desc-wrap { display: block; position: static; margin: 8px 0 4px; }
.user-app #order-desc-wrap[hidden] { display: none !important; }
.user-app .order-desc-label { font-weight: 700; margin: 0 0 6px; color: #e8eefc; }
.user-app .order-desc { display: block; position: static; background: #0c1c36; color: #e8eefc; border: 1px solid #2a4068; border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.user-app .order-form { max-width: 100%; min-width: 0; overflow-x: hidden; }
.user-app #order-bounds { margin: 4px 0 10px; font-size: 12px; }
.user-app #order-service {
  font-size: 13px; line-height: 1.35; max-width: 100%; color: #e8eefc; background: #0c1a30;
}
.user-app #order-service option { font-size: 13px; color: #142033; background: #fff; }
.user-app select.order-category-backed,
.user-app select.order-service-backed {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; border: 0 !important;
}
.user-app .order-svc-toggle {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: 8px; align-items: start;
  width: 100%; max-width: 100%; min-width: 0; margin: 0 0 8px; padding: 10px 12px;
  border: 1px solid #2a4068; border-radius: 12px; background: #0c1a30; color: #e8eefc;
  text-align: left; cursor: pointer; font-size: 13px; line-height: 1.35; font-weight: 400;
}
.user-app .order-svc-toggle.is-empty { grid-template-columns: minmax(0, 1fr); }
.user-app .order-svc-list {
  max-height: 280px; overflow-x: hidden; overflow-y: auto; min-width: 0; max-width: 100%;
  margin: 0 0 10px; border: 1px solid #2a4068; border-radius: 12px; background: #0c1c36;
}
.user-app .order-svc-list[hidden] { display: none !important; }
.user-app .order-svc-row {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: 8px; align-items: start;
  width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 8px 10px; border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08); background: transparent; color: #e8eefc;
  text-align: left; cursor: pointer; font-size: 13px; line-height: 1.35; font-weight: 400;
}
.user-app .order-svc-row:last-child { border-bottom: 0; }
.user-app .order-svc-row:hover,
.user-app .order-svc-row:focus { background: #16345c; outline: none; }
.user-app .order-svc-row.is-selected { background: #1d4e89; box-shadow: inset 3px 0 0 #7dd3fc; }
.user-app .order-svc-id { font-weight: 500; }
.user-app .order-svc-name { min-width: 0; white-space: normal; overflow-wrap: anywhere; font-weight: 400; }
.user-app .order-svc-rate { font-weight: 600; white-space: nowrap; color: #86efac; text-align: right; }
.user-app .order-svc-empty { margin: 0; padding: 10px 12px; }
.user-app #order-browse { min-width: 0; max-width: 100%; }
.user-app .order-cat-toggle {
  display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box;
  margin: 0; padding: 12px 36px 12px 12px; border: 1px solid #2a4068; border-radius: 10px;
  background: #0c1a30; color: #e8eefc; text-align: left; cursor: pointer;
  font-size: 16px; font-weight: 400; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative;
}
.user-app .order-cat-toggle::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.user-app .order-cat-list {
  max-height: 240px; overflow-x: hidden; overflow-y: auto; min-width: 0; max-width: 100%;
  margin: 6px 0 0; border: 1px solid #2a4068; border-radius: 12px; background: #0c1c36;
}
.user-app .order-cat-list[hidden] { display: none !important; }
.user-app .order-cat-row {
  display: block; width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 8px 12px;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.08); background: transparent; color: #e8eefc;
  text-align: left; cursor: pointer; font-size: 13px; font-weight: 400; line-height: 1.35;
  white-space: normal; overflow-wrap: anywhere;
}
.user-app .order-cat-row:last-child { border-bottom: 0; }
.user-app .order-cat-row:hover,
.user-app .order-cat-row:focus { background: #16345c; outline: none; }
.user-app .order-cat-row.is-selected { background: #1d4e89; box-shadow: inset 3px 0 0 #7dd3fc; }
.user-app .theme-switch { display: inline-flex; gap: 4px; margin-left: auto; flex: none; }
.user-app .appbar .prefs { margin-left: 8px; }
.user-app .theme-switch button {
  border: 1px solid var(--line); background: #122848; color: #d5def0; border-radius: 8px;
  padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; min-height: 32px;
}
.user-app .theme-switch button.on { background: #fff; color: #142033; }
.user-app #order-service, .user-app #order-category, .user-app #service-search { max-width: 100%; }
.user-app #profile-service-desc { white-space: pre-wrap; overflow-wrap: anywhere; }
.user-indicate { background: #102a4a; border: 1px solid #38bdf8; border-radius: 10px; padding: 10px 12px; }
.admin-cal-wrap h2 { margin-top: 0; }
.admin-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.admin-cal .dow { text-align: center; color: #64748b; font-size: 12px; font-weight: 700; }
.admin-cal .day { background: #fff; border: 1px solid #d6dbe6; border-radius: 8px; min-height: 52px; padding: 8px; color: #0f172a; }
.admin-cal .day.pad { background: transparent; border-color: transparent; }
.admin-cal .day b { display: block; font-size: 12px; }
.admin-cal .day span { display: block; margin-top: 4px; font-size: 12px; color: #334155; }
.user-app .side-prefs { display: none; }
.install-dismiss { margin-top: 12px; min-height: 44px; }
@media (display-mode: standalone) {
  .download-app, .install-panel, .app-download { display: none !important; }
}
@media (min-width: 981px) {
  .user-app .content { padding-bottom: 24px; }
}
@media (max-width: 980px) {
  .pub, .user-app { overflow-x: hidden; }
  .pub { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .user-app .download-app { display: none !important; }
  .pub .top-row { flex-wrap: nowrap; align-items: center; }
  .pub .topbar { padding-top: env(safe-area-inset-top, 0px); }
  .user-app {
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
  }
  .user-app .main {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }
  .user-app .appbar {
    position: relative; top: auto; z-index: 30; flex: none; flex-wrap: wrap; align-items: center;
    background: #07152c; min-height: 56px; gap: 8px; padding: 8px 10px;
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
  }
  .user-app .appbar .bar-brand { order: 1; flex: 0 0 auto; max-width: 120px; min-width: 0; background: transparent; }
  .user-app .appbar .brand-logo.bar { max-height: 64px; max-width: 120px; height: auto; width: auto; }
  .user-app .appbar .theme-switch { order: 2; margin-left: auto; }
  .user-app .appbar .signed-name { order: 3; flex: 0 1 auto; max-width: 40vw; }
  .user-app .appbar .bal { order: 4; margin-left: 0; flex: none; }
  .user-app .appbar .nav-toggle { order: 5; flex: none; }
  .user-app .appbar .bar-notes {
    order: 5; flex: 1 1 100%; display: inline-flex; align-items: center; min-height: 44px;
    color: #fff; font-weight: 700; text-decoration: none;
  }
  .user-app .appbar .bar-notes b {
    margin-left: 8px; background: #38bdf8; color: #042; border-radius: 999px; padding: 1px 7px; font-size: 12px;
  }
  .user-app .appbar .prefs,
  .user-app .appbar .who-menu { display: none; }
  .user-app .side-prefs { display: block; margin: 0 4px 10px; }
  .user-app .side-prefs .prefs { margin-left: 0; width: 100%; }
  .user-app .side-prefs select { width: 100%; max-width: 100%; }
  .user-app .app-download {
    display: flex; order: 2; flex: none; align-items: center; justify-content: center;
    min-height: 44px; padding: 8px 12px; background: #102445; color: #fff; font-weight: 700;
    text-decoration: none; border-top: 1px solid rgba(255,255,255,.08);
  }
  .user-app .app-tabbar {
    display: flex; position: static; order: 3; flex: none; z-index: 50;
    background: #06101f; border-top: 1px solid rgba(255,255,255,.08);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .user-app .app-tabbar a {
    flex: 1 1 0; min-width: 0; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    text-align: center; text-decoration: none; color: #d5def0; font-size: 12px; font-weight: 700;
    line-height: 1.2; padding: 8px 4px;
  }
  .user-app .app-tabbar .nav-ico { font-size: 16px; }
  .user-app .app-tabbar a.on { color: #fff; background: #16325a; }
  .user-app .content {
    flex: 1 1 auto; min-height: 0; min-width: 0; order: 1;
    overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
    scroll-padding-bottom: 16px;
    padding-bottom: 18px;
  }
  .user-app .content > * { min-width: 0; max-width: 100%; }
  .user-app aside.side.open {
    z-index: 40;
    top: calc(56px + env(safe-area-inset-top, 0px));
    right: 10px;
    bottom: calc(108px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    width: auto;
    max-height: none;
    height: auto;
  }
  .user-app ~ .wa { bottom: calc(116px + env(safe-area-inset-bottom, 0px)); z-index: 35; }
}
html.is-standalone .user-app aside.side.open { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
html.is-standalone .user-app ~ .wa { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
.provider-balance { margin: 0 0 10px; font-weight: 700; color: #0f172a; }
.admin-app dialog.role-dialog {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(720px, calc(100vw - 24px)); max-width: calc(100vw - 24px);
  max-height: min(88dvh, 920px); margin: 0; padding: 0; border: 1px solid #e6eaf2; border-radius: 16px;
  background: #fff; color: #1e293b; box-shadow: 0 24px 60px rgba(15, 23, 42, .28); overflow: auto;
}
.admin-app dialog.role-dialog::backdrop { background: rgba(7, 20, 40, .55); }
.admin-app dialog.role-dialog:not([open]) { display: none; }
.role-dialog form { margin: 0; padding: 18px 20px 16px; }
.role-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.role-dialog h2 { margin: 0; font-size: 20px; color: #0f172a; }
.role-x { border: 0; background: transparent; color: #64748b; font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; }
.perm-access { margin: 16px 0 6px; font-size: 16px; color: #0f172a; }
.role-group { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 18px; border-top: 1px solid #e6eaf2; padding: 12px 0; }
.role-section { display: flex; align-items: center; gap: 8px; flex: 0 0 148px; margin: 0; font-weight: 700; color: #0f172a; cursor: pointer; }
.perm-ticks { display: flex; flex-wrap: wrap; gap: 8px 14px; flex: 1 1 280px; }
.perm-ticks .check { margin: 0; flex: 0 0 auto; font-weight: 600; color: #334155; white-space: nowrap; }
.role-dialog input[type="checkbox"] { width: 16px; height: 16px; margin: 0; padding: 0; accent-color: #6d5ce6; }
.role-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.staff-did { white-space: normal; }
.staff-did .inline-assign { margin-top: 6px; }
.inline-assign { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 6px 0; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; max-width: 100%; }
.social-link { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #102445; color: #fff; text-decoration: none; flex: 0 0 auto; }
.social-link svg { width: 20px; height: 20px; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.user-app .content .social-row { margin: 12px 0 4px; }
@media (max-width: 760px) {
  .pub .top-row { flex-wrap: wrap; align-items: center; justify-content: flex-start; width: 100%; min-width: 0; }
  .pub .top-row .brand-link { order: 1; flex: 0 1 auto; max-width: calc(100% - 88px); min-width: 0; background: transparent; }
  .pub .top-row .brand-logo.header { max-height: 64px; max-width: 120px; height: auto; width: auto; }
  .pub .top-row .nav-toggle { order: 2; margin-left: auto; flex: 0 0 auto; }
}
.site-foot .foot-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 100%; }
.site-foot .download-app { margin-left: 0; color: #102445; }
.site-foot .social-row { margin: 0; }
.pay-list { max-width: 100%; overflow: hidden; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-bottom: 1px solid var(--line); max-width: 100%; }
.pay-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; min-width: 0; flex: 1 1 180px; }
.pay-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pay-actions form { margin: 0; }
.user-app .content .app-download { display: inline-flex; align-items: center; min-height: 44px; margin: 8px 0 0; padding: 0; background: transparent; color: #38bdf8; border: 0; font-weight: 700; text-decoration: none; }
html.user-theme-light body { background: #f4f6fb; color: #142033; }
html.user-theme-light .user-app { background: #f4f6fb; color: #142033; }
html.user-theme-light .user-app .side { background: #fff; border-right-color: #d6deea; }
html.user-theme-light .user-app .side nav a { color: #1e293b; }
html.user-theme-light .user-app .side nav a.on,
html.user-theme-light .user-app .side nav a:hover { background: #e8eef8; color: #142033; }
html.user-theme-light .user-app .appbar,
html.user-theme-light .user-app .appbar { background: #fff; border-bottom-color: #d6deea; color: #142033; }
html.user-theme-light .user-app .nav-toggle { color: #142033; border-color: #d6deea; }
html.user-theme-light .user-app .card,
html.user-theme-light .user-app .table-wrap,
html.user-theme-light .user-app .stat,
html.user-theme-light .user-app .panel-card { background: #fff; color: #142033; border-color: #d6deea; }
html.user-theme-light .user-app .ticker,
html.user-theme-light .user-app label,
html.user-theme-light .user-app .bar-notes { color: #1e293b; }
html.user-theme-light .user-app .muted { color: #52627a; }
html.user-theme-light .user-app input,
html.user-theme-light .user-app select,
html.user-theme-light .user-app textarea { background: #fff; color: #142033; border-color: #c5d0e0; }
html.user-theme-light .user-app .platforms button,
html.user-theme-light .user-app .tabs button { background: #fff; color: #142033; border-color: #d6deea; }
html.user-theme-light .user-app .btn-ghost { background: #e8eef8; color: #142033; }
html.user-theme-light .user-app .theme-switch button { background: #fff; color: #142033; border-color: #c5d0e0; }
html.user-theme-light .user-app .theme-switch button.on { background: #142033; color: #fff; }
html.user-theme-light .user-app a.bal { background: #ecfdf3; color: #166534; border-color: #bbf7d0; }
html.user-theme-light .user-app #order-service,
html.user-theme-light .user-app #order-service option { color: #142033; background: #fff; }
html.user-theme-light .user-app .order-cat-toggle { background: #fff; color: #142033; border-color: #d6deea; }
html.user-theme-light .user-app .order-cat-list { background: #fff; border-color: #d6deea; }
html.user-theme-light .user-app .order-cat-row { color: #142033; border-bottom-color: #e6eaf2; }
html.user-theme-light .user-app .order-cat-row:hover,
html.user-theme-light .user-app .order-cat-row:focus { background: #e8eef8; }
html.user-theme-light .user-app .order-cat-row.is-selected { background: #dbeafe; box-shadow: inset 3px 0 0 #2563eb; }
html.user-theme-light .user-app .order-svc-toggle { background: #fff; color: #142033; border-color: #d6deea; }
html.user-theme-light .user-app .order-svc-list { background: #fff; border-color: #d6deea; }
html.user-theme-light .user-app .order-svc-row { color: #142033; border-bottom-color: #e6eaf2; }
html.user-theme-light .user-app .order-svc-row:hover,
html.user-theme-light .user-app .order-svc-row:focus { background: #e8eef8; }
html.user-theme-light .user-app .order-svc-row.is-selected { background: #dbeafe; box-shadow: inset 3px 0 0 #2563eb; }
html.user-theme-light .user-app .order-svc-rate { color: #166534; }
html.user-theme-light .user-app .order-desc-label { color: #142033; background: transparent; }
html.user-theme-light .user-app .order-desc { background: #f8fafc; color: #142033; border-color: #d6deea; }
html.user-theme-light .user-app th { background: #e8eef8; color: #142033; }
html.user-theme-light .user-app .user-indicate { background: #f8fafc; color: #142033; border-color: #93c5fd; }
html.user-theme-light .user-app .news-panel article,
html.user-theme-light .user-app .news-panel p { color: #142033; }
