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

* {
  box-sizing: border-box;
}

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

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

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

.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 span {
  margin-left: 8px;
  color: inherit;
  font-size: 1rem;
}

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

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

.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(220px, 0.55fr) minmax(420px, 1fr);
}

.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 {
  grid-template-columns: repeat(3, minmax(96px, 1fr));
}

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

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

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

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

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

.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 10px;
  color: #7e4a2c;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 850;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.weather-card h3 {
  margin: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.panel {
  padding: 20px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.media-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: 16px;
  align-items: center;
  margin: 0 0 20px;
  background:
    linear-gradient(135deg, rgba(237, 245, 241, 0.92), rgba(255, 255, 255, 0.88)),
    #fff;
}

.print-panel h2 {
  margin: 0;
}

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

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

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

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

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

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

  .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 {
    grid-template-columns: 1fr;
  }

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

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

  .health-strip,
  .admin-command-metrics,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 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: center top;
  }

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

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

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

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

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

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

  .intake-field-grid,
  .flight-intake-heading,
  .intake-actions,
  .admin-report-heading,
  .admin-report-row,
  .admin-command-header,
  .admin-card-heading,
  .admin-command-metrics,
  .admin-form-pair,
  .admin-form-trio,
  .admin-record-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;
  }
}
