@import url(https://fonts.bunny.net/css?family=inter-tight:400,500,600,700|space-grotesk:400,500,600,700&display=swap);
/* Note: flatpickr's own stylesheet (flatpickr.min.css) is loaded from
   assets/vendor/flatpickr/ via the default layout. This file only ships
   FLV-specific wrapper and theme overrides. */

.flv-picker {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.flv-picker__input {
    flex: 1 1 auto;
    width: 100%;
    padding: 8px 34px 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.flv-picker__input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.flv-picker__input:disabled {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

.flv-picker__clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #9ca3af;
    font-size: 0.78rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.flv-picker__clear:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Flatpickr theme overrides — subtle alignment with FLV styles */

.flatpickr-calendar {
    border-radius: 14px;
    box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
    font-family: inherit;
}

.flatpickr-day.today {
    border-color: #2563eb;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.flatpickr-day.inRange,
.flatpickr-day.inRange:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: -5px 0 0 rgba(37, 99, 235, 0.12), 5px 0 0 rgba(37, 99, 235, 0.12);
    color: #0f172a;
}

@charset "UTF-8";
/* ============================================
   FaisLesValises — Design System
   ============================================ */
.onb-lock {
  overflow: hidden;
}

.site-help {
  position: relative;
  z-index: 1300;
}

.site-help__toggle {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.site-help__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 260px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  z-index: 1310;
}

.site-help__menu[hidden] {
  display: none;
}

.site-help__link {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--color-text);
  text-align: left;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.site-help__link--muted,
.site-help__hint,
.site-help__version {
  color: var(--color-muted);
  font-size: 0.76rem;
}

.site-help__version {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #ece9e2;
}

.onb-welcome {
  position: fixed;
  inset: 0;
  z-index: 250;
}

.onb-welcome__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 14, 0.56);
  backdrop-filter: blur(6px);
}

.onb-welcome__dialog {
  position: relative;
  width: min(720px, 100vw - 32px);
  margin: min(12vh, 96px) auto 0;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffef9 0%, #f4f0e8 100%);
  color: var(--color-text);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
}

.onb-welcome__close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.onb-welcome__eyebrow,
.onb-tour__eyebrow,
.my-plans-empty__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.onb-welcome h2 {
  margin: 8px 0 10px;
  text-transform: none;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
  text-stroke: 0;
}

.onb-welcome__intro {
  margin: 0 0 18px;
  color: #3d463f;
  font-size: 0.96rem;
}

.onb-welcome__promises {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.onb-welcome__promise {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 74, 58, 0.1);
}

.onb-welcome__promise strong {
  font-size: 0.92rem;
}

.onb-welcome__promise span,
.my-plans-empty__step p {
  font-size: 0.86rem;
  color: var(--color-muted);
}

.onb-welcome__actions,
.my-plans-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.onb-tour {
  position: fixed;
  inset: 0;
  z-index: 6000;
}

.onb-tour__scrim {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 17, 0.42);
  z-index: 0;
}

.onb-tour__spotlight {
  position: absolute;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 9999px rgba(7, 20, 17, 0.28);
  pointer-events: none;
  z-index: 1;
}

.onb-tour__card {
  position: absolute;
  width: min(340px, 100vw - 32px);
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  z-index: 2;
}

.onb-tour__title {
  margin: 8px 0 8px;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
  text-stroke: 0;
}

.onb-tour__body {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: #49534b;
}

.onb-tour__actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.my-plans-empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 42px 28px;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(180deg, #f9f6ef 0%, #f0ecdf 100%);
  color: var(--color-text);
}

.my-plans-empty__steps {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.my-plans-empty__step {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(26, 74, 58, 0.1);
}

.my-plans-empty__step-index {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .my-plans-empty__steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .site-help__menu {
    right: -12px;
    left: auto;
    min-width: 220px;
  }
  .onb-welcome__dialog {
    padding: 22px 18px;
    margin-top: 32px;
  }
  .onb-tour__card {
    left: 16px !important;
    right: 16px;
    width: auto;
  }
}
:root {
  --color-primary: #1a4a3a;
  --color-accent: #2db88a;
  --color-bg: #1a4a3a;
  --color-text: #1a1a1a;
  --color-muted: #6b6b68;
  --color-xp: #f4a020;
  --color-white: #ffffff;
  --color-border: #e2e2de;
  --color-card: #ffffff;
  --color-danger: #ef4444;
  --color-hotel: #6366f1;
  --color-restaurant: #ef4444;
  --color-activity: #2db88a;
  --color-bar: #f59e0b;
  --color-excursion: #8b5cf6;
  --color-transport: #64748b;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --font-body: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.2s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 22px;
  background: var(--color-bg);
  color: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Cards on dark bg — restore dark text on white cards */
.plan-surface:not(.ratings-section):not(.feedback-section) {
  color: var(--color-text);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Pictos (themes/flv/assets/images/pictos) ---- */
.picto {
  display: inline-block;
  vertical-align: -3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Dark-bg inversion: FLV's dark pages need white icons */
.plan-header .picto,
.pub-vtl .picto,
.plan-surface:not(.ratings-section):not(.feedback-section) .picto-on-dark,
.my-plans-hero .picto,
body > .picto-on-dark {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* Accent colored icons */
.picto--accent {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.picto--sm {
  width: 14px;
  height: 14px;
}

.picto--lg {
  width: 24px;
  height: 24px;
}

.picto--xl {
  width: 32px;
  height: 32px;
}

h1, h2, h3, h4,
[class*=__subtitle],
[class*=__eyebrow] {
  font-family: var(--font-heading);
}

h1, h2, h3, h4 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  line-height: 1.2;
}

h1, h2 {
  -webkit-text-stroke: 0.4px currentColor;
  text-stroke: 0.4px currentColor;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.15rem;
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 900px;
}

/* ---- Header ---- */
.site-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 5000;
  box-shadow: var(--shadow-md);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-header__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__logo img {
  -o-object-fit: contain;
     object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.site-header__logo-desktop {
  width: 220px;
  height: 56px;
}

.site-header__logo-mobile {
  display: none;
  width: 46px;
  height: 46px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.site-nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.site-nav__toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  display: block;
}

.site-nav__panel {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav__panel-head {
  display: none;
}

.site-nav__primary,
.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav__backdrop {
  display: none;
}

.site-nav__cta {
  justify-content: center;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}

.site-nav a:hover {
  color: var(--color-white);
}

.site-nav a.active {
  color: var(--color-accent);
}

.site-nav__panel-close {
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background: #25a07a;
  color: var(--color-white);
}

.btn--accent {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--accent:hover {
  background: #143d30;
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-muted);
  padding: 8px 16px;
}

.btn--ghost:hover {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.04);
}

.btn--sm {
  padding: 6px 16px;
  font-size: 0.8rem;
}

.btn--icon {
  padding: 8px;
  border-radius: var(--radius-sm);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ---- Cards ---- */
.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #395c45 0%, #213728 100%);
  color: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__cover {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}

.card__body {
  padding: 16px;
}

.card__title {
  font-size: 1rem;
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.card__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.card__meta svg {
  width: 14px;
  height: 14px;
}

/* ---- Stars ---- */
.stars {
  display: inline-flex;
  gap: 2px;
}

.stars svg {
  width: 16px;
  height: 16px;
}

.stars svg.filled {
  color: var(--color-xp);
}

.stars svg.empty {
  color: var(--color-border);
}

/* ---- Badge chip ---- */
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-chip--adaptation {
  background: rgba(45, 184, 138, 0.12);
  color: var(--color-accent);
}

.badge-chip--level {
  background: rgba(244, 160, 32, 0.12);
  color: var(--color-xp);
}

/* ---- XP Progress Bar ---- */
.xp-bar {
  width: 100%;
  height: 8px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.xp-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-xp));
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

/* ---- Plan Detail ---- */
.plan-header {
  position: relative;
  color: var(--color-white);
  padding: 60px 0 40px;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}

.plan-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.plan-header__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.plan-header__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 74, 58, 0.7), rgba(26, 74, 58, 0.1));
}

.plan-header--gradient .plan-header__bg {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.plan-header__credit {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  backdrop-filter: blur(4px);
}

.plan-header__credit a {
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

/* ---- Plan card cover (Lot 8.3 — shared partial) ---- */
.plan-card__media-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.plan-card .card__title a {
  text-decoration: none;
  color: inherit;
}

.plan-card__media {
  position: relative;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}

.plan-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.plan-card__credit {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(3px);
  pointer-events: auto;
}

.plan-card__credit a {
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.plan-header__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.plan-header__title {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.plan-header__subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.plan-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.9;
}

.plan-header__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-header__meta-item svg {
  width: 18px;
  height: 18px;
}

.plan-header__meta-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity var(--transition);
}

.plan-header__meta-link:hover {
  opacity: 0.7;
  color: inherit;
}

.plan-header__actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* ---- View Toggle ---- */
.view-toggle {
  display: flex;
  gap: 0;
  background: var(--color-card);
  border-radius: var(--radius-full);
  padding: 4px;
  box-shadow: var(--shadow-sm);
  width: -moz-fit-content;
  width: fit-content;
  margin: 30px auto;
}

.view-toggle__btn {
  padding: 10px 28px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
}

.view-toggle__btn.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.view-toggle__btn:hover:not(.active) {
  color: var(--color-text);
}

.view-toggle__btn svg {
  width: 18px;
  height: 18px;
}

/* =============================================================
   TRIP SUMMARY (résumé du voyage, en haut de la vue timeline)
   ============================================================= */
.timeline-view {
  padding: 10px 0 30px;
}

.trip-summary {
  display: grid;
  grid-template-columns: repeat(var(--total-days), minmax(36px, 1fr));
  gap: 0;
  padding: 20px 0 30px;
  row-gap: 10px;
  align-items: center;
  overflow-x: auto;
}

/* Ligne 1 : numéros de jours */
.trip-summary__days {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  position: relative;
}

.trip-summary__days::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  height: 3px;
  background: var(--color-border);
  z-index: 0;
}

.trip-summary__day {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-card);
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid var(--color-border);
  justify-self: center;
  padding: 0;
}

.trip-summary__day:hover:not(.active) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.trip-summary__day.active {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  transform: scale(1.15);
}

/* Ligne 2 : bande des villes (segments colorés) */
.trip-summary__cities {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: subgrid;
  min-height: 24px;
  position: relative;
}

.trip-summary__city-block {
  grid-column-start: var(--start);
  grid-column-end: span var(--span);
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 2px;
  min-width: 0;
}

.trip-summary__city-block span {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ligne 3 : pastilles d'événements */
.trip-summary__events {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: start;
}

.trip-summary__day-events {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  justify-self: center;
}

.trip-summary__event-pill {
  display: block;
  width: 22px;
  height: 6px;
  border-radius: var(--radius-full);
}

/* =============================================================
   DAY SCHEDULE (détail d'un jour)
   ============================================================= */
.day-schedule-wrapper {
  margin-top: 10px;
}

.day-schedule {
  display: none;
}

.day-schedule.active {
  display: block;
}

.day-schedule__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.day-schedule__number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-card);
  color: var(--color-text);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.day-schedule__date {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.3;
  text-transform: lowercase;
}

.day-schedule__date-day {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text);
  text-transform: none;
}

/* ---- Grille horaire ---- */
.day-schedule__grid {
  position: relative;
  display: grid;
  grid-template-columns: 60px 140px 1fr;
  gap: 0;
  min-height: 720px; /* 18h × 40px */
  padding: 10px 0;
}

/* Colonne des heures (gauche) */
.day-schedule__hours {
  position: relative;
  height: 100%;
}

.day-schedule__hour {
  position: absolute;
  left: 0;
  right: 8px;
  top: calc(var(--h) * 5.5555555556%);
  font-size: 0.7rem;
  color: var(--color-muted);
  font-weight: 600;
  text-align: right;
  transform: translateY(-50%);
}

.day-schedule__hour::after {
  content: "";
  position: absolute;
  left: calc(100% + 4px);
  top: 50%;
  width: 1000px;
  height: 1px;
  background: var(--color-border);
  opacity: 0.3;
  pointer-events: none;
}

/* Colonne rail (milieu) */
.day-schedule__rail {
  position: relative;
  height: 100%;
}

.day-schedule__rail-line {
  position: absolute;
  left: 50%;
  top: var(--top);
  height: var(--height);
  width: 14px;
  transform: translateX(-50%);
  background: var(--color-border);
  border-radius: var(--radius-full);
  opacity: 0.5;
}

.day-schedule__city {
  position: absolute;
  left: 50%;
  top: var(--pos);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.day-schedule__city--start {
  flex-direction: row-reverse;
}

.day-schedule__city-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-text);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.day-schedule__city--start .day-schedule__city-label {
  position: absolute;
  right: calc(100% + 12px);
}

.day-schedule__city--end .day-schedule__city-label {
  position: absolute;
  right: calc(100% + 12px);
}

.day-schedule__city-dot {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary);
  flex-shrink: 0;
}

/* Bloc trajet (icône voiture + durée) au milieu du rail */
.day-schedule__travel {
  position: absolute;
  left: 50%;
  top: var(--pos);
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.day-schedule__travel-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-text);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.day-schedule__travel-icon svg {
  width: 16px;
  height: 16px;
}

.day-schedule__travel-label {
  position: absolute;
  right: calc(100% + 10px);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

/* Colonne événements (droite) */
.day-schedule__events {
  position: relative;
  height: 100%;
  padding-left: 20px;
}

.day-schedule__event {
  position: absolute;
  left: 20px;
  right: 0;
  top: var(--top);
  min-height: 40px;
  height: var(--height);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.day-schedule__event-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.day-schedule__event-icon svg {
  width: 18px;
  height: 18px;
}

.day-schedule__event-card {
  flex: 1;
  background: var(--color-card);
  border-left: 3px solid var(--color-accent);
  border-left-color: var(--color);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  overflow: hidden;
}

.day-schedule__event-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.day-schedule__event-notes {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.day-schedule__event-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  margin-top: 4px;
  font-weight: 600;
}

.day-schedule__description {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--color-card);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 640px) {
  .day-schedule__grid {
    grid-template-columns: 48px 100px 1fr;
  }
  .day-schedule__city-label,
  .day-schedule__travel-label {
    font-size: 0.7rem;
  }
  .day-schedule__event-name {
    font-size: 0.82rem;
  }
}
/* ---- Map View ---- */
.map-view {
  display: none;
}

.map-view.active {
  display: block;
}

.plan-map-section {
  margin-top: 16px;
  overflow: hidden;
}

/* ---- Accordéons (Transport / Hébergements) ---- */
.plan-accordion {
  border-radius: 14px;
  background: linear-gradient(180deg, #395c45 0%, #213728 100%);
  color: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.plan-accordion[open] .plan-accordion__chevron {
  transform: rotate(90deg);
}

.plan-accordion__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background 0.12s;
  color: #fff;
}

.plan-accordion__header:hover {
  background: rgba(255, 255, 255, 0.06);
}

.plan-accordion__header::-webkit-details-marker {
  display: none;
}

.plan-accordion__icon {
  font-size: 1.1rem;
}

.plan-accordion__title {
  font-weight: 700;
  font-size: 1rem;
  flex: 1;
  color: #fff;
}

.plan-accordion__badge {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  padding: 2px 10px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.plan-accordion__chevron {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.72);
  transition: transform 0.2s;
  font-weight: 700;
}

.plan-accordion__body {
  padding: 0 18px 16px;
  color: rgba(255, 255, 255, 0.92);
}

/* Transport rows */
.plan-seg-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.plan-seg-row:last-child {
  border-bottom: none;
}

.plan-seg-row__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.plan-seg-row__main {
  flex: 1;
  min-width: 0;
}

.plan-seg-row__route {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.plan-seg-row__details {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.plan-seg-row__metrics {
  display: flex;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Stay rows */
.plan-stay-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.plan-stay-row:last-child {
  border-bottom: none;
}

.plan-stay-row__thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.plan-stay-row__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.2rem;
}

.plan-stay-row__main {
  flex: 1;
  min-width: 0;
}

.plan-stay-row__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.plan-stay-row__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.plan-stay-row__status {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.plan-stay-row__tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}

.plan-stay-row__tag--green {
  background: #d1fae5;
  color: #065f46;
}

.plan-stay-row__tag--blue {
  background: #dbeafe;
  color: #1e40af;
}

.map-container {
  width: 100%;
  height: 500px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-days {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-day-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.map-day-card__number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.map-day-card__info h4 {
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.map-day-card__info p {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.map-day-card__icons {
  display: flex;
  gap: 6px;
}

.map-day-card__icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-day-card__icon svg {
  width: 14px;
  height: 14px;
  color: var(--color-white);
}

/* ---- Budget Section ---- */
.budget-section {
  padding: 40px 0;
}

.budget-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 30px;
  align-items: start;
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.budget-table th,
.budget-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.budget-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.budget-table td {
  font-size: 0.9rem;
}

.budget-table tr:last-child td {
  border-bottom: none;
}

.budget-table__category {
  display: flex;
  align-items: center;
  gap: 8px;
}

.budget-table__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.budget-table tfoot td {
  font-weight: 700;
  background: rgba(26, 74, 58, 0.04);
}

/* Donut chart */
.donut-chart {
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.donut-chart svg {
  width: 100%;
  height: 100%;
}

.donut-center {
  font-size: 1.1rem;
  font-weight: 700;
}

.donut-legend {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.donut-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.donut-legend__color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---- Gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  padding: 40px 0;
}

.gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--color-white);
  font-size: 0.8rem;
}

/* ---- Public vertical timeline ---- */
.plan-itinerary-section {
  margin-top: 26px;
}

.plan-itinerary-section .section-title {
  margin-bottom: 18px;
  color: #fff;
  justify-content: center;
  text-align: center;
}

.pub-vtl {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 28px 36px 72px;
  color: #fff;
  overflow: hidden;
}

/* ── Transit between cities ─────────────────────────────── */
.pub-vtl__transit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-size: 0.96rem;
}

.pub-vtl__transit-step {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pub-vtl__transit-time {
  min-width: 58px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.pub-vtl__transit-city {
  color: #fff;
  font-weight: 700;
}

.pub-vtl__transit-rail {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-left: 28px;
}

.pub-vtl__transit-line {
  display: block;
  width: 6px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.pub-vtl__transit-mode {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.pub-vtl__transit-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
}

.pub-vtl__transit-icon svg {
  width: 26px;
  height: 26px;
}

.pub-vtl__transit-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pub-vtl__transit-copy strong {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.pub-vtl__transit-copy small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

/* ── City banner ────────────────────────────────────────── */
.pub-vtl__stop {
  padding: 26px 0 0;
}

.pub-vtl__stop--origin {
  padding-top: 0;
}

.pub-vtl__city {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pub-vtl__city-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.pub-vtl__city-icon svg {
  width: 30px;
  height: 30px;
}

.pub-vtl__city-main {
  flex: 1;
  min-width: 0;
}

.pub-vtl__city-name {
  display: block;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

/* ── Origin (home) banner — appears above the first day ──── */
.pub-vtl__origin {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.pub-vtl__origin--return {
  margin-top: 22px;
  margin-bottom: 0;
}

.pub-vtl__origin-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.pub-vtl__origin-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.pub-vtl__origin-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  min-width: 0;
}

.pub-vtl__origin-label {
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pub-vtl__origin-city {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}

.pub-vtl__origin-date {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

/* ── Excursion row (Lot 19) ─────────────────────────────── */
.pub-vtl__excursion {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  margin: 10px 0 10px 40px;
  border-left: 2px dashed rgba(255, 255, 255, 0.25);
  position: relative;
}

.pub-vtl__excursion-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-width: 56px;
}

.pub-vtl__excursion-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(244, 160, 32, 0.18);
  color: #f4a020;
}

.pub-vtl__excursion-icon svg {
  width: 20px;
  height: 20px;
}

.pub-vtl__excursion-tag {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4a020;
}

.pub-vtl__excursion-body {
  flex: 1;
  min-width: 0;
}

.pub-vtl__excursion-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}

.pub-vtl__excursion-title strong {
  color: #ffd88a;
  font-weight: 700;
}

.pub-vtl__excursion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.pub-vtl__excursion-arrow {
  margin: 0 4px;
  opacity: 0.7;
}

.pub-vtl__excursion-notes {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  font-style: italic;
}

/* Lot 19.1 — nested events inside an excursion */
.pub-vtl__excursion-events {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px dashed rgba(244, 160, 32, 0.4);
  padding-left: 12px;
}

.pub-vtl__excursion-event {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.pub-vtl__excursion-event-time {
  flex-shrink: 0;
  width: 46px;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}

.pub-vtl__excursion-event-name {
  flex: 1;
  min-width: 0;
}

.pub-vtl__excursion-event-cat {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Hotel row ──────────────────────────────────────────── */
.pub-vtl__stay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 1rem;
}

.pub-vtl__stay-name {
  color: #fff;
  font-weight: 700;
}

.pub-vtl__stay-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.pub-vtl__stay-status {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.94);
}

.pub-vtl__stay-status svg {
  width: 22px;
  height: 22px;
}

.pub-vtl__stay-nights {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Day row ────────────────────────────────────────────── */
.pub-vtl__day {
  position: relative;
  padding: 34px 0 0;
}

.pub-vtl__day-num {
  position: absolute;
  top: 30px;
  left: -60px;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.pub-vtl__day--cont .pub-vtl__day-num {
  width: 36px;
  height: 36px;
  left: -52px;
  top: 32px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  color: rgba(26, 74, 58, 0.85);
}

.pub-vtl__day-events {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 6px;
}

/* ── Event row ──────────────────────────────────────────── */
.pub-vtl__event {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pub-vtl__event--indent {
  margin-top: 14px;
}

.pub-vtl__day + .pub-vtl__event--indent {
  margin-top: 10px;
}

.pub-vtl__event-time {
  min-width: 56px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.pub-vtl__event-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.pub-vtl__event-name {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.pub-vtl__event-sep {
  color: rgba(255, 255, 255, 0.58);
}

.pub-vtl__event-cat {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pub-vtl__no-events {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-style: italic;
}

@media (max-width: 600px) {
  .pub-vtl {
    padding: 18px 18px 28px 74px;
    border-radius: 24px;
  }
  .pub-vtl__transit {
    gap: 14px;
    margin: 0 -18px 0 -74px;
    padding: 18px 18px 20px 74px;
  }
  .pub-vtl__transit-rail {
    gap: 16px;
    padding-left: 18px;
  }
  .pub-vtl__transit-line {
    width: 8px;
    height: 82px;
  }
  .pub-vtl__city {
    gap: 12px;
  }
  .pub-vtl__city-icon {
    width: 34px;
    height: 34px;
  }
  .pub-vtl__city-icon svg {
    width: 24px;
    height: 24px;
  }
  .pub-vtl__city-name {
    font-size: 2rem;
  }
  .pub-vtl__stay {
    align-items: flex-start;
    flex-direction: column;
  }
  .pub-vtl__stay-meta {
    justify-content: flex-start;
  }
  .pub-vtl__day {
    padding-top: 28px;
  }
  .pub-vtl__day-num {
    top: 24px;
    left: -74px;
    width: 60px;
    height: 60px;
    font-size: 2.2rem;
  }
  .pub-vtl__day-events {
    gap: 14px;
  }
  .pub-vtl__event {
    flex-direction: column;
    gap: 4px;
  }
  .pub-vtl__event-time {
    min-width: 0;
  }
}
/* ---- Plan cities grid (photos Unsplash par étape) ---- */
.plan-cities-section {
  padding: 40px 20px 10px;
}

.plan-cities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.plan-city-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.plan-city-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.plan-city-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.plan-city-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.plan-city-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.plan-city-card__credit {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(3px);
  max-width: calc(100% - 70px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.plan-city-card__credit a {
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.plan-city-card__day {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(26, 74, 58, 0.88);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.plan-city-card__body {
  padding: 14px 16px 16px;
}

.plan-city-card__name {
  font-size: 1.05rem;
  margin-bottom: 4px;
  text-transform: none;
  letter-spacing: 0;
}

.plan-city-card__meta {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* ---- Plan detail Transport / Stays (Lot 8.4) ---- */
.plan-section {
  padding: 30px 0;
}

.plan-segment-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.plan-segments {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-segment {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}

.plan-segment__route {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  margin-bottom: 10px;
}

.plan-segment__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18, 59, 53, 0.12), rgba(45, 184, 138, 0.22));
  color: var(--color-accent);
  flex: 0 0 auto;
}

.plan-segment__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.plan-segment__route-copy {
  min-width: 0;
}

.plan-segment__route-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 1.02rem;
}

.plan-segment__route-mode {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-segment__arrow {
  color: var(--color-accent);
  font-weight: 700;
}

.plan-segment__meta {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-muted);
  flex-wrap: wrap;
  align-items: center;
}

.plan-segment__metric {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 59, 53, 0.08);
  border: 1px solid rgba(18, 59, 53, 0.08);
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.plan-stays {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.plan-stay {
  display: flex;
  gap: 14px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.plan-stay__thumb {
  width: 80px;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.plan-stay__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.plan-stay__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.plan-stay__meta {
  display: flex;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--color-muted);
  flex-wrap: wrap;
  align-items: center;
}

/* ---- Ratings / Comments ---- */
.ratings-section.plan-surface {
  background: linear-gradient(180deg, #395c45 0%, #213728 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.ratings-section {
  padding: 40px 0;
}

.ratings-section .section-title {
  color: #fff;
}

.rating-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
  color: #fff;
}

.rating-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.rating-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  -o-object-fit: cover;
     object-fit: cover;
}

.rating-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

.rating-card__date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.rating-card__comment {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

/* ---- Rating form (Lot 8.2) ---- */
.plan-rating-form-wrap {
  margin-bottom: 24px;
}

.plan-rating-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
}

.plan-rating-form__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.plan-rating-form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-rating-form__stars {
  display: inline-flex;
  gap: 4px;
}

.plan-rating-form__star {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition), transform var(--transition);
  line-height: 0;
}

.plan-rating-form__star svg {
  width: 26px;
  height: 26px;
  display: block;
}

.plan-rating-form__star:hover {
  transform: scale(1.1);
}

.plan-rating-form__star.is-active {
  color: var(--color-xp);
}

.plan-rating-form__comment {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 70px;
}

.plan-rating-form__comment::-moz-placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.plan-rating-form__comment::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.plan-rating-form__comment:focus {
  outline: none;
  border-color: var(--color-accent);
}

.plan-rating-form__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-rating-form__notice {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font-style: italic;
}

/* ---- Adaptations Section ---- */
.adaptations-section {
  padding: 30px 0;
}

.adaptation-avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.adaptation-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-card);
  box-shadow: var(--shadow-sm);
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform var(--transition);
}

.adaptation-avatar:hover {
  transform: scale(1.1);
}

/* ---- Section Title ---- */
.section-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

/* ---- Catalog Grid ---- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 30px 0;
}

/* ---- My Plans ---- */
.my-plans-page {
  padding: 36px 20px 64px;
}

.my-plans-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0 18px;
  padding: 30px 0;
  color: #fff;
}

.my-plans-hero__copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  color: #fff;
}

.my-plans-hero__copy p {
  margin: 10px 0 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
}

.my-plans-hero__eyebrow {
  margin-bottom: 10px;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.my-plans-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.my-plans-stat {
  padding: 18px 20px;
  color: #fff;
}

.my-plans-stat__value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.my-plans-stat__label {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.my-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.my-plans-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(42, 42, 42, 0.06);
}

.my-plans-card__media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.my-plans-card__media {
  position: relative;
  background: #ece7df;
}

.my-plans-card__cover {
  display: block;
  height: 220px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.my-plans-card__credit {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: auto;
}

.my-plans-card__credit a {
  color: inherit;
  text-decoration: none;
}

.my-plans-card__credit a:hover {
  text-decoration: underline;
}

.my-plans-card__cover--placeholder {
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: var(--color-white);
  background: linear-gradient(135deg, #21473f 0%, #d56e43 100%);
}

.my-plans-card__placeholder-mark {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.my-plans-card__placeholder-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  opacity: 0.9;
}

.my-plans-card__placeholder-icon svg {
  width: 100%;
  height: 100%;
}

.my-plans-card__placeholder-letter {
  font-size: 4rem;
  font-weight: 800;
  line-height: 0.9;
}

.my-plans-card__chips {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.my-plans-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-text);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.my-plans-chip--status.is-draft {
  background: #fff1e2;
  color: #ab5f0f;
}

.my-plans-chip--status.is-published {
  background: #e6f4ea;
  color: #2e7d32;
}

.my-plans-chip--visibility {
  color: #5e5b54;
}

.my-plans-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.my-plans-card__eyebrow {
  margin-bottom: 10px;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.my-plans-card__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.my-plans-card__title a {
  color: inherit;
  text-decoration: none;
}

.my-plans-card__title a:hover {
  color: var(--color-accent);
}

.my-plans-card__subtitle {
  margin: 0;
  min-height: 2.9em;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.my-plans-card__meta {
  margin-top: 14px;
}

.my-plans-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.my-plans-card__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.my-plans-city {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f6f3ee;
  color: #5d5a54;
  font-size: 0.78rem;
  font-weight: 600;
}

.my-plans-city--more {
  background: #ece7df;
}

.my-plans-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.my-plans-card__actions .btn {
  flex: 1;
  justify-content: center;
}

.my-plans-section-title {
  margin: 48px 0 16px;
  font-size: 1.4rem;
  font-weight: 600;
}

.my-plans-empty {
  margin-top: 12px;
  padding: 64px 24px;
  text-align: center;
  border: 2px dashed var(--color-border);
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfaf7 0%, #f6f4ef 100%);
}

.my-plans-empty__icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.my-plans-empty h2 {
  margin: 0 0 8px;
}

.my-plans-empty p {
  max-width: 44ch;
  margin: 0 auto 24px;
  color: var(--color-muted);
}

/* ---- Filters Bar ---- */
/* ---- Catalog search (Lot 13) ---- */
.catalog-search {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.catalog-search__input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.catalog-search__input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.catalog-search__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.catalog-search__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(45, 184, 138, 0.25);
}

.catalog-search__btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.filter-checkbox input[type=checkbox] {
  accent-color: var(--color-accent);
}

.badge-chip--profile {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.badge-chip--verified {
  background: rgba(45, 184, 138, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(45, 184, 138, 0.3);
  font-weight: 700;
}

.filters-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.filter-select {
  padding: 8px 32px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.filter-select option {
  color: var(--color-text);
  background: #fff;
}

.filter-select:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* ---- Adapted Banner ---- */
.adapted-banner {
  background: rgba(45, 184, 138, 0.08);
  border: 1px solid rgba(45, 184, 138, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.adapted-banner svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ---- Plan detail redesign ---- */
.plan-detail-page {
  position: relative;
  padding: 0 0 84px;
  background: #1a4a3a;
}

.plan-detail-page .section-title {
  margin-bottom: 0;
  font-size: 1.5rem;
  letter-spacing: 0;
  text-transform: none;
}

.plan-detail-page .section-title svg {
  width: 24px;
  height: 24px;
}

.plan-surface > .section-title {
  margin-bottom: 22px;
}

.plan-surface {
  position: relative;
  margin-top: 26px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(33, 46, 41, 0.08);
  border-radius: 30px;
  box-shadow: 0 22px 48px rgba(23, 33, 28, 0.08);
}

.plan-header {
  min-height: 500px;
  padding: 86px 0 74px;
  align-items: stretch;
}

.plan-header__bg::after {
  background: linear-gradient(120deg, rgba(13, 26, 24, 0.62) 8%, rgba(18, 59, 53, 0.42) 48%, rgba(18, 59, 53, 0.14) 100%), radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%);
}

.plan-header__content {
  display: flex;
  align-items: flex-end;
}

.plan-header__lead {
  width: 100%;
  max-width: 820px;
}

.plan-header__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.plan-header__kicker,
.plan-header__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-header__kicker + .plan-header__tag::before,
.plan-header__tag + .plan-header__tag::before {
  content: "·";
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.4);
}

/* Status variants keep a subtle colored accent because they carry meaning */
.plan-header__tag--live {
  color: #ffb3b3;
}

.plan-header__tag--past {
  color: rgba(255, 255, 255, 0.7);
}

.plan-header__tag--verified {
  color: #a7f3d0;
}

/* ---- Feedback section (Lot 14) ---- */
.feedback-section.plan-surface {
  background: linear-gradient(180deg, #395c45 0%, #213728 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.feedback-section {
  padding: 28px;
}

.feedback-section .section-title {
  color: #fff;
}

.feedback-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.feedback-item {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feedback-item__label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.feedback-item__value {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.feedback-item__value--score {
  color: #fff;
  font-size: 1.4rem;
}

.feedback-item__value--recommend {
  color: #fff;
}

.feedback-item__delta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

.feedback-block {
  margin-bottom: 16px;
}

.feedback-block__label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #fff;
}

.feedback-block__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* Feedback form */
.feedback-form-section {
  padding: 28px;
}

.feedback-form__row {
  margin-bottom: 16px;
}

.feedback-form__label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.feedback-form__input, .feedback-form__textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--color-card);
  color: var(--color-text);
}

.feedback-form__textarea {
  resize: vertical;
  min-height: 64px;
}

.feedback-form__input:focus, .feedback-form__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(45, 184, 138, 0.12);
}

/* ---- Past feedback CTA (Lot 14) ---- */
.past-feedback-cta {
  margin-bottom: 28px;
}

.past-feedback-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.past-feedback-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.past-feedback-item:last-child {
  border-bottom: none;
}

.past-feedback-item__date {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin-left: 8px;
}

.adapted-banner {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.adapted-banner a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

/* ---- Diff pills (Lot 13) ---- */
.plan-diff {
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  backdrop-filter: blur(10px);
}

.plan-diff__label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  font-weight: 600;
}

.plan-diff__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.plan-diff__pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(45, 184, 138, 0.18);
  color: #a7f3d0;
  border: 1px solid rgba(45, 184, 138, 0.3);
  white-space: nowrap;
}

/* ---- Adaptation variant cards (Lot 13) ---- */
.adaptation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.adaptation-card {
  display: block;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.adaptation-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.adaptation-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.adaptation-card__author {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.adaptation-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.adaptation-card__pills .plan-diff__pill {
  background: rgba(45, 184, 138, 0.1);
  color: var(--color-accent);
  border-color: rgba(45, 184, 138, 0.2);
}

.plan-header__title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.4rem, 6.2vw, 5.8rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.plan-header__subtitle {
  max-width: 56ch;
  margin: 16px 0 0;
  font-size: 1.04rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.plan-header__meta {
  gap: 12px;
  margin-top: 24px;
  opacity: 1;
}

.plan-header__meta-item {
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.88);
}

.plan-header__meta-item + .plan-header__meta-item::before {
  content: "·";
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.plan-header__meta-link:hover {
  color: #fff;
}

.plan-header__actions {
  margin-top: 28px;
  flex-wrap: wrap;
}

.plan-header__ghost-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.plan-header__ghost-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.plan-header__ghost-btn.btn--favorite-active {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.5);
  color: #f87171;
}

.plan-header__ghost-btn.btn--favorite-active svg {
  fill: #f87171;
}

.plan-header__ghost-btn.btn--loading {
  pointer-events: none;
  opacity: 0.6;
}

.plan-header__live-btn {
  background: #d14437;
}

.plan-header__live-btn:hover {
  background: #b9362a;
}

/* ---- Intro bar : carte flottante sous le hero (Option C) ---- */
.plan-intro-bar-wrap {
  margin-top: -35px;
  position: relative;
  z-index: 3;
}

.plan-intro-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 28px;
  padding: 20px 26px;
  background: linear-gradient(135deg, #1a4a3a 0%, #2d7a5f 60%, #3ba277 100%);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45), 0 18px 32px -12px rgba(8, 20, 18, 0.35), 0 2px 4px rgba(8, 20, 18, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.plan-intro-bar__author {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.plan-intro-bar__avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  -o-object-fit: cover;
     object-fit: cover;
  flex-shrink: 0;
}

.plan-intro-bar__author-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-intro-bar__author-name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plan-intro-bar__author-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.plan-intro-bar__updated {
  color: rgba(255, 255, 255, 0.78);
}

.plan-intro-bar__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.plan-intro-bar__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.plan-intro-bar__stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.plan-intro-bar__stat span {
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.plan-intro-bar__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.plan-intro-bar__actions .btn {
  padding: 10px 16px;
  font-size: 0.85rem;
}

.plan-intro-bar__actions .btn--outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.plan-intro-bar__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.plan-intro-bar__actions .btn--outline.btn--favorite-active {
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

.plan-intro-bar__actions .btn--outline.btn--favorite-active svg {
  fill: #fecaca;
}

.plan-cities-section.plan-surface {
  margin-top: 24px;
  z-index: 3;
}

.plan-cities-section {
  padding-top: 30px;
}

.plan-cities {
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.plan-city-card {
  border: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f7f4ed);
  box-shadow: 0 18px 36px rgba(23, 33, 28, 0.08);
}

.plan-city-card__media {
  aspect-ratio: 4/3;
}

.plan-city-card__day {
  background: rgba(14, 35, 31, 0.78);
}

.plan-city-card__body {
  padding: 18px 18px 20px;
}

.plan-city-card__name {
  font-size: 1.16rem;
  font-weight: 800;
}

.plan-city-card__meta {
  font-size: 0.86rem;
}

.plan-program-shell {
  margin-top: 26px;
}

.view-toggle {
  margin: 0 0 24px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 33, 28, 0.08);
  box-shadow: 0 12px 28px rgba(23, 33, 28, 0.06);
}

.timeline-view,
.map-view.active {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(23, 33, 28, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 36px rgba(23, 33, 28, 0.07);
}

.trip-summary {
  padding: 0 0 30px;
  row-gap: 12px;
}

.trip-summary__days::before {
  height: 4px;
  background: linear-gradient(90deg, rgba(18, 59, 53, 0.18), rgba(45, 184, 138, 0.36), rgba(18, 59, 53, 0.18));
}

.trip-summary__day {
  width: 42px;
  height: 42px;
  border: 0;
  box-shadow: 0 12px 22px rgba(23, 33, 28, 0.08);
}

.trip-summary__day.active {
  transform: scale(1.08);
}

.trip-summary__city-block {
  min-height: 34px;
  margin: 0 4px;
  padding: 6px 16px;
  background: linear-gradient(135deg, #123b35, #2db88a);
  box-shadow: 0 8px 18px rgba(18, 59, 53, 0.18);
}

.trip-summary__event-pill {
  width: 28px;
  height: 7px;
}

.day-schedule {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #fbf9f4);
  border: 1px solid rgba(23, 33, 28, 0.08);
  box-shadow: 0 18px 34px rgba(23, 33, 28, 0.06);
}

.day-schedule__header {
  margin-bottom: 24px;
}

.day-schedule__number {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #123b35, #2db88a);
  box-shadow: 0 16px 24px rgba(18, 59, 53, 0.18);
}

.day-schedule__date-day {
  font-size: 1.6rem;
}

.day-schedule__grid {
  min-height: 760px;
}

.day-schedule__hour {
  font-variant-numeric: tabular-nums;
}

.day-schedule__event-card {
  padding: 12px 16px;
  border-left-width: 4px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fcfaf5);
  box-shadow: 0 14px 28px rgba(23, 33, 28, 0.08);
}

.day-schedule__event-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 12px 18px rgba(23, 33, 28, 0.12);
}

.day-schedule__event-name {
  font-size: 0.96rem;
}

.day-schedule__description {
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8f5ee, #f1ede3);
  border: 1px solid rgba(23, 33, 28, 0.08);
}

.map-container {
  border-radius: 24px;
  margin-bottom: 20px;
}

.map-day-card {
  border: 1px solid rgba(23, 33, 28, 0.08);
  box-shadow: 0 12px 28px rgba(23, 33, 28, 0.06);
}

.plan-segment,
.plan-stay,
.rating-card,
.plan-rating-form {
  border: 1px solid rgba(23, 33, 28, 0.08);
  box-shadow: 0 14px 28px rgba(23, 33, 28, 0.06);
}

.budget-section .budget-layout {
  margin-top: 20px;
}

.gallery {
  padding: 0;
}

.plan-section.plan-surface,
.ratings-section.plan-surface,
.adaptations-section.plan-surface,
.budget-section.plan-surface {
  padding: 28px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 20px;
  margin-top: 60px;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--color-accent);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .plan-detail-page {
    padding-bottom: 56px;
  }
  .plan-surface {
    margin-top: 18px;
    padding: 20px 16px;
    border-radius: 24px;
  }
  .plan-header {
    min-height: auto;
    padding: 74px 0 64px;
  }
  .plan-header__title {
    max-width: none;
    font-size: 2.2rem;
  }
  .plan-header__meta {
    gap: 10px;
  }
  .plan-header__meta-item {
    width: 100%;
  }
  .plan-intro-bar-wrap {
    margin-top: -40px;
  }
  .plan-intro-bar {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 18px 20px;
    border-radius: 22px;
  }
  .plan-intro-bar__stats {
    justify-content: space-between;
    gap: 14px;
  }
  .plan-intro-bar__actions {
    justify-content: flex-start;
  }
  .plan-intro-bar__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .plan-cities-section.plan-surface {
    margin-top: 18px;
  }
  .view-toggle {
    width: 100%;
  }
  .view-toggle__btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 10px 12px;
  }
  .timeline-view,
  .map-view.active,
  .day-schedule {
    padding: 18px 14px;
    border-radius: 22px;
  }
  .trip-summary {
    padding-bottom: 24px;
  }
  .day-schedule__grid {
    grid-template-columns: 46px 96px 1fr;
    min-height: 640px;
  }
  .day-schedule__events {
    padding-left: 12px;
  }
  .day-schedule__event {
    left: 12px;
  }
  .plan-segment__route {
    align-items: flex-start;
  }
  .plan-segment__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .plan-segment__icon svg {
    width: 20px;
    height: 20px;
  }
  .plan-segment__route-line {
    gap: 8px;
    font-size: 0.96rem;
  }
  .budget-layout {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .site-header {
    padding: 10px 14px;
  }
  .site-header__inner {
    height: auto;
    min-height: 58px;
  }
  .site-header__logo-desktop {
    display: none;
  }
  .site-header__logo-mobile {
    display: block;
    width: 40px;
    height: 40px;
  }
  .site-nav__toggle {
    display: inline-flex;
  }
  .site-nav {
    gap: 0;
    margin-left: auto;
  }
  .site-nav__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 16, 14, 0.5);
    backdrop-filter: blur(2px);
    z-index: 4998;
  }
  .site-nav__panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 360px);
    display: grid;
    align-content: start;
    gap: 20px;
    padding: 18px 18px 24px;
    border-radius: 0;
    background: radial-gradient(circle at top right, rgba(45, 184, 138, 0.16), transparent 28%), linear-gradient(180deg, #173f33 0%, #102c24 100%);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.28);
    color: #fff;
    transform: translateX(28px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    z-index: 4999;
    overflow-y: auto;
  }
  body.is-mobile-nav-open .site-nav__panel {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  body.is-mobile-nav-open .site-nav__backdrop {
    display: block;
  }
  .site-nav__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .site-nav__panel-badge {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
  }
  .site-nav__primary,
  .site-nav__actions {
    display: grid;
    gap: 10px;
    align-items: stretch;
  }
  .site-nav__primary a,
  .site-nav__actions a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: none;
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav__primary a.active {
    color: #fff;
    background: rgba(45, 184, 138, 0.2);
    border-color: rgba(45, 184, 138, 0.32);
    box-shadow: inset 0 0 0 1px rgba(45, 184, 138, 0.14);
  }
  .site-nav__actions .btn,
  .site-nav__actions .site-nav__logout {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 16px;
  }
  .site-nav__actions .btn {
    text-transform: uppercase;
  }
  .site-nav__logout {
    text-align: center;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-help {
    width: 100%;
  }
  .site-help__toggle {
    width: 100%;
    height: auto;
    justify-content: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
  }
  .site-help__menu {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 0;
  }
  .site-nav__panel-close {
    color: #fff;
  }
  .site-nav__toggle {
    margin-left: auto;
  }
  .map-container {
    height: 350px;
  }
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
/* ============================================
   HOME PAGE
   ============================================ */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 74, 58, 0.85), rgba(26, 74, 58, 0.55));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  width: 100%;
}

.hero__title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 800;
  max-width: 780px;
}

.hero__subtitle {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero__stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-top: 6px;
}

/* How it works */
.how-it-works {
  padding: 80px 20px 40px;
}

.section-title--center {
  justify-content: center;
  text-align: center;
  margin-bottom: 50px;
  font-size: 1.6rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step {
  background: linear-gradient(180deg, #395c45 0%, #213728 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.step__number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.step__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(45, 184, 138, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 20px;
}

.step__icon svg {
  width: 28px;
  height: 28px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0;
}

.step p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

/* Section header (title + link) */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-header .section-title {
  margin-bottom: 0;
}

/* CTA section */
.cta-section {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 70px 0;
  text-align: center;
  margin-top: 40px;
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.cta-section p {
  opacity: 0.85;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* ============================================
   PLAN EDITOR FORM
   ============================================ */
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 0 10px;
}

.stepper__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.stepper__num {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.stepper__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  font-weight: 600;
}

.stepper__item.active .stepper__num {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.1);
}

.stepper__item.active .stepper__label {
  color: var(--color-text);
}

.stepper__item.completed .stepper__num {
  background: var(--color-primary);
  color: var(--color-white);
}

.stepper__line {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  margin: 0 8px;
  margin-bottom: 22px;
  transition: background var(--transition);
}

.stepper__line.completed {
  background: var(--color-accent);
}

/* Form */
.plan-form {
  background: linear-gradient(180deg, #395c45 0%, #213728 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.form-step h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.form-intro {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.form-group small {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=password],
.form-group input[type=url],
.form-group input[type=number],
.form-group input[type=time],
.form-group input[type=date],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: #fff;
  transition: border-color var(--transition);
}

.form-group input::-moz-placeholder, .form-group textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group select option {
  color: var(--color-text);
  background: #fff;
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

/* Radio cards */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-card__inner {
  padding: 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  text-align: center;
  transition: all var(--transition);
  height: 100%;
}

.radio-card input:checked + .radio-card__inner {
  border-color: var(--color-accent);
  background: rgba(45, 184, 138, 0.08);
}

.radio-card__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  color: var(--color-accent);
}

.radio-card__icon svg {
  width: 100%;
  height: 100%;
}

.radio-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.radio-card__desc {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Day/Event editor */
.day-editor {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  background: var(--color-bg);
}

.day-editor__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.day-editor__title {
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.day-editor__num {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.event-row {
  display: grid;
  grid-template-columns: 90px 130px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid var(--color-border);
}

.event-row:first-child {
  border-top: none;
}

.event-row input,
.event-row select {
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-card);
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.btn--danger {
  background: transparent;
  color: var(--color-danger);
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
}

.btn--danger:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Budget editor table */
.budget-editor {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.budget-editor th,
.budget-editor td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.budget-editor th {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.budget-editor input,
.budget-editor select {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-card);
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.budget-editor input[type=number] {
  max-width: 100px;
}

/* Photo editor */
.photo-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.photo-row__preview {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--color-border);
  background-size: cover;
  background-position: center;
}

.photo-row input {
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-card);
  font-size: 0.85rem;
  font-family: var(--font-body);
}

/* Form actions */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--color-border);
}

/* Recap */
.recap {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.recap__item {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.recap__item:last-child {
  border-bottom: none;
}

.recap__item strong {
  color: var(--color-text);
  margin-right: 8px;
}

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

.reward-preview {
  background: rgba(244, 160, 32, 0.08);
  border: 1px solid rgba(244, 160, 32, 0.25);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.reward-preview h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-xp);
  text-transform: none;
  letter-spacing: 0;
}

.reward-preview ul {
  list-style: none;
  padding: 0;
}

.reward-preview li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--color-text);
}

.reward-preview li::before {
  content: "✓ ";
  color: var(--color-accent);
  font-weight: bold;
  margin-right: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero__title {
    font-size: 2rem;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .plan-form {
    padding: 20px;
  }
  .radio-cards {
    grid-template-columns: 1fr;
  }
  .stepper__label {
    display: none;
  }
  .event-row {
    grid-template-columns: 1fr 1fr;
  }
  .photo-row {
    grid-template-columns: 60px 1fr auto;
  }
  .photo-row__caption {
    grid-column: 2/4;
  }
  .my-plans-page {
    padding: 24px 20px 52px;
  }
  .my-plans-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    border-radius: 20px;
  }
  .my-plans-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .my-plans-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .my-plans-card__cover {
    height: 200px;
  }
  .my-plans-card__actions {
    flex-direction: column;
  }
}
@media (max-width: 520px) {
  .my-plans-stats {
    grid-template-columns: 1fr;
  }
}
/* =============================================================
   Plan Live — companion view (trip-in-progress)
   ============================================================= */
.plan-live {
  padding: 24px 0 72px;
  background: radial-gradient(circle at top left, rgba(45, 184, 138, 0.14), transparent 30%), radial-gradient(circle at top right, rgba(244, 160, 32, 0.12), transparent 26%), linear-gradient(180deg, #f7f5ef 0%, #f1efe7 100%);
}

.plan-live__shell {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.plan-live__hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: 24px;
  padding: 32px;
  border-radius: 30px;
  border: 1px solid rgba(17, 40, 34, 0.08);
  box-shadow: 0 24px 48px rgba(22, 35, 30, 0.12);
}
.plan-live__hero::before, .plan-live__hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.plan-live__hero::before {
  width: 280px;
  height: 280px;
  right: -110px;
  top: -120px;
  background: rgba(255, 255, 255, 0.12);
}
.plan-live__hero::after {
  width: 220px;
  height: 220px;
  right: 24%;
  bottom: -150px;
  background: rgba(255, 255, 255, 0.08);
}
.plan-live__hero--live {
  background: linear-gradient(135deg, #123b35 0%, #1d5f53 52%, #f3e3d1 160%);
  color: #fff;
}
.plan-live__hero--planned {
  background: linear-gradient(135deg, #fff9e7 0%, #f7edd0 55%, #e7f5ee 100%);
  color: #2c241a;
}
.plan-live__hero--past {
  background: linear-gradient(135deg, #f5f3ee 0%, #ece8de 55%, #e6efe9 100%);
  color: #2b2a28;
}

.plan-live__hero-main,
.plan-live__hero-side {
  position: relative;
  z-index: 1;
}

.plan-live__hero-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-live__hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.plan-live__hero--planned .plan-live__hero-kicker,
.plan-live__hero--past .plan-live__hero-kicker {
  background: rgba(255, 255, 255, 0.72);
  color: #2b2a28;
}

.plan-live__hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  animation: plan-live-pulse 1.8s ease-in-out infinite;
}

@keyframes plan-live-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
  }
}
.plan-live__hero-title,
.plan-live__panel-title,
.plan-live__focus-title,
.plan-live__focus-section-head h3 {
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.plan-live__hero-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.02;
  max-width: 12ch;
}

.plan-live__hero-copy {
  margin: 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.plan-live__hero--planned .plan-live__hero-copy,
.plan-live__hero--past .plan-live__hero-copy {
  color: rgba(34, 31, 28, 0.78);
}

.plan-live__hero-range {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.plan-live__hero--planned .plan-live__hero-range,
.plan-live__hero--past .plan-live__hero-range {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(33, 30, 27, 0.08);
  color: rgba(33, 30, 27, 0.82);
}

.plan-live__hero-range-sep {
  opacity: 0.5;
}

.plan-live__hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-live__hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plan-live__hero-stat,
.plan-live__hero-progress {
  border-radius: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.plan-live__hero--planned .plan-live__hero-stat,
.plan-live__hero--planned .plan-live__hero-progress,
.plan-live__hero--past .plan-live__hero-stat,
.plan-live__hero--past .plan-live__hero-progress {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(28, 24, 20, 0.08);
}

.plan-live__hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-live__hero-stat-value {
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 800;
}

.plan-live__hero-stat-label {
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.plan-live__hero--planned .plan-live__hero-stat-label,
.plan-live__hero--past .plan-live__hero-stat-label {
  color: rgba(38, 34, 31, 0.68);
}

.plan-live__hero-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-live__hero-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.plan-live__hero-progress-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.plan-live__hero--planned .plan-live__hero-progress-bar,
.plan-live__hero--past .plan-live__hero-progress-bar {
  background: rgba(34, 30, 27, 0.08);
}

.plan-live__hero-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2db88a 0%, #f4a020 100%);
}

.plan-live__hero-progress-copy {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
}

.plan-live__hero--planned .plan-live__hero-progress-copy,
.plan-live__hero--past .plan-live__hero-progress-copy {
  color: rgba(38, 34, 31, 0.68);
}

/* ---- Lot 15: Radar, Checklist, Quick actions, Offline ---- */
.plan-live__radar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.plan-live__radar-chip {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.plan-live__radar-chip--warn {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.plan-live__checklist {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.plan-live__checklist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-live__checklist-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.plan-live__checklist-progress {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
}

.plan-live__checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.plan-live__checklist-item:last-child {
  border-bottom: none;
}

.plan-live__checklist-item.is-done label span {
  text-decoration: line-through;
  color: var(--color-muted);
}

.plan-live__checklist-check {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  cursor: pointer;
  font-size: 0.9rem;
}

.plan-live__checklist-check input {
  accent-color: var(--color-accent);
}

.plan-live__checklist-kind {
  font-size: 0.72rem;
  color: var(--color-muted);
  background: var(--color-bg);
  padding: 2px 8px;
  border-radius: 999px;
}

.plan-live__checklist-del {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  font-size: 0.82rem;
  padding: 2px 4px;
}

.plan-live__checklist-del:hover {
  color: #dc2626;
}

.plan-live__checklist-add {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.plan-live__checklist-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.plan-live__checklist-kind-select {
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  background: var(--color-card);
}

.plan-live__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.plan-live__quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s;
}

.plan-live__quick-btn:hover {
  border-color: var(--color-accent);
}

.plan-live__stay-card {
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.plan-live__stay-card-name {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.plan-live__offline {
  padding: 10px 16px;
  background: #fef9c3;
  border: 1px solid #d4a913;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 16px;
  align-items: center;
  gap: 8px;
}

.plan-live__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-live__hero--live .plan-live__hero-actions .btn--primary {
  background: #fff;
  color: #123b35;
}

.plan-live__hero--live .plan-live__hero-actions .btn--primary:hover {
  background: #f8efe4;
  color: #123b35;
}

.plan-live__hero--live .plan-live__hero-actions .btn--outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.plan-live__hero--live .plan-live__hero-actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.plan-live__layout {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr) minmax(0, 320px);
  gap: 24px;
  align-items: start;
}

.plan-live__panel,
.plan-live__focus-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 37, 31, 0.08);
  border-radius: 26px;
  box-shadow: 0 20px 40px rgba(22, 33, 28, 0.06);
  backdrop-filter: blur(10px);
}

.plan-live__panel {
  position: sticky;
  top: 84px;
  padding: 20px;
}

.plan-live__focus-card {
  padding: 28px;
}

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

.plan-live__panel-kicker,
.plan-live__focus-kicker,
.plan-live__info-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-live__panel-kicker,
.plan-live__focus-kicker {
  color: var(--color-accent);
}

.plan-live__panel-title {
  margin-top: 4px;
  font-size: 1.1rem;
  color: var(--color-text);
}

.plan-live__panel-count {
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #edf7f2;
  color: var(--color-accent);
  font-weight: 800;
}

.plan-live__trail,
.plan-live__queue {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-live__trail-item,
.plan-live__queue-card {
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(180deg, #fff 0%, #f8f6f0 100%);
  border: 1px solid rgba(24, 37, 31, 0.08);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.plan-live__trail-item.is-active,
.plan-live__queue-card.is-active {
  border-color: rgba(45, 184, 138, 0.55);
  box-shadow: 0 12px 24px rgba(45, 184, 138, 0.12);
}

.plan-live__trail-item:hover,
.plan-live__queue-card:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 184, 138, 0.3);
}

.plan-live__trail-top,
.plan-live__queue-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-live__trail-day,
.plan-live__queue-day {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #123b35;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.plan-live__trail-date,
.plan-live__queue-date {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.plan-live__trail-city,
.plan-live__queue-city {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.plan-live__trail-meta {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.plan-live__queue-copy {
  min-width: 0;
}

.plan-live__queue-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.plan-live__queue-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--pill-color, #64748b);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plan-live__queue-pill--ghost {
  background: #efede6;
  color: var(--color-muted);
}

.plan-live__focus-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.plan-live__focus-copy {
  min-width: 0;
}

.plan-live__focus-title {
  margin-top: 8px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.04;
  color: var(--color-text);
}

.plan-live__focus-subtitle {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.96rem;
  text-transform: capitalize;
}

.plan-live__focus-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(135deg, #123b35 0%, #2db88a 100%);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(18, 59, 53, 0.22);
}

.plan-live__focus-meta,
.plan-live__jumpbar,
.plan-live__pager {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-live__focus-meta {
  margin-top: 20px;
}

.plan-live__focus-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3f1ea;
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 700;
}

.plan-live__focus-pill--accent {
  background: rgba(45, 184, 138, 0.12);
  color: var(--color-accent);
}

.plan-live__focus-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 37, 31, 0.08);
}

.plan-live__jump-chip,
.plan-live__pager-btn {
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.plan-live__jump-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 118px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(24, 37, 31, 0.08);
  background: #faf8f2;
  color: var(--color-text);
}

.plan-live__jump-chip:hover,
.plan-live__pager-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 184, 138, 0.32);
}

.plan-live__jump-chip.is-active {
  background: linear-gradient(135deg, rgba(45, 184, 138, 0.18), rgba(18, 59, 53, 0.08));
  border-color: rgba(45, 184, 138, 0.5);
}

.plan-live__jump-chip-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.plan-live__jump-chip-sub {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text);
}

.plan-live__pager {
  justify-content: flex-end;
}

.plan-live__pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(24, 37, 31, 0.08);
  background: #fff;
  color: var(--color-text);
  font-weight: 700;
}

.plan-live__focus-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.plan-live__info-card {
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f5faf7 0%, #edf6f1 100%);
  border: 1px solid rgba(45, 184, 138, 0.12);
}

.plan-live__info-card--note {
  background: linear-gradient(180deg, #fff8ea 0%, #f7efcf 100%);
  border-color: rgba(244, 160, 32, 0.18);
}

.plan-live__info-card-label {
  color: var(--color-accent);
}

.plan-live__info-card--note .plan-live__info-card-label {
  color: #b7791f;
}

.plan-live__info-card-copy {
  margin-top: 10px;
  color: var(--color-text);
  font-size: 0.94rem;
  line-height: 1.65;
}

.plan-live__map-section {
  margin-top: 24px;
}

.plan-live__focus-section-head--map {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.plan-live__map-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  margin-bottom: 14px;
}

.plan-live__map-copy {
  max-width: 54ch;
}

.plan-live__map-copy p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.plan-live__map-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.plan-live__locate-btn {
  white-space: nowrap;
}

.plan-live__map-status {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-align: right;
  min-height: 18px;
}

.plan-live__map-status.is-error {
  color: #b42318;
}

.plan-live__map-status.is-success {
  color: #12715b;
}

.plan-live__map-canvas {
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(24, 37, 31, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, #eef4ef 0%, #e5ece5 100%);
}

.plan-live__map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.plan-live__map-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  font: inherit;
  border: 1px solid rgba(24, 37, 31, 0.08);
  background: #fbfaf6;
  color: var(--color-text);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.plan-live__map-chip:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(45, 184, 138, 0.28);
  background: #fff;
}

.plan-live__map-chip--stay {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.16);
}

.plan-live__map-chip:disabled,
.plan-live__map-chip.is-muted {
  opacity: 0.58;
  cursor: default;
}

.plan-live__map-chip-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--chip-color, #64748b);
  box-shadow: 0 0 0 4px rgba(18, 59, 53, 0.08);
}

.plan-live__map-chip-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.plan-live__map-chip-copy strong {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.plan-live__map-chip-copy span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text);
}

.plan-live-map-marker {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  border: 2px solid #fff;
  box-shadow: 0 10px 18px rgba(18, 26, 22, 0.26);
}

.plan-live-map-marker.is-stay {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  font-size: 0.9rem;
}

.plan-live-map-user {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563eb;
  border: 3px solid #fff;
  box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.16);
}

.plan-live__map-popup {
  min-width: 180px;
}

.plan-live__map-popup strong {
  display: block;
  margin-bottom: 2px;
  color: var(--color-text);
}

.plan-live__map-popup span {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.plan-live__map-fallback {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--color-muted);
  line-height: 1.6;
  background: linear-gradient(180deg, #f6f3eb 0%, #ece8de 100%);
}

.plan-live__focus-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(24, 37, 31, 0.08);
}

.plan-live__focus-section-head h3 {
  font-size: 1.25rem;
  color: var(--color-text);
}

.plan-live__focus-section-head span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.plan-live__timeline {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-live__event {
  display: grid;
  grid-template-columns: 88px 20px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan-live__event-time {
  padding-top: 10px;
  text-align: right;
}

.plan-live__event-time-main {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

.plan-live__event-time-sub {
  margin-top: 4px;
  font-size: 0.76rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plan-live__event-track {
  display: flex;
  justify-content: center;
}

.plan-live__event-track span {
  position: relative;
  width: 16px;
  min-height: 100%;
}

.plan-live__event-track span::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--event-color, var(--color-accent));
  box-shadow: 0 0 0 6px rgba(45, 184, 138, 0.12);
}

.plan-live__event-track span::after {
  content: "";
  position: absolute;
  top: 28px;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, var(--event-color, var(--color-accent)) 0%, rgba(24, 37, 31, 0.08) 100%);
}

.plan-live__event:last-child .plan-live__event-track span::after {
  display: none;
}

.plan-live__event-card {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(24, 37, 31, 0.08);
  border-left: 4px solid var(--event-color, var(--color-accent));
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
  box-shadow: 0 12px 24px rgba(24, 37, 31, 0.05);
}

.plan-live__event-card-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.plan-live__event-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--event-color, var(--color-accent));
  color: #fff;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.12);
}

.plan-live__event-icon svg {
  width: 20px;
  height: 20px;
}

.plan-live__event-body {
  min-width: 0;
}

.plan-live__event-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* Booking / payment badges inside plan-live (Lot 4 #7bis) */
.plan-live__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  flex-shrink: 0;
}

.plan-live__badge--booked {
  background: #16a34a;
}

.plan-live__badge--paid {
  background: #0ea5e9;
}

.plan-live__event-booking {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(22, 163, 74, 0.08);
  border-left: 3px solid #16a34a;
  border-radius: 6px;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.plan-live__event-booking-ref {
  font-weight: 600;
  color: var(--color-text);
}

.plan-live__event-booking-link {
  color: #16a34a;
  font-weight: 700;
  text-decoration: none;
}

.plan-live__event-booking-link:hover {
  text-decoration: underline;
}

/* Tiny badges on the future queue pills */
.plan-live__queue-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--pill-color, #16a34a);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

.plan-live__queue-pill--booked {
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.55);
}

.plan-live__queue-pill--paid {
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.55);
}

.plan-live__queue-pill--booked.plan-live__queue-pill--paid {
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.6), 0 0 0 1px rgba(14, 165, 233, 0.4);
}

.plan-live__event-cat {
  margin-top: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.plan-live__event-notes {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.plan-live__event-travel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(24, 37, 31, 0.08);
}

.plan-live__event-travel.is-muted {
  opacity: 0.68;
}

.plan-live__event-travel-item {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(24, 37, 31, 0.08);
  background: #f7f4ed;
}

.plan-live__event-travel-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.plan-live__event-travel-item strong {
  display: block;
  margin-top: 6px;
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.3;
}

.plan-live__group-expenses {
  margin-top: 24px;
}

.plan-live__expenses-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.plan-live__expenses-main,
.plan-live__expenses-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plan-live__expenses-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(24, 37, 31, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 248, 242, 0.95) 100%);
  box-shadow: 0 14px 26px rgba(24, 37, 31, 0.05);
}

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

.plan-live__expenses-title {
  margin: 4px 0 0;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.plan-live__expenses-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(45, 184, 138, 0.12);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.plan-live__expense-form,
.plan-live__participant-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-live__expense-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.42fr);
  gap: 12px;
}

.plan-live__expense-form-row--triple {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(160px, 0.42fr);
}

.plan-live__expense-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-live__expense-field label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.plan-live__expense-field input,
.plan-live__expense-field select,
.plan-live__expense-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(24, 37, 31, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  font: inherit;
}

.plan-live__expense-field textarea {
  min-height: 88px;
  resize: vertical;
}

.plan-live__expense-field input:focus,
.plan-live__expense-field select:focus,
.plan-live__expense-field textarea:focus {
  outline: none;
  border-color: rgba(45, 184, 138, 0.55);
  box-shadow: 0 0 0 4px rgba(45, 184, 138, 0.12);
}

.plan-live__expense-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plan-live__expense-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(24, 37, 31, 0.08);
  background: #f8f5ee;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.plan-live__expense-check input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.plan-live__expense-list,
.plan-live__settlement-list,
.plan-live__balance-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-live__expense-item,
.plan-live__settlement-item,
.plan-live__settlement-history-item,
.plan-live__balance-card {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(24, 37, 31, 0.08);
  background: #fff;
}

.plan-live__expense-item-head,
.plan-live__settlement-history-side {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-live__expense-item-head strong,
.plan-live__settlement-item strong {
  display: block;
  color: var(--color-text);
}

.plan-live__expense-item-head span,
.plan-live__balance-copy,
.plan-live__settlement-history-item span {
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.plan-live__expense-item-side,
.plan-live__settlement-history-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.plan-live__expense-amount,
.plan-live__settlement-amount {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
}

.plan-live__expense-delete {
  border: none;
  background: transparent;
  color: #b42318;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0;
}

.plan-live__expense-shares {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.plan-live__expense-share {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 59, 53, 0.06);
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 700;
}

.plan-live__expense-note {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.plan-live__balance-card {
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
}

.plan-live__balance-card.is-positive {
  border-color: rgba(34, 197, 94, 0.25);
  background: linear-gradient(180deg, #f4fbf6 0%, #eef8f2 100%);
}

.plan-live__balance-card.is-negative {
  border-color: rgba(244, 160, 32, 0.28);
  background: linear-gradient(180deg, #fff8ed 0%, #fbf1df 100%);
}

.plan-live__balance-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-text);
}

.plan-live__balance-archived {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.1);
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-live__settlement-item,
.plan-live__settlement-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-live__expenses-subhead {
  margin: 18px 0 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.plan-live__empty {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, #faf8f2 0%, #f2efe7 100%);
  border: 1px dashed rgba(24, 37, 31, 0.14);
  color: var(--color-muted);
  font-style: italic;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .plan-live__hero {
    grid-template-columns: 1fr;
  }
  .plan-live__layout {
    grid-template-columns: 1fr;
  }
  .plan-live__expenses-grid {
    grid-template-columns: 1fr;
  }
  .plan-live__panel {
    position: static;
  }
  .plan-live__panel--future {
    order: 2;
  }
  .plan-live__panel--past {
    order: 3;
  }
}
@media (max-width: 760px) {
  .plan-live {
    padding: 18px 0 52px;
  }
  .plan-live__hero,
  .plan-live__focus-card,
  .plan-live__panel {
    padding: 20px;
    border-radius: 22px;
  }
  .plan-live__hero-title {
    max-width: none;
    font-size: 2rem;
  }
  .plan-live__hero-copy {
    font-size: 0.94rem;
  }
  .plan-live__hero-stats {
    grid-template-columns: 1fr;
  }
  .plan-live__focus-head {
    flex-direction: column;
  }
  .plan-live__focus-badge {
    min-width: 74px;
    height: 74px;
    border-radius: 20px;
    font-size: 1.45rem;
  }
  .plan-live__focus-notes-grid {
    grid-template-columns: 1fr;
  }
  .plan-live__map-toolbar {
    flex-direction: column;
  }
  .plan-live__map-controls {
    align-items: flex-start;
  }
  .plan-live__map-status {
    text-align: left;
  }
  .plan-live__map-canvas {
    height: 300px;
    border-radius: 20px;
  }
  .plan-live__focus-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .plan-live__event {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .plan-live__event-time {
    padding-top: 0;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .plan-live__event-track {
    display: none;
  }
  .plan-live__event-travel {
    grid-template-columns: 1fr;
  }
  .plan-live__expense-form-row,
  .plan-live__expense-form-row--triple {
    grid-template-columns: 1fr;
  }
  .plan-live__settlement-item,
  .plan-live__settlement-history-item,
  .plan-live__expense-item-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .plan-live__expense-item-side,
  .plan-live__settlement-history-side {
    align-items: flex-start;
  }
  .plan-live__jump-chip {
    min-width: 0;
    flex: 1 1 140px;
  }
  .plan-live__pager {
    justify-content: flex-start;
  }
}

/*# sourceMappingURL=style.css.map*/