﻿:root {
  color-scheme: dark;
  --bg: #09050f;
  --panel: rgba(19, 13, 17, .94);
  --panel-soft: rgba(31, 23, 31, .76);
  --border: rgba(255, 255, 255, .1);
  --text: #f8f4f2;
  --muted: #a39ba1;
  --coral: #ff735f;
  --orange: #ff9a5c;
  --green: #55e6b2;
  --yellow: #f6c944;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px),
    #08050d;
  background-size: 4px 4px;
  color: var(--text);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed; inset: 0; pointer-events: none; content: "";
  background: radial-gradient(circle at 10% 30%, rgba(91, 39, 198, .28), transparent 35rem);
}
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(100px); opacity: .2; }
.ambient-one { width: 400px; height: 400px; left: -180px; top: 80px; background: #5922d4; }
.ambient-two { width: 300px; height: 300px; right: -120px; top: -80px; background: #fa5f56; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong { letter-spacing: -.025em; }
.eyebrow { margin-bottom: 10px; color: #dc8478; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.muted { color: var(--muted); line-height: 1.55; }
.brand-mark {
  display: grid; width: 54px; height: 54px; place-items: center;
  border-radius: 17px; background: linear-gradient(145deg, #713b33, #29171a);
  color: white; font-size: 22px; font-weight: 900;
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 12px 30px rgba(255,91,76,.12);
}
.brand-mark.small { width: 48px; height: 48px; }
.login-page { display: grid; min-height: 100vh; place-items: center; padding: 22px; }
.login-panel {
  width: min(100%, 430px); padding: 38px; border: 1px solid var(--border);
  border-radius: 30px; background: linear-gradient(160deg, rgba(40,21,25,.97), rgba(10,7,12,.98));
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.login-panel .brand-mark { margin-bottom: 24px; }
.login-panel h1 { margin-bottom: 9px; font-size: 33px; }
form { display: grid; gap: 14px; }
.login-panel form { margin-top: 28px; }
label { display: grid; gap: 8px; color: #d8d0d2; font-size: 13px; font-weight: 800; }
input, select, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(8, 6, 10, .7); color: white; outline: none; padding: 13px 14px;
}
select {
  color-scheme: dark;
}
select option,
select optgroup {
  background: #1b1318;
  color: #f8f4f2;
}
select option:checked {
  background: #713b33;
  color: #ffffff;
}
select option:disabled {
  color: #81787e;
}
input:focus, select:focus, textarea:focus { border-color: rgba(255,115,95,.62); box-shadow: 0 0 0 4px rgba(255,115,95,.08); }
textarea { min-height: 220px; resize: vertical; font-family: Consolas, monospace; }
form > button, .refresh-button {
  border: 1px solid rgba(255,133,105,.32); border-radius: 14px;
  background: linear-gradient(90deg, #ff735f, #ff9a5c); color: #211013;
  padding: 13px 18px; font-weight: 900;
}
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.message { min-height: 18px; margin: 0; color: #ff9e9e; font-size: 12px; }
.app-shell { display: grid; grid-template-columns: 300px minmax(0,1fr); min-height: 100vh; }
.sidebar {
  position: fixed; inset: 18px auto 18px 18px; z-index: 20;
  display: flex; width: 280px; flex-direction: column; padding: 22px 16px;
  border: 1px solid var(--border); border-radius: 32px;
  background: linear-gradient(165deg, rgba(42,19,23,.98), rgba(8,6,10,.99) 40%);
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.sidebar-brand { display: flex; gap: 14px; align-items: center; padding: 0 2px; }
.sidebar-brand strong, .sidebar-brand span { display: block; }
.sidebar-brand span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.session-pill { width: fit-content; margin: 22px 0; border-radius: 999px; background: rgba(255,255,255,.04); padding: 10px 12px; color: var(--muted); font-size: 11px; }
.session-pill i { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.side-nav { display: grid; gap: 10px; }
.nav-item, .logout-button {
  display: flex; align-items: center; gap: 13px; width: 100%; min-height: 58px;
  border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.025);
  padding: 0 18px; color: #aaa2a6; font-size: 15px; text-align: left;
}
.nav-item span, .logout-button span { font-size: 20px; }
.nav-item.is-active { border-color: rgba(255,115,95,.38); background: linear-gradient(90deg, rgba(255,115,95,.16), rgba(111,35,106,.12)); color: white; box-shadow: inset 0 0 28px rgba(255,92,81,.06); }
.logout-button { margin-top: auto; justify-content: center; }
.main-area { min-width: 0; grid-column: 2; padding: 18px 28px 60px 18px; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin-bottom: 18px; padding: 22px 26px; border: 1px solid var(--border);
  border-radius: 24px; background: rgba(15,10,14,.87);
}
.topbar h1 { margin-bottom: 0; font-size: 25px; font-weight: 700; }
.refresh-button { background: rgba(255,255,255,.035); color: #d9d2d5; border-color: var(--border); }
.refresh-button:disabled { cursor: wait; opacity: .72; }
.refresh-button.is-loading { border-color: rgba(255,115,95,.48); color: #ffab9f; }
.maintenance-button, .check-payments-button {
  border: 1px solid rgba(246,201,68,.28); border-radius: 14px;
  background: rgba(246,201,68,.08); color: #f7dda0; padding: 12px 15px;
  font-size: 12px; font-weight: 900;
}
.maintenance-button.is-active {
  border-color: rgba(32,221,157,.3); background: rgba(32,221,157,.1); color: #a6f5d5;
}
.maintenance-button:disabled, .check-payments-button:disabled { cursor: wait; opacity: .66; }
.menu-button { display: none; border: 0; background: transparent; font-size: 25px; }
.view { display: none; }
.view.is-active { display: block; }
.hero-panel {
  display: flex; min-height: 230px; align-items: stretch; justify-content: space-between; gap: 24px;
  padding: 32px 36px; border: 1px solid var(--border); border-radius: 30px;
  background: linear-gradient(130deg, rgba(42,24,27,.88), rgba(8,6,10,.96) 55%);
}
.hero-panel h2, .section-heading h2, .panel h2 {
  margin-bottom: 8px;
  font-size: clamp(25px, 2vw, 31px);
  font-weight: 700;
  line-height: 1.12;
}
.period-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.period-tabs button {
  border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.025);
  padding: 10px 19px; color: #a9a1a5;
}
.period-tabs button.is-active { border-color: transparent; background: var(--coral); color: #261113; }
.custom-period {
  display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)) auto; gap: 10px;
  align-items: end; max-width: 680px; margin-top: 16px; padding: 14px;
  border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.025);
}
.custom-period[hidden] { display: none; }
.custom-period label {
  color: #91888e; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}
.custom-period input {
  min-height: 42px; margin-top: 7px; border-radius: 12px; color: #f3ecef;
  color-scheme: dark; font-size: 13px; letter-spacing: normal; text-transform: none;
}
.custom-period button {
  min-height: 42px; border: 0; border-radius: 12px; padding: 0 16px;
  background: var(--coral); color: #261113; font-weight: 900;
}
.custom-period p {
  grid-column: 1 / -1; min-height: 0; margin: 0; color: #ffab9f; font-size: 11px;
}
.hero-controls {
  display: grid; align-content: center; gap: 12px; width: min(100%, 300px);
  border-radius: 24px; background: rgba(255,255,255,.025); padding: 18px;
}

@media (max-width: 760px) {
  .custom-period { grid-template-columns: 1fr; }
  .custom-period p { grid-column: 1; }
}
.control-box { border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
.control-box span, .metric-label { display: block; margin-bottom: 8px; color: #837b80; font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.section-heading { margin: 32px 0 19px; }
.action-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.action-heading > div > :last-child { margin-bottom: 0; }
.operation-message {
  margin: 0 0 16px; border: 1px solid var(--border); border-radius: 15px;
  background: rgba(255,255,255,.035); padding: 13px 15px; color: var(--muted); font-size: 12px;
}
.operation-message.success { border-color: rgba(32,221,157,.24); color: #a6f5d5; }
.operation-message.error { border-color: rgba(255,115,95,.28); color: #ffab9f; }
.payment-filters {
  display: grid; grid-template-columns: minmax(300px,1.6fr) minmax(190px,.8fr) minmax(190px,.8fr);
  gap: 16px; margin-bottom: 8px; border: 1px solid var(--border); border-radius: 24px;
  background: rgba(15,10,14,.9); padding: 22px;
}
.payment-filters label {
  color: #8f878d; font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
}
.payment-filters input, .payment-filters select {
  min-height: 49px; border-radius: 16px; color: #e8e1e4; font-size: 14px;
  letter-spacing: normal; text-transform: none;
}
.search-field { position: relative; display: block; }
.search-field input { padding-left: 43px; }
.search-field i {
  position: absolute; top: 50%; left: 17px; z-index: 1; width: 13px; height: 13px;
  transform: translateY(-58%); border: 1.5px solid #777077; border-radius: 50%;
}
.search-field i::after {
  position: absolute; right: -4px; bottom: -3px; width: 5px; height: 1.5px;
  transform: rotate(45deg); background: #777077; content: "";
}
.filter-result { min-height: 17px; margin: 0 4px 10px; color: var(--muted); font-size: 11px; }
.payment-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 12px;
}
.payment-page-button {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: #f4edef;
  font-size: 12px;
  font-weight: 800;
  min-height: 38px;
  padding: 0 14px;
}
.payment-page-button:disabled {
  cursor: not-allowed;
  opacity: .45;
}
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.metric-card {
  position: relative; min-height: 220px; overflow: hidden; border: 1px solid rgba(255,115,95,.18);
  border-radius: 25px; background: linear-gradient(155deg, rgba(38,22,24,.96), rgba(10,8,11,.98)); padding: 22px;
}
.metric-card.green { border-color: rgba(31,202,140,.22); background: linear-gradient(155deg, rgba(15,45,37,.92), rgba(8,9,11,.98)); }
.metric-card.yellow { border-color: rgba(246,201,68,.25); }
.metric-card::after { position: absolute; top: 22px; right: 20px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 12px currentColor; content: ""; }
.metric-card.green::after { background: var(--green); }
.metric-card.yellow::after { background: var(--yellow); }
.metric-value { display: block; margin: 34px 0 14px; font-size: clamp(28px,3vw,39px); letter-spacing: -.05em; }
.metric-detail { color: var(--muted); font-size: 13px; }
.content-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(340px,1fr); gap: 18px; margin-top: 20px; }
.panel { border: 1px solid var(--border); border-radius: 26px; background: linear-gradient(155deg, rgba(24,17,21,.96), rgba(14,10,13,.97)); padding: 26px; box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.chart { position: relative; display: flex; height: 300px; align-items: stretch; gap: 5px; margin-top: 28px; padding-top: 20px; border-bottom: 1px solid var(--border); }
.chart-column { display: flex; min-width: 0; flex: 1; align-items: center; justify-content: flex-end; flex-direction: column; gap: 7px; }
.chart-column > span { min-height: 14px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.chart-bar { position: relative; width: 100%; min-width: 4px; max-width: 28px; border-radius: 7px 7px 2px 2px; background: linear-gradient(180deg, var(--coral), rgba(255,115,95,.24)); transition: height .3s ease, filter .2s ease; }
.chart-bar.is-zero { background: rgba(255,255,255,.08); }
.chart-bar:hover { filter: brightness(1.2); }
.chart-bar:hover::after { position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 2; transform: translateX(-50%); border: 1px solid var(--border); border-radius: 8px; background: #171116; padding: 6px 8px; content: attr(data-value); white-space: nowrap; font-size: 11px; }
.chart-empty-message { position: absolute; top: 45%; left: 50%; width: 100%; transform: translate(-50%,-50%); color: var(--muted); text-align: center; pointer-events: none; }
.site-ranking, .activity-list, .health-list { display: grid; gap: 12px; margin-top: 24px; }
.activity-live-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.activity-live-head .eyebrow { margin-bottom: 0; }
.activity-live-head > span {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(32,221,157,.24);
  border-radius: 999px; background: rgba(32,221,157,.08); color: #a6f5d5;
  padding: 6px 9px; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}
.activity-live-head i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 10px var(--green); animation: activity-pulse 1.8s ease-in-out infinite;
}
@keyframes activity-pulse {
  50% { opacity: .45; transform: scale(.78); }
}
.site-row, .activity-row, .health-row {
  border: 1px solid var(--border); border-radius: 19px; background: rgba(255,255,255,.025); padding: 16px;
}
.site-row-head, .activity-row, .health-row-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.site-row small, .activity-row small, .health-row small { display: block; margin-top: 5px; color: var(--muted); }
.activity-row {
  min-height: 78px;
  padding: 17px 18px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.activity-row:hover {
  border-color: rgba(255,115,95,.22);
  background: rgba(255,255,255,.04);
  transform: translateY(-1px);
}
.activity-customer { min-width: 0; }
.activity-customer strong { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.activity-customer small { font-size: 13px; }
.order-id {
  max-width: 360px;
  overflow: hidden;
  color: #746d72 !important;
  font: 700 10px/1.4 Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.activity-statuses {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.activity-value { margin-left: 2px; font-size: 14px; white-space: nowrap; }
.activity-time {
  min-width: 48px;
  color: #817980;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}
.progress { height: 8px; margin-top: 13px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.06); }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--coral),#d85c58); }
.status { display: inline-block; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.035); padding: 7px 11px; font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.status.completed, .status.sent, .status.online { border-color: rgba(32,221,157,.3); background: rgba(32,221,157,.11); color: #a6f5d5; }
.status.pending, .status.pending_payment, .status.stock_pending, .status.failed,
.status.maintenance, .status.expired, .status.under_review,
.status.payment_under_review, .status.payment_expired, .status.payment_unknown {
  border-color: rgba(246,201,68,.25); background: rgba(246,201,68,.1); color: #f7dda0;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { border-bottom: 1px solid var(--border); padding: 14px 10px; text-align: left; vertical-align: top; }
th { color: #837b80; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.codes-list { display: grid; gap: 4px; font: 700 11px Consolas, monospace; }
.retry-email { margin-top: 7px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255,255,255,.04); padding: 7px; font-size: 10px; }
.order-coupon { color: #ff9c8e; font: 700 10px Consolas, monospace; }
.customer-contact { color: var(--muted); line-height: 1.65; white-space: nowrap; }
.lots-heading { margin-top: 6px; }
.lots-layout { display: grid; grid-template-columns: minmax(420px,.9fr) minmax(560px,1.1fr); gap: 22px; align-items: start; }
.lot-import-panel, .lot-history-panel { min-height: 660px; }
.lot-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lot-panel-heading .muted { margin-bottom: 3px; }
.create-batch-button {
  flex: 0 0 auto; border: 0; border-radius: 999px; background: linear-gradient(135deg,#ff735f,#dc7655);
  padding: 13px 22px; color: #251113; font-weight: 800;
}
.batch-form { display: grid; margin-top: 28px; gap: 18px; }
.batch-fields { display: grid; grid-template-columns: minmax(170px,.8fr) minmax(220px,1.2fr); gap: 16px; }
.batch-form textarea { min-height: 190px; border-radius: 20px; padding: 18px; line-height: 1.65; }
.import-stats, .inventory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.import-stat, .inventory-card {
  min-height: 130px; border: 1px solid var(--border); border-radius: 22px;
  background: rgba(255,255,255,.035); padding: 18px 16px;
}
.import-stat.valid, .inventory-card.available { border-color: rgba(32,221,157,.2); background: rgba(15,66,50,.48); }
.import-stat span, .inventory-card span {
  display: block; color: #91898f; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.import-stat strong, .inventory-card strong { display: block; margin: 14px 0 8px; font-size: 21px; }
.import-stat.valid strong, .inventory-card.available strong { color: #b9f7dc; }
.import-stat small, .inventory-card small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.latest-batches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.latest-batch-action {
  min-height: 48px;
  border: 1px solid rgba(255,115,95,.3);
  border-radius: 14px;
  background: rgba(255,115,95,.08);
  color: #ffab9f;
  font-weight: 900;
}
.latest-batch-action:disabled {
  cursor: not-allowed;
  opacity: .38;
}
.batch-list { display: grid; gap: 12px; margin-top: 22px; }
.batch-row {
  overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.025);
}
.batch-row summary {
  display: grid; grid-template-columns: minmax(0,1fr) auto 16px; align-items: center;
  gap: 13px; min-height: 76px; padding: 16px 18px; cursor: pointer; list-style: none;
}
.batch-row summary::-webkit-details-marker { display: none; }
.batch-row summary strong, .batch-row summary small { display: block; }
.batch-row summary strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.batch-row summary small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.batch-row summary i { width: 8px; height: 8px; transform: rotate(45deg); border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transition: transform .2s ease; }
.batch-row[open] summary i { transform: rotate(225deg); }
.batch-free {
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 11px;
  color: #c9c1c5; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.batch-details {
  display: grid; grid-template-columns: repeat(4,1fr) auto; align-items: end;
  gap: 12px; border-top: 1px solid var(--border); padding: 15px 18px 18px;
}
.batch-stat { color: var(--muted); font-size: 11px; }
.batch-stat b { display: block; margin-top: 4px; color: var(--text); font-size: 15px; }
.batch-notes { grid-column: 1 / -2; margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.remove-batch {
  border: 1px solid rgba(255,115,95,.3); border-radius: 11px;
  background: rgba(255,115,95,.09); color: #ffab9f; padding: 10px 12px;
  font-size: 11px; font-weight: 900;
}
.coupon-layout { display: grid; grid-template-columns: minmax(330px,.75fr) minmax(520px,1.25fr); gap: 20px; align-items: start; }
.coupon-form { margin-top: 24px; }
.coupon-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.coupon-list { display: grid; gap: 12px; margin-top: 22px; }
.coupon-row { border: 1px solid var(--border); border-radius: 19px; background: rgba(255,255,255,.025); padding: 17px; }
.coupon-main, .coupon-meta, .coupon-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.coupon-main strong { display: block; margin-top: 7px; font-size: 14px; }
.coupon-code { color: #ff9c8e; font: 800 12px Consolas, monospace; letter-spacing: .08em; }
.coupon-state { border: 1px solid var(--border); border-radius: 999px; padding: 6px 9px; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.coupon-state.active { border-color: rgba(32,221,157,.28); background: rgba(32,221,157,.1); color: #a6f5d5; }
.coupon-state.inactive, .coupon-state.expired { color: #aaa2a6; }
.coupon-meta { justify-content: flex-start; margin-top: 14px; color: var(--muted); font-size: 11px; }
.coupon-meta b { color: var(--text); }
.coupon-actions { justify-content: flex-end; margin-top: 14px; }
.coupon-actions button { border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.04); padding: 8px 11px; font-size: 11px; font-weight: 800; }
.coupon-actions .delete-coupon { border-color: rgba(255,115,95,.25); color: #ff9c8e; }
.sites-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.site-card { border: 1px solid var(--border); border-radius: 24px; background: var(--panel); padding: 22px; }
.site-card h3 { margin: 0 0 6px; }
.site-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 0; }
.site-card dt { color: var(--muted); font-size: 11px; }
.site-card dd { margin: 5px 0 0; font-weight: 900; }
@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(3,1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .sites-grid { grid-template-columns: repeat(2,1fr); }
  .lots-layout { grid-template-columns: 1fr; }
  .coupon-layout { grid-template-columns: 1fr; }
  .payment-filters { grid-template-columns: 1fr 1fr; }
  .payment-search { grid-column: 1 / -1; }
  .lot-import-panel, .lot-history-panel { min-height: auto; }
}
@media (max-width: 820px) {
  .app-shell { display: block; }
  .sidebar { transform: translateX(-115%); transition: transform .22s ease; }
  .sidebar.is-open { transform: translateX(0); }
  .main-area { padding: 12px; }
  .menu-button { display: block; }
  .hero-panel { flex-direction: column; padding: 24px; }
  .hero-controls { width: 100%; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .batch-fields { grid-template-columns: 1fr; }
  .coupon-fields { grid-template-columns: 1fr; }
  .latest-batches { grid-template-columns: 1fr; }
  .batch-details { grid-template-columns: repeat(2,1fr); }
  .batch-details .remove-batch { grid-column: 1 / -1; }
  .activity-statuses { flex-wrap: wrap; }
  .topbar-actions { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .topbar { align-items: flex-start; flex-wrap: wrap; padding: 18px; }
  .topbar-actions { width: 100%; }
  .topbar-actions button { flex: 1; }
  .refresh-button { padding: 10px 12px; font-size: 12px; }
  .action-heading { align-items: stretch; flex-direction: column; }
  .check-payments-button { width: 100%; }
  .payment-filters { grid-template-columns: 1fr; padding: 17px; }
  .payment-search { grid-column: auto; }
  .metric-grid, .sites-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 180px; }
  .panel { padding: 18px; }
  .activity-row { align-items: flex-start; flex-direction: column; }
  .activity-statuses { justify-content: flex-start; }
  .activity-time { text-align: left; }
  .lot-panel-heading { align-items: flex-start; flex-direction: column; }
  .create-batch-button { width: 100%; }
  .import-stats, .inventory { grid-template-columns: 1fr; }
  .import-stat, .inventory-card { min-height: 105px; }
  .batch-row summary { grid-template-columns: minmax(0,1fr) auto; }
  .batch-row summary i { display: none; }
  .batch-free { font-size: 9px; }
}

/* AdminControl visual system based on the supplied reference video. */
@font-face {
  font-family: "Admin Inter";
  src: url("../fonts/e4af272ccee01ff0-s.p.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #090612;
  --panel: rgba(20, 14, 17, .97);
  --panel-soft: rgba(29, 23, 28, .9);
  --border: rgba(255, 255, 255, .105);
  --text: #f7f3f1;
  --muted: #989195;
  --coral: #ff806b;
  --orange: #f3a06e;
  --green: #5eddb5;
  --yellow: #ffc84b;
}

body {
  background:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px),
    radial-gradient(circle at 18% 28%, rgba(78, 38, 178, .38), transparent 34rem),
    radial-gradient(circle at 86% 22%, rgba(89, 41, 180, .24), transparent 38rem),
    linear-gradient(135deg, #09050f 0%, #0a0712 48%, #0d0917 100%);
  background-attachment: fixed;
  background-size: 4px 4px, 4px 4px, auto, auto, auto;
  font-family: "Admin Inter", Inter, "Segoe UI", sans-serif;
  font-size: 14px;
}

body::before {
  background:
    radial-gradient(circle at 8% 38%, rgba(92, 45, 210, .26), transparent 31rem),
    linear-gradient(90deg, rgba(116, 66, 230, .12), transparent 24%, transparent 78%, rgba(103, 52, 190, .12));
}

.ambient { opacity: .12; filter: blur(130px); }
.ambient-one { background: #6b35e5; }
.ambient-two { background: #8a42d4; }

h1, h2, h3, strong { letter-spacing: -.045em; }
.eyebrow {
  margin-bottom: 11px;
  color: #cb806f;
  font-size: 10px;
  letter-spacing: .28em;
}
.muted { color: var(--muted); }

.app-shell {
  grid-template-columns: 318px minmax(0, 1fr);
}

.sidebar {
  inset: 24px auto 24px 28px;
  width: 286px;
  padding: 28px 16px 16px;
  border-color: rgba(255, 128, 107, .14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 16% 2%, rgba(255, 112, 88, .18), transparent 13rem),
    linear-gradient(180deg, rgba(25, 15, 18, .985), rgba(8, 7, 11, .99) 62%);
  box-shadow: 0 28px 80px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.025);
}

.sidebar-brand { gap: 13px; padding: 0 1px; }
.sidebar-brand .eyebrow { margin-bottom: 4px; color: #d88b79; line-height: 1.5; }
.sidebar-brand strong { font-size: 17px; }
.sidebar-brand span { margin-top: 4px; font-size: 12px; }
.brand-mark {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(182, 83, 65, .72), rgba(47, 25, 28, .86));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 12px 34px rgba(255,91,76,.12);
}
.brand-mark::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff8b76;
  box-shadow: 0 0 14px #ff806b;
  content: "";
}
.brand-mark.small { width: 52px; height: 52px; }

.session-pill {
  margin: 22px 0 25px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.035);
  background: rgba(255,255,255,.035);
  font-size: 10px;
}

.side-nav { gap: 9px; }
.nav-item, .logout-button {
  min-height: 60px;
  border-color: rgba(255,255,255,.09);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012));
  padding: 0 16px;
  color: #aaa3a7;
  font-size: 15px;
  transition: transform .24s ease, border-color .24s ease, background .24s ease, color .24s ease, box-shadow .24s ease;
}
.nav-item:hover {
  transform: translateX(3px);
  border-color: rgba(255,128,107,.22);
  color: #e8e2e3;
}
.nav-item span, .logout-button span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(8,7,10,.45);
  color: #d4cccf;
  font-size: 0;
}
.nav-item span::before, .logout-button span::before { font-size: 17px; }
.nav-item:nth-child(1) span::before { content: "\25A6"; }
.nav-item:nth-child(2) span::before { content: "\2637"; }
.nav-item:nth-child(3) span::before { content: "\25C7"; }
.nav-item:nth-child(4) span::before { content: "\25A3"; }
.nav-item:nth-child(5) span::before { content: "\25C9"; }
.logout-button span::before { content: "\21AA"; }
.nav-item.is-active {
  position: relative;
  border-color: rgba(255,128,107,.34);
  background: linear-gradient(100deg, rgba(132,61,51,.36), rgba(83,39,100,.28));
  color: #fff;
  box-shadow: inset 0 0 35px rgba(255,92,81,.06), 0 12px 28px rgba(0,0,0,.18);
}
.nav-item.is-active::after {
  position: absolute;
  right: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff8b76;
  box-shadow: 0 0 13px #ff806b;
  content: "";
}
.nav-item.is-active span { background: rgba(255,128,107,.15); color: #fff; }
.logout-button {
  min-height: 56px;
  justify-content: center;
  color: #d4ced0;
}

.main-area {
  grid-column: 2;
  max-width: 1660px;
  padding: 24px 34px 72px 14px;
}

.topbar {
  min-height: 92px;
  margin: 0 0 20px;
  padding: 16px 24px;
  border-color: rgba(255,255,255,.08);
  border-radius: 24px;
  background: rgba(14,10,15,.78);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.topbar h1 { font-size: 22px; }
.topbar-actions { gap: 9px; }
.refresh-button, .maintenance-button, .check-payments-button {
  min-height: 44px;
  border-radius: 15px;
  background: rgba(255,255,255,.035);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.refresh-button:hover, .maintenance-button:hover, .check-payments-button:hover { transform: translateY(-1px); }

.view.is-active.view-enter { animation: view-enter .46s cubic-bezier(.22,1,.36,1) both; }
.app-shell.is-entering .sidebar { animation: sidebar-enter .58s cubic-bezier(.22,1,.36,1) both; }
.app-shell.is-entering .main-area { animation: content-enter .65s .06s cubic-bezier(.22,1,.36,1) both; }
@keyframes view-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sidebar-enter {
  from { opacity: 0; transform: translateX(-22px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes content-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-panel {
  min-height: 260px;
  padding: 34px 38px;
  border-color: rgba(255,128,107,.13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 18%, rgba(101,48,131,.18), transparent 20rem),
    linear-gradient(130deg, rgba(28,17,20,.96), rgba(9,7,11,.98) 64%);
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 24px 65px rgba(0,0,0,.25);
}
.hero-panel h2, .section-heading h2, .panel h2 {
  font-size: clamp(27px, 2vw, 34px);
  font-weight: 650;
  letter-spacing: -.055em;
}
.hero-panel > div:first-child { align-self: center; }
.period-tabs { gap: 8px; margin-top: 27px; }
.period-tabs button {
  min-height: 44px;
  border-color: rgba(255,255,255,.11);
  background: rgba(255,255,255,.03);
  padding: 10px 20px;
  transition: transform .2s ease, filter .2s ease, background .2s ease;
}
.period-tabs button:hover { transform: translateY(-1px); color: #eee8e9; }
.period-tabs button.is-active {
  background: linear-gradient(135deg, #ff846d, #f69569);
  color: #281315;
  box-shadow: 0 12px 28px rgba(255,128,107,.2);
}
.hero-controls {
  width: min(100%, 310px);
  padding: 17px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 24px;
  background: rgba(255,255,255,.018);
}
.hero-controls label, .control-box {
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 17px;
  background: rgba(8,7,10,.28);
  padding: 13px 14px;
}
.hero-controls label { gap: 7px; color: #7f787d; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.hero-controls select { min-height: auto; border: 0; background: transparent; padding: 0; color: #eee8e9; font-size: 13px; text-transform: none; }
.control-box { padding: 13px 14px; }
.control-box span { margin-bottom: 6px; }
.section-heading { margin: 40px 0 22px; }

.metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.metric-card {
  min-height: 255px;
  border-color: rgba(255,128,107,.18);
  border-radius: 25px;
  background:
    radial-gradient(circle at 8% 0%, rgba(146,57,47,.16), transparent 13rem),
    linear-gradient(160deg, rgba(27,17,19,.985), rgba(10,8,11,.99));
  padding: 22px 20px;
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 18px 45px rgba(0,0,0,.2);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,128,107,.32);
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 26px 55px rgba(0,0,0,.3);
}
.metric-card.green {
  border-color: rgba(58,204,154,.24);
  background: radial-gradient(circle at 14% 0%, rgba(27,126,96,.18), transparent 14rem), #0c1110;
}
.metric-card.yellow {
  border-color: rgba(255,200,75,.27);
  background: radial-gradient(circle at 12% 0%, rgba(155,108,27,.2), transparent 14rem), #100d0b;
}
.metric-label { min-height: 28px; color: #847d81; font-size: 10px; letter-spacing: .22em; }
.metric-value { margin: 30px 0 18px; font-size: clamp(30px, 2.6vw, 42px); }
.metric-detail { color: #918a8e; }

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.usage-card {
  display: flex;
  min-height: 142px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(83,45,151,.13), transparent 16rem),
    rgba(25,20,31,.78);
  padding: 22px 20px;
  box-shadow: inset 0 1px rgba(255,255,255,.025);
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.usage-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,128,107,.22);
  background-color: rgba(30,24,37,.86);
}
.usage-label, .usage-approved span {
  display: block;
  color: #cb806f;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.usage-value {
  display: block;
  margin: 24px 0 5px;
  font-size: 30px;
  line-height: 1;
}
.usage-card small { color: #938c91; font-size: 12px; }
.usage-approved {
  display: grid;
  min-width: 158px;
  min-height: 74px;
  align-content: center;
  justify-items: end;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: rgba(8,7,11,.25);
  padding: 13px 16px;
}
.usage-approved span { color: #716a70; font-size: 9px; }
.usage-approved strong { margin-top: 9px; font-size: 14px; white-space: nowrap; }

.content-grid { grid-template-columns: minmax(0, 1.48fr) minmax(350px, .98fr); gap: 20px; margin-top: 24px; }
.panel {
  border-color: rgba(255,255,255,.095);
  border-radius: 25px;
  background: linear-gradient(160deg, rgba(24,16,19,.975), rgba(14,10,13,.985));
  padding: 27px 24px;
  box-shadow: inset 0 1px rgba(255,255,255,.022), 0 22px 55px rgba(0,0,0,.22);
}
.chart-panel { min-height: 0; }
.chart {
  height: 300px;
  margin-top: 26px;
  padding: 0;
  border: 0;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 25%);
  border-radius: 18px;
}
.line-chart { width: 100%; height: 100%; overflow: visible; }
.chart-area { fill: url("#chart-area"); }
.chart-line {
  fill: none;
  stroke: url("#chart-stroke");
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 5px 8px rgba(255,96,107,.2));
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  animation: draw-chart 1.1s .15s cubic-bezier(.22,1,.36,1) forwards;
}
.chart-point {
  cursor: pointer;
}
.chart-point-core {
  fill: #ff806b;
  stroke: #fff1ed;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition: r .2s ease, filter .2s ease, fill .2s ease;
}
.chart-point-halo {
  fill: rgba(255,128,107,.14);
  opacity: .7;
  transition: r .2s ease, opacity .2s ease;
}
.chart-point:not(.has-revenue) .chart-point-core {
  fill: #71686d;
  stroke: #b3aaae;
}
.chart-point:not(.has-revenue) .chart-point-halo {
  display: none;
}
.chart-point:hover .chart-point-core { r: 6; fill: #ff9b88; filter: drop-shadow(0 0 7px #ff806b); }
.chart-point:hover .chart-point-halo { r: 13; opacity: 1; }
.line-chart text { fill: #817a7f; font: 12px "Admin Inter", sans-serif; }
@keyframes draw-chart { to { stroke-dashoffset: 0; } }

.site-row, .activity-row, .health-row {
  border-color: rgba(255,255,255,.09);
  border-radius: 19px;
  background: rgba(255,255,255,.022);
}
.site-row { padding: 16px; }
.progress { height: 10px; background: rgba(255,255,255,.05); }
.progress i { background: linear-gradient(90deg, #ff806b, #f0a16d); }
.activity-row:hover { border-color: rgba(255,128,107,.28); }

.payment-filters {
  grid-template-columns: minmax(360px, 1.6fr) minmax(210px, .8fr) minmax(210px, .8fr);
  gap: 16px;
  margin-bottom: 22px;
  border-color: rgba(255,128,107,.12);
  border-radius: 25px;
  background: linear-gradient(160deg, rgba(21,14,17,.98), rgba(10,8,11,.99));
  padding: 23px;
}
input, select, textarea {
  border-color: rgba(255,255,255,.11);
  background: rgba(255,255,255,.025);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input:hover, select:hover, textarea:hover { border-color: rgba(255,255,255,.18); }
input:focus, select:focus, textarea:focus {
  border-color: rgba(255,128,107,.55);
  background: rgba(255,255,255,.035);
  box-shadow: 0 0 0 4px rgba(255,128,107,.065);
}
.payment-filters input, .payment-filters select { min-height: 50px; }
.filter-result { margin-bottom: 12px; }
.table-wrap { border-radius: 18px; }
table { font-size: 12px; }
th, td { border-bottom-color: rgba(255,255,255,.075); padding: 18px 12px; }
th { color: #756f73; letter-spacing: .18em; }
tbody tr { transition: background .2s ease; }
tbody tr:hover { background: rgba(255,255,255,.022); }
.status { padding: 7px 12px; }

.lots-layout { grid-template-columns: minmax(430px, .9fr) minmax(570px, 1.25fr); gap: 22px; }
.lot-import-panel, .lot-history-panel { min-height: 690px; }
.create-batch-button {
  background: linear-gradient(135deg, #c96e51, #d77b58);
  box-shadow: 0 13px 30px rgba(210,109,78,.17);
  transition: transform .2s ease, filter .2s ease;
}
.create-batch-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.import-stat, .inventory-card {
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
}
.import-stat.valid, .inventory-card.available {
  border-color: rgba(63,202,156,.18);
  background: rgba(10,66,51,.48);
}
.batch-row, .coupon-row, .site-card {
  border-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.025);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.batch-row:hover, .coupon-row:hover, .site-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,128,107,.22);
  background: rgba(255,255,255,.035);
}
.batch-row[open] { border-color: rgba(255,128,107,.2); }
.batch-row[open] .batch-details { animation: details-open .3s ease both; }
@keyframes details-open {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

.coupon-layout { gap: 22px; }
.coupon-form > button {
  background: linear-gradient(135deg, #ff806b, #f19a69);
  box-shadow: 0 12px 28px rgba(255,128,107,.16);
}
.sites-grid { gap: 18px; }
.site-card { min-height: 230px; border-radius: 24px; }

.login-panel {
  border-color: rgba(255,128,107,.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(172,69,55,.2), transparent 18rem),
    linear-gradient(155deg, rgba(29,17,20,.985), rgba(9,7,11,.99));
  box-shadow: 0 34px 100px rgba(0,0,0,.58);
  animation: login-enter .65s cubic-bezier(.22,1,.36,1) both;
}
@keyframes login-enter {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1280px) {
  .app-shell { grid-template-columns: 278px minmax(0,1fr); }
  .sidebar { width: 250px; }
  .main-area { padding-right: 20px; }
  .metric-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .usage-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .app-shell { display: block; }
  .sidebar { inset: 12px auto 12px 12px; width: min(286px, calc(100vw - 24px)); }
  .main-area { padding: 12px; }
  .topbar { position: sticky; top: 8px; z-index: 15; min-height: 74px; }
  .hero-panel { padding: 25px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .content-grid, .lots-layout, .coupon-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 190px; }
  .payment-filters { grid-template-columns: 1fr; padding: 17px; }
  .chart-panel { min-height: 0; }
  .chart { height: 240px; }
  .usage-card { align-items: stretch; flex-direction: column; }
  .usage-approved { min-width: 0; justify-items: start; }
}
/* Compacta o card de receita para nao sobrar area vazia abaixo do grafico. */
.content-grid {
  align-items: start;
}
.chart-panel {
  align-self: start !important;
  min-height: auto !important;
  height: auto !important;
}
.chart-panel .chart {
  flex: 0 0 auto;
  height: 280px !important;
  max-height: 280px;
  margin-bottom: 0;
}
@media (max-width: 560px) {
  .chart-panel .chart {
    height: 220px !important;
    max-height: 220px;
  }
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(350px, .98fr);
  gap: 20px;
  margin-top: 24px;
  align-items: start;
}
.panel-stack {
  display: grid;
  gap: 20px;
  align-content: start;
}
@media (max-width: 820px) {
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
}
.delivered-codes-card .metric-detail {
  display: block;
  margin-bottom: 26px;
}
.metric-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}
.metric-breakdown-box {
  min-height: 84px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 18px;
  background: rgba(255,255,255,.018);
  padding: 14px 13px;
}
.metric-breakdown-box span {
  display: block;
  min-height: 28px;
  color: #8d858a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
  line-height: 1.25;
  text-transform: uppercase;
}
.metric-breakdown-box strong {
  display: block;
  margin-top: 10px;
  color: #f7f3f1;
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 560px) {
  .metric-breakdown {
    grid-template-columns: 1fr;
  }
}
.orders-summary-card .metric-detail {
  display: block;
  margin-bottom: 26px;
}

