:root {
  /* Exact palette supplied for the app */
  --g-950: #051F20;
  --g-900: #0B2B26;
  --g-800: #163832;
  --g-700: #235347;
  --g-400: #8EB69B;
  --g-100: #DAF1DE;

  --color-bg: #EFF6F1;
  --color-surface: #FFFFFF;
  --color-primary: var(--g-800);
  --color-primary-dark: var(--g-900);
  --color-primary-darkest: var(--g-950);
  --color-accent: var(--g-700);
  --color-mint: var(--g-100);
  --color-text: var(--g-900);
  --color-muted: #5C6E65;
  --color-border: #DCE9E1;
  --radius: 16px;
  --radius-lg: 24px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22,.9,.3,1);
}

/* Native smooth cross-fade between full page navigations, wherever the
   browser supports it (Chromium-based browsers, including this app's own
   Capacitor WebView). Unsupported browsers just ignore this - no fallback
   needed, navigation behaves exactly as it always did. */
@view-transition {
  navigation: auto;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

a { color: var(--color-primary); }

/* ---------- Motion ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp .45s var(--ease) both; }

@keyframes pulseOnce {
  0% { transform: scale(.96); opacity: 0; }
  60% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); }
}

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 34px; height: 34px; border-radius: 9px; display: block; }
.brand-icon-sm { width: 28px; height: 28px; border-radius: 7px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 0.95rem; color: inherit; }
.brand-text small { font-size: 0.62rem; letter-spacing: 0.09em; opacity: 0.7; }

.profile-menu { position: relative; }
.profile-btn {
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08);
  border: none; border-radius: 999px; padding: 6px 12px 6px 6px; cursor: pointer;
  color: #fff; font-family: inherit; font-size: 0.82rem; font-weight: 600;
}
.profile-btn .avatar {
  width: 24px; height: 24px; border-radius: 50%; background: var(--color-mint); color: var(--g-900);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700;
}
.profile-btn svg { opacity: 0.7; }

.profile-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: #fff; border-radius: 12px; box-shadow: 0 12px 28px rgba(5,31,32,0.22);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
  z-index: 30;
}
.profile-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.profile-menu .profile-dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px; color: var(--color-text) !important;
  text-decoration: none; font-size: 0.88rem; font-weight: 500; opacity: 1 !important;
}
.profile-menu .profile-dropdown a:hover { background: var(--color-bg); }

.brand-bar {
  background: var(--color-primary-dark); color: #fff;
  padding: 14px 20px; display: flex; justify-content: space-between; align-items: center;
}
.brand-user { font-size: 0.82rem; opacity: 0.85; }

.topbar {
  background: var(--color-primary-dark); color: #fff; padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar h1 { font-size: 1.05rem; margin: 0; font-weight: 600; }
.topbar a { color: #fff; text-decoration: none; font-size: 0.85rem; opacity: 0.85; }
.topbar a:hover { opacity: 1; }

/* ---------- Layout ---------- */
.container { max-width: 480px; margin: 0 auto; padding: 24px 20px 60px; }
.container.wide { max-width: 800px; }
.container.has-dock { padding-bottom: 118px; }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(5,31,32,0.04);
}

h2.page-title { font-size: 1.2rem; margin: 4px 0 18px; letter-spacing: -0.01em; }
p.page-sub { color: var(--color-muted); font-size: 0.88rem; margin-top: -12px; margin-bottom: 18px; }

/* ---------- Forms ---------- */
label { display: block; font-size: 0.82rem; color: var(--color-muted); margin: 14px 0 6px; font-weight: 500; }
.optional-tag { font-weight: 400; font-style: italic; opacity: 0.75; margin-left: 4px; }

input[type=text], input[type=tel], input[type=password], input[type=date], input[type=number], select {
  width: 100%;
  padding: 13px 14px;
  font-size: 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
input:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(35,83,71,0.12);
}

.btn {
  display: inline-block;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  transition: transform .12s var(--ease), box-shadow .15s var(--ease), opacity .15s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-primary-dark); color: var(--color-mint); box-shadow: 0 6px 16px rgba(11,43,38,0.25); }
.btn-primary:hover { background: var(--color-primary-darkest); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 6px 16px rgba(35,83,71,0.22); }
.btn-outline { background: transparent; border: 1.5px solid var(--color-primary); color: var(--color-primary); box-shadow: none; }
.btn + .btn { margin-top: 10px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.receipt-actions { display: flex; gap: 10px; margin-top: 6px; }
.receipt-actions .btn { margin-top: 0; }

.link-btn {
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  color: var(--color-primary); font-size: inherit; font-family: inherit; text-decoration: underline;
}
.logout-link { display: block; text-align: center; margin-top: 22px; color: var(--color-muted); font-size: 0.85rem; }

/* ---------- Role toggle + PIN (login) ---------- */
.role-toggle { display: flex; border: 1.5px solid var(--color-border); border-radius: 999px; overflow: hidden; margin-top: 14px; padding: 3px; background: #F4F8F5; }
.role-btn {
  flex: 1; padding: 9px; border: none; background: transparent; color: var(--color-muted);
  font-family: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.role-btn.active { background: var(--color-primary-dark); color: var(--color-mint); }
.role-toggle a.role-btn { text-decoration: none; display: flex; align-items: center; justify-content: center; }
.muted-text { font-size: 0.82rem; color: var(--color-muted); }
.vtype-info .muted-text { display: block; margin-top: 4px; }

.pin-boxes { display: flex; gap: 10px; justify-content: center; margin: 22px 0 6px; }
.pin-boxes input {
  width: 54px; height: 62px;
  text-align: center; font-size: 1.6rem; font-weight: 700;
  border-radius: 14px; border: 1.5px solid var(--color-border);
}

/* ---------- Alerts ---------- */
.error {
  background: #FCEBE7; color: #9C3B24; border: 1px solid #F2C8BC;
  padding: 11px 14px; border-radius: 12px; margin-top: 14px; font-size: 0.9rem;
}
.success {
  background: #E4F2E9; color: var(--g-800); border: 1px solid #BFE2CF;
  padding: 11px 14px; border-radius: 12px; margin-top: 14px; font-size: 0.9rem;
}

/* ---------- Stats / tables ---------- */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.stat {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary); border-radius: 12px; padding: 14px 16px;
}
.stat .value { font-size: 1.4rem; font-weight: 700; }
.stat .label { font-size: 0.78rem; color: var(--color-muted); }

table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--color-border); }
th { color: var(--color-muted); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: .04em; }
.table-wrap { overflow-x: auto; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.badge-open { background: #FCEFE3; color: #A85B18; }
.badge-closed { background: #E4F2E9; color: var(--g-800); }
.badge-active { background: #E4F2E9; color: var(--g-800); }
.badge-inactive { background: #F0EFEC; color: #8A8A83; }

/* ---------- Dashboard: smooth AJAX period transitions ---------- */
#dashboardContent { transition: opacity .22s var(--ease), transform .22s var(--ease); }
#dashboardContent.is-loading { opacity: 0.35; transform: translateY(2px); pointer-events: none; }

.chart-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
#chartInner { height: 220px; }
#chartInner canvas { height: 220px !important; }

.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .analytics-grid { grid-template-columns: 1fr; } }

/* Vehicle type breakdown */
.vtype-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.vtype-row:last-child { border-bottom: none; }
.vtype-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.vtype-icon-car { background: var(--g-100); color: var(--g-800); }
.vtype-icon-tw { background: #FBEAE3; color: #B04A2E; }
.vtype-info { flex: 1; min-width: 0; }
.vtype-top { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.vtype-bar { height: 7px; border-radius: 999px; background: var(--color-bg); overflow: hidden; }
.vtype-bar-fill { height: 100%; background: var(--g-800); border-radius: 999px; transition: width .3s var(--ease); }
.vtype-bar-fill-tw { background: #B04A2E; }

/* Top collectors */
.collector-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.collector-row:last-child { border-bottom: none; }
.collector-rank { width: 18px; flex-shrink: 0; font-size: 0.78rem; font-weight: 700; color: var(--color-muted); text-align: center; }
.collector-avatar {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--g-100); color: var(--g-800);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700;
}
.collector-info { flex: 1; min-width: 0; }
.collector-top { display: flex; justify-content: space-between; font-size: 0.88rem; font-weight: 600; margin-bottom: 5px; }
.collector-bar { height: 6px; border-radius: 999px; background: var(--color-bg); overflow: hidden; }
.collector-bar-fill { height: 100%; background: var(--color-accent); border-radius: 999px; transition: width .3s var(--ease); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Auth shell (login page background) ---------- */
.auth-shell {
  background: radial-gradient(circle at 30% 0%, var(--g-700) 0%, var(--g-900) 45%, var(--g-950) 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
.auth-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.auth-bg svg { width: 100%; height: 100%; display: block; }
.auth-shell .container { position: relative; z-index: 1; }

.auth-logo { text-align: center; padding-top: 36px; margin-bottom: 22px; color: var(--color-mint); position: relative; }
.auth-logo img {
  width: 68px; height: 68px; border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.45), 0 0 0 6px rgba(218,241,222,0.07);
}
.auth-logo h1 { margin: 14px 0 2px; font-size: 1.4rem; }
.auth-logo p { margin: 0; font-size: 0.78rem; letter-spacing: 0.06em; opacity: 0.75; }

.auth-shell .card {
  box-shadow: 0 24px 60px rgba(5,31,32,0.45);
  border: none;
  position: relative;
}
/* A soft curved "lip" above the card, echoing the pass-header treatment elsewhere */
.auth-shell .card::before {
  content: "";
  position: absolute; left: 50%; top: -9px; transform: translateX(-50%);
  width: 56px; height: 18px; border-radius: 0 0 18px 18px;
  background: var(--color-surface);
  box-shadow: 0 6px 14px rgba(5,31,32,0.12);
}

/* ---------- Collector menu ---------- */
.greeting { font-size: 1.1rem; font-weight: 600; margin: 4px 0 18px; }
.menu-grid { display: grid; gap: 14px; margin-top: 10px; }
.menu-tile {
  display: block; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--color-text);
  text-align: center; font-weight: 600; transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.menu-tile:active { transform: scale(0.98); }
.menu-tile:hover { box-shadow: 0 8px 20px rgba(11,43,38,0.10); }
.menu-tile-subtitle { display: block; font-size: 0.8rem; color: var(--color-muted); font-weight: 400; margin-top: 4px; }
.menu-tile-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; background: var(--g-100); color: var(--g-800);
  margin: 0 auto 10px;
}

/* ---------- Dock (bottom nav for collector screens) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: flex; align-items: flex-end; justify-content: center; gap: 28px;
  padding: 12px 24px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(11,43,38,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 20;
}
.dock-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: rgba(218,241,222,0.65); text-decoration: none; font-size: 0.68rem; font-weight: 600;
  min-width: 48px; transition: color .15s var(--ease), transform .15s var(--ease);
}
.dock-item:active { transform: scale(0.92); }
.dock-item.active { color: var(--color-mint); }
.dock-item-main {
  background: var(--color-accent); color: #fff !important;
  width: 56px; height: 56px; border-radius: 50%;
  align-items: center; justify-content: center;
  margin-top: -22px;
  box-shadow: 0 8px 20px rgba(35,83,71,0.45);
  border: 4px solid var(--color-bg);
}
.dock-item-main.active { background: var(--g-800); }

/* ---------- Receipt (legacy simple version, still used for structure fallback) ---------- */
.receipt-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--color-border); font-size: 0.9rem; text-align: left; }
.receipt-amount { font-size: 1.6rem; font-weight: 700; color: var(--color-primary); margin: 14px 0; }

/* ---------- Parking Pass receipt page ---------- */
.pass-header {
  background: linear-gradient(135deg, var(--g-700), var(--g-900));
  color: #fff; padding: 22px 20px 46px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 0 0 28px 28px;
}
.pass-header h1 { font-size: 1.05rem; margin: 0; font-weight: 600; }
.pass-back {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none;
}
.pass-logo { width: 28px; height: 28px; border-radius: 8px; }

.pass-container { margin-top: -34px; }
.pass-card {
  background: #fff; border-radius: var(--radius-lg); padding: 22px;
  box-shadow: 0 14px 34px rgba(5,31,32,0.12);
}

.pass-time-label { display: block; font-size: 0.7rem; color: var(--color-muted); margin-bottom: 3px; }
.pass-time-row { display: flex; align-items: center; justify-content: space-between; font-size: 1.15rem; }
.pass-time-link { color: var(--color-accent); }

.pass-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.pass-mini-card { background: var(--g-100); border-radius: 12px; padding: 10px 14px; }

.pass-divider { border-top: 1px solid var(--color-border); margin: 18px 0; }
.pass-divider.dashed { border-top-style: dashed; }

.pass-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.pass-detail-grid strong { display: block; margin-top: 1px; }
.pass-detail-grid .full { grid-column: 1 / -1; }

.pass-barcode { text-align: center; }
.pass-barcode svg { margin-top: 8px; }

.pass-amount-row { display: flex; justify-content: space-between; align-items: center; }
.pass-amount-row span { color: var(--color-muted); font-size: 0.85rem; }
.pass-amount-row em { font-style: normal; color: var(--g-800); font-weight: 600; }
.pass-amount-row strong { font-size: 1.6rem; color: var(--g-800); }

/* ---------- Admin shell ---------- */
.admin-shell-topbar {
  background: var(--color-primary-dark); color: #fff; padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.admin-shell-topbar a { color: #fff; text-decoration: none; font-size: 0.85rem; opacity: 0.85; }
.admin-tabs {
  display: flex; gap: 4px; background: var(--color-surface); border-bottom: 1px solid var(--color-border);
  padding: 0 16px; overflow-x: auto;
}
.admin-tabs a {
  padding: 14px 14px 12px; text-decoration: none; color: var(--color-muted);
  font-size: 0.88rem; font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.admin-tabs a.active { color: var(--color-primary); border-bottom-color: var(--color-accent); }

/* ---------- Activity log ---------- */
.range-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.range-toggle { max-width: none; width: auto; margin-top: 0; }
.range-toggle .role-btn { padding: 9px 14px; white-space: nowrap; }

.export-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.export-link { width: auto; padding: 8px 16px; font-size: 0.85rem; }
.export-group .btn + .btn { margin-top: 0; }
.custom-range-row {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--color-border);
}
.custom-range-row > div { flex: 1 1 150px; max-width: 240px; }
.custom-range-row .custom-date { min-width: 0; }
.custom-range-row .btn { width: auto; padding: 12px 22px; }
@media (max-width: 520px) { .custom-range-row .btn { flex: 1 1 100%; width: 100%; } }

#activityFeed { transition: opacity .2s var(--ease); }
#activityFeed.is-loading { opacity: 0.35; }

.activity-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--color-border);
}
.activity-item:last-child { border-bottom: none; }
.activity-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.activity-icon-entry { background: var(--g-100); color: var(--g-800); }
.activity-icon-exit { background: #FBEAE3; color: #B04A2E; }
.activity-body { flex: 1; min-width: 0; }
.activity-title { font-weight: 600; font-size: 0.92rem; }
.activity-type { font-weight: 400; color: var(--color-muted); font-size: 0.8rem; margin-left: 4px; }
.activity-amount { font-weight: 700; color: var(--g-800); margin-left: 8px; }
.activity-sub { color: var(--color-muted); font-size: 0.8rem; margin-top: 2px; }
.activity-time {
  flex-shrink: 0; text-align: right; font-size: 0.82rem; font-weight: 600; color: var(--color-text);
}
.activity-time span { display: block; font-weight: 400; color: var(--color-muted); font-size: 0.72rem; }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 18px; }
.page-btn {
  min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--color-border);
  background: #fff; border-radius: 10px; font-family: inherit; font-size: 0.85rem; font-weight: 600;
  color: var(--color-text); cursor: pointer; transition: all .15s var(--ease);
}
.page-btn:hover:not(:disabled) { border-color: var(--color-primary); color: var(--color-primary); }
.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.page-btn.active { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; }
.page-ellipsis { display: flex; align-items: center; color: var(--color-muted); padding: 0 4px; }

/* ---------- Custom calendar date/month picker ---------- */
.custom-date { position: relative; }
.date-display {
  width: 100%; text-align: left; padding: 13px 14px; font-size: 1rem;
  border: 1.5px solid var(--color-border); border-radius: 12px; background: #fff;
  font-family: inherit; cursor: pointer; color: var(--color-text);
}
.date-display:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(35,83,71,0.12); }

.date-popover {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: 280px;
  background: #fff; border-radius: 14px; box-shadow: 0 16px 36px rgba(5,31,32,0.22);
  padding: 14px;
}
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 700; color: var(--g-800); }
.cal-nav {
  width: 28px; height: 28px; border-radius: 8px; border: none; background: var(--color-bg);
  color: var(--g-800); font-size: 1rem; cursor: pointer;
}
.cal-nav:hover { background: var(--g-100); }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 0.7rem; color: var(--color-muted); margin-bottom: 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day {
  aspect-ratio: 1; border: none; background: none; border-radius: 8px; font-family: inherit;
  font-size: 0.85rem; cursor: pointer; color: var(--color-text);
}
.cal-day:hover { background: var(--color-bg); }
.cal-day.selected { background: var(--color-primary-dark); color: var(--color-mint); font-weight: 700; }
.cal-month-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cal-month {
  padding: 12px 0; border: none; background: var(--color-bg); border-radius: 10px; font-family: inherit;
  font-size: 0.85rem; font-weight: 600; cursor: pointer; color: var(--color-text);
}
.cal-month:hover { background: var(--g-100); }
.cal-month.selected { background: var(--color-primary-dark); color: var(--color-mint); }

/* ---------- Vehicle model dropdown ---------- */
.model-row { display: none; }
.model-row.visible { display: block; }

video { width: 100%; border-radius: 12px; background: #000; display: block; }

.camera-wrap { position: relative; margin-bottom: 14px; }
.camera-wrap video { margin-bottom: 0; }
.plate-guide {
  position: absolute; top: 35%; left: 10%; width: 80%; height: 30%;
  border: 3px dashed var(--color-mint); border-radius: 10px;
  display: flex; align-items: flex-end; justify-content: center;
  pointer-events: none; box-shadow: 0 0 0 999px rgba(0,0,0,0.35);
}
.plate-guide span {
  background: rgba(5,31,32,0.75); color: var(--color-mint); font-size: 0.72rem;
  font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-bottom: -14px;
}
