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

:root {
  --green-dark:  #1A4731;
  --green:       #2D6A4F;
  --green-mid:   #40916C;
  --green-light: #52B788;
  --green-pale:  #D8F3DC;
  --green-ultra: #F0FAF5;

  --bg:          #F7F3EE;
  --bg-card:     #FFFFFF;
  --text:        #18181B;
  --text-muted:  #71717A;
  --text-light:  #A1A1AA;
  --border:      #E4DDD6;
  --border-light:#EDE8E3;

  --danger:      #EF4444;
  --warning:     #F59E0B;
  --success:     #10B981;
  --info:        #3B82F6;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow:    0 4px 16px rgba(0,0,0,0.09);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.11);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.16);

  --nav-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAV
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--green-dark);
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 20px; gap: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 16px rgba(0,0,0,0.24);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img {
  width: 34px; height: 34px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.25);
}
.nav-logo-text {
  font-size: 18px; font-weight: 800; color: #fff;
  letter-spacing: -0.3px;
}
.nav-logo:hover { text-decoration: none; opacity: 0.92; }

.nav-right {
  display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0;
}

.lang-btn {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.9);
  font-size: 11px; font-weight: 700;
  padding: 5px 11px; border-radius: 20px; cursor: pointer;
  letter-spacing: 0.06em; transition: all 0.15s;
}
.lang-btn:hover { background: rgba(255,255,255,0.22); }

.hamburger {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: #fff; font-size: 17px;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.hamburger:hover { background: rgba(255,255,255,0.22); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SLIDE DRAWER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav-drawer {
  position: fixed; top: 0; right: -290px; width: 270px; height: 100dvh;
  background: #fff; z-index: 300;
  box-shadow: -6px 0 32px rgba(0,0,0,0.16);
  transition: right 0.28s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.nav-drawer.open { right: 0; }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.42); z-index: 299;
  backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }

.nav-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  background: var(--green-dark);
  flex-shrink: 0;
}
.nav-drawer-title {
  color: #fff; font-size: 16px; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.nav-drawer-title img {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
}
.nav-drawer-close {
  background: rgba(255,255,255,0.15); border: none;
  color: #fff; font-size: 18px; width: 30px; height: 30px;
  border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.nav-drawer-close:hover { background: rgba(255,255,255,0.28); }

.nav-drawer-user {
  padding: 12px 18px 10px;
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
}

.drawer-link {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 18px; font-size: 14px; font-weight: 500;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.12s;
}
.drawer-link:hover { background: var(--green-ultra); text-decoration: none; color: var(--green); }
.drawer-link.active { background: var(--green-pale); color: var(--green-dark); font-weight: 700; }
.drawer-divider { height: 1px; background: var(--border); margin: 6px 0; }
.drawer-logout { color: var(--danger); }
.drawer-logout:hover { background: #FEF2F2; color: var(--danger); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RECIPIENT BAR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.recipient-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.recipient-bar label {
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
}
.recipient-select {
  background: var(--green-ultra); border: 1.5px solid var(--green-pale);
  border-radius: 20px; padding: 6px 14px;
  font-size: 14px; font-weight: 600; color: var(--green-dark);
  cursor: pointer; outline: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232D6A4F' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 28px;
}
.recipient-select:focus { border-color: var(--green-light); }
.add-recipient-link {
  font-size: 13px; color: var(--green); font-weight: 600;
  display: flex; align-items: center; gap: 4px;
}
.add-recipient-link:hover { text-decoration: underline; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page { max-width: 960px; margin: 0 auto; padding: 28px 20px 60px; }

.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.page-title {
  font-size: 24px; font-weight: 800; color: var(--text);
  letter-spacing: -0.4px; line-height: 1.2;
}
.page-title small {
  display: block; font-size: 13px; font-weight: 400;
  color: var(--text-muted); margin-top: 3px; letter-spacing: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CARDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.card {
  background: var(--bg-card);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  margin-bottom: 14px;
}
.card-title {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 16px; letter-spacing: -0.1px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WELCOME BANNER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.welcome-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-mid) 100%);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  margin-bottom: 22px;
  color: #fff;
  box-shadow: 0 6px 24px rgba(45,106,79,0.28);
  position: relative; overflow: hidden;
}
.welcome-banner::after {
  content: '';
  position: absolute; right: -30px; top: -30px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.welcome-banner h2 {
  font-size: 22px; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.3px;
}
.welcome-banner p { font-size: 14px; opacity: 0.85; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DASHBOARD GRID
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-card {
  background: var(--bg-card);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  transition: box-shadow 0.2s;
}
.dash-card:hover { box-shadow: var(--shadow); }

.dash-card-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted);
  margin-bottom: 14px; display: flex; align-items: center; gap: 6px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MED LIST
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.med-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border-light);
}
.med-item:last-child { border-bottom: none; }

.med-check {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--border); background: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.2s; font-size: 14px; color: #fff;
}
.med-check:hover { border-color: var(--green-light); transform: scale(1.08); }
.med-check.taken {
  background: var(--green); border-color: var(--green);
  box-shadow: 0 2px 8px rgba(45,106,79,0.35);
}

.med-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.med-detail { font-size: 12px; color: var(--text-muted); margin-top: 1px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   APPT / NOTE ITEMS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.appt-item { padding: 11px 0; border-bottom: 1px solid var(--border-light); }
.appt-item:last-child { border-bottom: none; }
.appt-doc { font-weight: 600; font-size: 14px; }
.appt-date { font-size: 12px; color: var(--green-mid); font-weight: 600; margin-top: 2px; }
.appt-loc { font-size: 12px; color: var(--text-muted); margin-top: 1px; }

.note-item { padding: 11px 0; border-bottom: 1px solid var(--border-light); }
.note-item:last-child { border-bottom: none; }
.note-title { font-weight: 600; font-size: 14px; }
.note-date { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.note-body { font-size: 13px; color: #555; margin-top: 3px; line-height: 1.5; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.alert {
  border-radius: var(--r-sm); padding: 13px 16px;
  margin-bottom: 14px; font-size: 14px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.alert-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.alert-danger  { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert-info    { background: var(--green-ultra); border: 1px solid var(--green-pale); color: var(--green); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; border: none;
  cursor: pointer; transition: all 0.18s;
  text-decoration: none; font-family: inherit; letter-spacing: -0.1px;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--green); color: #fff;
  box-shadow: 0 2px 10px rgba(45,106,79,0.32);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 4px 16px rgba(45,106,79,0.40); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(45,106,79,0.28); }

.btn-outline {
  background: transparent; color: var(--green);
  border: 1.5px solid var(--green);
}
.btn-outline:hover { background: var(--green-ultra); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #DC2626; }

.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn-xs { padding: 5px 10px; font-size: 12px; border-radius: 7px; }

.btn-ghost {
  background: transparent; color: var(--text-muted);
  padding: 7px 10px; box-shadow: none;
}
.btn-ghost:hover { color: var(--danger); background: #FEF2F2; transform: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FORMS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: #374151;
}
.form-control {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px; font-family: inherit;
  background: #fff; color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none; appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.16);
}
textarea.form-control { resize: vertical; min-height: 82px; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 30px; cursor: pointer;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TABLES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: var(--bg); }
th {
  text-align: left; padding: 10px 14px;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 2px solid var(--border); white-space: nowrap;
}
td { padding: 13px 14px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
tbody tr { transition: background 0.1s; }
tbody tr:hover td { background: var(--green-ultra); }
tbody tr:last-child td { border-bottom: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BADGES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
}
.badge-upcoming  { background: #EFF6FF; color: #1D4ED8; }
.badge-completed { background: #ECFDF5; color: #065F46; }
.badge-cancelled { background: #F4F4F5; color: #71717A; }
.badge-pending   { background: #F5F3FF; color: #6D28D9; }
.badge-approved  { background: #ECFDF5; color: #065F46; }
.badge-denied    { background: #FEF2F2; color: #991B1B; }
.badge-appealed  { background: #FFFBEB; color: #92400E; }
.badge-active    { background: var(--green-pale); color: var(--green-dark); }
.badge-inactive  { background: #F4F4F5; color: #A1A1AA; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MODALS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.48); z-index: 200;
  align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-card); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); width: 100%; max-width: 500px;
  padding: 28px; animation: slideUp 0.22s cubic-bezier(0.34,1.56,0.64,1); margin: auto;
}
@keyframes slideUp {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light);
}
.modal-title { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.modal-close {
  background: var(--bg); border: 1px solid var(--border); cursor: pointer;
  font-size: 18px; color: var(--text-muted);
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.modal-close:hover { background: #F4F4F5; color: var(--text); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   EMPTY STATE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.empty-state {
  text-align: center; padding: 64px 24px;
  background: var(--bg-card); border-radius: var(--r);
  border: 1.5px dashed var(--border);
}
.empty-state .empty-icon { font-size: 52px; margin-bottom: 14px; line-height: 1; }
.empty-state p { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   AUTH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.auth-page {
  min-height: 100dvh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--green-dark) 0%, var(--green) 50%, var(--green-mid) 100%);
  padding: 24px;
}
.auth-card {
  background: #fff; border-radius: var(--r-xl);
  padding: 42px 38px; width: 100%; max-width: 420px;
  box-shadow: 0 28px 72px rgba(0,0,0,0.28);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { width: 90px; height: 90px; object-fit: contain; }
.auth-logo h1 {
  font-size: 26px; font-weight: 900; color: var(--green-dark);
  margin-top: 10px; margin-bottom: 4px; letter-spacing: -0.5px;
}
.auth-logo p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.auth-footer a { color: var(--green); font-weight: 600; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   EMERGENCY CARD
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.emergency-card {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff; border-radius: var(--r); padding: 24px 28px; margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}
.emergency-card h2 { font-size: 20px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.3px; }
.emer-label { font-size: 11px; opacity: 0.72; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; }
.emer-value { font-size: 16px; font-weight: 600; margin: 3px 0 14px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   REFILL CHIP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.refill-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A;
  border-radius: 20px; padding: 4px 12px;
  font-size: 12px; font-weight: 600; margin-right: 6px; margin-top: 4px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION LABEL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 4px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   UTILITIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.text-muted   { color: var(--text-muted); }
.text-sm      { font-size: 13px; }
.text-xs      { font-size: 12px; }
.mt-4         { margin-top: 16px; }
.mb-4         { margin-bottom: 16px; }
.flex         { display: flex; }
.items-center { align-items: center; }
.gap-2        { gap: 8px; }
.gap-3        { gap: 12px; }
.justify-between { justify-content: space-between; }
.w-full       { width: 100%; }
.no-data      { color: var(--text-muted); font-size: 14px; font-style: italic; padding: 8px 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 640px) {
  .nav { padding: 0 14px; }
  .page { padding: 18px 14px 48px; }
  .auth-card { padding: 30px 22px; }
  .modal { padding: 22px 18px; border-radius: var(--r); }
  .welcome-banner { padding: 20px 20px; }
  .welcome-banner h2 { font-size: 19px; }
  .dash-card { padding: 16px; }
  .card { padding: 18px; }
}
