:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --navy: #0f2942;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-soft: rgba(37, 99, 235, 0.1);
  --teal: #0d9488;
  --teal-soft: rgba(13, 148, 136, 0.1);
  --green: #059669;
  --green-soft: rgba(5, 150, 105, 0.12);
  --amber: #d97706;
  --amber-soft: rgba(217, 119, 6, 0.12);
  --red: #dc2626;
  --red-soft: rgba(220, 38, 38, 0.11);
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 38px rgba(15, 41, 66, 0.12);
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  margin: 0;
  color: var(--navy);
}

p { margin: 0; }
.hidden { display: none !important; }
.muted { color: var(--text-2); font-size: 13px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 22px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-sm { padding: 7px 12px; font-size: 12px; }
.btn-full { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.22);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}
.btn-secondary {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--border);
}
.btn-secondary:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--surface-2);
  color: var(--text);
}
.btn-danger {
  background: var(--red-soft);
  color: var(--red);
  border-color: rgba(220, 38, 38, 0.25);
}
.btn-danger:hover:not(:disabled) { background: rgba(220, 38, 38, 0.18); }
.btn-success {
  background: var(--green-soft);
  color: var(--green);
  border-color: rgba(5, 150, 105, 0.25);
}
.btn-success:hover:not(:disabled) { background: rgba(5, 150, 105, 0.2); }

.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn-row.end { justify-content: flex-end; }

/* Auth Shell */
.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.1), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(13, 148, 136, 0.08), transparent 40%),
    var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.auth-card-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-badge.small {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 13px;
}
.brand-domain {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
}
.auth-subtitle {
  color: var(--text-2);
  font-size: 13.5px;
  margin-bottom: 22px;
}

.stack-md { display: flex; flex-direction: column; gap: 15px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--navy); }
input[type="text"],
input[type="password"],
input[type="date"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 60px; }
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
}

.auth-hint {
  margin-top: 18px;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-2);
}

.forgot-box {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-2);
}
.forgot-box summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 600;
}
.forgot-box p { margin-top: 6px; }

.pw-rules {
  list-style: none;
  padding: 10px 12px;
  margin: 0;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pw-rules li { color: var(--text-3); }
.pw-rules li.ok { color: var(--green); font-weight: 600; }

.inline-alert {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
}
.inline-alert.error {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

/* Topbar & Portal */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
  flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 11px; }
.topbar-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-sub { font-size: 11.5px; color: var(--text-3); }
.year-pill {
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.main-nav { display: flex; gap: 6px; }
.nav-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-tab:hover { background: var(--surface-2); color: var(--navy); }
.nav-tab.active {
  background: var(--navy);
  color: #fff;
}
.tab-badge {
  background: var(--amber);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
}

.topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px 4px 5px;
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-chip-text { display: flex; flex-direction: column; line-height: 1.2; }
.user-chip-text strong { font-size: 12.5px; color: var(--navy); }
.user-chip-text span { font-size: 11px; color: var(--text-3); }
.role-badge {
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.kpi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.kpi-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
.kpi-quota {
  font-size: 11px;
  color: var(--text-2);
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.kpi-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.kpi-value.negative { color: var(--red); }
.kpi-bar-track {
  height: 6px;
  background: #e9eff6;
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 0 8px;
}
.kpi-bar-fill { height: 100%; width: 0; transition: width 0.25s ease; }
.kpi-bar-fill.blue { background: var(--blue); }
.kpi-bar-fill.teal { background: var(--teal); }
.kpi-breakdown { font-size: 12px; color: var(--text-2); }

/* Cards & Layouts */
.two-col {
  display: grid;
  grid-template-columns: minmax(320px, 430px) 1fr;
  gap: 20px;
  align-items: start;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.card-head.wrap { flex-wrap: wrap; }
.card-head h2, .card-head h3 { font-size: 16.5px; }

/* Leave Type Selector */
.type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.type-card strong { font-size: 13px; color: var(--navy); }
.type-card small { font-size: 11.5px; color: var(--text-2); }
.type-option input:checked + .type-card {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.halfday-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.checkbox-label input { width: auto; }
.mt-checkbox { margin-top: 28px; }

.select-sm, .input-sm {
  width: auto;
  min-width: 140px;
  padding: 7px 10px;
  font-size: 12.5px;
}

.preview-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-size: 12.5px;
  line-height: 1.5;
}
.preview-box.warn {
  border-left-color: var(--amber);
  background: #fffbeb;
}
.preview-box.err {
  border-left-color: var(--red);
  background: #fef2f2;
  color: var(--red);
}

/* Filter Pills & Request Cards */
.filter-pills, .admin-subtabs { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.requests-list { display: flex; flex-direction: column; gap: 10px; }
.req-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  background: var(--surface-2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.req-main { display: flex; flex-direction: column; gap: 4px; }
.req-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.req-id { font-size: 11.5px; font-weight: 700; color: var(--text-3); }
.req-dates { font-weight: 600; color: var(--navy); font-size: 13.5px; }
.req-reason { font-size: 12.5px; color: var(--text-2); }
.req-comment { font-size: 12px; color: var(--navy); font-style: italic; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.badge-pl { background: var(--blue-soft); color: var(--blue); }
.badge-sl { background: var(--teal-soft); color: var(--teal); }
.badge-pending { background: var(--amber-soft); color: var(--amber); }
.badge-approved { background: var(--green-soft); color: var(--green); }
.badge-rejected, .badge-revoked { background: var(--red-soft); color: var(--red); }
.badge-cancelled, .badge-muted { background: #e2e8f0; color: var(--text-2); }

/* Monthly Ledger Grid */
.ledger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
}
.ledger-cell {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface-2);
}
.ledger-cell.has-leave {
  border-color: rgba(37, 99, 235, 0.35);
  background: #f8fbff;
}
.ledger-month {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--navy);
  margin-bottom: 4px;
}
.ledger-dates { font-size: 12px; color: var(--text-2); min-height: 18px; }

/* Calendar */
.cal-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-month-title { min-width: 130px; text-align: center; font-size: 14px; color: var(--navy); }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cal-dow {
  background: var(--surface-2);
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cal-day {
  min-height: 98px;
  padding: 6px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cal-day.outside { background: #f8fafc; color: var(--text-3); }
.cal-day.weekend { background: #f9fafc; }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--blue); }
.cal-day-num { font-size: 12px; font-weight: 700; color: var(--navy); }
.cal-pill {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-pill.approved { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.cal-pill.pending { background: var(--amber-soft); color: var(--amber); }
.cal-pill.holiday { background: var(--green-soft); color: var(--green); font-weight: 600; }

.summary-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Admin Tables */
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
}
.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-3);
  white-space: nowrap;
}
.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }

.holiday-form {
  display: grid;
  grid-template-columns: 160px 1fr 160px auto auto;
  gap: 10px;
  align-items: center;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 200;
}
.modal-card {
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.modal-card.modal-wide {
  max-width: 860px;
}
.modal-card.modal-xl {
  max-width: 1140px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.payslip-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.payslip-total-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.payslip-preview-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: start;
}
.payslip-pane-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdf-preview-frame {
  width: 100%;
  height: 520px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
}
.email-preview-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-family: Calibri, 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #000000;
  min-height: 520px;
  overflow-y: auto;
}
.email-preview-p { margin: 0 0 10px 0; }
.email-preview-sub { margin: 0 0 6px 0; font-weight: 700; }
.email-leave-table {
  width: 100%;
  max-width: 440px;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 12px;
}
.email-leave-table th,
.email-leave-table td {
  border: 1px solid #d4d4d4;
  padding: 5px 8px;
  font-weight: 700;
}
.email-leave-table th { text-align: left; background: #f8fafc; }
.email-leave-table th.num,
.email-leave-table td.num { text-align: center; width: 64px; }
.email-highlight {
  background: #ffff00;
  padding: 2px 5px;
  display: inline-block;
  margin: 4px 0 12px 0;
}
.email-regards {
  font-family: 'Times New Roman', serif;
  color: #1f497d;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
}
.email-sig-logo {
  max-width: 150px;
  height: auto;
  display: block;
  margin-bottom: 4px;
}
.email-sig-name {
  color: #1f497d;
  font-weight: 700;
}
.pf-auto-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.pf-auto-row label { flex: 1; }
.inline-hint-muted { font-size: 12px; color: var(--text-2); }
.emp-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.emp-meta-cell { display: flex; flex-direction: column; gap: 2px; }
.emp-meta-cell span { font-size: 11px; color: var(--text-3); text-transform: uppercase; font-weight: 600; }
.emp-meta-cell strong { font-size: 13px; color: var(--navy); }
.btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--blue);
  font-weight: 700;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-align: left;
}
.btn-link:hover { text-decoration: underline; }
.bal-num { font-size: 13px; font-weight: 700; color: var(--navy); }
.bal-num.negative { color: var(--red); }
.section-h4 { margin: 0 0 8px 0; color: var(--navy); font-size: 14px; }
.temp-code { font-size: 15px; font-weight: 700; }
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--text-3);
  cursor: pointer;
}

/* Toast */
.toast-region {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}
.toast {
  background: var(--navy);
  color: #fff;
  padding: 11px 15px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
}
.toast.ok { background: var(--green); }
.toast.err { background: var(--red); }

.empty-state {
  text-align: center;
  padding: 26px 12px;
  color: var(--text-3);
  font-size: 13px;
}

@media (max-width: 960px) {
  .two-col, .summary-split, .holiday-form, .payslip-preview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar { padding: 10px 14px; }
  .grid-2, .grid-3, .type-selector { grid-template-columns: 1fr; }
  .calendar-grid { font-size: 11px; }
  .cal-day { min-height: 70px; }
}
