/* ============================================================
   PLAYGROUND PRO — Desain sistem (diadaptasi dari "Pola Pikir")
   Responsif: Android & layar lebar
   ============================================================ */
:root {
  --bg-body: #f1f5f9;
  --bg-card: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;

  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --text-strong: #0f172a;
  --text: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --text-inverse: #ffffff;

  --primary-50: #eef2ff;
  --primary-100: #e0e7ff;
  --primary-200: #c7d2fe;
  --primary-400: #818cf8;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --primary-900: #312e81;
  --primary-950: #1e1b4b;

  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --emerald-50: #ecfdf5;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-900: #064e3b;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-900: #78350f;
  --rose-50: #fff1f2;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-900: #881337;

  --dark-800: #1e293b;
  --dark-900: #0f172a;
  --dark-950: #020617;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-indigo: 0 4px 6px -1px rgba(199, 210, 254, 0.6);

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-body);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5 {
  color: var(--text-strong);
  letter-spacing: -0.025em;
  margin-top: 0;
}

a {
  color: var(--primary-600);
  text-decoration: none;
}

img {
  max-width: 100%;
}

.wrap {
  flex: 1;
  width: 100%;
}

.container {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* ---------- TOMBOL ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-primary {
  background: var(--primary-600);
  color: var(--text-inverse);
  box-shadow: var(--shadow-indigo);
}
.btn-primary:hover {
  background: var(--primary-700);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: #f1f5f9;
  color: var(--text);
  border: 1px solid rgba(203, 213, 225, 0.7);
}
.btn-secondary:hover {
  background: #e2e8f0;
  color: var(--text-strong);
}
.btn-success {
  background: var(--emerald-600);
  color: #fff;
}
.btn-success:hover {
  background: #047857;
}
.btn-danger {
  background: var(--rose-500);
  color: #fff;
}
.btn-danger:hover {
  background: var(--rose-600);
}
.btn-warning {
  background: var(--amber-500);
  color: #fff;
}
.btn-warning:hover {
  background: var(--amber-600);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  background: var(--bg-muted);
  color: var(--text-strong);
}
.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}
.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}
.btn-block { width: 100%; }

/* ---------- KARTU ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem;
}
.card-flat { box-shadow: none; }

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
}
.stat-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}
.stat-body { min-width: 0; }
.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- BANNER GRADASI ---------- */
.banner {
  background: linear-gradient(90deg, var(--primary-900), var(--primary-800), var(--dark-900));
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  color: #fff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.35), transparent 70%);
  pointer-events: none;
}
.banner h1, .banner h2 {
  color: #fff;
  margin-bottom: 0.4rem;
}
.banner h1 { font-size: 1.6rem; font-weight: 800; }
.banner h2 { font-size: 1.4rem; font-weight: 800; }
.banner p {
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}
.banner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ---------- BADGE ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-full);
  vertical-align: middle;
}
.badge-indigo {
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid rgba(199, 210, 254, 0.6);
}
.badge-amber {
  background: var(--amber-100);
  color: var(--amber-900);
  border: 1px solid rgba(253, 230, 138, 0.8);
}
.badge-emerald {
  background: var(--emerald-50);
  color: var(--emerald-900);
  border: 1px solid rgba(167, 243, 208, 0.8);
}
.badge-rose {
  background: var(--rose-50);
  color: var(--rose-900);
  border: 1px solid rgba(254, 205, 211, 0.8);
}
.badge-dark {
  background: rgba(30, 41, 59, 0.12);
  color: var(--dark-800);
  border: 1px solid rgba(30, 41, 59, 0.15);
}

/* ---------- FORM ---------- */
.field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.field-required { color: var(--rose-500); }
.input, .select, .textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-strong);
  transition: all 0.15s ease;
}
.select { appearance: auto; }
.textarea { resize: vertical; min-height: 80px; }
.input:focus, .select:focus, .textarea:focus {
  background: #fff;
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-200);
}
.form-group { margin-bottom: 1rem; }
.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.input-currency { font-weight: 700; }

/* ---------- TABEL ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 640px;
}
.table th {
  text-align: left;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  background: var(--bg-soft);
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  color: var(--text);
  vertical-align: middle;
}
.table tbody tr:hover { background: var(--bg-soft); }
.table tbody tr:last-child td { border-bottom: none; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* ---------- HEADER (sticky) ---------- */
.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.7rem 0;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.header-logo {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500), var(--sky-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-indigo);
}
.header-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}
.header-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0;
  white-space: nowrap;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.header-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.header-nav a:hover { background: var(--bg-muted); color: var(--text-strong); }
.header-nav a.active { color: var(--primary-700); background: var(--primary-50); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark-900);
  color: #cbd5e1;
  padding: 1.5rem 0;
  margin-top: 2.5rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}
.footer small { font-size: 0.78rem; color: #94a3b8; }

/* ---------- PAGE HEADER ---------- */
.page-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.25rem 0 1.25rem;
}
.page-header-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}
.page-header h1, .page-header h2 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.page-header p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ---------- GRID ---------- */
.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .row.cols-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .row.cols-2 { grid-template-columns: 1fr 1fr; }
  .row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .row.cols-4 { grid-template-columns: 1fr 1fr; }
  .row.stats { gap: 1rem; }
}
@media (min-width: 1024px) {
  .row.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .row.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.grid-gap-sm { gap: 0.75rem; }

.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.5rem; }
.mt-0 { margin-top: 0; }

/* ---------- TEKS ---------- */
.text-xs { font-size: 0.72rem; }
.text-sm { font-size: 0.82rem; }
.text-md { font-size: 0.95rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.35rem; }
.text-2xl { font-size: 1.75rem; }
.text-3xl { font-size: 2.25rem; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.strong { color: var(--text-strong); }
.white { color: #fff; }
.center { text-align: center; }
.right { text-align: right; }
.bold { font-weight: 700; }
.ebold { font-weight: 800; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- ALERT ---------- */
.alert {
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border: 1px solid;
}
.alert-success { background: var(--emerald-50); color: var(--emerald-900); border-color: rgba(52, 211, 153, 0.5); }
.alert-danger { background: var(--rose-50); color: var(--rose-900); border-color: rgba(251, 113, 133, 0.5); }
.alert-warning { background: var(--amber-100); color: var(--amber-900); border-color: rgba(253, 230, 138, 0.9); }
.alert-indigo { background: var(--primary-50); color: var(--primary-800); border-color: rgba(199, 210, 254, 0.7); }
.alert .close {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1rem;
  opacity: 0.6;
}

/* ---------- SESSION CARD (monitor) ---------- */
.session-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary-500);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.1rem;
  position: relative;
  overflow: hidden;
}
.session-card.warn { border-left-color: var(--amber-500); }
.session-card.danger { border-left-color: var(--rose-500); }
.session-card .wahanai { font-size: 1.6rem; }
.session-timer {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.session-timer.over { color: var(--rose-600); }
.session-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.tagline i { margin-right: 0.25rem; }

/* ---------- TIMELINE / HISTORI ---------- */
.hist-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--border);
}
.hist-item:last-child { border-bottom: none; }
.hist-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hist-main { flex: 1; min-width: 0; }
.hist-name { font-weight: 700; font-size: 0.9rem; color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-sub { font-size: 0.75rem; color: var(--text-muted); }
.hist-price { font-weight: 800; color: var(--emerald-600); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- CHART BATANG ---------- */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  padding-top: 0.5rem;
}
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.bar-track { width: 100%; max-width: 46px; height: 100px; background: var(--bg-muted); border-radius: 8px 8px 0 0; position: relative; overflow: hidden; }
.bar-fill { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(180deg, var(--primary-500), var(--primary-700)); border-radius: 8px 8px 0 0; }
.bar-val { font-size: 0.72rem; font-weight: 800; color: var(--text-strong); }
.bar-cat { font-size: 0.68rem; color: var(--text-muted); text-align: center; line-height: 1.2; }

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 100;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.5rem;
}
.modal h3 { margin-bottom: 0.25rem; font-size: 1.15rem; }
.modal .modal-sub { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 1rem; }

/* ---------- LOGIN ---------- */
.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse 600px 400px at 15% 20%, rgba(99, 102, 241, 0.1), transparent),
    radial-gradient(ellipse 500px 300px at 85% 80%, rgba(14, 165, 233, 0.1), transparent),
    linear-gradient(135deg, #eef2ff, #f8fafc, #ecfeff);
  position: relative;
}
.login-card {
  width: 100%;
  max-width: 940px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .login-card { grid-template-columns: 1fr 1fr; }
}
.login-hero {
  background: linear-gradient(160deg, var(--primary-950), var(--primary-800), var(--dark-900));
  color: #fff;
  padding: 2.5rem 2rem;
  display: none;
  flex-direction: column;
}
@media (min-width: 760px) { .login-hero { display: flex; } }
.login-hero .logo-big {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
.login-hero h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.login-hero p { color: #cbd5e1; font-size: 0.9rem; line-height: 1.65; }
.login-feature { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; font-size: 0.85rem; color: #e2e8f0; }
.login-hero .spacer { flex: 1; min-height: 2rem; }
.login-form-side { padding: 2.25rem 2rem; }

/* ---------- UTIL LAIN ---------- */
.separator { border: none; border-top: 1px solid var(--border); margin: 1.25rem 0; }
.section-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.money { font-variant-numeric: tabular-nums; }
.hr { border: none; border-top: 1px solid var(--border); margin: 0; }

@media print {
  .no-print { display: none !important; }
}

@media (max-width: 639px) {
  .stat-value { font-size: 1.3rem; }
  .session-timer { font-size: 1.6rem; }
  .header-nav { order: 3; width: 100%; justify-content: flex-start; padding-bottom: 0.3rem; }
}
/* Time-warning pills */
.session-pill{display:inline-block;font-size:0.72rem;font-weight:800;padding:0.14rem 0.6rem;border-radius:999px;margin-top:0.2rem;}
.session-pill.ok{background:rgba(16,185,129,.14);color:#059669;}
.session-pill.warn{background:rgba(245,158,11,.2);color:#d97706;}
.session-pill.danger{background:rgba(244,63,94,.18);color:#e11d48;animation:blink 1s steps(2,start) infinite;}
@keyframes blink{50%{opacity:0.2;}}
/* WhatsApp button */
.btn-whatsapp{background:#25D366;color:#fff;border:1px solid #1faf54;}
.btn-whatsapp:hover{background:#1faf54;color:#fff;}

/* ================= ANDROID / HP ================= */
.login-mobile-brand{display:none;align-items:center;gap:.7rem;margin-bottom:1.1rem;padding:.65rem .8rem;background:linear-gradient(135deg,#1e1b4b,#4338ca);border-radius:14px;color:#fff;}
.login-mobile-brand img{height:2.4rem;width:2.4rem;border-radius:12px;object-fit:contain;background:#fff;padding:.25rem;}
.login-mobile-brand > span{font-size:2rem;line-height:1;}
.login-mobile-brand div{min-width:0;flex:1;}
.login-mobile-brand strong{font-size:.95rem;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.login-mobile-brand small{color:#e2e8f0;font-size:.7rem;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

@media (max-width: 759px) {
  .login-mobile-brand{display:flex;}
  .login-body{padding:1rem .9rem;}
  .login-card{padding:1.25rem;}
  .login-card form, .login-card .alert{margin-bottom:0;}
  .login-page-header{flex-direction:column;gap:.4rem;text-align:center;}
  .login-feature{font-size:.78rem;}
}

@media (max-width: 480px) {
  body{font-size:15px;}
  .container{padding-left:.75rem;padding-right:.75rem;}
  .card{padding:.9rem;}
  .page-header h2{font-size:1.05rem;}
  .btn{width:100%;}
  .btn.btn-xs,.btn.btn-sm,.page-header .btn,.modal .btn,.session-card .btn{width:auto;}
  .inline-actions .btn{width:auto;}
  .modal{padding:1rem;max-height:96vh;}
  .modal-overlay{padding:.5rem;}
  .form-grid{grid-template-columns:1fr;}
  .row.cols-2 .card{min-width:0;}
  .session-card-btns{flex-direction:column;}
  .session-card-btns .btn{width:100%;}
  .alert{padding:.6rem .75rem;font-size:.8rem;}
  .money,.text-base{font-size:.9rem;}
  .gs-list .gs-btn{padding:.6rem .75rem;}
  .table td,.table th{padding:.55rem .6rem;}
  .guide-hero{padding:1.1rem 1rem;}
  .guide-hero h2{font-size:1.1rem;}
}
