/* shadcn-inspired design system — rental-mobil (tosca laut Bali) */
:root {
  --background: 200 30% 99%;
  --foreground: 200 24% 14%;
  --card: 0 0% 100%;
  --card-foreground: 200 24% 14%;
  --popover: 0 0% 100%;
  --popover-foreground: 200 24% 14%;
  --primary: 188 60% 42%;
  --primary-foreground: 0 0% 100%;
  --secondary: 196 32% 96%;
  --secondary-foreground: 200 24% 18%;
  --muted: 196 26% 95%;
  --muted-foreground: 200 12% 42%;
  --accent: 196 36% 94%;
  --accent-foreground: 200 24% 18%;
  --destructive: 0 72% 50%;
  --destructive-foreground: 0 0% 98%;
  --success: 158 56% 36%;
  --success-foreground: 0 0% 98%;
  --warning: 32 92% 48%;
  --warning-foreground: 30 15% 12%;
  --info: 220 80% 56%;
  --border: 196 26% 88%;
  --input: 196 26% 88%;
  --ring: 188 60% 48%;
  --radius: 0.875rem;
  --row-height: 44px;
  --card-padding: 22px;

  /* Accent (overridable via tweaks) */
  --accent-h: 188;
  --accent-s: 60%;
  --accent-l: 42%;

  --shadow-sm: 0 1px 3px hsl(200 30% 18% / 0.05), 0 1px 2px hsl(200 30% 18% / 0.06);
  --shadow:    0 4px 16px hsl(200 30% 18% / 0.07), 0 2px 4px hsl(200 30% 18% / 0.04);
  --shadow-lg: 0 12px 36px hsl(200 30% 18% / 0.12), 0 4px 12px hsl(200 30% 18% / 0.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: hsl(var(--foreground));
  background: hsl(195 36% 98%);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}

h1, h2, h3, .serif {
  font-family: 'Fraunces', Georgia, serif;
  font-feature-settings: 'ss01', 'ss02';
  letter-spacing: -0.015em;
}

button { font-family: inherit; font-size: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.tabular, .tnum { font-variant-numeric: tabular-nums; }

/* App shell */
.app {
  display: grid;
  grid-template-columns: 252px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  background: hsl(195 36% 99%);
  border-right: 1px solid hsl(var(--border));
  padding: 20px 14px;
  display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 0; height: 100vh;
}
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 8px 10px 18px; }
.sidebar-brand-text { min-width: 0; flex: 1; overflow: hidden; }
.sidebar-brand-mark {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg,
    hsl(var(--accent-h) var(--accent-s) var(--accent-l)),
    hsl(calc(var(--accent-h) - 12) calc(var(--accent-s) + 8%) calc(var(--accent-l) - 8%)));
  color: white;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700; font-size: 16px;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.sidebar-brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; font-size: 16px;
  letter-spacing: -0.015em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.2;
}
.sidebar-brand-sub {
  font-size: 11.5px;
  color: hsl(var(--muted-foreground));
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-section {
  font-size: 11px; font-weight: 600;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 14px 10px 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: hsl(var(--foreground));
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  border: none; background: transparent;
  width: 100%; text-align: left;
  transition: background 120ms ease, color 120ms ease;
}
.nav-item:hover { background: hsl(var(--accent)); }
.nav-item.active {
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.10);
  color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 12%));
}
.nav-item .icon { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.85; }
.nav-item.active .icon { opacity: 1; }
.nav-item-tail {
  margin-left: auto; font-size: 11px;
  color: hsl(var(--muted-foreground));
  font-variant-numeric: tabular-nums;
  background: hsl(var(--muted));
  padding: 2px 7px; border-radius: 999px;
}
.nav-item.active .nav-item-tail {
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.18);
  color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 14%));
}
.sidebar-user {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid hsl(var(--border));
  display: flex; align-items: center; gap: 12px;
}
.sidebar-user-text { min-width: 0; flex: 1; }
.sidebar-user-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: 11.5px; color: hsl(var(--muted-foreground)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Main */
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 32px;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(0 0% 100% / 0.78);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 10;
}
.topbar-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; font-size: 17px;
  letter-spacing: -0.01em;
}
.topbar-crumb { color: hsl(var(--muted-foreground)); font-size: 13px; }

.content { padding: 28px 32px; max-width: 1520px; width: 100%; }
.content h1 { margin: 0 0 6px; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.content .lede { color: hsl(var(--muted-foreground)); margin: 0 0 24px; font-size: 14.5px; line-height: 1.55; }

/* Card */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 160ms ease, transform 160ms ease;
}
.card.hover-lift:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.card-header { padding: 20px 22px 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.card-title { font-family: 'Fraunces', Georgia, serif; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.card-desc { font-size: 12.5px; color: hsl(var(--muted-foreground)); margin: 3px 0 0; }
.card-body { padding: 0 22px 22px; }
.card-body.flush { padding: 0; }
.card-footer { padding: 14px 22px; border-top: 1px solid hsl(var(--border)); display: flex; align-items: center; gap: 12px; }

/* Button */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 0 16px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  color: white;
  font-size: 13.5px; font-weight: 500;
  white-space: nowrap;
  transition: background 120ms ease, transform 80ms ease, box-shadow 120ms ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 6%)); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn.secondary { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); border-color: hsl(var(--border)); box-shadow: none; }
.btn.secondary:hover { background: hsl(var(--accent)); }
.btn.outline { background: transparent; color: hsl(var(--foreground)); border-color: hsl(var(--border)); box-shadow: none; }
.btn.outline:hover { background: hsl(var(--accent)); }
.btn.ghost { background: transparent; color: hsl(var(--foreground)); box-shadow: none; }
.btn.ghost:hover { background: hsl(var(--accent)); }
.btn.destructive { background: hsl(var(--destructive)); color: hsl(var(--destructive-foreground)); }
.btn.destructive:hover { background: hsl(0 72% 44%); }
.btn.sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn .icon { width: 16px; height: 16px; }

/* Input */
.input, .select, .textarea {
  display: inline-flex; width: 100%;
  height: 38px;
  padding: 0 13px;
  border: 1px solid hsl(var(--input));
  border-radius: 9px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 13.5px;
  outline: none;
  transition: border-color 120ms, box-shadow 120ms;
}
.textarea { padding: 10px 13px; height: auto; min-height: 80px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  box-shadow: 0 0 0 3px hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.18);
}
.input::placeholder { color: hsl(var(--muted-foreground)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 500; color: hsl(var(--foreground)); }
.field-help { font-size: 11.5px; color: hsl(var(--muted-foreground)); }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge.neutral { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); border-color: hsl(var(--border)); }
.badge.success { background: hsl(158 50% 94%); color: hsl(158 60% 26%); border-color: hsl(158 35% 80%); }
.badge.warn,
.badge.warning { background: hsl(38 95% 94%); color: hsl(28 80% 32%); border-color: hsl(38 80% 80%); }
.badge.danger,
.badge.destructive { background: hsl(0 80% 96%); color: hsl(0 72% 38%); border-color: hsl(0 60% 86%); }
.badge.accent { background: hsl(var(--accent-h) var(--accent-s) 95%); color: hsl(var(--accent-h) var(--accent-s) 28%); border-color: hsl(var(--accent-h) var(--accent-s) 82%); }
.badge.info { background: hsl(220 70% 96%); color: hsl(220 70% 38%); border-color: hsl(220 60% 84%); }
.badge.violet { background: hsl(268 60% 96%); color: hsl(268 60% 38%); border-color: hsl(268 50% 84%); }
.badge.dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; margin-right: 2px; opacity: 0.85; }

/* Table */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; font-weight: 500;
  font-size: 11.5px;
  color: hsl(var(--muted-foreground));
  padding: 11px 16px;
  background: hsl(195 36% 98%);
  border-bottom: 1px solid hsl(var(--border));
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table td {
  padding: 12px 16px;
  border-bottom: 1px solid hsl(var(--border));
  vertical-align: middle;
  height: var(--row-height);
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background 80ms; }
.table tbody tr:hover { background: hsl(var(--accent) / 0.5); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; }
.table .code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; color: hsl(var(--muted-foreground)); }

/* Tabs */
.tabs { display: inline-flex; padding: 4px; background: hsl(var(--muted)); border-radius: 10px; gap: 2px; }
.tab {
  padding: 7px 14px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 13px; font-weight: 500;
  transition: background 120ms, color 120ms;
}
.tab.active { background: hsl(var(--background)); color: hsl(var(--foreground)); box-shadow: var(--shadow-sm); }
.tab:hover:not(.active) { color: hsl(var(--foreground)); }

/* Stat / KPI */
.stat-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.stat {
  padding: 20px 22px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 160ms, transform 160ms;
}
.stat:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.stat-label { font-size: 11px; color: hsl(var(--muted-foreground)); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-value { font-family: 'Fraunces', Georgia, serif; font-size: 25px; font-weight: 600; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: 12px; color: hsl(var(--muted-foreground)); margin-top: 6px; }
.stat-delta { font-size: 12px; color: hsl(var(--muted-foreground)); margin-top: 6px; font-weight: 500; }
.stat-delta.up { color: hsl(var(--success)); }
.stat-delta.down { color: hsl(var(--destructive)); }

/* Avatar */
.avatar {
  width: 34px; height: 34px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
  color: white;
  flex-shrink: 0;
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
}
.avatar.sm { width: 26px; height: 26px; font-size: 10.5px; }
.avatar.lg { width: 44px; height: 44px; font-size: 14.5px; }

/* Dialog */
.dialog-backdrop {
  position: fixed; inset: 0;
  background: hsl(200 30% 18% / 0.4);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: grid; place-items: center;
  padding: 24px;
  animation: fade-in 150ms ease;
}
.dialog {
  background: hsl(var(--card));
  border-radius: 16px;
  border: 1px solid hsl(var(--border));
  width: 100%; max-width: 580px;
  max-height: 90vh; overflow: auto;
  box-shadow: var(--shadow-lg);
  animation: pop-in 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dialog-header { padding: 22px 24px 12px; }
.dialog-title { font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 4px; }
.dialog-desc { font-size: 13px; color: hsl(var(--muted-foreground)); margin: 0; }
.dialog-body { padding: 8px 24px 20px; }
.dialog-footer { padding: 16px 24px; border-top: 1px solid hsl(var(--border)); display: flex; justify-content: flex-end; gap: 10px; background: hsl(195 36% 98%); }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Toast */
.toast-stack {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  background: hsl(200 30% 14%);
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: toast-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toast.success { background: hsl(158 60% 26%); }
.toast.warn { background: hsl(28 80% 36%); }
.toast.danger { background: hsl(0 72% 38%); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Layout helpers */
.row { display: flex; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.between { justify-content: space-between; }
.gap-1 { gap: 6px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.p-1 { padding: 6px; } .p-2 { padding: 8px; } .p-3 { padding: 12px; } .p-4 { padding: 16px; } .p-6 { padding: 24px; }
.muted { color: hsl(var(--muted-foreground)); }
.text-sm { font-size: 12.5px; } .text-lg { font-size: 16px; }
.flex-1 { flex: 1; }
.right { text-align: right; }
.wrap { flex-wrap: wrap; }

/* Density variants */
.density-compact { --row-height: 36px; --card-padding: 16px; }
.density-compact .table td { padding: 8px 12px; font-size: 12.5px; }
.density-compact .table th { padding: 9px 12px; }
.density-compact .card-header { padding: 14px 16px 10px; }
.density-compact .card-body { padding: 0 16px 16px; }
.density-compact .stat { padding: 14px 16px; }
.density-compact .nav-item { padding: 8px 10px; font-size: 13px; }
.density-spacious { --row-height: 56px; --card-padding: 28px; }
.density-spacious .table td { padding: 16px 22px; }
.density-spacious .table th { padding: 14px 22px; }
.density-spacious .card-header { padding: 26px 28px 18px; }
.density-spacious .card-body { padding: 0 28px 28px; }
.density-spacious .stat { padding: 26px 28px; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: hsl(196 14% 82%); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: hsl(196 14% 65%); border: 2px solid transparent; background-clip: content-box; }

/* Layout grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.stack-6 { display: flex; flex-direction: column; gap: 22px; }

/* Filter bar */
.filter-bar {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 12px 14px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.filter-bar input, .filter-bar select {
  height: 34px; padding: 0 10px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: hsl(var(--background));
  font-size: 13px;
  outline: none;
}
.filter-bar input:focus, .filter-bar select:focus {
  border-color: hsl(var(--accent-h) var(--accent-s) 60%);
  box-shadow: 0 0 0 2px hsl(var(--accent-h) var(--accent-s) 60% / 0.18);
}
.filter-bar .filter-search { flex: 1; min-width: 200px; }

/* KPI icon */
.kpi-icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: hsl(var(--accent-h) var(--accent-s) 95%);
  color: hsl(var(--accent-h) var(--accent-s) 30%);
  display: grid; place-items: center;
}
.kpi-icon[data-tone="warn"]    { background: hsl(38 95% 92%); color: hsl(35 80% 38%); }
.kpi-icon[data-tone="danger"]  { background: hsl(0 80% 94%);  color: hsl(0 70% 42%); }
.kpi-icon[data-tone="success"] { background: hsl(158 60% 92%); color: hsl(158 60% 32%); }
.kpi-icon[data-tone="info"]    { background: hsl(220 70% 94%); color: hsl(220 70% 40%); }
.kpi-progress { margin-top: 10px; height: 5px; border-radius: 999px; background: hsl(var(--muted)); overflow: hidden; }
.kpi-progress > div { height: 100%; border-radius: 999px; background: hsl(var(--accent-h) var(--accent-s) var(--accent-l)); transition: width 200ms ease; }

/* Hairline / divider */
.hairline, .divider { height: 1px; background: hsl(var(--border)); margin: 14px 0; }

/* Callout */
.callout {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius); border: 1px solid hsl(var(--border));
  background: hsl(var(--muted));
}
.callout > svg { flex-shrink: 0; margin-top: 2px; color: hsl(var(--muted-foreground)); }
.callout.accent { background: hsl(var(--accent-h) var(--accent-s) 96%); border-color: hsl(var(--accent-h) var(--accent-s) 86%); }
.callout.accent > svg { color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 8%)); }
.callout.warn   { background: hsl(38 90% 96%); border-color: hsl(38 90% 80%); }
.callout.warn   > svg { color: hsl(38 90% 42%); }
.callout.danger { background: hsl(0 72% 97%); border-color: hsl(0 72% 86%); }
.callout.danger > svg { color: hsl(0 72% 48%); }

/* Info cell */
.info-cell { padding: 12px 14px; background: hsl(var(--muted) / 0.55); border: 1px solid hsl(var(--border)); border-radius: 10px; }
.info-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: hsl(var(--muted-foreground)); font-weight: 600; }
.info-value { font-family: 'Fraunces', Georgia, serif; font-size: 16.5px; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -0.015em; }

/* Compact key-value list (drawers, detail panels) */
.kv-grid { display: flex; flex-direction: column; gap: 0; border-top: 1px solid hsl(var(--border)); }
.kv {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 8px 0;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 12.5px;
}
.kv-k { color: hsl(var(--muted-foreground)); font-weight: 500; flex-shrink: 0; }
.kv-v { font-weight: 500; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.kv-v.mono, .mono.kv-v { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-variant-numeric: tabular-nums; }

/* Doc header */
.doc-header {
  background: linear-gradient(to right, hsl(var(--accent-h) var(--accent-s) 96%), hsl(var(--accent-h) var(--accent-s) 99%));
  border-left: 4px solid hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  padding: 14px 18px;
  border-radius: 10px 10px 0 0;
  display: flex; align-items: center; justify-content: space-between;
}
.doc-id { font-family: ui-monospace, monospace; font-size: 13.5px; font-weight: 600; color: hsl(var(--accent-h) var(--accent-s) 28%); }

/* ── RENTAL-SPECIFIC ──────────────────────────────────────────────── */

/* Vehicle card */
.veh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.veh-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 160ms ease;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  position: relative;
}
.veh-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: hsl(var(--accent-h) var(--accent-s) 65%); }
.veh-card.selected { border-color: hsl(var(--accent-h) var(--accent-s) var(--accent-l)); box-shadow: 0 0 0 3px hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.18), var(--shadow); }
.veh-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, hsl(195 36% 95%), hsl(196 40% 90%));
  border-radius: 10px;
  display: grid; place-items: center;
  color: hsl(var(--accent-h) var(--accent-s) 38%);
  position: relative;
  overflow: hidden;
}
.veh-thumb.premium { background: linear-gradient(135deg, hsl(45 50% 92%), hsl(40 60% 86%)); color: hsl(35 70% 38%); }
.veh-thumb.suv     { background: linear-gradient(135deg, hsl(160 28% 92%), hsl(165 32% 86%)); color: hsl(165 50% 32%); }
.veh-thumb.mpv     { background: linear-gradient(135deg, hsl(220 32% 94%), hsl(215 36% 88%)); color: hsl(220 50% 38%); }
.veh-thumb.city    { background: linear-gradient(135deg, hsl(195 36% 95%), hsl(196 40% 89%)); color: hsl(195 60% 32%); }
.veh-thumb.bike    { background: linear-gradient(135deg, hsl(0 30% 95%), hsl(8 36% 90%)); color: hsl(0 60% 38%); }
.veh-thumb svg { width: 56%; height: auto; opacity: 0.85; }
.veh-plate {
  position: absolute; top: 10px; left: 10px;
  font-family: ui-monospace, monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.92);
  color: #111;
  padding: 3px 7px; border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.veh-cat-tag {
  position: absolute; top: 10px; right: 10px;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 7px; border-radius: 999px;
  background: rgba(255,255,255,0.85);
  color: hsl(var(--accent-h) var(--accent-s) 28%);
  border: 1px solid rgba(0,0,0,0.06);
}
.veh-name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.veh-meta { font-size: 11.5px; color: hsl(var(--muted-foreground)); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.veh-meta .dot { width: 3px; height: 3px; background: currentColor; border-radius: 999px; opacity: 0.5; }
.veh-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px; font-weight: 600;
  color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 6%));
  font-variant-numeric: tabular-nums;
}
.veh-row-bottom { display: flex; align-items: center; justify-content: space-between; }

/* Tracking layout */
.tracking-shell {
  display: grid;
  grid-template-columns: 320px 1fr 360px;
  gap: 14px;
  min-height: calc(100vh - 160px);
}
@media (max-width: 1280px) { .tracking-shell { grid-template-columns: 280px 1fr 320px; } }
@media (max-width: 1100px) { .tracking-shell { grid-template-columns: 1fr; } }

.trk-list {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.trk-list-head {
  padding: 12px 14px; border-bottom: 1px solid hsl(var(--border));
  display: flex; flex-direction: column; gap: 8px;
  background: hsl(195 36% 98%);
}
.trk-list-title { font-family: 'Fraunces', Georgia, serif; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.trk-list-body { flex: 1; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.trk-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  padding: 10px 11px;
  display: flex; flex-direction: column; gap: 6px;
  cursor: pointer;
  transition: all 120ms ease;
  font-family: inherit;
  text-align: left;
}
.trk-item:hover { border-color: hsl(var(--accent-h) var(--accent-s) 65%); background: hsl(195 36% 99%); }
.trk-item.selected {
  border-color: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  background: hsl(var(--accent-h) var(--accent-s) 97%);
  box-shadow: 0 0 0 2px hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.15);
}
.trk-item-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.trk-item-plate { font-family: ui-monospace, monospace; font-size: 11.5px; font-weight: 700; }
.trk-item-name { font-size: 12.5px; font-weight: 600; }
.trk-item-meta { font-size: 11px; color: hsl(var(--muted-foreground)); display: flex; align-items: center; gap: 5px; }

/* Map */
.trk-map-wrap {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.trk-map-toolbar {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3;
  display: flex; justify-content: space-between; gap: 8px;
  pointer-events: none;
}
.trk-map-toolbar > * { pointer-events: auto; }
.trk-chip {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-sm);
}
.trk-chip.live::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: hsl(0 72% 50%);
  animation: pulse-live 1.4s infinite;
}
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 0 hsl(0 72% 50% / 0.6); }
  50%      { box-shadow: 0 0 0 4px hsl(0 72% 50% / 0); }
}
.trk-map-svg {
  width: 100%; flex: 1;
  background:
    radial-gradient(ellipse at 30% 40%, hsl(195 60% 92%) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, hsl(180 50% 90%) 0%, transparent 60%),
    linear-gradient(180deg, hsl(195 50% 94%), hsl(195 40% 90%));
  display: block;
}
.trk-map-legend {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11.5px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-sm);
}
.trk-map-legend .row { gap: 6px; font-size: 11px; }
.legend-dot { display: inline-block; width: 9px; height: 9px; border-radius: 999px; }

/* Map markers */
.marker {
  cursor: pointer;
  transition: transform 120ms ease;
}
.marker:hover { transform: scale(1.15); }
.marker-pulse {
  animation: pulse-marker 1.8s infinite;
  transform-origin: center;
}
@keyframes pulse-marker {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0; transform: scale(2.4); }
}

/* Trip detail drawer */
.trip-detail {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.trip-detail-head {
  padding: 14px 16px;
  border-bottom: 1px solid hsl(var(--border));
  background: linear-gradient(135deg, hsl(var(--accent-h) var(--accent-s) 96%), hsl(var(--accent-h) var(--accent-s) 99%));
}
.trip-detail-body { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.trip-detail-tabs { padding: 10px 12px 0; border-bottom: 1px solid hsl(var(--border)); display: flex; gap: 0; }
.trip-detail-tab {
  padding: 8px 12px;
  font-size: 12.5px; font-weight: 500;
  color: hsl(var(--muted-foreground));
  border: none; background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
.trip-detail-tab.active { color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 8%)); border-bottom-color: hsl(var(--accent-h) var(--accent-s) var(--accent-l)); }

/* Trip timeline */
.trip-timeline { position: relative; padding-left: 22px; }
.trip-timeline::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px; background: hsl(var(--border));
}
.trip-step { position: relative; padding: 4px 0 14px; font-size: 12.5px; }
.trip-step:last-child { padding-bottom: 0; }
.trip-step::before {
  content: ''; position: absolute; left: -22px; top: 6px;
  width: 14px; height: 14px; border-radius: 999px;
  background: hsl(var(--background));
  border: 2px solid hsl(var(--border));
}
.trip-step.done::before { background: hsl(158 56% 42%); border-color: hsl(158 56% 42%); }
.trip-step.active::before { background: hsl(var(--accent-h) var(--accent-s) var(--accent-l)); border-color: hsl(var(--accent-h) var(--accent-s) var(--accent-l)); box-shadow: 0 0 0 4px hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 0.15); }
.trip-step .label { font-weight: 600; font-size: 13px; }
.trip-step .meta { color: hsl(var(--muted-foreground)); font-size: 11.5px; margin-top: 2px; }

/* Gauge */
.gauge {
  position: relative; height: 8px; border-radius: 999px;
  background: hsl(var(--muted)); overflow: hidden;
}
.gauge > .fill { height: 100%; border-radius: 999px; background: hsl(var(--accent-h) var(--accent-s) var(--accent-l)); transition: width 250ms ease; }
.gauge > .fill.fuel-low { background: hsl(0 72% 52%); }
.gauge > .fill.fuel-med { background: hsl(38 90% 52%); }
.gauge > .fill.fuel-ok  { background: hsl(158 56% 42%); }

/* Booking calendar */
.booking-cal {
  display: grid;
  grid-template-columns: 180px repeat(14, minmax(36px, 1fr));
  gap: 1px;
  background: hsl(var(--border));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  overflow: hidden;
  font-size: 11.5px;
}
.booking-cal-head, .booking-cal-cell {
  background: hsl(var(--card));
  padding: 8px 10px;
  min-height: 40px;
  display: flex; align-items: center;
}
.booking-cal-head { font-weight: 600; color: hsl(var(--muted-foreground)); font-size: 11px; background: hsl(195 36% 98%); justify-content: center; text-align: center; flex-direction: column; gap: 0; line-height: 1.1; }
.booking-cal-head.weekend { color: hsl(0 60% 50%); }
.booking-cal-row-label {
  background: hsl(195 36% 98%);
  padding: 8px 12px;
  font-weight: 600; font-size: 12px;
  font-family: ui-monospace, monospace;
  display: flex; flex-direction: column; gap: 2px;
  justify-content: center;
}
.booking-cal-row-label .veh-mini { font-size: 10.5px; color: hsl(var(--muted-foreground)); font-family: 'Inter', sans-serif; font-weight: 500; }
.booking-cal-cell { padding: 6px 4px; position: relative; min-height: 44px; }
.booking-bar {
  position: absolute;
  z-index: 1;
  top: 8px; bottom: 8px;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 10.5px; font-weight: 600;
  color: white;
  display: flex; align-items: center;
  white-space: nowrap; overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.booking-bar.active   { background: linear-gradient(90deg, hsl(28 78% 52%), hsl(20 78% 48%)); }
.booking-bar.upcoming { background: linear-gradient(90deg, hsl(var(--accent-h) var(--accent-s) 52%), hsl(var(--accent-h) calc(var(--accent-s) - 6%) 44%)); }
.booking-bar.overdue  { background: linear-gradient(90deg, hsl(0 72% 52%), hsl(0 72% 44%)); }
.booking-bar.done     { background: linear-gradient(90deg, hsl(158 56% 44%), hsl(158 56% 36%)); opacity: 0.8; }
.booking-bar.maint    { background: linear-gradient(90deg, hsl(220 14% 56%), hsl(220 14% 48%)); }

/* Checklist (BAST) */
.checklist { display: flex; flex-direction: column; gap: 8px; }
.check-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  background: hsl(var(--card));
  font-size: 13px;
  transition: all 120ms;
  cursor: pointer;
}
.check-item:hover { background: hsl(var(--accent) / 0.5); }
.check-item.checked { background: hsl(158 50% 97%); border-color: hsl(158 40% 80%); }
.check-item.fail { background: hsl(0 80% 97%); border-color: hsl(0 60% 84%); }
.check-box {
  width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid hsl(var(--border));
  background: hsl(var(--card));
  display: grid; place-items: center;
  flex-shrink: 0;
  color: hsl(158 56% 42%);
}
.check-item.checked .check-box { background: hsl(158 56% 42%); border-color: hsl(158 56% 42%); color: white; }
.check-item.fail .check-box { background: hsl(0 72% 50%); border-color: hsl(0 72% 50%); color: white; }
.check-item .check-name { flex: 1; font-weight: 500; }
.check-item .check-meta { font-size: 11px; color: hsl(var(--muted-foreground)); }

/* Damage map */
.damage-canvas {
  background: linear-gradient(135deg, hsl(195 36% 95%), hsl(196 40% 90%));
  border: 1px dashed hsl(var(--border));
  border-radius: 12px;
  padding: 18px;
  position: relative;
  aspect-ratio: 16 / 9;
}
.damage-marker {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: hsl(0 72% 50%);
  color: white;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  cursor: pointer;
}

/* Mobile frame (for driver-app & customer-web previews) */
.phone-frame {
  width: 360px;
  height: 720px;
  background: #111;
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
}
.phone-frame::before {
  content: ''; position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #111;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  background: hsl(195 36% 98%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.phone-status {
  height: 36px;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 8px 22px;
  font-size: 11.5px; font-weight: 600;
}
.phone-body { flex: 1; overflow-y: auto; padding: 8px 14px 14px; }
.phone-tabbar {
  height: 64px;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  display: flex; align-items: center; justify-content: space-around;
  padding-bottom: 8px;
}
.phone-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; color: hsl(var(--muted-foreground));
  background: none; border: 0;
}
.phone-tab.active { color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 8%)); }
.phone-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; padding: 12px 0; }
.phone-card {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 14px;
  padding: 12px 14px; margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.phone-section-title { font-family: 'Fraunces', Georgia, serif; font-size: 14px; font-weight: 600; margin: 12px 0 6px; }
.phone-btn {
  display: block; width: 100%;
  padding: 12px;
  background: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  color: white;
  border: 0; border-radius: 12px;
  font-size: 13.5px; font-weight: 600;
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}
.phone-btn.outline { background: transparent; color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 4%)); border: 1px solid hsl(var(--accent-h) var(--accent-s) 70%); }
.phone-btn.danger  { background: hsl(0 72% 50%); }

/* Customer web mock (web landing) */
.cw-shell {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.cw-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: hsl(195 36% 97%);
  border-bottom: 1px solid hsl(var(--border));
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}
.cw-dot { width: 10px; height: 10px; border-radius: 999px; background: hsl(var(--border)); }
.cw-url { flex: 1; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 6px; padding: 4px 10px; font-family: ui-monospace, monospace; font-size: 11.5px; }
.cw-body { padding: 28px 36px 44px; }
.cw-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center;
  padding: 8px 0 24px;
}
.cw-hero h2 { font-family: 'Fraunces', Georgia, serif; font-size: 32px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 10px; }
.cw-hero p { color: hsl(var(--muted-foreground)); margin: 0; font-size: 14.5px; max-width: 480px; }
.cw-search {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 8px;
  padding: 14px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.cw-status-card {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px;
  background: hsl(var(--accent-h) var(--accent-s) 97%);
  border: 1px solid hsl(var(--accent-h) var(--accent-s) 82%);
  border-radius: 12px;
}
.cw-veh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* Alert / activity */
.activity {
  display: flex; flex-direction: column; gap: 0;
}
.activity-item {
  display: grid; grid-template-columns: 28px 1fr auto;
  gap: 10px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed hsl(var(--border));
  font-size: 12.5px;
}
.activity-item:last-child { border-bottom: none; }
.activity-icon {
  width: 28px; height: 28px; border-radius: 999px;
  display: grid; place-items: center;
  background: hsl(var(--accent-h) var(--accent-s) 95%);
  color: hsl(var(--accent-h) var(--accent-s) 28%);
}
.activity-icon[data-tone="warn"]    { background: hsl(38 95% 92%); color: hsl(35 80% 38%); }
.activity-icon[data-tone="danger"]  { background: hsl(0 80% 94%);  color: hsl(0 70% 42%); }
.activity-icon[data-tone="success"] { background: hsl(158 60% 92%); color: hsl(158 60% 32%); }
.activity-text { line-height: 1.45; }
.activity-time { font-size: 11px; color: hsl(var(--muted-foreground)); font-variant-numeric: tabular-nums; }

/* Utilization bar / leaderboard */
.lb-row {
  display: grid; grid-template-columns: 26px 1fr 80px 60px;
  gap: 12px; align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed hsl(var(--border));
  font-size: 12.5px;
}
.lb-row:last-child { border-bottom: none; }
.lb-rank { font-family: 'Fraunces', Georgia, serif; font-weight: 700; color: hsl(var(--muted-foreground)); text-align: center; font-size: 13px; }
.lb-bar { height: 6px; border-radius: 999px; background: hsl(var(--muted)); overflow: hidden; }
.lb-bar > div { height: 100%; background: hsl(var(--accent-h) var(--accent-s) var(--accent-l)); border-radius: 999px; }
.lb-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

/* Sparkbars (utilisasi mingguan kecil) */
.spark { display: inline-flex; align-items: flex-end; gap: 2px; height: 22px; }
.spark > i { width: 4px; background: hsl(var(--accent-h) var(--accent-s) var(--accent-l)); border-radius: 1px; opacity: 0.85; }
.spark > i.muted { background: hsl(var(--muted)); }

/* Period selector */
.period-selector {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px 4px 14px;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  font-size: 13px; font-weight: 500;
  color: hsl(var(--foreground));
  cursor: pointer;
  height: 34px;
}
.period-selector:hover { background: hsl(var(--accent)); }

/* Empty state */
.empty { padding: 40px 24px; text-align: center; color: hsl(var(--muted-foreground)); font-size: 13.5px; }

/* Drawer */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: hsl(200 30% 18% / 0.42);
  display: flex; justify-content: flex-end;
  z-index: 100;
  animation: fade-in 120ms ease;
}
.drawer {
  width: min(560px, 92vw); height: 100%;
  background: hsl(var(--background));
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.18);
  animation: slide-in 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.drawer-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid hsl(var(--border));
}
.drawer-title { font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px 26px; }
.drawer-tabs {
  display: flex; gap: 0;
  padding: 0 26px;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(195 36% 99%);
}
.drawer-tab {
  appearance: none; background: transparent; border: 0;
  padding: 12px 14px;
  font-size: 12.5px; font-weight: 500;
  color: hsl(var(--muted-foreground));
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 120ms ease, border-color 120ms ease;
}
.drawer-tab:hover { color: hsl(var(--foreground)); }
.drawer-tab.active {
  color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 8%));
  border-bottom-color: hsl(var(--accent-h) var(--accent-s) calc(var(--accent-l) - 8%));
  font-weight: 600;
}
@keyframes slide-in {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
