/* =========================================
   SCHEDULE PAGE — My Schedule
   Deep & Wide Conference 2026
   ========================================= */

/* ---- Shared page chrome ---- */
.sched-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.sched-page .footer { margin-top: auto; }

/* ---- Nav extras (user indicator / logout) ---- */
.nav__user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.nav__user-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}
.nav__logout {
  font-size: 13px;
  color: var(--text-3) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  transition: border-color 0.2s, color 0.2s;
}
.nav__logout:hover {
  border-color: var(--coral);
  color: var(--coral) !important;
}

/* =========================================
   AUTH CARD
   ========================================= */
.sched-auth-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
}
.sched-auth-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
}
.sched-auth-logo {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.sched-auth-sub {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 28px;
}
.sched-error {
  background: rgba(255,107,107,0.12);
  border: 1px solid rgba(255,107,107,0.35);
  border-radius: var(--radius-sm);
  color: var(--coral);
  font-size: 13px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
/* Change-password notice banner */
.sched-change-pw-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(100,220,180,0.08);
  border: 1px solid rgba(100,220,180,0.25);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.55;
  padding: 14px 16px;
  margin-bottom: 24px;
}
.sched-change-pw-notice svg { flex-shrink: 0; color: var(--teal); margin-top: 1px; }
.sched-change-pw-notice strong { color: var(--text); }

.sched-auth-tabs {
  display: flex;
  gap: 0;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
}
.sched-auth-tab {
  flex: 1;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  color: var(--text-3);
  transition: background 0.2s, color 0.2s;
}
.sched-auth-tab.active {
  background: var(--bg-3);
  color: var(--text);
}
.sched-form-group {
  margin-bottom: 18px;
}
.sched-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 8px;
}
.sched-form-hint {
  font-weight: 400;
  color: var(--text-3);
}
.sched-form-group input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sched-form-group input::placeholder { color: var(--text-3); }
.sched-form-group input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-dim);
}
.sched-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--teal), #00a88c);
  color: #000;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 8px;
  transition: opacity 0.2s, transform 0.15s;
}
.sched-submit-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.hidden { display: none !important; }

/* =========================================
   SETUP WIZARD
   ========================================= */
.sched-wizard-wrap {
  flex: 1;
  padding: 100px 24px 60px;
}
.sched-wizard {
  max-width: 860px;
  margin: 0 auto;
}
.sched-wizard-header {
  text-align: center;
  margin-bottom: 48px;
}
.sched-wizard-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal) 0%, var(--coral) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.sched-wizard-sub {
  font-size: 16px;
  color: var(--text-2);
}

/* ---- Progress dots ---- */
.wizard-progress {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  position: relative;
}
.wizard-progress::before {
  content: '';
  position: absolute;
  top: 15px;
  left: calc(10% + 12px);
  right: calc(10% + 12px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.wizard-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  cursor: default;
  position: relative;
  z-index: 1;
  transition: opacity 0.2s;
}
.wizard-progress-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-3);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.wizard-progress-label {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  transition: color 0.3s;
  white-space: nowrap;
}
.wizard-progress-step.active .wizard-progress-dot {
  background: var(--teal);
  border-color: var(--teal);
  color: #000;
  box-shadow: 0 0 14px var(--teal-glow);
}
.wizard-progress-step.active .wizard-progress-label { color: var(--teal); }
.wizard-progress-step.done .wizard-progress-dot {
  background: var(--teal-dim);
  border-color: var(--teal);
  color: var(--teal);
}
.wizard-progress-step.done .wizard-progress-label { color: var(--teal); }

/* ---- Final selections warning ---- */
.wizard-final-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,209,102,0.08);
  border: 1px solid rgba(255,209,102,0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 36px;
}
.wizard-final-warning svg { flex-shrink: 0; }
.wizard-final-warning strong { color: var(--text); }

/* ---- DM chain banner (shown when EL3 selected) ---- */
.wizard-dm-banner {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(0,201,167,0.08);
  border: 1px solid rgba(0,201,167,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 20px;
}
.wizard-dm-banner.active { display: flex; }
.wizard-dm-banner svg { flex-shrink: 0; }
.wizard-dm-banner strong { color: var(--text); }

/* ---- Step panels ---- */
.wizard-step { display: none; }
.wizard-step.active { display: block; }

.wizard-step-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
}
.wizard-step-hint {
  font-size: 14px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}

/* ---- Track cards ---- */
.wizard-track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.wizard-track-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.wizard-track-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.wizard-track-card.selected {
  border-color: var(--teal);
  background: var(--teal-dim);
}
.wizard-track-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-3);
  line-height: 1;
  margin-bottom: 8px;
}
.wizard-track-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 8px;
}
.wizard-track-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.wizard-track-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}
.wizard-track-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.25s var(--ease-spring);
}
.wizard-track-card.selected .wizard-track-check {
  opacity: 1;
  transform: scale(1);
}

/* ---- Pre-assigned track display ---- */
.wizard-preassigned-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.wizard-preassigned-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}
.wizard-preassigned-badge--teal  { background: var(--teal-dim); color: var(--teal); border: 1px solid rgba(100,220,180,0.3); }
.wizard-preassigned-badge--coral { background: rgba(255,107,107,0.1); color: var(--coral); border: 1px solid rgba(255,107,107,0.3); }
.wizard-preassigned-badge--gold  { background: rgba(255,196,0,0.1); color: var(--gold); border: 1px solid rgba(255,196,0,0.3); }
.wizard-track-card--preassigned {
  cursor: default;
  width: 100%;
  max-width: 360px;
  pointer-events: none;
}
.wizard-track-card--preassigned:hover {
  transform: none;
  border-color: var(--teal);
}
.wizard-preassigned-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-3);
}
.wizard-preassigned-note svg { flex-shrink: 0; color: var(--text-3); }

/* ---- Elective cards ---- */
.wizard-elective-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.wizard-elective-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.wizard-elective-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.wizard-elective-card.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
}
/* DM chain auto-selected + locked */
.wizard-elective-card--dm-locked {
  border-color: var(--coral) !important;
  background: rgba(255,107,107,0.1) !important;
  pointer-events: none;
  cursor: default;
}
.wizard-elective-card--dm-locked .wizard-elective-check {
  opacity: 1;
  transform: scale(1);
  background: var(--coral);
}
/* Other cards dimmed when DM chain active */
.wizard-elective-card--dm-dimmed {
  opacity: 0.28;
  pointer-events: none;
  cursor: default;
}
/* DM card blocked because slot1 ≠ EL3 */
.wizard-elective-card--dm-unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  position: relative;
}
.wizard-elective-card--dm-unavailable::after {
  content: '🔒 Requires Elective 1 selection';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.wizard-elective-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.wizard-elective-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.wizard-elective-type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  background: var(--surface-2);
  color: var(--text-3);
}
.wizard-elective-type--workshop { background: var(--teal-dim); color: var(--teal); }
.wizard-elective-type--seminar  { background: var(--coral-dim); color: var(--coral); }
.wizard-elective-type--lab      { background: var(--gold-dim);  color: var(--gold); }
.wizard-elective-type--panel    { background: rgba(180,130,255,0.15); color: #b482ff; }
.wizard-elective-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.wizard-elective-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  margin-bottom: 10px;
}
.wizard-elective-room {
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 5px;
}
.wizard-elective-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.25s var(--ease-spring);
}
.wizard-elective-card.selected .wizard-elective-check {
  opacity: 1;
  transform: scale(1);
}

/* ---- DM chain toast ---- */
.wizard-toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--bg-3);
  border: 1px solid var(--teal);
  color: var(--teal);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  max-width: 480px;
  width: calc(100vw - 48px);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 9000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.wizard-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- Wizard nav ---- */
.wizard-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.wizard-nav-spacer { flex: 1; }
.wizard-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
}
.wizard-btn--back {
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.wizard-btn--back:hover { border-color: var(--text-3); color: var(--text); }
.wizard-btn--next {
  background: var(--teal);
  color: #000;
}
.wizard-btn--next:hover { opacity: 0.9; transform: translateX(2px); }
.wizard-btn--save {
  background: linear-gradient(135deg, var(--teal), var(--coral));
  color: #fff;
}
.wizard-btn--save:hover { opacity: 0.9; transform: translateY(-1px); }

/* =========================================
   PERSONAL SCHEDULE VIEW
   ========================================= */
.sched-view-wrap {
  flex: 1;
  padding: 90px 24px 60px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* ---- View header ---- */
.sched-view-header {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  margin-bottom: 36px;
}
.sched-view-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.sched-view-greeting {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 6px;
}
.sched-view-name {
  font-family: var(--font-head);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
}
.sched-view-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.sched-view-track-badge {
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  background: var(--teal-dim);
  color: var(--teal);
  border: 1px solid rgba(0,201,167,0.3);
}
.sched-view-track-badge--coral { background: var(--coral-dim); color: var(--coral); border-color: rgba(255,107,107,0.3); }
.sched-view-track-badge--gold  { background: var(--gold-dim);  color: var(--gold);  border-color: rgba(255,209,102,0.3); }
.sched-view-locked-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

/* ---- Day blocks ---- */
.sched-days { display: flex; flex-direction: column; gap: 32px; }
.sched-day {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.sched-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.sched-day-label {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sched-day-date {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

/* ---- Session rows ---- */
.sched-sessions { display: flex; flex-direction: column; }
.sched-session {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: start;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.sched-session:last-child { border-bottom: 0; }
.sched-session:hover { background: var(--surface); }
.sched-session-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  padding-top: 3px;
  flex-shrink: 0;
}
.sched-session-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sched-session-sublabel {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: var(--text-3);
}
.sched-session-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.sched-session-room {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

/* ---- Session type accents ---- */
.sched-session--break .sched-session-time { color: var(--text-3); }
.sched-session--break .sched-session-name { color: var(--text-3); font-weight: 400; font-style: italic; }
.sched-session--track .sched-session-name { color: var(--teal); }
.sched-session--elective .sched-session-name { color: var(--gold); }
.sched-session--general { }
.sched-session--worship .sched-session-name { color: var(--coral); }
.sched-session--opening .sched-session-name { color: var(--coral); }
.sched-session--closing .sched-session-name { color: var(--coral); }

/* ---- Session badges ---- */
.sched-session-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 3px;
}
.sched-session-badge--teal    { background: var(--teal-dim);   color: var(--teal); }
.sched-session-badge--coral   { background: var(--coral-dim);  color: var(--coral); }
.sched-session-badge--gold    { background: var(--gold-dim);   color: var(--gold); }
.sched-session-badge--elective { background: var(--gold-dim);  color: var(--gold); }
.sched-session-badge--general  { background: var(--surface-2); color: var(--text-3); }
.sched-session-badge--worship  { background: var(--coral-dim); color: var(--coral); }
.sched-session-badge--opening  { background: var(--coral-dim); color: var(--coral); }
.sched-session-badge--closing  { background: var(--coral-dim); color: var(--coral); }

/* =========================================
   FLOATING "MY SCHEDULE" BUTTON (on index)
   ========================================= */
.fab-schedule {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--teal), #00a88c);
  color: #000;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0,201,167,0.45);
  cursor: pointer;
  border: none;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.2s;
  pointer-events: none;
}
.fab-schedule.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-schedule:hover {
  box-shadow: 0 12px 40px rgba(0,201,167,0.6);
  transform: translateY(-2px) scale(1.02);
  color: #000;
}
.fab-schedule svg { flex-shrink: 0; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 600px) {
  /* Auth */
  .sched-auth-wrap { padding: 100px 16px 48px; }
  .sched-auth-card { padding: 28px 18px; border-radius: var(--radius-lg); }
  .sched-auth-logo { font-size: 24px; }
  .sched-auth-sub { font-size: 12px; margin-bottom: 20px; }

  /* Wizard */
  .sched-wizard-wrap { padding: 88px 16px 48px; }
  .sched-wizard-title { font-size: clamp(22px, 7vw, 32px); }
  .sched-wizard-sub { font-size: 14px; }
  .wizard-progress { margin-bottom: 32px; }
  .wizard-progress-label { display: none; }
  .wizard-progress::before { top: 14px; }
  .wizard-track-grid { grid-template-columns: 1fr; gap: 12px; }
  .wizard-track-card { padding: 22px 18px; }
  .wizard-elective-grid { grid-template-columns: 1fr; gap: 10px; }
  .wizard-elective-card { padding: 16px; }
  .wizard-nav { flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 20px; }
  .wizard-btn { padding: 12px 22px; font-size: 14px; }
  .wizard-final-warning { font-size: 13px; padding: 12px 14px; }

  /* Toast — above iOS home bar */
  .wizard-toast {
    bottom: calc(28px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 32px);
  }

  /* Schedule view */
  .sched-view-wrap { padding: 84px 16px calc(48px + env(safe-area-inset-bottom)); }
  .sched-view-header { padding: 20px 16px; border-radius: var(--radius-lg); }
  .sched-view-header-inner { flex-direction: column; gap: 14px; }
  .sched-view-meta { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .sched-view-name { font-size: clamp(20px, 7vw, 28px); }
  .sched-day { border-radius: var(--radius-lg); }
  .sched-day-header { padding: 14px 18px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .sched-session { grid-template-columns: 90px 1fr; padding: 13px 18px; gap: 10px; }
  .sched-session-badge { display: none; }
  .sched-session-name { font-size: 14px; }

  /* FAB as circle on mobile */
  .fab-schedule span { display: none; }
  .fab-schedule {
    padding: 14px;
    border-radius: 50%;
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: 16px;
  }
}
