:root {
  --background: #eef5fb;
  --foreground: #111827;
  --muted: #64748b;
  --border: #dbe7f0;
  --card: #ffffff;
  --primary: #1268b3;
  --primary-soft: #e8f3fb;
  --accent: #f5821f;
  --accent-2: #f6b414;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --tapee-blue: #1268b3;
  --tapee-gold: #f6b414;
  --tapee-orange: #f5821f;
  --radius: 8px;
  --sidebar: #ffffff;
  --shadow: 0 16px 42px rgba(18, 104, 179, .09);
  --shadow-strong: 0 24px 70px rgba(18, 104, 179, .18);
}

* {
  letter-spacing: 0;
}

body {
  margin: 0;
  background:
    linear-gradient(115deg, rgba(18,104,179,.10), transparent 28%),
    linear-gradient(245deg, rgba(245,130,31,.12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fb 42%, #f9fbfd 100%);
  color: var(--foreground);
  font-family: Inter, "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  min-height: 100vh;
}

.app-frame {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
}

.app-sidebar {
  position: sticky;
  top: 0;
  z-index: 1020;
  height: 100vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.94)),
    radial-gradient(circle at top, rgba(246,180,20,.18), transparent 38%);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 18px;
  box-shadow: 12px 0 40px rgba(18, 104, 179, .06);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 18px;
  border-bottom: 1px solid rgba(18,104,179,.12);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #111827, #0ea5a4);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.brand-logo,
.login-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-mark.logo-mark {
  color: var(--foreground);
  background:
    radial-gradient(circle at 50% 44%, #ffffff 0 54%, rgba(255,255,255,.92) 55% 100%),
    linear-gradient(145deg, rgba(246,180,20,.18), rgba(18,104,179,.18));
  padding: 0;
  border: 2px solid rgba(18, 104, 179, .22);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(18, 104, 179, .14);
  overflow: hidden;
}

.brand-mark.logo-mark::after,
.login-brand-mark::after,
.login-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(246, 180, 20, .62);
  pointer-events: none;
}

.brand-mark.logo-mark,
.login-brand-mark,
.login-icon {
  position: relative;
}

.logo-mark.logo-lg {
  width: 72px;
  height: 72px;
  padding: 0;
}

.logo-mark.logo-xl {
  width: 88px;
  height: 88px;
  padding: 0;
}

.brand-title {
  font-weight: 800;
  line-height: 1.1;
  color: #0f3f73;
}

.brand-subtitle,
.topbar-eyebrow,
.muted {
  color: var(--muted);
}

.brand-subtitle {
  font-size: .78rem;
  margin-top: 2px;
}

.side-nav {
  display: grid;
  gap: 7px;
  padding: 18px 0;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 11px;
  border-radius: var(--radius);
  color: #274763;
  text-decoration: none;
  font-weight: 600;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.side-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.side-link:hover {
  background: linear-gradient(135deg, rgba(18,104,179,.12), rgba(246,180,20,.18));
  color: #0f3f73;
  transform: translateX(2px);
}

.side-link.active {
  background: linear-gradient(135deg, var(--tapee-blue), #0c4f8e 58%, #0f3f73);
  color: #fff;
  box-shadow: 0 14px 32px rgba(18, 104, 179, .26);
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.developer-credit {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  padding: 11px;
  border-radius: 14px;
  color: #0f3f73;
  background:
    linear-gradient(135deg, rgba(18,104,179,.10), rgba(246,180,20,.18));
  border: 1px solid rgba(18,104,179,.12);
}

.developer-credit svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--tapee-blue), var(--tapee-orange));
}

.developer-credit span,
.developer-credit strong {
  display: block;
  line-height: 1.25;
}

.developer-credit span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}

.developer-credit strong {
  color: #0f3f73;
  font-size: .86rem;
  font-weight: 900;
}

.side-link.logout {
  color: var(--danger);
}

.app-main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1010;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(248, 252, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 104, 179, .10);
}

.topbar-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tapee-blue);
}

.topbar-title {
  font-size: 1.05rem;
  font-weight: 800;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-shell {
  padding: 28px;
  max-width: 1480px;
}

.page-title {
  font-size: 1.8rem;
  font-weight: 850;
  margin: 0;
  color: #102a43;
}

.stat-card,
.panel,
.metric-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
  min-height: 116px;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--tapee-blue), var(--tapee-gold), var(--tapee-orange));
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(18,104,179,.08);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.stat-label {
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  font-weight: 750;
}

.stat-value {
  font-size: 2.05rem;
  font-weight: 850;
  margin-top: 8px;
  color: #0f3f73;
}

.panel {
  padding: 18px;
  position: relative;
}

.dashboard-hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-height: 244px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, #0f4f88 0%, #1268b3 42%, #f5821f 100%);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 24px;
  padding: 30px;
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(255,255,255,.18) 0 1px, transparent 1px 72px),
    linear-gradient(20deg, rgba(255,255,255,.14) 0 1px, transparent 1px 84px);
  opacity: .38;
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  right: -80px;
  top: -130px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(246,180,20,.24);
}

.dashboard-hero .page-title,
.dashboard-hero .muted {
  color: #fff;
}

.dashboard-hero .muted {
  opacity: .82;
}

.hero-content,
.hero-orbit {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.24);
  font-weight: 800;
  margin-bottom: 14px;
}

.hero-copy {
  max-width: 760px;
  margin-top: 10px;
  font-size: 1rem;
  color: rgba(255,255,255,.88);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-weight: 750;
}

.hero-pills svg {
  width: 17px;
  height: 17px;
}

.hero-orbit {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.orbit-ring {
  width: 176px;
  height: 176px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(from 120deg, rgba(255,255,255,.25), rgba(246,180,20,.95), rgba(255,255,255,.22), rgba(18,104,179,.55), rgba(255,255,255,.25));
  box-shadow: inset 0 0 0 12px rgba(255,255,255,.12), 0 26px 60px rgba(15,23,42,.22);
}

.hero-logo {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255,255,255,.88);
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
}

.hero-time {
  min-width: 168px;
  padding: 11px 14px;
  border-radius: 14px;
  text-align: center;
  color: #fff;
  background: rgba(15,23,42,.20);
  border: 1px solid rgba(255,255,255,.22);
}

.hero-time span {
  display: block;
  font-size: .76rem;
  opacity: .8;
}

.hero-time strong {
  font-size: 1.2rem;
}

.metric-card {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.metric-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  opacity: .16;
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.metric-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 16px 32px rgba(15,23,42,.18);
}

.metric-icon svg {
  width: 27px;
  height: 27px;
}

.metric-blue .metric-icon,
.metric-blue::after {
  background: linear-gradient(135deg, #1268b3, #083b70);
}

.metric-gold .metric-icon,
.metric-gold::after {
  background: linear-gradient(135deg, #f6b414, #f5821f);
}

.metric-green .metric-icon,
.metric-green::after {
  background: linear-gradient(135deg, #16a34a, #0f766e);
}

.metric-orange .metric-icon,
.metric-orange::after {
  background: linear-gradient(135deg, #f97316, #dc2626);
}

.metric-card .stat-value {
  margin: 6px 0 7px;
}

.metric-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15,23,42,.08);
}

.metric-bar span {
  display: block;
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tapee-blue), var(--tapee-gold), var(--tapee-orange));
}

.panel-vivid {
  border-radius: 16px;
  border: 1px solid rgba(18,104,179,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,255,.96));
}

.event-table tbody tr {
  border-left: 4px solid transparent;
}

.event-table tbody tr:hover {
  border-left-color: var(--tapee-gold);
}

.direction-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 850;
  font-size: .78rem;
}

.direction-in {
  color: #065f46;
  background: rgba(22,163,74,.14);
  border: 1px solid rgba(22,163,74,.22);
}

.direction-out {
  color: #334155;
  background: rgba(100,116,139,.14);
  border: 1px solid rgba(100,116,139,.20);
}

.system-panel {
  color: #fff;
  border: 0;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #102a43, #0f4f88 64%, #f5821f);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.system-panel::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -54px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.system-panel::before {
  display: none;
}

.system-panel .small {
  color: rgba(255,255,255,.72);
}

.system-panel svg {
  width: 32px;
  height: 32px;
  opacity: .86;
}

.system-log {
  display: block;
  padding: 12px;
  white-space: normal;
  color: #e0f2fe;
  background: rgba(15,23,42,.28);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
}

.trend-bars {
  height: 170px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 10px;
  padding-top: 8px;
}

.trend-day {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 8px;
  text-align: center;
}

.trend-bar {
  position: relative;
  width: 100%;
  min-height: 12px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--tapee-gold), var(--tapee-orange));
  box-shadow: 0 10px 22px rgba(245,130,31,.20);
}

.trend-bar span {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  font-weight: 800;
  color: #0f3f73;
}

.trend-day small {
  color: var(--muted);
  font-weight: 700;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.action-tile {
  min-height: 94px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 9px;
  padding: 16px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 18px 38px rgba(15,23,42,.14);
  transition: transform .18s ease, filter .18s ease;
}

.action-tile:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.action-tile svg {
  width: 26px;
  height: 26px;
}

.tile-blue { background: linear-gradient(135deg, #1268b3, #083b70); }
.tile-green { background: linear-gradient(135deg, #16a34a, #0f766e); }
.tile-gold { background: linear-gradient(135deg, #f6b414, #d97706); }
.tile-orange { background: linear-gradient(135deg, #f97316, #dc2626); }
}

.quick-action {
  min-height: 50px;
  justify-content: flex-start;
  gap: 10px;
  display: inline-flex;
  align-items: center;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22,163,74,.14);
}

.chart-card {
  min-height: 380px;
}

.chart-wrap {
  position: relative;
  height: 310px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-item {
  padding: 15px 16px;
}

.metric-item strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
}

.metric-item span {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 650;
}

.table {
  --bs-table-bg: transparent;
  margin-bottom: 0;
}

.table thead th {
  font-size: .75rem;
  text-transform: uppercase;
  color: #64748b;
  background: linear-gradient(180deg, #f8fbff, #edf6fd);
  border-bottom-color: var(--border);
  font-weight: 800;
}

.table td {
  vertical-align: middle;
}

.form-control,
.form-select,
.btn {
  border-radius: var(--radius);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--tapee-blue);
  box-shadow: 0 0 0 .2rem rgba(18, 104, 179, .13);
}

.btn-primary {
  background: linear-gradient(135deg, var(--tapee-blue), #0d4f8f);
  border-color: #0d5d9f;
  box-shadow: 0 10px 24px rgba(18,104,179,.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0d5d9f, #0b457e);
  border-color: #0b457e;
}

.btn-outline-primary {
  border-color: rgba(18,104,179,.24);
  color: #0f3f73;
  background: rgba(255,255,255,.72);
}

.btn-outline-primary:hover {
  background: var(--tapee-blue);
  border-color: var(--tapee-blue);
  color: #fff;
}

code.mac {
  color: #0f766e;
  font-weight: 700;
}

.badge-soft {
  border: 1px solid rgba(18,104,179,.16);
  background: rgba(255,255,255,.78);
  color: #0f3f73;
}

.modal-content {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(15, 23, 42, .22);
}

.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 148px;
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18,104,179,.98), rgba(15,79,136,.94) 56%, rgba(246,180,20,.94));
  box-shadow: var(--shadow-strong);
}

.page-head::before,
.page-head::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

.page-head::before {
  width: 280px;
  height: 280px;
  right: -95px;
  top: -120px;
  background: rgba(255,255,255,.16);
}

.page-head::after {
  width: 120px;
  height: 120px;
  left: 32%;
  bottom: -70px;
  background: rgba(245,130,31,.25);
}

.page-head .page-title,
.page-head .muted,
.page-head .form-label {
  color: #fff;
}

.page-head .muted {
  opacity: .82;
}

.page-head .btn-outline-primary {
  color: #fff;
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.14);
}

.page-head .btn-outline-primary:hover {
  color: #0f3f73;
  background: #fff;
}

.page-head .form-control,
.page-head .form-select {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.92);
}

.panel {
  border-radius: 16px;
  border: 1px solid rgba(18,104,179,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,252,255,.96));
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--tapee-blue), var(--tapee-gold), var(--tapee-orange));
  opacity: .85;
}

.panel h2,
.panel .h5 {
  color: #102a43;
  font-weight: 850;
}

.filter-panel {
  background:
    linear-gradient(135deg, rgba(232,243,251,.92), rgba(255,255,255,.98) 52%, rgba(255,247,224,.88));
}

.filter-panel::before {
  height: 0;
}

.filter-panel .form-label {
  color: #31506d;
  font-weight: 800;
}

.metric-strip {
  gap: 14px;
}

.metric-item {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  display: grid;
  align-content: center;
  border-radius: 16px;
  border-color: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}

.metric-item::after {
  content: "";
  position: absolute;
  width: 112px;
  height: 112px;
  right: -42px;
  bottom: -52px;
  border-radius: 50%;
  opacity: .18;
  background: var(--tapee-blue);
}

.metric-item:nth-child(2)::after { background: var(--tapee-gold); }
.metric-item:nth-child(3)::after { background: var(--success); }
.metric-item:nth-child(4)::after { background: var(--tapee-orange); }

.metric-item strong {
  color: #0f3f73;
  font-weight: 900;
}

.metric-item span {
  font-weight: 800;
}

.table-responsive {
  border-radius: 12px;
}

.table {
  border-collapse: separate;
  border-spacing: 0;
}

.table thead th:first-child {
  border-top-left-radius: 12px;
}

.table thead th:last-child {
  border-top-right-radius: 12px;
}

.table tbody tr {
  transition: background .15s ease, transform .15s ease;
}

.table tbody tr:hover {
  background: rgba(18,104,179,.055);
}

.form-control,
.form-select {
  border-color: rgba(18,104,179,.18);
  background-color: rgba(255,255,255,.92);
}

.form-check-input:checked {
  background-color: var(--tapee-blue);
  border-color: var(--tapee-blue);
}

.badge,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.btn-sm {
  min-height: 32px;
}

.btn-outline-danger {
  background: rgba(255,255,255,.72);
}

.modal-content {
  border-radius: 18px;
  overflow: hidden;
}

.modal-header {
  background:
    linear-gradient(135deg, rgba(232,243,251,.98), rgba(255,247,224,.92));
  border-bottom-color: rgba(18,104,179,.12);
}

.chart-card {
  border-radius: 16px;
}

.chart-wrap {
  padding: 8px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(248,252,255,.86), rgba(255,255,255,.86));
}

.alert {
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

@media (max-width: 992px) {
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    justify-items: start;
    grid-template-columns: auto 1fr;
  }

  .orbit-ring {
    width: 132px;
    height: 132px;
  }

  .hero-logo {
    width: 104px;
    height: 104px;
  }

  .app-frame {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .side-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sidebar-footer {
    display: none;
  }
}

@media (max-width: 768px) {
  .app-shell { padding: 16px; }
  .topbar { padding: 0 16px; }
  .side-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-wrap { height: 260px; }
  .dashboard-hero {
    padding: 22px;
    border-radius: 14px;
  }
  .hero-orbit {
    grid-template-columns: 1fr;
  }
  .hero-pills span {
    width: 100%;
  }
  .metric-card {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 126px;
  }
  .metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }
  .action-grid {
    grid-template-columns: 1fr;
  }
  .page-head {
    padding: 20px;
    border-radius: 14px;
  }
  .page-head form {
    width: 100%;
  }
}
