: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);
}

/* Plans email intake stays compact in the Command Center while keeping each
   external reservation visibly reviewable before it becomes itinerary data. */
.plans-inbox-toolbar {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.plans-inbox-toolbar label { display: grid; gap: 6px; max-width: 420px; width: 100%; }
.plans-inbox-toolbar span { color: var(--ink-soft, #63706d); font-weight: 700; }
.plans-inbox-grid { display: grid; gap: 18px; grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr); }
.plans-inbox-list { display: grid; align-content: start; gap: 8px; max-height: 660px; overflow: auto; }
.plans-inbox-row { background: #fffdf8; border: 1px solid #d9e1dc; border-radius: 13px; color: inherit; display: grid; gap: 4px; padding: 14px; text-align: left; }
.plans-inbox-row.active { border-color: #b47d2b; box-shadow: 0 0 0 2px rgba(180, 125, 43, .14); }
.plans-inbox-row strong { color: #163f36; font-size: .98rem; }
.plans-inbox-row span, .plans-inbox-row small { color: #687673; }
.plans-editor { background: #fffdf8; border: 1px solid #d9e1dc; border-radius: 16px; padding: 18px; }
.plans-editor h4 { color: #163f36; font-size: 1.6rem; margin: 0 0 4px; }
.plans-v2-health { background: #eef6f1; border: 1px solid #cfe2d8; border-radius: 14px; display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; padding: 13px; }
.plans-v2-health span { color: #586a64; display: grid; font-size: .78rem; gap: 3px; }
.plans-v2-health strong { color: #163f36; font-size: .73rem; letter-spacing: .04em; text-transform: uppercase; }
.plans-v2-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.plans-v2-tabs button, .plans-v2-candidate-tabs button { background: #f7faf7; border: 1px solid #d9e1dc; border-radius: 999px; color: #38534b; font: inherit; padding: 8px 11px; }
.plans-v2-tabs button.active, .plans-v2-candidate-tabs button.active { background: #163f36; border-color: #163f36; color: #fff; }
.plans-v2-tabs button span { display: inline-block; font-size: .78rem; margin-left: 5px; opacity: .75; }
.plans-v2-workspace { display: grid; gap: 16px; grid-template-columns: minmax(220px, .58fr) minmax(0, 1.42fr); }
.plans-v2-queue { display: grid; align-content: start; gap: 8px; max-height: 780px; overflow: auto; }
.plans-v2-queue-row { background: #fffdf8; border: 1px solid #d9e1dc; border-radius: 13px; color: inherit; display: grid; gap: 4px; padding: 13px; text-align: left; }
.plans-v2-queue-row.active { border-color: #b47d2b; box-shadow: 0 0 0 2px rgba(180, 125, 43, .14); }
.plans-v2-queue-row strong { color: #163f36; }
.plans-v2-queue-row span, .plans-v2-queue-row small { color: #687673; }
.plans-v2-detail { display: grid; gap: 14px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr) minmax(190px, .65fr); }
.plans-v2-detail > section { background: #fffdf8; border: 1px solid #d9e1dc; border-radius: 14px; min-width: 0; padding: 14px; }
.plans-v2-detail h4 { color: #163f36; font-size: 1.05rem; margin: 0 0 4px; }
.plans-v2-source > p:not(.eyebrow) { color: #64706c; font-size: .8rem; margin: 0 0 10px; }
.plans-v2-source pre { background: #f4f6f3; border-radius: 9px; font: .79rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 10px 0 0; max-height: 350px; overflow: auto; padding: 10px; white-space: pre-wrap; word-break: break-word; }
.plans-v2-attachments { display: grid; font-size: .8rem; gap: 4px; margin: 12px 0 0; }
.plans-v2-attachments span { color: #64706c; }
.plans-v2-section-heading { align-items: baseline; display: flex; gap: 10px; justify-content: space-between; }
.plans-v2-section-heading span { color: #64706c; font-size: .78rem; }
.plans-v2-candidate-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.plans-v2-candidate-tabs button { border-radius: 9px; font-size: .78rem; }
.plans-v2-audit { font-size: .82rem; }
.plans-v2-evidence { color: #53655f; display: grid; gap: 4px; margin: 9px 0; padding-left: 18px; }
.plans-v2-audit-list { border-top: 1px solid #e4e9e5; display: grid; gap: 7px; margin-top: 12px; padding-top: 10px; }
.plans-v2-audit-list p { display: grid; gap: 2px; margin: 0; }
.plans-v2-audit-list span { color: #687673; font-size: .75rem; }

@media (max-width: 720px) {
  .plans-inbox-toolbar { align-items: stretch; flex-direction: column; }
  .plans-inbox-grid { grid-template-columns: 1fr; }
  .plans-inbox-list { display: flex; max-height: none; overflow-x: auto; padding-bottom: 4px; }
  .plans-inbox-row { flex: 0 0 min(80vw, 290px); }
  .plans-v2-health { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-v2-workspace, .plans-v2-detail { grid-template-columns: 1fr; }
  .plans-v2-queue { display: flex; max-height: none; overflow-x: auto; padding-bottom: 4px; }
  .plans-v2-queue-row { flex: 0 0 min(80vw, 300px); }
}

@media (max-width: 720px) {
  body.admin-mode,
  body.admin-mode #app,
  body.admin-mode .shell,
  body.admin-mode .admin-modal,
  body.admin-mode .command-center-shell,
  body.admin-mode .admin-command-workspace,
  body.admin-mode .admin-dashboard-card,
  body.admin-mode .studio-workspace-section,
  body.admin-mode .trip-workspace-shell,
  body.admin-mode .guest-workspace-card {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
  }

  body.admin-mode #app *,
  body.admin-mode #app *::before,
  body.admin-mode #app *::after {
    box-sizing: border-box;
  }

  body.admin-mode #app h1,
  body.admin-mode #app h2,
  body.admin-mode #app h3,
  body.admin-mode #app p,
  body.admin-mode #app span,
  body.admin-mode #app strong,
  body.admin-mode #app em,
  body.admin-mode #app label,
  body.admin-mode #app input,
  body.admin-mode #app select,
  body.admin-mode #app textarea,
  body.admin-mode #app button {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  body.admin-mode .admin-modal {
    padding: max(10px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom));
  }

  body.admin-mode .admin-command-header,
  body.admin-mode .admin-card-heading,
  body.admin-mode .trip-workspace-header {
    gap: 10px;
    padding: 10px;
  }

  body.admin-mode .admin-command-header h2,
  body.admin-mode .admin-card-heading h3,
  body.admin-mode .trip-workspace-header h3 {
    font-size: clamp(1.05rem, 6vw, 1.45rem);
    line-height: 1.08;
  }

  body.admin-mode .admin-command-header p:not(.eyebrow),
  body.admin-mode .admin-card-heading p:not(.eyebrow),
  body.admin-mode .trip-workspace-header p:not(.eyebrow) {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  body.admin-mode .admin-home-hero {
    min-height: 0;
    padding: 14px;
  }

  body.admin-mode .admin-home-hero p:not(.eyebrow) {
    white-space: normal;
  }

  body.admin-mode .admin-home-card-grid,
  body.admin-mode .studio-trip-selection-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  body.admin-mode .admin-home-card {
    min-height: 0;
    padding: 12px;
  }

  body.admin-mode .studio-trip-select-card,
  body.admin-mode .admin-dashboard-card,
  body.admin-mode .studio-directory-list article {
    padding: 10px;
  }

  body.admin-mode .studio-trip-select-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.admin-mode .trip-workspace-tabs {
    max-width: 100%;
    overflow-x: auto !important;
    padding-bottom: 6px;
  }

  body.admin-mode .trip-workspace-tabs button {
    min-width: 96px;
    padding: 9px 11px;
  }

  body.admin-mode .admin-form-pair,
  body.admin-mode .guest-editor-grid,
  body.admin-mode .admin-print-controls {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.admin-mode .studio-day-list,
  body.admin-mode .studio-event-list,
  body.admin-mode .studio-travel-list,
  body.admin-mode .studio-directory-list,
  body.admin-mode .guest-profile-list {
    max-height: none !important;
    overflow: visible !important;
  }

  body.admin-mode .studio-day-list article,
  body.admin-mode .studio-event-list article,
  body.admin-mode .studio-travel-list article {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
  }

  body.admin-mode .studio-row-actions,
  body.admin-mode .admin-actions {
    justify-content: stretch;
  }

  body.admin-mode .studio-row-actions .quiet-action,
  body.admin-mode .admin-actions .quiet-action,
  body.admin-mode .admin-actions .primary-action {
    min-height: 44px;
  }
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
}

button,
input,
select,
textarea {
  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;
}

.shell:has(.guest-landing) {
  width: 100%;
  max-width: none;
  padding: 0;
}

.guest-landing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 0.95fr) minmax(270px, 320px);
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: clamp(26px, 4.5vw, 68px);
  row-gap: 24px;
  align-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 38px clamp(34px, 5vw, 72px);
  background: #173049;
  color: #fff;
}

.guest-landing::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 16% 30%, rgba(116, 159, 178, 0.24), rgba(23, 48, 73, 0) 36%),
    radial-gradient(circle at 12% 75%, rgba(231, 156, 88, 0.24), rgba(23, 48, 73, 0) 34%),
    linear-gradient(90deg, rgba(8, 26, 43, 0.64) 0%, rgba(8, 26, 43, 0.44) 43%, rgba(8, 26, 43, 0.08) 100%),
    linear-gradient(180deg, rgba(231, 156, 88, 0.08) 0%, rgba(8, 26, 43, 0.3) 100%);
  content: "";
}

.landing-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--landing-object-position, right center);
  filter: saturate(1.08) contrast(1.02) brightness(1.03) sepia(0.06);
  transform: scale(1.02);
}

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

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

.landing-logo {
  display: block;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
}

.landing-brand-text {
  display: block;
  min-width: 0;
}

.landing-copy {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  display: grid;
  max-width: 690px;
  gap: 15px;
  padding-top: 10px;
}

.landing-copy h1 {
  max-width: 660px;
  margin-bottom: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 5.2vw, 5.05rem);
  font-weight: 500;
  line-height: 0.96;
  text-wrap: balance;
}

.landing-copy p:not(.eyebrow) {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
  line-height: 1.55;
}

.landing-copy p strong {
  display: block;
  margin-bottom: 8px;
  color: #e9bd82;
  font-weight: 650;
}

.landing-copy .eyebrow {
  margin-bottom: 6px;
  color: #e9bd82;
  font-size: 0.96rem;
}

.landing-copy .eyebrow::after,
.access-panel .eyebrow::after {
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 18px;
  background: #d6a96e;
  content: "";
}

.access-panel .eyebrow::after {
  width: 48px;
  margin-top: 14px;
}

.landing-rule {
  position: relative;
  width: min(520px, 100%);
  height: 28px;
  margin: 8px 0 2px;
  background: linear-gradient(90deg, #d6a96e 0 38%, transparent 38% 50%, #d6a96e 50% 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 1px;
}

.landing-rule::after {
  position: absolute;
  left: 50%;
  top: 50%;
  color: #e9bd82;
  font-size: 2rem;
  line-height: 1;
  transform: translate(-50%, -50%);
  content: "✦";
}

.landing-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin-top: 20px;
}

.landing-signals span {
  display: grid;
  gap: 9px;
  min-height: 86px;
  place-items: center;
  border-left: 1px solid rgba(233, 189, 130, 0.34);
  padding: 0 14px;
  color: #e9bd82;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.landing-signals span:first-child {
  border-left: 0;
}

.landing-signals svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.brand-plus-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 28%),
    linear-gradient(135deg, #f3c86b 0%, #e26f5a 48%, #133f37 100%);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 1px 10px rgba(7, 13, 12, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 10px 22px rgba(7, 13, 12, 0.22);
}

.brand-plus-mark::after {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  pointer-events: none;
  content: "";
}

.brand-image-mark {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: var(--green);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 22px rgba(7, 13, 12, 0.22);
}

.brand-image-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.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 strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.65rem;
  font-weight: 500;
  line-height: 1;
}

.landing-brand small {
  margin-top: 6px;
  color: #e9bd82;
  font-size: 1.22rem;
  font-weight: 500;
}

.access-panel {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: start;
  display: grid;
  width: 100%;
  gap: 12px;
  align-content: start;
  border: 1px solid rgba(214, 169, 110, 0.28);
  border-radius: 8px;
  padding: 20px;
  background: rgba(250, 245, 236, 0.92);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.access-panel .eyebrow {
  color: #9e723a;
  font-size: 0.72rem;
}

.access-panel h2 {
  margin-bottom: 0;
  color: #031524;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.05;
  text-wrap: balance;
}

.access-intro {
  max-width: 500px;
  margin: -2px 0 0;
  color: #152638;
  font-size: 0.88rem;
  line-height: 1.42;
}

.guest-auth-disclosure {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid #bd8740;
  color: #435451;
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  line-height: 1.42;
}

.access-role-toggle {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(3, 21, 36, 0.14);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.45);
}

.access-role-toggle button {
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  background: transparent;
  color: #152638;
  text-align: center;
  cursor: pointer;
}

.access-role-toggle button.active {
  background: #031524;
  color: #e9bd82;
  box-shadow: 0 10px 24px rgba(3, 21, 36, 0.14);
}

.access-role-toggle span,
.access-role-toggle small {
  display: block;
}

.access-role-toggle span {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.access-role-toggle small {
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 750;
  opacity: 0.74;
}

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

.access-field {
  gap: 5px;
}

.access-field > span {
  color: #152638;
  font-size: 0.84rem;
  font-weight: 600;
}

.access-input-wrap {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(3, 21, 36, 0.26);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.48);
}

.access-input-wrap svg {
  width: 20px;
  height: 20px;
  color: #aa7a32;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.access-input-wrap input {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #152638;
  font-size: 0.9rem;
}

.access-input-wrap input::placeholder {
  color: rgba(21, 38, 56, 0.48);
}

.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%;
  min-height: 46px;
  border-color: #031524;
  background: #031524;
  color: #e9bd82;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.access-submit .access-submit-arrow {
  margin-left: 8px;
  color: inherit;
  font-size: 1rem;
}

.guest-auth-button-spinner {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.6em;
  vertical-align: -0.1em;
  border: 2px solid rgba(233, 189, 130, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: guest-auth-button-spin 0.75s linear infinite;
}

@keyframes guest-auth-button-spin {
  to { transform: rotate(360deg); }
}

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

.guest-auth-panel .guest-auth-secondary,
.guest-auth-fallback {
  justify-self: center;
}

.guest-auth-fallback {
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guest-auth-status {
  margin: 0;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 700;
}

.guest-journeys {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 52px;
}

.guest-journeys-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 320px;
  padding: 24px 32px 32px;
  border: 1px solid rgba(197, 152, 80, 0.56);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.88) 38%, rgba(255, 253, 248, 0.18) 72%), url("./assets/login-villa-terrace.png") center / cover;
  box-shadow: var(--shadow-soft);
}

.guest-journeys-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.guest-journeys-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.guest-journeys-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.guest-journeys-brand div {
  display: grid;
  gap: 5px;
}

.guest-journeys-brand strong,
.guest-journeys-intro h1,
.guest-journey-card-copy strong {
  font-family: var(--font-display);
  color: var(--ink);
}

.guest-journeys-brand strong {
  font-size: clamp(1.65rem, 2.5vw, 2.35rem);
  line-height: 1;
}

.guest-journeys-brand span {
  color: #a27330;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guest-journeys-profile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-style: normal;
  white-space: nowrap;
}

.guest-journeys-profile span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(190, 139, 65, 0.7);
  border-radius: 50%;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.guest-journeys-profile em { font-style: normal; }

.guest-journeys-intro {
  display: grid;
  max-width: 560px;
  gap: 12px;
  margin-top: clamp(42px, 6vw, 72px);
}

.guest-journeys-intro p {
  margin: 0;
  color: #a27330;
  font-size: 1.04rem;
}

.guest-journeys-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 5.4vw, 4.8rem);
  font-weight: 500;
  line-height: 0.9;
}

.guest-journeys-intro i,
.guest-journey-card-copy i {
  display: block;
  width: 82px;
  height: 1px;
  background: var(--gold);
}

.guest-journeys-intro > span {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.55;
}

.guest-journey-section-heading {
  display: grid;
  grid-template-columns: minmax(30px, 1fr) auto minmax(30px, 1fr);
  align-items: center;
  gap: 26px;
  margin: 26px 0 18px;
}

.guest-journey-section-heading i {
  height: 1px;
  background: rgba(190, 139, 65, 0.55);
}

.guest-journey-section-heading p {
  margin: 0;
  color: #a27330;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guest-journey-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 20px;
}

.guest-journey-card {
  display: grid;
  grid-template-rows: 176px minmax(118px, auto) 52px;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(42, 52, 54, 0.16);
  border-radius: 14px;
  padding: 0;
  background: #fffdf8;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 7px 20px rgba(14, 28, 29, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.guest-journey-card:hover,
.guest-journey-card:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 13px 28px rgba(14, 28, 29, 0.2);
  transform: translateY(-4px);
}

.guest-journey-card:focus-visible { outline: 3px solid rgba(195, 144, 62, 0.4); outline-offset: 3px; }

.guest-journey-card-image { position: relative; overflow: hidden; background: #062139; }
.guest-journey-card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(1, 17, 27, 0.35)); }
.guest-journey-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.guest-journey-card:hover .guest-journey-card-image img { transform: scale(1.04); }
.guest-journey-card-image small { position: absolute; z-index: 1; top: 14px; left: 14px; border-radius: 8px; padding: 8px 10px; background: rgba(2, 27, 44, 0.88); color: #fffaf0; font-size: 0.64rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }

.guest-journey-card-copy { display: grid; align-content: center; gap: 7px; padding: 17px 21px; }
.guest-journey-card-copy em { color: #a27330; font-size: 0.68rem; font-style: normal; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.guest-journey-card-copy strong { font-size: clamp(1.55rem, 2.2vw, 2.05rem); font-weight: 500; line-height: 1.04; }
.guest-journey-card-copy i { width: 42px; background: rgba(190, 139, 65, 0.72); }
.guest-journey-card-copy > span { color: var(--ink-soft); font-size: 0.88rem; }

.guest-journey-card-action { display: flex; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(110deg, #062139, #071c2e); color: #e5b563; font-size: 0.94rem; font-weight: 750; }
.guest-journey-card-action b { font-size: 1.35rem; font-weight: 400; transition: transform 180ms ease; }
.guest-journey-card:hover .guest-journey-card-action b { transform: translateX(5px); }

.guest-journeys > .quiet-action { display: flex; margin: 28px auto 0; }

.guest-optional-sms-card {
  display: grid;
  gap: 6px;
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(190, 139, 65, 0.4);
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 7px 18px rgba(14, 28, 29, 0.08);
}

.guest-optional-sms-card strong { color: #174c42; }
.guest-optional-sms-card span,
.guest-optional-sms-card em { color: var(--ink-soft); font-size: 0.88rem; font-style: normal; }
.guest-optional-sms-card a { width: fit-content; color: #0e4e43; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .guest-journeys { width: 100%; padding: 0 0 34px; }
  .guest-journeys-hero { min-height: 282px; padding: 18px 22px 24px; border-right: 0; border-left: 0; border-radius: 0; background: linear-gradient(90deg, rgba(255, 253, 248, 0.97) 0%, rgba(255, 253, 248, 0.83) 60%, rgba(255, 253, 248, 0.3) 100%), url("./assets/login-villa-terrace.png") 60% center / cover; }
  .guest-journeys-topbar { align-items: flex-start; }
  .guest-journeys-brand { gap: 10px; }
  .guest-journeys-brand img { width: 48px; height: 48px; }
  .guest-journeys-brand strong { font-size: 1.3rem; }
  .guest-journeys-brand span { font-size: 0.55rem; letter-spacing: 0.11em; }
  .guest-journeys-profile { gap: 0; }
  .guest-journeys-profile span { width: 38px; height: 38px; font-size: 0.82rem; }
  .guest-journeys-profile em { display: none; }
  .guest-journeys-intro { margin-top: 38px; gap: 10px; }
  .guest-journeys-intro p { font-size: 0.9rem; }
  .guest-journeys-intro h1 { font-size: clamp(2.85rem, 12vw, 3.65rem); line-height: 0.95; white-space: nowrap; }
  .guest-journeys-intro > span { max-width: 355px; font-size: 0.84rem; line-height: 1.42; }
  .guest-journey-section-heading { gap: 12px; margin: 20px 20px 15px; }
  .guest-journey-section-heading p { font-size: 0.62rem; letter-spacing: 0.12em; white-space: nowrap; }
  .guest-journey-card-grid { grid-template-columns: 1fr; gap: 15px; padding: 0 20px; }
  .guest-optional-sms-card { margin: 18px 20px 0; }
  .guest-journey-card { grid-template-rows: 168px minmax(108px, auto) 50px; }
  .guest-journey-card-copy { padding: 16px 19px; }
  .guest-journey-card-copy strong { font-size: 1.55rem; }
  .guest-journey-card-action { font-size: 0.85rem; }
  .guest-journeys > .quiet-action { margin-top: 18px; }
}

@media (max-width: 380px) {
  .guest-sms-preference-grid { grid-template-columns: 1fr; }
}

.landing-admin-button {
  position: absolute;
  bottom: 18px;
  right: 18px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 11px 0 9px;
  background: rgba(7, 13, 12, 0.38);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.landing-admin-button:hover {
  background: rgba(7, 13, 12, 0.62);
  color: #fff;
}

.landing-admin-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 13, 12, 0.56);
  backdrop-filter: blur(14px);
}

.admin-panel {
  display: grid;
  width: min(420px, 100%);
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 22px;
  background: rgba(248, 247, 242, 0.96);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.admin-report-panel {
  width: min(680px, 100%);
}

.admin-command-center-panel {
  width: min(1180px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  align-content: start;
  gap: 18px;
}

.admin-report-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.admin-panel h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.05;
}

.admin-panel p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-login-panel {
  gap: 20px;
  border-color: rgba(190, 142, 73, 0.45);
  background:
    radial-gradient(circle at 100% 0%, rgba(233, 189, 130, 0.2), transparent 42%),
    rgba(248, 247, 242, 0.98);
}

.admin-login-brand {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(190, 142, 73, 0.34);
}

.admin-login-brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(3, 21, 36, 0.16);
}

.admin-login-brand h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 5vw, 2.1rem);
}

.admin-login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.admin-login-spinner {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  border: 2px solid rgba(233, 189, 130, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: guest-auth-button-spin 0.75s linear infinite;
}

.admin-passkey-login {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(16, 73, 63, 0.38);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font: 800 0.9rem/1 inherit;
  cursor: pointer;
}

.admin-passkey-login:disabled { opacity: 0.6; cursor: wait; }
.admin-passkey-login-note { margin: -10px 0 0; color: var(--muted); font-size: 0.8rem; text-align: center; }

.admin-passkey-security { display: grid; gap: 16px; }
.admin-passkey-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.admin-passkey-heading h3 { margin: 0; font: 700 1.5rem/1.1 Georgia, "Times New Roman", serif; color: var(--ink); }
.admin-passkey-heading p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); line-height: 1.45; }
.admin-passkey-status { flex: 0 0 auto; padding: 8px 10px; border: 1px solid #d8c9aa; border-radius: 999px; color: #776956; background: #fbf8f1; font-size: 0.76rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.admin-passkey-status.enabled { color: #176b54; border-color: #a9d7c3; background: #eff8f2; }
.admin-passkey-feedback { margin: 0; padding: 12px; border-left: 3px solid var(--green); border-radius: 5px; background: #eff8f2; color: var(--green); font-weight: 700; }
.admin-passkey-enroll { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfa; }
.admin-passkey-enroll label { margin: 0; }
.admin-passkey-enroll label span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 0.78rem; font-weight: 800; }
.admin-passkey-enroll input { width: 100%; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 7px; padding: 9px 10px; color: var(--ink); background: #fff; }
.admin-passkey-devices { display: grid; gap: 8px; }
.admin-passkey-devices > .eyebrow { margin: 0; }
.admin-passkey-devices article { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.admin-passkey-devices strong, .admin-passkey-devices span { display: block; }
.admin-passkey-devices span, .admin-passkey-empty, .admin-passkey-fallback { margin: 4px 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.admin-passkey-fallback { padding-top: 12px; border-top: 1px solid var(--line); }

@media (max-width: 720px) {
  .admin-passkey-heading { display: grid; gap: 8px; }
  .admin-passkey-status { justify-self: start; }
  .admin-passkey-enroll { grid-template-columns: minmax(0, 1fr); }
  .admin-passkey-enroll .primary-action { width: 100%; }
}

.admin-report-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-report-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 90px minmax(180px, 1.2fr);
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 11px 12px;
}

.admin-report-row:first-child {
  border-top: 0;
}

.admin-report-header {
  background: #edf5f1;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-report-row strong,
.admin-report-row span,
.admin-report-row time {
  min-width: 0;
}

.admin-report-row time {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-empty-report {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.admin-empty-report p {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-command-header,
.admin-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.admin-command-header h2,
.admin-card-heading h3 {
  margin: 0;
}

.admin-command-header p:not(.eyebrow),
.admin-card-heading span {
  color: var(--muted);
}

.admin-save-status {
  border: 1px solid rgba(170, 122, 50, 0.28);
  border-radius: 8px;
  background: #fff8ea;
  color: #6f4d19;
  padding: 10px 12px;
  font-weight: 800;
}

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

.admin-command-metrics .metric-card {
  min-height: 82px;
  box-shadow: none;
}

.admin-command-layout {
  display: grid;
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-command-workspace {
  display: grid;
  gap: 16px;
}

.admin-dashboard-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.admin-trip-manager {
  position: sticky;
  top: 0;
}

.admin-trip-list,
.admin-record-list,
.admin-editor-form {
  display: grid;
  gap: 10px;
}

.admin-trip-list {
  max-height: 300px;
  overflow: auto;
  padding-right: 2px;
}

.admin-trip-list button {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 12px;
  text-align: left;
}

.admin-trip-list button.selected {
  border-color: rgba(19, 63, 55, 0.44);
  background: var(--green-soft);
}

.admin-trip-list span,
.admin-record-row span,
.admin-empty-note {
  color: var(--muted);
}

.admin-trip-print-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(170, 122, 50, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 225, 0.58), rgba(255, 255, 255, 0.92)),
    #fff;
  padding: 12px;
}

.admin-trip-print-panel h4 {
  margin: 0;
  font-size: 1.05rem;
}

.admin-trip-print-panel p:not(.eyebrow) {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.admin-print-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.admin-print-controls label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-print-controls select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
}

.admin-editor-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-editor-form input,
.admin-editor-form select,
.admin-editor-form textarea,
.admin-panel input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
}

.admin-editor-form textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-form-pair,
.admin-form-trio {
  display: grid;
  gap: 10px;
}

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

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

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

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

.admin-record-row p {
  margin: 5px 0 0;
  color: #40504c;
  line-height: 1.4;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-row-actions .quiet-action,
.admin-card-heading .quiet-action {
  min-height: 36px;
  padding: 0 10px;
}

.danger-action {
  border-color: rgba(178, 59, 52, 0.34);
  color: var(--red);
}

.admin-plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-plan-tabs span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #edf5f1;
  color: var(--green);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.ask-steve-kb-manager {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(170, 122, 50, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 225, 0.58), rgba(255, 255, 255, 0.92)),
    #fff;
  padding: 14px;
}

.kb-manager-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.kb-manager-heading h4 {
  margin: 0;
  font-size: 1.1rem;
}

.kb-manager-heading p:not(.eyebrow) {
  max-width: 720px;
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.kb-manager-heading > span {
  display: inline-grid;
  place-items: center;
  min-height: 32px;
  border: 1px solid rgba(170, 122, 50, 0.26);
  border-radius: 999px;
  color: #7b561f;
  padding: 0 10px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.kb-manager-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: 14px;
  align-items: start;
}

.kb-form,
.kb-upload-form {
  display: grid;
  gap: 10px;
}

.kb-form label,
.kb-upload-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.kb-form input,
.kb-form select,
.kb-form textarea,
.kb-upload-form input,
.kb-upload-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
}

.kb-form textarea {
  min-height: 146px;
  resize: vertical;
}

.kb-upload-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.kb-upload-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.kb-entry-list {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
  padding-right: 2px;
}

.kb-entry-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 12px;
}

.kb-entry-row strong,
.kb-entry-row span,
.kb-entry-row p {
  min-width: 0;
}

.kb-entry-row strong {
  display: block;
  color: var(--green);
}

.kb-entry-row span {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.kb-entry-row p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.admin-command-link:hover {
  text-decoration: none;
}

.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);
}

.app-topbar.guest-clean-topbar {
  grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 1fr) auto;
}

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

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

.brand-logo-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(3, 21, 36, 0.16);
}

.topbar-brand-photo {
  border-color: var(--line-strong);
  background: var(--green);
}

.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 {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
  min-height: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.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;
}

.view-tabs.guest-tabs button {
  min-width: 92px;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--green);
  padding: 0 16px;
  box-shadow: 0 10px 22px rgba(23, 33, 31, 0.07);
}

.view-tabs.guest-tabs button:last-child {
  border-right: 1px solid var(--line-strong);
}

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

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

.session-footer {
  display: grid;
  gap: 12px;
  justify-items: center;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding: 24px 0 6px;
}

.session-footer .quiet-action {
  min-width: 160px;
}

.session-footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.session-footer-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  padding: 0 11px;
  font-size: 0.82rem;
  font-weight: 850;
}

.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-personal-welcome {
  margin: 0 0 8px;
  color: #7e4a2c;
  font-size: clamp(0.98rem, 1.45vw, 1.16rem);
  font-weight: 760;
}

.portal-brandline {
  max-width: 660px;
  margin: 10px 0 4px;
  color: var(--ink);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 680;
  line-height: 1.32;
}

.portal-hero .hero-copy {
  margin: 6px 0 8px;
}

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

.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;
}

.welcome-cinematic-card {
  background:
    linear-gradient(150deg, rgba(18, 38, 58, 0.94), rgba(6, 16, 28, 0.96)),
    #0d1c2e;
  color: #fff;
  overflow: hidden;
}

.welcome-cinematic {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  background: #0d1c2e;
  color: #fff;
  isolation: isolate;
}

.cinematic-scene {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: clamp(22px, 4.8vw, 44px);
  opacity: 0;
  transform: scale(1.01);
  animation: cinematicScene 42s linear infinite;
  animation-delay: calc(var(--scene-index) * 6s);
}

.cinematic-scene::before,
.cinematic-scene::after {
  position: absolute;
  inset: 0;
  content: "";
}

.cinematic-scene::before {
  z-index: -2;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: cinematicDrift 42s ease-in-out infinite;
}

.cinematic-scene::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(4, 12, 22, 0.68)),
    linear-gradient(90deg, rgba(5, 18, 32, 0.62), rgba(5, 18, 32, 0.08) 68%);
}

.cinematic-opening {
  place-items: center;
  align-content: center;
  text-align: center;
}

.cinematic-opening::before,
.cinematic-thanks::before {
  background:
    radial-gradient(circle at 50% 36%, rgba(226, 196, 106, 0.2), transparent 24%),
    radial-gradient(circle at 50% 68%, rgba(83, 120, 156, 0.28), transparent 42%),
    linear-gradient(140deg, #0d1c2e, #132b45 58%, #07111e);
}

.cinematic-opening::after,
.cinematic-thanks::after {
  background:
    radial-gradient(circle at 50% 48%, transparent 0 34%, rgba(0, 0, 0, 0.28) 76%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.42));
}

.cinematic-riviera::before {
  background-image: url("../assets/villa-bay-view.jpg");
}

.cinematic-villa::before {
  background-image: url("../assets/villa-terrace.jpg");
}

.cinematic-yacht::before {
  background-image: url("../assets/rehab-yacht-running.jpg");
  background-position: center 58%;
}

.cinematic-monaco::before {
  background-image: url("../assets/nice-eze-monaco.png");
}

.cinematic-paris::before {
  background-image: url("../assets/riviera-paris-postcard.svg");
}

.cinematic-thanks::before {
  background-image:
    linear-gradient(140deg, rgba(13, 28, 46, 0.84), rgba(8, 17, 29, 0.94)),
    url("../assets/auer-adventure-logo.png");
  background-position: center;
  background-size: cover, min(46%, 210px);
  background-repeat: no-repeat;
}

.cinematic-copy {
  width: min(100%, 420px);
  color: #fff;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
}

.cinematic-opening .cinematic-copy,
.cinematic-thanks .cinematic-copy {
  margin: 0 auto;
  text-align: center;
}

.cinematic-eyebrow,
.cinematic-detail {
  margin: 0;
  color: #e4bd7b;
  font-size: clamp(0.62rem, 1.5vw, 0.82rem);
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cinematic-scene h2 {
  margin: 9px 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 0.96;
}

.cinematic-accent {
  margin: 10px 0 0;
  color: rgba(244, 239, 230, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  font-style: italic;
  line-height: 1.28;
}

.cinematic-rule {
  display: block;
  width: min(118px, 38%);
  height: 1px;
  margin: 16px 0 13px;
  background: linear-gradient(90deg, #e4bd7b, rgba(228, 189, 123, 0));
}

.cinematic-opening .cinematic-rule,
.cinematic-thanks .cinematic-rule {
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, #e4bd7b, transparent);
}

.cinematic-progress {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.cinematic-progress span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(228, 189, 123, 0.24);
  animation: cinematicDot 42s linear infinite;
  animation-delay: calc(var(--dot-index) * 6s);
}

.welcome-cinematic-card .guest-route-strip {
  margin: 10px 0 0;
}

.welcome-cinematic-card .guest-route-strip span {
  border-color: rgba(228, 189, 123, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

@keyframes cinematicScene {
  0%,
  100% {
    opacity: 0;
    transform: scale(1.01);
  }

  2.5%,
  12% {
    opacity: 1;
    transform: scale(1);
  }

  14.25% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes cinematicDrift {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.09) translate3d(-1.2%, -0.8%, 0);
  }

  100% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
}

@keyframes cinematicDot {
  0%,
  14.25%,
  100% {
    background: rgba(228, 189, 123, 0.24);
    transform: scale(1);
  }

  2.5%,
  12% {
    background: #e4bd7b;
    transform: scale(1.42);
  }
}

.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: 0.98rem;
  line-height: 1.7;
}

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

.guest-letter-signature {
  margin-top: 16px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
  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;
}

.intake-intro {
  margin-bottom: 18px;
}

.intake-guest-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(237, 245, 241, 0.9), rgba(255, 255, 255, 0.86)),
    #fff;
}

.intake-guest-panel h2 {
  margin: 0;
}

.intake-guest-panel p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.intake-guest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intake-guest-list span {
  display: inline-grid;
  min-height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.intake-guest-list span.active {
  border-color: rgba(19, 63, 55, 0.38);
  background: var(--green-soft);
  color: var(--green);
}

.flight-intake-form {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  background:
    linear-gradient(135deg, rgba(255, 248, 225, 0.78), rgba(255, 255, 255, 0.9)),
    #fff;
}

.flight-intake-heading {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
}

.flight-intake-heading h2 {
  margin: 0;
}

.intake-status {
  margin: 0;
  border: 1px solid #b8d7ca;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f3fbf7;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

.flight-intake-form fieldset {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.flight-intake-form legend {
  padding: 0 7px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.intake-field-grid .wide {
  grid-column: 1 / -1;
}

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

.flight-record-manager {
  align-items: stretch;
}

.flight-record-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.flight-record-heading h2 {
  margin: 0;
}

.flight-record-heading p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

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

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

.flight-record-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 248, 225, 0.68), rgba(255, 255, 255, 0.92)),
    #fff;
}

.flight-record-card.empty {
  background: rgba(255, 255, 255, 0.72);
}

.flight-record-card h3 {
  margin: 4px 0 10px;
  font-size: 1.05rem;
  color: var(--ink);
}

.flight-record-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.flight-record-updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.quiet-action.danger {
  border-color: rgba(134, 60, 78, 0.38);
  color: var(--wine);
}

.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: 72px minmax(0, 1fr);
  gap: 16px;
  min-height: 190px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 248, 225, 0.82), transparent 52%),
    #fff;
  padding: 16px;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(21, 43, 38, 0.1);
}

.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;
}

.portal-guest-card .guest-avatar {
  width: 68px;
  height: 68px;
}

.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 8px;
  font-size: 1.18rem;
  line-height: 1.05;
}

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

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

.portal-guest-card .guest-friendship-message {
  color: #4f5e59;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.45;
}

.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-temperature-row {
  display: grid;
  grid-template-columns: minmax(112px, 0.72fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
}

.weather-temperature-row strong {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.weather-temperature-row span {
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.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-frame {
  position: relative;
  min-height: 180px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.08);
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-soft);
}

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

.media-frame.full-artwork {
  background: #f3ead9;
}

.media-frame.full-artwork img {
  max-height: none;
  object-fit: contain;
  background: #f3ead9;
}

.media-strip.single .media-frame.full-artwork img {
  max-height: none;
}

.rebirth-photo {
  background: #151816;
}

.rebirth-photo .rebirth-base {
  filter: grayscale(1) contrast(1.08) brightness(0.9);
}

.rebirth-photo .rebirth-color {
  position: absolute;
  inset: 0;
  z-index: 1;
  filter: sepia(0.38) saturate(2.5) contrast(1.1) brightness(1.12);
  clip-path: polygon(43% 0, 100% 0, 100% 100%, 43% 100%);
}

.rebirth-photo::before {
  position: absolute;
  inset: 0 0 0 43%;
  z-index: 2;
  background:
    radial-gradient(circle at 82% 16%, rgba(77, 162, 220, 0.58), transparent 36%),
    radial-gradient(circle at 64% 76%, rgba(232, 170, 68, 0.56), transparent 42%),
    linear-gradient(90deg, rgba(255, 250, 230, 0.28), rgba(66, 143, 194, 0.28) 48%, rgba(226, 161, 54, 0.38));
  mix-blend-mode: overlay;
  opacity: 0.9;
  pointer-events: none;
  content: "";
}

.rebirth-glow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 39%;
  z-index: 3;
  width: 17%;
  background: linear-gradient(90deg, rgba(17, 19, 18, 0.5), rgba(255, 248, 225, 0.45), rgba(214, 158, 63, 0.2), transparent);
  mix-blend-mode: screen;
  transform: skewX(-5deg);
  pointer-events: none;
}

.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;
}

.print-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: end;
  margin: 0 0 20px;
  background:
    radial-gradient(circle at top left, rgba(233, 189, 130, 0.18), rgba(233, 189, 130, 0) 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.96)),
    #fff;
  border: 1px solid rgba(170, 122, 50, 0.22);
}

.print-panel-header {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.print-panel-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(233, 189, 130, 0.35);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(5, 18, 27, 0.98), rgba(10, 28, 42, 0.94)),
    #07131a;
  color: #e9bd82;
}

.print-panel-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.print-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 0.98;
}

.print-panel .eyebrow {
  color: var(--gold);
}

.print-panel-copy {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.42;
}

.print-panel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.print-panel-pills span {
  border: 1px solid rgba(170, 122, 50, 0.22);
  border-radius: 999px;
  background: rgba(255, 248, 225, 0.54);
  color: var(--gold);
  padding: 6px 9px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.print-schedule-sheet {
  display: none;
}

.magic-moments-flow {
  gap: 14px;
}

.magic-moments-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(220px, 0.74fr);
  gap: 12px 22px;
  align-items: end;
  padding: 22px;
  border: 1px solid rgba(187, 137, 60, 0.32);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(231, 187, 113, 0.2), rgba(231, 187, 113, 0) 34%),
    linear-gradient(135deg, #071f2b, #123f38);
  color: #fffdf8;
}

.magic-moments-intro .eyebrow {
  margin: 0 0 6px;
  color: #f2c979;
}

.magic-moments-intro h2 {
  margin: 0;
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 0.96;
}

.magic-moments-intro > p {
  margin: 0;
  color: rgba(255, 253, 248, 0.84);
  line-height: 1.5;
}

.magic-moments-context {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.magic-moments-context span {
  border: 1px solid rgba(242, 201, 121, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf8;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.magic-moments-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

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

.magic-moment-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(187, 137, 60, 0.28);
  border-radius: 18px;
  background: rgba(255, 254, 249, 0.96);
  box-shadow: 0 14px 28px rgba(7, 31, 43, 0.09);
}

.magic-moment-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #113a35;
}

.magic-moment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.magic-moment-image--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 22% 18%, rgba(242, 201, 121, 0.45), transparent 34%),
    linear-gradient(145deg, #061e2c, #164d43);
}

.magic-moment-source-mark {
  max-width: calc(100% - 28px);
  color: #fffdf8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.05;
  text-align: center;
}

.magic-moment-image span {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  background: rgba(4, 24, 33, 0.88);
  color: #fffdf8;
  padding: 6px 9px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.magic-moment-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
}

.magic-moment-copy .eyebrow {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 0.63rem;
}

.magic-moment-copy h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  line-height: 1.05;
}

.magic-moment-copy > p:last-of-type {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.magic-moment-action {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}

.magic-moment-action:hover,
.magic-moment-action:focus-visible {
  color: var(--gold);
  text-decoration: underline;
}

.magic-moments-state {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(184, 133, 52, 0.28);
  border-radius: 18px;
  background: rgba(255, 254, 249, 0.92);
  color: var(--ink);
}

.magic-moments-state strong {
  display: block;
  font-size: 1rem;
}

.magic-moments-state p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.magic-moments-spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 3px solid rgba(18, 63, 56, 0.18);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: magic-moments-spin 0.9s linear infinite;
}

@keyframes magic-moments-spin {
  to { transform: rotate(360deg); }
}

body.printing-admin-summary .print-schedule-sheet:not(.admin-summary-print-sheet) {
  display: none !important;
}

body.printing-admin-trip-report .print-schedule-sheet:not(.admin-trip-report-print-sheet) {
  display: none !important;
}

.admin-trip-report-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(170, 122, 50, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 248, 225, 0.64), rgba(255, 255, 255, 0.96));
  padding: 18px;
}

.admin-trip-report-intro {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.admin-trip-report-intro h4 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.admin-trip-report-intro p:not(.eyebrow) {
  max-width: 680px;
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.admin-trip-report-intro > span {
  border: 1px solid rgba(170, 122, 50, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--gold);
  padding: 7px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-trip-report-controls {
  display: grid;
  grid-template-columns: minmax(230px, 1.3fr) minmax(190px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-trip-report-controls label {
  display: grid;
  gap: 6px;
}

.admin-trip-report-controls label > span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-trip-report-controls select {
  width: 100%;
  min-height: 42px;
}

.admin-trip-report-controls .primary-action {
  min-height: 42px;
  white-space: nowrap;
}

.admin-trip-report-table {
  display: grid;
  gap: 0;
  border: 1px solid #777;
}

.admin-trip-report-row {
  display: grid;
  border-top: 1px solid #bbb;
}

.admin-trip-report-row:first-child {
  border-top: 0;
}

.admin-trip-report-table.flight-report .admin-trip-report-row,
.admin-trip-report-table.preferences-report .admin-trip-report-row {
  grid-template-columns: 78px 1.2fr 1fr 0.8fr 0.9fr 1fr;
}

.admin-trip-report-table.hotel-report .admin-trip-report-row {
  grid-template-columns: 1.5fr 1.3fr 110px 1fr;
}

.admin-trip-report-row > * {
  border-left: 1px solid #bbb;
  padding: 7px;
  font-size: 8.4pt;
  line-height: 1.28;
}

.admin-trip-report-row > *:first-child {
  border-left: 0;
}

.admin-trip-report-head {
  background: #f0f0f0;
}

.admin-trip-report-head span {
  font-family: Inter, Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-summary-print-table {
  display: grid;
  gap: 0;
  border: 1px solid #777;
}

.admin-summary-print-row {
  display: grid;
  grid-template-columns: 82px 150px 150px minmax(0, 1fr) 120px;
  border-top: 1px solid #bbb;
}

.admin-summary-print-row:first-child {
  border-top: 0;
}

.admin-summary-print-row > * {
  border-left: 1px solid #bbb;
  padding: 7px;
  font-size: 8.4pt;
  line-height: 1.28;
}

.admin-summary-print-row > *:first-child {
  border-left: 0;
}

.admin-summary-print-head {
  background: #f0f0f0;
}

.admin-summary-print-head span {
  font-family: Inter, Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.home-screen-panel {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 20px;
  background:
    linear-gradient(135deg, rgba(252, 246, 235, 0.94), rgba(255, 255, 255, 0.88)),
    #fff;
}

.home-screen-icon-preview {
  display: grid;
  place-items: center;
  width: 68px;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: #06233a;
  box-shadow: 0 14px 30px rgba(6, 35, 58, 0.22);
}

.home-screen-icon-preview img,
.home-screen-guide-heading img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-screen-panel h2 {
  margin: 0;
}

.home-screen-panel p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.home-screen-guide-panel {
  width: min(560px, 100%);
}

.home-screen-guide-heading {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.home-screen-guide-heading img {
  aspect-ratio: 1;
  border-radius: 20px;
  background: #06233a;
  box-shadow: 0 16px 36px rgba(6, 35, 58, 0.22);
}

.home-screen-guide-heading h2 {
  margin: 0;
}

.home-screen-guide-heading p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.home-screen-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.home-screen-steps li {
  padding-left: 4px;
}

.home-screen-steps strong,
.home-screen-steps span {
  display: block;
}

.home-screen-steps strong {
  color: var(--ink);
}

.home-screen-steps span {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.extra-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 230px;
  background:
    linear-gradient(135deg, rgba(248, 247, 242, 0.96), rgba(255, 255, 255, 0.88)),
    #fff;
}

.extra-card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(19, 63, 55, 0.1);
  color: var(--green);
}

.spotify-extra-card .extra-card-icon {
  background: rgba(29, 185, 84, 0.12);
  color: #126b34;
}

.album-extra-card .extra-card-icon {
  background: rgba(192, 134, 67, 0.13);
  color: #8c5d22;
}

.extra-card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.extra-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.1;
}

.extra-card p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.extra-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  justify-self: start;
  margin-top: 4px;
  text-decoration: none;
}

.album-helper {
  display: inline-grid;
  gap: 2px;
  margin-top: 14px;
  border: 1px solid rgba(19, 63, 55, 0.18);
  border-radius: 999px;
  background: rgba(237, 245, 241, 0.78);
  padding: 8px 14px;
}

.album-helper span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.album-helper strong {
  color: var(--green);
}

.flight-summary-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0 0 20px;
  background:
    linear-gradient(135deg, rgba(238, 247, 251, 0.9), rgba(255, 255, 255, 0.88)),
    #fff;
}

.flight-summary-heading h2 {
  margin: 0;
}

.flight-summary-list {
  display: grid;
  gap: 10px;
}

.flight-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(49, 95, 131, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 13px;
}

.flight-summary-row > div:first-child span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flight-summary-row > div:first-child strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  line-height: 1.35;
}

.confirmation-line {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.35;
}

.confirmation-line strong {
  display: inline;
  color: var(--burgundy);
  font-weight: 950;
}

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

.flight-summary-check-in-links {
  margin-top: 0;
}

.flight-summary-check-in-links > span {
  display: none;
}

.flight-summary-check-in-links > div {
  justify-content: flex-end;
}

.lodging-confirmation-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0 0 20px;
  background:
    linear-gradient(135deg, rgba(255, 248, 225, 0.9), rgba(255, 255, 255, 0.88)),
    #fff;
}

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

.lodging-confirmation-card {
  border: 1px solid rgba(170, 122, 50, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 13px;
}

.lodging-confirmation-card > span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lodging-confirmation-card > strong {
  display: block;
  margin-top: 5px;
}

.lodging-confirmation-card > p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

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

.property-card-link:hover {
  text-decoration: none;
}

.mobile-flow {
  display: grid;
  gap: 16px;
  padding: 18px 0 48px;
}

.welcome-flow {
  max-width: 980px;
  margin: 0 auto;
}

.flow-video-card {
  justify-self: center;
  width: min(100%, 760px);
}

.flow-welcome-card {
  display: grid;
  gap: 18px;
  width: min(100%, 760px);
  justify-self: center;
  background:
    linear-gradient(135deg, rgba(255, 248, 225, 0.58), rgba(255, 255, 255, 0.94)),
    #fff;
  padding: clamp(18px, 3vw, 30px);
}

.flow-welcome-card h1,
.flow-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
}

.flow-welcome-card h1 {
  font-size: clamp(2.05rem, 5.2vw, 3.6rem);
  font-weight: 500;
}

.welcome-letter-heading {
  display: grid;
  gap: 6px;
}

.welcome-letter-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.42;
}

.welcome-letter-note {
  border-top: 1px solid rgba(170, 122, 50, 0.22);
  padding-top: 18px;
}

.welcome-letter-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-disclosure {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.flow-disclosure summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 16px 18px;
  cursor: pointer;
}

.flow-disclosure summary::-webkit-details-marker {
  display: none;
}

.flow-disclosure summary em,
.flow-disclosure summary strong {
  display: block;
  font-style: normal;
}

.flow-disclosure summary em {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-disclosure summary strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 1.25rem;
}

.flow-disclosure summary b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--green);
  font-size: 1.2rem;
}

.flow-disclosure[open] summary b {
  transform: rotate(45deg);
}

.compact-letter-copy {
  max-width: none;
  border-top: 0;
  padding: 0;
}

.flow-header {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.62fr);
  gap: 20px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.flow-header h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
}

.flow-header p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.flow-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flow-subnav button,
.flow-subnav a,
.day-picker button {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green);
  font-weight: 900;
}

.flow-subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.flow-subnav button,
.flow-subnav a {
  min-height: 40px;
  padding: 0 14px;
}

.flow-subnav button.active,
.flow-subnav a.active,
.day-picker button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.topbar-profile-trigger {
  display: grid;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(232, 196, 121, 0.9);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.96);
  color: var(--green);
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(4, 20, 28, 0.12);
  pointer-events: auto;
}

.topbar-profile-trigger.has-photo {
  border-width: 2px;
}

.topbar-profile-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guest-profile-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  padding: 2px 0 10px;
  overflow-x: auto;
  color: var(--muted);
  scrollbar-width: none;
}

.guest-profile-tabs::-webkit-scrollbar {
  display: none;
}

.guest-profile-tabs button {
  flex: 0 0 auto;
  padding: 3px 9px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.guest-profile-tabs button + button::before {
  display: inline-block;
  margin-right: 18px;
  color: var(--line-strong);
  content: "|";
}

.guest-profile-tabs button.active {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.flow-content {
  display: grid;
  gap: 16px;
}

.flow-overview-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(237, 245, 241, 0.9), rgba(255, 255, 255, 0.9)),
    #fff;
}

.flow-overview-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.flow-overview-card p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.schedule-overview-content {
  gap: 14px;
}

.schedule-overview-hero {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background:
    radial-gradient(circle at 14% 18%, rgba(233, 189, 130, 0.22), rgba(233, 189, 130, 0) 32%),
    linear-gradient(135deg, rgba(5, 18, 27, 0.98), rgba(10, 28, 42, 0.96) 54%, rgba(19, 63, 55, 0.92)),
    #07131a;
  border: 1px solid rgba(233, 189, 130, 0.28);
  color: #fff;
  box-shadow: 0 18px 48px rgba(3, 12, 19, 0.18);
}

.schedule-overview-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(233, 189, 130, 0.34);
  border-radius: 50%;
  background: rgba(5, 18, 27, 0.54);
  box-shadow: 0 12px 32px rgba(3, 12, 19, 0.28);
}

.schedule-overview-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.schedule-overview-hero h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1;
}

.schedule-overview-hero .eyebrow {
  color: #e9bd82;
}

.schedule-overview-hero p:not(.eyebrow) {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

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

.schedule-next-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 18px;
  gap: 12px;
  align-items: center;
  min-height: 138px;
  border: 1px solid rgba(23, 33, 31, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 225, 0.62)),
    #fff;
  color: var(--ink);
  padding: 16px;
  text-align: left;
  box-shadow: var(--shadow);
}

.schedule-next-card:focus-visible {
  outline: 3px solid rgba(214, 169, 110, 0.65);
  outline-offset: 2px;
}

.schedule-next-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(19, 63, 55, 0.1);
  color: var(--green);
}

.schedule-next-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-next-icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.schedule-next-icon.schedule-next-airline {
  overflow: hidden;
  background: #fff;
}

.schedule-next-icon .airline-logo-stack {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.schedule-next-icon .airline-logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  min-width: 34px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.schedule-next-icon .airline-logo-mark strong {
  display: none;
}

.schedule-next-icon .airline-logo-mark svg {
  width: 32px;
  height: 28px;
}

.schedule-next-icon.schedule-next-lodging-photo {
  overflow: hidden;
  padding: 0;
  background: #fff;
}

.schedule-next-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.schedule-next-label,
.schedule-next-copy em {
  color: var(--gold);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-next-copy strong {
  color: var(--ink);
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  line-height: 1.1;
}

.schedule-next-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.34;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.schedule-next-badge {
  align-self: start;
  border: 1px solid rgba(19, 63, 55, 0.16);
  border-radius: 999px;
  background: rgba(19, 63, 55, 0.08);
  color: var(--green);
  padding: 6px 9px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.schedule-next-arrow {
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
}

.schedule-premium-flow {
  gap: 12px;
}

.schedule-premium-hero {
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) minmax(180px, 0.56fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(233, 189, 130, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 18%, rgba(233, 189, 130, 0.22), rgba(233, 189, 130, 0) 34%),
    linear-gradient(135deg, rgba(5, 18, 27, 0.98), rgba(10, 32, 48, 0.96) 54%, rgba(19, 78, 67, 0.9)),
    #07131a;
  color: #fff;
  padding: 20px;
  box-shadow: 0 18px 48px rgba(3, 12, 19, 0.18);
}

.schedule-premium-hero-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(233, 189, 130, 0.62);
  border-radius: 50%;
  background: rgba(5, 18, 27, 0.52);
  color: #e9bd82;
  box-shadow: 0 12px 32px rgba(3, 12, 19, 0.3);
}

.schedule-premium-hero-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.schedule-premium-hero-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.schedule-premium-hero-copy {
  min-width: 0;
}

.schedule-premium-hero .eyebrow {
  color: #e9bd82;
}

.schedule-premium-hero h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.6vw, 3.85rem);
  font-weight: 500;
  line-height: 0.98;
}

.schedule-premium-hero p:not(.eyebrow) {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.45;
}

.schedule-premium-hero-art {
  min-width: 0;
  color: #e9bd82;
  opacity: 0.92;
}

.flight-route-art,
.lodging-line-art {
  width: 100%;
  height: auto;
}

.flight-route-art path,
.lodging-line-art path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flight-route-art path {
  stroke-dasharray: 5 7;
}

.flight-route-art circle {
  fill: currentColor;
  filter: drop-shadow(0 0 8px rgba(233, 189, 130, 0.72));
}

.flight-route-art text {
  fill: #f7ead2;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.flight-route-art-dynamic .flight-route-art-paths path {
  stroke-width: 2.6;
  stroke-dasharray: 4 7;
}

.flight-route-art-dynamic .flight-route-art-stops circle {
  stroke: rgba(255, 248, 225, 0.72);
  stroke-width: 2;
}

.flight-route-art-dynamic .flight-route-art-labels text {
  paint-order: stroke;
  stroke: rgba(4, 20, 34, 0.66);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.premium-flight-list,
.premium-lodging-list {
  display: grid;
  gap: 10px;
}

.premium-flight-card {
  position: relative;
  display: grid;
  grid-template-columns: 34px 68px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  overflow: hidden;
  border: 1px solid rgba(170, 122, 50, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 225, 0.58)),
    #fffcf5;
  padding: 18px;
  box-shadow: 0 14px 38px rgba(3, 12, 19, 0.1);
}

.timeline-accent {
  position: relative;
  display: grid;
  justify-items: center;
  align-self: stretch;
  min-height: 100%;
}

.timeline-accent i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #071f35;
  box-shadow: 0 0 0 5px rgba(7, 31, 53, 0.08);
}

.timeline-accent b {
  display: block;
  width: 2px;
  min-height: 112px;
  margin-top: 8px;
  background-image: linear-gradient(to bottom, rgba(197, 154, 75, 0.6) 45%, rgba(197, 154, 75, 0) 0%);
  background-position: left top;
  background-repeat: repeat-y;
  background-size: 2px 9px;
}

.airline-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(7, 31, 53, 0.12);
  border-radius: 50%;
  background: #071f35;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 26px rgba(3, 12, 19, 0.16);
}

.airline-ba {
  background: linear-gradient(135deg, #071f35, #123d67);
}

.airline-af {
  background: linear-gradient(135deg, #fff, #f7f7f7);
  color: #133f7a;
}

.airline-aa {
  background: linear-gradient(135deg, #f8f8f8, #dbe5ef);
  color: #133f7a;
}

.airline-ei {
  background: linear-gradient(135deg, #073d2f, #0f735a);
}

.airline-tn {
  background: linear-gradient(135deg, #083b60, #4c9ec2);
}

.airline-sk {
  background: linear-gradient(135deg, #002f6c, #1a5b9f);
}

.airline-logo-stack {
  display: grid;
  width: 68px;
  min-width: 0;
  gap: 4px;
  align-self: start;
}

.airline-logo-stack.airline-logo-count-1 {
  height: 68px;
}

.airline-logo-mark {
  display: grid;
  width: 68px;
  height: 68px;
  min-width: 0;
  place-items: center;
  gap: 2px;
  overflow: hidden;
  border: 1px solid rgba(7, 31, 53, 0.12);
  border-radius: 18px;
  background: #fff;
  color: #071f35;
  padding: 6px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(3, 12, 19, 0.13);
}

.airline-logo-count-2 .airline-logo-mark {
  height: 32px;
  border-radius: 12px;
  padding: 3px;
}

.airline-logo-mark svg {
  width: 42px;
  max-width: 100%;
  height: 26px;
  overflow: visible;
}

.airline-logo-count-2 .airline-logo-mark svg {
  width: 32px;
  height: 18px;
}

.airline-logo-mark strong {
  display: block;
  max-width: 100%;
  color: inherit;
  font-size: 0.48rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.92;
}

.airline-logo-count-2 .airline-logo-mark strong {
  font-size: 0.38rem;
}

.airline-logo-aa .aa-blue,
.airline-logo-ba .ba-blue {
  fill: #0a3161;
}

.airline-logo-aa .aa-red,
.airline-logo-ba .ba-red {
  fill: #c41230;
}

.airline-logo-af {
  color: #173f7a;
}

.airline-logo-af .af-blue {
  fill: #173f7a;
}

.airline-logo-af .af-white {
  fill: #fff;
  stroke: #d9d9d9;
  stroke-width: 0.6;
}

.airline-logo-af .af-red {
  fill: #d71920;
}

.airline-logo-ei {
  color: #007a53;
}

.airline-logo-ei svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.airline-logo-sk {
  background: #003d7c;
  color: #fff;
}

.airline-logo-sk svg text {
  fill: currentColor;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: 0;
}

.airline-logo-tn {
  color: #006aa6;
}

.airline-logo-tn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.airline-logo-ua {
  background: #ffffff;
}

.airline-logo-ua .ua-blue { fill: #173f7a; }
.airline-logo-ua .ua-teal { fill: #1598a4; }
.airline-logo-ua .ua-gold { fill: #e6aa36; }
.airline-logo-ua .ua-orange { fill: #e66a32; }

.airline-logo-as { background: #ffffff; }
.airline-logo-as .as-blue { fill: #0b4f8e; }
.airline-logo-as .as-green { fill: #59a78b; }

.airline-logo-9k { background: #ffffff; }
.airline-logo-9k .cape-blue { fill: #06365b; }
.airline-logo-9k .cape-gold { fill: #c7913d; }

.airline-logo-generic {
  color: #0b4f8e;
  background: #f2f7fa;
}

.airline-logo-generic .generic-plane { fill: currentColor; }

.premium-flight-body {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.premium-flight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.premium-flight-meta p,
.premium-stay-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flight-status-chip,
.date-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(19, 63, 55, 0.16);
  border-radius: 999px;
  background: rgba(19, 63, 55, 0.08);
  color: var(--green);
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.date-chip {
  margin-left: auto;
  gap: 6px;
}

.flight-status-on_time {
  border-color: rgba(24, 120, 80, 0.26);
  background: rgba(40, 160, 104, 0.12);
  color: #176346;
}

.flight-status-scheduled {
  color: #315b4c;
  background: #edf3e7;
  border-color: #cbdcc8;
}

.flight-status-schedule_change,
.flight-status-delayed {
  border-color: rgba(171, 112, 31, 0.3);
  background: rgba(214, 166, 76, 0.16);
  color: #885c1b;
}

.flight-status-cancelled {
  border-color: rgba(157, 54, 54, 0.26);
  background: rgba(190, 67, 67, 0.12);
  color: #983d3d;
}

.flight-status-monitoring_pending,
.flight-status-unavailable {
  border-color: rgba(66, 80, 82, 0.17);
  background: rgba(66, 80, 82, 0.08);
  color: #506064;
}

.flight-monitoring-detail {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-left: 3px solid rgba(189, 143, 56, 0.72);
  background: rgba(246, 241, 229, 0.72);
  color: var(--ink);
  font-size: 0.83rem;
}

.flight-monitoring-detail span {
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flight-monitoring-detail p,
.flight-monitoring-detail small {
  margin: 0;
  line-height: 1.42;
}

.flight-monitoring-detail small {
  color: var(--muted);
  font-size: 0.72rem;
}

.inbound-aircraft-detail {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  border: 1px solid rgba(19, 63, 55, 0.17);
  border-left: 3px solid rgba(37, 102, 125, 0.72);
  background: rgba(232, 244, 246, 0.56);
  color: var(--ink);
  font-size: 0.82rem;
}

.inbound-aircraft-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: space-between;
}

.inbound-aircraft-heading span,
.inbound-aircraft-heading strong {
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inbound-aircraft-heading span { color: #23667d; }
.inbound-aircraft-heading strong { color: #176346; }
.inbound-aircraft-detail p,
.inbound-aircraft-detail small { margin: 0; line-height: 1.38; }
.inbound-aircraft-detail small { color: var(--muted); font-size: 0.71rem; }

/* Flight Risk V2: one compact, explainable outlook.  The official airline
   status and one score share a single component so they cannot contradict. */
.flight-risk-outlook {
  display: grid;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(19, 63, 55, 0.17);
  border-left: 4px solid #176346;
  background: rgba(235, 246, 239, 0.72);
  color: var(--ink);
  font-size: 0.8rem;
}
.flight-risk-outlook-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  justify-content: space-between;
}
.flight-risk-outlook-heading span,
.flight-risk-outlook-heading strong {
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.flight-risk-outlook-heading span { color: #23667d; }
.flight-risk-outlook-heading strong { color: #176346; }
.flight-risk-outlook > p { margin: 0; line-height: 1.4; }
.flight-risk-status-summary { color: var(--ink); }
.flight-risk-details {
  border-top: 1px solid rgba(19, 63, 55, 0.14);
  padding-top: 7px;
}
.flight-risk-details summary {
  cursor: pointer;
  color: #174d41;
  font-weight: 900;
}
.flight-risk-details summary strong {
  float: right;
  color: inherit;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.flight-risk-details summary::after { content: ""; display: block; clear: both; }
.flight-risk-details[open] summary { margin-bottom: 8px; }
.flight-risk-breakdown { display: grid; gap: 6px; margin-top: 8px; }
.flight-risk-breakdown p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  margin: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(19, 63, 55, 0.09);
}
.flight-risk-breakdown p > span { color: #174d41; font-size: 0.72rem; font-weight: 850; }
.flight-risk-breakdown p > small { grid-column: 1 / -1; color: var(--muted); line-height: 1.35; }
.flight-risk-limitation,
.flight-risk-updated { color: var(--muted); font-size: 0.69rem; line-height: 1.35; }
.flight-risk-low { border-left-color: #3f8f5a; background: rgba(238, 248, 239, 0.72); }
.flight-risk-watch { border-left-color: #b27a25; background: rgba(247, 231, 196, 0.6); }
.flight-risk-elevated { border-left-color: #c46c28; background: rgba(251, 234, 214, 0.68); }
.flight-risk-high { border-left-color: #a13f3f; background: rgba(249, 226, 223, 0.7); }
.flight-risk-watch .flight-risk-outlook-heading strong { color: #885c1b; }
.flight-risk-elevated .flight-risk-outlook-heading strong { color: #a85c22; }
.flight-risk-high .flight-risk-outlook-heading strong { color: #983d3d; }
.flight-risk-watch .flight-risk-details summary strong { color: #885c1b; }
.flight-risk-elevated .flight-risk-details summary strong { color: #a85c22; }
.flight-risk-high .flight-risk-details summary strong { color: #983d3d; }

.inbound-risk-unavailable {
  border-left-color: #859091;
  background: rgba(235, 239, 237, 0.72);
}
.inbound-risk-unavailable .inbound-aircraft-heading span,
.inbound-risk-unavailable .inbound-aircraft-heading strong { color: #556264; }

.inbound-risk-watch {
  border-left-color: #b27a25;
  background: rgba(247, 231, 196, 0.58);
}
.inbound-risk-watch .inbound-aircraft-heading span,
.inbound-risk-watch .inbound-aircraft-heading strong { color: #885c1b; }

.inbound-risk-high,
.inbound-risk-very_high {
  border-left-color: #a13f3f;
  background: rgba(249, 226, 223, 0.62);
}
.inbound-risk-high .inbound-aircraft-heading span,
.inbound-risk-high .inbound-aircraft-heading strong,
.inbound-risk-very_high .inbound-aircraft-heading span,
.inbound-risk-very_high .inbound-aircraft-heading strong { color: #983d3d; }

.studio-flight-risk {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.3;
}
.studio-flight-risk-low { color: #176346; }
.studio-flight-risk-watch { color: #885c1b; }
.studio-flight-risk-high,
.studio-flight-risk-very_high { color: #983d3d; }
.studio-flight-risk-unavailable { color: #5c6869; }
.studio-flight-risk b { font-weight: 950; }

.date-chip svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-flight-route {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0;
  color: #111b1c;
  font-size: clamp(1.35rem, 3.8vw, 2rem);
  line-height: 1.1;
}

.premium-flight-route em {
  color: rgba(17, 27, 28, 0.5);
  font-style: normal;
}

.premium-flight-details {
  display: grid;
  gap: 3px;
}

.premium-flight-details p {
  margin: 0;
  color: #2c3030;
  line-height: 1.38;
}

.record-locator-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(23, 33, 31, 0.1);
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.record-locator-row svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.record-locator-row strong {
  color: var(--burgundy);
  font-weight: 950;
  letter-spacing: 0.04em;
}

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

.premium-cta-button,
.premium-property-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid rgba(4, 20, 31, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #071f35, #092f4f);
  color: #fff;
  padding: 0 18px;
  font-size: 0.9rem;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(3, 12, 19, 0.16);
}

.premium-cta-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-cta-button:hover,
.premium-property-button:hover {
  text-decoration: none;
}

.premium-lodging-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 176px;
  gap: 16px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(170, 122, 50, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 225, 0.58)),
    #fffcf5;
  padding: 16px;
  box-shadow: 0 14px 38px rgba(3, 12, 19, 0.1);
}

.premium-lodging-photo {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.26;
  margin: 0;
  border-radius: 8px;
  background: #d8ddd8;
  box-shadow: inset 0 0 0 1px rgba(23, 33, 31, 0.08);
}

.premium-lodging-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-lodging-photo-nice img {
  object-position: 66% 50%;
}

.premium-lodging-photo-villa img {
  object-position: 50% 48%;
}

.premium-lodging-photo-paris img {
  object-position: 50% 58%;
}

.premium-lodging-copy {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 7px;
  border-radius: 999px;
  background: rgba(233, 189, 130, 0.16);
  color: #23211d;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-chip svg,
.premium-room-row svg,
.premium-address-row svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-lodging-card h3 {
  margin: 0;
  color: #111b1c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3.7vw, 2.35rem);
  font-weight: 500;
  line-height: 0.98;
}

.premium-room-row,
.premium-address-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
}

.premium-address-row {
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.3;
}

.premium-address-row svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.premium-lodging-reference {
  border-top: 1px dashed rgba(23, 33, 31, 0.18);
  padding-top: 8px;
  color: var(--muted);
  line-height: 1.25;
}

.premium-lodging-reference span {
  display: block;
}

.premium-lodging-reference strong {
  color: var(--burgundy);
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.premium-lodging-reference.muted {
  color: var(--muted);
}

.premium-lodging-action {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.lodging-type-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(170, 122, 50, 0.18);
  border-radius: 50%;
  background: rgba(23, 33, 31, 0.05);
  color: var(--gold);
}

.lodging-type-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-property-button {
  width: 100%;
  background: linear-gradient(135deg, #0f4d43, #073b32);
}

.premium-property-button strong {
  color: #e9bd82;
  font-size: 1.45rem;
  line-height: 1;
}

.flow-summary-grid,
.flow-option-grid,
.flow-narrative-grid {
  display: grid;
  gap: 10px;
}

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

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

.flow-shortcut-card {
  display: grid;
  gap: 7px;
  min-height: 122px;
  border: 1px solid rgba(23, 33, 31, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 225, 0.58)),
    #fff;
  padding: 15px;
  text-align: left;
  box-shadow: var(--shadow);
}

.flow-shortcut-card span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-shortcut-card strong {
  color: var(--ink);
  line-height: 1.32;
}

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

.day-picker {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: thin;
}

.daily-activity-flow .day-picker {
  position: sticky;
  top: 88px;
  z-index: 8;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 245, 242, 0.96);
  backdrop-filter: blur(14px);
}

.day-picker button {
  display: grid;
  flex: 0 0 auto;
  min-width: 98px;
  min-height: 58px;
  place-items: center;
  padding: 8px 12px;
}

.day-picker span,
.day-picker strong {
  display: block;
  line-height: 1.15;
}

.day-picker span {
  font-size: 0.74rem;
  text-transform: uppercase;
}

.day-picker strong {
  font-size: 0.88rem;
}

.selected-day-timeline {
  margin-bottom: 0;
}

.selected-day-timeline .day-card {
  margin-bottom: 0;
}

.single-extra-grid {
  grid-template-columns: minmax(0, 720px);
  justify-content: start;
}

.compact-guest-picker {
  margin: 0;
}

.compact-prep-panel {
  margin-top: 0;
}

.compact-weather-panel {
  margin-bottom: 0;
}

.dress-rhythm-panel {
  margin-bottom: 0;
}

.flow-empty-card h2 {
  margin: 0;
}

.flow-empty-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.pending-flow-card,
.pending-detail-panel,
.guest-profile-update-panel {
  margin-bottom: 0;
}

.pending-detail-panel {
  display: grid;
  gap: 18px;
}

.guest-update-form,
.embedded-flight-intake-form {
  display: grid;
  gap: 9px;
}

.guest-sms-preferences-form {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.guest-sms-preferences-form h3 {
  margin: 2px 0 6px;
  color: var(--ink);
}

.guest-sms-preferences-form p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.guest-sms-opt-in-note {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(184, 137, 61, 0.28);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.guest-sms-opt-in-note strong {
  color: var(--green);
}

.sms-preferences-editor {
  display: grid;
  gap: 10px;
}

.sms-preferences-master,
.sms-preference-choice {
  display: grid;
  grid-template-columns: auto 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(24, 73, 65, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.82);
  cursor: pointer;
}

.sms-preferences-master {
  padding: 10px 12px;
  background: linear-gradient(120deg, rgba(6, 63, 54, 0.1), rgba(255, 252, 242, 0.92));
}

.sms-preference-choice {
  min-height: 68px;
  padding: 9px 10px;
}

.sms-preferences-master input,
.sms-preference-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
}

.sms-preference-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(232, 196, 121, 0.2);
}

.sms-preference-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sms-preferences-master strong,
.sms-preference-choice strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.2;
}

.sms-preferences-master small,
.sms-preference-choice small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

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

.guest-profile-update-panel .intake-field-grid {
  gap: 8px;
}

.guest-profile-update-panel .primary-action {
  min-height: 42px;
}

.guest-profile-future-trips,
.guest-profile-trip-list {
  display: grid;
  gap: 12px;
}

.guest-profile-future-trips h3 {
  margin: 2px 0 6px;
  color: var(--ink);
}

.guest-profile-future-trips p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.guest-profile-trip-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 16px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(24, 73, 65, 0.18);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.84);
  color: var(--ink);
  text-align: left;
}

.guest-profile-trip-card span {
  display: grid;
  gap: 3px;
}

.guest-profile-trip-card strong {
  color: var(--green);
}

.guest-profile-trip-card small,
.guest-profile-trip-card em {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
}

.guest-profile-trip-card em {
  align-self: start;
  text-align: right;
}

.guest-profile-trip-card b {
  grid-column: 1 / -1;
  color: #a9701f;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.guest-journey-opening {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 28px;
  background: linear-gradient(140deg, #05151d, #0b342f 68%, #20372c);
}

.guest-journey-opening-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 440px;
  padding: 34px 28px;
  border: 1px solid rgba(232, 196, 121, 0.5);
  border-radius: 18px;
  background: rgba(1, 20, 28, 0.72);
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.guest-journey-opening-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.guest-journey-opening-card .eyebrow {
  color: #e9bd82;
}

.guest-journey-opening-card h1,
.guest-journey-opening-card p {
  margin: 0;
}

.guest-journey-opening-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
}

.guest-journey-opening-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.guest-journey-opening-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.24);
  border-top-color: #e9bd82;
  border-radius: 50%;
  animation: guest-journey-spin 0.8s linear infinite;
}

@keyframes guest-journey-spin {
  to { transform: rotate(360deg); }
}

.guest-message-preferences {
  padding: 0;
  overflow: hidden;
}

.guest-message-preferences > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}

.guest-message-preferences > summary::-webkit-details-marker {
  display: none;
}

.guest-message-preferences > summary > small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.guest-message-preferences[open] > summary {
  border-bottom: 1px solid var(--line);
}

.guest-message-preferences-body {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
}

.guest-message-preferences-body .admin-form-note {
  margin: 0;
}

.admin-sms-preferences-editor .sms-preference-choice {
  min-height: 60px;
}

.guest-self-photo-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(184, 137, 61, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 250, 240, 0.72);
}

.guest-self-photo-row .guest-avatar {
  width: 74px;
  height: 74px;
}

.guest-self-photo-row strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.guest-self-photo-row p {
  margin: 3px 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.guest-self-photo-button {
  min-height: 44px;
  width: fit-content;
}

.guest-profile-update-panel:focus {
  outline: none;
}

.guest-profile-update-panel.focus-requested {
  box-shadow:
    0 0 0 3px rgba(231, 195, 119, 0.28),
    0 18px 42px rgba(16, 31, 43, 0.11);
}

.dynamic-welcome-card {
  display: grid;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(3, 20, 31, 0.92), rgba(5, 58, 48, 0.76)),
    radial-gradient(circle at 78% 22%, rgba(222, 185, 110, 0.22), transparent 36%),
    var(--navy);
}

.dynamic-welcome-flow {
  align-items: start;
}

.dynamic-welcome-stage {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: min(980px, 100%);
  margin: 0 auto;
}

.dynamic-welcome-headline {
  text-align: center;
}

.dynamic-welcome-headline .eyebrow {
  margin: 0 0 8px;
  color: var(--burgundy);
  font-size: 0.86rem;
  letter-spacing: 0.2em;
}

.dynamic-welcome-headline h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 0.98;
}

.dynamic-personal-welcome-card {
  gap: 18px;
  border-color: rgba(184, 137, 61, 0.28);
  background:
    radial-gradient(circle at 92% 0%, rgba(231, 195, 119, 0.18), transparent 34%),
    linear-gradient(145deg, #fffaf0, #fffef9);
}

.dynamic-welcome-personal-heading {
  display: flex;
  min-width: 0;
  gap: 14px;
  align-items: center;
}

.dynamic-welcome-personal-heading .guest-avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
}

.dynamic-personal-welcome-card h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
}

.personal-details-action {
  width: fit-content;
  min-width: min(100%, 260px);
}

.dynamic-opening-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.dynamic-welcome-card {
  position: relative;
  overflow: visible;
  margin-bottom: 0;
  padding: 0;
  border: 1px solid rgba(218, 176, 94, 0.6);
  border-radius: 9px;
  background: transparent;
  box-shadow: 0 24px 58px rgba(8, 25, 36, 0.14);
}

.dynamic-welcome-art {
  display: grid;
  min-height: clamp(360px, 48vw, 620px);
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(218, 176, 94, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(3, 20, 31, 0.92), rgba(5, 58, 48, 0.76)),
    radial-gradient(circle at 78% 22%, rgba(222, 185, 110, 0.22), transparent 36%),
    var(--navy);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.14);
}

.dynamic-welcome-identity {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  width: calc(100% - 56px);
  max-width: 860px;
  min-height: 132px;
  margin: -62px auto 0;
  padding: 20px 28px 20px 190px;
  border: 1px solid rgba(218, 176, 94, 0.72);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(231, 195, 119, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.99), rgba(255, 255, 255, 0.97));
  text-align: left;
  box-shadow:
    0 28px 48px rgba(9, 28, 39, 0.2),
    0 0 0 8px rgba(255, 250, 240, 0.18);
  z-index: 2;
}

.dynamic-welcome-identity-copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.dynamic-welcome-identity-copy strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1;
}

.dynamic-welcome-identity-copy span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dynamic-welcome-identity-copy span::after {
  display: block;
  width: min(220px, 70%);
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, transparent, rgba(184, 137, 61, 0.62), transparent);
  content: "";
}

.dynamic-welcome-portrait {
  position: absolute;
  left: 92px;
  top: 50%;
  display: grid;
  width: 176px;
  height: 176px;
  place-items: center;
  overflow: hidden;
  border: 5px solid rgba(230, 190, 120, 0.96);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 18%, rgba(230, 190, 120, 0.18), transparent 32%),
    linear-gradient(145deg, #fffaf0, #f5ead7);
  color: var(--green);
  box-shadow:
    0 26px 48px rgba(9, 28, 39, 0.3),
    0 0 0 10px rgba(255, 250, 240, 0.22);
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

.dynamic-welcome-portrait:focus-visible {
  outline: 4px solid rgba(184, 137, 61, 0.42);
  outline-offset: 5px;
}

.dynamic-welcome-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dynamic-welcome-portrait strong {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: 0.04em;
}

.dynamic-welcome-mark {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
}

.dynamic-welcome-mark img {
  width: min(120px, 35vw);
  height: auto;
}

.dynamic-welcome-mark h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 0.95;
}

.dynamic-welcome-mark p:last-child {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

/* A trip's opening artwork is its own keepsake. Keep it whole, then layer the
   guest identity beneath it so one design works for every trip and every guest. */
.dynamic-welcome-stage {
  max-width: min(600px, 100%);
}

.dynamic-welcome-card.has-unique-welcome-graphic {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dynamic-welcome-card.has-unique-welcome-graphic .dynamic-welcome-art {
  display: block;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border: 1px solid rgba(218, 176, 94, 0.78);
  border-radius: 18px;
  background: #061923;
  box-shadow: 0 18px 40px rgba(8, 25, 36, 0.2);
}

.dynamic-welcome-card.has-unique-welcome-graphic .dynamic-opening-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.dynamic-welcome-card.has-unique-welcome-graphic .dynamic-welcome-identity {
  width: calc(100% - 40px);
  margin-top: -54px;
  border-color: rgba(218, 176, 94, 0.78);
}

@media (max-width: 720px) {
  .dynamic-welcome-stage {
    gap: 10px;
    max-width: 100%;
  }

  .dynamic-welcome-card.has-unique-welcome-graphic .dynamic-welcome-art {
    border-radius: 14px;
  }

  .dynamic-welcome-card.has-unique-welcome-graphic .dynamic-welcome-identity {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: calc(100% - 24px);
    min-height: 104px;
    margin-top: -38px;
    padding: 15px 16px 15px 136px;
    border-radius: 15px;
  }

  .dynamic-welcome-card.has-unique-welcome-graphic .dynamic-welcome-portrait {
    left: 58px;
    width: 116px;
    height: 116px;
    border-width: 4px;
  }

  .dynamic-welcome-card.has-unique-welcome-graphic .dynamic-welcome-identity-copy strong {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }
}

.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;
}

.confirmation-summary {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.confirmation-summary article,
.schedule-confirmation {
  border: 1px solid rgba(131, 57, 74, 0.16);
  border-radius: 8px;
  background: #fff7f1;
  padding: 11px;
}

.confirmation-summary span,
.schedule-confirmation span {
  display: block;
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.confirmation-summary strong,
.schedule-confirmation strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  line-height: 1.35;
}

.schedule-confirmation {
  margin-top: 8px;
}

.check-in-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.check-in-links > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.check-in-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-in-links a {
  display: inline-grid;
  align-content: center;
  min-height: 40px;
  border: 1px solid rgba(49, 95, 131, 0.22);
  border-radius: 999px;
  background: #eef7fb;
  color: #173f5c;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.12;
  text-decoration: none;
}

.check-in-links a span,
.check-in-links a strong {
  display: block;
}

.check-in-links a span {
  color: #4d6471;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.check-in-links a:hover {
  border-color: rgba(49, 95, 131, 0.42);
  background: #e0f0f8;
  text-decoration: none;
}

.personal-check-in-links {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.schedule-check-in-links {
  margin-top: 8px;
}

.schedule-check-in-links a {
  min-height: 36px;
  font-size: 0.78rem;
}

.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,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

select,
input {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  min-height: 112px;
  padding: 11px 12px;
  line-height: 1.45;
  resize: vertical;
}

.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 print {
  @page {
    margin: 0.45in;
  }

  html,
  body {
    background: #fff;
    color: #111;
  }

  .shell {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  #app > :not(.print-schedule-sheet) {
    display: none !important;
  }

  .print-schedule-sheet {
    display: block !important;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
  }

  .print-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 18px;
    align-items: end;
    border-bottom: 2px solid #111;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .print-kicker,
  .print-pass strong,
  .print-facts span,
  .print-day-heading span,
  .print-schedule-item time {
    font-family: Inter, Arial, sans-serif;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .print-kicker {
    margin: 0 0 5px;
    font-size: 9pt;
    font-weight: 900;
  }

  .print-header h1 {
    margin: 0 0 5px;
    font-size: 28pt;
    line-height: 1;
  }

  .print-header p,
  .print-pass span {
    margin: 0;
    font-size: 10pt;
    line-height: 1.35;
  }

  .print-pass {
    border: 1px solid #111;
    padding: 10px;
  }

  .print-pass strong,
  .print-pass span {
    display: block;
  }

  .print-pass strong {
    margin-bottom: 6px;
    font-size: 9pt;
  }

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

  .print-facts article {
    border: 1px solid #999;
    padding: 8px;
    break-inside: avoid;
  }

  .print-facts span {
    display: block;
    margin-bottom: 4px;
    font-size: 8pt;
    font-weight: 900;
  }

  .print-facts strong {
    display: block;
    font-size: 9.5pt;
    line-height: 1.3;
  }

  .print-confirmations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
  }

  .print-confirmations article {
    border: 1px solid #999;
    padding: 8px;
    break-inside: avoid;
  }

  .print-confirmations span {
    display: block;
    margin-bottom: 4px;
    font-family: Inter, Arial, sans-serif;
    font-size: 8pt;
    font-weight: 900;
    text-transform: uppercase;
  }

  .print-confirmations strong {
    display: block;
    font-size: 9pt;
    line-height: 1.35;
  }

  .print-travel-brief {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 11px;
  }

  .print-travel-brief article {
    break-inside: avoid;
    border: 1px solid #999;
    padding: 7px 8px;
  }

  .print-travel-brief span,
  .print-travel-brief small {
    display: block;
    font-family: Inter, Arial, sans-serif;
    font-size: 8pt;
    line-height: 1.25;
  }

  .print-travel-brief span {
    margin-bottom: 3px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .print-travel-brief strong {
    display: block;
    font-size: 9.5pt;
    line-height: 1.2;
  }

  .print-travel-brief p {
    margin: 3px 0;
    font-size: 8.5pt;
    line-height: 1.28;
  }

  .schedule-confirmation,
  .confirmation-summary,
  .lodging-confirmation-panel,
  .flight-summary-panel {
    border: 0;
    background: transparent;
    padding: 0;
  }

  .print-days {
    display: grid;
    gap: 10px;
  }

  .print-day {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
    border-top: 1px solid #999;
    padding-top: 9px;
    break-inside: avoid;
  }

  .print-day-heading {
    display: grid;
    align-content: start;
    gap: 3px;
  }

  .print-day-heading span {
    font-size: 8pt;
    font-weight: 900;
  }

  .print-day-heading strong {
    font-size: 11pt;
  }

  .print-day-heading em {
    font-size: 10pt;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
  }

  .print-day-heading small,
  .print-day-body p,
  .print-schedule-item span,
  .print-schedule-item p,
  .print-schedule-item li {
    font-size: 8.5pt;
    line-height: 1.3;
  }

  .print-day-body > p {
    margin: 0 0 6px;
    font-weight: 700;
  }

  .dynamic-print-days {
    gap: 7px;
  }

  .dynamic-print-day {
    padding-top: 7px;
  }

  .dynamic-print-schedule-item {
    padding: 4px 0;
  }

  .print-schedule-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    border-top: 1px solid #ddd;
    padding: 6px 0;
  }

  .print-schedule-item:first-of-type {
    border-top: 0;
  }

  .print-schedule-item time {
    font-size: 8pt;
    font-weight: 900;
  }

  .print-schedule-item strong,
  .print-schedule-item span {
    display: block;
  }

  .print-schedule-item strong {
    font-size: 10pt;
    line-height: 1.2;
  }

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

  .print-schedule-item .print-check-in {
    font-weight: 700;
  }

  .print-schedule-item ul {
    margin: 3px 0 0;
    padding-left: 15px;
  }
}

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

  .app-topbar,
  .guest-landing,
  .admin-command-layout,
  .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,
  .intake-guest-panel,
  .admin-studio-hero,
  .admin-studio-directory-grid,
  .admin-studio-grid,
  .studio-workspace-nav,
  .studio-publish-options,
  .studio-module-grid {
    grid-template-columns: 1fr;
  }

  .app-topbar.guest-clean-topbar {
    grid-template-columns: 1fr;
  }

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

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

  .studio-action-grid,
  .studio-legacy-summary,
  .studio-assignment-row {
    grid-template-columns: 1fr;
  }

  .studio-day-list article,
  .studio-event-list article,
  .studio-travel-list article {
    flex-direction: column;
  }

  .studio-preview-metrics,
  .studio-preview-columns,
  .studio-readiness-summary {
    grid-template-columns: 1fr;
  }

  .studio-readiness-list article {
    grid-template-columns: 1fr;
  }

  .admin-trip-manager {
    position: static;
  }

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

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

  .guest-landing {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 38px 34px 52px;
  }

  .landing-brand {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
  }

  .landing-logo {
    width: 96px;
    height: 96px;
  }

  .landing-brand strong {
    font-size: 2.65rem;
  }

  .landing-brand small {
    font-size: 1.25rem;
  }

  .landing-copy {
    grid-column: 1;
    grid-row: auto;
    padding-top: 8px;
  }

  .access-panel {
    grid-column: 1;
    grid-row: auto;
    max-width: 820px;
  }

  .landing-admin-button {
    position: relative;
    bottom: auto;
    right: auto;
    justify-self: end;
  }

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

  .flight-summary-panel,
  .flight-summary-row,
  .lodging-confirmation-panel {
    grid-template-columns: 1fr;
  }

  .flight-summary-check-in-links > div {
    justify-content: flex-start;
  }

  .lodging-confirmation-list {
    grid-template-columns: 1fr;
  }

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

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

@media (min-width: 721px) and (max-width: 1080px) {
  .guest-landing {
    grid-template-columns: minmax(390px, 0.95fr) minmax(255px, 300px);
    column-gap: 26px;
    row-gap: 22px;
    padding: 32px;
  }

  .landing-brand {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  .landing-logo {
    width: 82px;
    height: 82px;
  }

  .landing-brand strong {
    font-size: 2.1rem;
  }

  .landing-brand small {
    font-size: 1rem;
  }

  .landing-copy {
    grid-column: 1;
    grid-row: 2;
    max-width: 560px;
  }

  .landing-copy h1 {
    font-size: 3.65rem;
  }

  .landing-copy p:not(.eyebrow) {
    max-width: 430px;
    font-size: 1rem;
  }

  .landing-signals {
    max-width: 520px;
  }

  .access-panel {
    grid-column: 2;
    grid-row: 1 / 3;
    max-width: 300px;
    padding: 18px;
  }
}

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

  .landing-copy h1 {
    font-size: 3.8rem;
  }

  .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: 100vh;
    align-items: stretch;
    gap: 24px;
    padding: 26px 20px 38px;
  }

  .guest-landing::before {
    background:
      radial-gradient(circle at 18% 24%, rgba(116, 159, 178, 0.22), transparent 36%),
      radial-gradient(circle at 12% 72%, rgba(231, 156, 88, 0.24), transparent 36%),
      linear-gradient(180deg, rgba(8, 26, 43, 0.12) 0%, rgba(8, 26, 43, 0.48) 62%, rgba(8, 26, 43, 0.74) 100%);
  }

  .landing-image {
    object-position: var(--landing-object-position, center top);
    height: 122%;
    transform: translateY(-20svh);
  }

  .landing-copy p:not(.eyebrow) {
    font-size: 1.08rem;
  }

  .landing-copy .eyebrow {
    font-size: 0.95rem;
  }

  .landing-rule {
    width: 100%;
  }

  .landing-signals {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .landing-signals span {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 58px;
    justify-items: start;
    border-top: 1px solid rgba(233, 189, 130, 0.34);
    border-left: 0;
    padding: 14px 0;
    text-align: left;
  }

  .landing-signals span:first-child {
    border-top: 0;
  }

  .landing-signals svg {
    width: 34px;
    height: 34px;
  }

  .access-panel {
    gap: 18px;
    padding: 30px 22px 32px;
  }

  .access-panel h2 {
    font-size: 2.45rem;
  }

  .access-intro {
    font-size: 1.08rem;
  }

  .access-input-wrap {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 62px;
  }

  .access-input-wrap input {
    min-height: 60px;
    font-size: 1rem;
  }

  .access-submit {
    min-height: 64px;
    font-size: 1rem;
  }

  .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;
  }

  .welcome-cinematic {
    min-height: 320px;
    aspect-ratio: 1 / 1;
  }

  .cinematic-scene {
    padding: 20px;
  }

  .cinematic-scene h2 {
    font-size: 2.18rem;
  }

  .cinematic-accent {
    font-size: 1rem;
  }

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

  .welcome-cinematic-card .guest-route-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .welcome-cinematic-card .guest-route-strip span {
    padding: 8px 4px;
    font-size: 0.68rem;
  }

  .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,
  .intake-field-grid .wide {
    grid-column: auto;
  }

  .intake-field-grid,
  .flight-intake-heading,
  .intake-actions,
  .flight-record-heading,
  .flight-record-actions,
  .flight-record-grid,
  .admin-report-heading,
  .admin-report-row,
  .admin-command-header,
  .admin-card-heading,
  .admin-command-metrics,
  .admin-form-pair,
  .admin-form-trio,
  .admin-record-row,
  .communication-tracker-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-row-actions {
    justify-content: start;
  }

  .print-panel,
  .home-screen-panel {
    grid-template-columns: 1fr;
  }

  .home-screen-panel {
    justify-items: start;
  }

  .home-screen-guide-heading {
    grid-template-columns: 58px minmax(0, 1fr);
  }

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

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

  .shell:has(.guest-landing) {
    padding: 0;
  }

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

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

  .landing-brand {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
  }

  .landing-logo {
    width: 76px;
    height: 76px;
  }

  .landing-brand strong {
    font-size: 2rem;
  }

  .landing-brand small {
    margin-top: 5px;
    font-size: 1rem;
  }

  .landing-copy h1 {
    font-size: 3.05rem;
  }

  .brand .brand-photo-wrap {
    width: 40px;
    height: 40px;
  }

  .brand-plus-mark {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

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

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

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

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

@media (max-width: 720px) {
  .shell:not(:has(.guest-landing)) {
    padding: 8px 8px 18px;
  }

  .app-topbar.guest-clean-topbar {
    gap: 8px;
    margin-bottom: 8px;
  }

  .guest-clean-topbar .brand {
    min-height: 42px;
  }

  .guest-clean-topbar .brand small {
    display: none;
  }

  .view-tabs.guest-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
    min-height: 0;
    border: 0;
    background: transparent;
  }

  .view-tabs.guest-tabs button,
  .view-tabs.guest-tabs button:last-child {
    min-width: 0;
    min-height: 34px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 0 6px;
    font-size: 0.78rem;
    box-shadow: none;
  }

  .birthday-portal {
    padding: 8px 0 28px;
  }

  .portal-hero {
    min-height: auto;
  }

  .portal-hero-grid {
    gap: 16px;
  }

  .portal-hero h1 {
    font-size: 2.65rem;
    line-height: 0.98;
  }

  .portal-personal-welcome {
    margin-bottom: 6px;
    font-size: 1rem;
  }

  .portal-brandline {
    margin-top: 8px;
    font-size: 1.02rem;
  }

  .portal-hero .hero-copy {
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .guest-pill-row {
    gap: 6px;
    margin-top: 6px;
  }

  .guest-pill-row span {
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .section-intro {
    gap: 10px;
    margin: 14px 0 10px;
    padding-bottom: 10px;
  }

  .section-intro h1 {
    font-size: 2rem;
    line-height: 1.02;
  }

  .section-intro p {
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .guest-panel,
  .day-card,
  .panel {
    padding: 12px;
  }

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

  .timeline,
  .schedule-list {
    gap: 8px;
  }

  .day-card {
    gap: 10px;
  }

  .day-kicker {
    gap: 4px;
    padding-bottom: 8px;
  }

  .day-body p {
    line-height: 1.38;
  }

  .media-strip {
    gap: 6px;
    margin: 10px 0;
  }

  .media-frame {
    min-height: 128px;
  }

  .schedule-list {
    margin: 10px 0 2px;
  }

  .schedule-item {
    gap: 8px;
    padding: 10px;
  }

  .schedule-time {
    padding-bottom: 7px;
  }

  .extras-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .extra-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
  }

  .extra-card-icon {
    width: 48px;
  }

  .extra-card-icon svg {
    width: 24px;
    height: 24px;
  }

  .extra-card h2 {
    font-size: 1.35rem;
  }

  .extra-card p:not(.eyebrow) {
    line-height: 1.4;
  }

  .extra-card-action {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

@media (max-width: 900px) {
  .flow-header,
  .flow-overview-card {
    grid-template-columns: 1fr;
  }

  .flow-summary-grid,
  .flow-option-grid,
  .flow-narrative-grid {
    grid-template-columns: 1fr;
  }

  .flow-video-card {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .shell:not(:has(.guest-landing)) {
    padding-bottom: 92px;
  }

  .app-topbar.guest-clean-topbar {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 58px;
    margin-bottom: 10px;
    padding: 8px 0;
    background: rgba(243, 245, 242, 0.96);
  }

  .view-tabs.guest-tabs {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 90;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
  }

  .view-tabs.guest-tabs button,
  .view-tabs.guest-tabs button:last-child {
    min-height: 42px;
    border: 1px solid rgba(23, 33, 31, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    padding: 0 4px;
    font-size: 0.76rem;
    box-shadow: 0 12px 28px rgba(17, 31, 28, 0.16);
    backdrop-filter: blur(16px);
  }

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

  .mobile-flow {
    gap: 12px;
    padding: 8px 0 18px;
  }

  .welcome-flow {
    max-width: none;
  }

  .welcome-cinematic {
    min-height: 230px;
    aspect-ratio: 16 / 10;
  }

  .flow-welcome-card {
    gap: 14px;
    padding: 16px 14px;
  }

  .flow-welcome-card h1 {
    font-size: 2rem;
    line-height: 1.02;
  }

  .flow-welcome-card .portal-brandline {
    font-size: 0.94rem;
    line-height: 1.28;
  }

  .compact-letter-copy {
    padding: 0;
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .welcome-letter-heading {
    gap: 4px;
  }

  .welcome-letter-heading > p:last-child {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .welcome-letter-note {
    padding-top: 14px;
  }

  .welcome-letter-kicker {
    margin-bottom: 8px;
    font-size: 0.68rem;
  }

  .guest-letter-signature {
    font-size: 1.12rem;
  }

  .flow-header {
    gap: 8px;
    padding-bottom: 10px;
  }

  .flow-header h1 {
    font-size: 2.1rem;
    line-height: 1;
  }

  .flow-header p:last-child {
    font-size: 0.92rem;
    line-height: 1.38;
  }

  .flow-subnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .flow-subnav::-webkit-scrollbar,
  .day-picker::-webkit-scrollbar {
    display: none;
  }

  .flow-subnav button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .flow-content {
    gap: 12px;
  }

  .flow-overview-card h2 {
    font-size: 2rem;
  }

  .flow-summary-grid {
    gap: 8px;
  }

  .flow-option-grid,
  .flow-narrative-grid {
    gap: 8px;
  }

  .flow-shortcut-card {
    min-height: 86px;
    padding: 12px;
  }

  .day-picker {
    gap: 6px;
    margin-right: -8px;
    margin-left: -8px;
    padding: 6px 8px 6px;
  }

  .daily-activity-flow .day-picker {
    top: calc(110px + env(safe-area-inset-top, 0px));
  }

  .day-picker button {
    min-width: 86px;
    min-height: 50px;
    padding: 7px 10px;
  }

  .selected-day-timeline .day-card {
    gap: 9px;
  }

  .selected-day-timeline .day-body h2 {
    font-size: 1.35rem;
  }

  .selected-day-timeline .day-body > p:not(.eyebrow) {
    font-size: 0.92rem;
  }

  .selected-day-timeline .media-strip {
    grid-template-columns: 1fr;
  }

  .selected-day-timeline .media-frame img {
    max-height: 210px;
  }

  .flight-summary-panel,
  .lodging-confirmation-panel,
  .flow-stay-links,
  .compact-prep-panel,
  .compact-weather-panel {
    margin-bottom: 0;
  }

  .single-extra-grid {
    grid-template-columns: 1fr;
  }

  .portal-guest-cards {
    gap: 8px;
  }

  .portal-guest-card {
    min-height: 0;
    padding: 12px;
  }
}

@media (max-width: 720px) {
  .app-topbar.guest-clean-topbar {
    display: block;
    min-height: 58px;
    padding: 8px 0;
  }

  .guest-clean-topbar .brand {
    position: relative;
    z-index: 2;
    display: inline-grid;
    width: max-content;
    max-width: 100%;
  }

  .view-tabs.guest-tabs {
    position: fixed !important;
    top: auto !important;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    z-index: 90;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    width: auto !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    transform: none;
  }

  .view-tabs.guest-tabs button,
  .view-tabs.guest-tabs button:last-child {
    min-width: 0;
    min-height: 42px;
    border: 1px solid rgba(23, 33, 31, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    padding: 0 4px;
    box-shadow: 0 12px 28px rgba(17, 31, 28, 0.16);
  }

  .guest-landing {
    min-height: 100svh;
    align-content: start;
    gap: 12px;
    overflow: auto;
    padding: 16px 18px 24px;
  }

  .landing-brand {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .landing-logo {
    width: 64px;
    height: 64px;
  }

  .landing-brand strong {
    font-size: 1.86rem;
  }

  .landing-brand small {
    margin-top: 3px;
    font-size: 0.9rem;
  }

  .landing-copy {
    gap: 8px;
    padding-top: 0;
  }

  .landing-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: 0.98;
  }

  .landing-copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.34;
  }

  .landing-copy p strong {
    margin-bottom: 3px;
  }

  .landing-copy .eyebrow {
    margin-bottom: 2px;
    font-size: 0.82rem;
  }

  .landing-copy .eyebrow::after,
  .access-panel .eyebrow::after {
    margin-top: 9px;
  }

  .landing-rule {
    height: 18px;
    margin: 0;
  }

  .landing-signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 2px;
  }

  .landing-signals span {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 54px;
    justify-items: center;
    border-top: 1px solid rgba(233, 189, 130, 0.28);
    border-left: 0;
    padding: 7px 3px;
    font-size: 0.62rem;
    line-height: 1.25;
    text-align: center;
  }

  .landing-signals svg {
    width: 24px;
    height: 24px;
  }

  .access-panel {
    gap: 9px;
    padding: 17px 16px 19px;
  }

  .access-panel h2 {
    font-size: 1.88rem;
    line-height: 1.03;
  }

  .access-intro {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .access-fields {
    gap: 8px;
  }

  .access-field {
    gap: 4px;
  }

  .access-input-wrap {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 52px;
  }

  .access-input-wrap input {
    min-height: 50px;
    font-size: 0.95rem;
  }

  .access-submit {
    min-height: 52px;
    font-size: 0.9rem;
  }
}

@media (display-mode: standalone) and (max-width: 720px) {
  .app-topbar.guest-clean-topbar {
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
  }

  .view-tabs.guest-tabs {
    top: auto !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 720px) {
  .shell:not(:has(.guest-landing)) {
    padding-bottom: 24px;
  }

  .app-topbar.guest-clean-topbar {
    position: sticky;
    top: 0;
    z-index: 90;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto;
    gap: 9px;
    min-height: 0;
    padding: 8px 0 10px;
    background: rgba(243, 245, 242, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .guest-clean-topbar .brand {
    grid-row: 1;
    justify-self: start;
    width: max-content;
    max-width: 100%;
  }

  .view-tabs.guest-tabs {
    position: static !important;
    inset: auto !important;
    grid-row: 2;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100% !important;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .view-tabs.guest-tabs button,
  .view-tabs.guest-tabs button:last-child {
    min-width: 0;
    min-height: 38px;
    border: 1px solid rgba(23, 33, 31, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    padding: 0 4px;
    font-size: 0.75rem;
    box-shadow: none;
  }
}

@media (display-mode: standalone) and (max-width: 720px) {
  .app-topbar.guest-clean-topbar {
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
  }

  .view-tabs.guest-tabs {
    position: static !important;
    inset: auto !important;
  }
}

.brand-operator-mobile {
  display: none;
}

@media (min-width: 721px) {
  .guest-landing {
    padding-top: 26px;
    padding-bottom: 30px;
  }

  .landing-brand {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .landing-logo {
    width: 64px;
    height: 64px;
  }

  .landing-brand strong {
    font-size: 2rem;
    line-height: 0.96;
  }

  .landing-brand small {
    margin-top: 4px;
    color: #e9bd82;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .landing-operator-desktop {
    display: none;
  }

  .landing-operator-mobile {
    display: inline;
  }

  .landing-copy {
    padding-top: 4px;
  }
}

/* Platform Health & Cost: Platform Admin-only, manual-first operational data. */
.platform-health-shell { display: grid; gap: 18px; margin: 0 0 20px; }
.platform-health-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, #eff7f5, #fffdf8); }
.platform-health-heading .eyebrow { margin: 0 0 5px; }
.platform-health-heading h3 { margin: 0; color: var(--ink); font: 700 clamp(1.65rem, 4vw, 2.25rem)/1.05 Georgia, "Times New Roman", serif; }
.platform-health-heading p:not(.eyebrow) { max-width: 720px; margin: 8px 0 0; color: var(--muted); line-height: 1.45; }
.platform-health-periods { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.platform-health-periods .active { color: #fff; border-color: var(--forest); background: var(--forest); }
.platform-health-feedback { margin: 0; padding: 11px 13px; border-left: 3px solid var(--green); border-radius: 6px; background: #edf8f2; color: #176b54; font-weight: 700; }
.platform-health-feedback.error { border-color: #b53c32; background: #fff0ed; color: #953228; }
.platform-health-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.platform-health-summary-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.platform-health-summary-card > span, .platform-health-card-heading > span { color: var(--muted); font-size: .73rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.platform-health-summary-card > strong { display: block; margin-top: 8px; color: var(--ink); font: 700 1.45rem/1.08 Georgia, "Times New Roman", serif; }
.platform-health-summary-card > p { min-height: 39px; margin: 8px 0; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.platform-health-summary-card small { display: block; color: #6b756f; font-size: .75rem; line-height: 1.35; }
.platform-health-summary-card.status-green { border-color: #9ecfb9; background: #f3fbf6; }
.platform-health-summary-card.status-yellow { border-color: #e3c279; background: #fffaf0; }
.platform-health-summary-card.status-red { border-color: #e5aaa3; background: #fff4f1; }
.platform-health-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.platform-health-card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.platform-health-card-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.platform-health-card-heading .eyebrow { margin: 0 0 4px; }
.platform-health-card-heading h4 { margin: 0; color: var(--ink); font: 700 1.22rem/1.1 Georgia, "Times New Roman", serif; }
.platform-health-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.platform-health-metric-grid > div { min-width: 0; padding: 10px; border: 1px solid #e6dfd1; border-radius: 8px; background: #fbfcfa; }
.platform-health-metric-grid span, .platform-health-metric-grid small { display: block; color: var(--muted); font-size: .7rem; line-height: 1.3; }
.platform-health-metric-grid strong { display: block; overflow: hidden; margin: 4px 0; color: var(--ink); font-size: 1.05rem; text-overflow: ellipsis; white-space: nowrap; }
.platform-unit-costs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.platform-unit-costs span { padding: 7px 9px; border-radius: 999px; background: #edf4f1; color: #455b53; font-size: .76rem; }
.platform-unit-costs strong { color: var(--ink); }
.platform-recommendation-list { display: grid; gap: 9px; margin-top: 13px; }
.platform-recommendation { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid #e6dfd1; border-left: 3px solid var(--gold); border-radius: 8px; background: #fffcf6; }
.platform-recommendation.priority-critical { border-left-color: #b53c32; background: #fff5f2; }
.platform-recommendation.priority-high { border-left-color: #c8742a; }
.platform-recommendation > div:first-child { min-width: 0; }
.platform-recommendation span, .platform-recommendation small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.platform-recommendation strong { display: block; margin: 3px 0; color: var(--ink); font-size: .94rem; }
.platform-recommendation p { margin: 0 0 5px; color: #485752; font-size: .82rem; line-height: 1.35; }
.platform-recommendation-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 5px; max-width: 180px; }
.platform-recommendation-actions small { width: 100%; text-align: right; text-transform: capitalize; }
.platform-recommendation-actions button { font-size: .68rem; }
.platform-health-note, .platform-health-empty { margin: 12px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.platform-health-services-card { padding: 17px; }
.platform-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
.platform-service-card { min-width: 0; padding: 11px; border: 1px solid #e5dfd3; border-left: 3px solid #a8aaa6; border-radius: 8px; background: #fff; }
.platform-service-card.status-green { border-left-color: #2f9c76; }
.platform-service-card.status-yellow { border-left-color: #d59a31; background: #fffdf7; }
.platform-service-card.status-red { border-left-color: #bd4e42; background: #fff8f6; }
.platform-service-card > div { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.platform-service-card strong { color: var(--ink); font-size: .88rem; }
.platform-service-card span, .platform-service-card small { color: var(--muted); font-size: .72rem; line-height: 1.3; }
.platform-service-card p { margin: 6px 0; color: #4d5c56; font-size: .79rem; line-height: 1.35; }
.platform-health-form { display: grid; gap: 12px; }
.platform-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.platform-health-form label { display: grid; gap: 5px; margin: 0; color: var(--muted); font-size: .76rem; font-weight: 800; }
.platform-health-form input, .platform-health-form select, .platform-health-form textarea { width: 100%; min-height: 40px; border: 1px solid var(--line-strong); border-radius: 7px; padding: 8px 9px; color: var(--ink); background: #fff; font: inherit; }
.platform-health-form textarea { min-height: 76px; resize: vertical; }
.platform-health-form .primary-action { justify-self: start; }
@media (max-width: 860px) {
  .platform-health-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-health-detail-grid { grid-template-columns: 1fr; }
  .platform-health-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .platform-health-heading { display: grid; padding: 14px; }
  .platform-health-periods { justify-content: flex-start; }
  .platform-health-summary-grid, .platform-service-grid, .platform-form-grid { grid-template-columns: 1fr; }
  .platform-health-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-recommendation { display: grid; }
  .platform-recommendation-actions { max-width: none; justify-content: flex-start; }
  .platform-recommendation-actions small { text-align: left; }
  .platform-health-form .primary-action { width: 100%; }
}

/* Guest Games keeps the established EXTRA header and secondary navigation.
   These styles only shape the content shown inside its fourth Games option. */
.guest-games-lobby,
.guest-games-play,
.guest-games-result {
  display: grid;
  gap: clamp(12px, 2vw, 20px);
}

.guest-games-hero,
.guest-games-question,
.guest-games-result-hero {
  border: 1px solid rgba(130, 84, 31, .18);
  background: linear-gradient(135deg, #fffdf9 0%, #f5e9d7 100%);
  box-shadow: 0 14px 30px rgba(72, 43, 12, .08);
}

.guest-games-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: clamp(18px, 4vw, 28px);
}

.guest-games-hero h2,
.guest-games-question h2,
.guest-games-result-hero h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
}

.guest-games-hero p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.guest-games-hero-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(132, 80, 26, .3);
  border-radius: 50%;
  background: #153f37;
  box-shadow: inset 0 0 0 5px #f7ecdc;
  color: #f3c975;
  font: 700 1rem/1 Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
}

.guest-games-card-list,
.guest-games-admin-grid {
  display: grid;
  gap: 14px;
}

.guest-game-card,
.guest-games-admin-card,
.trip-admin-card {
  border: 1px solid rgba(94, 61, 26, .18);
  border-radius: 18px;
  background: #fffdf9;
  padding: 18px;
}

.guest-game-card {
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.guest-game-card--available,
.guest-game-card--in_progress {
  border-color: rgba(158, 100, 29, .35);
}

.guest-game-card--completed {
  background: linear-gradient(135deg, #fffdf9, #f5f0e5);
}

.guest-game-card-main h3 {
  margin: 5px 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
}

.guest-game-card-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.guest-game-card-heading,
.guest-game-card-footer,
.guest-games-play-topline,
.guest-games-question-head,
.guest-games-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.guest-game-status-badge {
  display: inline-flex;
  margin: 0;
  border-radius: 999px;
  background: #e6efe7;
  color: #245244;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 5px 8px;
  text-transform: uppercase;
}

.guest-game-card--completed .guest-game-status-badge { background: #efe7d7; color: #76511d; }
.guest-game-card--in_progress .guest-game-status-badge { background: #f7e7c8; color: #885310; }

.guest-game-score {
  color: #80501f;
  font-size: 1.25rem;
  line-height: 1;
}

.guest-game-score small,
.guest-games-question-head strong small {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.guest-game-state-copy {
  margin-top: 10px !important;
  color: #4b6a46 !important;
  font-size: .88rem;
  font-weight: 650;
}

.guest-game-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.guest-game-facts li {
  border: 1px solid #e7dccb;
  border-radius: 999px;
  color: #6b6258;
  font-size: .76rem;
  padding: 5px 8px;
}

.guest-game-card-footer {
  border-top: 1px solid #eee4d5;
  color: #6b6258;
  font-size: .78rem;
  padding-top: 13px;
}

.guest-game-open-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding-inline: 15px;
  white-space: nowrap;
}

.guest-games-play-topline {
  color: #6b6258;
  font-size: .8rem;
  font-weight: 650;
}

.guest-games-question {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 30px);
}

.guest-games-question-head > strong {
  display: grid;
  justify-items: end;
  color: #80501f;
  font-size: 1.55rem;
  line-height: .95;
}

.guest-games-question-head em {
  color: #80501f;
  font-size: .7rem;
  font-style: normal;
  font-weight: 700;
}

.guest-games-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7dccb;
}

.guest-games-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a75b18, #d0a14f);
  transition: width .2s ease;
}

.guest-games-prompt {
  margin: 0;
  color: #273d35;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 3.8vw, 1.8rem);
  line-height: 1.2;
}

.guest-games-answer-form fieldset {
  display: grid;
  gap: 10px;
  border: 0;
  margin: 0;
  padding: 0;
}

.guest-games-answer-form legend {
  color: #6b6258;
  font-size: .8rem;
  font-weight: 750;
  margin-bottom: 4px;
}

.guest-games-answer-choice {
  display: grid;
  grid-template-columns: auto 30px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  border: 1px solid #ded2bf;
  border-radius: 14px;
  background: #fffdf9;
  color: #263c34;
  cursor: pointer;
  line-height: 1.32;
  padding: 12px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.guest-games-answer-choice input {
  width: 17px;
  height: 17px;
  accent-color: #8c5419;
}

.guest-games-choice-letter {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1e5d3;
  color: #79501f;
  font-size: .78rem;
  font-weight: 800;
}

.guest-games-answer-choice:focus-within,
.guest-games-answer-choice:hover {
  border-color: #b67b34;
  box-shadow: 0 7px 17px rgba(91, 53, 13, .08);
}

@supports selector(label:has(input:checked)) {
  .guest-games-answer-choice:has(input:checked) {
    border-color: #8c5419;
    background: #fff7e7;
    box-shadow: 0 7px 17px rgba(91, 53, 13, .1);
  }

  .guest-games-answer-choice:has(input:checked) .guest-games-choice-letter {
    background: #8c5419;
    color: #fff;
  }
}

.guest-games-submit { width: 100%; }

.guest-games-status {
  color: #48652d;
  font-weight: 650;
  margin: 0;
}

.guest-games-back {
  width: fit-content;
  border: 0;
  background: transparent;
  color: #80501f;
  font: inherit;
  font-weight: 700;
  padding: 0;
}

.guest-games-result-hero {
  padding: clamp(22px, 5vw, 38px);
  text-align: center;
}

.guest-games-result-hero > strong {
  display: block;
  color: #80501f;
  font: 700 clamp(3.1rem, 12vw, 5.3rem)/.9 Georgia, "Times New Roman", serif;
  margin: 12px 0;
}

.guest-games-result-hero small {
  color: #80501f;
  font: 700 .85rem/1 system-ui, sans-serif;
  margin-left: 6px;
}

.guest-games-result-hero p { color: var(--muted); margin: 0; }
.guest-games-rank { margin-top: 12px !important; }
.guest-games-rank strong { color: #80501f; font-size: 1.2rem; }

.guest-games-review {
  display: grid;
  gap: 10px;
}

.guest-games-review h3 { margin: 4px 0 0; }
.guest-games-review .correct { border-left: 4px solid #5b8439; }
.guest-games-review .incorrect { border-left: 4px solid #b2762a; }

.guest-games-operations header { margin-bottom: 14px; }

.guest-games-admin-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.guest-games-admin-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.guest-games-admin-card.wide { grid-column: 1 / -1; }

.guest-games-admin-card label {
  display: grid;
  gap: 5px;
  color: #46392d;
  font-size: .9rem;
}

.guest-games-admin-card input,
.guest-games-admin-card select,
.guest-games-admin-card textarea,
.trip-admin-card input,
.trip-admin-card select,
.trip-admin-card textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #d9cdbb;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  padding: 8px;
}

.guest-games-admin-card textarea { min-height: 72px; resize: vertical; }

.guest-games-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.guest-games-admin-list {
  display: grid;
  gap: 8px;
}

.guest-games-admin-list p {
  display: grid;
  gap: 2px;
  border-bottom: 1px solid #eee4d5;
  margin: 0;
  padding-bottom: 8px;
}

.trip-admin-route-page {
  box-sizing: border-box;
  min-height: 100vh;
  padding: 28px 16px;
  background: #f6eee3;
}

.trip-admin-card {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 520px) {
  .guest-games-question-head,
  .guest-games-form-actions { align-items: flex-start; flex-direction: column; }
  .guest-games-question-head > strong { justify-items: start; }
  .guest-game-card-footer { align-items: flex-start; flex-direction: column; }
  .guest-game-open-button { width: 100%; }
  .guest-games-form-actions button { width: 100%; }
}

/* Welcome page refresh: the existing trip artwork leads, followed by a
   personal, task-focused card. These rules are deliberately scoped to the
   dynamic guest journey so shared login and navigation surfaces are unchanged. */
body.guest-mode #app.guest-shell .dynamic-welcome-flow {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  gap: 18px;
  width: min(100%, 860px);
  max-width: 860px;
  margin: 0 auto;
  padding-top: 14px;
}

body.guest-mode #app.guest-shell .welcome-trip-hero,
body.guest-mode #app.guest-shell .welcome-trip-hero.trip-welcome-showcase {
  width: 100%;
  margin: 0;
}

body.guest-mode #app.guest-shell .welcome-trip-hero .trip-welcome-art {
  border-radius: 18px;
}

body.guest-mode #app.guest-shell .welcome-trip-hero .trip-welcome-art img {
  width: 100%;
  height: auto;
  max-height: min(58vh, 590px);
  object-fit: contain;
}

.welcome-personal-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 14px 18px;
  align-items: center;
  padding: clamp(18px, 4vw, 28px) !important;
  border-color: rgba(218, 176, 94, 0.72) !important;
  background: linear-gradient(135deg, #fffdf8, #f6efe2) !important;
}

.welcome-personal-photo {
  display: grid;
  width: 98px;
  height: 98px;
  place-items: center;
  overflow: hidden;
  border: 3px solid #d9ad5b;
  border-radius: 50%;
  background: #153d36;
  color: #fffaf0;
  box-shadow: 0 10px 24px rgba(9, 31, 28, 0.16);
}

.welcome-personal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-personal-photo strong {
  font-family: var(--serif);
  font-size: 1.8rem;
}

.welcome-personal-copy {
  min-width: 0;
}

.welcome-personal-copy .eyebrow {
  margin-bottom: 5px;
}

.welcome-personal-copy h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 6.5vw, 3.6rem);
  line-height: 0.96;
}

.welcome-personal-copy > p:last-child {
  margin: 9px 0 0;
  color: #61706b;
  font-size: 0.98rem;
  line-height: 1.4;
}

.welcome-feature-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.welcome-feature-tile {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(25, 77, 67, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--green);
  text-align: left;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.welcome-feature-tile:hover,
.welcome-feature-tile:focus-visible,
.welcome-trip-summary:hover,
.welcome-trip-summary:focus-visible {
  border-color: #b8873d;
  background: #fff;
  outline: none;
  transform: translateY(-1px);
}

.welcome-feature-tile:active,
.welcome-trip-summary:active {
  transform: translateY(1px);
}

.welcome-feature-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #173e37;
  color: #efc16c;
  font-size: 0.9rem;
}

.welcome-feature-tile strong,
.welcome-feature-tile small {
  display: block;
}

.welcome-feature-tile strong {
  color: #123e36;
  font-size: 0.9rem;
  line-height: 1.15;
}

.welcome-feature-tile small {
  margin-top: 3px;
  color: #66736f;
  font-size: 0.72rem;
  line-height: 1.2;
}

.welcome-feature-tile > b {
  color: #b8873d;
  font-size: 1.1rem;
}

.welcome-trip-summary {
  display: grid;
  grid-template-columns: minmax(108px, 30%) minmax(0, 1fr);
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(218, 176, 94, 0.74);
  border-radius: 17px;
  background: #fffdf8;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 12px 28px rgba(8, 25, 36, 0.08);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.welcome-trip-summary > img,
.welcome-trip-summary-mark {
  width: 100%;
  height: 100%;
  min-height: 156px;
  object-fit: cover;
  background: #092a26;
}

.welcome-trip-summary-mark {
  display: grid;
  place-items: center;
  color: #e6be78;
  font-family: var(--serif);
  font-size: 2rem;
}

.welcome-trip-summary-copy {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
}

.welcome-trip-summary-copy .eyebrow {
  margin: 0;
}

.welcome-trip-summary-copy strong {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 4.5vw, 2.3rem);
  line-height: 1;
}

.welcome-trip-summary-copy small {
  color: #687570;
  font-size: 0.9rem;
}

.welcome-trip-summary-copy em {
  margin-top: 6px;
  color: #a9742b;
  font-size: 0.79rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.welcome-trip-summary-copy em b {
  margin-left: 7px;
  font-size: 1.15rem;
}

.welcome-steve-note {
  padding: clamp(20px, 4vw, 30px) !important;
}

.welcome-steve-note .guest-letter-copy {
  max-width: 70ch;
}

@media (max-width: 420px) {
  .welcome-personal-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 16px !important;
  }

  .welcome-personal-photo {
    width: 78px;
    height: 78px;
  }

  .welcome-personal-copy h1 {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .welcome-feature-grid {
    gap: 8px;
  }

  .welcome-feature-tile {
    min-height: 78px;
    padding: 10px;
  }

  .welcome-feature-tile small {
    font-size: 0.68rem;
  }

  .welcome-trip-summary-copy {
    padding: 14px;
  }
}

@media (min-width: 721px) {
  body.guest-mode #app.guest-shell .dynamic-welcome-flow {
    grid-template-columns: minmax(0, 860px);
    max-width: 860px;
  }

  .welcome-personal-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px 22px;
  }

  .welcome-personal-photo {
    width: 112px;
    height: 112px;
  }

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

  .welcome-feature-tile {
    grid-template-columns: 1fr;
    min-height: 122px;
    align-content: start;
  }

  .welcome-feature-tile > b {
    align-self: end;
  }

  .welcome-trip-summary {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

/* Guest second-level navigation: keep the primary oval tabs above, while
   Schedule, Hints, and Extra choices stay as one compact text row. */
body.guest-mode #app.guest-shell .guest-secondary-nav {
  display: grid !important;
  grid-template-columns: repeat(var(--aa-secondary-item-count, 1), minmax(0, 1fr)) !important;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 32px;
  margin: 0 auto 10px !important;
  padding: 0 0 4px !important;
  overflow: visible !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(16, 31, 43, 0.14) !important;
  border-radius: 0 !important;
  background: transparent !important;
  scrollbar-width: none;
  white-space: nowrap;
}

body.guest-mode #app.guest-shell .guest-secondary-nav::-webkit-scrollbar {
  display: none;
}

body.guest-mode #app.guest-shell .guest-secondary-nav button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 28px !important;
  padding: 3px 10px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--muted) !important;
  box-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1.1 !important;
  text-align: center;
  text-decoration: none;
  text-underline-offset: 5px;
  white-space: nowrap !important;
}

body.guest-mode #app.guest-shell .guest-secondary-nav button + button::before {
  display: inline-block;
  margin-right: 9px;
  color: var(--line-strong);
  content: "|";
  font-weight: 500;
}

body.guest-mode #app.guest-shell .guest-secondary-nav button.active {
  color: var(--green) !important;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

@media (max-width: 720px) {
  body.guest-mode #app.guest-shell .guest-secondary-nav {
    min-height: 30px;
    margin-bottom: 8px !important;
    padding: 0 2px 3px !important;
    overflow: visible !important;
  }

  body.guest-mode #app.guest-shell .guest-secondary-nav button {
    width: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 27px !important;
    padding: 3px 2px !important;
    font-size: clamp(0.6rem, 2.35vw, 0.71rem) !important;
    white-space: nowrap !important;
  }

  body.guest-mode #app.guest-shell .guest-secondary-nav button + button::before {
    margin-right: 5px;
  }
}

/* The portrait is only overlaid in the compact mobile header. On desktop the
   topbar grid reserves a separate right-hand column for it. */
@media (max-width: 720px) {
  body.guest-mode #app.guest-shell .guest-clean-topbar .topbar-profile-trigger {
    position: absolute !important;
    z-index: 300 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

/* This needs the mobile-flow qualifier to outrank earlier two-column rules.
   It keeps every second-level option visible in one deliberate text row. */
body.guest-mode #app.guest-shell .mobile-flow .guest-secondary-nav {
  display: flex !important;
  grid-template-columns: none !important;
  grid-auto-flow: initial;
  justify-content: center;
  width: fit-content !important;
  max-width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.guest-mode #app.guest-shell .mobile-flow .guest-secondary-nav button {
  flex: 0 0 auto;
  width: auto !important;
  max-width: none !important;
  padding-right: 6px !important;
  padding-left: 6px !important;
}

body.guest-mode #app.guest-shell .mobile-flow .guest-secondary-nav button + button::before {
  margin-right: 8px;
}

@media (max-width: 720px) {
  .shell:has(.guest-landing) {
    padding: 0;
  }

  .guest-landing {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(390px, 58svh) auto;
    gap: 10px;
    align-content: start;
    min-height: 100svh;
    overflow: auto;
    padding: 18px 18px calc(22px + env(safe-area-inset-bottom, 0px));
    background: #07131a;
  }

  .guest-landing::before {
    background:
      linear-gradient(180deg, rgba(3, 12, 19, 0.58) 0%, rgba(3, 12, 19, 0.26) 34%, rgba(3, 12, 19, 0.1) 58%, rgba(3, 12, 19, 0.72) 100%),
      radial-gradient(circle at 18% 20%, rgba(233, 189, 130, 0.16), rgba(233, 189, 130, 0) 38%);
  }

  .landing-image {
    object-position: var(--landing-object-position, 62% top);
    filter: saturate(1.05) contrast(1.02) brightness(1.03);
    transform: none;
  }

  .landing-brand {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-self: start;
    padding-top: env(safe-area-inset-top, 0px);
  }

  .landing-logo {
    width: 58px;
    height: 58px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  }

  .landing-brand strong {
    font-size: 2rem;
    line-height: 0.96;
  }

  .landing-brand small {
    margin-top: 6px;
    color: #e9bd82;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .landing-copy {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    max-width: 340px;
    gap: 10px;
    padding-top: 28px;
  }

  .landing-copy .eyebrow {
    margin-bottom: 0;
    color: #e9bd82;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
  }

  .landing-copy .eyebrow::after {
    width: 52px;
    margin-top: 11px;
  }

  .landing-copy h1 {
    max-width: 330px;
    font-size: clamp(2.55rem, 12vw, 3.28rem);
    line-height: 0.98;
  }

  .landing-rule {
    display: none;
  }

  .landing-copy p:not(.eyebrow) {
    max-width: 286px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.43;
  }

  .landing-copy p strong {
    margin-bottom: 4px;
    color: #e9bd82;
  }

  .landing-signals {
    display: none;
  }

  .access-panel {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    width: min(100%, 356px);
    gap: 8px;
    border-color: rgba(233, 189, 130, 0.3);
    border-radius: 8px;
    padding: 15px;
    background: rgba(250, 246, 239, 0.88);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(18px);
  }

  .access-panel .eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }

  .access-panel .eyebrow::after {
    width: 42px;
    margin-top: 8px;
  }

  .access-panel h2 {
    font-size: 1.52rem;
    line-height: 1.06;
  }

  .access-intro {
    font-size: 0.82rem;
    line-height: 1.34;
  }

  .access-fields {
    gap: 7px;
  }

  .access-field {
    gap: 3px;
  }

  .access-field > span {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .access-input-wrap {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 44px;
    padding: 0 11px;
    background: rgba(255, 255, 255, 0.58);
  }

  .access-input-wrap svg {
    width: 18px;
    height: 18px;
  }

  .access-input-wrap input {
    min-height: 42px;
    font-size: 0.88rem;
  }

  .access-submit {
    min-height: 46px;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }

  .landing-admin-button {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .shell:not(:has(.guest-landing)) {
    padding: 0 10px calc(92px + env(safe-area-inset-bottom, 0px));
    background: #f3f5f2;
  }

  .app-topbar.guest-clean-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: block !important;
    min-height: 0;
    margin: 0 -10px 12px;
    border-bottom: 1px solid rgba(233, 189, 130, 0.2);
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 12px;
    background:
      linear-gradient(135deg, rgba(5, 18, 27, 0.98), rgba(10, 28, 33, 0.95)),
      #07131a;
    box-shadow: 0 14px 34px rgba(7, 13, 12, 0.16);
    backdrop-filter: blur(18px);
  }

  .guest-clean-topbar .topbar-profile-trigger {
    position: absolute;
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 14px;
    z-index: 1;
    width: 42px;
    height: 42px;
  }

  .guest-clean-topbar .brand {
    display: inline-grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    width: max-content;
    max-width: 100%;
    color: #fff;
  }

  .guest-clean-topbar .brand-logo-mark {
    width: 48px;
    height: 48px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  }

  .guest-clean-topbar .brand strong {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.62rem;
    font-weight: 500;
    line-height: 0.98;
  }

  .guest-clean-topbar .brand small {
    display: block;
    margin-top: 5px;
    color: #e9bd82;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .brand-operator-desktop {
    display: none;
  }

  .brand-operator-mobile {
    display: inline;
  }

  .view-tabs.guest-tabs {
    position: fixed !important;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    z-index: 120;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    width: auto !important;
    margin: 0;
    border: 1px solid rgba(233, 189, 130, 0.24);
    border-radius: 999px;
    padding: 5px;
    background: rgba(5, 18, 27, 0.92);
    box-shadow: 0 18px 42px rgba(3, 12, 19, 0.3);
    backdrop-filter: blur(20px);
    transform: none;
  }

  .view-tabs.guest-tabs button,
  .view-tabs.guest-tabs button:last-child {
    min-width: 0;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    padding: 0 2px;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    box-shadow: none;
  }

  .view-tabs.guest-tabs button.active {
    background: rgba(233, 189, 130, 0.2);
    color: #fff;
  }

  .mobile-flow {
    padding-bottom: 28px;
  }

  .guest-profile-tabs {
    justify-content: flex-start;
    padding: 0 0 9px;
  }

  .guest-profile-tabs button {
    padding-inline: 6px;
    font-size: 0.64rem;
  }

  .guest-profile-tabs button + button::before {
    margin-right: 12px;
  }

  .guest-profile-trip-card {
    gap: 4px 10px;
    padding: 12px;
  }

  .daily-activity-flow .day-picker {
    top: calc(78px + env(safe-area-inset-top, 0px));
  }
}

@media (max-width: 380px) {
  .guest-landing {
    grid-template-rows: auto minmax(350px, 54svh) auto;
    padding-right: 14px;
    padding-left: 14px;
  }

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

  .landing-logo {
    width: 52px;
    height: 52px;
  }

  .landing-brand strong {
    font-size: 1.72rem;
  }

  .landing-copy h1 {
    font-size: 2.42rem;
  }

  .access-panel {
    padding: 13px;
  }

  .guest-clean-topbar .brand strong {
    font-size: 1.45rem;
  }

  .view-tabs.guest-tabs button,
  .view-tabs.guest-tabs button:last-child {
    font-size: 0.62rem;
  }
}

.landing-operator-mobile {
  display: none;
}

/* Desktop login intentionally uses the same compact brand treatment as mobile. */
@media (min-width: 721px) {
  .guest-landing {
    padding-top: 20px;
    padding-bottom: 26px;
  }

  .landing-brand {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
  }

  .landing-logo {
    width: 50px;
    height: 50px;
  }

  .landing-brand strong {
    font-size: 1.74rem;
    line-height: 0.96;
  }

  .landing-brand small {
    margin-top: 4px;
    color: #e9bd82;
    font-size: 0.62rem;
    letter-spacing: 0.11em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .landing-operator-desktop {
    display: none !important;
  }

  .landing-operator-mobile {
    display: inline !important;
  }

  .landing-copy {
    padding-top: 4px;
  }

  .landing-copy .eyebrow {
    display: none;
  }
}

@media (max-width: 720px) {
  .guest-landing {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    gap: 7px;
    overflow: hidden;
    padding: 13px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .guest-landing::before {
    background:
      linear-gradient(180deg, rgba(3, 12, 19, 0.5) 0%, rgba(3, 12, 19, 0.18) 32%, rgba(3, 12, 19, 0.04) 58%, rgba(3, 12, 19, 0.62) 100%),
      radial-gradient(circle at 18% 18%, rgba(233, 189, 130, 0.12), rgba(233, 189, 130, 0) 36%);
  }

  .landing-image {
    object-position: var(--landing-object-position, center top);
  }

  .landing-brand {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
    padding-top: max(2px, env(safe-area-inset-top, 0px));
  }

  .landing-logo {
    width: 50px;
    height: 50px;
  }

  .landing-brand strong {
    font-size: 1.74rem;
  }

  .landing-brand small {
    margin-top: 4px;
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }

  .landing-operator-desktop {
    display: none;
  }

  .landing-operator-mobile {
    display: inline;
  }

  .landing-copy {
    grid-row: 2;
    max-width: 286px;
    gap: 6px;
    padding-top: 8px;
  }

  .landing-copy .eyebrow {
    display: none;
  }

  .landing-copy h1 {
    max-width: 276px;
    font-size: clamp(1.96rem, 9.8vw, 2.52rem);
    line-height: 0.98;
  }

  .landing-copy p:not(.eyebrow) {
    max-width: 238px;
    font-size: 0.72rem;
    line-height: 1.34;
  }

  .landing-copy p strong {
    margin-bottom: 2px;
    font-size: 0.78rem;
  }

  .access-panel {
    grid-row: 4;
    align-self: end;
    margin-bottom: 34px;
    width: min(100%, 304px);
    gap: 5px;
    padding: 10px;
    background: rgba(250, 246, 239, 0.78);
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.2);
  }

  .access-panel .eyebrow {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .access-panel .eyebrow::after {
    width: 34px;
    margin-top: 5px;
  }

  .access-panel h2 {
    font-size: 1.16rem;
    line-height: 1.04;
  }

  .access-intro {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .access-fields {
    gap: 5px;
  }

  .access-field > span {
    font-size: 0.56rem;
  }

  .access-input-wrap {
    grid-template-columns: 25px minmax(0, 1fr);
    min-height: 35px;
    border-radius: 7px;
    padding: 0 9px;
  }

  .access-input-wrap svg {
    width: 15px;
    height: 15px;
  }

  .access-input-wrap input {
    min-height: 33px;
    font-size: 0.78rem;
  }

  .access-submit {
    min-height: 38px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .access-submit span {
    margin-left: 5px;
  }

  .landing-admin-button {
    display: none;
  }

  .schedule-flow .flow-header,
  .hints-flow .flow-header,
  .extras-flow .flow-header {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .schedule-flow .flow-header h1,
  .schedule-flow .flow-header p:last-child,
  .hints-flow .flow-header h1,
  .hints-flow .flow-header p:last-child,
  .extras-flow .flow-header h1,
  .extras-flow .flow-header p:last-child {
    display: none;
  }

  .schedule-flow .flow-header .eyebrow,
  .hints-flow .flow-header .eyebrow,
  .extras-flow .flow-header .eyebrow {
    margin-bottom: 0;
    font-size: 0.68rem;
  }

  .view-tabs.guest-tabs {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    left: 50% !important;
    width: min(380px, calc(100% - 24px)) !important;
    transform: translateX(-50%) !important;
  }
}

@media (display-mode: standalone) and (max-width: 720px) {
  .view-tabs.guest-tabs {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    left: 50% !important;
    width: min(380px, calc(100% - 24px)) !important;
    transform: translateX(-50%) !important;
  }
}

@media (max-width: 380px) {
  .guest-landing {
    padding-right: 12px;
    padding-left: 12px;
  }

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

  .landing-logo {
    width: 46px;
    height: 46px;
  }

  .landing-brand strong {
    font-size: 1.52rem;
  }

  .landing-brand small {
    font-size: 0.55rem;
  }

  .landing-copy h1 {
    font-size: 1.9rem;
  }

  .landing-copy p:not(.eyebrow) {
    font-size: 0.68rem;
  }

  .access-panel {
    width: min(100%, 292px);
    padding: 9px;
  }
}

@media (max-width: 720px) {
  .shell:has(.guest-clean-topbar):not(:has(.guest-landing)) {
    padding-top: calc(74px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .app-topbar.guest-clean-topbar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 130;
    margin: 0 !important;
    padding: calc(9px + env(safe-area-inset-top, 0px)) 14px 10px;
  }

  .view-tabs.guest-tabs {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    left: 50% !important;
    z-index: 140;
    width: min(356px, calc(100% - 20px)) !important;
    gap: 2px;
    padding: 4px;
    transform: translateX(-50%) !important;
  }

  .view-tabs.guest-tabs button,
  .view-tabs.guest-tabs button:last-child {
    min-height: 38px;
    padding: 0 1px;
    font-size: 0.59rem;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
  }

  .daily-activity-flow .day-picker {
    top: calc(74px + env(safe-area-inset-top, 0px));
  }
}

@media (display-mode: standalone) and (max-width: 720px) {
  .app-topbar.guest-clean-topbar {
    position: fixed !important;
    top: 0 !important;
  }

  .view-tabs.guest-tabs {
    position: fixed !important;
    top: auto !important;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .landing-image {
    height: 142%;
    object-fit: cover;
    object-position: var(--landing-object-position, center top);
    transform: translateY(-24svh);
  }

  .guest-landing::before {
    background:
      linear-gradient(180deg, rgba(3, 12, 19, 0.54) 0%, rgba(3, 12, 19, 0.2) 26%, rgba(3, 12, 19, 0.02) 54%, rgba(3, 12, 19, 0.62) 100%),
      radial-gradient(circle at 18% 18%, rgba(233, 189, 130, 0.12), rgba(233, 189, 130, 0) 36%);
  }

  .shell:has(.guest-clean-topbar):not(:has(.guest-landing)) {
    max-width: 100%;
    overflow-x: hidden;
    padding-top: calc(116px + env(safe-area-inset-top, 0px));
    padding-bottom: 22px;
  }

  .app-topbar.guest-clean-topbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto;
    gap: 8px;
  }

  .view-tabs.guest-tabs {
    position: static !important;
    inset: auto !important;
    grid-row: 2;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    gap: 4px;
    border-radius: 999px;
    padding: 4px;
    transform: none !important;
  }

  .view-tabs.guest-tabs button,
  .view-tabs.guest-tabs button:last-child {
    min-height: 34px;
    font-size: 0.58rem;
  }

  .mobile-flow,
  .welcome-flow,
  .flow-content,
  .flow-video-card,
  .flow-welcome-card,
  .welcome-cinematic-card,
  .welcome-cinematic,
  .guest-panel {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .mobile-flow {
    width: 100%;
  }

  .welcome-flow {
    margin-right: 0;
    margin-left: 0;
  }

  .flow-video-card,
  .flow-welcome-card {
    width: 100%;
  }

  .daily-activity-flow .day-picker {
    top: calc(116px + env(safe-area-inset-top, 0px));
  }
}

@media (display-mode: standalone) and (max-width: 720px) {
  .view-tabs.guest-tabs {
    position: static !important;
    inset: auto !important;
    bottom: auto !important;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .guest-clean-topbar .brand small {
    font-size: 0.48rem;
    letter-spacing: 0.08em;
    line-height: 1.15;
  }

  .view-tabs.guest-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    padding: 3px;
  }

  .view-tabs.guest-tabs button,
  .view-tabs.guest-tabs button:last-child {
    min-width: 0;
    min-height: 32px;
    padding: 0;
    font-size: 0.52rem;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-flow .flow-subnav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    overflow-x: hidden !important;
    padding: 0;
    scrollbar-width: auto;
  }

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

  .mobile-flow .flow-subnav button {
    min-width: 0;
    min-height: 34px;
    padding: 0 3px;
    font-size: 0.56rem;
    letter-spacing: 0;
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 720px) {
  .shell:has(.guest-clean-topbar):not(:has(.guest-landing)) {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-right: 8px;
    padding-left: 8px;
  }

  .shell:has(.guest-clean-topbar):not(:has(.guest-landing)) *,
  .shell:has(.guest-clean-topbar):not(:has(.guest-landing)) *::before,
  .shell:has(.guest-clean-topbar):not(:has(.guest-landing)) *::after {
    max-width: 100%;
    min-width: 0;
  }

  .app-topbar.guest-clean-topbar {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-right: 10px;
    padding-left: 10px;
  }

  .guest-clean-topbar .brand {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
  }

  .guest-clean-topbar .brand-logo-mark {
    width: 42px;
    height: 42px;
  }

  .guest-clean-topbar .brand strong {
    font-size: 1.38rem;
  }

  .view-tabs.guest-tabs {
    width: 100% !important;
    max-width: 100%;
  }

  .mobile-flow {
    gap: 10px;
    width: 100%;
    max-width: 100%;
    font-size: 0.88rem;
  }

  .flow-content,
  .flow-overview-card,
  .flow-summary-grid,
  .flow-option-grid,
  .flow-narrative-grid,
  .flight-summary-panel,
  .flight-summary-row,
  .flight-summary-check-in-links > div,
  .lodging-confirmation-card,
  .stay-link-grid,
  .portal-guest-cards,
  .extras-grid,
  .single-extra-grid,
  .weather-grid,
  .weather-temps,
  .home-screen-panel,
  .print-panel,
  .compact-prep-panel,
  .compact-weather-panel,
  .dress-rhythm-panel,
  .day-card,
  .schedule-item,
  .media-strip,
  .guest-route-strip {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
  }

  .guest-panel,
  .flow-welcome-card,
  .flow-shortcut-card,
  .flight-summary-panel,
  .lodging-confirmation-panel,
  .flow-stay-links,
  .compact-prep-panel,
  .compact-weather-panel,
  .dress-rhythm-panel,
  .extra-card,
  .portal-guest-card,
  .home-screen-panel,
  .print-panel,
  .day-card,
  .schedule-item,
  .flight-summary-row,
  .lodging-confirmation-card {
    width: 100%;
    padding: 10px;
  }

  .flow-shortcut-card {
    min-height: 74px;
  }

  .flow-shortcut-card strong,
  .schedule-title,
  .schedule-item,
  .flight-summary-row,
  .lodging-confirmation-card,
  .extra-card,
  .guest-panel {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .day-picker {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    overflow-x: hidden !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 4px 0 !important;
  }

  .day-picker button {
    min-width: 0;
    min-height: 40px;
    padding: 4px 2px;
  }

  .day-picker span {
    font-size: 0.58rem;
  }

  .day-picker strong {
    font-size: 0.68rem;
  }

  .welcome-cinematic,
  .flow-video-card video,
  .flow-video-card img,
  .media-frame img {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  body.guest-mode #app.guest-shell .magic-moments-intro,
  body.guest-mode #app.guest-shell .magic-moments-grid,
  body.guest-mode #app.guest-shell .magic-moment-card,
  body.guest-mode #app.guest-shell .magic-moment-copy,
  body.guest-mode #app.guest-shell .magic-moment-image {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.guest-mode #app.guest-shell .magic-moments-intro {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 17px !important;
  }

  body.guest-mode #app.guest-shell .magic-moments-intro h2 {
    font-size: clamp(1.8rem, 9vw, 2.35rem) !important;
  }

  body.guest-mode #app.guest-shell .magic-moments-context {
    grid-column: 1 / -1;
  }

  body.guest-mode #app.guest-shell .magic-moments-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.guest-mode #app.guest-shell .magic-moment-card {
    display: grid !important;
    grid-template-columns: 118px minmax(0, 1fr) !important;
  }

  body.guest-mode #app.guest-shell .magic-moment-image {
    aspect-ratio: auto !important;
    height: 100% !important;
    min-height: 156px !important;
  }

  body.guest-mode #app.guest-shell .magic-moment-image span {
    top: 8px;
    left: 8px;
    font-size: 0.55rem;
  }

  body.guest-mode #app.guest-shell .magic-moment-copy {
    padding: 13px !important;
  }

  body.guest-mode #app.guest-shell .magic-moment-copy h3 {
    font-size: 1.25rem !important;
  }

  body.guest-mode #app.guest-shell .magic-moment-copy > p:last-of-type {
    margin: 7px 0 12px !important;
    font-size: 0.8rem !important;
  }

  html,
  body,
  body.guest-mode {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  #app.guest-shell {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  #app.guest-shell,
  #app.guest-shell *,
  #app.guest-shell *::before,
  #app.guest-shell *::after {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
  }

  #app.guest-shell .app-topbar.guest-clean-topbar {
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding-right: 9px !important;
    padding-left: 9px !important;
  }

  #app.guest-shell .guest-clean-topbar .brand {
    width: 100% !important;
    max-width: 100% !important;
  }

  #app.guest-shell .guest-clean-topbar .brand strong,
  #app.guest-shell .guest-clean-topbar .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #app.guest-shell .view-tabs.guest-tabs {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    gap: 1px !important;
    padding: 3px !important;
    transform: none !important;
  }

  #app.guest-shell .view-tabs.guest-tabs button,
  #app.guest-shell .view-tabs.guest-tabs button:last-child {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
    font-size: 0.5rem !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  #app.guest-shell .mobile-flow {
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    margin-inline: 0 !important;
  }

  #app.guest-shell .mobile-flow,
  #app.guest-shell .mobile-flow > *,
  #app.guest-shell .flow-content,
  #app.guest-shell .guest-panel,
  #app.guest-shell .day-card,
  #app.guest-shell .schedule-item,
  #app.guest-shell .flight-summary-row,
  #app.guest-shell .lodging-confirmation-card,
  #app.guest-shell .extra-card {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  #app.guest-shell .flow-subnav {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    gap: 4px !important;
    padding: 0 !important;
    margin-inline: 0 !important;
  }

  #app.guest-shell .schedule-flow .flow-subnav,
  #app.guest-shell .hints-flow .flow-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #app.guest-shell .extras-flow .flow-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #app.guest-shell .flow-subnav button {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    padding: 0 2px !important;
    font-size: 0.6rem !important;
    line-height: 1.05 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center;
  }

  #app.guest-shell .flow-content,
  #app.guest-shell .flow-overview-card,
  #app.guest-shell .flow-summary-grid,
  #app.guest-shell .flow-option-grid,
  #app.guest-shell .flow-narrative-grid,
  #app.guest-shell .flight-summary-panel,
  #app.guest-shell .flight-summary-row,
  #app.guest-shell .flight-summary-check-in-links > div,
  #app.guest-shell .lodging-confirmation-card,
  #app.guest-shell .stay-link-grid,
  #app.guest-shell .portal-guest-cards,
  #app.guest-shell .extras-grid,
  #app.guest-shell .single-extra-grid,
  #app.guest-shell .weather-grid,
  #app.guest-shell .weather-temps,
  #app.guest-shell .home-screen-panel,
  #app.guest-shell .print-panel,
  #app.guest-shell .compact-prep-panel,
  #app.guest-shell .compact-weather-panel,
  #app.guest-shell .dress-rhythm-panel,
  #app.guest-shell .day-card,
  #app.guest-shell .schedule-item,
  #app.guest-shell .media-strip,
  #app.guest-shell .guest-route-strip {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    overflow-x: hidden !important;
  }

  #app.guest-shell h1,
  #app.guest-shell h2,
  #app.guest-shell h3,
  #app.guest-shell p,
  #app.guest-shell li,
  #app.guest-shell a,
  #app.guest-shell span,
  #app.guest-shell strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  #app.guest-shell .primary-action,
  #app.guest-shell .quiet-action,
  #app.guest-shell .extra-card-action,
  #app.guest-shell .flight-summary-check-in-links a {
    width: 100%;
    max-width: 100%;
  }

  #app.guest-shell .day-picker {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    gap: 4px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 720px) {
  body.guest-mode {
    --aa-guest-page-width: 100%;
    --aa-guest-content-width: calc(var(--aa-guest-page-width) - 20px);
    --aa-guest-header-offset: calc(var(--aa-guest-header-height, 148px) + 4px);
    width: var(--aa-guest-page-width) !important;
    max-width: var(--aa-guest-page-width) !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell {
    width: var(--aa-guest-page-width) !important;
    max-width: var(--aa-guest-page-width) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: var(--aa-guest-header-offset) 10px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell .app-topbar.guest-clean-topbar {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 130 !important;
    width: var(--aa-guest-page-width) !important;
    max-width: var(--aa-guest-page-width) !important;
    margin: 0 -10px 12px !important;
    padding: calc(9px + env(safe-area-inset-top, 0px)) 10px 9px !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell .guest-clean-topbar .brand {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 8px !important;
    width: var(--aa-guest-content-width) !important;
    max-width: var(--aa-guest-content-width) !important;
  }

  body.guest-mode #app.guest-shell .guest-clean-topbar .brand-logo-mark {
    width: 44px !important;
    height: 44px !important;
  }

  body.guest-mode #app.guest-shell .guest-clean-topbar .brand strong {
    font-size: 1.42rem !important;
    line-height: 1 !important;
  }

  body.guest-mode #app.guest-shell .guest-clean-topbar .brand small {
    font-size: 0.44rem !important;
    letter-spacing: 0.08em !important;
  }

  body.guest-mode #app.guest-shell .view-tabs.guest-tabs,
  body.guest-mode #app.guest-shell .mobile-flow,
  body.guest-mode #app.guest-shell .mobile-flow > *,
  body.guest-mode #app.guest-shell .flow-header,
  body.guest-mode #app.guest-shell .flow-subnav,
  body.guest-mode #app.guest-shell .flow-content,
  body.guest-mode #app.guest-shell .guest-panel,
  body.guest-mode #app.guest-shell .flow-overview-card,
  body.guest-mode #app.guest-shell .flow-summary-grid,
  body.guest-mode #app.guest-shell .flow-option-grid,
  body.guest-mode #app.guest-shell .flow-narrative-grid,
  body.guest-mode #app.guest-shell .flight-summary-panel,
  body.guest-mode #app.guest-shell .flight-summary-row,
  body.guest-mode #app.guest-shell .lodging-confirmation-panel,
  body.guest-mode #app.guest-shell .lodging-confirmation-card,
  body.guest-mode #app.guest-shell .stay-link-grid,
  body.guest-mode #app.guest-shell .portal-guest-cards,
  body.guest-mode #app.guest-shell .extras-grid,
  body.guest-mode #app.guest-shell .single-extra-grid,
  body.guest-mode #app.guest-shell .weather-grid,
  body.guest-mode #app.guest-shell .weather-temps,
  body.guest-mode #app.guest-shell .home-screen-panel,
  body.guest-mode #app.guest-shell .print-panel,
  body.guest-mode #app.guest-shell .compact-prep-panel,
  body.guest-mode #app.guest-shell .compact-weather-panel,
  body.guest-mode #app.guest-shell .dress-rhythm-panel,
  body.guest-mode #app.guest-shell .day-picker,
  body.guest-mode #app.guest-shell .day-card,
  body.guest-mode #app.guest-shell .schedule-item,
  body.guest-mode #app.guest-shell .media-strip,
  body.guest-mode #app.guest-shell .guest-route-strip {
    width: var(--aa-guest-content-width) !important;
    max-width: var(--aa-guest-content-width) !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell .view-tabs.guest-tabs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 2px !important;
    padding: 3px !important;
  }

  body.guest-mode #app.guest-shell .view-tabs.guest-tabs button,
  body.guest-mode #app.guest-shell .view-tabs.guest-tabs button:last-child {
    min-width: 0 !important;
    min-height: 32px !important;
    padding: 0 !important;
    font-size: 0.5rem !important;
    letter-spacing: 0 !important;
  }

  body.guest-mode #app.guest-shell .schedule-flow .flow-subnav,
  body.guest-mode #app.guest-shell .hints-flow .flow-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.guest-mode #app.guest-shell .flow-subnav {
    position: static !important;
    top: auto !important;
    z-index: 1 !important;
    border-bottom: 0;
    padding: 0 !important;
    background: transparent;
  }

  body.guest-mode #app.guest-shell .extras-flow .flow-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.guest-mode #app.guest-shell .flow-subnav button {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 34px !important;
    padding: 0 3px !important;
    font-size: 0.58rem !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }

  body.guest-mode #app.guest-shell .print-panel,
  body.guest-mode #app.guest-shell .home-screen-panel,
  body.guest-mode #app.guest-shell .flight-summary-row,
  body.guest-mode #app.guest-shell .lodging-confirmation-card,
  body.guest-mode #app.guest-shell .schedule-item,
  body.guest-mode #app.guest-shell .day-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.guest-mode #app.guest-shell .primary-action,
  body.guest-mode #app.guest-shell .quiet-action,
  body.guest-mode #app.guest-shell .extra-card-action,
  body.guest-mode #app.guest-shell .flight-summary-check-in-links a {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
  }

  body.guest-mode #app.guest-shell .schedule-flow,
  body.guest-mode #app.guest-shell .hints-flow,
  body.guest-mode #app.guest-shell .extras-flow {
    gap: 6px !important;
    padding-top: 0 !important;
  }

  body.guest-mode #app.guest-shell .schedule-flow .flow-header,
  body.guest-mode #app.guest-shell .hints-flow .flow-header,
  body.guest-mode #app.guest-shell .extras-flow .flow-header {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    border-bottom: 0 !important;
    padding: 0 !important;
  }

  body.guest-mode #app.guest-shell .schedule-flow .flow-header h1,
  body.guest-mode #app.guest-shell .schedule-flow .flow-header > p,
  body.guest-mode #app.guest-shell .hints-flow .flow-header h1,
  body.guest-mode #app.guest-shell .hints-flow .flow-header > p,
  body.guest-mode #app.guest-shell .extras-flow .flow-header h1,
  body.guest-mode #app.guest-shell .extras-flow .flow-header > p {
    display: none !important;
  }

  body.guest-mode #app.guest-shell .schedule-flow .flow-header .eyebrow,
  body.guest-mode #app.guest-shell .hints-flow .flow-header .eyebrow,
  body.guest-mode #app.guest-shell .extras-flow .flow-header .eyebrow {
    margin: 0 !important;
    line-height: 1.05 !important;
  }
}

.admin-section-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 2px;
}

.admin-section-tabs button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  min-height: 82px;
  border: 1px solid rgba(16, 31, 43, 0.12);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--muted);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.admin-section-tabs button.active {
  border-color: rgba(184, 137, 61, 0.45);
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 137, 61, 0.2), transparent 36%),
    linear-gradient(135deg, #071823, #0b2c37 58%, #114a3c);
  color: #fff;
  box-shadow: 0 18px 40px rgba(16, 31, 43, 0.14);
}

.admin-section-tabs button span,
.admin-section-tabs button small {
  display: block;
  grid-column: 1;
}

.admin-section-tabs button span {
  color: inherit;
  font-size: 1rem;
}

.admin-section-tabs button small {
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0.72;
}

.admin-section-tabs button strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 38px;
  border: 1px solid rgba(184, 137, 61, 0.3);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(184, 137, 61, 0.09);
  color: var(--gold);
  text-align: center;
}

.admin-section-tabs button.active strong {
  background: rgba(233, 189, 130, 0.18);
  color: var(--gold-soft);
}

.admin-tracking-section {
  min-height: 0;
}

.admin-command-section {
  display: grid;
  gap: 12px;
}

.admin-workspace-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(184, 137, 61, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 137, 61, 0.14), transparent 34%),
    linear-gradient(135deg, #071823, #0b2c37 58%, #114a3c);
  color: #fff;
}

.admin-workspace-intro .eyebrow {
  margin: 0;
  color: var(--gold-soft);
}

.admin-workspace-intro h3 {
  margin: 2px 0 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.admin-workspace-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(230, 190, 120, 0.56);
  border-radius: 999px;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-workspace-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.admin-workspace-facts span {
  border: 1px solid rgba(230, 190, 120, 0.24);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-command-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 16px;
  align-items: stretch;
  border: 1px solid rgba(184, 137, 61, 0.32);
  border-radius: 8px;
  padding: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(184, 137, 61, 0.16), transparent 34%),
    linear-gradient(135deg, #fffdf8, #eef6f2);
}

.admin-command-hero h3 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.admin-command-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-command-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-command-hero-facts article {
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(16, 31, 43, 0.08);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.66);
}

.admin-command-hero-facts span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-command-hero-facts strong {
  color: var(--green);
  font-size: 1rem;
}

.admin-command-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.admin-command-panel-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

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

.admin-security-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfa;
}

.admin-security-grid span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-security-grid strong,
.admin-security-grid p {
  display: block;
}

.admin-security-grid strong {
  margin-top: 6px;
  color: var(--ink);
}

.admin-security-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.message-configuration-form,
.message-configuration-list {
  display: grid;
  gap: 12px;
}

.communication-tracker {
  display: grid;
  gap: 12px;
}

.communication-tracker-heading p:not(.eyebrow) {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.communication-tracker-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.communication-tracker-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(170px, 1.4fr) minmax(110px, 0.7fr) minmax(115px, 0.7fr);
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 11px 12px;
}

.communication-tracker-row:first-child {
  border-top: 0;
}

.communication-tracker-header {
  background: #edf5f1;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.communication-tracker-row.attention {
  background: rgba(142, 63, 78, 0.035);
}

.communication-tracker-row > div,
.communication-tracker-row time {
  min-width: 0;
}

.communication-tracker-row strong,
.communication-tracker-row small {
  display: block;
}

.communication-tracker-row small,
.communication-tracker-row time {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.communication-tracker-row time {
  margin-top: 0;
}

.message-configuration-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.message-configuration-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.message-configuration-toggle input,
.guest-sms-preference-grid input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.message-configuration-toggle span {
  display: grid;
  gap: 3px;
}

.message-configuration-toggle strong {
  color: var(--green);
}

.message-configuration-toggle small,
.admin-form-note {
  color: var(--muted);
  line-height: 1.4;
}

.admin-form-note {
  margin: 0;
  font-size: 0.86rem;
}

.guest-message-preferences {
  grid-column: 1 / -1;
}

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

.guest-sms-preference-grid label:not(.sms-preference-choice) {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.25;
}

@media (max-width: 600px) {
  .guest-sms-preference-grid {
    grid-template-columns: 1fr;
  }
}

.admin-studio-shell {
  display: grid;
  gap: 16px;
}

.admin-studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 14px;
  align-items: stretch;
  border: 1px solid rgba(190, 142, 57, 0.36);
  border-radius: 8px;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(190, 142, 57, 0.18), transparent 32%),
    linear-gradient(135deg, #061720 0%, #0b2833 52%, #114a3c 100%);
  color: #fff;
}

.admin-studio-hero h3 {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
}

.admin-studio-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.studio-status-card {
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.studio-status-card span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.studio-status-card strong {
  color: #fff;
}

.studio-status-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.studio-status-card.pending {
  background: rgba(128, 55, 76, 0.26);
}

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

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

.admin-studio-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.studio-workspace-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.studio-workspace-nav button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  min-height: 112px;
}

.studio-workspace-nav button.active {
  border-color: rgba(184, 137, 61, 0.48);
  background: linear-gradient(135deg, #fffdf7, #eef6f2);
  box-shadow: 0 12px 28px rgba(16, 31, 43, 0.08);
}

.studio-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184, 137, 61, 0.4);
  background: rgba(184, 137, 61, 0.1);
  color: var(--gold);
  font-weight: 900;
}

.studio-workspace-nav button.active .studio-step-badge {
  background: var(--gold-soft);
  color: var(--ink);
}

.studio-workspace-nav strong,
.studio-workspace-nav span {
  display: block;
}

.studio-workspace-nav strong {
  color: var(--green);
  font-size: 1rem;
  align-self: end;
}

.studio-workspace-nav span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.85rem;
  grid-column: 2;
  line-height: 1.35;
}

.studio-workspace-nav .studio-step-badge {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-top: 0;
}

.studio-workspace-section {
  display: grid;
  gap: 16px;
  margin: 18px 0;
}

.trip-selection-card,
.trip-workspace-shell {
  display: grid;
  gap: 14px;
}

.studio-trip-selection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.studio-trip-select-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(184, 137, 61, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(135deg, #fffdf8, #f5faf7);
}

.studio-trip-select-card button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.studio-trip-select-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(184, 137, 61, 0.5);
  border-radius: 999px;
  background: #071722;
  color: var(--gold-soft);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.studio-trip-select-card strong,
.studio-trip-select-card em {
  display: block;
}

.studio-trip-select-card strong {
  color: var(--green);
  font-size: 1.05rem;
}

.studio-trip-select-card em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.studio-trip-select-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.studio-trip-select-stats span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.trip-workspace-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(184, 137, 61, 0.3);
  border-radius: 8px;
  padding: 14px;
  background:
    radial-gradient(circle at 92% 0%, rgba(231, 195, 119, 0.2), transparent 32%),
    linear-gradient(135deg, #071722, #12352f);
  color: #fff;
}

.trip-workspace-header h3 {
  margin: 2px 0 4px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.trip-workspace-header p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.35;
}

.trip-workspace-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.trip-workspace-tabs button {
  flex: 0 0 auto;
  min-width: 118px;
  border: 1px solid rgba(20, 67, 53, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: var(--green);
  font-weight: 900;
  cursor: pointer;
}

.trip-workspace-tabs button.active {
  border-color: rgba(184, 137, 61, 0.52);
  background: var(--green);
  color: #fff;
}

.focused-admin-form {
  border: 1px solid rgba(184, 137, 61, 0.24);
  border-radius: 8px;
  padding: 12px;
  background:
    radial-gradient(circle at 96% 0%, rgba(230, 190, 120, 0.12), transparent 34%),
    linear-gradient(135deg, #fffaf0, #ffffff);
  box-shadow: 0 18px 34px rgba(16, 31, 43, 0.08);
}

.form-save-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(20, 67, 53, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(237, 245, 241, 0.72), rgba(255, 255, 255, 0.94)),
    #fff;
  padding: 12px;
}

.form-save-banner strong {
  display: block;
  color: var(--ink);
  font-weight: 950;
}

.form-save-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .form-save-banner {
    grid-template-columns: 1fr;
  }

  .form-save-banner .primary-action {
    width: 100%;
  }
}

.sticky-admin-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin: 0 -12px -12px;
  border-top: 1px solid rgba(16, 31, 43, 0.08);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.pending-update-card {
  border-color: rgba(128, 55, 76, 0.22);
  background: linear-gradient(135deg, #fffdf8, #f7fbf8);
}

.pending-update-list {
  display: grid;
  gap: 10px;
}

.pending-update-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(16, 31, 43, 0.08);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.pending-update-main {
  min-width: 0;
}

.pending-update-main > span,
.pending-update-main small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.pending-update-main strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
}

.pending-update-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.pending-update-values p {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pending-update-values em {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pending-photo-value {
  display: grid;
  gap: 8px;
}

.pending-photo-value img {
  width: 76px;
  height: 76px;
  border: 2px solid rgba(184, 137, 61, 0.38);
  border-radius: 999px;
  object-fit: cover;
}

.pending-photo-value span {
  color: var(--muted);
}

.pending-update-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.studio-workspace-heading {
  border: 1px solid rgba(184, 137, 61, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(135deg, #fffdf8, #eef6f2);
}

.studio-workspace-heading h3 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.studio-workspace-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.studio-safety-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  border: 1px solid rgba(184, 137, 61, 0.26);
  border-radius: 8px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #fffdf8, #f7fbf8);
  color: var(--muted);
}

.studio-safety-note strong {
  color: var(--green);
}

.compact-studio-grid {
  align-items: start;
}

.studio-compact-panel {
  overflow: hidden;
  border: 1px solid rgba(184, 137, 61, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 31, 43, 0.06);
}

.studio-compact-panel[open] {
  grid-column: 1 / -1;
}

.studio-compact-panel summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.studio-compact-panel summary::-webkit-details-marker {
  display: none;
}

.studio-compact-panel summary span {
  min-width: 0;
}

.studio-compact-panel summary strong,
.studio-compact-panel summary em {
  display: block;
}

.studio-compact-panel summary strong {
  color: var(--green);
  font-size: 1.05rem;
}

.studio-compact-panel summary em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.35;
}

.studio-compact-panel summary b {
  border: 1px solid rgba(20, 67, 53, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  background: #f6faf7;
  color: var(--green);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-compact-panel[open] summary b {
  background: var(--green);
  color: #fff;
}

.studio-compact-panel[open] summary b {
  font-size: 0;
}

.studio-compact-panel[open] summary b::after {
  font-size: 0.76rem;
  content: "Close";
}

.studio-compact-panel-body {
  border-top: 1px solid var(--line);
  padding: 16px;
  background: linear-gradient(180deg, #fbfcfa, #fff);
}

.studio-compact-panel-body > .admin-dashboard-card {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.studio-workflow-group {
  display: grid;
  gap: 12px;
}

.studio-workflow-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.studio-workflow-heading > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(184, 137, 61, 0.5);
  border-radius: 999px;
  background: #fff7e7;
  color: #8a6327;
  font-weight: 900;
}

.studio-workflow-heading strong,
.studio-workflow-heading p {
  display: block;
}

.studio-workflow-heading strong {
  color: var(--green);
  font-size: 1rem;
}

.studio-workflow-heading p {
  margin: 2px 0 0;
  color: var(--muted);
}

.studio-publish-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.studio-publish-options article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-soft);
}

.studio-publish-options article.ready {
  border-color: rgba(28, 75, 64, 0.25);
  background: #f4fbf7;
}

.studio-publish-options article.blocked {
  border-color: rgba(128, 55, 76, 0.24);
  background: #fff3f5;
}

.studio-publish-options strong {
  display: block;
  color: var(--ink);
}

.studio-publish-options p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.studio-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.studio-module-tile {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(184, 137, 61, 0.22);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(145deg, #fffdf8, #f3f8f5);
}

.studio-module-tile > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(184, 137, 61, 0.45);
  border-radius: 999px;
  background: #061620;
  color: #e7c377;
  font-size: 0.78rem;
  font-weight: 900;
}

.studio-module-tile strong {
  display: block;
  color: var(--ink);
}

.studio-module-tile p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.studio-module-tile em {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.studio-control-list {
  display: grid;
  gap: 10px;
}

.studio-control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(16, 31, 43, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(145deg, #fffdf8, #f2f7f4);
}

.studio-control-row strong,
.studio-generated-summary strong {
  display: block;
  color: var(--ink);
}

.studio-control-row p,
.studio-generated-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.studio-control-row > span {
  border: 1px solid rgba(184, 137, 61, 0.32);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff7e7;
  color: #8a6327;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.studio-generated-link {
  display: inline-flex;
  margin-top: 12px;
  border: 1px solid rgba(184, 137, 61, 0.32);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.studio-generated-summary {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid rgba(184, 137, 61, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(7, 24, 35, 0.04), rgba(255, 250, 240, 0.96));
}

.studio-generated-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.studio-admin-note {
  border: 1px solid rgba(184, 137, 61, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: #fffaf0;
}

.studio-admin-note.privacy {
  background: #f4fbf7;
}

.studio-admin-note strong {
  display: block;
  color: var(--green);
}

.studio-admin-note p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.studio-directory-card.wide {
  grid-column: 1 / -1;
}

.studio-trip-editor-card {
  align-content: start;
}

.studio-trip-form,
.studio-guest-form,
.studio-assignment-form,
.studio-day-form,
.studio-event-form,
.studio-flight-form,
.studio-lodging-form,
.studio-extras-form {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-soft);
}

.studio-extra-setup {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.studio-extra-setup:first-of-type {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.studio-extra-setup h4 {
  margin: 2px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.studio-directory-row-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.studio-protected-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(184, 137, 61, 0.4);
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff7e7;
  color: #8a6327;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.studio-directory-list {
  display: grid;
  gap: 10px;
  max-height: 340px;
  overflow: visible;
  padding-right: 2px;
}

.studio-directory-list.compact {
  max-height: 300px;
}

.studio-directory-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-soft);
}

.studio-directory-list strong {
  display: block;
  color: var(--ink);
}

.studio-guest-mini {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.studio-guest-mini img,
.studio-guest-mini > span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 2px solid rgba(184, 137, 61, 0.35);
  border-radius: 999px;
  background: #fff8ea;
}

.studio-guest-mini img {
  object-fit: cover;
}

.studio-guest-mini > span {
  display: grid;
  place-items: center;
  color: #8a6327;
  font-weight: 900;
}

.studio-directory-list span,
.studio-directory-list p {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.studio-assignment-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.studio-assignment-row {
  display: grid;
  grid-template-columns: 100px minmax(180px, 1fr) 110px 110px minmax(250px, max-content);
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 10px 12px;
}

.studio-assignment-row:first-child {
  border-top: 0;
}

.studio-assignment-row.header {
  background: #edf5f1;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.studio-assignment-row strong,
.studio-assignment-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.studio-flight-import {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  border: 1px dashed rgba(184, 137, 61, 0.56);
  border-radius: 8px;
  padding: 12px;
  background: #fffaf0;
}

.studio-flight-import strong {
  color: var(--green);
}

.studio-flight-import p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.studio-flight-import textarea {
  width: 100%;
  resize: vertical;
}

.studio-flight-entry-choices {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(11, 68, 58, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(237, 245, 241, 0.9), rgba(255, 255, 255, 0.82));
}

.studio-flight-entry-choices strong {
  color: var(--green);
}

.studio-flight-entry-choices p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.studio-flight-entry-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.studio-flight-entry-choice-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 0 14px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.studio-flight-entry-choice-actions button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.studio-flight-screenshot-picker {
  display: grid;
  gap: 6px;
}

.studio-flight-screenshot-picker > span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
}

.studio-flight-screenshot-picker small {
  color: var(--muted);
}

.studio-flight-import-preview {
  border-left: 3px solid var(--gold);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.78);
}

.studio-flight-import-preview p,
.studio-flight-import-preview small {
  display: block;
  margin: 5px 0 0;
  color: var(--muted);
}

.studio-flight-summary-table .studio-assignment-row {
  grid-template-columns: 110px minmax(150px, 1fr) minmax(180px, 1.2fr) 130px 150px;
}

.studio-flight-summary-table small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.studio-day-list,
.studio-event-list,
.studio-travel-list {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding-right: 2px;
}

.studio-day-list article,
.studio-event-list article,
.studio-travel-list article {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-soft);
}

.studio-day-list article > div,
.studio-event-list article > div,
.studio-travel-list article > div {
  min-width: 0;
}

.studio-day-list span,
.studio-day-list p,
.studio-event-list span,
.studio-event-list p,
.studio-travel-list span,
.studio-travel-list p {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.studio-day-list strong,
.studio-event-list strong,
.studio-travel-list strong {
  display: block;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.studio-preview-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.studio-preview-picker button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
}

.studio-preview-picker button.active {
  border-color: rgba(184, 137, 61, 0.55);
  background: #fff7e7;
  color: #8a6327;
}

.field-help {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.studio-preview-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(184, 137, 61, 0.24);
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(135deg, #fffdf7, #f4f8f5);
}

.studio-preview-panel > div:first-child span {
  color: #8a6327;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-preview-panel h3 {
  margin: 6px 0 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.studio-preview-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.studio-preview-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

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

.studio-preview-columns article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.studio-preview-columns strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
}

.studio-readiness-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.studio-readiness-summary article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.studio-readiness-summary article.ready {
  border-color: rgba(28, 75, 64, 0.18);
  background: #f4fbf7;
}

.studio-readiness-summary article.warning {
  border-color: rgba(184, 137, 61, 0.32);
  background: #fff8ea;
}

.studio-readiness-summary article.danger {
  border-color: rgba(128, 55, 76, 0.28);
  background: #fff3f5;
}

.studio-readiness-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-readiness-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.8rem;
}

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

.studio-readiness-list article {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.studio-readiness-list article.ready {
  border-left: 5px solid var(--green);
}

.studio-readiness-list article.warning {
  border-left: 5px solid #b8893d;
}

.studio-readiness-list article.blocker {
  border-left: 5px solid #80374c;
}

.studio-readiness-list article > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-readiness-list strong {
  display: block;
  color: var(--ink);
}

.studio-readiness-list p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.studio-attention-list,
.studio-stage-list,
.studio-action-grid,
.studio-legacy-summary {
  display: grid;
  gap: 10px;
}

.studio-attention-list article,
.studio-stage-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-soft);
}

.studio-attention-list article.warning {
  border-color: rgba(128, 55, 76, 0.3);
  background: #fff4f4;
}

.studio-attention-list article.good {
  border-color: rgba(23, 76, 62, 0.24);
  background: #f2fbf6;
}

.studio-attention-list strong,
.studio-stage-list strong {
  display: block;
  color: var(--ink);
}

.studio-attention-list p,
.studio-stage-list p,
.admin-helper-copy {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.studio-event-save-status {
  margin: 10px 0 14px;
  border-radius: 14px;
  padding: 10px 12px;
  background: #edf5f1;
  color: var(--green);
  font-weight: 800;
}

.studio-event-save-status.is-error {
  background: #fff3f3;
  color: #8d3b4f;
}

.studio-stage-list article span {
  display: inline-block;
  margin-bottom: 6px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #edf5f1;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

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

.studio-legacy-summary span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-soft);
  color: var(--green);
  font-weight: 900;
  text-align: center;
}

.ask-steve-metrics {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.admin-ask-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.admin-ask-insights article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: 12px;
}

.admin-ask-insights span,
.admin-retrieval-label {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-ask-insights strong {
  display: block;
  margin: 4px 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.admin-ask-insights p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.admin-retrieval-label {
  margin-top: 7px;
  color: var(--green);
  text-transform: none;
}

.admin-ask-steve-table {
  display: grid;
  gap: 8px;
}

.admin-ask-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.52fr) minmax(150px, 0.68fr) minmax(0, 1.55fr) minmax(110px, 0.5fr) minmax(90px, 0.42fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 12px;
}

.admin-ask-header {
  background: #edf5f1;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-ask-row strong,
.admin-ask-row span,
.admin-ask-row time,
.admin-ask-row p {
  min-width: 0;
}

.admin-ask-row p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.admin-ask-row em {
  display: block;
  margin-top: 6px;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.admin-answer-source {
  display: inline-grid;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 0 10px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.admin-answer-source strong {
  font-size: inherit;
}

.admin-answer-source small {
  max-width: 180px;
  color: inherit;
  font-size: 0.64rem;
  font-weight: 800;
  opacity: 0.82;
}

.admin-answer-source.openai {
  border-color: rgba(19, 63, 55, 0.32);
  background: var(--green-soft);
  color: var(--green);
}

.admin-answer-source.known_fact {
  border-color: rgba(170, 122, 50, 0.32);
  background: #fff8ea;
  color: #8a6224;
}

.admin-answer-source.fallback {
  border-color: rgba(170, 122, 50, 0.3);
  background: #fff8ea;
  color: #7b561f;
}

.admin-answer-source.restricted {
  border-color: rgba(131, 57, 74, 0.28);
  background: #fff7f1;
  color: var(--burgundy);
}

.admin-diagnostic-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.mobile-day-itinerary {
  display: none;
}

.mobile-day-detail-view {
  display: none;
}

.mobile-day-select-shell {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 74px;
  border: 1px solid rgba(228, 189, 123, 0.44);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 30, 45, 0.96), rgba(11, 44, 58, 0.92)),
    #081d2a;
  color: #fff;
  padding: 10px 12px;
  box-shadow: 0 16px 34px rgba(3, 12, 19, 0.14);
}

.mobile-day-select-shell select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.mobile-day-select-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(228, 189, 123, 0.3);
  border-radius: 8px;
  color: #e4bd7b;
}

.mobile-day-select-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-day-select-copy {
  min-width: 0;
}

.mobile-day-select-copy span {
  display: block;
  color: rgba(228, 189, 123, 0.9);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mobile-day-select-copy strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.mobile-day-select-chevron {
  color: #e4bd7b;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.mobile-selected-day-card {
  display: grid;
  gap: 13px;
  width: 100%;
  border: 1px solid rgba(228, 189, 123, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 23, 35, 0.98), rgba(8, 29, 42, 0.96)),
    #081d2a;
  color: #fff;
  padding: 14px 12px;
}

.mobile-day-overview {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.42;
}

.mobile-day-section-label {
  color: #e4bd7b;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-day-moments {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-day-moments li {
  border-left: 3px solid rgba(228, 189, 123, 0.7);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 10px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.mobile-selected-day-schedule {
  display: grid;
  gap: 9px;
  margin: 0;
}

.mobile-schedule-item {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 1px solid rgba(19, 63, 55, 0.12);
  border-left: 3px solid rgba(214, 169, 110, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 252, 243, 0.98), rgba(255, 255, 255, 0.96)),
    #fff;
  color: var(--ink);
  padding: 10px;
  box-shadow: 0 10px 24px rgba(3, 12, 19, 0.1);
}

.mobile-schedule-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(19, 63, 55, 0.12);
  padding-bottom: 7px;
}

.mobile-schedule-meta strong {
  color: var(--green);
  font-size: 0.92rem;
  line-height: 1.12;
}

.mobile-schedule-meta span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-schedule-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.mobile-schedule-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.12;
}

.mobile-schedule-title .status {
  align-self: start;
  min-height: 28px;
  padding: 0 9px;
  font-size: 0.68rem;
  white-space: nowrap;
}

.mobile-schedule-place,
.mobile-schedule-detail {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 0.86rem;
  line-height: 1.32;
}

.mobile-schedule-place {
  color: var(--green) !important;
  font-weight: 850;
}

.mobile-schedule-item .schedule-confirmation,
.mobile-schedule-item .check-in-links {
  margin-top: 2px;
}

.mobile-note-list {
  margin-top: 0;
}

.mobile-day-list {
  display: grid;
  gap: 9px;
}

.mobile-day-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  border: 1px solid rgba(170, 122, 50, 0.32);
  border-radius: 8px;
  background: rgba(10, 28, 42, 0.92);
  color: #fff;
  padding: 8px;
  text-align: left;
}

.mobile-day-card.active {
  border-color: rgba(228, 189, 123, 0.76);
  background: rgba(14, 42, 57, 0.98);
}

.mobile-day-date {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid rgba(228, 189, 123, 0.28);
  border-radius: 7px;
  color: #e4bd7b;
}

.mobile-day-date small,
.mobile-day-copy small {
  display: block;
  line-height: 1.12;
}

.mobile-day-date small {
  font-size: 0.62rem;
  font-weight: 900;
}

.mobile-day-date strong {
  font-size: 0.72rem;
  font-weight: 900;
}

.mobile-day-copy strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.15;
}

.mobile-day-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.mobile-day-arrow {
  color: #e4bd7b;
  font-size: 1.45rem;
  line-height: 1;
  text-align: right;
}

.mobile-full-itinerary-button {
  display: inline-grid;
  place-items: center;
  min-height: 52px;
  margin-top: 10px;
  border: 1px solid rgba(170, 122, 50, 0.32);
  border-radius: 8px;
  background: rgba(10, 28, 42, 0.82);
  color: #e4bd7b;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-day-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: start;
  min-height: 40px;
  border: 1px solid rgba(170, 122, 50, 0.32);
  border-radius: 999px;
  background: rgba(10, 28, 42, 0.82);
  color: #e4bd7b;
  padding: 0 14px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-day-detail-heading {
  display: grid;
  gap: 4px;
  color: #fff;
}

.mobile-day-detail-heading h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.mobile-day-detail-heading p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.mobile-day-detail-heading strong {
  color: #e4bd7b;
  font-size: 0.92rem;
  line-height: 1.3;
}

.hints-detail-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 320px;
  border: 1px solid rgba(170, 122, 50, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 24, 38, 0.18), rgba(8, 24, 38, 0.86)),
    url("../assets/terrace-view.png");
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 36px 22px;
  text-align: center;
}

.hints-detail-card p {
  width: min(100%, 360px);
  margin: auto 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  line-height: 1.32;
}

.hints-detail-card img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.ask-steve-panel {
  display: grid;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(255, 248, 225, 0.72), rgba(255, 255, 255, 0.94)),
    #fff;
}

.ask-steve-heading {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.ask-steve-icon {
  background: rgba(10, 28, 42, 0.92);
  color: #d6a96e;
}

.ask-steve-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.98;
}

.ask-steve-panel p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.ask-steve-form {
  display: grid;
  gap: 12px;
}

.ask-steve-voice-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(176, 141, 87, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 20%, rgba(233, 189, 130, 0.3), rgba(233, 189, 130, 0) 38%),
    linear-gradient(135deg, rgba(5, 18, 27, 0.98), rgba(8, 30, 45, 0.96) 58%, rgba(16, 77, 67, 0.9)),
    #07131a;
  color: #fff;
  padding: 18px;
  box-shadow: 0 16px 42px rgba(3, 12, 19, 0.16);
}

.ask-steve-orb {
  position: relative;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9b86f, #a97b36);
  color: #07131a;
  box-shadow:
    0 0 0 12px rgba(217, 184, 111, 0.14),
    0 20px 44px rgba(3, 12, 19, 0.24);
}

.ask-steve-orb span {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(233, 189, 130, 0.48);
  border-radius: inherit;
  opacity: 0.75;
}

.ask-steve-voice-card.listening .ask-steve-orb span,
.ask-steve-voice-card.speaking .ask-steve-orb span {
  animation: askStevePulse 1.4s ease-in-out infinite;
}

.ask-steve-orb svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ask-steve-voice-copy {
  min-width: 0;
}

.ask-steve-voice-copy span,
.ask-steve-ai-disclosure {
  color: #e9bd82;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ask-steve-voice-copy strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3.6vw, 2rem);
  font-weight: 500;
  line-height: 1.02;
}

.ask-steve-voice-copy p {
  margin: 8px 0 0 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.95rem;
  line-height: 1.4;
}

.talk-to-steve-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 52px;
  border: 1px solid rgba(233, 189, 130, 0.62);
  border-radius: 999px;
  background: linear-gradient(135deg, #e9c97d, #bd8d44);
  color: #07131a;
  padding: 0 18px;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(3, 12, 19, 0.24);
}

.talk-to-steve-button.active,
.ask-steve-voice-card.speaking .talk-to-steve-button {
  background: #fff;
  color: var(--green);
}

.ask-steve-ai-disclosure {
  grid-column: 2 / -1;
  margin: -8px 0 0 !important;
  color: rgba(233, 189, 130, 0.76) !important;
  font-size: 0.62rem !important;
}

.ask-steve-prompt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ask-steve-prompt-row button,
.ask-steve-type-toggle {
  border: 1px solid rgba(19, 63, 55, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  min-height: 36px;
  padding: 0 13px;
  font-size: 0.76rem;
  font-weight: 900;
}

.ask-steve-type-toggle {
  justify-self: start;
}

.ask-steve-form.collapsed {
  display: none;
}

.ask-steve-input-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.ask-steve-form textarea {
  min-height: 132px;
}

.ask-steve-voice-button,
.ask-steve-answer-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(19, 63, 55, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 0 14px;
  font-size: 0.78rem;
  font-weight: 900;
}

.ask-steve-voice-button {
  width: 82px;
  min-height: 48px;
  align-self: end;
}

.ask-steve-voice-button.active,
.ask-steve-answer-toolbar button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.ask-steve-voice-button:disabled,
.ask-steve-answer-toolbar button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ask-steve-voice-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ask-steve-voice-status {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.ask-steve-thread {
  display: grid;
  gap: 8px;
}

.ask-steve-message {
  border: 1px solid rgba(19, 63, 55, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
}

.ask-steve-message span {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ask-steve-message p {
  margin: 4px 0 0 !important;
  color: var(--ink) !important;
  font-size: 0.92rem;
  line-height: 1.38;
}

.ask-steve-message.steve-thinking {
  border-color: rgba(19, 63, 55, 0.18);
  background: var(--green-soft);
}

.ask-steve-answer-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(19, 63, 55, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 14px;
}

.ask-steve-answer-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.ask-steve-answer-toolbar > span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ask-steve-answer-grid {
  display: grid;
  gap: 10px;
}

.ask-steve-answer-grid article {
  border-left: 3px solid var(--gold);
  background: var(--surface-soft);
  padding: 12px;
}

.ask-steve-answer-grid span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ask-steve-answer-grid p {
  margin: 5px 0 0;
  color: var(--ink);
  line-height: 1.48;
}

.ask-steve-restricted {
  border: 1px solid rgba(131, 57, 74, 0.24);
  border-radius: 8px;
  background: #fff7f1;
  color: var(--burgundy) !important;
  padding: 10px;
  font-weight: 850;
}

.ask-steve-feedback {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ask-steve-feedback span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.ask-steve-feedback button {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.ask-steve-feedback button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.ask-steve-privacy,
.ask-steve-context {
  font-size: 0.82rem;
}

@keyframes askStevePulse {
  0% {
    transform: scale(0.94);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
  100% {
    transform: scale(0.94);
    opacity: 0.45;
  }
}

@media (max-width: 720px) {
  .admin-section-tabs,
  .admin-command-hero,
  .admin-command-hero-facts,
  .admin-command-panel-grid,
  .admin-security-grid,
  .kb-manager-grid,
  .kb-entry-row,
  .ask-steve-metrics,
  .admin-ask-row,
  .admin-ask-insights {
    grid-template-columns: minmax(0, 1fr);
  }

  .kb-manager-heading,
  .admin-card-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .kb-manager-heading > span {
    justify-self: start;
  }

  .admin-section-tabs {
    gap: 8px;
  }

  .admin-section-tabs button {
    min-height: 62px;
    padding: 10px 11px;
  }

  .admin-section-tabs button small {
    display: none;
  }

  .admin-section-tabs button strong {
    grid-row: 1;
    min-width: 30px;
    padding: 5px 7px;
    font-size: 0.74rem;
  }

  .admin-command-hero {
    padding: 14px;
  }

  .admin-command-hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-workspace-intro {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .admin-workspace-facts {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .admin-command-hero-facts article {
    padding: 10px;
  }

  .admin-command-hero-facts strong {
    font-size: 0.86rem;
  }

  .kb-entry-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .kb-entry-row .admin-actions {
    justify-content: flex-start;
  }

  body.guest-mode #app.guest-shell .mobile-day-itinerary,
  body.guest-mode #app.guest-shell .mobile-day-detail-view,
  body.guest-mode #app.guest-shell .mobile-day-select-shell,
  body.guest-mode #app.guest-shell .mobile-selected-day-card,
  body.guest-mode #app.guest-shell .mobile-schedule-item,
  body.guest-mode #app.guest-shell .mobile-selected-day-timeline,
  body.guest-mode #app.guest-shell .mobile-day-list,
  body.guest-mode #app.guest-shell .mobile-day-card,
  body.guest-mode #app.guest-shell .hints-detail-card,
  body.guest-mode #app.guest-shell .ask-steve-panel,
  body.guest-mode #app.guest-shell .ask-steve-heading,
  body.guest-mode #app.guest-shell .ask-steve-voice-card,
  body.guest-mode #app.guest-shell .ask-steve-prompt-row,
  body.guest-mode #app.guest-shell .ask-steve-type-toggle,
  body.guest-mode #app.guest-shell .ask-steve-form,
  body.guest-mode #app.guest-shell .ask-steve-thread,
  body.guest-mode #app.guest-shell .ask-steve-message,
  body.guest-mode #app.guest-shell .ask-steve-answer-card,
  body.guest-mode #app.guest-shell .ask-steve-answer-grid {
    width: var(--aa-guest-content-width) !important;
    max-width: var(--aa-guest-content-width) !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell .mobile-day-itinerary {
    display: grid !important;
    gap: 10px;
    border-radius: 8px;
    background:
      radial-gradient(circle at 50% 0%, rgba(49, 95, 131, 0.22), transparent 46%),
      linear-gradient(180deg, #071723, #081d2a);
    padding: 14px 10px;
  }

  body.guest-mode #app.guest-shell .daily-activity-flow > .selected-day-timeline {
    display: none !important;
  }

  body.guest-mode #app.guest-shell .daily-activity-flow.mobile-detail-open .mobile-day-itinerary {
    display: grid !important;
  }

  body.guest-mode #app.guest-shell .daily-activity-flow .mobile-day-detail-view {
    display: grid !important;
    gap: 12px;
    border-radius: 8px;
    background:
      radial-gradient(circle at 50% 0%, rgba(49, 95, 131, 0.22), transparent 46%),
      linear-gradient(180deg, #071723, #081d2a);
    padding: 12px 10px 14px;
  }

  body.guest-mode #app.guest-shell .mobile-selected-day-timeline {
    display: grid !important;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.guest-mode #app.guest-shell .mobile-day-itinerary .eyebrow {
    color: #d6a96e;
  }

  body.guest-mode #app.guest-shell .mobile-day-selector {
    padding: 12px 10px;
  }

  body.guest-mode #app.guest-shell .daily-activity-flow .day-picker {
    display: none !important;
  }

  body.guest-mode #app.guest-shell .mobile-day-list,
  body.guest-mode #app.guest-shell .mobile-day-card {
    display: none !important;
  }

  body.guest-mode #app.guest-shell .mobile-selected-day-card .media-strip {
    margin-top: 0;
  }

  body.guest-mode #app.guest-shell .mobile-selected-day-card .media-frame {
    max-height: 220px;
  }

  body.guest-mode #app.guest-shell .mobile-selected-day-schedule {
    display: grid;
    gap: 9px;
  }

  body.guest-mode #app.guest-shell .mobile-day-card {
    grid-template-columns: 58px minmax(0, 1fr) 18px !important;
    width: 100% !important;
    min-height: 66px;
    padding: 7px;
  }

  body.guest-mode #app.guest-shell .mobile-day-date {
    width: 58px;
    min-height: 50px;
  }

  body.guest-mode #app.guest-shell .mobile-day-copy strong {
    font-size: 0.82rem;
  }

  body.guest-mode #app.guest-shell .mobile-day-copy small {
    font-size: 0.68rem;
  }

  body.guest-mode #app.guest-shell .mobile-full-itinerary-button {
    width: 100%;
    max-width: 100%;
  }

  body.guest-mode #app.guest-shell .extras-flow .flow-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-heading {
    grid-template-columns: 50px minmax(0, 1fr) !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-icon {
    width: 50px;
  }

  body.guest-mode #app.guest-shell .ask-steve-panel h2 {
    font-size: 1.82rem;
  }

  body.guest-mode #app.guest-shell .ask-steve-voice-card {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 13px !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-orb {
    width: 58px !important;
    height: 58px !important;
    box-shadow:
      0 0 0 7px rgba(217, 184, 111, 0.12),
      0 14px 24px rgba(3, 12, 19, 0.18) !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-orb svg {
    width: 24px !important;
    height: 24px !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-voice-copy strong {
    font-size: 1.32rem !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-voice-copy p {
    font-size: 0.75rem !important;
    line-height: 1.28 !important;
  }

  body.guest-mode #app.guest-shell .talk-to-steve-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    font-size: 0.7rem;
  }

  body.guest-mode #app.guest-shell .ask-steve-ai-disclosure {
    grid-column: 1 / -1;
    margin-top: -2px !important;
    font-size: 0.54rem !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-prompt-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-prompt-row button,
  body.guest-mode #app.guest-shell .ask-steve-type-toggle {
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.68rem;
  }

  body.guest-mode #app.guest-shell .ask-steve-form textarea {
    min-height: 116px;
  }
}

@media (max-width: 720px) {
  body.guest-mode #app.guest-shell .app-topbar.guest-clean-topbar {
    gap: 10px !important;
    padding-bottom: 11px !important;
  }

  body.guest-mode #app.guest-shell .view-tabs.guest-tabs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(5px, 1.6vw, 8px) !important;
    width: var(--aa-guest-content-width) !important;
    max-width: var(--aa-guest-content-width) !important;
    min-height: 44px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body.guest-mode #app.guest-shell .view-tabs.guest-tabs button,
  body.guest-mode #app.guest-shell .view-tabs.guest-tabs button:last-child {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    border: 1px solid rgba(229, 190, 116, 0.72) !important;
    border-radius: 999px !important;
    background:
      linear-gradient(180deg, rgba(14, 36, 49, 0.98), rgba(6, 23, 34, 0.94)),
      #061923 !important;
    color: #f7f1e4 !important;
    padding: 0 4px !important;
    font-size: clamp(0.58rem, 2.45vw, 0.68rem) !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    transform: translateY(0);
  }

  body.guest-mode #app.guest-shell .view-tabs.guest-tabs button.active {
    border-color: rgba(229, 190, 116, 0.98) !important;
    background:
      linear-gradient(180deg, #f0ce87, #d9aa5b),
      #e5be74 !important;
    color: #061923 !important;
    box-shadow:
      0 11px 22px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
    transform: translateY(-1px);
  }

  body.guest-mode #app.guest-shell .view-tabs.guest-tabs button:focus-visible {
    outline: 2px solid #f7f1e4;
    outline-offset: 3px;
  }
}

@media (max-width: 720px) {
  body.guest-mode #app.guest-shell .welcome-flow {
    gap: 8px !important;
  }

  body.guest-mode #app.guest-shell .flow-welcome-card {
    gap: 9px !important;
    padding: 12px 11px !important;
  }

  body.guest-mode #app.guest-shell .welcome-letter-heading {
    gap: 3px !important;
  }

  body.guest-mode #app.guest-shell .flow-welcome-card h1 {
    font-size: clamp(1.36rem, 7.2vw, 1.72rem) !important;
    line-height: 1 !important;
  }

  body.guest-mode #app.guest-shell .flow-welcome-card .portal-brandline {
    margin-top: 2px !important;
    font-size: clamp(0.78rem, 3.45vw, 0.9rem) !important;
    line-height: 1.14 !important;
  }

  body.guest-mode #app.guest-shell .welcome-letter-heading > p:last-child {
    font-size: 0.76rem !important;
    line-height: 1.22 !important;
  }

  body.guest-mode #app.guest-shell .portal-personal-welcome,
  body.guest-mode #app.guest-shell .flow-welcome-card .eyebrow {
    font-size: 0.66rem !important;
    line-height: 1.05 !important;
  }

  body.guest-mode #app.guest-shell .welcome-letter-note {
    padding-top: 8px !important;
  }

  body.guest-mode #app.guest-shell .welcome-letter-kicker {
    margin-bottom: 5px !important;
    font-size: 0.62rem !important;
  }
}

@media (max-width: 720px) {
  :root {
    --aa-safe-mobile-width: var(--aa-mobile-vw, 100dvw);
  }

  html,
  body {
    width: var(--aa-safe-mobile-width);
    max-width: var(--aa-safe-mobile-width);
    min-width: 0;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
    touch-action: pan-y pinch-zoom;
  }

  @supports (overflow: clip) {
    html,
    body {
      overflow-x: clip !important;
    }
  }

  img,
  video,
  svg,
  canvas {
    max-width: 100%;
  }

  body.guest-mode,
  body.guest-mode #app,
  body.guest-mode #app.guest-shell,
  body.guest-mode .shell,
  body.guest-mode .shell:has(.guest-clean-topbar):not(:has(.guest-landing)) {
    width: var(--aa-safe-mobile-width) !important;
    max-width: var(--aa-safe-mobile-width) !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
    touch-action: pan-y pinch-zoom;
  }

  body.guest-mode {
    --aa-guest-page-width: var(--aa-safe-mobile-width);
    --aa-guest-content-width: calc(var(--aa-safe-mobile-width) - 20px);
  }

  body.guest-mode #app.guest-shell {
    box-sizing: border-box;
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  @supports (overflow: clip) {
    body.guest-mode,
    body.guest-mode #app,
    body.guest-mode #app.guest-shell,
    body.guest-mode .shell,
    body.guest-mode .shell:has(.guest-clean-topbar):not(:has(.guest-landing)) {
      overflow-x: clip !important;
    }
  }

  body.guest-mode #app.guest-shell,
  body.guest-mode #app.guest-shell *,
  body.guest-mode #app.guest-shell *::before,
  body.guest-mode #app.guest-shell *::after {
    box-sizing: border-box;
    min-width: 0;
  }

  body.guest-mode #app.guest-shell .app-topbar.guest-clean-topbar {
    right: 0 !important;
    left: 0 !important;
    width: var(--aa-guest-page-width) !important;
    max-width: var(--aa-guest-page-width) !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell .guest-clean-topbar .brand,
  body.guest-mode #app.guest-shell .view-tabs.guest-tabs,
  body.guest-mode #app.guest-shell .mobile-flow,
  body.guest-mode #app.guest-shell .mobile-flow > *,
  body.guest-mode #app.guest-shell .flow-header,
  body.guest-mode #app.guest-shell .flow-subnav,
  body.guest-mode #app.guest-shell .flow-content,
  body.guest-mode #app.guest-shell .guest-panel,
  body.guest-mode #app.guest-shell .flow-overview-card,
  body.guest-mode #app.guest-shell .flow-summary-grid,
  body.guest-mode #app.guest-shell .flow-option-grid,
  body.guest-mode #app.guest-shell .flow-narrative-grid,
  body.guest-mode #app.guest-shell .flight-summary-panel,
  body.guest-mode #app.guest-shell .flight-summary-row,
  body.guest-mode #app.guest-shell .lodging-confirmation-panel,
  body.guest-mode #app.guest-shell .lodging-confirmation-card,
  body.guest-mode #app.guest-shell .stay-link-grid,
  body.guest-mode #app.guest-shell .portal-guest-cards,
  body.guest-mode #app.guest-shell .extras-grid,
  body.guest-mode #app.guest-shell .single-extra-grid,
  body.guest-mode #app.guest-shell .weather-grid,
  body.guest-mode #app.guest-shell .weather-temps,
  body.guest-mode #app.guest-shell .home-screen-panel,
  body.guest-mode #app.guest-shell .print-panel,
  body.guest-mode #app.guest-shell .compact-prep-panel,
  body.guest-mode #app.guest-shell .compact-weather-panel,
  body.guest-mode #app.guest-shell .dress-rhythm-panel,
  body.guest-mode #app.guest-shell .day-picker,
  body.guest-mode #app.guest-shell .day-card,
  body.guest-mode #app.guest-shell .schedule-item,
  body.guest-mode #app.guest-shell .media-strip,
  body.guest-mode #app.guest-shell .guest-route-strip,
  body.guest-mode #app.guest-shell .mobile-day-itinerary,
  body.guest-mode #app.guest-shell .mobile-day-detail-view,
  body.guest-mode #app.guest-shell .mobile-selected-day-timeline,
  body.guest-mode #app.guest-shell .mobile-day-list,
  body.guest-mode #app.guest-shell .mobile-day-card,
  body.guest-mode #app.guest-shell .mobile-day-back,
  body.guest-mode #app.guest-shell .mobile-day-detail-heading,
  body.guest-mode #app.guest-shell .personal-schedule-days,
  body.guest-mode #app.guest-shell .full-day-card,
  body.guest-mode #app.guest-shell .day-body,
  body.guest-mode #app.guest-shell .hints-detail-card,
  body.guest-mode #app.guest-shell .ask-steve-panel {
    width: var(--aa-guest-content-width) !important;
    max-width: var(--aa-guest-content-width) !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-heading,
  body.guest-mode #app.guest-shell .ask-steve-voice-card,
  body.guest-mode #app.guest-shell .ask-steve-voice-copy,
  body.guest-mode #app.guest-shell .ask-steve-prompt-row,
  body.guest-mode #app.guest-shell .ask-steve-type-toggle,
  body.guest-mode #app.guest-shell .ask-steve-form,
  body.guest-mode #app.guest-shell .ask-steve-form label,
  body.guest-mode #app.guest-shell .ask-steve-form textarea,
  body.guest-mode #app.guest-shell .ask-steve-thread,
  body.guest-mode #app.guest-shell .ask-steve-message,
  body.guest-mode #app.guest-shell .ask-steve-answer-card,
  body.guest-mode #app.guest-shell .ask-steve-answer-grid,
  body.guest-mode #app.guest-shell .ask-steve-feedback {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell .view-tabs.guest-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 2px !important;
    overflow: hidden !important;
  }

  body.guest-mode #app.guest-shell .view-tabs.guest-tabs button,
  body.guest-mode #app.guest-shell .view-tabs.guest-tabs button:last-child {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    overflow: hidden !important;
    padding-right: 2px !important;
    padding-left: 2px !important;
    font-size: clamp(0.5rem, 2.18vw, 0.6rem) !important;
    text-overflow: clip !important;
  }

  body.guest-mode #app.guest-shell .flow-subnav,
  body.guest-mode #app.guest-shell .ask-steve-feedback,
  body.guest-mode #app.guest-shell .admin-actions,
  body.guest-mode #app.guest-shell .flight-summary-check-in-links,
  body.guest-mode #app.guest-shell .album-helper,
  body.guest-mode #app.guest-shell .guest-pill-row,
  body.guest-mode #app.guest-shell .rooming-list {
    flex-wrap: wrap;
  }

  body.guest-mode #app.guest-shell .schedule-flow .flow-subnav,
  body.guest-mode #app.guest-shell .hints-flow .flow-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.guest-mode #app.guest-shell .extras-flow .flow-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.guest-mode #app.guest-shell .flow-subnav button,
  body.guest-mode #app.guest-shell input,
  body.guest-mode #app.guest-shell select,
  body.guest-mode #app.guest-shell textarea,
  body.guest-mode #app.guest-shell button,
  body.guest-mode #app.guest-shell .primary-action,
  body.guest-mode #app.guest-shell .quiet-action,
  body.guest-mode #app.guest-shell .extra-card-action,
  body.guest-mode #app.guest-shell .flight-summary-check-in-links a {
    max-width: 100% !important;
  }

  body.guest-mode #app.guest-shell .mobile-day-back {
    justify-self: stretch !important;
    width: 100% !important;
    white-space: normal !important;
  }

  body.guest-mode #app.guest-shell .mobile-day-detail-heading h2,
  body.guest-mode #app.guest-shell .day-body h2 {
    font-size: clamp(1.28rem, 6.8vw, 1.88rem) !important;
    line-height: 1.04 !important;
    overflow-wrap: anywhere;
  }

  body.guest-mode #app.guest-shell .mobile-day-detail-heading p,
  body.guest-mode #app.guest-shell .mobile-day-detail-heading strong,
  body.guest-mode #app.guest-shell .day-body p,
  body.guest-mode #app.guest-shell .day-body strong {
    overflow-wrap: anywhere;
  }

  body.guest-mode #app.guest-shell h1,
  body.guest-mode #app.guest-shell h2,
  body.guest-mode #app.guest-shell h3,
  body.guest-mode #app.guest-shell p,
  body.guest-mode #app.guest-shell li,
  body.guest-mode #app.guest-shell a,
  body.guest-mode #app.guest-shell span,
  body.guest-mode #app.guest-shell strong,
  body.guest-mode #app.guest-shell time {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.guest-mode #app.guest-shell .ask-steve-heading {
    grid-template-columns: 46px minmax(0, 1fr) !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-answer-grid,
  body.guest-mode #app.guest-shell .ask-steve-feedback {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.guest-mode #app.guest-shell .welcome-cinematic,
  body.guest-mode #app.guest-shell .welcome-cinematic-card,
  body.guest-mode #app.guest-shell .flow-video-card {
    width: var(--aa-guest-content-width) !important;
    max-width: var(--aa-guest-content-width) !important;
  }

  body.guest-mode #app.guest-shell .welcome-cinematic {
    min-height: 0 !important;
    aspect-ratio: 16 / 10 !important;
  }

  body.guest-mode #app.guest-shell .cinematic-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.guest-mode #app.guest-shell .cinematic-scene {
    padding: 14px !important;
  }

  body.guest-mode #app.guest-shell .cinematic-scene h2 {
    max-width: 100%;
    font-size: clamp(1.58rem, 8.4vw, 2.08rem) !important;
    overflow-wrap: anywhere;
  }

  body.guest-mode #app.guest-shell .cinematic-eyebrow,
  body.guest-mode #app.guest-shell .cinematic-detail {
    max-width: 100%;
    font-size: 0.56rem !important;
    letter-spacing: 0.08em !important;
    overflow-wrap: anywhere;
  }

  body.guest-mode #app.guest-shell .flow-welcome-card h1 {
    font-size: clamp(1.28rem, 7vw, 1.72rem) !important;
    line-height: 1.02 !important;
    overflow-wrap: anywhere;
  }

  body.guest-mode #app.guest-shell .flow-welcome-card .portal-brandline {
    font-size: clamp(0.72rem, 3.15vw, 0.82rem) !important;
    line-height: 1.16 !important;
    overflow-wrap: anywhere;
  }

  body.guest-mode #app.guest-shell .welcome-letter-heading > p:last-child {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
  }

  body.guest-mode #app.guest-shell .compact-letter-copy {
    font-size: 0.86rem !important;
    line-height: 1.42 !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-panel {
    padding: 12px 10px !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-form textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 720px) {
  body.guest-mode {
    position: relative;
  }

  body.guest-mode #app.guest-shell {
    position: relative;
    contain: layout paint;
  }

  body.guest-mode #app.guest-shell .mobile-flow {
    width: var(--aa-guest-content-width) !important;
    max-width: var(--aa-guest-content-width) !important;
    min-width: 0 !important;
    margin-right: auto !important;
    margin-left: auto !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell .mobile-flow > *,
  body.guest-mode #app.guest-shell .mobile-flow .flow-content,
  body.guest-mode #app.guest-shell .mobile-flow .flow-content > *,
  body.guest-mode #app.guest-shell .mobile-flow .guest-panel > *,
  body.guest-mode #app.guest-shell .flow-subnav,
  body.guest-mode #app.guest-shell .flow-subnav button,
  body.guest-mode #app.guest-shell .flow-option-grid,
  body.guest-mode #app.guest-shell .flow-option-grid > *,
  body.guest-mode #app.guest-shell .flow-summary-grid,
  body.guest-mode #app.guest-shell .flow-summary-grid > *,
  body.guest-mode #app.guest-shell .flow-narrative-grid,
  body.guest-mode #app.guest-shell .flow-narrative-grid > *,
  body.guest-mode #app.guest-shell .daily-activity-flow,
  body.guest-mode #app.guest-shell .daily-activity-flow > *,
  body.guest-mode #app.guest-shell .mobile-day-itinerary > *,
  body.guest-mode #app.guest-shell .mobile-day-detail-view > *,
  body.guest-mode #app.guest-shell .mobile-day-select-shell,
  body.guest-mode #app.guest-shell .mobile-selected-day-card,
  body.guest-mode #app.guest-shell .mobile-schedule-item,
  body.guest-mode #app.guest-shell .mobile-schedule-item > *,
  body.guest-mode #app.guest-shell .mobile-day-list,
  body.guest-mode #app.guest-shell .mobile-day-card,
  body.guest-mode #app.guest-shell .mobile-day-copy,
  body.guest-mode #app.guest-shell .mobile-selected-day-timeline,
  body.guest-mode #app.guest-shell .personal-schedule-days,
  body.guest-mode #app.guest-shell .personal-schedule-days > *,
  body.guest-mode #app.guest-shell .day-card,
  body.guest-mode #app.guest-shell .full-day-card,
  body.guest-mode #app.guest-shell .day-body,
  body.guest-mode #app.guest-shell .schedule-item,
  body.guest-mode #app.guest-shell .schedule-item > *,
  body.guest-mode #app.guest-shell .media-strip,
  body.guest-mode #app.guest-shell .media-frame,
  body.guest-mode #app.guest-shell .media-frame img,
  body.guest-mode #app.guest-shell .ask-steve-panel > *,
  body.guest-mode #app.guest-shell .ask-steve-answer-card > *,
  body.guest-mode #app.guest-shell .ask-steve-answer-grid > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell .flow-subnav,
  body.guest-mode #app.guest-shell .flow-option-grid,
  body.guest-mode #app.guest-shell .flow-summary-grid,
  body.guest-mode #app.guest-shell .mobile-day-list,
  body.guest-mode #app.guest-shell .personal-schedule-days {
    justify-items: stretch !important;
  }

  body.guest-mode #app.guest-shell .mobile-day-card {
    grid-template-columns: 54px minmax(0, 1fr) 16px !important;
    gap: 8px !important;
  }

  body.guest-mode #app.guest-shell .mobile-day-date {
    width: 54px !important;
    max-width: 54px !important;
  }

  body.guest-mode #app.guest-shell .schedule-item {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.guest-mode #app.guest-shell .compact-weather-panel,
  body.guest-mode #app.guest-shell .weather-grid,
  body.guest-mode #app.guest-shell .weather-card,
  body.guest-mode #app.guest-shell .weather-card-top,
  body.guest-mode #app.guest-shell .weather-temps,
  body.guest-mode #app.guest-shell .weather-temps span,
  body.guest-mode #app.guest-shell .weather-temps b,
  body.guest-mode #app.guest-shell .weather-temps em,
  body.guest-mode #app.guest-shell .weather-note,
  body.guest-mode #app.guest-shell .weather-pack-list,
  body.guest-mode #app.guest-shell .weather-pack-list p,
  body.guest-mode #app.guest-shell .weather-pack-list strong,
  body.guest-mode #app.guest-shell .weather-fine-print {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  body.guest-mode #app.guest-shell .weather-grid,
  body.guest-mode #app.guest-shell .weather-temps {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.guest-mode #app.guest-shell .weather-card {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    overflow: hidden !important;
    padding: 12px !important;
  }

  body.guest-mode #app.guest-shell .weather-card-top {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.guest-mode #app.guest-shell .weather-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 0.64rem !important;
  }

  body.guest-mode #app.guest-shell .weather-card h3 {
    font-size: clamp(0.98rem, 4.5vw, 1.18rem) !important;
    line-height: 1.05 !important;
    overflow-wrap: anywhere !important;
  }

  body.guest-mode #app.guest-shell .weather-card-top p {
    font-size: 0.6rem !important;
    line-height: 1.12 !important;
  }

  body.guest-mode #app.guest-shell .weather-temps span {
    display: grid !important;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: baseline !important;
    padding: 9px !important;
    font-size: 0.82rem !important;
    line-height: 1.18 !important;
  }

  body.guest-mode #app.guest-shell .weather-temps b,
  body.guest-mode #app.guest-shell .weather-temps em,
  body.guest-mode #app.guest-shell .weather-pack-list strong {
    display: block !important;
    font-style: normal !important;
  }

  body.guest-mode #app.guest-shell .weather-temps b {
    color: var(--gold);
    font-size: 0.72rem !important;
    text-transform: uppercase;
  }

  body.guest-mode #app.guest-shell .weather-note,
  body.guest-mode #app.guest-shell .weather-pack-list {
    font-size: 0.9rem !important;
    line-height: 1.38 !important;
  }

  body.guest-mode #app.guest-shell .weather-pack-list {
    display: grid !important;
    gap: 8px !important;
    padding-left: 0 !important;
  }

  body.guest-mode #app.guest-shell .weather-pack-list p {
    display: grid !important;
    grid-template-columns: 8px minmax(0, 1fr) !important;
    gap: 9px !important;
    margin: 0 !important;
  }

  body.guest-mode #app.guest-shell .weather-pack-list p > span {
    width: 6px !important;
    height: 6px !important;
    margin-top: 0.55em !important;
    border-radius: 999px !important;
    background: var(--ink) !important;
  }

  body.guest-mode #app.guest-shell .weather-pack-list strong {
    font-weight: 650 !important;
  }
}

@media (max-width: 720px) {
  html,
  body,
  body.login-mode,
  body.login-mode #app.login-shell,
  body.login-mode .shell,
  body.login-mode .shell:has(.guest-landing) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  body.login-mode {
    overscroll-behavior-x: none;
    touch-action: pan-y pinch-zoom;
  }

  body.login-mode #app.login-shell {
    padding: 0 !important;
  }

  body.login-mode .guest-landing {
    width: var(--aa-mobile-vw, 100%) !important;
    max-width: var(--aa-mobile-vw, 100%) !important;
    min-width: 0 !important;
    min-height: 100svh;
    overflow-x: hidden !important;
    transform: none !important;
  }

  body.login-mode .landing-image {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 142% !important;
    object-position: var(--landing-object-position, center top) !important;
    transform: translate3d(0, -20svh, 0) !important;
  }

  body.login-mode .landing-brand,
  body.login-mode .landing-copy,
  body.login-mode .access-panel {
    max-width: calc(var(--aa-mobile-vw, 100vw) - 28px) !important;
    min-width: 0 !important;
    transform: none !important;
  }

  body.login-mode .access-panel {
    width: min(304px, calc(var(--aa-mobile-vw, 100vw) - 28px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.login-mode .access-role-toggle {
    display: grid;
  }

  body.login-mode .landing-admin-button {
    display: none !important;
  }

  body.login-mode .access-input-wrap,
  body.login-mode .access-input-wrap input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.login-mode .access-input-wrap input {
    font-size: 16px !important;
  }

  body.guest-mode #app.guest-shell .schedule-overview-content,
  body.guest-mode #app.guest-shell .schedule-overview-hero,
  body.guest-mode #app.guest-shell .schedule-next-grid,
  body.guest-mode #app.guest-shell .schedule-next-card,
  body.guest-mode #app.guest-shell .schedule-next-copy,
  body.guest-mode #app.guest-shell .print-panel,
  body.guest-mode #app.guest-shell .print-panel-header,
  body.guest-mode #app.guest-shell .print-panel-pills,
  body.guest-mode #app.guest-shell .ask-steve-input-shell,
  body.guest-mode #app.guest-shell .ask-steve-answer-toolbar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell .schedule-next-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.guest-mode #app.guest-shell .schedule-overview-hero {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 14px !important;
  }

  body.guest-mode #app.guest-shell .schedule-overview-mark {
    width: 44px !important;
    height: 44px !important;
  }

  body.guest-mode #app.guest-shell .schedule-overview-hero h2 {
    color: #fff !important;
    font-size: clamp(1.72rem, 8.2vw, 2.34rem) !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
  }

  body.guest-mode #app.guest-shell .schedule-overview-hero p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 0.82rem !important;
  }

  body.guest-mode #app.guest-shell .schedule-overview-hero .eyebrow {
    color: #e9bd82 !important;
  }

  body.guest-mode #app.guest-shell .schedule-next-card {
    grid-template-columns: 42px minmax(0, 1fr) auto 12px !important;
    gap: 9px !important;
    min-height: 118px !important;
    padding: 12px !important;
  }

  body.guest-mode #app.guest-shell .schedule-next-icon {
    width: 42px !important;
    height: 42px !important;
  }

  body.guest-mode #app.guest-shell .schedule-next-badge {
    align-self: center;
    padding: 5px 7px !important;
    font-size: 0.58rem !important;
  }

  body.guest-mode #app.guest-shell .schedule-next-copy strong {
    font-size: 1rem !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
  }

  body.guest-mode #app.guest-shell .schedule-next-copy small,
  body.guest-mode #app.guest-shell .schedule-next-copy em,
  body.guest-mode #app.guest-shell .schedule-next-label {
    font-size: 0.68rem !important;
    overflow-wrap: anywhere !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-input-shell {
    grid-template-columns: minmax(0, 1fr) 64px !important;
    align-items: stretch !important;
  }

  body.guest-mode #app.guest-shell .print-panel {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 14px !important;
  }

  body.guest-mode #app.guest-shell .print-panel-header {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.guest-mode #app.guest-shell .print-panel-icon {
    width: 42px !important;
    height: 42px !important;
  }

  body.guest-mode #app.guest-shell .print-panel-icon svg {
    width: 21px !important;
    height: 21px !important;
  }

  body.guest-mode #app.guest-shell .print-panel h2 {
    font-size: clamp(1.34rem, 7vw, 1.82rem) !important;
  }

  body.guest-mode #app.guest-shell .print-panel-copy {
    font-size: 0.82rem !important;
    line-height: 1.32 !important;
  }

  body.guest-mode #app.guest-shell .print-panel-pills {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }

  body.guest-mode #app.guest-shell .print-panel-pills span {
    min-width: 0 !important;
    padding: 5px 4px !important;
    text-align: center;
    font-size: 0.58rem !important;
  }

  body.guest-mode #app.guest-shell .print-panel .primary-action {
    min-height: 42px !important;
    font-size: 0.82rem !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-voice-button {
    width: 64px !important;
    min-height: 42px !important;
    padding: 0 6px !important;
    align-self: stretch !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-voice-button span:last-child {
    display: none !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-answer-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
  }

  body.guest-mode #app.guest-shell .ask-steve-answer-toolbar button {
    min-height: 36px !important;
    padding: 0 10px !important;
    font-size: 0.72rem !important;
  }
}

@media (max-width: 720px) {
  body.guest-mode #app.guest-shell .schedule-premium-flow,
  body.guest-mode #app.guest-shell .schedule-premium-hero,
  body.guest-mode #app.guest-shell .premium-flight-list,
  body.guest-mode #app.guest-shell .premium-flight-card,
  body.guest-mode #app.guest-shell .premium-flight-body,
  body.guest-mode #app.guest-shell .premium-lodging-list,
  body.guest-mode #app.guest-shell .premium-lodging-card,
  body.guest-mode #app.guest-shell .premium-lodging-copy,
  body.guest-mode #app.guest-shell .premium-lodging-action {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  body.guest-mode #app.guest-shell .schedule-premium-flow {
    gap: 10px !important;
  }

  body.guest-mode #app.guest-shell .schedule-premium-hero {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 14px !important;
  }

  body.guest-mode #app.guest-shell .schedule-premium-hero-icon {
    width: 46px !important;
    height: 46px !important;
  }

  body.guest-mode #app.guest-shell .schedule-premium-hero-icon svg {
    width: 25px !important;
    height: 25px !important;
  }

  body.guest-mode #app.guest-shell .schedule-premium-hero h2 {
    font-size: clamp(1.72rem, 8.4vw, 2.26rem) !important;
    line-height: 0.98 !important;
  }

  body.guest-mode #app.guest-shell .schedule-premium-hero p:not(.eyebrow) {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.guest-mode #app.guest-shell .schedule-premium-hero-art {
    grid-column: 1 / -1;
    height: 82px;
    opacity: 0.78;
  }

  body.guest-mode #app.guest-shell .flight-route-art,
  body.guest-mode #app.guest-shell .lodging-line-art {
    height: 90px;
  }

  body.guest-mode #app.guest-shell .flight-route-art-dynamic text {
    font-size: 13px;
  }

  body.guest-mode #app.guest-shell .schedule-premium-hero-art:has(.flight-route-art-dynamic),
  body.guest-mode #app.guest-shell .schedule-premium-hero-art:has(.flight-route-art-dynamic) .flight-route-art-dynamic {
    height: 104px;
  }

  body.guest-mode #app.guest-shell .premium-flight-card {
    grid-template-columns: 16px 48px minmax(0, 1fr) !important;
    gap: 9px !important;
    padding: 12px !important;
  }

  body.guest-mode #app.guest-shell .timeline-accent b {
    min-height: 132px;
  }

  body.guest-mode #app.guest-shell .airline-mark {
    width: 48px !important;
    height: 48px !important;
    font-size: 0.78rem !important;
  }

  body.guest-mode #app.guest-shell .airline-logo-stack {
    width: 48px !important;
    max-width: 48px !important;
    gap: 3px !important;
  }

  body.guest-mode #app.guest-shell .airline-logo-stack.airline-logo-count-1 {
    height: 48px !important;
  }

  body.guest-mode #app.guest-shell .airline-logo-mark {
    width: 48px !important;
    height: 48px !important;
    border-radius: 13px !important;
    padding: 4px !important;
  }

  body.guest-mode #app.guest-shell .airline-logo-count-2 .airline-logo-mark {
    height: 23px !important;
    border-radius: 9px !important;
    padding: 2px !important;
  }

  body.guest-mode #app.guest-shell .airline-logo-mark svg {
    width: 31px !important;
    height: 18px !important;
  }

  body.guest-mode #app.guest-shell .airline-logo-count-2 .airline-logo-mark svg {
    width: 24px !important;
    height: 13px !important;
  }

  body.guest-mode #app.guest-shell .airline-logo-mark strong {
    font-size: 0.34rem !important;
    line-height: 0.9 !important;
  }

  body.guest-mode #app.guest-shell .airline-logo-count-2 .airline-logo-mark strong {
    display: none;
  }

  body.guest-mode #app.guest-shell .premium-flight-meta {
    gap: 6px !important;
  }

  body.guest-mode #app.guest-shell .premium-flight-meta p,
  body.guest-mode #app.guest-shell .premium-stay-label {
    font-size: 0.64rem !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.guest-mode #app.guest-shell .flight-status-chip,
  body.guest-mode #app.guest-shell .date-chip {
    min-height: 27px;
    padding: 0 8px;
    font-size: 0.62rem !important;
  }

  body.guest-mode #app.guest-shell .date-chip {
    margin-left: 0;
  }

  body.guest-mode #app.guest-shell .premium-flight-route {
    gap: 5px;
    font-size: clamp(1.12rem, 5.8vw, 1.46rem) !important;
    line-height: 1.1 !important;
  }

  body.guest-mode #app.guest-shell .premium-flight-details p,
  body.guest-mode #app.guest-shell .record-locator-row,
  body.guest-mode #app.guest-shell .premium-room-row,
  body.guest-mode #app.guest-shell .premium-lodging-reference {
    font-size: 0.82rem !important;
    line-height: 1.32 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.guest-mode #app.guest-shell .premium-cta-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.guest-mode #app.guest-shell .premium-cta-button,
  body.guest-mode #app.guest-shell .premium-property-button {
    width: 100% !important;
    min-height: 42px !important;
    padding: 0 12px !important;
    font-size: 0.78rem !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.guest-mode #app.guest-shell .premium-lodging-card {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 10px !important;
  }

  body.guest-mode #app.guest-shell .premium-lodging-photo {
    aspect-ratio: 1;
  }

  body.guest-mode #app.guest-shell .location-chip {
    padding: 6px 8px;
    font-size: 0.58rem !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.guest-mode #app.guest-shell .premium-lodging-card h3 {
    font-size: clamp(1.2rem, 6.2vw, 1.6rem) !important;
    line-height: 1.02 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.guest-mode #app.guest-shell .premium-lodging-action {
    grid-column: 1 / -1;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px !important;
    align-items: center;
  }

  body.guest-mode #app.guest-shell .lodging-type-icon {
    width: 48px !important;
    height: 48px !important;
  }

  body.guest-mode #app.guest-shell .lodging-type-icon svg {
    width: 25px !important;
    height: 25px !important;
  }
}

@media (max-width: 720px) {
  body.guest-mode #app.guest-shell .flow-subnav a {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 34px !important;
    padding: 0 3px !important;
    font-size: 0.58rem !important;
    line-height: 1.05 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    overflow: hidden !important;
  }
}

@media print {
  @page {
    margin: 0.45in;
  }

  html,
  body,
  body.guest-mode {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: visible !important;
    background: #fff !important;
    color: #111 !important;
  }

  .shell,
  #app,
  #app.guest-shell,
  body.guest-mode #app.guest-shell,
  .shell:has(.guest-clean-topbar):not(:has(.guest-landing)) {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    font-size: 10pt !important;
  }

  #app > :not(.print-schedule-sheet) {
    display: none !important;
  }

  .print-schedule-sheet,
  body.guest-mode #app.guest-shell .print-schedule-sheet {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #111 !important;
    font-family: Georgia, "Times New Roman", serif !important;
  }

  .print-schedule-sheet *,
  body.guest-mode #app.guest-shell .print-schedule-sheet *,
  .print-schedule-sheet *::before,
  .print-schedule-sheet *::after {
    max-width: none !important;
    min-width: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    text-shadow: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .print-header,
  body.guest-mode #app.guest-shell .print-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 190px !important;
    gap: 18px !important;
    align-items: end !important;
    border-bottom: 2px solid #111 !important;
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
  }

  .print-facts,
  .print-confirmations,
  body.guest-mode #app.guest-shell .print-facts,
  body.guest-mode #app.guest-shell .print-confirmations {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .print-days,
  body.guest-mode #app.guest-shell .print-days {
    display: grid !important;
    gap: 10px !important;
  }

  .print-day,
  body.guest-mode #app.guest-shell .print-day {
    display: grid !important;
    grid-template-columns: 130px minmax(0, 1fr) !important;
    gap: 12px !important;
    border-top: 1px solid #999 !important;
    padding-top: 9px !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .print-schedule-item,
  body.guest-mode #app.guest-shell .print-schedule-item {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 8px !important;
    border-top: 1px solid #ddd !important;
    padding: 6px 0 !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .print-header h1,
  body.guest-mode #app.guest-shell .print-header h1 {
    margin: 0 0 5px !important;
    font-size: 28pt !important;
    line-height: 1 !important;
  }

  .print-header p,
  .print-pass span,
  body.guest-mode #app.guest-shell .print-header p,
  body.guest-mode #app.guest-shell .print-pass span {
    margin: 0 !important;
    font-size: 10pt !important;
    line-height: 1.35 !important;
  }

  .print-day-heading small,
  .print-day-body p,
  .print-schedule-item span,
  .print-schedule-item p,
  .print-schedule-item li,
  body.guest-mode #app.guest-shell .print-day-heading small,
  body.guest-mode #app.guest-shell .print-day-body p,
  body.guest-mode #app.guest-shell .print-schedule-item span,
  body.guest-mode #app.guest-shell .print-schedule-item p,
  body.guest-mode #app.guest-shell .print-schedule-item li {
    font-size: 8.5pt !important;
    line-height: 1.3 !important;
  }

  .print-schedule-item strong,
  body.guest-mode #app.guest-shell .print-schedule-item strong {
    font-size: 10pt !important;
    line-height: 1.2 !important;
  }

  body.printing-admin-summary .print-schedule-sheet:not(.admin-summary-print-sheet) {
    display: none !important;
  }

  body.printing-admin-trip-report .print-schedule-sheet:not(.admin-trip-report-print-sheet) {
    display: none !important;
  }

  .admin-trip-report-row {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
}

@media (max-width: 720px) {
  .admin-trip-report-intro {
    display: grid;
  }

  .admin-trip-report-intro > span {
    justify-self: start;
  }

  .admin-trip-report-controls {
    grid-template-columns: 1fr;
  }

  .admin-trip-report-controls .primary-action {
    width: 100%;
  }

  body.guest-mode #app.guest-shell .daily-activity-flow,
  body.guest-mode #app.guest-shell .daily-activity-flow > *,
  body.guest-mode #app.guest-shell .mobile-day-detail-view,
  body.guest-mode #app.guest-shell .mobile-selected-day-card,
  body.guest-mode #app.guest-shell .mobile-selected-day-schedule,
  body.guest-mode #app.guest-shell .mobile-schedule-item {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.guest-mode #app.guest-shell .mobile-selected-day-card,
  body.guest-mode #app.guest-shell .mobile-selected-day-schedule,
  body.guest-mode #app.guest-shell .mobile-schedule-item {
    overflow: visible !important;
  }

  body.guest-mode #app.guest-shell .mobile-day-detail-heading,
  body.guest-mode #app.guest-shell .mobile-day-overview,
  body.guest-mode #app.guest-shell .mobile-schedule-meta,
  body.guest-mode #app.guest-shell .mobile-schedule-title,
  body.guest-mode #app.guest-shell .mobile-schedule-place,
  body.guest-mode #app.guest-shell .mobile-schedule-detail,
  body.guest-mode #app.guest-shell .mobile-schedule-item .schedule-confirmation,
  body.guest-mode #app.guest-shell .mobile-schedule-item .check-in-links,
  body.guest-mode #app.guest-shell .mobile-note-list,
  body.guest-mode #app.guest-shell .mobile-note-list li {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  body.guest-mode #app.guest-shell .mobile-day-detail-heading h2 {
    font-size: clamp(1.82rem, 9vw, 2.42rem) !important;
    line-height: 1.02 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  body.guest-mode #app.guest-shell .mobile-day-overview {
    font-size: 0.86rem !important;
    line-height: 1.38 !important;
  }

  body.guest-mode #app.guest-shell .mobile-schedule-meta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 5px 8px !important;
    align-items: start !important;
  }

  body.guest-mode #app.guest-shell .mobile-schedule-meta strong,
  body.guest-mode #app.guest-shell .mobile-schedule-meta span {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: break-word !important;
  }

  body.guest-mode #app.guest-shell .mobile-schedule-meta span {
    justify-self: end !important;
    text-align: right !important;
  }

  body.guest-mode #app.guest-shell .mobile-schedule-title {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  body.guest-mode #app.guest-shell .mobile-schedule-title h3 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.96rem !important;
    line-height: 1.16 !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: break-word !important;
  }

  body.guest-mode #app.guest-shell .mobile-schedule-title .status {
    justify-self: start !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 26px !important;
    white-space: normal !important;
    text-align: left !important;
    line-height: 1.05 !important;
  }

  body.guest-mode #app.guest-shell .mobile-schedule-place,
  body.guest-mode #app.guest-shell .mobile-schedule-detail,
  body.guest-mode #app.guest-shell .mobile-note-list li {
    font-size: 0.82rem !important;
    line-height: 1.34 !important;
  }

  body.guest-mode #app.guest-shell .mobile-schedule-item .check-in-links > div {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.guest-mode #app.guest-shell .mobile-schedule-item .check-in-links a {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }
}

/* Admin Studio operating console refresh */
.admin-command-center-panel {
  width: min(1400px, calc(100vw - 24px));
  gap: 8px;
  padding: 14px;
}

.admin-command-header {
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
}

.admin-command-brand-lockup {
  display: flex;
  min-width: 0;
  gap: 10px;
  align-items: center;
}

.admin-command-logo-button {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.admin-command-logo-button:focus-visible {
  outline: 3px solid rgba(184, 137, 61, 0.42);
  outline-offset: 4px;
}

.admin-command-logo {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(230, 190, 120, 0.62);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 24%, rgba(230, 190, 120, 0.32), transparent 30%),
    linear-gradient(145deg, #071823, #0b2632);
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(5, 20, 31, 0.2);
}

.admin-command-header h2 {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.05;
}

.admin-command-header p:not(.eyebrow) {
  margin-top: 3px;
  font-size: 0.78rem;
  line-height: 1.2;
}

.admin-command-header .eyebrow {
  margin-bottom: 2px;
  font-size: 0.62rem;
}

.admin-home-hero {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  min-height: 104px;
  align-content: center;
  padding: 24px 28px;
  border: 1px solid rgba(184, 137, 61, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 0%, rgba(230, 190, 120, 0.18), transparent 36%),
    linear-gradient(135deg, #071823, #123a39);
  color: #fff;
}

.admin-home-hero h3 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.admin-home-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.4;
  white-space: nowrap;
}

.admin-home-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-home-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 12px;
  min-width: 0;
  min-height: 180px;
  border: 1px solid rgba(184, 137, 61, 0.24);
  border-radius: 8px;
  padding: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 137, 61, 0.18), transparent 38%),
    linear-gradient(145deg, #fffaf0, #ffffff);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 18px 34px rgba(16, 31, 43, 0.08);
  cursor: pointer;
}

.admin-home-card:hover,
.admin-home-card:focus-visible {
  border-color: rgba(184, 137, 61, 0.58);
  transform: translateY(-1px);
}

.admin-home-card-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(230, 190, 120, 0.56);
  border-radius: 999px;
  background: linear-gradient(145deg, #071823, #0e3540);
  color: #eac57f;
}

.admin-home-card-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.admin-home-card span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.admin-home-card strong {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1;
}

.admin-home-card em {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.35;
}

.admin-home-card b {
  grid-column: 1 / -1;
  justify-self: start;
  border: 1px solid rgba(20, 67, 53, 0.16);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(20, 67, 53, 0.08);
  color: var(--green);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-back-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(184, 137, 61, 0.24);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.admin-back-link:hover,
.admin-back-link:focus-visible {
  border-color: rgba(184, 137, 61, 0.5);
  background: #fff8ea;
}

.admin-metric-pills {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.trips-only-metrics {
  margin-bottom: 10px;
}

.admin-metric-pill {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(184, 137, 61, 0.24);
  border-radius: 8px;
  padding: 8px 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 137, 61, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 234, 0.84));
  box-shadow: 0 10px 26px rgba(16, 31, 43, 0.07);
}

.admin-metric-pill i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(184, 137, 61, 0.34);
  border-radius: 999px;
  background: #fffaf0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.admin-metric-pill span {
  min-width: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-metric-pill strong {
  color: var(--green);
  font-size: 1.05rem;
}

.trip-summary-tile {
  grid-template-columns: minmax(0, 1fr) auto;
  text-align: left;
  cursor: pointer;
}

.trip-summary-tile:hover {
  border-color: rgba(184, 137, 61, 0.42);
  transform: translateY(-1px);
}

.admin-section-tabs {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  overflow-x: visible;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  margin: 0;
  padding: 4px 1px 8px;
  background: linear-gradient(180deg, rgba(248, 250, 247, 0.98), rgba(248, 250, 247, 0.92));
}

.admin-section-tabs button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  min-height: 42px;
  min-width: 0;
  border-radius: 999px;
  padding: 7px 10px;
}

.admin-section-tabs button .admin-tab-icon {
  grid-row: auto;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(184, 137, 61, 0.32);
  border-radius: 999px;
  color: var(--gold);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 900;
}

.admin-section-tabs button span {
  font-size: 0.86rem;
  white-space: nowrap;
}

.admin-section-tabs button small {
  font-size: 0.64rem;
  letter-spacing: 0;
}

.admin-section-tabs button strong {
  grid-column: 3;
  grid-row: 1 / span 2;
  min-width: 30px;
  padding: 5px 7px;
  font-size: 0.72rem;
}

.studio-trip-select-card button b {
  justify-self: end;
  border: 1px solid rgba(20, 67, 53, 0.18);
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-trip-select-thumb {
  display: block;
  width: 86px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(184, 137, 61, 0.36);
  border-radius: 8px;
  background: #071722;
}

.studio-trip-select-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-trip-select-card small {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trip-hero-uploader {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(280px, 1fr);
  gap: 12px;
  align-items: stretch;
  border: 1px solid rgba(16, 31, 43, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(241, 247, 244, 0.92));
}

.trip-hero-preview {
  display: grid;
  min-height: 180px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(184, 137, 61, 0.38);
  border-radius: 8px;
  background: #071722;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.1rem;
  text-align: center;
}

.trip-hero-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lodging-photo-preview {
  min-height: 150px;
}

.trip-hero-controls {
  display: grid;
  gap: 10px;
  align-content: center;
}

.pending-update-table-labels {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(16, 31, 43, 0.08);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(7, 24, 35, 0.04);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-command-hero {
  padding: 14px;
}

.admin-command-hero h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.admin-command-panel-grid {
  align-items: start;
}

.admin-next-steps-card,
.admin-readiness-card {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.admin-next-steps-card article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(16, 31, 43, 0.08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-next-steps-card article > strong {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
}

.admin-next-steps-card span {
  color: var(--ink);
  font-weight: 900;
}

.admin-next-steps-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.admin-subnav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
}

.admin-subnav button,
.guest-filter-row button {
  flex: 0 0 auto;
  border: 1px solid rgba(16, 31, 43, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--green);
  font-weight: 900;
  cursor: pointer;
}

.admin-subnav button.active,
.guest-filter-row button.active {
  border-color: rgba(184, 137, 61, 0.4);
  background: var(--green);
  color: #fff;
}

.guest-console-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.25fr);
  gap: 14px;
  align-items: start;
}

.guest-workspace-card {
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(255, 255, 255, 0.94)),
    #fff;
}

.guest-workspace-card > .admin-card-heading,
.guest-workspace-card > .guest-selection-shell,
.guest-workspace-card > .guest-edit-panel {
  padding: 12px;
}

.guest-select-heading {
  border-bottom: 1px solid rgba(16, 31, 43, 0.08);
  background:
    radial-gradient(circle at 94% 0%, rgba(184, 137, 61, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(7, 24, 35, 0.04), rgba(255, 255, 255, 0.92));
}

.guest-select-heading h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.guest-selection-shell {
  display: grid;
  gap: 8px;
}

.guest-selection-search {
  max-width: 540px;
}

.guest-page-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

.studio-assignment-row [role="cell"]:last-child {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.assignment-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
}

.assignment-action {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #bdc9c3;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.assignment-invite {
  border-color: #0d4a42;
  background: #0d4a42;
  color: #fff;
}

.assignment-remove {
  border-color: rgba(142, 63, 78, 0.24);
  color: var(--berry);
}

.assignment-action:hover {
  border-color: #7a968b;
  background: #f4f8f6;
}

.assignment-invite:hover {
  border-color: #083b34;
  background: #083b34;
}

.assignment-remove:hover {
  border-color: rgba(142, 63, 78, 0.45);
  background: rgba(142, 63, 78, 0.07);
}

/* On phones, guest assignments become complete cards rather than a clipped
   desktop table. Every action stays in the card with its guest. */
@media (max-width: 720px) {
  .studio-assignment-table {
    gap: 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .studio-assignment-row.header {
    display: none;
  }

  .studio-assignment-row:not(.header) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(16, 31, 43, 0.05);
  }

  .studio-assignment-row:not(.header) [role="cell"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3px;
    min-width: 0;
    font-size: 0.95rem;
  }

  .studio-assignment-row:not(.header) [role="cell"]::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .studio-assignment-row:not(.header) [role="cell"]:last-child {
    grid-column: 1 / -1;
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .assignment-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    white-space: normal;
  }

  .assignment-action {
    min-height: 38px;
    padding: 7px 11px;
  }
}

.guest-selection-list {
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  max-height: none;
  overflow: visible;
  gap: 14px;
}

.guest-selection-list article,
.guest-selector-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  align-content: center;
  min-width: 0;
}

.guest-selector-card {
  width: 100%;
  min-height: 104px;
  box-sizing: border-box;
  overflow: visible;
  padding: 16px;
}

.guest-selector-details {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.guest-selector-avatar {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(184, 137, 61, 0.42);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, rgba(184, 137, 61, 0.18), transparent 36%),
    #fff8ea;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 900;
}

.guest-selector-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guest-selector-name {
  display: block;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.16;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-selector-percent {
  width: fit-content;
  border: 1px solid rgba(20, 67, 53, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(20, 67, 53, 0.08);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guest-selector-missing {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-selector-missing.attention {
  color: var(--berry);
}

.guest-selector-missing.ready {
  color: var(--green);
}

.guest-selector-actions {
  display: grid;
  grid-template-columns: minmax(74px, auto);
  gap: 8px;
  justify-self: end;
}

.guest-selector-actions .quiet-action {
  min-height: 44px;
  justify-content: center;
  padding: 9px 10px;
}

.guest-console-list,
.guest-edit-panel {
  min-width: 0;
}

.guest-edit-panel {
  gap: 10px;
}

.guest-editor-title {
  align-items: center;
  border-bottom: 1px solid rgba(16, 31, 43, 0.08);
  padding-bottom: 8px;
}

.guest-editor-title p:not(.eyebrow) {
  max-width: 680px;
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

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

.guest-form-section {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(16, 31, 43, 0.1);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.74);
}

.guest-form-section-heading {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guest-form-section-heading span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(184, 137, 61, 0.34);
  border-radius: 999px;
  background: #fff8ea;
  color: var(--gold);
  font-size: 0.68rem;
}

.guest-photo-uploader {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.guest-photo-preview {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(184, 137, 61, 0.36);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, rgba(184, 137, 61, 0.18), transparent 36%),
    #fff8ea;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 900;
}

.guest-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guest-photo-controls {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.photo-file-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184, 137, 61, 0.36);
  border-radius: 999px;
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--green), #0a473c);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.photo-file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.photo-url-fallback {
  display: grid;
  gap: 5px;
}

.photo-url-fallback span,
.photo-help {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.photo-url-fallback input {
  min-height: 36px;
}

.photo-help {
  margin: 0;
  line-height: 1.35;
}

.quiet-action.compact {
  width: fit-content;
  min-height: 0;
  padding: 8px 12px;
  font-size: 0.76rem;
}

.guest-empty-panel {
  display: grid;
  align-content: center;
  min-height: 360px;
  border: 1px solid rgba(16, 31, 43, 0.12);
  border-radius: 10px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 252, 244, 0.94), rgba(255, 255, 255, 0.9));
}

.guest-empty-panel h3 {
  margin: 4px 0 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.55rem;
}

.guest-empty-panel p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.55;
}

.guest-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.guest-choice-actions span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.primary-action.compact {
  width: auto;
  min-height: 0;
  padding: 9px 14px;
  font-size: 0.78rem;
}

.admin-search-box {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.admin-search-box span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-search-box input {
  width: 100%;
  border: 1px solid rgba(16, 31, 43, 0.14);
  border-radius: 999px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

.guest-filter-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 8px;
}

.guest-filter-row button {
  padding: 7px 10px;
  font-size: 0.76rem;
}

.guest-profile-list {
  max-height: 560px;
  overflow: visible;
  padding-right: 2px;
}

.guest-profile-list article.active {
  border-color: rgba(184, 137, 61, 0.45);
  background: linear-gradient(135deg, rgba(255, 248, 230, 0.86), rgba(255, 255, 255, 0.92));
}

.guest-status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 6px 0;
  min-width: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16, 31, 43, 0.1);
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(16, 31, 43, 0.04);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
}

.status-badge.ready {
  border-color: rgba(29, 83, 68, 0.18);
  background: rgba(29, 83, 68, 0.09);
  color: var(--green);
}

.status-badge.attention {
  border-color: rgba(142, 63, 78, 0.18);
  background: rgba(142, 63, 78, 0.08);
  color: var(--berry);
}

.guest-readiness-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(16, 31, 43, 0.1);
  border-radius: 10px;
  margin: 10px 0;
  padding: 12px;
  background: rgba(16, 31, 43, 0.035);
}

.guest-readiness-card.ready {
  border-color: rgba(29, 83, 68, 0.16);
  background: rgba(29, 83, 68, 0.06);
}

.guest-readiness-card.needs-work {
  border-color: rgba(184, 137, 61, 0.2);
  background: rgba(255, 248, 230, 0.64);
}

.guest-readiness-card strong {
  color: var(--ink);
}

.guest-readiness-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.guest-readiness-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guest-readiness-card li {
  border: 1px solid rgba(16, 31, 43, 0.1);
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.guest-readiness-card li.required {
  border-color: rgba(142, 63, 78, 0.2);
  color: var(--berry);
}

.guest-readiness-card li.recommended {
  border-color: rgba(184, 137, 61, 0.22);
  color: #9a702f;
}

.guest-readiness-card .guest-optional-note {
  color: var(--muted);
  font-size: 0.76rem;
}

.guest-field-missing span {
  color: var(--berry);
}

.guest-field-missing span em {
  display: inline-flex;
  margin-left: 6px;
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(142, 63, 78, 0.1);
  color: var(--berry);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guest-field-missing input {
  border-color: rgba(142, 63, 78, 0.42);
  background: rgba(142, 63, 78, 0.045);
  box-shadow: 0 0 0 3px rgba(142, 63, 78, 0.08);
}

.studio-row-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.quiet-action.danger {
  border-color: rgba(142, 63, 78, 0.22);
  color: var(--berry);
}

.quiet-action.danger:hover {
  border-color: rgba(142, 63, 78, 0.42);
  background: rgba(142, 63, 78, 0.07);
}

.completion-meter {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 31, 43, 0.08);
}

.completion-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.guest-editor-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.guest-editor-title h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.form-accordion {
  border: 1px solid rgba(16, 31, 43, 0.1);
  border-radius: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.76);
}

.form-accordion + .form-accordion {
  margin-top: 8px;
}

.form-accordion summary {
  cursor: pointer;
  padding: 11px 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-accordion > :not(summary) {
  margin: 0 12px 12px;
}

.admin-sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(248, 250, 247, 0.98) 24%);
}

@media (max-width: 900px) {
  .admin-command-center-panel {
    width: min(100vw - 14px, 760px);
    padding: 12px;
  }

  .admin-command-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-command-header h2 {
    font-size: 1.28rem;
  }

  .admin-command-header p:not(.eyebrow) {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .admin-actions {
    flex-wrap: wrap;
  }

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

  .admin-section-tabs {
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .admin-section-tabs button {
    min-width: 128px;
    min-height: 48px;
    padding: 7px 9px;
  }

  .admin-section-tabs button small,
  .admin-section-tabs button strong {
    display: none;
  }

  .admin-section-tabs button {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .admin-command-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .admin-command-hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .admin-home-hero {
    padding: 22px;
  }

  .admin-home-hero p:not(.eyebrow) {
    white-space: normal;
  }

  .admin-command-hero-facts article {
    padding: 9px;
  }

  .admin-command-panel-grid,
  .admin-command-panel-grid.single {
    grid-template-columns: minmax(0, 1fr);
  }

  .studio-trip-selection-list,
  .pending-update-values {
    grid-template-columns: minmax(0, 1fr);
  }

  .guest-selection-list {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .studio-trip-select-card button {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .studio-trip-select-card button b {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .studio-trip-select-thumb {
    width: 76px;
  }

  .trip-hero-uploader {
    grid-template-columns: minmax(0, 1fr);
  }

  .trip-hero-preview {
    min-height: 180px;
  }

  .pending-update-table-labels {
    display: none;
  }

  .trip-workspace-header,
  .pending-update-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .trip-workspace-header > .status-badge,
  .pending-update-actions {
    justify-self: start;
  }

  .trip-workspace-tabs button {
    min-width: 108px;
    padding: 9px 12px;
  }

  .guest-console-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .guest-selection-list,
  .guest-editor-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dynamic-welcome-personal-heading {
    align-items: flex-start;
  }

  .dynamic-welcome-personal-heading .guest-avatar,
  .guest-self-photo-row .guest-avatar {
    width: 64px;
    height: 64px;
  }

  .personal-details-action,
  .guest-self-photo-button {
    width: 100%;
  }

  .guest-self-photo-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .guest-photo-uploader {
    grid-template-columns: minmax(0, 1fr);
  }

  .guest-profile-list {
    max-height: none;
    overflow: visible;
  }

  .studio-directory-card,
  .admin-dashboard-card {
    padding: 14px;
  }
}

@media (max-width: 520px) {
  .admin-metric-pills {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-command-hero-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-home-card {
    min-height: 150px;
    padding: 14px;
  }

  .admin-home-card strong {
    font-size: 1.25rem;
  }

  .admin-home-card em {
    font-size: 0.82rem;
  }

  .admin-section-tabs button {
    min-width: 112px;
  }

  .admin-section-tabs button .admin-tab-icon {
    width: 26px;
    height: 26px;
    font-size: 0.62rem;
  }

  .guest-editor-title {
    align-items: stretch;
    flex-direction: column;
  }

  .guest-selection-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .guest-selector-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 88px;
    padding: 12px;
  }

  .guest-selector-avatar {
    width: 56px;
    height: 56px;
  }

  .guest-selector-name {
    font-size: 0.94rem;
  }

  .guest-selector-percent {
    padding: 4px 8px;
    font-size: 0.66rem;
  }

  .guest-selector-missing {
    font-size: 0.72rem;
  }

  .guest-selector-actions {
    grid-template-columns: minmax(68px, auto);
    gap: 6px;
  }

  .guest-selector-actions .quiet-action {
    min-height: 44px;
    padding: 8px 9px;
    font-size: 0.72rem;
  }

  .dynamic-welcome-stage {
    gap: 12px;
  }

  .dynamic-welcome-headline .eyebrow {
    margin-bottom: 6px;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
  }

  .dynamic-welcome-headline h1 {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }

  .dynamic-welcome-art {
    min-height: 0;
    aspect-ratio: 1 / 1.06;
  }

  .dynamic-welcome-identity {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    width: calc(100% - 28px);
    min-height: 112px;
    margin-top: -44px;
    padding: 14px 16px 14px 118px;
    border-radius: 16px;
  }

  .dynamic-welcome-portrait {
    left: 58px;
    top: 50%;
    width: 112px;
    height: 112px;
    border-width: 4px;
  }

  .dynamic-welcome-identity-copy strong {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .dynamic-welcome-identity-copy span::after {
    width: 82%;
    margin-top: 10px;
  }
}

/* Keep the Command Center controls inside a phone viewport instead of relying on sideways scrolling. */
@media (max-width: 720px) {
  body.admin-mode .admin-command-center-panel,
  body.admin-mode .trip-workspace-shell,
  body.admin-mode .admin-command-panel-grid,
  body.admin-mode .studio-compact-panel,
  body.admin-mode .studio-compact-panel summary,
  body.admin-mode .studio-compact-panel-body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.admin-mode .trip-workspace-tabs,
  body.admin-mode .admin-subnav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100% !important;
    overflow: visible !important;
    padding: 2px 0 10px;
  }

  body.admin-mode .trip-workspace-tabs button,
  body.admin-mode .admin-subnav button {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal;
  }

  body.admin-mode .studio-compact-panel summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 13px 12px;
  }

  body.admin-mode .studio-compact-panel summary em {
    overflow-wrap: anywhere;
  }

body.admin-mode .studio-compact-panel summary b {
    padding: 6px 8px;
  }

  body.guest-mode #app.guest-shell .weather-temperature-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 10px;
  }
}

/* Public SMS consent and legal pages */
body.sms-public-mode {
  background: #071824;
}

.shell.sms-public-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.sms-public-page {
  min-height: 100vh;
  padding: clamp(24px, 5vw, 68px) 20px 34px;
  color: #f8f5ee;
  background:
    linear-gradient(135deg, rgba(4, 17, 28, 0.98), rgba(7, 50, 52, 0.94)),
    url("./assets/login-rotating-09.jpg") center / cover no-repeat;
}

.sms-public-shell {
  width: min(760px, 100%);
  margin: 0 auto;
}

.sms-public-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #fffdf8;
  text-decoration: none;
}

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

.sms-public-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.sms-public-brand span {
  display: grid;
  gap: 2px;
}

.sms-public-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 500;
}

.sms-public-brand small {
  color: #e7bd72;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sms-public-card,
.sms-policy-card {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(222, 188, 118, 0.48);
  border-radius: 12px;
  color: #142534;
  background: rgba(255, 253, 247, 0.97);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.sms-public-card h1,
.sms-policy-card h1 {
  margin: 0 0 14px;
  color: #082337;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1;
}

.sms-public-card .eyebrow,
.sms-policy-card .eyebrow {
  margin-bottom: 9px;
  color: #944d5d;
}

.sms-lead {
  max-width: 56ch;
  margin-bottom: 26px;
  color: #40525a;
  font-size: 1.08rem;
  line-height: 1.55;
}

.sms-opt-in-form {
  display: grid;
  gap: 18px;
}

.sms-opt-in-form > label:not(.sms-consent-control) {
  display: grid;
  gap: 7px;
  color: #20313a;
  font-weight: 750;
}

.sms-opt-in-form label em {
  color: #6d7879;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
}

.sms-opt-in-form input[type="text"],
.sms-opt-in-form input[type="tel"] {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  border: 1px solid #b8c0bd;
  border-radius: 7px;
  color: #132633;
  background: #fffefa;
}

.sms-consent-control {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 16px;
  border: 1px solid #dcc18b;
  border-radius: 8px;
  color: #29383d;
  background: #f9f4e8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.sms-consent-control input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: #0c493d;
}

.sms-disclosures {
  display: grid;
  gap: 6px;
  color: #566264;
  font-size: 0.89rem;
  line-height: 1.45;
}

.sms-disclosures p {
  margin: 0;
}

.sms-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: inherit;
  font-size: 0.85rem;
}

.sms-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sms-form-legal {
  color: #4e5e61;
}

.sms-opt-in-submit {
  min-height: 52px;
}

.sms-opt-in-submit:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.sms-opt-in-skip {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid #aebdb8;
  border-radius: 7px;
  color: #154b42;
  font-weight: 800;
  text-align: center;
}

.sms-opt-in-skip:hover {
  background: #f1f5f1;
  text-decoration: none;
}

.sms-how-it-works {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ded8ca;
}

.sms-how-it-works h2 {
  margin: 0 0 8px;
  color: #0e493e;
  font-size: 1.12rem;
}

.sms-how-it-works p {
  margin: 0;
  color: #526060;
  line-height: 1.5;
}

.sms-form-error {
  margin: 0;
  color: #a12f45;
  font-weight: 700;
}

.sms-opt-in-success {
  padding: 18px;
  border: 1px solid #96bb9a;
  border-radius: 8px;
  color: #153f36;
  background: #eef7ec;
}

.sms-opt-in-success p {
  margin: 6px 0 0;
}

.sms-keyword-line,
.sms-welcome-copy {
  margin: 22px 0 0;
  color: #526060;
  line-height: 1.5;
}

.sms-welcome-copy {
  padding-top: 20px;
  border-top: 1px solid #ded8ca;
  font-size: 0.88rem;
}

.sms-policy-card {
  display: grid;
  gap: 0;
}

.sms-policy-card h2 {
  margin: 24px 0 7px;
  color: #0e493e;
  font-size: 1.12rem;
}

.sms-policy-card p {
  margin-bottom: 0;
  color: #435056;
  line-height: 1.58;
}

.sms-policy-card a {
  color: #0d5047;
  text-decoration: underline;
}

.sms-effective-date {
  color: #796f61 !important;
  font-size: 0.88rem;
}

.sms-public-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 21px 2px 0;
  color: rgba(255, 253, 247, 0.86);
  font-size: 0.83rem;
}

.landing-legal-links {
  position: absolute;
  left: clamp(22px, 4vw, 58px);
  right: auto;
  bottom: 18px;
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 32px);
  flex-wrap: nowrap;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
}

.app-legal-links {
  position: fixed;
  right: 18px;
  bottom: 12px;
  z-index: 20;
  color: #576461;
}

.session-legal-links {
  justify-content: center;
  margin-top: 10px;
  color: #66716d;
}

@media (max-width: 720px) {
  .sms-public-page {
    padding: 20px 15px 28px;
  }

  .sms-public-brand {
    margin-bottom: 18px;
  }

  .sms-public-brand img {
    width: 48px;
    height: 48px;
  }

  .sms-public-brand strong {
    font-size: 1.45rem;
  }

  .sms-public-card,
  .sms-policy-card {
    padding: 23px 18px;
    border-radius: 9px;
  }

  .landing-legal-links {
    left: 50%;
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    font-size: 0.72rem;
    z-index: 6;
  }
}

/* Studio trip artwork uses a standalone welcome composition so legacy card rules
   cannot crop the image or leave an oversized mobile spacer beneath it. */
.trip-welcome-showcase {
  width: min(100%, 600px);
  margin: 0 auto;
}

.trip-welcome-heading {
  margin-bottom: 14px;
}

.trip-welcome-heading h1 {
  font-size: clamp(2.55rem, 7vw, 4.2rem);
}

.trip-welcome-art {
  overflow: hidden;
  border: 1px solid rgba(218, 176, 94, 0.8);
  border-radius: 18px;
  background: #061923;
  box-shadow: 0 18px 40px rgba(8, 25, 36, 0.2);
}

.trip-welcome-art img {
  display: block;
  width: 100%;
  height: auto;
}

.trip-welcome-guest-card {
  position: relative;
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: calc(100% - 48px);
  min-height: 124px;
  margin: -38px auto 0;
  padding: 16px 24px 16px 154px;
  border: 1px solid rgba(218, 176, 94, 0.8);
  border-radius: 18px;
  background: linear-gradient(135deg, #fffaf0, #fffefa);
  box-shadow: 0 20px 42px rgba(8, 25, 36, 0.18);
}

.trip-welcome-guest-photo {
  position: absolute;
  left: 76px;
  top: 50%;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  overflow: hidden;
  border: 4px solid #e6be78;
  border-radius: 50%;
  background: #f6ead7;
  color: var(--green);
  box-shadow: 0 14px 32px rgba(8, 25, 36, 0.22);
  transform: translate(-50%, -50%);
}

.trip-welcome-guest-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-welcome-guest-photo strong {
  font-family: var(--serif);
  font-size: 2rem;
}

.trip-welcome-guest-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.trip-welcome-guest-copy p {
  order: 2;
  margin: 0;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trip-welcome-guest-copy strong {
  order: 1;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.7rem);
  font-weight: 500;
  line-height: 0.95;
}

.trip-welcome-guest-copy span {
  order: 3;
  width: min(180px, 90%);
  height: 1px;
  margin-top: 8px;
  background: linear-gradient(90deg, rgba(184, 137, 61, 0.78), transparent);
}

@media (max-width: 720px) {
  .trip-welcome-heading {
    margin-bottom: 10px;
  }

  .trip-welcome-heading h1 {
    font-size: clamp(2.55rem, 12vw, 3.5rem) !important;
    line-height: 0.96 !important;
  }

  .trip-welcome-art {
    border-radius: 14px;
  }

  .trip-welcome-guest-card {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 24px);
    min-height: 112px;
    margin-top: -30px;
    padding: 16px 14px 16px 122px;
    border-radius: 16px;
  }

  .trip-welcome-guest-photo {
    left: 62px;
    width: 116px;
    height: 116px;
  }

  .trip-welcome-guest-copy strong {
    font-size: clamp(2rem, 9.2vw, 2.55rem);
    white-space: nowrap;
  }

  .trip-welcome-guest-copy p {
    font-size: 0.65rem;
  }
}

/* On wider desktop screens, the welcome artwork and personal card can share a
   row without squeezing the four guest shortcuts into narrow columns. */
@media (min-width: 960px) {
  body.guest-mode #app.guest-shell .dynamic-welcome-flow {
    display: grid;
    grid-template-columns: minmax(440px, 600px) minmax(400px, 480px);
    align-items: start;
    gap: 20px;
    width: min(100%, 1100px);
    max-width: 1100px;
    padding-top: 12px;
  }

  body.guest-mode #app.guest-shell .dynamic-welcome-stage {
    max-width: 600px;
    margin: 0;
  }

  body.guest-mode #app.guest-shell .dynamic-welcome-headline {
    text-align: left;
  }

  body.guest-mode #app.guest-shell .trip-welcome-heading {
    margin-bottom: 10px;
  }

  body.guest-mode #app.guest-shell .trip-welcome-heading h1 {
    font-size: clamp(2.45rem, 4vw, 3.55rem);
    line-height: 0.98;
  }

  body.guest-mode #app.guest-shell .trip-welcome-showcase {
    width: 100%;
  }

  body.guest-mode #app.guest-shell .trip-welcome-art img {
    height: min(52vh, 500px);
    object-fit: contain;
  }

  body.guest-mode #app.guest-shell .trip-welcome-guest-card {
    min-height: 106px;
    margin-top: -32px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  body.guest-mode #app.guest-shell .trip-welcome-guest-photo {
    width: 118px;
    height: 118px;
  }

  body.guest-mode #app.guest-shell .trip-welcome-guest-copy strong {
    overflow: hidden;
    font-size: clamp(2rem, 3.1vw, 3rem);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.guest-mode #app.guest-shell .dynamic-general-welcome-card {
    align-self: start;
    min-height: 0;
    padding: 22px;
  }

  body.guest-mode #app.guest-shell .dynamic-general-welcome-card h1 {
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    line-height: 1;
  }

  body.guest-mode #app.guest-shell .dynamic-general-welcome-card .welcome-letter-note {
    margin-top: 14px;
  }
}

/* A Retina desktop can be 960 CSS pixels wide even though its screenshot is
   much wider. Keep the guest header horizontal above the mobile breakpoint so
   the tablet layout never strands the profile control on a third row. */
@media (min-width: 721px) {
  body.guest-mode #app.guest-shell .app-topbar.guest-clean-topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
  }

  body.guest-mode #app.guest-shell .view-tabs.guest-tabs {
    flex-wrap: nowrap;
    justify-self: end;
  }

  body.guest-mode #app.guest-shell .topbar-profile-trigger {
    justify-self: end;
  }
}
