:root {
  --tv-sky: #7EC8E3;
  --tv-sky-deep: #5BAFD4;
  --tv-sun: #FFC857;
  --tv-sun-glow: #FFE082;
  --tv-sea: #5BAAAF;
  --tv-grass: #8BC34A;
  --tv-coral: #FF7E67;
  --tv-lavender: #B39DDB;
  --tv-cream: #FFF8E7;
  --tv-ink: #2D4059;
  --tv-muted: #5C6B7A;
  --tv-white: #FFFFFF;
  --tv-shadow: 0 8px 32px rgba(45, 64, 89, 0.12);
  --tv-radius: 20px;
  --tv-radius-sm: 12px;
  --tv-font-display: 'Fredoka', system-ui, sans-serif;
  --tv-font-body: 'Nunito', system-ui, sans-serif;
  --tv-layout-max: min(96vw, 2700px);
  --tv-layout-pad: clamp(1rem, 2.5vw, 3rem);
  --tv-sidebar: minmax(280px, 380px);
}

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

.tv-app {
  min-height: 100vh;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  font-family: var(--tv-font-body);
  color: var(--tv-ink);
  background: linear-gradient(180deg, var(--tv-sky) 0%, #A8DCE8 35%, var(--tv-cream) 100%);
  position: relative;
  overflow-x: hidden;
}

/* Animated sky */
.tv-sky {
  position: fixed;
  inset: 0 0 auto 0;
  height: 280px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.tv-sun {
  position: absolute;
  top: 40px;
  right: 8%;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 35% 35%, var(--tv-sun-glow), var(--tv-sun));
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255, 200, 87, 0.6);
  animation: tv-pulse 4s ease-in-out infinite;
}

@keyframes tv-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.tv-cloud {
  position: absolute;
  background: rgba(255,255,255,0.85);
  border-radius: 50px;
  filter: drop-shadow(0 4px 8px rgba(255,255,255,0.4));
}
.tv-cloud::before, .tv-cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.tv-cloud-1 { width: 120px; height: 40px; top: 60px; left: 5%; animation: tv-drift 28s linear infinite; }
.tv-cloud-1::before { width: 50px; height: 50px; top: -25px; left: 15px; }
.tv-cloud-1::after { width: 70px; height: 55px; top: -30px; left: 45px; }
.tv-cloud-2 { width: 100px; height: 35px; top: 110px; left: 40%; animation: tv-drift 35s linear infinite reverse; opacity: 0.9; }
.tv-cloud-2::before { width: 45px; height: 45px; top: -22px; left: 10px; }
.tv-cloud-2::after { width: 55px; height: 45px; top: -25px; left: 35px; }
.tv-cloud-3 { width: 90px; height: 32px; top: 45px; left: 70%; animation: tv-drift 22s linear infinite; opacity: 0.75; }
.tv-cloud-3::before { width: 40px; height: 40px; top: -20px; left: 12px; }
.tv-cloud-3::after { width: 50px; height: 40px; top: -22px; left: 30px; }

@keyframes tv-drift {
  from { transform: translateX(-10vw); }
  to { transform: translateX(110vw); }
}

.tv-plane {
  position: absolute;
  top: 90px;
  font-size: 2rem;
  animation: tv-fly 18s linear infinite;
  filter: drop-shadow(2px 4px 0 rgba(45,64,89,0.15));
}
@keyframes tv-fly {
  0% { left: -60px; transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(0deg); }
  100% { left: calc(100% + 60px); transform: translateY(5px) rotate(3deg); }
}

/* Header */
.tv-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--tv-layout-max);
  margin: 0 auto;
  padding: 1.5rem var(--tv-layout-pad) 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tv-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tv-logo-icon {
  font-size: 2.8rem;
  filter: drop-shadow(0 4px 0 rgba(45,64,89,0.1));
  animation: tv-wiggle 3s ease-in-out infinite;
}
@keyframes tv-wiggle {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.tv-title {
  font-family: var(--tv-font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 0;
  color: var(--tv-white);
  text-shadow: 2px 3px 0 var(--tv-sky-deep), 0 0 20px rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

.tv-tagline {
  margin: 0.15rem 0 0;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Buttons */
.tv-btn {
  font-family: var(--tv-font-display);
  font-weight: 600;
  border: 3px solid var(--tv-ink);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-size: 0.95rem;
  box-shadow: 0 4px 0 var(--tv-ink);
}
.tv-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--tv-ink); }
.tv-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--tv-ink); }
.tv-btn-primary { background: var(--tv-coral); color: var(--tv-white); }
.tv-btn-sun { background: var(--tv-sun); color: var(--tv-ink); }
.tv-btn-ghost { background: var(--tv-white); color: var(--tv-ink); padding: 0.4rem 0.9rem; }
.tv-btn-danger { background: #FF6B6B; color: white; }
.tv-btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }

/* Layout */
.tv-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--tv-sidebar) 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  width: 100%;
  max-width: var(--tv-layout-max);
  margin: 0 auto;
  padding: 0 var(--tv-layout-pad) 2rem;
}

@media (max-width: 1100px) {
  .tv-main { grid-template-columns: minmax(240px, 300px) 1fr; }
}

@media (max-width: 900px) {
  .tv-main { grid-template-columns: 1fr; }
}

@media (min-width: 1600px) {
  .tv-cal-day { min-height: 68px; font-size: 0.9rem; }
  .tv-record { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .tv-detail { padding: 1.5rem 2rem 2rem; }
  .tv-workspace { min-height: 640px; }
}

.tv-panel {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  border: 3px solid var(--tv-ink);
  border-radius: var(--tv-radius);
  padding: 1.1rem;
  box-shadow: var(--tv-shadow);
  margin-bottom: 1rem;
}

.tv-panel-title {
  font-family: var(--tv-font-display);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

/* Trip list */
.tv-trip-list { display: flex; flex-direction: column; gap: 0.6rem; }

.tv-trip-card {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--tv-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  background: var(--tv-cream);
}
.tv-trip-card:hover { transform: scale(1.02); border-color: var(--tv-ink); }
.tv-trip-card.active { border-color: var(--tv-ink); background: white; box-shadow: 0 4px 0 var(--tv-ink); }

.tv-trip-card-color {
  width: 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.tv-trip-card-body h3 {
  font-family: var(--tv-font-display);
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
}
.tv-trip-card-body p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--tv-muted);
}
.tv-trip-card-cities {
  font-size: 0.75rem;
  margin-top: 0.3rem;
  color: var(--tv-sea);
  font-weight: 700;
}

/* City chips */
.tv-city-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tv-city-chip {
  font-family: var(--tv-font-display);
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--tv-sky);
  color: white;
  border: 2px solid var(--tv-ink);
}

/* Workspace */
.tv-workspace {
  background: rgba(255,255,255,0.92);
  border: 3px solid var(--tv-ink);
  border-radius: var(--tv-radius);
  box-shadow: var(--tv-shadow);
  min-height: 520px;
  overflow: hidden;
}

.tv-empty {
  text-align: center;
  padding: 4rem 2rem;
}
.tv-empty-art { font-size: 3rem; margin-bottom: 1rem; letter-spacing: 0.3rem; }
.tv-empty h2 { font-family: var(--tv-font-display); font-size: 1.8rem; margin: 0 0 0.5rem; }
.tv-empty p { color: var(--tv-muted); max-width: 400px; margin: 0 auto 1.5rem; }

.hidden { display: none !important; }

/* Detail view */
.tv-detail { padding: 1.25rem 1.5rem 1.5rem; }

.tv-detail-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed rgba(45,64,89,0.15);
}

.tv-trip-title-input {
  font-family: var(--tv-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  border: none;
  background: transparent;
  width: 100%;
  color: var(--tv-ink);
  padding: 0;
}
.tv-trip-title-input:focus { outline: 2px dashed var(--tv-sky); border-radius: 4px; }

.tv-trip-desc {
  width: 100%;
  border: 2px solid rgba(45,64,89,0.12);
  border-radius: var(--tv-radius-sm);
  padding: 0.5rem 0.75rem;
  font-family: var(--tv-font-body);
  resize: vertical;
  margin-top: 0.5rem;
  background: var(--tv-cream);
}

.tv-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.tv-field-inline {
  font-family: var(--tv-font-display);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.tv-field-inline input {
  border: 2px solid var(--tv-ink);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-family: var(--tv-font-body);
}

/* Tabs */
.tv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tv-tab {
  font-family: var(--tv-font-display);
  font-size: 0.88rem;
  padding: 0.5rem 0.9rem;
  border: 2px solid var(--tv-ink);
  border-radius: 999px;
  background: var(--tv-cream);
  cursor: pointer;
  transition: background 0.15s;
}
.tv-tab.active, .tv-tab:hover { background: var(--tv-sky); color: white; }

.tv-tab-panel { display: none; }
.tv-tab-panel.active { display: block; }

/* Calendar */
.tv-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.tv-calendar-nav h3 {
  font-family: var(--tv-font-display);
  margin: 0;
  font-size: 1.15rem;
}

.tv-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 1rem;
}

.tv-cal-head {
  text-align: center;
  font-family: var(--tv-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tv-muted);
  padding: 0.35rem;
}

.tv-cal-day {
  aspect-ratio: 1;
  min-height: 52px;
  border: 2px solid rgba(45,64,89,0.1);
  border-radius: 10px;
  padding: 0.25rem;
  cursor: pointer;
  background: var(--tv-cream);
  transition: transform 0.12s, border-color 0.12s;
  position: relative;
  font-size: 0.82rem;
}
.tv-cal-day:hover { transform: scale(1.05); border-color: var(--tv-ink); z-index: 1; }
.tv-cal-day.other-month { opacity: 0.35; }
.tv-cal-day.in-trip { background: rgba(126, 200, 227, 0.35); border-color: var(--tv-sky-deep); }
.tv-cal-day.selected { background: var(--tv-sun); border-color: var(--tv-ink); font-weight: 700; box-shadow: 0 3px 0 var(--tv-ink); }
.tv-cal-day.today { outline: 2px dashed var(--tv-coral); }
.tv-cal-day-num { font-family: var(--tv-font-display); font-weight: 600; }
.tv-cal-dots { display: flex; gap: 2px; flex-wrap: wrap; margin-top: 2px; }
.tv-cal-dot { width: 6px; height: 6px; border-radius: 50%; }
.tv-cal-dot.flight { background: var(--tv-coral); }
.tv-cal-dot.stay { background: var(--tv-sea); }
.tv-cal-dot.booking { background: var(--tv-grass); }

.tv-day-detail {
  background: var(--tv-cream);
  border: 2px solid var(--tv-ink);
  border-radius: var(--tv-radius-sm);
  padding: 1rem;
  min-height: 80px;
}
.tv-day-detail h4 { font-family: var(--tv-font-display); margin: 0 0 0.5rem; }
.tv-day-detail ul { margin: 0; padding-left: 1.2rem; }
.tv-day-detail li { margin-bottom: 0.35rem; font-size: 0.9rem; }
.tv-day-detail-empty { color: var(--tv-muted); font-style: italic; }

/* Records lists */
.tv-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tv-list-header h3 { font-family: var(--tv-font-display); margin: 0; font-size: 1rem; }

.tv-records { display: flex; flex-direction: column; gap: 0.65rem; }

.tv-record {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--tv-cream);
  border: 2px solid rgba(45,64,89,0.12);
  border-radius: var(--tv-radius-sm);
  position: relative;
}

.tv-record label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tv-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tv-record input, .tv-record select, .tv-record textarea {
  border: 2px solid rgba(45,64,89,0.15);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  font-family: var(--tv-font-body);
  font-size: 0.88rem;
  background: white;
}
.tv-record textarea { min-height: 48px; resize: vertical; }
.tv-record-wide { grid-column: 1 / -1; }

.tv-record-remove {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0.5;
  line-height: 1;
}
.tv-record-remove:hover { opacity: 1; }

/* Participants */
.tv-participants { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tv-participant {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--tv-lavender);
  color: white;
  border: 2px solid var(--tv-ink);
  border-radius: 999px;
  padding: 0.35rem 0.5rem 0.35rem 0.75rem;
  font-family: var(--tv-font-display);
  font-weight: 600;
  font-size: 0.9rem;
}
.tv-participant input {
  border: none;
  background: transparent;
  color: white;
  font-family: inherit;
  font-weight: 600;
  width: 90px;
  min-width: 60px;
}
.tv-participant input::placeholder { color: rgba(255,255,255,0.7); }
.tv-participant input:focus { outline: none; }
.tv-participant button {
  background: rgba(0,0,0,0.15);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
  color: white;
  font-size: 0.85rem;
  line-height: 1;
}

.tv-save-status {
  text-align: center;
  font-size: 0.82rem;
  color: var(--tv-muted);
  margin: 1rem 0 0;
  font-weight: 600;
}
.tv-save-status.saving { color: var(--tv-coral); }
.tv-save-status.error { color: #E53935; }

#tv-empty-state.hidden { display:none !important; visibility:hidden !important; height:0 !important; overflow:hidden !important; padding:0 !important; }

.tv-header-actions { display:flex; align-items:center; gap:0.6rem; flex-wrap:wrap; }
.tv-user-badge { font-family: var(--tv-font-display); font-weight:600; color:white; background:rgba(255,255,255,0.2); border:2px solid rgba(255,255,255,0.5); padding:0.35rem 0.75rem; border-radius:999px; font-size:0.85rem; }
.tv-login-gate {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--tv-layout-max);
  margin: 0 auto;
  min-height: 60vh;
  padding: 2rem var(--tv-layout-pad);
}
.tv-login-card { background:rgba(255,255,255,0.92); border:3px solid var(--tv-ink); border-radius:var(--tv-radius); box-shadow:var(--tv-shadow); padding:2.5rem 2rem; text-align:center; max-width:min(480px, 92vw); width:100%; }
.tv-login-card h2 { font-family:var(--tv-font-display); font-size:1.8rem; margin:0 0 0.5rem; }
.tv-login-card p { color:var(--tv-muted); margin:0 0 1.5rem; line-height:1.5; }
.tv-btn-lg { padding:0.85rem 1.75rem; font-size:1.05rem; text-decoration:none; display:inline-block; }

.tv-login-register { margin-top:1.25rem; font-size:0.92rem; color:var(--tv-muted); }
.tv-login-register a { color:var(--tv-sky-deep); font-weight:700; text-decoration:none; border-bottom:2px solid var(--tv-sun); }
.tv-login-register a:hover { color:var(--tv-coral); }

.tv-trip-badge { display:inline-block; margin-left:0.35rem; font-size:0.65rem; font-family:var(--tv-font-display); background:var(--tv-lavender); color:white; padding:0.1rem 0.45rem; border-radius:999px; vertical-align:middle; border:1px solid var(--tv-ink); }
.tv-trip-badge-shared { background:var(--tv-sea); }
.tv-trip-owner-note { font-size:0.85rem; color:var(--tv-sea); font-weight:700; margin:0.35rem 0 0; }
.tv-share-help { color:var(--tv-muted); margin:0 0 1rem; font-size:0.9rem; }
.tv-share-search { margin-bottom:1rem; position:relative; }
.tv-share-input { width:100%; border:2px solid var(--tv-ink); border-radius:var(--tv-radius-sm); padding:0.6rem 0.75rem; font-family:var(--tv-font-body); font-size:0.95rem; background:white; }
.tv-share-results { position:absolute; left:0; right:0; top:calc(100% + 4px); background:white; border:2px solid var(--tv-ink); border-radius:var(--tv-radius-sm); box-shadow:var(--tv-shadow); z-index:5; max-height:220px; overflow:auto; }
.tv-share-result { display:block; width:100%; text-align:left; border:none; background:var(--tv-cream); padding:0.65rem 0.75rem; cursor:pointer; font-family:var(--tv-font-body); border-bottom:1px solid rgba(45,64,89,0.08); }
.tv-share-result:hover { background:var(--tv-sky); color:white; }
.tv-share-result strong { font-family:var(--tv-font-display); }
.tv-share-result span { opacity:0.8; margin-left:0.35rem; font-size:0.85rem; }
.tv-share-empty { margin:0; padding:0.65rem 0.75rem; color:var(--tv-muted); font-size:0.85rem; }
.tv-shared-list { display:flex; flex-direction:column; gap:0.5rem; }
.tv-shared-user { display:flex; align-items:center; gap:0.65rem; background:var(--tv-cream); border:2px solid rgba(45,64,89,0.12); border-radius:var(--tv-radius-sm); padding:0.65rem 0.75rem; }
.tv-shared-avatar { font-size:1.2rem; }
.tv-shared-info { flex:1; display:flex; flex-direction:column; gap:0.1rem; }
.tv-shared-info strong { font-family:var(--tv-font-display); font-size:0.95rem; }
.tv-shared-info span { font-size:0.78rem; color:var(--tv-muted); }
.tv-shared-remove { background:rgba(0,0,0,0.08); border:none; border-radius:50%; width:26px; height:26px; cursor:pointer; font-size:1rem; line-height:1; }
.tv-shared-remove:hover { background:var(--tv-coral); color:white; }

.tv-trip-cities, .tv-sidebar-cities { margin-bottom: 1rem; }
.tv-trip-cities .tv-city-chips, .tv-trip-cities { display:flex; flex-wrap:wrap; gap:0.45rem; }
.tv-city-add-row { display:flex; gap:0.5rem; margin-bottom:1.25rem; flex-wrap:wrap; }
.tv-city-add-row .tv-share-input { flex:1; min-width:180px; }
.tv-suggest-title { font-family:var(--tv-font-display); font-size:0.9rem; margin:0 0 0.6rem; color:var(--tv-muted); }
.tv-city-suggestions { margin-top:0; }
.tv-city-chip-click { cursor:pointer; transition:transform 0.12s, background 0.12s; }
.tv-city-chip-click:hover { transform:scale(1.05); background:var(--tv-sun); color:var(--tv-ink); }
.tv-city-chip-added { opacity:0.55; background:var(--tv-grass); cursor:default; }
.tv-city-chip { position:relative; padding-right:0.5rem; display:inline-flex; align-items:center; gap:0.2rem; }
.tv-city-remove { background:rgba(0,0,0,0.12); border:none; border-radius:50%; width:18px; height:18px; cursor:pointer; font-size:0.85rem; line-height:1; margin-left:0.15rem; color:inherit; }
.tv-city-remove:hover { background:var(--tv-coral); color:white; }
.tv-sidebar-cities .tv-city-chips { display:flex; flex-wrap:wrap; gap:0.4rem; }

/* Calendar toolbar & focus mode */
.tv-cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.tv-cal-toolbar .tv-calendar-nav { margin-bottom: 0; flex: 1; min-width: 200px; }

.tv-cal-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tv-cal-layout.focused {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.tv-cal-layout.focused .tv-calendar {
  gap: 6px;
}
.tv-cal-layout.focused .tv-cal-day {
  min-height: 88px;
  aspect-ratio: auto;
  font-size: 0.95rem;
  padding: 0.4rem;
}
.tv-cal-layout.focused .tv-day-detail {
  min-height: 420px;
  max-height: 72vh;
  overflow: auto;
}

@media (max-width: 900px) {
  .tv-cal-layout.focused { grid-template-columns: 1fr; }
  .tv-cal-layout.focused .tv-day-detail { max-height: none; min-height: 0; }
}

.tv-cal-dot.event { background: var(--tv-lavender); }

/* Time-sorted day agenda */
.tv-day-agenda h4 { margin-top: 0; }
.tv-agenda {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.tv-agenda-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.65rem 0.75rem;
  border-radius: var(--tv-radius-sm);
  border: 2px solid rgba(45,64,89,0.1);
  background: white;
}
.tv-agenda-time {
  font-family: var(--tv-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--tv-sea);
  white-space: nowrap;
}
.tv-agenda-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}
.tv-agenda-body strong { font-family: var(--tv-font-display); font-size: 0.92rem; }
.tv-agenda-detail { color: var(--tv-muted); font-size: 0.85rem; }
.tv-agenda-extra { color: var(--tv-muted); font-size: 0.78rem; font-style: italic; }
.tv-agenda-event { border-left: 4px solid var(--tv-lavender); }
.tv-agenda-flight { border-left: 4px solid var(--tv-coral); }
.tv-agenda-booking { border-left: 4px solid var(--tv-grass); }
.tv-agenda-stay { border-left: 4px solid var(--tv-sea); }

@media (min-width: 1600px) {
  .tv-cal-layout.focused .tv-cal-day { min-height: 96px; }
}