*, *::before, *::after { box-sizing: border-box; }
:root {
  --green-bright: #22B14C;
  --green-mid: #1A9A40;
  --green-deep: #0E7C36;
  --green-ink: #0A4A22;
  --blue: #1C3F7A;
  --blue-mid: #2A64B8;
  --cyan: #7DD3F0;
  --gold: #F5A623;
  --red: #E53935;
  --purple: #6B3FA0;

  --bg: #F2F5EF;
  --card: #FFFFFF;
  --ink: #0C1F14;
  --muted: #62756B;
  --line: #E5EBE0;

  --sidebar-bg: #0A1810;
  --sidebar-bg-hi: #0F2A1E;
}
html, body { margin: 0; padding: 0; height: 100%; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; color: var(--ink); background: var(--bg); }

/* ============ APP SHELL ============ */
.app { display: grid; grid-template-columns: 250px 1fr; min-height: 100dvh; }

/* ============ SIDEBAR ============ */
.sb {
  position: sticky; top: 0;
  height: 100dvh;
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg-hi) 100%);
  color: #fff;
  display: flex; flex-direction: column;
  padding: 20px 14px;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.06);
}
.sb::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,177,76,.22), transparent 70%);
  pointer-events: none;
}
.sb::after {
  content: ""; position: absolute; bottom: -100px; left: -100px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(125,211,240,.10), transparent 70%);
  pointer-events: none;
}
.sb > * { position: relative; z-index: 1; }

.sb-logo {
  padding: 4px 6px 14px;
  display: flex; align-items: center; gap: 10px;
}
.sb-mark { flex-shrink: 0; }
.sb-wm { line-height: 1.05; }
.sb-name {
  font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: #fff;
}
.sb-name span { color: #22B14C; }
.sb-tag {
  font-size: 10px; font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,.5); letter-spacing: .14em; font-weight: 600;
  margin-top: 3px; text-transform: uppercase;
}

.sb-pill {
  margin: 4px 4px 18px;
  padding: 9px 11px;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, rgba(34,177,76,.20), rgba(28,63,122,.20));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background .15s;
}
.sb-pill:hover { background: linear-gradient(135deg, rgba(34,177,76,.26), rgba(28,63,122,.26)); }
.sb-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #5EE07A; box-shadow: 0 0 12px #5EE07A; animation: blink 1.6s ease-in-out infinite; flex-shrink: 0; }
@keyframes blink { 0%, 60%, 100% { opacity: 1; } 80% { opacity: .4; } }
.sb-pill .role { font-size: 9.5px; font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,.65); letter-spacing: .14em; font-weight: 600; }
.sb-pill .who { font-size: 13px; font-weight: 800; color: #fff; letter-spacing: -0.01em; margin-top: 1px; }

.sb-section { font-size: 9.5px; font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,.4); letter-spacing: .18em; font-weight: 600; padding: 14px 12px 6px; text-transform: uppercase; }
.sb-menu { display: flex; flex-direction: column; gap: 2px; }
.sb-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255,255,255,.62);
  font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  position: relative;
  border: 1px solid transparent;
}
.sb-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.sb-item.active {
  background: linear-gradient(135deg, rgba(34,177,76,.22), rgba(14,124,54,.14));
  color: #fff;
  border-color: rgba(94,224,122,.28);
}
.sb-item.active::before {
  content: ""; position: absolute; left: -14px; top: 6px; bottom: 6px;
  width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #5EE07A, #22B14C);
  box-shadow: 0 0 12px rgba(94,224,122,.6);
}
.sb-item .ic { width: 18px; height: 18px; display: grid; place-items: center; flex-shrink: 0; }
.sb-item .nb { margin-left: auto; min-width: 22px; height: 18px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.10); color: rgba(255,255,255,.85); font-size: 10px; font-weight: 800; font-family: 'JetBrains Mono', monospace; display: grid; place-items: center; }
.sb-item.active .nb { background: var(--gold); color: var(--ink); }

.sb-bottom { margin-top: auto; padding-top: 14px; }
.sb-user {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.sb-user .av {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, #7DD3F0, #1C3F7A);
  display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: 12px;
  flex-shrink: 0;
}
.sb-user .nm { font-size: 12.5px; font-weight: 700; line-height: 1.1; color: #fff; }
.sb-user .rl { font-size: 9.5px; color: rgba(255,255,255,.5); margin-top: 2px; font-family: 'JetBrains Mono', monospace; letter-spacing: .08em; }
.sb-user .gear { margin-left: auto; color: rgba(255,255,255,.45); cursor: pointer; padding: 4px; }
.sb-user .gear:hover { color: #fff; }

/* ============ MAIN ============ */
.main { padding: 22px 32px 40px; min-width: 0; }

/* topbar */
.top { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.crumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); font-weight: 600;
}
.crumb b { color: var(--ink); font-weight: 800; }
.search-k {
  flex: 1; max-width: 420px; margin-left: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px; color: var(--muted);
  cursor: text;
}
.search-k input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: inherit; font-size: 13px; color: var(--ink); }
.search-k input::placeholder { color: var(--muted); }
.kbd { padding: 2px 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; color: var(--muted); }

.ic-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid; place-items: center;
  color: var(--ink);
  cursor: pointer; position: relative;
}
.ic-btn:hover { background: var(--bg); }
.ic-btn .b { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: 9px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }

/* page header */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.ph-left h1 {
  margin: 0 0 6px;
  font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink);
  line-height: 1.1;
}
.ph-left h1 .blink-live, .blink-live {
  display: inline-flex; align-items: center; gap: 6px;
  vertical-align: middle; margin-left: 10px;
  padding: 4px 10px;
  background: rgba(34,177,76,.10);
  border: 1px solid rgba(34,177,76,.32);
  border-radius: 999px;
  font-size: 10.5px; font-weight: 700; color: var(--green-deep);
  font-family: 'JetBrains Mono', monospace; letter-spacing: .14em;
  text-transform: uppercase;
}
.ph-left h1 .blink-live::before, .blink-live::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-mid); animation: blink 1.6s ease-in-out infinite; }
.ph-left p { margin: 0; font-size: 14px; color: var(--muted); }
.ph-left p b { color: var(--ink); font-weight: 700; }

.ph-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.seg {
  display: flex; padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.seg button {
  padding: 7px 12px;
  border: none; background: transparent;
  font-family: inherit; font-size: 12px; font-weight: 700; color: var(--muted);
  cursor: pointer; border-radius: 7px;
  transition: all .15s;
}
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--ink); color: #fff; }

.btn {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit; font-size: 13px; font-weight: 700; color: var(--ink);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .15s;
}
.btn:hover { background: var(--bg); }
.btn.primary {
  background: linear-gradient(135deg, var(--green-bright), var(--green-deep));
  color: #fff; border: none;
  box-shadow: 0 6px 14px rgba(34,177,76,.32);
}
.btn.primary:hover { background: linear-gradient(135deg, #28C857, #0F8B3B); }

/* KPI grid */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 14px;
  position: relative; overflow: hidden;
  transition: all .15s;
}
.kpi:hover { box-shadow: 0 14px 30px rgba(0,0,0,.05); transform: translateY(-1px); }
.kpi .k-top { display: flex; justify-content: space-between; align-items: flex-start; }
.kpi .k-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.kpi.green .k-ic { background: rgba(34,177,76,.10); color: var(--green-deep); }
.kpi.blue .k-ic { background: rgba(28,63,122,.10); color: var(--blue); }
.kpi.gold .k-ic { background: rgba(245,166,35,.14); color: #b96416; }
.kpi.purple .k-ic { background: rgba(107,63,160,.10); color: var(--purple); }

.k-trend {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}
.k-trend.up { background: rgba(34,177,76,.10); color: var(--green-deep); }
.k-trend.dn { background: rgba(229,57,53,.10); color: var(--red); }
.k-trend.flat { background: var(--bg); color: var(--muted); }

.k-lbl {
  font-size: 10.5px; font-weight: 700; color: var(--muted);
  letter-spacing: .12em; text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 14px;
}
.k-num {
  font-size: 30px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.03em; margin-top: 4px;
  display: flex; align-items: baseline; gap: 6px;
}
.k-num small { font-size: 13px; font-weight: 600; color: var(--muted); }
.k-sub {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px;
  font-size: 11.5px; color: var(--muted);
}
.k-sub b { color: var(--ink); font-weight: 700; }

.spark { height: 36px; margin-top: 8px; margin-left: -4px; margin-right: -4px; }
.spark svg { width: 100%; height: 100%; display: block; }

/* main grid */
.grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; margin-bottom: 16px; }
.grid.two { grid-template-columns: 1fr 1fr; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  position: relative; overflow: hidden;
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.card-head h3 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.card-head p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.card-toggle { display: flex; padding: 3px; background: var(--bg); border-radius: 8px; }
.card-toggle button { padding: 6px 11px; border: none; background: transparent; font-family: inherit; font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer; border-radius: 6px; }
.card-toggle button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.05); }

/* revenue chart */
.chart-wrap { position: relative; height: 240px; margin: 6px -4px 0; }
.chart-wrap svg { width: 100%; height: 100%; overflow: visible; }
.chart-legend { display: flex; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; align-items: center; }
.leg { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.leg .swatch { width: 10px; height: 10px; border-radius: 3px; }

.chart-tip {
  position: absolute; left: 64%; top: 6%;
  padding: 9px 11px;
  background: var(--ink); color: #fff;
  border-radius: 8px;
  font-size: 11px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  line-height: 1.4;
}
.chart-tip::after {
  content: ""; position: absolute; left: -5px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-right-color: var(--ink);
}
.chart-tip b { color: #5EE07A; }
.chart-tip .ti { font-family: 'JetBrains Mono', monospace; font-size: 9.5px; color: rgba(255,255,255,.6); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }

/* subscription donut */
.donut-row { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.donut { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut .center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
}
.donut .center .v { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.donut .center .l { font-size: 10px; color: var(--muted); font-family: 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }

.donut-leg { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.dl-item { display: flex; align-items: center; gap: 8px; }
.dl-item .sw { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.dl-item .nm { flex: 1; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.dl-item .va { font-size: 13px; font-weight: 800; color: var(--ink); font-family: 'JetBrains Mono', monospace; }
.dl-item .pct { font-size: 10.5px; color: var(--muted); margin-left: 5px; font-weight: 600; }

/* activity feed */
.activity { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.activity-head { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); font-family: 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.activity-head .pulse { width: 6px; height: 6px; border-radius: 50%; background: #22B14C; animation: blink 1.6s ease-in-out infinite; }
.act-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.act-icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.act-icon.g { background: rgba(34,177,76,.12); color: var(--green-deep); }
.act-icon.b { background: rgba(28,63,122,.10); color: var(--blue); }
.act-icon.r { background: rgba(229,57,53,.10); color: var(--red); }
.act-icon.o { background: rgba(245,166,35,.14); color: #b96416; }
.act-body { flex: 1; min-width: 0; }
.act-text { font-size: 12.5px; color: var(--ink); line-height: 1.4; }
.act-text b { font-weight: 800; }
.act-time { font-size: 10.5px; color: var(--muted); margin-top: 2px; font-family: 'JetBrains Mono', monospace; letter-spacing: .04em; }

/* table */
.rank-card { margin-bottom: 16px; }
.rank-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.rank-head h3 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.rank-head p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.rank-head .right { display: flex; gap: 8px; align-items: center; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl thead th {
  text-align: left;
  padding: 9px 12px;
  font-size: 10px; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .12em;
  font-family: 'JetBrains Mono', monospace;
  border-bottom: 1px solid var(--line);
}
.tbl thead th.r { text-align: right; }
.tbl tbody tr { border-bottom: 1px solid var(--line); transition: background .15s; }
.tbl tbody tr:last-child { border-bottom: none; }
.tbl tbody tr:hover { background: var(--bg); }
.tbl tbody td { padding: 12px; font-size: 13px; color: var(--ink); }
.tbl tbody td.r { text-align: right; font-family: 'JetBrains Mono', monospace; font-weight: 700; }

.rk-row { display: flex; align-items: center; gap: 10px; }
.rk-pos {
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: var(--muted);
  background: var(--bg);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}
.rk-pos.top1 { background: #FEF3D3; color: #B97A0A; }
.rk-pos.top2 { background: #EDEEF1; color: #5C6471; }
.rk-pos.top3 { background: #F8E4D2; color: #8E4A14; }
.rk-av {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.rk-meta b { display: block; font-weight: 800; color: var(--ink); font-size: 13.5px; }
.rk-meta span { font-size: 11px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }

.plan {
  display: inline-block; padding: 3px 9px;
  font-size: 10.5px; font-weight: 700;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: .04em; text-transform: uppercase;
}
.plan.ent { background: rgba(107,63,160,.10); color: var(--purple); }
.plan.pro { background: rgba(28,63,122,.10); color: var(--blue); }
.plan.basic { background: rgba(34,177,76,.10); color: var(--green-deep); }
.plan.trial { background: rgba(245,166,35,.14); color: #b96416; }

.status {
  display: inline-block; padding: 3px 9px;
  font-size: 10.5px; font-weight: 700;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.status.ok { background: rgba(34,177,76,.12); color: var(--green-deep); }
.status.warn { background: rgba(245,166,35,.14); color: #b96416; }
.status.err { background: rgba(229,57,53,.10); color: var(--red); }

/* orders now */
.orders-now { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.on-stat { text-align: center; padding: 6px 4px; }
.on-num {
  font-size: 56px; font-weight: 800; color: var(--green-deep);
  letter-spacing: -0.04em; line-height: 1;
}
.pulse-num { animation: pulseNum 2s ease-in-out infinite; }
@keyframes pulseNum { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.on-lbl { font-size: 11px; font-weight: 700; color: var(--muted); margin-top: 6px; font-family: 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.on-sub { font-size: 11px; color: var(--green-deep); margin-top: 6px; font-weight: 700; }
.on-bars { display: flex; flex-direction: column; gap: 8px; }
.on-bar { display: grid; grid-template-columns: 90px 1fr 50px; align-items: center; gap: 10px; }
.on-bar .lbl { font-size: 12px; color: var(--muted); font-weight: 600; }
.on-bar .val { font-size: 12.5px; font-weight: 800; color: var(--ink); text-align: right; font-family: 'JetBrains Mono', monospace; }
.on-bar .track { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.on-bar .fill { height: 100%; border-radius: 999px; }
.on-bar .fill.g { background: linear-gradient(90deg, #22B14C, #0E7C36); }
.on-bar .fill.b { background: linear-gradient(90deg, #2A64B8, #1C3F7A); }
.on-bar .fill.o { background: linear-gradient(90deg, #F5A623, #b96416); }
.on-bar .fill.p { background: linear-gradient(90deg, #6B3FA0, #3D2469); }
.on-bar .fill.r { background: linear-gradient(90deg, #E53935, #8a1f1c); }

/* riders */
.riders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.rider-main { text-align: center; padding: 8px 6px; }
.rm-num { font-size: 56px; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; }
.rm-lbl { font-size: 11px; color: var(--muted); font-family: 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-top: 6px; }
.rm-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin-top: 14px; gap: 2px; }
.rm-bar span { display: block; }
.rm-leg { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; align-items: flex-start; text-align: left; }
.r-leg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.r-leg b { color: var(--ink); font-weight: 800; margin-left: auto; padding-left: 6px; font-family: 'JetBrains Mono', monospace; }
.r-leg .sw { width: 9px; height: 9px; border-radius: 3px; }

.rider-cities { border-left: 1px solid var(--line); padding-left: 18px; }
.rc-head { font-size: 10.5px; font-family: 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.rc-list { display: flex; flex-direction: column; gap: 8px; }
.rc { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 10px; }
.rc .city { font-size: 12.5px; color: var(--ink); font-weight: 700; }
.rc .bar { height: 7px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.rc .bar span { display: block; height: 100%; background: linear-gradient(90deg, #22B14C, #0E7C36); border-radius: 999px; }
.rc .count { font-size: 12px; font-weight: 800; color: var(--ink); font-family: 'JetBrains Mono', monospace; min-width: 24px; text-align: right; }

/* responsive */
@media (max-width: 1400px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sb { display: none; }
  .main { padding: 16px; }
  .riders { grid-template-columns: 1fr; }
  .rider-cities { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .orders-now { grid-template-columns: 1fr; }
}
