:root{--bg:#080f1d;--card:#111c2b;--line:#263649;--muted:#91a4b7;--text:#f4f8fc;--accent:#68e0bd}
body{background:radial-gradient(ellipse 55% 35% at 94% 0%,#1b475044,transparent 70%),linear-gradient(180deg,#091422 0%,#08111f 65%,#090f1b 100%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.topbar{position:relative;z-index:2;background:#0a1421e8;border-bottom:1px solid #ffffff13;padding-top:16px;padding-bottom:16px}
.brand{font-size:21px;letter-spacing:-.8px}.brand-icon{background:linear-gradient(145deg,#8bf5d1,#58ceb1);box-shadow:0 7px 25px #4bd5b638;border-radius:13px}.brand small{font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:#8daab0}
.topbar .account{color:#b7c7d2}.topbar .quiet{padding:8px 14px;background:#ffffff08;border-color:#ffffff1f}
main{max-width:1320px;padding-top:24px}.creator-tabs{display:flex;gap:5px;align-items:center;padding:5px;margin-bottom:31px;background:#0d1927;border:1px solid #263849;border-radius:13px;width:max-content;max-width:100%;overflow:auto;scrollbar-width:thin}
.creator-tabs a{display:flex;align-items:center;gap:8px;border:0!important;border-radius:9px;padding:10px 17px!important;color:#a9bdc8!important;white-space:nowrap;text-decoration:none;font-size:12px;font-weight:700}
.creator-tabs a:hover{background:#ffffff0a;color:#f3fffc!important}
.creator-tabs a[aria-current=page]{background:#203c3e!important;color:#a3f0d8!important;box-shadow:inset 0 0 0 1px #66dabc35}
.creator-tabs .nav-icon{font-size:15px;font-weight:500;line-height:1}
.intro h1{font-size:clamp(30px,3.4vw,44px);letter-spacing:-1.8px}.intro p{font-size:13px}.intro .eyebrow{color:#86eac9}
.button-link,.command-create{background:linear-gradient(135deg,#7cebc8,#64d9bd)!important;color:#0b2927!important;box-shadow:0 12px 30px #50d7b51c;border:1px solid #9af7da55!important;border-radius:10px;font-size:12px;font-weight:800}
.button-link:hover,.command-create:hover{filter:brightness(1.08)}
.overview{gap:12px}.stat{display:flex;align-items:flex-start;flex-direction:column;gap:10px;padding:18px 20px;min-height:112px;background:linear-gradient(150deg,#172537,#101b2a);border-color:#2a3b4d;border-radius:14px}.stat span{font-size:11px;font-weight:700;letter-spacing:.2px}.stat strong{font-size:31px;line-height:1;color:#f2fbf8;letter-spacing:-1px}
.capacity{background:linear-gradient(115deg,#173534,#111e2c);border-color:#39605b;border-radius:14px}.capacity .dot{width:8px;height:8px;box-shadow:0 0 0 4px #73e7bc21}.capacity b{font-size:13px}.capacity p{line-height:1.55}
.card{background:linear-gradient(145deg,#172336,#101a29 65%);border-color:#2b3b50;box-shadow:0 18px 50px #020a1421}
.platform-list{padding:24px}.platform-list .filters{padding:16px;background:#0b1726;border:1px solid #24374a;border-radius:12px;margin-bottom:26px}.platform-list .filters label{font-size:11px;color:#a9bcc9;font-weight:700}.platform-list .filters input,.platform-list .filters select{background:#0c1928;border:1px solid #304358;border-radius:9px}.platform-list .filters .quiet{background:#203c3e;color:#c8f6e8;border-color:#3b6d65;font-weight:750}.platform-list .list-heading{padding:0 4px 12px}.platform-list .list-heading h2{font-size:19px;letter-spacing:-.5px}.platform-row{padding:20px 8px;border-top-color:#ffffff13;transition:background .2s}.platform-row:hover{background:#ffffff06}.platform-title>a{font-size:16px}.platform-meta{font-size:10px}.platform-row .row-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}.platform-row .row-actions a{border:1px solid #344658;border-radius:7px;padding:7px 10px;color:#b9d0d8;font-weight:650}.platform-row .row-actions a:hover{background:#234346;color:#dcfff2;border-color:#5fbb9f}.platform-row .row-actions a.danger-link{color:#efa49b;border-color:#70454b}.platform-row .row-actions a.danger-link:hover{background:#412930}
.setup,.delete-card{border-radius:17px}.setup h2{font-size:22px}.setup .primary{background:#72e2c0;color:#0b2825}
.dashboard-v2{--report-green:#70e2c0;--report-border:#2b3c4d;--report-muted:#91a5b5;color:#f1f8f7}
.command-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:5px 0 26px}.command-eyebrow,.command-section-label{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#7ce6c2}.command-eyebrow i,.command-live i{display:inline-block;width:7px;height:7px;background:#79e8c2;border-radius:50%;margin-right:7px;box-shadow:0 0 0 4px #72e6bd21}.command-eyebrow span{color:#466c71;margin:0 4px}.command-head h1{font-size:clamp(35px,4vw,51px);letter-spacing:-2.5px;line-height:1.05;margin:9px 0}.command-head p{color:#9caebd;font-size:14px;margin:0}.command-actions{display:flex;gap:9px;align-items:center}.command-actions a{text-decoration:none;white-space:nowrap;padding:11px 15px}.command-refresh{border:1px solid #39515a;border-radius:10px;background:#122532;color:#d8eee9;font-size:12px;font-weight:700}.command-refresh:hover{background:#1c3941}.command-create{display:inline-flex}
.command-filters{background:linear-gradient(105deg,#163039,#121f30 55%,#111c2b);border:1px solid #34505b;border-radius:16px;padding:19px 21px 14px;margin-bottom:16px;box-shadow:0 20px 45px #030b1526}.command-filter-line{display:flex;justify-content:space-between;align-items:end;gap:24px}.command-period-label{display:grid;gap:1px}.command-period-label span{font-size:9px;letter-spacing:1.4px;font-weight:800;color:#91c5ba}.command-period-label strong{font-size:21px;letter-spacing:-.5px}.command-period-label small{font-size:11px;color:#9aafbb}.command-platform-filter{min-width:320px;max-width:510px;flex:1}.command-platform-filter label{font-size:11px;font-weight:700;color:#afc9ca;margin:0 0 6px}.command-platform-filter>div{display:flex;gap:8px}.command-platform-filter select{min-width:0;flex:1;height:41px;margin:0;border:1px solid #3b5260;background:#0b1a27;border-radius:9px;color:#f0fbf6;font-size:12px}.command-platform-filter button{border:0;border-radius:9px;padding:0 17px;background:#71ddba;color:#092a27;font-size:12px;font-weight:800}.command-periods{display:flex;gap:5px;border-top:1px solid #ffffff18;margin-top:17px;padding-top:13px;overflow-x:auto;scrollbar-width:thin}.command-periods a{flex:none;text-decoration:none;color:#a7bdc4;padding:8px 12px;border-radius:8px;font-size:12px;font-weight:700;white-space:nowrap}.command-periods a:hover{color:#fff;background:#ffffff0c}.command-periods a[aria-current=page]{background:#77e2bd;color:#0b302b}
.command-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.command-metric{min-width:0;min-height:142px;display:flex;flex-direction:column;padding:18px 20px;background:linear-gradient(145deg,#172536,#111c2b);border:1px solid #2c3d4f;border-radius:15px;box-shadow:0 15px 35px #030b1522}.command-metric-feature{background:radial-gradient(circle at 85% 10%,#52cbad33,transparent 45%),linear-gradient(130deg,#17443e,#10292f);border-color:#4b8d79}.command-metric-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.command-metric-top>span:first-child{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#a1babe}.command-metric-icon{width:27px;height:27px;display:grid;place-items:center;border:1px solid #4c7c70;border-radius:8px;color:#99eacf;font-size:15px}.command-metric strong{font-size:clamp(26px,2.5vw,37px);line-height:1.1;letter-spacing:-1.5px;margin:15px 0 6px;overflow-wrap:anywhere}.command-metric strong em{font-style:normal;font-size:.62em;color:#91eacb}.command-metric small{font-size:10px;color:#90a7af}.command-metric-foot{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.command-delta{font-size:10px;font-weight:800;border-radius:6px;padding:3px 6px;background:#1d574b;color:#a3f4d5}.command-delta[data-direction=down]{background:#573c3a;color:#ffc4b4}
.command-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,.9fr);gap:14px;margin-bottom:16px}.command-card{min-width:0;background:linear-gradient(145deg,#162537,#101b2b 72%);border:1px solid #2d4152;border-radius:17px;padding:22px 24px;box-shadow:0 18px 40px #030b1522}.command-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.command-card-head h2{font-size:19px;letter-spacing:-.6px;line-height:1.2;margin:4px 0}.command-card-head p{font-size:11px;color:#94aab7;margin:0}.command-card-head>a{font-size:11px;font-weight:700;color:#9ee8d1;text-decoration:none;white-space:nowrap}.command-card-head>a:hover{text-decoration:underline}.command-live{font-size:10px;color:#a6dccb;border:1px solid #376b5d;border-radius:20px;padding:6px 10px;white-space:nowrap}.command-live i{width:6px;height:6px;margin-right:5px;box-shadow:none}.command-trend{position:relative;overflow:hidden;background:radial-gradient(ellipse 65% 90% at 65% 105%,#17493d55,transparent 70%),linear-gradient(145deg,#142a33,#0d1c2a)}.command-chart-total{font-size:clamp(33px,4vw,52px);font-weight:800;letter-spacing:-2px;line-height:1.1;margin-top:25px}.command-chart-sub{font-size:11px;color:#a1b9bb;margin-top:4px}.command-trend .report-chart{margin-top:20px;height:225px}.command-trend .report-chart svg{height:202px}.command-trend .report-chart svg line{stroke:#62897c31}.command-trend .report-chart-axis{color:#8baea9}.command-funnel-number{font-size:72px;font-weight:850;letter-spacing:-4px;line-height:1;margin:38px 0 20px}.command-funnel-number span{font-size:36px;color:#7fe2be}.command-funnel-meter{display:block;width:100%;height:11px;border:0;border-radius:20px;background:#2a4650;overflow:hidden;margin:0 0 24px}.command-funnel-meter::-webkit-progress-bar{background:#2a4650}.command-funnel-meter::-webkit-progress-value{background:linear-gradient(90deg,#3cb7ad,#92efbb);border-radius:20px}.command-funnel-meter::-moz-progress-bar{background:#70dfbd;border-radius:20px}.command-funnel-step{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #ffffff14;color:#a8bcc4;font-size:12px}.command-funnel-step strong{color:#f3fbf7;font-size:14px}.command-funnel-note{font-size:10px;color:#819da5;line-height:1.5;margin-top:17px}
.command-states,.command-platform-performance,.command-transactions{margin-bottom:16px}.command-state-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px}.command-state{display:flex;flex-direction:column;min-width:0;padding:15px 16px;background:#0c1b29;border:1px solid #304558;border-radius:11px}.command-state>span{font-size:11px;font-weight:700;color:#b9c9d2}.command-state i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#73e1ba;margin-right:7px}.command-state[data-tone=pending] i{background:#efc87d}.command-state[data-tone=failed] i{background:#ef8c89}.command-state[data-tone=expired] i{background:#8ea4b7}.command-state strong{font-size:clamp(18px,1.8vw,24px);letter-spacing:-.6px;margin:12px 0 1px;overflow-wrap:anywhere}.command-state small{color:#879fac;font-size:10px}.command-performance-table{min-width:700px;margin-top:14px}.command-performance-table td:first-child{min-width:180px}.command-performance-table td:nth-child(2){min-width:170px}.command-table-bar{display:block;width:100%;height:4px;border:0;background:#263b42;border-radius:8px;margin:8px 0 0;overflow:hidden}.command-table-bar::-webkit-progress-bar{background:#263b42}.command-table-bar::-webkit-progress-value{background:#72e0bd;border-radius:8px}.command-table-bar::-moz-progress-bar{background:#72e0bd;border-radius:8px}.command-performance-table td,.command-performance-table th{border-bottom-color:#ffffff12}
.command-bottom-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:14px;margin-bottom:16px}.command-hourly .dashboard-hour-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.command-hourly .dashboard-hour{min-height:58px;background:#112e31;border-color:#2f5855}.command-hourly .dashboard-hour[data-level="0"]{background:#12232c;border-color:#2c3d49}.command-hourly .dashboard-hour[data-level="3"]{background:#216a61}.command-hourly .dashboard-hour[data-level="4"]{background:#2d907c}.command-hourly .dashboard-hour[data-level="5"]{background:#60d7b3;border-color:#7ce6c4;color:#0a2a27}.command-health.vps-health{padding:22px 24px;margin:0}.command-health .health-grid{grid-template-columns:1fr;gap:8px;margin-top:17px}.command-health .health-metric{padding:10px 12px}.command-health .health-meter{margin:7px 0 5px}.command-health .health-alerts{margin-top:12px}.command-transactions .dashboard-tx-tabs{margin-top:18px}.command-transactions .report-table-wrap{margin-top:0}.command-daily{margin-bottom:16px}.command-footnote{font-size:10px;line-height:1.65;color:#829aa7;margin:15px 3px 30px}.dashboard-v2 a:focus-visible,.dashboard-v2 button:focus-visible,.dashboard-v2 select:focus-visible{outline:2px solid #8ff1cd;outline-offset:3px}
@media(max-width:1050px){.command-grid,.command-bottom-grid{grid-template-columns:1fr}.command-health .health-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.command-state-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-list .filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){main{padding:20px 16px}.creator-tabs{width:100%;margin-bottom:23px}.creator-tabs a{flex:1;justify-content:center;padding:10px 9px!important}.topbar{padding-left:16px;padding-right:16px}.topbar .account{display:none}.command-head{align-items:flex-start;flex-direction:column}.command-head h1{font-size:38px}.command-actions{width:100%}.command-actions a{flex:1;text-align:center;justify-content:center}.command-filter-line{flex-direction:column;align-items:stretch;gap:16px}.command-platform-filter{min-width:0;max-width:none}.command-periods{margin-right:-21px;padding-right:21px}.command-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.command-metric{padding:14px;min-height:130px}.command-metric strong{font-size:26px}.command-metric-feature{grid-column:1/-1;min-height:125px}.command-card{padding:17px}.command-funnel-number{margin:25px 0 14px}.command-health .health-grid{grid-template-columns:1fr}.command-state-grid{gap:8px}.command-state{padding:12px}.command-state strong{font-size:18px}.command-hourly .dashboard-hour-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.command-live{display:none}.platform-list{padding:16px}.platform-list .filters{grid-template-columns:1fr 1fr}.platform-list .filters>label:first-child{grid-column:1/-1}.platform-row{padding-left:0;padding-right:0}.platform-row .row-actions{justify-content:flex-start}}
@media(max-width:430px){.command-summary{grid-template-columns:1fr 1fr}.command-metric strong{font-size:23px}.command-state-grid{grid-template-columns:1fr 1fr}.command-state strong{font-size:16px}.command-platform-filter>div{flex-direction:column}.command-platform-filter button{height:40px}.command-hourly .dashboard-hour-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.creator-tabs .nav-icon{display:none}.creator-tabs a{font-size:11px}}
.gateway-grid-v2{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gateway-grid-v2 .gateway-card{min-height:178px;padding:22px;background:linear-gradient(145deg,#182b38,#111d2c)}.gateway-grid-v2 .gateway-card[data-current=true]{border-color:#4b9e87;background:radial-gradient(circle at 95% 5%,#58d1aa24,transparent 55%),linear-gradient(145deg,#193d3b,#102832)}.gateway-grid-v2 .gateway-card h2{font-size:22px;letter-spacing:-.6px;margin:8px 0}.gateway-grid-v2 .gateway-card p{font-size:12px;line-height:1.5;min-height:37px}.gateway-grid-v2 .gateway-card strong{font-size:12px}.gateway-control,.gateway-list{border-radius:17px}.gateway-control .primary{background:#76e2c1;color:#0b3029}
@media(max-width:850px){.gateway-grid-v2{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.gateway-grid-v2{grid-template-columns:1fr}}

/* Date selection and the operating dashboard. */
.dashboard-v2 {
  --command-surface: #0b1826;
  --command-highlight: #9cf0d6;
  font-variant-numeric: tabular-nums;
}
.dashboard-v2 .command-filters {
  background: radial-gradient(ellipse at top left,#1e4e49 0%,transparent 55%),linear-gradient(110deg,#142a36,#111c2b 76%);
}
.dashboard-v2 .command-period-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  border-top: 1px solid #ffffff1c;
  margin-top: 17px;
  padding-top: 12px;
}
.dashboard-v2 .command-periods {
  flex: 1 1 auto;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
}
.dashboard-v2 .command-periods a { padding: 8px 10px; }
.command-date-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 4px 5px 4px 9px;
  border: 1px solid #3c5663;
  border-radius: 10px;
  background: var(--command-surface);
  color-scheme: dark;
}
.command-date-filter[data-active="true"] {
  border-color: #67c7ac;
  box-shadow: 0 0 0 2px #67c7ac16;
}
.command-date-filter label {
  color: #b9d1d7;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  margin: 0;
}
.command-date-filter input {
  width: 139px;
  min-width: 0;
  height: 34px;
  margin: 0;
  padding: 3px 6px;
  font: inherit;
  font-size: 12px;
  color: #f0fbf8;
  border: 1px solid #37505e;
  border-radius: 7px;
  background: #152737;
}
.command-date-filter input::-webkit-calendar-picker-indicator { cursor: pointer; }
.command-date-filter button {
  min-height: 34px;
  padding: 5px 10px;
  border: 0;
  border-radius: 7px;
  background: #234a47;
  color: var(--command-highlight);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.command-date-filter button:hover { background: #325e56; }
.command-date-filter :focus-visible {
  outline: 2px solid var(--command-highlight);
  outline-offset: 2px;
}
.dashboard-v2 .command-metric {
  min-height: 125px;
  border-color: #33475a;
}
.dashboard-v2 .command-metric-feature { border-color: #58a48e; }
.dashboard-v2 .command-metric small { color: #a7bbc6; }
.dashboard-v2 .command-chart-sub { color: #b0c6ca; }
.dashboard-v2 .command-bottom-grid {
  grid-template-columns: minmax(0,1.7fr) minmax(270px,1fr);
}
.command-hour-peak {
  flex: none;
  display: grid;
  gap: 3px;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid #3d695e;
  background: #153331;
}
.command-hour-peak > span {
  color: #9bc8bd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}
.command-hour-peak strong { color: #c2f6e7; font-size: 12px; }
.command-hour-peak strong span { color: #65988b; }
.dashboard-v2 .dashboard-hour { gap: 5px; }
.dashboard-v2 .dashboard-hour[data-level="2"] { background: #194b47; }
.dashboard-v2 .dashboard-hour[data-level="0"] { color: #a5b9c4; }
.dashboard-v2 .dashboard-hour strong { font-size: clamp(9px,.8vw,11px); }
.dashboard-v2 .dashboard-hour-footer {
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  color: #9eb4bf;
}
.command-hour-scale { display: inline-flex; gap: 3px; }
.command-hour-scale i { width: 11px; height: 8px; border-radius: 2px; background: #112e31; }
.command-hour-scale i:nth-child(2) { background: #194b47; }
.command-hour-scale i:nth-child(3) { background: #216a61; }
.command-hour-scale i:nth-child(4) { background: #2d907c; }
.command-hour-scale i:nth-child(5) { background: #60d7b3; }
.dashboard-v2 .report-table tbody tr:hover { background: #7be9c810; }
.dashboard-v2 :is(#transactions,#platform-performance) { scroll-margin-top: 18px; }

@media (max-width: 1050px) {
  .dashboard-v2 .command-bottom-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 740px) {
  .dashboard-v2 .command-period-tools { align-items: stretch; flex-direction: column; }
  .command-date-filter { display: grid; grid-template-columns: auto minmax(0,1fr) auto; }
  .command-date-filter input { width: 100%; }
  .dashboard-v2 .command-hourly .command-card-head { flex-wrap: wrap; }
}
@media (max-width: 430px) {
  .dashboard-v2 .command-periods { gap: 4px; }
  .dashboard-v2 .command-periods a { font-size: 11px; }
}
@media (prefers-reduced-motion: no-preference) {
  main:has(.dashboard-v2) { animation: creator-dashboard-in 320ms ease-out both; }
  .dashboard-v2 :is(.command-metric,.dashboard-hour,.command-date-filter button) {
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  }
  .dashboard-v2 .command-metric:hover { border-color: #568179; }
  .dashboard-v2 .dashboard-hour:hover { box-shadow: inset 0 0 0 1px #b9ffe0a3; }
}
@keyframes creator-dashboard-in {
  from { opacity: .75; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
