/* ============================================================
   Variables
   ============================================================ */
:root {
  --bg:            #f0f4f8;
  --surface:       #ffffff;
  --surface-2:     #f8fafc;
  --border:        #e2e8f0;
  --border-light:  #f1f5f9;
  --text:          #0f172a;
  --text-muted:    #64748b;
  --text-subtle:   #94a3b8;

  --orange:        #f97316;
  --orange-soft:   rgba(249,115,22,.10);
  --orange-border: rgba(249,115,22,.25);
  --green:         #16a34a;
  --green-soft:    rgba(22,163,74,.10);
  --red:           #dc2626;
  --red-soft:      rgba(220,38,38,.08);
  --blue:          #2563eb;
  --blue-soft:     rgba(37,99,235,.08);
  --yellow:        #d97706;
  --yellow-soft:   rgba(217,119,6,.10);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --shadow-xs:  0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:  0 1px 4px rgba(0,0,0,.07), 0 2px 8px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
}

/* ============================================================
   Reset + base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

.hidden { display: none !important; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background .15s, opacity .15s, box-shadow .15s, transform .1s;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

.btn-login {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(249,115,22,.30);
}
.btn-login:hover { opacity: .9; box-shadow: 0 4px 12px rgba(249,115,22,.35); }

.btn-accept {
  background: var(--green);
  color: #fff;
  flex: 1;
  justify-content: center;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
}
.btn-accept:hover:not(:disabled) { opacity: .88; }

.btn-decline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid currentColor;
  flex: 1;
  justify-content: center;
  padding: 7.5px 10px;
  font-size: 13px;
  font-weight: 600;
}
.btn-decline:hover:not(:disabled) { background: var(--red); color: #fff; }

.btn-icon {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  gap: 5px;
  padding: 6px 12px;
  font-size: 13px;
}
.btn-icon:hover { background: var(--surface-2); color: var(--text); }
.btn-icon.spinning svg { animation: spin .7s linear infinite; }

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 13px;
  padding: 6px 14px;
}
.btn-outline:hover { background: var(--surface-2); color: var(--red); border-color: var(--red); }

/* Pagination buttons */
.btn-page {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  min-width: 36px;
  justify-content: center;
}
.btn-page:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.btn-page.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  font-weight: 600;
}

/* ============================================================
   Toast notifications
   ============================================================ */
#toast-container {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  animation: slide-in .25s ease;
  max-width: 340px;
}
.toast.toast-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.toast.toast-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.toast.toast-fade    { animation: fade-out .3s ease forwards; }

@keyframes slide-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fade-out {
  to { opacity: 0; transform: translateX(10px); }
}

/* ============================================================
   Login
   ============================================================ */
#gate-view,
#login-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fff7ed 0%, #f0f4f8 60%, #eff6ff 100%);
}

.login-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 40px 36px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--border-light);
}

.login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--orange-soft);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.login-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.3px;
  margin-bottom: 8px;
}

.login-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 32px;
}

.login-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gate-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .4em;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  background: var(--surface-2);
  color: var(--text);
  transition: border-color .15s;
}
.gate-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.gate-input::placeholder { letter-spacing: .2em; color: var(--text-subtle); }

.login-footer {
  color: var(--text-subtle);
  font-size: 12px;
  margin-top: 18px;
  line-height: 1.5;
}

/* ============================================================
   Header
   ============================================================ */
.app-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-xs);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-brand > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.header-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.2px;
  line-height: 1;
}

.header-range {
  font-size: 11px;
  color: var(--text-subtle);
  line-height: 1;
}

.header-actions { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   Main layout
   ============================================================ */
.app-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 20px 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============================================================
   Skeleton loading
   ============================================================ */
.skeleton-section { display: flex; flex-direction: column; gap: 0; }

.skeleton-header {
  height: 46px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.skeleton-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.skeleton-card {
  height: 140px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-md);
}
.skeleton-card:nth-child(2) { animation-delay: .1s; }
.skeleton-card:nth-child(3) { animation-delay: .2s; }

.skeleton-rows {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
}

.skeleton-row {
  height: 58px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-bottom: 1px solid var(--border-light);
}
.skeleton-row:nth-child(2) { animation-delay: .07s; }
.skeleton-row:nth-child(3) { animation-delay: .14s; }
.skeleton-row:nth-child(4) { animation-delay: .21s; }
.skeleton-row:nth-child(5) { animation-delay: .28s; }

@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  animation: fade-up .3s ease;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.section-header--pending {
  background: var(--orange-soft);
  border: 1px solid var(--orange-border);
  border-bottom: 2px solid var(--orange);
}

.section-header--all {
  background: var(--blue-soft);
  border: 1px solid rgba(37,99,235,.15);
  border-bottom: 2px solid var(--blue);
}

.section-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header--pending .section-header-left { color: var(--orange); }
.section-header--all     .section-header-left { color: var(--blue); }

.section-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.section-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}

.badge--pending { background: rgba(249,115,22,.18); color: var(--orange); }
.badge--pending.has-items { animation: badge-pulse 2.4s ease-in-out infinite; }
.badge--all     { background: rgba(37,99,235,.14);  color: var(--blue); }

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,.4); }
  50%       { box-shadow: 0 0 0 5px rgba(249,115,22,0); }
}

/* ============================================================
   Cards grid (pending)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ============================================================
   Event card (pending)
   ============================================================ */
.event-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s, transform .2s;
}

.event-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.card-meta-row svg { flex-shrink: 0; color: var(--text-subtle); }

.card-meta-row.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  padding-left: 19px;
  position: relative;
}

.card-meta-row.truncate svg {
  position: absolute;
  left: 0;
  top: 2px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.card-link {
  margin-left: auto;
  color: var(--text-subtle);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color .15s;
  flex-shrink: 0;
}
.card-link:hover { color: var(--blue); }

.card-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--text-muted);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  flex-shrink: 0;
}

.event-card.responded {
  opacity: .45;
  pointer-events: none;
  transform: scale(.98);
  transition: all .3s ease;
}

/* ============================================================
   Events list (all events)
   ============================================================ */
.events-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  overflow: hidden;
}

.event-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background .12s;
  text-decoration: none;
  color: inherit;
}
.event-row:last-child { border-bottom: none; }
.event-row:hover { background: var(--surface-2); }

.event-row-date-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  line-height: 1.2;
  flex-shrink: 0;
}

.date-chip-day   { font-size: 16px; font-weight: 700; color: var(--text); }
.date-chip-month { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }

.event-row-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.event-row-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-row-time {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   Status badges
   ============================================================ */
.status-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-needsAction { background: var(--orange-soft); color: var(--orange); }
.badge-accepted    { background: var(--green-soft);  color: var(--green); }
.badge-declined    { background: var(--red-soft);    color: var(--red); }
.badge-tentative   { background: var(--yellow-soft); color: var(--yellow); }

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-light);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.pagination:empty { display: none; }

.pagination-info {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 6px;
}

/* ============================================================
   Empty states
   ============================================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  color: var(--text-muted);
  text-align: center;
}

.empty-state svg { color: var(--green); opacity: .7; }
.empty-state strong { font-size: 14px; color: var(--text); }
.empty-state p { font-size: 13px; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   View toggle bar
   ============================================================ */
.view-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  display: flex;
  align-items: center;
}

.view-toggle {
  display: flex;
  gap: 2px;
  padding: 8px 0;
}

.last-updated {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 600px) {
  .last-updated span { display: none; }
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: background .15s, color .15s, border-color .15s;
}
.view-btn:hover { background: var(--surface-2); color: var(--text); }
.view-btn.active {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: rgba(37,99,235,.20);
  font-weight: 600;
}

/* ============================================================
   Week navigation
   ============================================================ */
.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom: 2px solid var(--blue);
}

.week-nav-center {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.week-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  min-width: 180px;
}

.btn-week-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.btn-week-nav:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.btn-week-nav:disabled { opacity: .35; cursor: not-allowed; }

.btn-today {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-today:hover { background: var(--blue-soft); color: var(--blue); border-color: rgba(37,99,235,.3); }

/* ============================================================
   Calendar grid
   ============================================================ */
.cal-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  min-width: 700px;
}

/* Day column */
.cal-day {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-light);
  min-height: 320px;
}
.cal-day:last-child { border-right: none; }

/* Day header */
.cal-day-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px 8px;
  border-bottom: 1px solid var(--border-light);
  gap: 4px;
  background: var(--surface-2);
  position: sticky;
  top: 0;
}

.cal-day-name {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
}

.cal-day-num {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Today highlight */
.cal-day--today .cal-day-header { background: var(--blue-soft); }
.cal-day--today .cal-day-name   { color: var(--blue); }
.cal-day--today .cal-day-num    { background: var(--blue); color: #fff; }

/* Weekend subtle tint */
.cal-day--weekend .cal-day-header { background: #fafafa; }

/* Events inside day */
.cal-day-events {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 5px;
  flex: 1;
}

.cal-empty-day {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 6px;
}

.cal-empty-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

/* ============================================================
   Calendar event chip
   ============================================================ */
.cal-chip {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 7px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--border);
  background: var(--surface-2);
  cursor: default;
  transition: box-shadow .15s, transform .1s;
  overflow: hidden;
}
.cal-chip:hover { box-shadow: var(--shadow-xs); transform: translateY(-1px); }

.cal-chip--pending  { border-left-color: var(--orange); background: rgba(249,115,22,.06); }
.cal-chip--accepted { border-left-color: var(--green);  background: rgba(22,163,74,.05); }
.cal-chip--declined { border-left-color: var(--red);    background: rgba(220,38,38,.04); opacity: .7; }
.cal-chip--tentative{ border-left-color: var(--yellow); background: rgba(217,119,6,.05); }

.cal-chip-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.cal-chip-time {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1;
}

/* Pending chip RSVP buttons (compact) */
.cal-chip-actions {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.cal-btn-accept,
.cal-btn-decline {
  flex: 1;
  padding: 3px 4px;
  font-size: 10px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity .15s;
  line-height: 1;
}
.cal-btn-accept  { background: var(--green); color: #fff; }
.cal-btn-decline { background: transparent; color: var(--red); border: 1px solid var(--red); }
.cal-btn-accept:hover,
.cal-btn-decline:hover { opacity: .8; }
.cal-btn-accept:disabled,
.cal-btn-decline:disabled { opacity: .4; cursor: not-allowed; }

.cal-chip-spinner {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--border);
  border-top-color: var(--text-muted);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  margin: 2px auto 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 600px) {
  .app-header { padding: 0 16px; height: 54px; }
  .view-bar   { padding: 0 12px; }
  .app-main   { padding: 16px 12px 40px; }
  .cards-grid { grid-template-columns: 1fr; padding: 10px; }
  .login-card { padding: 36px 24px 28px; }
  .header-title  { font-size: 14px; }
  .header-range  { display: none; }
  .event-row { grid-template-columns: 44px 1fr auto; gap: 10px; padding: 10px 12px; }
  .week-label { min-width: 140px; font-size: 13px; }
}
