:root {
  color-scheme: light;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #dbe3ef;
  --border-soft: #edf2f7;
  --shadow: 0 16px 50px rgba(15, 23, 42, 0.12);
  --navy: #0f172a;
  --amber: #f59e0b;
  --green: #10b981;
  --rose: #e11d48;
  --blue: #0284c7;
  --purple: #7c3aed;
  --radius: 18px;
  --cf-accent: #e11d48;
  --cf-bg: #fff1f3;
  --cp-accent: #7c3aed;
  --cp-bg: #f5f3ff;
  --mgm-accent: #d97706;
  --mgm-bg: #fffbeb;
  --ven-accent: #0284c7;
  --ven-bg: #f0f9ff;
  --wynn-accent: #059669;
  --wynn-bg: #ecfdf5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 85% -10%, rgba(245, 158, 11, 0.16), transparent 28rem),
    radial-gradient(circle at 8% 20%, rgba(124, 58, 237, 0.1), transparent 24rem),
    var(--bg);
  color: var(--text);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  min-height: 42px;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}

.app-header {
  color: #f8fafc;
  background:
    radial-gradient(900px circle at 88% -18%, rgba(245, 158, 11, 0.18), transparent 54%),
    radial-gradient(700px circle at 12% 120%, rgba(99, 102, 241, 0.15), transparent 55%),
    linear-gradient(180deg, #0f172a 0%, #172033 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-header-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1560px;
  margin: 0 auto;
  padding: 24px 18px 18px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark span,
.brand-mark strong {
  display: block;
  line-height: 1;
}

.brand-mark span {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #cbd5e1;
}

.brand-mark strong {
  margin-top: 2px;
  font-size: 1.3rem;
  color: #f59e0b;
}

.brand-titles {
  min-width: 0;
}

.app-header h1,
.panel h2,
.password-card h1,
.dialog-card h2 {
  margin: 0;
  letter-spacing: -0.035em;
}

.app-header h1 {
  font-size: clamp(1.55rem, 6vw, 2.7rem);
  line-height: 1.05;
}

.hero-subtitle {
  margin: 8px 0 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.header-stats,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.subnav-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1560px;
  margin: 0 auto;
  padding: 10px 14px;
  overflow-x: auto;
}

.segmented-nav {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f1f5f9;
}

.seg-link {
  min-height: 36px;
  padding: 7px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-weight: 850;
  white-space: nowrap;
}

.seg-link.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.toolbar-actions {
  display: none;
  gap: 8px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.main-layout {
  display: grid;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px;
}

.content-stack {
  display: grid;
  gap: 14px;
}

.panel,
.summary-card,
.password-card,
.dialog-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.panel {
  padding: 16px;
}

.controls-panel {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

.controls-primary,
.controls-secondary {
  display: grid;
  gap: 10px;
}

.controls-secondary {
  display: none;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}

.controls-panel.filters-expanded .controls-secondary {
  display: grid;
}

.search-wrap {
  display: grid;
  gap: 6px;
}

.search-wrap label,
.dialog-card label {
  color: #334155;
  font-size: 0.8rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--text);
  padding: 11px 12px;
}

.controls-panel input {
  padding: 9px 11px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
  background: #ffffff;
}

.filter-row,
.view-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-toggle {
  justify-self: start;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.toggle-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 850;
}

.toggle-option input {
  width: auto;
  accent-color: var(--amber);
}

.legend-wrap {
  display: grid;
  gap: 7px;
  padding-top: 2px;
}

.legend-title {
  color: #334155;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #94a3b8;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.swatch-caesars-forum {
  background: var(--cf-accent);
}

.swatch-caesars-palace {
  background: var(--cp-accent);
}

.swatch-mgm-grand {
  background: var(--mgm-accent);
}

.swatch-venetian {
  background: var(--ven-accent);
}

.swatch-wynn-encore {
  background: var(--wynn-accent);
}

.swatch-planned {
  background: var(--green);
}

.swatch-favorite {
  background: var(--amber);
}

.swatch-standby {
  background: #f97316;
}

.swatch-meal {
  background: #ea580c;
}

.swatch-travel {
  background: #6366f1;
}

.swatch-conflict {
  background: var(--rose);
}

.chip,
.button,
.nav-button,
.icon-button {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font-weight: 800;
}

.chip {
  min-height: 38px;
  padding: 7px 11px;
  font-size: 0.78rem;
}

.chip.active,
.nav-button.active {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  text-decoration: none;
}

.button.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: #ffffff;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.13);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.25);
}

.panel .button.ghost,
.dialog-card .button.ghost,
.subnav-bar .button.ghost {
  background: #ffffff;
  color: #334155;
  border-color: var(--border);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.summary-card {
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96)),
    #ffffff;
}

.summary-card strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.summary-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.warning-panel {
  border-color: #fecdd3;
  background: #fff1f3;
}

.warning-panel .eyebrow {
  color: #be123c;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 1.25rem;
}

.schedule-list,
.notes-list,
.travel-list {
  display: grid;
  gap: 12px;
}

.day-group {
  display: grid;
  gap: 10px;
}

.schedule-list.all-days {
  display: block;
  gap: 14px;
}

.week-grid-wrap {
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-color: #cbd5e1 transparent;
}

.week-grid {
  display: grid;
  gap: 8px;
  min-width: 1480px;
  align-items: start;
}

.week-corner,
.week-column-label,
.week-day-head {
  min-height: 38px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.week-day {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.week-day-head {
  display: none;
}

.week-time-axis,
.week-track {
  position: relative;
  min-height: 560px;
}

.week-time-axis {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
}

.week-time-label {
  position: absolute;
  right: 6px;
  transform: translateY(-50%);
  white-space: nowrap;
}

.week-track {
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(148, 163, 184, 0.14) 0,
      rgba(148, 163, 184, 0.14) 1px,
      transparent 1px,
      transparent var(--hour-height)
    ),
    rgba(255, 255, 255, 0.7);
}

.week-lanes {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px;
}

.week-lane {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.week-lane-label,
.schedule-lane-title {
  margin: 0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.week-lane-label {
  padding-left: 6px;
}

.week-lane-empty {
  position: absolute;
  top: 14px;
  left: 10px;
  right: 10px;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 850;
  text-align: center;
}

.week-event {
  position: absolute;
  left: 5px;
  right: 5px;
  display: block;
  overflow: hidden;
  padding: 7px 8px;
  border: 1px solid var(--border-soft);
  border-left: 4px solid #94a3b8;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.week-event.lane-standby {
  border-style: dashed;
}

.week-event:hover {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  z-index: 2;
}

.week-event-head,
.week-event-time,
.week-event span,
.week-event strong,
.week-flag {
  display: block;
}

.week-event-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.week-event-time {
  color: #475569;
  font-size: 0.68rem;
  font-weight: 900;
}

.week-status-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 999px;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 18px;
  text-align: center;
}

.week-status-icon.status-reserved {
  background: var(--green);
}

.week-status-icon.status-walkup {
  background: var(--amber);
}

.week-status-icon.status-standby {
  background: #f97316;
}

.week-event strong {
  margin-top: 2px;
  font-size: 0.74rem;
  line-height: 1.18;
}

.week-event span:not(.week-event-time):not(.week-status-icon) {
  margin-top: 2px;
  color: #64748b;
  font-size: 0.68rem;
  line-height: 1.18;
}

.week-flag {
  margin-top: 3px;
  color: #be123c;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
}

.day-title {
  position: sticky;
  top: 156px;
  z-index: 3;
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(244, 246, 251, 0.92);
  color: #334155;
  font-size: 0.86rem;
  backdrop-filter: blur(10px);
}

.day-group.standby-parallel {
  gap: 12px;
}

.day-timeline {
  gap: 12px;
}

.day-timeline-grid {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
}

.day-lane-labels {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px;
}

.day-lane-labels span {
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.day-timeline .week-time-axis,
.day-timeline .week-track {
  min-height: 440px;
}

.day-lanes {
  min-width: 0;
}

.day-parallel-grid {
  display: grid;
  gap: 12px;
}

.schedule-lane {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.7);
}

.standby-lane {
  background: rgba(255, 247, 237, 0.78);
}

.schedule-card,
.favorite-card,
.note-card,
.travel-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--border-soft);
  border-left: 4px solid #94a3b8;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.schedule-card:hover,
.favorite-card:hover,
.note-card:hover,
.travel-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.schedule-card {
  grid-template-columns: 72px minmax(0, 1fr);
}

.time-block {
  align-self: start;
  padding: 8px 7px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  color: #334155;
  font-size: 0.77rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.card-main {
  min-width: 0;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 0.98rem;
  letter-spacing: -0.018em;
}

.card-title span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta,
.card-description,
.note-card p,
.travel-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.venue-caesars-forum {
  border-left-color: var(--cf-accent);
  background: linear-gradient(180deg, var(--cf-bg), #ffffff 72%);
}

.venue-caesars-palace {
  border-left-color: var(--cp-accent);
  background: linear-gradient(180deg, var(--cp-bg), #ffffff 72%);
}

.venue-mgm-grand {
  border-left-color: var(--mgm-accent);
  background: linear-gradient(180deg, var(--mgm-bg), #ffffff 72%);
}

.venue-venetian {
  border-left-color: var(--ven-accent);
  background: linear-gradient(180deg, var(--ven-bg), #ffffff 72%);
}

.venue-wynn-encore {
  border-left-color: var(--wynn-accent);
  background: linear-gradient(180deg, var(--wynn-bg), #ffffff 72%);
}

.card-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.68rem;
  font-weight: 900;
}

.badge.target,
.badge.reserved {
  background: #dcfce7;
  color: #047857;
}

.badge.walkup,
.badge.favorite {
  background: #fef3c7;
  color: #b45309;
}

.badge.standby {
  background: #ffedd5;
  color: #c2410c;
}

.badge.meal {
  background: #ffedd5;
  color: #c2410c;
}

.badge.travel {
  background: #e0e7ff;
  color: #4338ca;
}

.badge.conflict {
  background: #ffe4e8;
  color: #be123c;
}

.card-grid {
  display: grid;
  gap: 12px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.small-link {
  border: 0;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
  font-weight: 900;
  padding: 0;
}

.bottom-nav {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.nav-button {
  padding: 9px 4px;
  font-size: 0.74rem;
}

.password-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 80% 10%, rgba(245, 158, 11, 0.14), transparent 26rem),
    linear-gradient(160deg, #0f172a, #1e293b);
}

.password-card {
  width: min(100%, 390px);
  display: grid;
  gap: 12px;
  padding: 28px;
}

.form-error {
  margin: 0;
  color: #be123c;
  font-size: 0.83rem;
  font-weight: 800;
}

.session-dialog {
  width: min(620px, calc(100vw - 24px));
  border: 0;
  padding: 0;
  background: transparent;
}

.session-tooltip {
  position: fixed;
  z-index: 80;
  width: min(390px, calc(100vw - 28px));
  max-height: min(560px, calc(100vh - 28px));
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
  color: #0f172a;
  pointer-events: none;
}

.tooltip-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}

.session-tooltip h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.22;
  letter-spacing: -0.018em;
}

.tooltip-rows {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
}

.tooltip-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  color: #475569;
  font-size: 0.76rem;
}

.tooltip-row span {
  color: #64748b;
  font-weight: 850;
}

.tooltip-row strong {
  color: #1e293b;
  font-weight: 750;
}

.session-tooltip p {
  margin: 0;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.45;
}

.session-tooltip p + p {
  margin-top: 9px;
}

.session-tooltip p + .tooltip-rows {
  margin-top: 10px;
}

.tooltip-note {
  padding-top: 9px;
  border-top: 1px solid var(--border-soft);
}

.session-dialog::backdrop {
  background: rgba(2, 6, 23, 0.64);
}

.dialog-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.dialog-description {
  margin: 0;
  color: #475569;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  padding: 18px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}

[hidden] {
  display: none !important;
}

@media (min-width: 720px) {
  .app-header-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px 32px 26px;
  }

  .subnav-inner {
    padding: 10px 24px;
  }

  .toolbar-actions {
    display: flex;
  }

  .main-layout {
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: start;
    padding: 24px;
  }

  .app-shell.all-days-mode .main-layout {
    grid-template-columns: 1fr;
    max-width: 1560px;
  }

  .controls-panel {
    position: sticky;
    top: 72px;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius);
  }

  .controls-primary,
  .controls-secondary {
    display: contents;
  }

  .controls-panel.filters-expanded .controls-secondary {
    display: contents;
  }

  .filter-toggle {
    display: none;
  }

  .controls-panel input {
    padding: 11px 12px;
  }

  .filter-row,
  .view-toggle {
    gap: 8px;
  }

  .chip {
    min-height: 42px;
  }

  .app-shell.all-days-mode .controls-panel {
    grid-template-columns: minmax(260px, 380px) minmax(0, auto) minmax(0, auto) minmax(220px, 1fr);
    align-items: end;
  }

  .summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .day-parallel-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    align-items: start;
  }

  .bottom-nav {
    display: none;
  }
}

@media (min-width: 980px) {
  .app-shell {
    padding-bottom: 96px;
  }

  .schedule-list.compact .day-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-list.compact .day-group.standby-parallel {
    grid-template-columns: 1fr;
  }

  .schedule-list.compact .day-group.day-timeline {
    grid-template-columns: 1fr;
  }

  .schedule-list.compact .day-title {
    grid-column: 1 / -1;
  }

  .schedule-list.compact .day-parallel-grid {
    grid-column: 1 / -1;
  }

  .schedule-list.compact .day-timeline-grid {
    grid-column: 1 / -1;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
