/* ═══════════════════════════════════════════
   MOTOPARK — Premium Admin System Stylesheet
   Design: Modern Dark Dashboard v2
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ═══ CSS VARIABLES ═══ */
:root {
  /* Color Palette */
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-900: #064e3b;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --red-500: #ef4444;
  --red-600: #dc2626;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --purple-500: #a855f7;

  /* Semantic Aliases */
  --bg: var(--slate-950);
  --surface: var(--slate-900);
  --surface-2: var(--slate-800);
  --text: var(--slate-50);
  --text-muted: var(--slate-400);
  --primary: var(--emerald-500);
  --primary-h: var(--emerald-600);
  --primary-glow: rgba(16, 185, 129, .35);
  --primary-soft: rgba(16, 185, 129, .12);
  --danger: var(--red-500);
  --danger-h: var(--red-600);
  --danger-soft: rgba(239, 68, 68, .15);
  --warning: var(--amber-500);
  --warning-soft: rgba(245, 158, 11, .15);
  --info: var(--blue-500);
  --info-soft: rgba(59, 130, 246, .15);
  --border: rgba(255, 255, 255, .08);
  --border-hover: rgba(255, 255, 255, .15);

  /* Geometry */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .45);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, .55);
  --shadow-glow: 0 0 24px var(--primary-glow);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-fast: .15s var(--ease);
  --t-normal: .25s var(--ease);
  --t-slow: .4s var(--ease);
}

/* ═══ RESET & BASE ═══ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Subtle animated mesh gradient background */
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(16, 185, 129, .08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(59, 130, 246, .06) 0%, transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 50%, var(--slate-950) 0%, var(--slate-950) 100%);
}

/* ═══ TYPOGRAPHY ═══ */
h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
}

h3 {
  font-size: 1rem;
  font-weight: 600;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--emerald-400);
}

strong {
  font-weight: 700;
}

/* ═══ UTILITY ═══ */
.muted {
  color: var(--text-muted);
  font-size: .85rem;
}

/* ═══ TOPBAR / HEADER ═══ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;

  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: .85rem 2rem;

  background: rgba(2, 6, 23, .75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 8px 32px rgba(0, 0, 0, .35);
}

/* Brand logo */
.topbar>div:first-child {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.topbar>div:first-child strong {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -.03em;
  background: linear-gradient(120deg, var(--emerald-400) 0%, var(--emerald-500) 60%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px var(--primary-glow));
}

.topbar>div:first-child .muted {
  font-size: .78rem;
  font-weight: 500;
}

/* Top nav links */
.topbar nav {
  display: flex;
  gap: .25rem;
}

.topbar nav a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .88rem;
  color: var(--text-muted);
  transition: all var(--t-normal);
  position: relative;
}

.topbar nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.topbar nav a.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.topbar nav a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
}

/* User box */
.userbox {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

.userbox>span:first-child {
  font-weight: 600;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* ═══ LAYOUT ═══ */
.container {
  max-width: 1420px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.title-row h1 {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.span-3 {
  grid-column: span 3;
}

.span-4 {
  grid-column: span 4;
}

.span-5 {
  grid-column: span 5;
}

.span-6 {
  grid-column: span 6;
}

.span-7 {
  grid-column: span 7;
}

.span-8 {
  grid-column: span 8;
}

.span-9 {
  grid-column: span 9;
}

.span-12 {
  grid-column: span 12;
}

/* ═══ CARDS ═══ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: border-color var(--t-normal), box-shadow var(--t-normal), transform var(--t-normal);
  position: relative;
  overflow: hidden;
}

/* subtle top gradient line */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  color: var(--text);
}

/* ═══ KPI STATS ═══ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kpi {
  background: linear-gradient(145deg, var(--surface-2), rgba(30, 41, 59, .6));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.25rem 1.1rem;
  position: relative;
  overflow: hidden;
  transition: all var(--t-normal);
  cursor: default;
}

.kpi::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-soft), transparent);
  opacity: 0;
  transition: opacity var(--t-normal);
}

.kpi:hover {
  border-color: rgba(16, 185, 129, .3);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, .15), var(--shadow-glow);
  transform: translateY(-3px) scale(1.02);
}

.kpi:hover::before {
  opacity: 1;
}

.kpi .name {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: .5rem;
  position: relative;
}

.kpi .num {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #fff;
  position: relative;
  line-height: 1;
}

/* Small stat card variant */
.stat {
  background: linear-gradient(145deg, var(--surface-2), rgba(30, 41, 59, .6));
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  transition: all var(--t-normal);
}

.stat:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.stat .label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}

.stat .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-top: .3rem;
}

/* ═══ FORMS ═══ */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: .4rem;
  letter-spacing: .01em;
}

input,
select,
textarea {
  width: 100%;
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font-family: inherit;
  font-size: .92rem;
  transition: all var(--t-normal);
  outline: none;
  appearance: none;
}

input::placeholder {
  color: var(--slate-600);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--border-hover);
  background: rgba(0, 0, 0, .35);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(16, 185, 129, .5);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .12), 0 0 16px rgba(16, 185, 129, .08);
  background: rgba(0, 0, 0, .4);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

select option {
  background: var(--slate-900);
  color: var(--text);
}

/* Icon input wrapper */
.input-group {
  position: relative;
}

.input-group input {
  padding-left: 2.75rem;
}

.input-icon {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
  transition: color var(--t-fast);
}

.input-group:focus-within .input-icon {
  color: var(--primary);
}

/* ═══ BUTTONS ═══ */
button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem 1.4rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--t-normal);
  text-decoration: none;
  letter-spacing: .01em;
  position: relative;
  overflow: hidden;
}

/* shimmer on hover */
button::after,
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
}

button:hover::after,
.btn:hover::after {
  transform: translateX(100%);
}

button:hover,
.btn:hover {
  background: var(--primary-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

button:active,
.btn:active {
  transform: translateY(0);
}

.btn.secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn.secondary:hover {
  background: var(--slate-700);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.btn.light {
  background: white;
  color: var(--slate-900);
}

.btn.light:hover {
  background: var(--slate-100);
  box-shadow: 0 4px 12px rgba(255, 255, 255, .15);
}

.btn.warning {
  background: var(--warning);
}

.btn.warning:hover {
  background: #d97706;
  box-shadow: 0 6px 20px rgba(245, 158, 11, .35);
}

.btn.danger {
  background: var(--danger);
}

.btn.danger:hover {
  background: var(--danger-h);
  box-shadow: 0 6px 20px rgba(239, 68, 68, .35);
}

/* Compact buttons inside tables / quick-links */
.quick-links {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}

.quick-links button,
.quick-links .btn {
  padding: .4rem .85rem;
  font-size: .8rem;
  border-radius: var(--radius-xs);
}

/* ═══ TABLES ═══ */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .875rem;
}

thead th {
  padding: .75rem 1rem;
  text-align: left;
  background: rgba(0, 0, 0, .2);
  color: var(--text-muted);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--border);
}

thead th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

thead th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

tbody td {
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  color: var(--text);
  vertical-align: middle;
}

tbody tr {
  transition: background var(--t-fast);
}

tbody tr:hover td {
  background: rgba(255, 255, 255, .025);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ═══ BADGES & CHIPS ═══ */
.badge,
.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-radius: 999px;
  padding: .2rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--primary-soft);
  color: var(--emerald-400);
  border: 1px solid rgba(52, 211, 153, .2);
}

.badge.light {
  background: rgba(255, 255, 255, .08);
  color: var(--text-muted);
  border-color: var(--border);
}

/* ═══ ALERTS ═══ */
.alert {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.25rem;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-weight: 500;
  font-size: .9rem;
  animation: slideIn .3s var(--ease);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert.success {
  color: var(--emerald-400);
  border-color: rgba(52, 211, 153, .25);
  background: rgba(16, 185, 129, .08);
}

.alert.error {
  color: #f87171;
  border-color: rgba(239, 68, 68, .3);
  background: rgba(239, 68, 68, .08);
}

.alert.info {
  color: #60a5fa;
  border-color: rgba(59, 130, 246, .3);
  background: rgba(59, 130, 246, .08);
}

/* ═══ FOOTER ═══ */
.footer {
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  background: rgba(0, 0, 0, .12);
}

/* ═══════════════════════════════════════
   LOGIN PAGE — Full Redesign
   ═══════════════════════════════════════ */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Animated orbs */
.login-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite;
}

.login-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, .35) 0%, transparent 65%);
  top: -200px;
  right: -150px;
  animation-delay: 0s;
}

.login-orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(59, 130, 246, .28) 0%, transparent 65%);
  bottom: -150px;
  left: -120px;
  animation-duration: 14s;
  animation-delay: -4s;
}

.login-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, .22) 0%, transparent 65%);
  top: 45%;
  left: 28%;
  animation-duration: 18s;
  animation-delay: -8s;
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(20px, -30px) scale(1.05);
  }

  50% {
    transform: translate(-10px, 20px) scale(.95);
  }

  75% {
    transform: translate(30px, 10px) scale(1.05);
  }
}

/* Login card */
.login-card {
  width: min(440px, 100%);
  background: rgba(15, 23, 42, .65);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem;
  box-shadow: 0 32px 64px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .05) inset;
  position: relative;
  z-index: 10;
  animation: cardIn .6s var(--ease);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--primary-soft);
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: var(--radius);
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  color: var(--primary);
  box-shadow: 0 0 24px var(--primary-glow), 0 8px 16px rgba(0, 0, 0, .3);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

  0%,
  100% {
    box-shadow: 0 0 24px var(--primary-glow), 0 8px 16px rgba(0, 0, 0, .3);
  }

  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, .5), 0 8px 20px rgba(0, 0, 0, .4);
  }
}

.login-card h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.05em;
  color: #ffffff !important;
  text-shadow: 0 0 40px rgba(16, 185, 129, .4);
  margin-bottom: .4rem;
  border: none !important;
  padding: 0 !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

.login-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 2rem;
}

.login-btn {
  margin-top: .5rem;
  width: 100%;
  padding: .9rem;
  font-size: 1rem;
  letter-spacing: .01em;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  box-shadow: 0 4px 16px var(--primary-glow);
}

.login-btn:hover {
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-500));
  box-shadow: 0 8px 28px var(--primary-glow);
}

/* Demo users section */
.login-demo {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.login-demo-title {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.demo-users {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.demo-user-chip {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .8rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: inherit;
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  font-size: .78rem;
}

.demo-user-chip strong {
  color: var(--text);
  font-weight: 700;
}

.demo-user-chip span {
  color: var(--text-muted);
  font-size: .7rem;
}

.demo-user-chip:hover {
  border-color: rgba(16, 185, 129, .35);
  background: var(--primary-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.demo-user-chip::after {
  display: none;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1080px) {

  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-9 {
    grid-column: span 12;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: .85rem 1.25rem;
  }

  .topbar>div:first-child {
    display: none;
  }

  .topbar nav {
    justify-content: center;
  }

  .userbox {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .row {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .grid {
    gap: 1rem;
  }

  .container {
    padding: 1rem 1rem 2rem;
  }

  .login-card {
    padding: 2rem 1.5rem;
  }

  .topbar nav a span {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .title-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══ NEW PAGE UTILITIES (Stock/SAV/Office) ═══ */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

.kpi-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}

.kpi-card:hover {
  border-color: rgba(255, 255, 255, .1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.kpi-info {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.kpi-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.kpi-value {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .75rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
}