:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f5f2;
  color: #17201e;
  --ink: #17201e;
  --muted: #64706c;
  --paper: #f3f5f2;
  --surface: #ffffff;
  --surface-soft: #f8f7f2;
  --line: #d9ded7;
  --line-strong: #b9c3bd;
  --green: #133f37;
  --green-soft: #dceee8;
  --blue: #315f83;
  --burgundy: #83394a;
  --gold: #aa7a32;
  --clay: #a45e45;
  --red: #b23b34;
  --mint-dark: #28785c;
  --coral: #e26f5a;
  --panel: #ffffff;
  --shadow: 0 18px 50px rgba(23, 32, 30, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.15rem, 6vw, 5.3rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
  line-height: 1.18;
}

h3 {
  margin-bottom: 5px;
  font-size: 1.04rem;
  line-height: 1.25;
}

.shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 18px 24px 38px;
}

.guest-landing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 440px);
  gap: 36px;
  align-items: end;
  min-height: calc(100vh - 56px);
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(22px, 5vw, 56px);
  background: #12231f;
  color: #fff;
}

.guest-landing::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 19, 17, 0.82) 0%, rgba(10, 19, 17, 0.52) 52%, rgba(10, 19, 17, 0.2) 100%),
    linear-gradient(180deg, rgba(10, 19, 17, 0.04) 0%, rgba(10, 19, 17, 0.72) 100%);
  content: "";
}

.landing-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.landing-brand,
.access-panel {
  position: relative;
  z-index: 2;
}

.landing-brand {
  align-self: start;
  display: inline-grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #fff;
}

.brand-photo-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(19, 63, 55, 0.72);
  color: #fff;
  font-weight: 900;
}

.brand-photo-fallback {
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.brand-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-brand strong,
.landing-brand small {
  display: block;
}

.landing-brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.access-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 30px);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.access-panel h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.access-intro {
  margin: -8px 0 0;
  color: #40504c;
  font-size: 1.02rem;
  line-height: 1.45;
}

.access-fields {
  display: grid;
  gap: 12px;
}

.access-error {
  margin: 0;
  border: 1px solid #efb4ae;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff1ef;
  color: #7e231b;
  line-height: 1.35;
}

.access-submit {
  width: 100%;
}

.access-actions {
  display: grid;
  gap: 10px;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(420px, 1.25fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 12px 0;
  background: rgba(243, 245, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.view-tabs {
  display: grid;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.view-tabs.guest-tabs {
  grid-template-columns: repeat(3, minmax(96px, 1fr));
}

.view-tabs.command-tabs {
  grid-template-columns: repeat(4, minmax(96px, 1fr));
}

.view-tabs button {
  border: 0;
  border-right: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.view-tabs button:last-child {
  border-right: 0;
}

.view-tabs button.active {
  background: var(--green);
  color: #fff;
}

.top-actions {
  display: flex;
  gap: 10px;
  justify-content: end;
}

.primary-action,
.quiet-action {
  min-height: 44px;
  border-radius: 8px;
  padding: 0 15px;
  font-weight: 850;
}

.primary-action {
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
}

.quiet-action {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.guest-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 850;
  white-space: nowrap;
}

.experience-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(58vh, 570px);
  margin-top: 18px;
  padding: clamp(28px, 6vw, 76px);
  overflow: hidden;
  border-radius: 8px;
  background: #12231f;
  color: #fff;
}

.experience-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11, 21, 18, 0.84) 0%, rgba(11, 21, 18, 0.5) 44%, rgba(11, 21, 18, 0.02) 100%);
  content: "";
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.58;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 750;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.experience-hero .eyebrow {
  color: #f2c879;
}

.health-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}

.health-tile,
.metric-card,
.package-card,
.trip-card,
.day-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.health-tile {
  min-height: 132px;
  display: grid;
  align-content: space-between;
  padding: 16px;
}

.health-tile span,
.metric-card span,
label span,
.task-row span,
.source-item span,
.pipeline-step span,
.leg-row span,
dt,
.muted {
  color: var(--muted);
}

.health-tile strong {
  display: block;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1;
}

.health-tile p {
  margin: 0;
  color: #40504c;
  line-height: 1.35;
}

.health-tile.good {
  border-color: #b8d7ca;
  background: #f3fbf7;
}

.health-tile.watch {
  border-color: #e8d0a7;
  background: #fff8ea;
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.overview-grid,
.travel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.welcome-panel {
  display: grid;
  gap: 14px;
}

.welcome-panel p:not(.eyebrow) {
  color: #40504c;
  line-height: 1.55;
}

.adventure-pass {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.adventure-pass img,
.mini-guest-card img,
.traveler-row img,
.personal-travel-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adventure-pass img {
  width: 82px;
  height: 82px;
  border-radius: 8px;
}

.adventure-pass span,
.mini-guest-card span,
.journey-step span,
.transfer-card span,
.verification-row span,
.document-card span,
.feature-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.adventure-pass strong,
.journey-step strong,
.mini-guest-card strong,
.transfer-card strong,
.document-card strong,
.traveler-row strong,
.feature-row strong {
  display: block;
  color: var(--ink);
}

.adventure-pass p,
.mini-guest-card p,
.journey-step p,
.transfer-card p,
.verification-row p,
.document-card p,
.feature-row p {
  margin: 4px 0 0;
  color: #40504c;
  line-height: 1.42;
}

.journey-strip,
.operation-list,
.feature-list,
.transfer-list,
.verification-list,
.document-list {
  display: grid;
  gap: 10px;
}

.journey-step,
.feature-row,
.transfer-card,
.document-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.operation-row,
.verification-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.operation-row strong,
.verification-row strong {
  display: block;
  margin-bottom: 4px;
}

.operation-row p {
  margin: 0;
  color: #40504c;
  line-height: 1.4;
}

.home-base-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.home-base-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-base-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-base-copy {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.home-base-copy p:not(.eyebrow) {
  margin: 0;
  color: #40504c;
  line-height: 1.5;
}

.note-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.note-list li {
  position: relative;
  padding-left: 16px;
  color: #2d3a37;
  line-height: 1.42;
}

.note-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.rooming-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rooming-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 9px;
  background: #eef4f0;
  color: #30433e;
  font-size: 0.78rem;
  font-weight: 800;
}

.guest-roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 12px;
}

.mini-guest-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  min-height: 98px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.mini-guest-card img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
}

.birthday-portal {
  padding: 24px 0 56px;
}

.portal-hero {
  display: grid;
  align-content: center;
  min-height: 62vh;
}

.portal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 520px);
  gap: 34px;
  align-items: center;
}

.portal-hero h1,
.guest-letter h2,
.prep-heading h2,
.stays-heading h2,
.weather-heading h2,
.command-topbar h1 {
  font-family: Georgia, "Times New Roman", serif;
}

.portal-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.1rem, 8vw, 6.2rem);
  line-height: 0.92;
}

.portal-brandline {
  max-width: 660px;
  margin: 14px 0 10px;
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
}

.guest-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.guest-pill-row span,
.guest-route-strip span {
  border: 1px solid rgba(23, 33, 31, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guest-pill-row span {
  border-radius: 999px;
  padding: 8px 11px;
}

.portal-visual {
  justify-self: end;
  width: min(100%, 540px);
  border: 1px solid rgba(170, 122, 50, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 232, 0.72)),
    #fff;
  box-shadow: 0 26px 70px rgba(21, 43, 38, 0.16);
  padding: 10px;
}

.postcard-art {
  width: 100%;
  height: auto;
  border-radius: 7px;
  filter: drop-shadow(0 18px 28px rgba(21, 43, 38, 0.12));
}

.portal-hero-art {
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #f6efe0;
}

.guest-route-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.guest-route-strip span {
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.guest-letter {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  border-block: 1px solid rgba(170, 122, 50, 0.28);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.68), rgba(255, 248, 225, 0.78)),
    linear-gradient(135deg, rgba(123, 198, 164, 0.16), rgba(226, 112, 84, 0.08));
  margin: 28px 0 26px;
  padding: 30px clamp(18px, 4vw, 42px);
}

.guest-letter::before {
  position: absolute;
  right: clamp(8px, 4vw, 36px);
  bottom: -26px;
  color: rgba(170, 122, 50, 0.11);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 16vw, 13rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
  content: "60";
}

.guest-letter-kicker {
  color: var(--mint-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.guest-letter-body {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.guest-letter h2 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 0.98;
}

.guest-letter-copy {
  max-width: 760px;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.66;
}

.guest-letter-copy p {
  margin: 0 0 14px;
}

.guest-letter-signature {
  margin-top: 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}

.guest-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  padding: 18px;
}

.guest-picker {
  margin: 24px 0 18px;
}

.guest-picker h2 {
  margin: 0;
  font-size: 1.35rem;
}

.guest-picker p:not(.eyebrow),
.prep-heading p:not(.eyebrow),
.stays-heading p:not(.eyebrow),
.weather-heading p:not(.eyebrow),
.weather-note,
.weather-fine-print {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.portal-guest-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.portal-guest-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 13px;
  min-height: 154px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--coral);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 240, 210, 0.74), transparent 42%),
    #fff;
  padding: 16px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.portal-guest-card.selected {
  border-top-color: var(--green);
  box-shadow: 0 24px 60px rgba(21, 43, 38, 0.14);
}

.guest-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf5f1;
}

.guest-avatar.has-photo {
  border: 2px solid rgba(170, 122, 50, 0.7);
  background: #fff;
  box-shadow: 0 8px 18px rgba(18, 34, 58, 0.16);
}

.guest-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--portrait-position, 50% 32%);
}

.portal-guest-card small,
.stay-link-card span,
.weather-card-top p {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-guest-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.portal-guest-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.portal-guest-card .guest-friendship {
  margin: 0 0 7px;
  color: #9e6f18;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
}

.guest-stays,
.guest-prep {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: start;
  margin-top: 20px;
}

.guest-stays {
  background:
    linear-gradient(135deg, rgba(237, 245, 241, 0.86), rgba(255, 255, 255, 0.84)),
    #fff;
}

.guest-prep {
  background:
    linear-gradient(135deg, rgba(255, 248, 225, 0.86), rgba(238, 247, 244, 0.72)),
    #fff;
}

.prep-heading h2,
.stays-heading h2,
.weather-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 0.98;
}

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

.stay-link-card {
  border: 1px solid rgba(23, 33, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 15px;
}

.stay-link-card h3 {
  margin: 7px 0 6px;
  font-size: 1.05rem;
}

.stay-link-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.4;
}

.stay-link-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 34, 58, 0.14);
  border-radius: 999px;
  background: #12223a;
  color: #fff;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.prep-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: prep-step;
}

.prep-list li {
  counter-increment: prep-step;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid rgba(23, 33, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  padding: 14px;
}

.prep-list li::before {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #12223a;
  color: #fff;
  font-weight: 900;
  content: counter(prep-step);
}

.prep-list strong,
.prep-list span {
  grid-column: 2;
}

.prep-list span {
  color: var(--muted);
  line-height: 1.45;
}

.guest-weather {
  margin-top: 28px;
  border: 1px solid rgba(170, 122, 50, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 247, 221, 0.68)),
    #fff;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 30px);
}

.weather-heading {
  display: grid;
  max-width: 820px;
  gap: 6px;
  margin-bottom: 18px;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.weather-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(23, 33, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
}

.weather-card-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.weather-card h3 {
  margin: 0;
}

.weather-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff5d9;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
}

.paris-weather .weather-icon {
  background: #edf5f1;
  color: var(--mint-dark);
}

.villa-weather .weather-icon {
  background: #eef7fb;
  color: var(--blue);
}

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

.weather-temps span {
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
  color: var(--ink);
  font-weight: 900;
}

.weather-pack-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.45;
}

.birthday-command {
  padding: 28px 0 48px;
}

.command-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 24px 0 18px;
}

.command-topbar h1 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 0.95;
}

.command-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.command-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.command-status-grid .metric-card {
  min-height: 94px;
}

.command-status-grid .metric-card span {
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
}

.command-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 18px;
  align-items: start;
}

.command-main-column,
.command-side-column,
.command-timeline,
.command-day-items,
.command-risk-list,
.command-attendees {
  display: grid;
  gap: 12px;
}

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

.command-form-grid label,
.ingest-preview label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.command-form-grid input,
.ingest-preview input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
}

.command-form-grid .wide,
.ingest-preview .wide {
  grid-column: 1 / -1;
}

.ingest-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
}

.ingest-preview > div:first-child {
  display: grid;
  gap: 12px;
}

.map-visual {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(49, 95, 131, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 15% 80%, rgba(226, 111, 90, 0.27) 0 4px, transparent 5px),
    radial-gradient(circle at 45% 35%, rgba(123, 198, 164, 0.34) 0 4px, transparent 5px),
    radial-gradient(circle at 78% 58%, rgba(49, 95, 131, 0.28) 0 4px, transparent 5px),
    linear-gradient(160deg, rgba(49, 95, 131, 0.09), rgba(170, 122, 50, 0.08));
}

.map-visual::before {
  position: absolute;
  inset: 30px;
  border: 2px dashed rgba(23, 33, 31, 0.35);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
  content: "";
}

.map-visual span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.2);
}

.command-day-block {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.command-day-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.command-day-date {
  color: var(--blue);
  font-weight: 900;
}

.command-item-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 13px;
}

.command-item-card .item-time {
  color: var(--mint-dark);
  font-weight: 900;
}

.command-item-card h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.command-item-card p,
.command-risk-item p,
.command-attendee-card p,
.command-source-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.command-risk-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 13px;
}

.command-risk-item strong {
  display: block;
  margin-bottom: 5px;
}

.command-risk-item span {
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  padding: 5px 8px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.command-attendee-card,
.command-source-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 13px;
}

.command-attendee-card strong,
.command-source-item strong {
  display: block;
  margin-bottom: 5px;
}

.panel {
  padding: 20px;
}

.brief-panel,
.commercial-snapshot {
  grid-column: span 1;
}

.panel-heading,
.week-heading,
.trip-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.panel-heading {
  margin-bottom: 16px;
}

.brief-list,
.task-list,
.source-list,
.issue-queue,
.legs,
.pipeline,
.roadmap-list {
  display: grid;
  gap: 10px;
}

.brief-item {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-left: 4px solid var(--green);
  background: var(--surface-soft);
}

.brief-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.brief-item strong {
  color: #263532;
  font-weight: 650;
  line-height: 1.45;
}

.task-row,
.issue-row,
.source-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.task-row strong,
.issue-row strong,
.source-item strong {
  display: block;
  margin: 2px 0 4px;
}

.task-row p,
.issue-row p {
  margin: 0;
  color: #40504c;
  line-height: 1.38;
}

.commercial-grid,
.metrics {
  display: grid;
  gap: 12px;
}

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

.metrics {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  margin: 0 0 16px;
}

.metric-card {
  min-height: 104px;
  display: grid;
  align-content: space-between;
  padding: 16px;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.65fr);
  gap: 28px;
  align-items: end;
  margin: 28px 0 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.section-intro h1 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
}

.section-intro p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.timeline {
  display: grid;
  gap: 14px;
}

.day-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.day-kicker {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 92px;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}

.day-kicker span {
  color: var(--burgundy);
  font-weight: 900;
  text-transform: uppercase;
}

.day-kicker strong {
  font-size: 1.1rem;
}

.day-body p {
  color: #40504c;
  line-height: 1.5;
}

.day-kicker small {
  color: var(--muted);
  line-height: 1.35;
}

.full-day-card {
  align-items: start;
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.media-strip.single {
  grid-template-columns: minmax(0, 1fr);
}

.media-strip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-soft);
}

.media-strip.single img {
  max-height: 360px;
}

.schedule-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 4px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 14px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.schedule-time {
  display: grid;
  align-content: start;
  gap: 4px;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

.schedule-time strong {
  color: var(--green);
  line-height: 1.18;
}

.schedule-time span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.schedule-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 4px;
}

.schedule-title h3 {
  margin-bottom: 0;
}

.schedule-item p {
  margin: 0 0 5px;
}

.personal-travel-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.personal-travel-card > img {
  min-height: 220px;
  border-radius: 8px;
}

.personal-schedule-days {
  margin-bottom: 28px;
}

.personal-day-card {
  border-top: 4px solid rgba(19, 63, 55, 0.72);
}

.helpful-weather {
  margin-top: 0;
  margin-bottom: 20px;
}

.helpful-travel-layout {
  margin-top: 20px;
}

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

.personal-facts .metric-card {
  min-height: 116px;
  box-shadow: none;
}

.personal-facts .metric-card strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.command-stays .home-base-card {
  box-shadow: none;
}

.run-list {
  margin-top: 0;
}

.traveler-table {
  display: grid;
  gap: 8px;
}

.traveler-row {
  display: grid;
  grid-template-columns: 58px minmax(150px, 0.8fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(130px, 0.65fr) minmax(140px, 0.7fr);
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.traveler-row img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
}

.traveler-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.25;
}

.traveler-row p {
  margin: 0;
  color: #40504c;
  line-height: 1.35;
}

.day-body ul,
.issue-list,
.roadmap-list {
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.day-body li {
  position: relative;
  padding-left: 18px;
  margin-top: 8px;
  color: #2d3a37;
  line-height: 1.42;
}

.day-body li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.toolbar {
  display: grid;
  grid-template-columns: 170px 220px minmax(240px, 1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e9eee9;
}

label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

select,
input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.ops-layout,
.revenue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.85fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.week-list {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.week-block {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.trip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

.trip-card {
  padding: 16px;
}

.trip-title {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.trip-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

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

dt {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  line-height: 1.35;
}

.leg-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.leg-row strong,
.leg-row span {
  display: block;
}

.leg-row time {
  color: #2d3d43;
  font-size: 0.88rem;
  white-space: nowrap;
}

.recommendation {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.recommendation p {
  margin: 5px 0 0;
  color: #354348;
  line-height: 1.45;
}

.issue-list {
  display: grid;
  gap: 8px;
}

.issue-list li,
.roadmap-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  line-height: 1.35;
}

.issue-list strong {
  display: block;
}

.connection-panel {
  margin-bottom: 18px;
}

.connection-table {
  display: grid;
  gap: 8px;
  overflow-x: auto;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) minmax(130px, 0.9fr) minmax(210px, 1.3fr) minmax(90px, 0.55fr) minmax(240px, 1.8fr);
  gap: 12px;
  align-items: center;
  min-width: 860px;
  min-height: 62px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.table-head {
  min-height: 42px;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.package-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 260px;
  padding: 20px;
}

.package-card p {
  margin-bottom: 0;
  color: #40504c;
  line-height: 1.5;
}

.package-card strong {
  display: block;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.45;
}

.pipeline-step {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.pipeline-step strong {
  color: var(--ink);
}

.pipeline-step p {
  margin: 0;
  color: #40504c;
}

.references {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.references div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.references a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #c9d6dd;
  border-radius: 999px;
  padding: 0 12px;
  background: #eef7fb;
  font-size: 0.88rem;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.status.ok,
.status.good {
  color: #115b39;
  background: #dcf2e8;
}

.status.watch,
.status.long,
.status.neutral {
  color: #794405;
  background: #f9e4c2;
}

.status.risk,
.status.critical {
  color: #7e231b;
  background: #f7d6d3;
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--muted);
}

.dot.ok,
.dot.good {
  background: var(--green);
}

.dot.watch,
.dot.long,
.dot.neutral {
  background: var(--gold);
}

.dot.risk,
.dot.critical {
  background: var(--red);
}

.empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1080px) {
  .shell {
    padding: 14px 16px 30px;
  }

  .app-topbar,
  .guest-landing,
  .command-grid,
  .overview-grid,
  .travel-layout,
  .portal-hero-grid,
  .guest-letter,
  .guest-stays,
  .guest-prep,
  .command-layout,
  .ingest-preview,
  .section-intro,
  .ops-layout,
  .revenue-layout,
  .package-grid,
  .home-base-grid,
  .personal-travel-card {
    grid-template-columns: 1fr;
  }

  .top-actions {
    justify-content: start;
  }

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

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

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

  .portal-guest-cards,
  .stay-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .traveler-row {
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
  }

  .traveler-row p {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 2.45rem;
  }

  .view-tabs {
    grid-template-columns: 1fr;
  }

  .view-tabs button {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .view-tabs button:last-child {
    border-bottom: 0;
  }

  .guest-landing {
    min-height: calc(100vh - 20px);
    align-items: end;
    padding: 18px;
  }

  .guest-landing::before {
    background:
      linear-gradient(180deg, rgba(10, 19, 17, 0.18) 0%, rgba(10, 19, 17, 0.78) 58%, rgba(10, 19, 17, 0.94) 100%);
  }

  .landing-image {
    object-position: center 68%;
  }

  .experience-hero {
    min-height: 470px;
    padding: 22px;
  }

  .experience-hero::before {
    background: linear-gradient(180deg, rgba(11, 21, 18, 0.08) 0%, rgba(11, 21, 18, 0.76) 58%, rgba(11, 21, 18, 0.94) 100%);
  }

  .hero-image {
    object-position: center 68%;
  }

  .health-strip,
  .metrics,
  .commercial-grid,
  .personal-facts,
  .portal-guest-cards,
  .stay-link-grid,
  .weather-grid,
  .weather-temps,
  .command-status-grid,
  .command-form-grid,
  .toolbar,
  .trip-facts,
  .day-card,
  .media-strip,
  .schedule-item,
  .command-day-block,
  .command-item-card,
  .command-risk-item {
    grid-template-columns: 1fr;
  }

  .day-kicker {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 12px;
  }

  .leg-row,
  .panel-heading,
  .week-heading,
  .trip-title {
    display: grid;
    grid-template-columns: 1fr;
  }

  .leg-row time {
    white-space: normal;
  }

  .schedule-time {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 10px;
  }

  .schedule-title {
    display: grid;
  }

  .mini-guest-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .mini-guest-card img {
    width: 64px;
    height: 64px;
  }

  .portal-visual {
    justify-self: center;
  }

  .guest-route-strip {
    grid-template-columns: 1fr;
  }

  .guest-letter,
  .guest-stays,
  .guest-prep {
    padding: 18px;
  }

  .command-topbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .command-actions {
    justify-content: start;
  }

  .command-form-grid .wide,
  .ingest-preview .wide {
    grid-column: auto;
  }

  .table-row {
    min-width: 720px;
  }
}

@media (max-width: 460px) {
  .shell {
    padding: 10px 10px 24px;
  }

  .brand {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .quiet-action {
    padding: 0 10px;
  }
}
