:root {
  color-scheme: light;
  --font-ui: Inter, "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --canvas: #fffcf9;
  --surface: #fffefd;
  --surface-warm: #fff7ef;
  --surface-soft: #f8f5ef;
  --ink: #101426;
  --ink-soft: #41485b;
  --muted: #687084;
  --rust: #943306;
  --rust-dark: #6f260d;
  --rust-soft: #f6e7dd;
  --copper: #bd5d22;
  --line: #ebdfd5;
  --line-strong: #dfd0c3;
  --green: #147c3a;
  --green-dark: #0b632d;
  --green-soft: #edf7ef;
  --amber: #b45b0a;
  --amber-soft: #fff2df;
  --red: #ad3329;
  --red-soft: #fff0ed;
  --purple: #6c43a1;
  --purple-soft: #f2eafb;
  --blue: #286dd5;
  --shadow: 0 16px 42px rgba(91, 48, 20, 0.065);
  --radius: 20px;
  --radius-small: 14px;
  --content: 900px;
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
}

/* Preserve native hidden behavior even when component classes set display. */
[hidden] { display: none !important; }

.flight-add-chooser { padding-top: 20px; color: #21120d; }
.flight-add-chooser h2 { font-size: 29px; font-weight: 600; margin: 0 0 28px; }
.flight-add-options { display: grid; gap: 20px; }
.flight-add-option { display: grid; grid-template-columns: 108px minmax(0, 1fr) 28px; align-items: center; gap: 26px; border: 1px solid #f0d3c1; border-radius: 21px; min-height: 186px; padding: 28px; background: transparent; color: inherit; font: inherit; text-align: left; }
.flight-add-option button { padding: 0; border: 0; background: transparent; color: inherit; opacity: 1; font: inherit; font-weight: 600; font-size: 29px; }
.flight-add-option strong { display: block; margin-bottom: 10px; font-size: 29px; font-weight: 600; }
.flight-add-option p, .flight-add-option strong + span { margin: 10px 0 0; font-size: 25px; line-height: 1.5; }
.flight-add-icon { width: 104px; height: 104px; border: 1px solid #efc6ae; border-radius: 50%; display: grid; place-items: center; font-size: 49px; color: #a63a11; }
.flight-add-option > span:last-child { font-size: 43px; }
.flight-add-information { display: flex; gap: 25px; border: 1px solid var(--line); border-radius: 20px; padding: 29px; margin: 38px 0 52px; font-size: 25px; line-height: 1.5; }
.flight-add-information > span { font-size: 36px; }
.flight-add-information p { margin: 0; }
.flight-add-next { display: flex; gap: 24px; padding: 30px 25px; border: 1px solid #efcbb8; border-radius: 20px; margin-bottom: 35px; }
.flight-add-next .flight-add-icon { width: 84px; height: 84px; flex-shrink: 0; }
.flight-add-next h2 { font-size: 27px; margin: 3px 0 12px; }
.flight-add-next ul { padding-left: 25px; margin: 0; font-size: 24px; line-height: 1.6; }
.flight-add-next li { margin-bottom: 10px; }
[data-approved-screen="add-flight"] { width: min(797px, calc(100% - 76px)); padding-top: 75px; }
[data-approved-screen="add-flight"] .screen-header { margin-bottom: 44px; gap: 54px; }
[data-approved-screen="add-flight"] .screen-header h1 { font-size: 38px; font-weight: 600; }
[data-approved-screen="add-flight"] .screen-header p { font-size: 25px; margin-top: 12px; }
@media (max-width: 600px) {
  [data-approved-screen="add-flight"] { width: calc(100% - 32px); padding-top: 24px; }
  [data-approved-screen="add-flight"] .screen-header { gap: 17px; margin-bottom: 24px; }
  [data-approved-screen="add-flight"] .screen-header h1 { font-size: 28px; }
  [data-approved-screen="add-flight"] .screen-header p { font-size: 16px; }
  .flight-add-chooser h2 { font-size: 21px; margin-bottom: 20px; }
  .flight-add-option { grid-template-columns: 52px minmax(0, 1fr) 12px; gap: 13px; padding: 18px 12px; min-height: 120px; border-radius: 16px; }
  .flight-add-icon { width: 50px; height: 50px; font-size: 28px; }
  .flight-add-option strong, .flight-add-option button { font-size: 19px; }
  .flight-add-option p, .flight-add-option strong + span { font-size: 16px; }
  .flight-add-option > span:last-child { font-size: 28px; }
  .flight-add-information { font-size: 17px; gap: 15px; padding: 18px; margin: 28px 0; }
  .flight-add-next { padding: 18px; gap: 15px; }
  .flight-add-next .flight-add-icon { width: 48px; height: 48px; }
  .flight-add-next h2 { font-size: 20px; }
  .flight-add-next ul { font-size: 16px; padding-left: 18px; }
}

/* Home parity: preserve the ratified dense portrait composition at every width. */
.home-shell .home-page {
  width: min(797px, calc(100% - 56px));
  padding-top: 54px;
  padding-bottom: 84px;
}

.home-shell .app-header {
  min-height: 62px;
}

.home-shell [data-testid="guardian-home"] { padding: 10px 17px; margin: 8px 0 12px; font-size: 12px; }
.home-shell [data-testid="guardian-home"] p { margin: 5px 0; }
.home-shell [data-testid="guardian-home"] .text-action { font-size: 13px; padding: 2px 0; border: 0; }
.home-shell [data-testid="guardian-home"] details { font-size: 11px; }

.home-shell .brand {
  gap: 18px;
}

.home-shell .wordmark {
  font-size: 3.25rem;
}

.home-shell .brand-compass {
  width: 39px;
  height: 39px;
  border: 0;
}

.home-shell .brand-compass .icon {
  display: none;
}

.home-shell .brand-compass::before,
.home-shell .ask-mark::before {
  color: var(--rust);
  content: "✣";
  font-family: var(--font-ui);
  font-size: 2.15rem;
  line-height: 1;
}

.home-shell .ask-mark .icon {
  display: none;
}

.home-shell .brand-subtitle {
  font-size: 1.2rem;
}

.home-shell .header-actions {
  gap: 27px;
}

.home-shell .icon-button {
  width: 58px;
  height: 42px;
}

.home-shell .icon-button:disabled {
  opacity: .9;
}

.home-shell .icon-button .icon {
  width: 31px;
  height: 31px;
}

.home-shell .avatar {
  width: 54px;
  height: 54px;
  overflow: hidden;
  background: #dcebd6;
}

.home-shell .avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-shell .greeting {
  margin: 26px 3px 18px;
  font-size: 2.35rem;
}

.home-shell .location-card,
.home-shell .trip-card,
.home-shell .monitoring-card,
.home-shell .safety-card,
.home-shell .other-plans,
.home-shell .provenance-legend {
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(91, 48, 20, .055);
}

.home-shell .location-card {
  min-height: 114px;
  padding: 18px 21px;
}

.home-shell .location-action {
  display: grid;
  grid-template-rows: 18px 26px;
  justify-items: center;
  align-content: space-between;
  width: 32px;
  min-width: 32px;
  min-height: 76px;
  padding: 0;
}

.home-shell .location-action .location-chevron {
  width: 16px;
  height: 16px;
}

.home-shell .location-action .location-target {
  width: 25px;
  height: 25px;
}

.home-shell .concierge-row {
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 20px;
  margin: 19px 0 18px;
}

.home-shell .ask-bar {
  min-height: 74px;
}

.home-shell .trip-card,
.home-shell .monitoring-card,
.home-shell .safety-card,
.home-shell .other-plans {
  padding: 17px;
}

.home-shell .trip-overview {
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 23px;
  margin-top: 14px;
}

.home-shell .trip-art {
  height: 192px;
  border-radius: 16px;
}

.home-shell .trip-title-row {
  gap: 12px;
}

.home-shell .trip-mark {
  width: 42px;
  height: 42px;
  margin-left: 7px;
}

.home-shell .trip-title-row h2 {
  margin-left: 8px;
  font-size: 1.95rem;
}

.home-shell .trip-dates {
  margin-left: 22px;
  font-size: 1rem;
}

.home-shell .next-flight {
  grid-template-columns: 46px minmax(0, 1fr) auto 18px;
  min-height: 105px;
  padding: 12px 13px;
}

.home-shell .route-line {
  padding-left: 7px;
}

.home-shell .connection-card {
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  min-height: 91px;
  margin-top: 11px;
  padding: 12px 13px;
}

.home-shell .connection-card .based-on {
  display: none;
}

.home-shell .flight-icon,
.home-shell .connection-icon {
  width: 42px;
  height: 42px;
}

.home-shell .flight-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.home-shell .flight-stat {
  grid-template-columns: 36px minmax(0, 1fr);
  min-height: 123px;
  padding: 13px 11px;
}

.home-shell .flight-stat:nth-child(3) {
  border-left: 1px solid var(--line);
}

.home-shell .flight-stat:nth-child(n+3) {
  border-top: 0;
}

.home-shell .assurance {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 13px;
  min-height: 74px;
  padding: 11px 12px 0;
}

.home-shell .assurance-icon {
  width: 43px;
  height: 47px;
}

.home-shell .open-trip {
  grid-column: auto;
  min-height: 47px;
  margin-top: 0;
}

.home-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-shell .monitoring-card,
.home-shell .safety-card {
  position: relative;
}

.home-section-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--rust-dark);
  font-size: .72rem;
  font-weight: 750;
}

.home-section-action .icon {
  width: 15px;
  height: 15px;
}

.home-shell .monitoring-card .home-section-action,
.home-shell .safety-card .home-section-action {
  position: absolute;
  right: 17px;
  bottom: 13px;
}

.home-shell .monitor-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 13px;
}

.home-shell .monitoring-card {
  margin-top: 13px;
  padding: 14px 17px;
}

.home-shell .monitor-tile {
  height: 141px;
  min-height: 0;
  overflow: visible;
  padding: 2px 9px 5px;
}

.home-shell .monitor-tile + .monitor-tile,
.home-shell .monitor-tile:nth-child(even) {
  border-top: 0;
  border-left: 1px solid var(--line);
}

.home-shell .monitor-tile:nth-child(n+3) {
  border-top: 0;
}

.home-shell .monitor-title {
  min-height: 32px;
}

.home-shell .monitor-title .icon {
  width: 24px;
  height: 24px;
}

.home-shell .monitor-title strong {
  font-size: .69rem;
}

.home-shell .monitor-summary {
  min-height: 23px;
  margin: 2px 0;
  font-size: .72rem;
}

.home-shell .monitor-detail,
.home-shell .safety-detail {
  margin-top: 3px;
  font-size: .58rem;
  line-height: 1.25;
}

.home-shell .monitor-time {
  margin-top: 3px;
  font-size: .58rem;
  line-height: 1.25;
}

.home-shell .monitor-tile .provenance-chip,
.home-shell .safety-tile .provenance-chip {
  min-height: 16px;
  padding: 2px 5px;
  font-size: .54rem;
}

.home-shell .also-watching {
  align-items: center;
  gap: 10px;
  min-height: 37px;
  margin-top: 7px;
  padding: 8px 2px 0;
}

.home-shell .also-watching span:not(.provenance-chip)::after {
  margin-left: 10px;
  color: #9f8f82;
  content: "·";
}

.home-shell .also-watching span:not(.provenance-chip):last-of-type::after {
  content: "";
}

.home-shell .safety-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 101px;
  margin-top: 13px;
}

.home-shell .safety-card {
  margin-top: 7px;
}

.home-shell .safety-tile {
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 10px;
  height: 101px;
  min-height: 0;
  overflow: visible;
  padding: 3px 16px;
}

.home-shell .safety-tile strong {
  font-size: .7rem;
}

.home-shell .safety-value {
  margin: 2px 0 3px;
  font-size: .68rem;
}

.home-shell .safety-tile + .safety-tile {
  border-top: 0;
  border-left: 1px solid var(--line);
}

.other-plans-empty {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 91px;
  margin-top: 11px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .7);
}

.other-plans-empty > .icon {
  width: 34px;
  height: 34px;
  color: var(--rust);
}

.other-plans-empty strong,
.other-plans-empty span:not(.provenance-chip) {
  display: block;
}

.other-plans-empty span:not(.provenance-chip) {
  margin-top: 4px;
  color: var(--muted);
  font-size: .72rem;
}

.home-shell .provenance-legend {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-height: 88px;
  margin-top: 9px;
  padding: 14px 15px 22px;
}

.home-shell .provenance-legend > p {
  grid-column: 1 / -1;
}

.home-shell .bottom-nav {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 86px minmax(0, 1fr) minmax(0, 1fr);
  min-height: 75px;
  padding-top: 4px;
  padding-bottom: calc(4px + env(safe-area-inset-bottom));
}

.home-shell .nav-item {
  min-height: 56px;
}

.home-shell .nav-add {
  width: 58px;
  height: 58px;
  margin-bottom: 7px;
}

@media (max-width: 852px) {
  .home-shell {
    width: 853px;
    min-height: 1844px;
    zoom: calc(100vw / 853px);
  }

  .home-shell .home-page {
    width: 797px;
    padding-top: 54px;
  }

  .home-shell .wordmark { font-size: 3.25rem; }
  .home-shell .brand { gap: 18px; }
  .home-shell .brand-compass { width: 39px; height: 39px; }
  .home-shell .brand-compass .icon { display: none; }
  .home-shell .brand-subtitle { max-width: none; font-size: 1.2rem; line-height: normal; }
  .home-shell .header-actions { gap: 27px; }
  .home-shell .icon-button { width: 58px; height: 42px; }
  .home-shell .icon-button .icon { width: 31px; height: 31px; }
  .home-shell .avatar { width: 54px; height: 54px; }
  .home-shell .greeting { margin-top: 26px; font-size: 2.35rem; }
  .home-shell .location-card { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 15px; padding: 18px 21px; }
  .home-shell .location-pin .icon { width: 47px; height: 47px; }
  .home-shell .location-name-row { align-items: center; flex-direction: row; gap: 15px; }
  .home-shell .location-action .sr-only { display: block; }
  .home-shell .concierge-row { grid-template-columns: minmax(0, 1fr) 78px; gap: 20px; }
  .home-shell .ask-bar { grid-template-columns: 42px minmax(0, 1fr) 50px; min-height: 74px; padding-left: 20px; }
  .home-shell .ask-bar input { font-size: 1.22rem; }
  .home-shell .universal-add { width: 72px; height: 72px; }
  .home-shell .trip-card,
  .home-shell .monitoring-card,
  .home-shell .safety-card,
  .home-shell .other-plans { padding: 17px; }
  .home-shell .trip-overview { grid-template-columns: 208px minmax(0, 1fr); }
  .home-shell .trip-art { height: 192px; }
  .home-shell .trip-title-row h2 { font-size: 1.95rem; }
  .home-shell .trip-dates { flex-basis: auto; margin-left: 22px; }
  .home-shell .next-flight { grid-template-columns: 46px minmax(0, 1fr) auto 18px; }
  .home-shell .flight-status { grid-column: auto; width: auto; margin-top: 0; }
  .home-shell .next-flight > .card-chevron { grid-column: auto; grid-row: auto; }
  .home-shell .connection-card { grid-template-columns: 44px minmax(0, 1fr) 18px; }
  .home-shell .connection-icon { display: grid; }
  .home-shell .flight-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-shell .assurance { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .home-shell .open-trip { grid-column: auto; width: auto; min-height: 47px; margin-top: 0; }
  .home-shell .monitor-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home-shell .safety-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-shell .other-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-shell .provenance-legend { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .home-shell .provenance-legend > p { grid-column: 1 / -1; }
  .home-shell .bottom-nav {
    width: 853px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 86px minmax(0, 1fr) minmax(0, 1fr);
    padding-inline: 20px;
  }
  .home-shell .nav-item span { font-size: .68rem; }
}

/* Tranche 4 record and provider-boundary surfaces. Approved Home v1 selectors stay unchanged. */
.tranche4-links { display: grid; gap: 12px; }

.tranche4-privacy {
  border-color: color-mix(in srgb, var(--green) 38%, var(--line));
  background: color-mix(in srgb, var(--green) 7%, var(--surface));
}

.tranche4-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: center;
  gap: 1px;
  padding: 0;
  overflow: hidden;
}

.tranche4-summary > div {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--surface);
}

.tranche4-summary strong { font-size: 1.8rem; }
.tranche4-summary span { color: var(--ink-soft); }
.tranche4-record-list { display: grid; gap: 10px; }

.tranche4-record,
.tranche4-evidence-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.tranche4-record h2 { margin: 4px 0; }
.tranche4-record small { display: block; margin-top: 8px; color: var(--ink-soft); }

.tranche4-evidence-hero {
  border-color: color-mix(in srgb, var(--rust) 35%, var(--line));
}

.tranche4-export #evidence-export-result,
#provider-action-result { margin-top: 14px; }

@media (max-width: 620px) {
  .tranche4-record,
  .tranche4-evidence-hero { flex-direction: column; }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 7% 2%, rgba(255,255,255,.95), transparent 32rem),
    linear-gradient(180deg, #fff 0, var(--canvas) 46rem);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:not([aria-disabled="true"]) {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
}

.app-shell {
  min-height: 100vh;
}

.home-page {
  width: min(var(--content), calc(100% - 38px));
  margin: 0 auto;
  padding: 24px 0 130px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
}

.brand,
.header-actions,
.trip-title-row,
.route-line,
.flight-title,
.provenance-meta,
.connection-heading,
.connection-facts,
.connection-provenance,
.monitor-title,
.location-name-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 13px;
  color: var(--rust-dark);
  min-width: 0;
}

.wordmark {
  font-family: var(--font-ui);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -.06em;
}

.brand-compass {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
}

.brand-compass .icon {
  width: 24px;
  height: 24px;
}

.brand-subtitle {
  font-family: var(--font-ui);
  font-size: 1.12rem;
  color: var(--rust-dark);
}

.header-actions {
  gap: 13px;
  flex: 0 0 auto;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.icon-button:hover {
  background: var(--surface-soft);
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.icon-button .icon {
  width: 27px;
  height: 27px;
}

.notification-badge {
  position: absolute;
  top: 1px;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid white;
  border-radius: 999px;
  background: var(--rust);
  color: white;
  font-size: .68rem;
  font-weight: 800;
}

.avatar {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  border: 3px solid white;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, #f0b591 0 14%, transparent 15%),
    radial-gradient(circle at 50% 42%, #542a1e 0 22%, transparent 23%),
    linear-gradient(145deg, #d9e9d6, #8eb89c);
  box-shadow: 0 0 0 1px var(--line);
  color: white;
  font-weight: 800;
  text-shadow: 0 1px 5px rgba(0,0,0,.35);
}

.greeting {
  margin: 31px 3px 18px;
  font-size: clamp(2rem, 5vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-family: var(--font-ui);
  font-weight: 700;
}

.location-card,
.trip-card,
.monitoring-card,
.safety-card,
.other-plans,
.provenance-legend {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, .92);
  box-shadow: var(--shadow);
}

.location-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 15px;
  min-height: 114px;
  padding: 18px 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(247,229,215,.5), transparent 45%),
    rgba(255, 253, 249, .92);
}

.location-pin {
  color: var(--rust);
}

.location-pin .icon {
  width: 47px;
  height: 47px;
  fill: currentColor;
  stroke: white;
  stroke-width: 1.25;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--rust-dark);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.location-name-row {
  gap: 15px;
  margin: 6px 0 5px;
}

.location-name-row h2 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: -.015em;
}

.home-place {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-soft);
  font-size: .84rem;
}

.home-place .icon {
  width: 17px;
  height: 17px;
  color: var(--rust);
}

.unavailable-reason {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .85rem;
}

.location-action {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 46px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--rust-dark);
  font-size: .78rem;
  font-weight: 700;
}

.location-action:hover {
  border-color: var(--line);
  background: var(--surface-warm);
}

.location-action .icon {
  width: 25px;
  height: 25px;
}

.concierge-row {
  display: grid;
  grid-template-columns: 1fr 78px;
  gap: 17px;
  margin: 19px 0 18px;
}

.ask-bar {
  display: grid;
  grid-template-columns: 42px 1fr 50px;
  align-items: center;
  min-height: 72px;
  padding: 0 10px 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 9px 24px rgba(77, 48, 31, .035);
  min-width: 0;
}

.ask-mark {
  color: var(--rust);
}

.ask-mark .icon {
  width: 28px;
  height: 28px;
}

.ask-bar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.22rem;
}

.ask-bar input::placeholder {
  color: #536079;
  opacity: 1;
}

.voice-action {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--rust);
}

.voice-action:hover {
  background: var(--surface-warm);
}

.voice-action .icon {
  width: 28px;
  height: 28px;
}

.universal-add,
.nav-add {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #a64007, #7b2600);
  color: white;
  box-shadow: 0 10px 22px rgba(126, 42, 0, .23), inset 0 1px rgba(255,255,255,.25);
}

.universal-add {
  width: 72px;
  height: 72px;
}

.universal-add:hover,
.nav-add:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.universal-add .icon,
.nav-add .icon {
  width: 37px;
  height: 37px;
  stroke-width: 1.55;
}

.interaction-status {
  min-height: 0;
  margin: -10px 0 12px 6px;
  color: var(--muted);
  font-size: .78rem;
}

.interaction-status:empty {
  display: none;
}

.trip-card,
.monitoring-card,
.safety-card,
.other-plans {
  padding: 20px;
  margin-top: 14px;
}

.trip-overview {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 24px;
  margin-top: 15px;
}

.trip-art {
  width: 100%;
  height: 206px;
  border-radius: 17px;
  object-fit: cover;
  box-shadow: 0 7px 22px rgba(14, 76, 105, .14);
}

.trip-details {
  min-width: 0;
}

.trip-title-row {
  flex-wrap: wrap;
  gap: 12px;
}

.trip-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: linear-gradient(180deg, #267ce8 0 48%, white 48% 59%, #267ce8 59% 72%, white 72% 82%, #267ce8 82%);
  color: white;
  font-size: 1.45rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.22);
}

.trip-title-row h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -.045em;
}

.trip-dates {
  margin-left: auto;
  color: #252b3d;
  font-size: .9rem;
}

.days-pill {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--rust-soft);
  color: var(--rust-dark);
  font-size: .78rem;
  font-weight: 700;
}

.route-line {
  flex-wrap: wrap;
  gap: 11px;
  margin: 9px 0 13px;
  color: #22283b;
  font-size: .94rem;
}

.route-line span[aria-hidden] {
  color: var(--muted);
}

.next-flight,
.connection-card {
  position: relative;
  display: grid;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.next-flight {
  grid-template-columns: 48px 1fr auto 20px;
  gap: 12px;
  min-height: 96px;
  padding: 13px 14px;
  background: linear-gradient(105deg, #fff8f2, #fffdfb);
}

.flight-icon,
.connection-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.flight-icon {
  background: #f5e9df;
  color: var(--rust-dark);
}

.flight-copy {
  min-width: 0;
}

.flight-title {
  gap: 8px;
  font-size: .88rem;
}

.flight-copy > p {
  margin: 5px 0;
  color: #30364a;
  font-size: .81rem;
}

.flight-status {
  align-self: start;
  padding: 6px 10px;
  border: 1px solid;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-live {
  border-color: #b9ddc3;
  background: #f5fbf6;
  color: var(--green-dark);
}

.status-unavailable {
  border-color: #d7dbe1;
  background: #f2f4f6;
  color: #4e5667;
}

.card-chevron {
  width: 18px;
  color: var(--rust-dark);
}

.connection-card {
  grid-template-columns: 46px 1fr 20px;
  gap: 11px;
  margin-top: 12px;
  padding: 14px;
  background: linear-gradient(105deg, #f3faf3, #fbfdf9);
  border-color: #dceadc;
}

.connection-attention {
  border-color: #ead9bd;
  background: linear-gradient(105deg, #fff9ed, #fffdf9);
}

.connection-icon {
  background: #e8f4e9;
  color: var(--green-dark);
}

.connection-attention .connection-icon {
  background: #fff0d9;
  color: var(--amber);
}

.connection-heading {
  gap: 10px;
}

.connection-heading strong {
  font-size: .88rem;
}

.connection-heading span {
  color: var(--green-dark);
  font-size: .73rem;
  font-weight: 700;
}

.connection-attention .connection-heading span {
  color: var(--amber);
}

.connection-facts {
  flex-wrap: wrap;
  gap: 8px;
  margin: 5px 0 7px;
  color: #353b4d;
  font-size: .76rem;
}

.connection-provenance {
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: .69rem;
}

.based-on {
  margin-top: 7px;
  color: var(--muted);
  font-size: .69rem;
}

.based-on summary {
  width: max-content;
  color: var(--rust-dark);
  font-weight: 700;
  cursor: pointer;
}

.based-on ul {
  display: grid;
  gap: 5px;
  margin: 8px 0 2px;
  padding: 0;
  list-style: none;
}

.based-on li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.flight-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.6);
}

.flight-stat {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  min-width: 0;
  min-height: 145px;
  padding: 15px 13px;
}

.flight-stat + .flight-stat {
  border-left: 1px solid var(--line);
}

.stat-icon {
  color: var(--ink);
}

.flight-stat:nth-child(3) .stat-icon {
  color: #f06b12;
}

.stat-icon .icon {
  width: 28px;
  height: 28px;
}

.flight-stat strong {
  font-size: .76rem;
}

.stat-value {
  min-height: 30px;
  margin: 4px 0 6px;
  font-size: .78rem;
  line-height: 1.35;
}

.stat-note,
.monitor-time {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.35;
}

.assurance {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding: 17px 13px 3px;
  border-top: 1px solid var(--line);
}

.assurance-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 50px;
  color: white;
  clip-path: polygon(50% 0, 92% 14%, 88% 68%, 50% 100%, 12% 68%, 8% 14%);
  background: var(--green);
}

.assurance-attention .assurance-icon {
  background: var(--amber);
}

.assurance-no_coverage .assurance-icon,
.assurance-no-coverage .assurance-icon {
  background: #6d7481;
}

.assurance h3 {
  margin: 0 0 3px;
  font-size: 1.03rem;
}

.assurance p {
  margin: 0;
  color: #2f3649;
  font-size: .77rem;
}

.assurance small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .66rem;
}

.open-trip {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 49px;
  padding: 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: white;
  color: var(--rust-dark);
  font-weight: 700;
  white-space: nowrap;
}

.open-trip .icon {
  width: 17px;
}

.monitoring-card,
.safety-card,
.other-plans {
  margin-top: 14px;
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 15px;
}

.monitor-tile {
  min-width: 0;
  min-height: 164px;
  padding: 2px 12px 6px;
  text-align: center;
}

.monitor-tile + .monitor-tile {
  border-left: 1px solid var(--line);
}

.monitor-title {
  justify-content: center;
  gap: 7px;
  min-height: 43px;
}

.monitor-title .icon {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.monitor-title strong {
  font-size: .69rem;
  line-height: 1.15;
}

.monitor-summary {
  min-height: 34px;
  margin: 5px 0;
  color: var(--green-dark);
  font-size: .72rem;
  line-height: 1.3;
}

.health-degraded .monitor-summary,
.health-degraded .safety-value {
  color: var(--amber);
}

.health-unavailable .monitor-summary,
.health-unavailable .safety-value,
.health-example .safety-value {
  color: #5d6370;
}

.monitor-detail,
.safety-detail {
  margin: 7px 0 0;
  color: #4c5365;
  font-size: .64rem;
  line-height: 1.35;
}

.also-watching {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .69rem;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 16px;
}

.safety-tile {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  min-height: 116px;
  padding: 3px 18px;
}

.safety-tile + .safety-tile {
  border-left: 1px solid var(--line);
}

.safety-icon {
  color: var(--blue);
}

.safety-tile:first-child .safety-icon {
  color: #f24c1f;
}

.safety-tile:last-child .safety-icon {
  color: var(--ink);
}

.safety-icon .icon {
  width: 35px;
  height: 35px;
}

.safety-tile strong {
  font-size: .75rem;
}

.safety-value {
  margin: 3px 0 5px;
  color: var(--green-dark);
  font-size: .73rem;
}

.other-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.other-grid article {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 13px;
  min-height: 108px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}

.other-grid article > .icon {
  width: 35px;
  height: 35px;
  color: var(--rust);
}

.other-grid small,
.other-grid strong,
.other-grid span {
  display: block;
}

.other-grid strong {
  margin: 3px 0;
}

.other-grid span {
  color: var(--muted);
  font-size: .72rem;
}

.provenance-chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #eef0f3;
  color: #3e4553;
  font-size: .58rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .015em;
  white-space: nowrap;
}

.provenance-live {
  background: #e6f5e8;
  color: #12652e;
}

.provenance-captured {
  background: #e9f5eb;
  color: #216a38;
}

.provenance-jat-calculation {
  background: #fff0df;
  color: #a33c11;
}

.provenance-estimated {
  background: #fff0df;
  color: #b24e09;
}

.provenance-unguaranteed {
  background: #eceff3;
  color: #4c5360;
}

.provenance-example {
  background: var(--purple-soft);
  color: var(--purple);
}

.provenance-unavailable,
.provenance-chip.is-stale {
  background: #eaedf1;
  color: #404754;
  outline: 1px dashed #8d95a2;
  outline-offset: -1px;
}

.provenance-meta {
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: .68rem;
}

.provenance-meta.is-compact {
  font-size: .63rem;
}

.meta-separator {
  color: #b3a79d;
}

.provenance-legend {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding: 15px 16px 28px;
}

.provenance-legend > div {
  display: grid;
  grid-template-columns: 8px 1fr;
  align-content: start;
  gap: 4px 6px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: #7b8390;
}

.legend-dot.provenance-live { background: var(--green); }
.legend-dot.provenance-captured { background: var(--rust); }
.legend-dot.provenance-jat-calculation { background: #ea6a20; }
.legend-dot.provenance-estimated { background: var(--amber); }
.legend-dot.provenance-unguaranteed { background: #808897; }
.legend-dot.provenance-example { background: #7b43c0; }
.legend-dot.provenance-unavailable { background: #5d6470; }

.provenance-legend strong {
  font-size: .57rem;
}

.provenance-legend small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .53rem;
  line-height: 1.3;
}

.provenance-legend > p {
  grid-column: 1 / -1;
  margin: 3px 0 -17px;
  text-align: center;
  color: var(--muted);
  font-size: .56rem;
}

.bottom-nav {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 92px minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  min-height: 82px;
  padding: 7px max(20px, calc((100vw - var(--content)) / 2)) calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.93);
  box-shadow: 0 -12px 35px rgba(61, 35, 19, .07);
  backdrop-filter: blur(18px);
}

.nav-item {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-height: 61px;
  border: 0;
  background: transparent;
  color: #3e475e;
  font-size: .68rem;
}

.nav-item .icon {
  width: 25px;
  height: 25px;
}

.nav-item.is-active {
  color: var(--rust);
  font-weight: 800;
}

.nav-item.is-active::after {
  width: 43px;
  height: 2px;
  border-radius: 3px;
  background: var(--rust);
  content: "";
}

.nav-add {
  justify-self: center;
  width: 61px;
  height: 61px;
  margin-bottom: 10px;
}

.capture-dialog {
  width: min(520px, calc(100% - 30px));
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(39, 20, 8, .25);
}

.capture-dialog::backdrop {
  background: rgba(28, 18, 12, .38);
  backdrop-filter: blur(4px);
}

.capture-dialog > div {
  padding: 22px;
}

.capture-dialog form {
  padding: 0;
}

.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.dialog-head h2 {
  margin: 5px 0 18px;
  font-size: 1.35rem;
}

.future-actions {
  display: grid;
  gap: 9px;
}

.future-actions button {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  text-align: left;
}

.future-actions button:hover {
  border-color: #cfb9a8;
  background: var(--surface-warm);
}

.future-actions button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.future-actions span {
  font-weight: 750;
}

.future-actions small {
  color: var(--muted);
}

.loading-shell,
.fatal-state {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100vh;
  padding: 30px;
  text-align: center;
}

.loading-mark {
  color: var(--rust);
  font-family: var(--font-ui);
  font-size: 3rem;
}

.loading-shell p,
.fatal-state p {
  color: var(--muted);
}

.fatal-state button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--rust);
  color: white;
}

@media (max-width: 780px) {
  .home-page {
    width: min(calc(100% - 24px), 680px);
    padding-top: 12px;
  }

  .wordmark {
    font-size: 2.5rem;
  }

  .brand {
    gap: 8px;
  }

  .brand-compass {
    width: 30px;
    height: 30px;
  }

  .brand-subtitle {
    font-size: .9rem;
  }

  .header-actions {
    gap: 5px;
  }

  .avatar {
    width: 46px;
    height: 46px;
  }

  .greeting {
    margin-top: 18px;
  }

  .location-card {
    grid-template-columns: 45px 1fr auto;
    padding: 16px;
  }

  .location-pin .icon {
    width: 39px;
    height: 39px;
  }

  .location-action span {
    display: none;
  }

  .concierge-row {
    grid-template-columns: 1fr 63px;
    gap: 10px;
  }

  .ask-bar {
    min-height: 62px;
    border-radius: 18px;
  }

  .ask-bar input {
    font-size: 1rem;
  }

  .universal-add {
    width: 62px;
    height: 62px;
  }

  .trip-card,
  .monitoring-card,
  .safety-card,
  .other-plans {
    padding: 16px;
  }

  .trip-overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .trip-art {
    height: 180px;
  }

  .trip-dates {
    margin-left: 0;
  }

  .next-flight {
    grid-template-columns: 45px 1fr 18px;
  }

  .flight-status {
    grid-column: 2;
    width: max-content;
    margin-top: -5px;
  }

  .next-flight > .card-chevron {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .flight-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .flight-stat:nth-child(3) {
    border-left: 0;
  }

  .flight-stat:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .assurance {
    grid-template-columns: 46px 1fr;
  }

  .open-trip {
    grid-column: 2;
    width: max-content;
    min-height: 42px;
    margin-top: 6px;
  }

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

  .monitor-tile {
    min-height: 156px;
    padding: 12px 10px;
  }

  .monitor-tile + .monitor-tile {
    border-left: 0;
  }

  .monitor-tile:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .monitor-tile:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .safety-tile {
    padding: 14px 5px;
  }

  .safety-tile + .safety-tile {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .other-grid,
  .provenance-legend {
    grid-template-columns: 1fr;
  }

  .provenance-legend > p {
    grid-column: 1;
  }

  .bottom-nav {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 75px minmax(0, 1fr) minmax(0, 1fr);
    padding-inline: 4px;
  }
}

@media (max-width: 430px) {
  .icon-button {
    width: 40px;
  }

  .app-header {
    min-height: 58px;
  }

  .brand {
    gap: 5px;
  }

  .wordmark {
    font-size: 1.82rem;
  }

  .brand-compass {
    width: 23px;
    height: 27px;
  }

  .brand-compass .icon {
    width: 18px;
    height: 18px;
  }

  .brand-subtitle {
    max-width: 62px;
    font-size: .62rem;
    line-height: 1.1;
  }

  .header-actions {
    gap: 1px;
  }

  .icon-button {
    width: 34px;
    height: 38px;
  }

  .icon-button .icon {
    width: 22px;
    height: 22px;
  }

  .avatar {
    width: 35px;
    height: 35px;
  }

  .greeting {
    font-size: 1.75rem;
  }

  .location-card {
    grid-template-columns: 38px 1fr auto;
    gap: 10px;
  }

  .location-name-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .ask-bar {
    grid-template-columns: 32px 1fr 42px;
    padding-left: 13px;
  }

  .trip-title-row h2 {
    font-size: 1.75rem;
  }

  .trip-dates {
    flex-basis: 100%;
  }

  .connection-card {
    grid-template-columns: 1fr 18px;
  }

  .connection-icon {
    display: none;
  }

  .flight-stat {
    grid-template-columns: 30px 1fr;
    padding: 12px 9px;
  }

  .nav-item span {
    font-size: .6rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .universal-add,
  .nav-add,
  .location-action,
  .future-actions button {
    transition: transform .16s ease, filter .16s ease, background .16s ease, border-color .16s ease;
  }
}

.monitor-tile.is-interactive {
  width: 100%;
  border: 0;
  background: transparent;
}

.monitor-tile.is-interactive:hover,
.monitor-tile.is-interactive:focus-visible {
  background: var(--surface-warm);
  outline: 2px solid transparent;
}

.ask-response:empty {
  display: none;
}

.ask-response {
  margin: 0 0 14px;
}

.ask-answer {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ask-answer-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rust);
  color: white;
  font-family: var(--font-ui);
  font-weight: 800;
}

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

.answer-statement p {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.5;
}

.answer-statement small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.secondary-page {
  width: min(1040px, calc(100% - 38px));
  margin: 0 auto;
  padding: 24px 0 130px;
}

.screen-header {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  margin-bottom: 16px;
}

.screen-header h1,
.screen-header p,
.screen-card h2,
.screen-card h3,
.screen-card p,
.screen-section h2,
.flight-screen-card h2,
.flight-screen-card p,
.history-card h3,
.history-card p,
.plan-card h2,
.plan-card p {
  margin-top: 0;
}

.screen-header h1 {
  margin-bottom: 3px;
  font-family: inherit;
  font-size: clamp(2rem, 5vw, 2.65rem);
  color: #35170f;
}

.screen-header p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.screen-back {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--rust-dark);
}

.screen-back:hover {
  background: var(--surface-warm);
}

.screen-back:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.phase-header {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  align-items: center;
  min-height: 96px;
  margin-bottom: 10px;
}

.phase-header > .screen-back {
  justify-self: start;
}

.phase-header-title {
  min-width: 0;
  text-align: center;
}

.phase-header-title h1 {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 2.65rem);
  color: #35170f;
}

.phase-header-title p {
  margin: 0;
  color: var(--ink-soft);
}

.phase-header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 5px;
}

.phase-info,
.phase-header-spacer {
  justify-self: end;
}

.screen-card,
.flight-screen-card,
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, .94);
  box-shadow: var(--shadow);
}

.screen-card {
  padding: 20px;
  margin-bottom: 16px;
}

.trip-summary-card,
.plans-intro,
.info-banner,
.assurance-summary,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.trip-summary-card h2 {
  margin-bottom: 5px;
  font-size: 1.8rem;
}

.trip-summary-card .route-line {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.secondary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 16px;
}

.secondary-stack {
  display: grid;
  align-content: start;
  gap: 0;
}

.timeline-item,
.detail-row,
.today-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child,
.detail-row:last-child,
.today-item:last-child {
  border-bottom: 0;
}

.timeline-icon,
.today-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rust-soft);
  color: var(--rust-dark);
}

.timeline-item h3,
.detail-row h3 {
  margin-bottom: 4px;
}

.timeline-item p,
.detail-row p {
  margin-bottom: 5px;
  color: var(--ink-soft);
}

.detail-row .ferry-departure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.timeline-connection {
  margin: 4px 0 14px 50px;
}

.timeline-connection .connection-card,
.screen-card > .connection-card {
  margin: 0;
}

.assurance-summary {
  justify-content: flex-start;
}

.assurance-summary > div:first-child {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.section-heading {
  margin-bottom: 12px;
}

.section-heading .section-label {
  margin: 0;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--rust-dark);
  font-weight: 700;
}

.text-action .icon {
  width: 16px;
}

.screen-section {
  margin: 22px 0;
}

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

.flight-screen-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(190px, .48fr);
  gap: 14px;
  padding: 18px;
}

.flight-number-index {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--rust-soft);
  color: var(--rust-dark);
  font-weight: 800;
}

.flight-screen-main h2 {
  margin-bottom: 6px;
}

.flight-times {
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}

.flight-screen-status {
  display: grid;
  align-content: center;
  gap: 7px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.flight-screen-status > strong {
  color: var(--green-dark);
}

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

.history-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: white;
}

.history-card > strong {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
}

.history-card .provenance-meta {
  flex-wrap: wrap;
}

.history-caveat,
.honest-unavailable {
  padding: 14px;
  border-radius: var(--radius-small);
  background: var(--surface-soft);
}

.history-caveat {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.today-list {
  padding-block: 5px;
}

.today-item {
  grid-template-columns: 48px 1fr auto;
  align-items: start;
  padding-block: 20px;
}

.today-item h2 {
  margin-bottom: 6px;
}

.today-aside {
  max-width: 220px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

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

.journey-ribbon {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 16px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, .94);
  box-shadow: var(--shadow);
}

.journey-ribbon::before {
  position: absolute;
  top: 34px;
  right: 9%;
  left: 9%;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.journey-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: .69rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.journey-stage .icon {
  z-index: 1;
  width: 43px;
  height: 43px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
}

.journey-stage.is-active {
  color: #dc2418;
}

.journey-stage.is-active .icon {
  border-color: #f2b4a9;
  background: #e92416;
  color: white;
  box-shadow: 0 5px 16px rgba(202, 47, 28, .18);
}

.parity-today-list .today-item {
  min-height: 128px;
}

.parity-today-list .today-icon {
  width: 46px;
  height: 46px;
  background: var(--green-soft);
  color: var(--green);
}

.parity-today-list .today-next .today-icon {
  background: #fff0e8;
  color: #e52618;
}

.parity-today-list .today-leave .today-icon {
  background: var(--amber-soft);
  color: var(--amber);
}

.parity-today-list .today-after .today-icon {
  background: var(--purple-soft);
  color: var(--purple);
}

.parity-today-list .today-suggestion .today-icon {
  background: #edf3ff;
  color: var(--blue);
}

.today-status {
  color: var(--green-dark);
  font-weight: 750;
}

.today-connection-card > .connection-card {
  border: 0;
  background: transparent;
}

.assumption-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.assumption-chip {
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.assumption-chip.is-unavailable {
  border-style: dashed;
  color: var(--muted);
}

.what-changed,
.what-changed > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.what-changed > div > .icon {
  width: 38px;
  height: 38px;
  color: var(--rust);
}

.what-changed h2 {
  margin-bottom: 4px;
}

.info-dialog p {
  color: var(--ink-soft);
  line-height: 1.55;
}

.plans-intro,
.info-banner {
  justify-content: flex-start;
}

.plans-intro > div:first-child,
.info-banner > .icon {
  color: var(--rust);
}

.plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
  padding: 18px;
  text-align: left;
}

button.plan-card {
  color: inherit;
}

.plans-intro {
  min-height: 150px;
}

.plans-intro-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff0e8;
  color: var(--rust);
}

.plans-intro-icon .icon {
  width: 38px;
  height: 38px;
}

.plans-intro h2 {
  margin-bottom: 7px;
  font-family: var(--font-ui);
  font-size: 1.55rem;
}

.plans-intro p {
  margin-bottom: 0;
  line-height: 1.45;
}

.plans-assurance {
  display: grid;
  justify-items: end;
  gap: 8px;
  margin-left: auto;
  text-align: right;
}

.plans-assurance strong {
  font-size: .9rem;
}

.plans-assurance.state-positive strong { color: var(--green-dark); }
.plans-assurance.state-attention strong { color: var(--amber); }
.plans-assurance.state-no-coverage strong { color: var(--muted); }

.plans-section .section-heading h2 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 2rem;
}

.plan-sort {
  color: var(--ink-soft);
}

.plan-sort select {
  margin-left: 5px;
  padding: 7px 27px 7px 9px;
  border: 0;
  background: transparent;
  color: var(--rust);
  font: inherit;
  font-weight: 750;
  opacity: 1;
}

.parity-plan-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 70px;
  min-height: 240px;
  padding: 18px;
}

.parity-plan-card > img {
  width: 100%;
  height: 204px;
  border-radius: 17px;
  object-fit: cover;
}

.plan-card-copy {
  align-self: center;
  min-width: 0;
}

.plan-card-copy h2 {
  margin-bottom: 12px;
  font-family: var(--font-ui);
  font-size: 2rem;
  color: #35170f;
}

.plan-metadata {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-metadata .icon {
  width: 18px;
  height: 18px;
  color: var(--rust);
}

.plan-open {
  display: grid;
  align-self: center;
  justify-items: center;
  gap: 7px;
  color: var(--rust);
  font-weight: 750;
}

.plan-open small {
  white-space: nowrap;
}

.example-plan {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
}

.plan-placeholder-art {
  display: grid;
  place-items: center;
  min-height: 110px;
  border-radius: 16px;
  background: var(--purple-soft);
  color: var(--purple);
}

.plan-add-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 112px;
  margin: 20px 0;
  padding: 22px 30px;
  border: 1px solid #e7a18b;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, .94);
  color: #d5261b;
  font-size: 1.28rem;
  font-weight: 750;
  text-align: left;
}

.plans-support {
  display: flex;
  align-items: center;
  gap: 18px;
}

.plans-support > .icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.plans-support p {
  margin: 0;
}

.alerts-banner {
  border-color: #cddff8;
  background: #f8fbff;
}

.alerts-banner > .icon {
  width: 38px;
  height: 38px;
  color: var(--blue);
}

.alerts-banner .secondary-action {
  margin-left: auto;
  white-space: nowrap;
}

.hazard-overview > p:nth-child(2) {
  margin: 6px 0 18px;
  color: var(--ink-soft);
}

.hazard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.hazard-tabs button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
}

.hazard-tabs button[aria-selected="true"] {
  border-color: var(--blue);
  background: #f1f6ff;
  color: var(--blue);
  font-weight: 750;
}

.hazard-rows,
.meteoalarm-rows {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}

.hazard-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 15px 18px;
}

.hazard-row + .hazard-row {
  border-top: 1px solid var(--line);
}

.hazard-row[hidden] {
  display: none;
}

.hazard-row h3 {
  margin: 0 0 5px;
}

.hazard-row p {
  margin: 0 0 7px;
  color: var(--ink-soft);
}

.hazard-row-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber);
}

.hazard-row-icon.is-clear {
  background: var(--green-soft);
  color: var(--green);
}

.hazard-row-icon.is-fire {
  background: #fff0ec;
  color: #ed3d1f;
}

.hazard-filter-status {
  min-height: 18px;
  margin: 8px 2px -4px;
  color: var(--muted);
  font-size: .72rem;
}

.meteoalarm-card .section-heading {
  align-items: center;
}

.wildfire-context {
  border-color: #f2cabb;
  background: #fffaf7;
}

.hazard-conclusion,
.alerts-advisory {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.hazard-conclusion > .icon,
.alerts-advisory > .icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.hazard-conclusion > .icon { color: var(--muted); }
.alerts-advisory > .icon { color: var(--blue); }

.trip-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: -4px 0 20px;
  border-bottom: 1px solid var(--line-strong);
}

.trip-tabs button {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 70px;
  padding: 10px 6px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--ink-soft);
}

.trip-tabs button .icon {
  width: 24px;
  height: 24px;
}

.trip-tabs button[aria-selected="true"] {
  border-bottom-color: var(--rust);
  color: var(--rust);
  font-weight: 750;
}

[data-trip-panel][hidden] {
  display: none;
}

.assurance-summary > .secondary-action {
  margin-left: auto;
  white-space: nowrap;
}

.trip-overview-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .95fr);
}

.trip-overview-grid .timeline-item {
  position: relative;
  grid-template-columns: 46px minmax(0, 1fr);
}

.trip-overview-grid .timeline-item::before {
  position: absolute;
  top: 53px;
  bottom: -15px;
  left: 22px;
  width: 1px;
  background: #c7a892;
  content: "";
}

.trip-overview-grid .timeline-item:last-child::before {
  display: none;
}

.trip-overview-grid .timeline-connection {
  margin-left: 0;
}

.trip-monitor-list {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.trip-monitor-list .monitor-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 12px 14px;
  text-align: left;
}

.trip-monitor-list .monitor-tile + .monitor-tile {
  border-top: 1px solid var(--line);
  border-left: 0;
}

.trip-monitor-list .monitor-title {
  justify-content: flex-start;
  min-height: 0;
}

.trip-monitor-list .monitor-summary,
.trip-monitor-list .monitor-detail,
.trip-monitor-list .monitor-time {
  min-height: 0;
  margin: 0 0 0 8px;
}

.trip-monitor-list .monitor-detail,
.trip-monitor-list .monitor-time {
  display: none;
}

.trip-tab-panel {
  scroll-margin-top: 20px;
}

.trip-tab-panel > .connection-card {
  margin: 16px 0;
}

.trip-specialists {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.trip-specialists > button {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 100px;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  text-align: center;
}

.trip-specialists > button .icon {
  color: var(--rust);
}

.trip-specialists > button small {
  color: var(--muted);
  font-weight: 500;
}

.trip-specialist-unavailable {
  border-style: dashed !important;
  color: var(--muted) !important;
}

.flight-heading-row {
  position: relative;
}

.flight-heading-row .phase-header {
  padding-right: 150px;
}

.history-jump {
  position: absolute;
  top: 18px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.flight-trip-summary {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.flight-trip-summary h2,
.flight-trip-summary p {
  margin-bottom: 4px;
}

.flight-trip-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #e8b8a6;
  border-radius: 50%;
  color: var(--rust);
}

.flight-list-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flight-list-heading h2 small {
  font-size: .75rem;
  font-weight: 500;
}

.parity-flight-card {
  grid-template-columns: 38px minmax(0, 1fr) minmax(210px, .42fr);
  min-height: 172px;
}

.flight-card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.flight-card-title h2 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.75rem;
}

.flight-card-title span {
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--rust-soft);
  color: var(--rust-dark);
  font-size: .78rem;
}

.flight-route {
  margin: 5px 0 !important;
  font-size: 1.15rem;
}

.flight-time-line {
  display: grid;
  grid-template-columns: auto minmax(20px, 1fr) 28px minmax(20px, 1fr) auto;
  align-items: center;
  gap: 9px;
  max-width: 500px;
}

.flight-time-line > span {
  height: 1px;
  background: var(--line-strong);
}

.flight-time-line > div {
  display: grid;
  gap: 2px;
}

.flight-time-line > div:last-child {
  text-align: right;
}

.flight-time-line strong {
  font-size: 1.25rem;
}

.flight-time-line small,
.flight-duration {
  color: var(--ink-soft);
  font-size: .72rem;
}

.flight-duration {
  margin: 3px 0 8px !important;
  text-align: center;
}

.parity-history-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.parity-history-grid .history-card {
  border: 0;
  border-radius: 0;
}

.parity-history-grid .history-card + .history-card {
  border-left: 1px solid var(--line);
}

.history-bars {
  display: flex;
  align-items: end;
  gap: 2px;
  min-height: 62px;
  margin: 12px 0;
  border-bottom: 1px solid var(--line-strong);
}

.history-bars span {
  width: 5px;
  min-height: 8px;
  border-radius: 2px 2px 0 0;
  background: #7ab677;
}

.history-bars span.is-late {
  background: #e76437;
}

.history-bars .history-height-8 { height: 8px; }
.history-bars .history-height-16 { height: 16px; }
.history-bars .history-height-24 { height: 24px; }
.history-bars .history-height-32 { height: 32px; }
.history-bars .history-height-40 { height: 40px; }
.history-bars .history-height-48 { height: 48px; }
.history-bars .history-height-58 { height: 58px; }

.history-bars.is-unavailable {
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: var(--surface-soft);
}

.about-history {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.about-history > .icon {
  width: 34px;
  height: 34px;
  color: var(--rust);
}

.about-history h2,
.about-history p {
  margin-bottom: 3px;
}

/* Tranche 2 agent surfaces. These selectors are intentionally scoped away from Home v1. */
.intent-plan-card {
  border-color: #e5cdbd;
  background: linear-gradient(135deg, rgba(255, 253, 249, .98), rgba(255, 247, 239, .94));
}

.intent-status,
.recommendation-pill,
.authority-mode,
.activity-family {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.status-planning,
.status-needs-user,
.authority-mode.ask {
  border-color: #efcfaa;
  background: var(--amber-soft);
  color: var(--amber);
}

.status-jat-handling,
.status-completed,
.recommendation-pill,
.authority-mode.handle {
  border-color: #cfe2cc;
  background: var(--green-soft);
  color: var(--green-dark);
}

.intent-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid #ead5c6;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface-warm), var(--surface));
  box-shadow: var(--shadow);
}

.intent-hero h2 {
  max-width: 760px;
  margin: 4px 0 12px;
  font-family: var(--font-ui);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.25;
}

.goal-provenance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.intent-handling.needs-user {
  border-left: 5px solid var(--amber);
}

.intent-handling.is-handling {
  border-left: 5px solid var(--green);
}

.intent-two-column,
.mandate-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.intent-decision-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  width: 100%;
  color: inherit;
  text-align: left;
}

.intent-decision-card > div:first-child,
.recommendation-card > .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rust-soft);
  color: var(--rust-dark);
}

.evidence-summary {
  display: grid;
  gap: 7px;
  padding-left: 20px;
  color: var(--ink-soft);
}

.intent-facts {
  display: grid;
}

.intent-fact-row {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.intent-fact-row:first-child {
  padding-top: 0;
}

.intent-fact-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.intent-fact-row p {
  margin: 4px 0 8px;
  color: var(--ink-soft);
}

.intent-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.primary-action,
.secondary-action,
.danger-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 14px;
  font-weight: 800;
}

.primary-action {
  border: 1px solid var(--rust);
  background: linear-gradient(135deg, var(--rust), #bd4611);
  color: white;
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: white;
  color: var(--rust-dark);
}

.secondary-action:disabled {
  cursor: not-allowed;
  color: var(--muted);
}

.danger-action {
  border: 1px solid var(--red);
  background: white;
  color: var(--red);
}

.full-width {
  width: 100%;
}

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

.numbered-heading {
  margin: 22px 0 9px;
  color: var(--rust);
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.recommendation-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-color: #bfd7bc;
  background: linear-gradient(135deg, #fbfff9, var(--surface));
}

.recommendation-card h2 {
  margin-bottom: 0;
}

.recommendation-card .provenance-meta {
  grid-column: 2 / -1;
}

.evidence-list {
  padding-block: 5px;
}

.evidence-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.evidence-list article:last-child {
  border-bottom: 0;
}

.evidence-list article p {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.decision-boundary {
  color: var(--muted);
  font-size: .9rem;
}

.activity-intent-summary,
.safety-boundary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.safety-boundary {
  justify-content: flex-start;
  border-color: #cddcf0;
  background: #f5f9ff;
}

.safety-boundary > .icon {
  color: var(--blue);
}

.activity-timeline {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.activity-event {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.activity-marker {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.activity-event h2 {
  margin: 7px 0;
  font-size: 1.08rem;
}

.activity-event time {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .83rem;
}

.mandate-review,
.active-authority,
.decision-detail {
  max-width: 880px;
  margin: 0 auto;
}

.mandate-columns ul,
.authority-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.mandate-columns li,
.authority-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.mandate-columns li .icon,
.authority-card li .icon {
  width: 19px;
  color: var(--green);
}

.mandate-columns section:last-child li .icon {
  color: var(--red);
}

.authority-may {
  color: var(--green);
}

.authority-may-not {
  color: var(--red);
}

.mandate-terms {
  display: grid;
  gap: 0;
  margin-top: 16px;
}

.mandate-terms article {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mandate-terms article:last-child {
  border-bottom: 0;
}

.mandate-terms p {
  margin: 4px 0;
}

.authority-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 22px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.authority-card.is-active {
  border-color: var(--rust);
}

.authority-card > div:first-child {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--rust-soft);
  color: var(--rust-dark);
}

.authority-card h2 {
  margin: 0 0 6px;
}

.authority-mode.watch {
  border-color: #cddcf0;
  background: #eff6ff;
  color: var(--blue);
}

.authority-card dl {
  margin: 16px 0 0;
  border-top: 1px solid var(--line);
}

.authority-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.authority-card dt,
.authority-card dd {
  margin: 0;
}

.capture-form,
.proposal-review,
.capture-complete {
  display: grid;
  gap: 14px;
}

.capture-form label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 700;
}

.capture-form input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: white;
  color: var(--ink);
}

.capture-date-grid,
.capture-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.capture-boundary,
.proposal-conflicts,
.proposal-no-conflicts {
  padding: 12px;
  margin: 0;
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: .9rem;
}

.proposal-conflicts {
  background: var(--amber-soft);
}

.proposal-conflicts ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.proposal-review h3,
.proposal-review p {
  margin: 0;
}

.capture-complete {
  justify-items: center;
  padding: 24px 8px 8px;
  text-align: center;
}

.capture-complete > .icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.alerts-list .safety-tile {
  grid-template-columns: 54px 1fr;
}

/* Tranche 3 resilience surfaces. Home v1 selectors and tokens remain untouched. */
.status-recovery {
  border-color: #efb5aa;
  background: #fff0ed;
  color: var(--red);
}

.tranche3-attention {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-left: 5px solid var(--rust);
}

.tranche3-attention > div,
.simulation-boundary,
.recovery-hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tranche3-attention .icon,
.recovery-hero > div:first-child .icon {
  color: var(--red);
}

.recovery-plan-card,
.recovery-hero {
  border-color: #efb5aa;
  background: linear-gradient(135deg, #fff7f5, var(--surface));
}

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

.scenario-button {
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
}

.scenario-button:hover,
.scenario-button:focus-visible {
  border-color: var(--rust);
  background: var(--rust-soft);
}

.whatif-current dl,
.whatif-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.whatif-current dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.whatif-current dl > div,
.whatif-comparison article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.whatif-current dt,
.whatif-current dd {
  margin: 0;
}

.whatif-current dd,
.whatif-comparison strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
}

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

.readiness-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-left: 5px solid var(--amber);
}

.readiness-ready .section-label { color: var(--green); }
.readiness-needs-attention .section-label,
.readiness-what-could-break .section-label { color: var(--rust); }
.readiness-jat-handling .section-label { color: var(--blue); }

@media (max-width: 780px) {
  .secondary-page {
    width: min(100% - 24px, 680px);
    padding-top: 12px;
  }

  .trip-summary-card,
  .section-heading {
    align-items: flex-start;
  }

  .trip-summary-card {
    flex-direction: column;
  }

  .secondary-grid,
  .history-grid,
  .intent-two-column,
  .mandate-columns {
    grid-template-columns: 1fr;
  }

  .intent-hero,
  .intent-next,
  .activity-intent-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .intent-actions,
  .capture-date-grid,
  .capture-buttons,
  .scenario-grid,
  .whatif-current dl,
  .whatif-comparison,
  .recovery-grid {
    grid-template-columns: 1fr;
  }

  .tranche3-attention,
  .readiness-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .authority-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .authority-card .authority-mode {
    grid-column: 2;
  }

  .flight-screen-card {
    grid-template-columns: 34px 1fr;
  }

  .flight-screen-status {
    grid-column: 2;
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .today-item {
    grid-template-columns: 42px 1fr;
  }

  .today-aside {
    grid-column: 2;
    max-width: none;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .today-context-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .today-context-grid .screen-card {
    padding: 14px;
  }

  .plans-intro {
    align-items: flex-start;
  }

  .plans-assurance {
    justify-items: start;
    margin-left: 0;
    text-align: left;
  }

  .parity-plan-card {
    grid-template-columns: 130px minmax(0, 1fr) 44px;
    min-height: 180px;
  }

  .parity-plan-card > img {
    height: 150px;
  }

  .trip-overview-grid {
    grid-template-columns: 1fr;
  }

  .trip-tabs {
    overflow-x: auto;
    grid-template-columns: repeat(6, minmax(92px, 1fr));
  }

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

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

  .parity-history-grid .history-card:nth-child(odd) {
    border-left: 0;
  }

  .parity-history-grid .history-card:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .flight-list-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .phase-header {
    grid-template-columns: 120px minmax(0, 1fr) 120px;
  }
}

@media (max-width: 560px) {
  .secondary-page {
    width: calc(100% - 24px);
  }

  .journey-ribbon {
    padding-inline: 7px;
  }

  .journey-stage {
    font-size: .53rem;
  }

  .journey-stage .icon {
    width: 36px;
    height: 36px;
    padding: 8px;
  }

  .journey-ribbon::before {
    top: 30px;
  }

  .today-context-grid,
  .assumption-chips {
    grid-template-columns: 1fr;
  }

  .what-changed {
    align-items: stretch;
    flex-direction: column;
  }

  .what-changed .secondary-action {
    width: 100%;
  }

  .plans-intro {
    flex-direction: column;
  }

  .plans-section .section-heading {
    align-items: center;
  }

  .parity-plan-card {
    grid-template-columns: 92px minmax(0, 1fr) 28px;
    gap: 12px;
    min-height: 136px;
    padding: 12px;
  }

  .parity-plan-card > img {
    height: 110px;
  }

  .plan-card-copy h2 {
    margin-bottom: 5px;
    font-size: 1.45rem;
  }

  .plan-card-copy p {
    margin-bottom: 6px;
    font-size: .72rem;
  }

  .plan-open small {
    display: none;
  }

  .plan-add-card {
    min-height: 86px;
    padding: 16px 20px;
    font-size: 1rem;
  }

  .alerts-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .alerts-banner .secondary-action {
    width: 100%;
    margin-left: 0;
  }

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

  .hazard-row {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 13px 12px;
  }

  .hazard-row-icon {
    width: 38px;
    height: 38px;
  }

  .hazard-row > .text-action {
    grid-column: 2;
    width: max-content;
  }

  .assurance-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .assurance-summary > .secondary-action {
    width: 100%;
    margin-left: 0;
  }

  .timeline-connection {
    margin-left: 0;
  }

  .phase-header {
    grid-template-columns: 42px minmax(0, 1fr) 104px;
    min-height: 82px;
  }

  .phase-header-title h1 {
    font-size: 1.65rem;
  }

  .phase-header-title p {
    font-size: .72rem;
  }

  .phase-header-actions .icon-button {
    width: 30px;
  }

  .phase-header-actions .avatar {
    width: 34px;
    height: 34px;
  }

  .flight-heading-row .phase-header {
    padding-right: 0;
  }

  .history-jump {
    position: static;
    width: 100%;
    margin-bottom: 14px;
  }

  .flight-trip-summary {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .flight-trip-summary > .text-action {
    grid-column: 2;
  }

  .flight-list-heading > div {
    align-items: stretch;
    flex-direction: column;
  }

  .flight-list-heading > div > span {
    order: 3;
  }

  .parity-history-grid {
    grid-template-columns: 1fr;
  }

  .parity-history-grid .history-card + .history-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-history {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .about-history > .text-action {
    grid-column: 2;
  }
}

/* Complete product shell: approved warm surfaces, hierarchy and existing navigation. */
.product-surface { display: grid; gap: 18px; }
[data-approved-screen="active-authority"], [data-approved-screen="decision-detail"] { padding-bottom: 35px; }
.product-compact-header { display: grid; grid-template-columns: 46px minmax(0,1fr) 46px; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding: 8px 0 22px; margin-bottom: 22px; }
.product-compact-header h1 { text-align: center; font-size: 25px; font-weight: 500; margin: 0; }
.product-header-with-info { display: grid; grid-template-columns: minmax(0,1fr) 46px; align-items: center; gap: 15px; }
.product-header-with-info > .icon-button { align-self: start; margin-top: 18px; }
@media (max-width: 540px) { .product-compact-header h1 { font-size: 18px; } .product-header-with-info { gap: 4px; grid-template-columns: minmax(0,1fr) 36px; } }
.product-surface h2 { margin: 0 0 14px; }
.product-surface .screen-card { margin: 0; }
.product-surface .detail-row { padding: 18px 0; }
.product-surface .detail-row > div:only-child { grid-column: 1 / -1; min-width: 0; }
.product-booking-list { display: grid; gap: 8px; }
.product-booking, .product-document-list { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.product-booking > summary, .product-document > summary { display: grid; grid-template-columns: 65px minmax(0, 1fr) 140px 14px; gap: 18px; align-items: center; list-style: none; cursor: pointer; padding: 17px; min-height: 132px; }
.product-booking summary strong, .product-document summary strong { font-size: 21px; display: block; color: #191514; margin-bottom: 8px; }
.product-booking summary strong ~ span, .product-document summary strong ~ span { display: block; margin-top: 5px; font-size: 18px; }
.product-booking summary .provenance-meta, .product-document summary .provenance-meta { margin: 0; font-size: 13px; }
.product-medallion { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 1px solid #efdcd0; color: var(--rust); font-size: 34px; background: var(--surface-warm); }
.product-medallion .sb-icon { width: 32px; height: 32px; }
.flight-add-icon .sb-icon { width: 47px; height: 47px; }
.flight-add-information .sb-icon { width: 36px; height: 36px; }
.product-booking-detail { padding: 10px 25px 20px 100px; border-top: 1px solid var(--line); }
.product-list-label { font-size: 20px; color: var(--ink); font-weight: 600; margin: 0 !important; }
.product-information { padding: 20px; border: 1px solid var(--line); border-radius: 14px; font-size: 18px; }
.budget-capture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 22px 0; }
.budget-scan-panel { border: 1px dashed var(--line-strong); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 25px; min-height: 235px; }
.budget-scan-panel .unavailable-control { text-align: center; }
.budget-how { background: var(--surface-warm); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.budget-how ol { padding-left: 28px; }
.budget-how li { padding-left: 6px; margin-bottom: 16px; }
.budget-how li span { display: block; margin-top: 5px; }
[data-approved-screen="budget-capture"] .screen-card { padding: 24px; }
[data-approved-screen="budget-capture"] .product-summary > div { border: 1px solid var(--line); border-radius: 12px; padding: 17px; }
[data-approved-screen="budget-capture"] .product-summary { gap: 0; border: 0; padding: 0; background: transparent; box-shadow: none; }
[data-approved-screen="budget-capture"] .product-summary .provenance-meta { font-size: 11px; }
[data-approved-screen="budget-capture"] .product-summary strong { font-size: 27px; }
[data-approved-screen="budget-capture"] .product-table td { padding: 22px 10px; }
.product-document-privacy { padding: 20px; margin: 22px 0; border: 1px solid var(--line); border-radius: 17px; }
.product-document-privacy .product-link-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-document { border-bottom: 1px solid var(--line); }
.product-document:last-child { border-bottom: 0; }
.product-connection-route { display: flex; gap: 14px; overflow-x: auto; padding: 14px 0; }
.product-connection-route > div { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1 0 88px; max-width: 145px; gap: 12px; font-size: 13px; }
.product-connection-route .product-medallion { width: 45px; height: 45px; font-size: 26px; }
.product-heading-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-connection-windows { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.product-connection-window { display: grid; grid-template-columns: 1.1fr 1fr 1fr; padding: 24px 18px; border-bottom: 1px solid var(--line); }
.product-connection-window:last-child { border: 0; }
.product-connection-window > div { padding: 0 16px; font-size: 17px; }
.product-connection-window > div + div { border-left: 1px solid var(--line); }
.product-connection-window h3 { font-size: 22px; margin: 10px 0; }
.product-connection-window .provenance-meta { font-size: 13px; }
.product-connection-window p { line-height: 1.5; }
.product-document > summary { min-height: 135px; }
@media (max-width: 600px) {
 .budget-capture-grid { grid-template-columns: 1fr; gap: 16px; }
 [data-approved-screen="budget-capture"] .screen-card { padding: 16px; }
 [data-approved-screen="budget-capture"] .product-summary { grid-template-columns: 1fr; }
 .product-connection-window { grid-template-columns: 1fr; padding: 16px; gap: 10px; }
 .product-connection-window > div { padding: 0; font-size: 15px; }
 .product-connection-window > div + div { border-left: 0; }
 .product-booking > summary, .product-document > summary { grid-template-columns: 40px minmax(0,1fr) 12px; padding: 13px; gap: 10px; }
 .product-booking summary > span:nth-child(3), .product-document summary > span:nth-child(3) { grid-column: 2; }
 .product-booking summary > span:last-child, .product-document summary > span:last-child { grid-column: 3; grid-row: 1; }
 .product-booking summary strong, .product-document summary strong { font-size: 17px; }
 .product-booking summary strong ~ span, .product-document summary strong ~ span { font-size: 14px; }
 .product-medallion { width: 38px; height: 38px; font-size: 24px; }
 .product-booking-detail { padding: 15px; }
 .product-document-privacy { padding: 14px; }
 .product-document-privacy .product-link-row { grid-template-columns: 1fr; }
}
.product-surface .ask-bar { grid-template-columns: minmax(0, 1fr) 46px auto; }
.product-surface .ask-bar #voice-action { border: 0; border-radius: 50%; background: transparent; color: var(--rust); width: 44px; height: 44px; font-size: 24px; }
.product-surface .capture-form select { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 13px; background: white; color: var(--ink); font: inherit; }
.product-row-icon { color: var(--rust); font-size: 30px; padding: 4px 12px; }
.product-trip-tabs, .product-filters, .product-link-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.product-trip-tabs { border-block: 1px solid var(--line); padding: 12px 0; margin-bottom: 20px; }
.product-trip-tabs button { border: 0; background: transparent; }
.product-filters button { border: 1px solid var(--line); color: var(--ink); background: var(--surface); font: inherit; border-radius: 24px; padding: 8px 18px; }
.product-filters button[aria-pressed="true"] { color: #fff; background: var(--rust); border-color: var(--rust); }
.product-link-row { margin-top: 18px; }
.product-link-row button { padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--rust); }
.product-detail { border-top: 1px solid var(--line); padding: 15px 2px; }
.product-detail summary { color: var(--rust); font-weight: 600; cursor: pointer; }
.product-detail[open] summary { margin-bottom: 16px; }
.product-summary { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 24px; gap: 18px; }
.product-summary div { display: flex; flex-direction: column; gap: 8px; }
.product-summary strong { font-size: 30px; }
.product-summary span { color: var(--muted); font-size: 13px; }
.product-capture-options, .product-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-form-grid input, .product-form-grid select { width: 100%; min-width: 0; }
.product-table { width: 100%; border-collapse: collapse; text-align: left; }
.product-table th, .product-table td { border-bottom: 1px solid var(--line); padding: 14px 8px; }
.unavailable-control { display: grid; gap: 8px; margin: 14px 0; }
.unavailable-control small { color: var(--muted); line-height: 1.5; }
.unavailable-control button { border: 1px solid var(--line); padding: 12px 18px; border-radius: 12px; }
.product-conversation { min-height: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.product-conversation .conversation-intro { color: var(--muted); }
.product-empty-hero { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding: 20px 0; align-items: center; }
.product-empty-hero h2 { font-size: 28px; }
.product-journey-mark { display: grid; place-items: center; min-height: 180px; background: var(--surface-warm); border: 1px solid var(--line); border-radius: 18px; color: var(--rust); }
.product-journey-mark .icon { height: 64px; width: 64px; }
.product-today-date { text-align: center; color: var(--muted); }
.product-today-sections { display: grid; gap: 20px; margin-top: 20px; }
.product-today-sections > div { border-top: 1px solid var(--line); padding-top: 12px; }
.home-shell .monitoring-card h2, .home-shell .safety-card h2, .home-shell .other-plans h2 { font-size: 17px; color: var(--rust); }
.home-shell .monitoring-card, .home-shell .safety-card, .home-shell .other-plans { padding: 22px; }
.loading-shell .capture-form { width: min(100%, 400px); text-align: left; }
.loading-shell input { width: 100%; }
.loading-shell [role="status"] { min-height: 1.5em; }
.capture-choices { display: grid; gap: 12px; padding: 16px 0; }
.capture-choices button { padding: 16px; text-align: left; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
@media (max-width: 540px) {
  .product-empty-hero { grid-template-columns: 72px 1fr; gap: 16px; }
  .product-journey-mark { min-height: 110px; }
  .product-journey-mark .icon { width: 36px; height: 36px; }
  .product-empty-hero h2 { font-size: 23px; }
  .product-summary { padding: 16px; gap: 12px; }
  .product-summary strong { font-size: 23px; }
  .product-capture-options, .product-form-grid { grid-template-columns: 1fr; }
  .product-conversation { padding: 18px; }
  .product-trip-tabs { gap: 4px; }
}
.product-sheet { border: 1px solid var(--line); border-radius: 32px 32px 20px 20px; background: var(--surface); color: var(--ink); padding: 38px 24px 20px; width: min(940px, calc(100vw - 36px)); max-height: calc(100dvh - 60px); margin: 30px auto; overflow: auto; box-shadow: 0 20px 90px #36251933; }
.product-sheet::backdrop { background: #292624aa; backdrop-filter: blur(4px); }
.product-sheet .secondary-page { width: 100%; max-width: none; padding: 28px 10px 12px; }
.product-sheet .screen-header { display: block; text-align: center; margin-bottom: 28px; padding: 0 30px; }
.product-sheet .screen-header .screen-back { display: none; }
.product-sheet .screen-header h1 { font-family: inherit; font-size: 36px; }
.journey-ribbon > div:only-child { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.journey-ribbon > div:only-child::before, .journey-ribbon > div:only-child::after { display: none; }
.journey-ribbon > div:only-child .provenance-meta { margin: 0; }
.journey-ribbon > div:only-child small { font-size: 12px; }
.product-surface .flight-add-option button { padding: 0; border: 0; background: transparent; }
.product-sheet .screen-header p { font-size: 21px; }
.sheet-close { position: absolute; right: 22px; top: 32px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 30px; }
.sheet-drag-handle { position: absolute; width: 76px; height: 8px; border-radius: 8px; background: var(--line-strong); top: 16px; left: calc(50% - 38px); }
.sheet-context { width: min(850px, 90%); margin: 48px auto; }
.sheet-context-card { min-height: 180px; margin: 24px 0; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.sheet-actions { display: grid; gap: 14px; margin: 24px 0 12px; }
.sheet-actions button { width: 100%; padding: 16px; }
.home-shell button[data-screen]:not(.nav-item):not(.avatar):not(.primary-action):not(.icon-button) { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; color: var(--rust); background: var(--surface); }
.home-shell .section-heading button[data-screen] { border: 0 !important; padding: 4px 0 !important; background: transparent !important; }
@media (max-width: 540px) { .product-sheet { padding: 30px 10px 14px; margin-top: 18px; max-height: calc(100dvh - 36px); width: calc(100vw - 18px); border-radius: 24px 24px 14px 14px; } .product-sheet .screen-header h1 { font-size: 29px; } .product-sheet .screen-header p { font-size: 16px; } .sheet-close { right: 12px; top: 20px; width: 34px; height: 34px; font-size: 26px; } }

/* Intent, decisions, recorded activity and authority share the approved quiet cards. */
.authority-product { max-width: 880px; margin: 0 auto; }
.authority-product .screen-header { margin-bottom: 24px; }
.authority-product .screen-header h1 { font-size: 29px; }
.authority-product .screen-header p { font-size: 15px; }
.authority-product .screen-card { margin-bottom: 16px; padding: 20px 24px; border-radius: 17px; }
.authority-product .screen-card h2 { font-size: 20px; line-height: 1.4; }
.authority-product p { line-height: 1.55; }
.authority-product .section-label, .authority-product .numbered-heading { font-size: 16px; font-weight: 650; letter-spacing: .07em; color: var(--rust); }
.authority-product .section-label { margin: 0 0 14px; }
.authority-product .provenance-meta { font-size: 11px; line-height: 1.4; }
.authority-product .intent-hero { padding: 22px 24px; align-items: flex-start; }
.authority-product .intent-hero h2 { font-family: inherit; font-size: 23px; font-weight: 550; }
.authority-product .goal-provenance { gap: 8px; }
.authority-product .intent-two-column { gap: 16px; }
.authority-product .intent-two-column .screen-card { padding: 20px; }
.authority-product .intent-decision-card { grid-template-columns: 32px 1fr 16px; text-align: left; }
.authority-product .intent-decision-card h2 { font-size: 19px; }
.authority-product .evidence-summary { padding-left: 20px; font-size: 14px; line-height: 1.6; }
.authority-progress-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; }
.authority-progress-row + .authority-progress-row { border-top: 1px solid var(--line); }
.authority-step, .authority-disc { width: 32px; height: 32px; display: grid; place-items: center; background: #edece7; color: #818579; border-radius: 50%; flex: 0 0 auto; }
.authority-step.is-calculated { background: #e7ebde; color: #697844; }
.authority-step .icon, .authority-disc .icon { width: 19px; height: 19px; }
.authority-step-status { color: var(--muted); font-size: 12px; }
.authority-note { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; font-size: 13px; color: var(--muted); }
.authority-note summary, .authority-recovery-review summary { cursor: pointer; min-height: 32px; }
.authority-evidence-row { border-bottom: 1px solid var(--line); }
.authority-evidence-row:last-child { border-bottom: 0; }
.authority-evidence-row > summary { display: flex; align-items: center; gap: 12px; padding: 12px 0; min-height: 52px; cursor: pointer; list-style: none; font-size: 15px; }
.authority-evidence-row > summary::-webkit-details-marker, .authority-activity-event > summary::-webkit-details-marker { display: none; }
.authority-evidence-row > summary > span:nth-child(2), .authority-evidence-row > summary > strong { flex: 1; min-width: 0; font-weight: 500; }
.authority-evidence-row > summary > .icon:last-child { flex: 0 0 auto; width: 16px; height: 16px; color: var(--muted); }
.authority-evidence-row[open] > summary > .icon:last-child { transform: rotate(90deg); }
.authority-evidence-row .provenance-chip { margin-left: 5px; vertical-align: middle; }
.authority-disclosure-body { padding: 0 12px 14px 44px; font-size: 13px; color: var(--muted); }
.authority-disclosure-body p { margin: 8px 0; }
.authority-action-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.authority-action-pair button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; }
.authority-action-pair .icon { width: 20px; height: 20px; flex-shrink: 0; }
.authority-quiet-note { background: #eaf1f3; color: #567481; border-color: #d9e4e6; }
.authority-product .authority-quiet-note p { margin: 0 0 6px; }
.authority-product .intent-next h2 { font-size: 18px; }
.authority-product .intent-next .primary-action { white-space: nowrap; }
.authority-product .decision-detail > section { margin-bottom: 24px; }
.authority-product .decision-detail .numbered-heading { text-transform: none; letter-spacing: 0; margin: 0 0 10px; }
.authority-product .decision-detail .recommendation-card { grid-template-columns: 32px 1fr auto; gap: 12px; }
.authority-product .decision-detail .evidence-list > article { padding: 12px 0; }
.authority-product .decision-detail .evidence-list > article strong { font-weight: 500; }
.authority-product .decision-detail .evidence-list > article p { font-size: 14px; }
.authority-product .decision-boundary { font-size: 12px; margin: 20px 0; }
.activity-product .app-header { padding: 0 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.activity-product .activity-intent-summary { align-items: flex-start; background: #f8f7f2; }
.activity-product .activity-intent-summary h2 { font-size: 19px; }
.activity-route { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.activity-route .icon { flex: 0 0 auto; width: 16px; }
.activity-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; margin: 24px 0 10px; }
.activity-filters button, .activity-more > summary { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 9px 15px; border-radius: 10px; font: inherit; font-size: 13px; cursor: pointer; min-height: 38px; }
.activity-filters button[aria-pressed="true"] { background: #8b6541; border-color: #8b6541; color: #fff; }
.activity-more { position: relative; }
.activity-more > div { position: absolute; z-index: 2; right: 0; top: 42px; min-width: 180px; padding: 8px; display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-soft); }
.activity-more > div button { text-align: left; }
.activity-filter-status { color: var(--muted); font-size: 12px; margin: 0; }
.authority-product .activity-timeline { gap: 0; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; margin: 14px 0 20px; background: var(--surface); }
.authority-product .authority-activity-event { display: block; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.authority-activity-event + .authority-activity-event { border-top: 1px solid var(--line); }
.authority-activity-event > summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 14px; align-items: center; gap: 14px; padding: 18px; cursor: pointer; list-style: none; }
.authority-activity-event .activity-marker { width: 36px; height: 36px; background: #f0ece3; color: #837853; }
.activity-event-copy > strong { display: block; font-weight: 500; font-size: 16px; line-height: 1.5; }
.activity-event-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.authority-activity-event .activity-family { font-size: 10px; letter-spacing: .03em; }
.authority-activity-event time { font-size: 12px; color: var(--muted); margin: 0; }
.authority-activity-event > summary > .icon { width: 14px; height: 14px; }
.authority-activity-event[open] > summary > .icon { transform: rotate(90deg); }
.authority-activity-event .authority-disclosure-body { padding-left: 68px; }
.authority-activity-footer { display: flex; align-items: center; gap: 14px; background: #f0f2e8; }
.authority-activity-footer > .icon { flex-shrink: 0; }
.authority-activity-footer > div { flex: 1; font-size: 13px; }
.authority-product [hidden] { display: none !important; }

/* Captured plans, actual conversation turns and the flight confirmation step. */
[data-product-screen="plans"] { gap: 28px; }
.product-plans-intro { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 22px; align-items: center; }
.product-plans-mark { display: grid; place-items: center; flex-shrink: 0; width: 76px; height: 76px; background: #faece1; color: var(--rust); font-size: 42px; border-radius: 50%; }
.product-plans-intro p { margin: 0; }
.product-plans-status { align-self: start; padding: 7px 12px; border-radius: 9px; background: #eef2e7; color: #61713f; font-size: 14px; }
.product-plans-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.product-plans-heading h2 { margin: 0; }
.product-plans-heading label { color: var(--ink); white-space: nowrap; }
.product-plans-heading select { font: inherit; color: var(--rust); border: 0; background: transparent; padding: 8px; opacity: 1; }
.product-plans-list { display: grid; gap: 24px; }
.product-plan-card { display: grid; grid-template-columns: 170px minmax(0, 1fr) 70px; align-items: center; gap: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); color: var(--ink); text-align: left; font: inherit; width: 100%; }
button.product-plan-card:hover { border-color: var(--rust); }
.product-plan-art { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; border-radius: 18px; min-height: 194px; background: linear-gradient(160deg, #dce7e5, #f1e6d5 62%, #ddcab3); color: #776c52; font-size: 50px; }
.product-plan-art > span:first-child { transform: rotate(-15deg); }
.product-plan-art > span:last-child { width: 100%; text-align: center; margin-top: -40px; }
.product-plan-copy { display: grid; gap: 12px; min-width: 0; }
.product-plan-copy > strong { font-size: 27px; }
.product-plan-copy > span { display: block; line-height: 1.5; }
.product-plan-dates { font-size: 15px; }
.product-plan-open { display: grid; gap: 10px; text-align: center; justify-items: center; color: var(--rust); font-size: 40px; }
.product-plan-open small { font-size: 14px; }
.product-plan-empty { grid-template-columns: 150px minmax(0, 1fr); }
.product-plan-empty h3 { font-size: 24px; margin: 0 0 12px; }
.product-plans-add { border: 1px solid #dfaa87; border-radius: 21px; padding: 28px; display: flex; align-items: center; gap: 28px; }
.product-plans-add > div { flex: 1; }
.product-plans-add h2, .product-plans-add .text-action { color: var(--rust); font-size: 26px; margin: 0 0 12px; }
.product-plans-add .text-action { width: 100%; display: flex; justify-content: space-between; padding: 0; }
.product-plans-add p { margin: 0 0 8px; }
.product-plans-add small { color: var(--muted); }
.product-plans-support { display: flex; align-items: center; gap: 24px; }
.product-plans-support > span { font-size: 36px; }
.product-plans-support p { margin: 0; }
.product-plans-footnote { font-size: 12px; color: var(--muted); }
[data-product-screen="chat-ask"] { gap: 22px; }
.product-chat-toolbar { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.product-chat-toolbar > p { margin: 4px 0 0; color: var(--muted); }
.product-chat-history { max-width: 380px; font-size: 14px; }
.product-chat-history > summary { cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 15px; padding: 12px 20px; color: var(--rust); white-space: nowrap; }
.product-chat-history > summary::-webkit-details-marker { display: none; }
.product-chat-trip { display: flex; justify-content: space-between; gap: 20px; align-items: center; background: #faf7f1; }
.product-chat-trip h2 { font-size: 25px; }
.product-chat-trip p { margin: 5px 0; }
.product-chat-trip button { flex-shrink: 0; }
[data-product-screen="chat-ask"] .product-conversation { border: 0; background: transparent; padding: 6px 0; min-height: 320px; display: grid; gap: 22px; align-content: start; }
.product-conversation .conversation-intro { display: flex; gap: 20px; align-items: start; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 24px; }
.product-conversation .conversation-intro[hidden] { display: none; }
.product-conversation .ask-answer-mark { width: 52px; height: 52px; font-size: 17px; flex-shrink: 0; }
.product-chat-suggestions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.product-chat-suggestions button { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--rust); padding: 10px 14px; font: inherit; font-size: 14px; }
.product-chat-question { justify-self: end; max-width: 72%; border: 1px solid #dbc3a7; background: #faf6ed; border-radius: 20px 20px 4px 20px; padding: 20px 24px 12px; }
.product-chat-question p { margin: 0 0 10px; line-height: 1.5; }
.product-chat-question time { display: block; text-align: right; color: #775a49; font-size: 14px; }
.product-conversation .ask-response { margin: 0; }
.product-conversation .ask-response:empty { display: none; }
.product-conversation .ask-answer { max-width: 88%; padding: 22px; border: 1px solid #dec6af; border-radius: 22px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; background: var(--surface); box-shadow: none; }
.product-conversation .answer-statement p { font-size: 21px; line-height: 1.5; margin: 0 0 15px; }
.product-conversation .answer-statement + .answer-statement { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.product-conversation .answer-statement > small { display: block; font-size: 14px; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); }
[data-product-screen="chat-ask"] > .product-detail { color: var(--rust); }
[data-product-screen="chat-ask"] .ask-bar { border: 1px solid #c8bcb0; box-shadow: none; border-radius: 20px; min-height: 74px; }
[data-product-screen="chat-ask"] .ask-bar input { font-size: 19px; }
[data-product-screen="chat-ask"] .ask-bar button[type="submit"] { border-radius: 50%; width: 58px; height: 58px; min-height: 0; padding: 0; font-size: 15px; }
[data-product-screen="review-flight"] { gap: 16px; }
#flight-review-content { display: grid; gap: 22px; }
.product-flight-proposed, .product-flight-notice, .product-flight-conflict { display: flex; gap: 22px; align-items: flex-start; }
.product-flight-proposed { background: #f2f3eb; border-color: #d9dec8; }
.product-flight-proposed > span { color: #56703c; border: 2px solid currentColor; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 23px; }
.product-flight-proposed h2, .product-flight-notice h2 { font-size: 23px; }
.product-flight-proposed p, .product-flight-notice p, .product-flight-conflict p { margin: 0; }
.product-flight-review-title { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.product-flight-review-title h2 { font-size: 30px; margin-bottom: 10px; }
.product-flight-review-title h3 { font-size: 28px; margin: 0 0 10px; }
.product-flight-review-title p { margin: 0; font-size: 21px; }
.product-flight-emblem { width: 82px; height: 82px; border: 1px solid #deb091; border-radius: 50%; display: grid; place-items: center; font-size: 44px; }
.product-flight-proposed-label { padding: 8px 12px; border-radius: 10px; background: #fae8dd; color: var(--rust); font-size: 15px; }
.product-flight-times { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; padding: 36px 0 26px; }
.product-flight-times > div { display: grid; gap: 10px; }
.product-flight-times > div:last-child { justify-items: end; text-align: right; }
.product-flight-times strong { font-size: 29px; }
.product-flight-duration { text-align: center; }
.product-flight-duration .sb-icon { width: 38px; height: 38px; display: inline-block; }
.product-flight-emblem .sb-icon { width: 46px; height: 46px; }
.product-flight-notice > span { width: 34px; height: 34px; }
.product-flight-notice > span .sb-icon { width: 34px; height: 34px; }
.product-plans-support > span { width: 36px; height: 36px; flex-shrink: 0; }
.product-plans-support > span .sb-icon { width: 36px; height: 36px; }
.product-plans-add > .product-plans-mark { font-size: 0; position: relative; }
.product-plans-add > .product-plans-mark::before, .product-plans-add > .product-plans-mark::after { content: ""; position: absolute; background: currentColor; width: 35px; height: 2px; left: calc(50% - 17.5px); top: calc(50% - 1px); }
.product-plans-add > .product-plans-mark::after { transform: rotate(90deg); }
.product-flight-duration > span:first-child { font-size: 37px; position: relative; }
.product-flight-duration > span:first-child::before, .product-flight-duration > span:first-child::after { content: ""; position: absolute; top: 50%; width: 25%; height: 1px; background: var(--line); }
.product-flight-duration > span:first-child::before { left: 0; }
.product-flight-duration > span:first-child::after { right: 0; }
.product-flight-facts { margin: 0; }
.product-flight-facts > div { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 18px 0; }
.product-flight-facts > div:last-child { padding-bottom: 0; }
.product-flight-facts dt, .product-flight-facts dd { margin: 0; }
.product-flight-facts dd { text-align: right; font-weight: 500; }
.product-flight-notice > span, .product-flight-conflict > span { font-size: 32px; flex-shrink: 0; }
.product-flight-notice ul { margin: 8px 0 0; padding-left: 23px; line-height: 1.6; }
.product-flight-conflict { background: #fff7e7; border-color: #e0bc76; }
.product-flight-entered > summary { display: flex; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.product-flight-entered > summary::-webkit-details-marker { display: none; }
.product-flight-entered[open] > summary { margin-bottom: 20px; }
.product-flight-confirm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product-flight-confirm button { width: 100%; min-height: 62px; font-size: 20px; }
@media (min-width: 700px) {
  [data-product-screen="plans"], [data-product-screen="chat-ask"], [data-product-screen="review-flight"] { font-size: 22px; }
  [data-product-screen="plans"] .screen-card, [data-product-screen="chat-ask"] .screen-card, [data-product-screen="review-flight"] .screen-card { padding: 26px; box-shadow: none; }
  .product-plans-intro { grid-template-columns: 90px minmax(0, 1fr) auto; }
  .product-plans-intro h2 { font-size: 26px; }
  .product-plans-heading { margin: 10px 0; }
  .product-plans-heading h2 { font-size: 30px; }
  .product-plan-card { min-height: 245px; }
  .product-plan-copy > strong { font-size: 32px; }
  .product-plan-dates { font-size: 20px; }
  .product-plan-open small { font-size: 18px; }
  .product-plan-copy .provenance-meta { font-size: 12px; }
  .product-plans-add { min-height: 150px; }
  .product-plans-support { min-height: 115px; }
  .product-chat-question { font-size: 25px; }
  .product-conversation .answer-statement p { font-size: 25px; }
  .product-chat-trip h2 { font-size: 28px; }
  [data-product-screen="chat-ask"] .ask-bar { min-height: 82px; }
  .product-flight-proposed h2, .product-flight-notice h2 { font-size: 25px; }
}
@media (max-width: 540px) {
  [data-product-screen="plans"] { gap: 20px; }
  .product-plans-intro { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .product-plans-mark { width: 46px; height: 46px; font-size: 28px; }
  .product-plans-status { grid-column: 2; justify-self: start; font-size: 11px; }
  .product-plans-heading { font-size: 13px; }
  .product-plans-heading h2 { font-size: 21px; }
  .product-plan-card { grid-template-columns: 80px minmax(0, 1fr); padding: 14px; gap: 14px; }
  .product-plan-art { min-height: 130px; font-size: 31px; }
  .product-plan-copy > strong { font-size: 22px; }
  .product-plan-copy { gap: 8px; font-size: 13px; }
  .product-plan-dates { font-size: 12px; }
  .product-plan-open { grid-column: 2; grid-row: 2; display: flex; justify-content: end; font-size: 26px; }
  .product-plan-open small { font-size: 12px; }
  .product-plans-add { padding: 18px; gap: 15px; }
  .product-plans-add h2, .product-plans-add .text-action { font-size: 22px; }
  .product-plans-support { gap: 14px; }
  .product-plans-support > span { font-size: 28px; }
  .product-chat-toolbar { font-size: 13px; }
  .product-chat-history { max-width: 55%; font-size: 12px; }
  .product-chat-history > summary { padding: 10px 12px; }
  .product-chat-trip { display: grid; gap: 10px; }
  .product-chat-trip h2 { font-size: 21px; }
  .product-chat-trip button { justify-self: start; }
  .product-conversation .conversation-intro { padding: 16px; gap: 12px; }
  .product-conversation .ask-answer-mark { width: 34px; height: 34px; font-size: 12px; }
  .product-conversation .conversation-intro h2 { font-size: 19px; }
  .product-chat-question { max-width: 88%; font-size: 17px; padding: 15px 17px 10px; }
  .product-chat-question time { font-size: 11px; }
  .product-conversation .ask-answer { max-width: 96%; padding: 15px; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .product-conversation .answer-statement p { font-size: 17px; }
  .product-conversation .answer-statement > small { font-size: 12px; }
  [data-product-screen="chat-ask"] .ask-bar input { font-size: 15px; }
  [data-product-screen="chat-ask"] .ask-bar button[type="submit"] { width: 44px; height: 44px; font-size: 12px; }
  .product-flight-review-title { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; }
  .product-flight-emblem { width: 44px; height: 44px; font-size: 28px; }
  .product-flight-review-title h2 { font-size: 22px; }
  .product-flight-review-title h3 { font-size: 21px; }
  .product-flight-review-title p { font-size: 16px; }
  .product-flight-proposed-label { font-size: 10px; padding: 6px; }
  .product-flight-times { font-size: 12px; gap: 9px; padding: 26px 0 20px; }
  .product-flight-times strong { font-size: 23px; }
  .product-flight-duration > span:first-child { font-size: 28px; }
  .product-flight-proposed, .product-flight-notice, .product-flight-conflict { gap: 14px; }
  .product-flight-proposed > span { width: 32px; height: 32px; font-size: 19px; }
  .product-flight-proposed h2, .product-flight-notice h2 { font-size: 19px; }
  .product-flight-facts > div { font-size: 14px; gap: 14px; padding: 14px 0; }
  .product-flight-confirm { gap: 12px; }
  .product-flight-confirm button { font-size: 15px; min-height: 52px; }
}
.authority-permissions .authority-card { position: relative; grid-template-columns: 50px minmax(0, 1fr); padding: 23px; }
.authority-permissions .authority-card > div:first-child { width: 48px; height: 48px; }
.authority-permissions .authority-card h2 { padding-right: 165px; font-size: 21px; }
.authority-permissions .authority-card .authority-mode { position: absolute; top: 24px; right: 24px; font-size: 11px; }
.authority-permissions .authority-card p, .authority-permissions .authority-card li { font-size: 14px; line-height: 1.55; }
.authority-permissions .authority-card li { padding: 4px 0; }
.authority-permissions .authority-card dl { font-size: 13px; }
.authority-permissions .danger-action { margin-top: 16px; }
.authority-trip-heading { display: flex; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); padding: 0 0 26px; margin: 0 0 30px; }
.authority-trip-heading > span { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--rust); }
.authority-trip-heading .icon { width: 38px; height: 38px; }
.authority-trip-heading h2 { font-size: 32px; font-weight: 550; margin: 0; }
.authority-permissions .screen-header p:empty { display: none; }
.authority-permissions .authority-card p { margin: 13px 0; }
.authority-permissions .authority-card .authority-note { margin-top: 14px; }
.authority-permissions .safety-boundary p { margin: 0; }
.authority-recovery-consequence { border-bottom: 1px solid var(--line); padding: 10px 0; }
.authority-recovery-consequence:last-child { border-bottom: 0; }
.authority-recovery-consequence > summary { cursor: pointer; font-size: 18px; line-height: 1.5; }
.authority-recovery-consequence .provenance-chip { vertical-align: middle; }
.recovery-product .recovery-hero h2 { margin: 8px 0 12px; }
.recovery-product .recovery-hero p { margin: 0; }
.recovery-product .recovery-grid .screen-card { margin-bottom: 14px; }
.recovery-product .recovery-grid .screen-card > p:not(.section-label) { font-size: 17px; }
.activity-product .activity-intent-summary p { margin: 10px 0; }
.activity-product .activity-intent-summary .authority-note { border: 0; padding-top: 0; }
.intent-product .intent-hero h2 { font-weight: 500; }
.authority-change-row { display: flex; align-items: center; gap: 14px; }
.authority-section-caption { font-size: 13px; color: var(--muted); }
.recovery-product .recovery-hero h2 { font-size: 22px; }
.recovery-product .recovery-grid h2 { font-size: 19px; }
.recovery-product .recovery-grid .screen-card { padding: 20px; }
.recovery-product .recovery-grid .intent-fact-row { padding: 9px 0; }
.authority-recovery-review > summary { font-weight: 550; color: var(--rust); }
.authority-decision-goal > summary { display: flex; align-items: center; gap: 24px; list-style: none; cursor: pointer; }
.authority-decision-goal > summary h2 { flex: 1; margin: 0; font-weight: 500; }
.authority-decision-goal > summary::-webkit-details-marker { display: none; }
.authority-recommendation-source { grid-column: 2 / -1; font-size: 12px; }
.authority-recommendation-source > summary { cursor: pointer; }
@media (min-width: 700px) {
  .authority-product { max-width: 856px; font-size: 23px; }
  .authority-product .screen-header { position: relative; display: flex; justify-content: center; text-align: center; margin-bottom: 42px; }
  .authority-product .screen-header .screen-back { position: absolute; left: 0; }
  .authority-product .screen-header h1 { font-size: 32px; color: var(--ink); font-weight: 550; }
  .authority-product .screen-header p { font-size: 23px; }
  .authority-product .section-label, .authority-product .numbered-heading { font-size: 20px; }
  .authority-product .screen-card { padding: 22px; margin-bottom: 22px; box-shadow: none; }
  .authority-product .screen-card h2 { font-size: 26px; font-weight: 550; }
  .authority-product .provenance-chip { font-size: 14px; padding: 5px 9px; }
  .authority-product .provenance-meta { font-size: 12px; }
  .authority-product .intent-hero h2 { font-size: 28px; }
  .authority-product .intent-two-column .screen-card h2, .recovery-product .recovery-grid h2 { font-size: 23px; }
  .authority-product .evidence-summary { font-size: 19px; }
  .authority-progress-row { padding: 13px 0; grid-template-columns: 42px minmax(0, 1fr) auto; font-size: 22px; }
  .authority-step-status { font-size: 15px; }
  .authority-step, .authority-disc { width: 48px; height: 48px; }
  .authority-step .icon, .authority-disc .icon { width: 29px; height: 29px; }
  .authority-evidence-row > summary { font-size: 22px; min-height: 72px; padding: 11px 0; gap: 18px; }
  .authority-evidence-row > summary > .icon:last-child { width: 22px; height: 22px; }
  .authority-evidence-row .intent-status { font-size: 16px; }
  .authority-disclosure-body { padding-left: 66px; font-size: 16px; }
  .authority-note { font-size: 15px; }
  .authority-product .intent-next h2 { font-size: 23px; }
  .authority-product .intent-next p { font-size: 18px; }
  .authority-action-pair button { min-height: 78px; font-size: 22px; gap: 16px; }
  .authority-action-pair .icon { width: 31px; height: 31px; }
  .authority-product .decision-detail > section { margin-bottom: 30px; }
  .authority-product .decision-detail .numbered-heading { text-transform: uppercase; font-size: 20px; font-weight: 600; margin-bottom: 14px; }
  .authority-product .decision-detail .evidence-list { padding-top: 0; padding-bottom: 0; }
  .authority-decision-goal > summary { min-height: 74px; }
  .authority-decision-goal .authority-disc { width: 78px; height: 78px; color: var(--rust); background: #faeee5; }
  .authority-decision-goal .authority-disc .icon { width: 48px; height: 48px; }
  .authority-product .decision-detail .recommendation-card { grid-template-columns: 78px 1fr auto; gap: 14px 24px; }
  .authority-product .decision-detail .recommendation-card h2 { font-size: 38px; }
  .authority-product .decision-detail .recommendation-card > .authority-disc { width: 78px; height: 78px; background: #547c3c; color: white; grid-row: 1 / 3; }
  .authority-product .decision-detail .recommendation-card > .authority-disc .icon { width: 45px; height: 45px; }
  .authority-product .decision-detail .recommendation-pill { font-size: 18px; padding: 9px 13px; }
  .authority-product .decision-detail .authority-recommendation-source { font-size: 13px; }
  .activity-filters button, .activity-more > summary { font-size: 19px; padding: 12px 20px; }
  .activity-product .activity-intent-summary h2 { font-size: 27px; }
  .activity-route { font-size: 21px; }
  .activity-event-copy > strong { font-size: 23px; }
  .authority-activity-event > summary { grid-template-columns: 48px minmax(0, 1fr) auto 20px; gap: 18px; padding: 24px; }
  .authority-activity-event .activity-marker { width: 48px; height: 48px; }
  .authority-activity-event .activity-family { font-size: 13px; }
  .authority-activity-event time { font-size: 16px; }
  .authority-activity-footer > div { font-size: 18px; }
  .authority-permissions .authority-card { padding: 32px; grid-template-columns: 108px minmax(0, 1fr); gap: 26px; margin-bottom: 26px; box-shadow: none; }
  .authority-permissions .authority-card > div:first-child { width: 108px; height: 108px; background: #fae9dc; }
  .authority-permissions .authority-card > div:first-child .icon { width: 60px; height: 60px; }
  .authority-permissions .authority-card h2 { font-size: 29px; padding-right: 112px; }
  .authority-permissions .authority-card.is-active h2 { padding-right: 265px; }
  .authority-permissions .authority-card p, .authority-permissions .authority-card li, .authority-permissions .authority-card dl { font-size: 22px; }
  .authority-permissions .authority-card .authority-mode { font-size: 17px; top: 33px; right: 30px; }
  .authority-permissions .authority-card .text-action { font-size: 17px; }
  .authority-permissions .authority-card li { padding: 7px 0; }
  .authority-permissions .authority-card dl > div { padding: 15px 0; }
  .authority-permissions .safety-boundary h2 { font-size: 24px; }
  .authority-permissions .full-width { font-size: 23px; min-height: 74px; }
  .authority-section-caption { font-size: 16px; }
  .recovery-product .recovery-hero h2 { font-size: 29px; }
  .intent-product { font-size: 18px; }
  .intent-product .screen-header { justify-content: flex-start; text-align: left; margin-bottom: 22px; }
  .intent-product .screen-header .screen-back { position: static; }
  .intent-product .screen-header p { font-size: 20px; }
  .intent-product .screen-card { padding: 16px; margin-bottom: 14px; }
  .intent-product .section-label { font-size: 15px; margin-bottom: 10px; }
  .intent-product .intent-hero { padding: 18px; }
  .intent-product .intent-hero h2 { font-size: 23px; }
  .intent-product .intent-two-column .screen-card h2 { font-size: 21px; }
  .intent-product .evidence-summary { font-size: 16px; }
  .intent-product .authority-progress-row { grid-template-columns: 30px minmax(0, 1fr) auto; min-height: 41px; padding: 7px 0; font-size: 17px; }
  .intent-product .authority-step, .intent-product .authority-disc { width: 32px; height: 32px; }
  .intent-product .authority-step .icon, .intent-product .authority-disc .icon { width: 20px; height: 20px; }
  .intent-product .authority-evidence-row > summary { min-height: 52px; padding: 8px 0; font-size: 18px; gap: 14px; }
  .intent-product .authority-evidence-row .provenance-chip { font-size: 12px; }
  .intent-product .authority-action-pair button { min-height: 46px; font-size: 17px; }
  .intent-product .authority-action-pair .icon { width: 23px; height: 23px; }
  .intent-product .intent-next h2 { font-size: 20px; }
  .intent-product .intent-next p { font-size: 15px; }
}
@media (max-width: 540px) {
  .authority-product .screen-header h1 { font-size: 25px; }
  .authority-product .screen-card { padding: 16px; }
  .authority-product .intent-hero { padding: 18px; }
  .authority-product .intent-hero h2 { font-size: 20px; }
  .authority-product .section-label { font-size: 13px; }
  .authority-product .screen-card h2 { font-size: 18px; }
  .authority-evidence-row > summary { font-size: 14px; gap: 9px; }
  .authority-progress-row { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; font-size: 13px; }
  .authority-step-status { font-size: 10px; }
  .authority-step, .authority-disc { width: 27px; height: 27px; }
  .authority-action-pair { gap: 10px; }
  .authority-action-pair button { font-size: 13px; gap: 6px; padding: 10px; }
  .activity-filters { gap: 6px; }
  .activity-filters button, .activity-more > summary { padding: 8px 10px; font-size: 12px; }
  .activity-event-copy > strong { font-size: 14px; }
  .authority-activity-event > summary { grid-template-columns: 30px minmax(0, 1fr) auto 12px; gap: 8px; padding: 14px 12px; }
  .authority-activity-event .activity-marker { width: 28px; height: 28px; }
  .authority-activity-event .authority-disclosure-body { padding-left: 50px; }
  .authority-activity-footer { flex-wrap: wrap; }
  .authority-activity-footer > button { width: 100%; }
  .authority-permissions .authority-card { padding: 16px; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .authority-permissions .authority-card > div:first-child { width: 32px; height: 32px; }
  .authority-permissions .authority-card h2 { padding: 0; margin-top: 33px; font-size: 18px; }
  .authority-permissions .authority-card .authority-mode { top: 16px; right: 16px; font-size: 10px; }
  .authority-product .decision-detail .recommendation-card { grid-template-columns: 26px 1fr; }
  .authority-product .decision-detail .recommendation-pill { grid-column: 2; justify-self: start; }
}

/* Canonical What If comparison; simulation evidence remains an explicit disclosure. */
.whatif-product { display: grid; gap: 16px; }
.whatif-product .screen-header { margin: 0 0 4px; }
.whatif-kicker { justify-self: center; text-transform: uppercase; color: var(--rust); border: 1px solid var(--rust); border-radius: 6px; padding: 5px 14px; font-size: 17px; margin: 0; }
.whatif-product .screen-header h1 { color: var(--ink); font-size: 46px; }
.whatif-product .screen-header p { font-size: 25px; }
.whatif-product .screen-card { margin: 0; box-shadow: none; padding: 18px; }
.whatif-product .simulation-boundary { align-items: center; border: 1px solid #edc9af; border-radius: 16px; background: #fff9f2; padding: 16px 20px; font-size: 18px; }
.whatif-product .simulation-boundary > .icon { flex: 0 0 44px; height: 44px; width: 44px; color: #8d5731; }
.whatif-product p { margin: 0; }
.whatif-product .whatif-current { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
.whatif-flights { display: grid; gap: 55px; align-content: space-around; padding: 12px 0; }
.whatif-flights article { display: flex; gap: 17px; }
.whatif-flights article > .icon { flex: 0 0 44px; width: 44px; height: 44px; padding: 9px; border: 1px solid #edc9af; border-radius: 50%; color: var(--rust); background: #fff4e8; }
.whatif-flights h2 { font-size: 20px; margin: 0 0 6px; }
.whatif-flights p { font-size: 16px; line-height: 1.5; }
.whatif-flights small { color: var(--ink-soft); }
.whatif-current-facts { border-left: 1px solid var(--line); padding: 0 0 0 18px; display: grid; gap: 20px; }
.whatif-current-facts > p, .whatif-comparison article > div > p { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: start; font-size: 16px; }
.whatif-current-facts small, .whatif-comparison small { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.whatif-current-facts strong { font-weight: 550; }
.whatif-sources { grid-column: 1 / -1; font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.whatif-product .screen-section > h2 { font-size: 18px; margin: 0 0 12px; }
.whatif-product .scenario-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.whatif-product .scenario-button { font-weight: 450; font-size: 16px; padding: 12px; }
.whatif-product .scenario-button[aria-pressed="true"] { background: var(--rust); color: white; border-color: var(--rust); }
.whatif-product .whatif-comparison { display: grid; grid-template-columns: minmax(0,1fr) 32px minmax(0,1fr); align-items: stretch; gap: 10px; }
.whatif-product .whatif-comparison article { border-radius: 17px; padding: 0; overflow: hidden; }
.whatif-comparison header { padding: 14px 17px; text-transform: uppercase; display: flex; gap: 12px; align-items: center; font-size: 16px; border-bottom: 1px solid var(--line); }
.whatif-comparison header span { font-size: 11px; border: 1px solid currentColor; border-radius: 4px; padding: 3px 8px; }
.whatif-comparison article > div { padding: 16px; display: grid; gap: 20px; }
.whatif-comparison h2 { font-size: 16px; margin: 0; }
.whatif-product .whatif-comparison strong { margin: 0; font-size: 17px; }
.whatif-product .whatif-before { background: #fcfbf5; color: var(--green); }
.whatif-product .whatif-after { background: #fff6f0; }
.whatif-product .whatif-comfortable { color: var(--green); }
.whatif-product .whatif-tight { color: #8d5a00; }
.whatif-product .whatif-unrealistic { color: #b62212; }
.whatif-comparison article p > span { color: var(--ink); }
.whatif-comparison details { font-size: 12px; color: var(--ink-soft); }
.whatif-arrow { align-self: center; font-size: 36px; color: #8f8c89; }
.whatif-result { display: grid; gap: 15px; }
.whatif-changes h2 { color: var(--rust); font-size: 18px; text-transform: uppercase; margin: 0 0 10px; }
.whatif-changes ul { columns: 2; padding-left: 22px; margin: 0 0 14px; }
.whatif-changes li { break-inside: avoid; margin-bottom: 9px; }
.whatif-provenance { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.whatif-provenance > span { display: flex; align-items: center; gap: 8px; padding: 14px 10px; border: 1px solid var(--line); border-radius: 14px; font-size: 11px; }
.whatif-product .sheet-actions { margin-top: 4px; }
.whatif-product .sheet-actions button { border-radius: 32px; font-size: 20px; min-height: 56px; }
@media(max-width: 650px) {
  .whatif-product .whatif-current { grid-template-columns: 1fr; }
  .whatif-current-facts { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  .whatif-flights { gap: 20px; }
  .whatif-product .scenario-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .whatif-product .whatif-comparison { grid-template-columns: 1fr; }
  .whatif-arrow { display: none; }
  .whatif-product .whatif-provenance { grid-template-columns: 1fr; }
  .whatif-changes ul { columns: 1; }
  .whatif-product .screen-header h1 { font-size: 32px; }
  .whatif-product .screen-header p { font-size: 18px; }
}

/* Shared typography and shell details from the complete approved screen set. */
.app-shell .wordmark { font-family: var(--font-ui); font-weight: 500; letter-spacing: -.055em; }
.app-shell .brand-subtitle { font-family: var(--font-ui); font-weight: 550; }
.home-shell .brand-compass .icon, .home-shell .ask-mark .icon { display: block; width: 39px; height: 39px; }
.home-shell .brand-compass::before, .home-shell .ask-mark::before { content: none; }
.home-shell .greeting { font-family: var(--font-ui); font-size: 38px; font-weight: 650; letter-spacing: -.045em; }
.home-shell :is(.location-card,.trip-card,.monitoring-card,.safety-card,.other-plans,.provenance-legend) { box-shadow: none; background: #fffefd; }
.home-shell .location-card { background: #fffaf5; }
.home-shell .monitor-tile.is-interactive { border: 0; border-radius: 0; background: transparent; }
.home-shell .monitor-tile + .monitor-tile { border-left: 1px solid var(--line); }
.home-shell .nav-item span { font-size: 12px; }
.nav-item { font-size: .8rem; }
.nav-item .icon { width: 28px; height: 28px; }
.product-centered-header { display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; gap: 16px; margin-bottom: 34px; }
.product-centered-header h1 { margin: 0; text-align: center; font-size: clamp(24px,3.8vw,36px); font-weight: 600; }
.product-header-with-info.has-medallion { position: relative; min-height: 116px; padding-left: 98px; }
.product-header-with-info.has-medallion .screen-header { width: 100%; grid-template-columns: minmax(0,1fr); }
.product-header-with-info.has-medallion .screen-back { position: absolute; left: 0; top: -25px; width: 34px; height: 34px; }
.product-header-medallion { position: absolute; left: 0; top: 26px; width: 76px; height: 76px; border: 1px solid #e9c5ae; border-radius: 50%; background: #fff5eb; display: grid; place-items: center; color: var(--rust); }
.product-header-medallion .icon { width: 43px; height: 43px; }
.product-header-with-info .product-header-info { flex-shrink: 0; }
.product-header-menu { position: relative; }
.product-header-menu > summary { display: grid; place-items: center; width: 46px; height: 40px; cursor: pointer; font-size: 32px; line-height: 1; list-style: none; }
.product-header-menu > summary::-webkit-details-marker { display: none; }
.product-header-menu > div { position: absolute; right: 0; top: 42px; z-index: 25; width: 220px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.product-header-menu .product-header-info { display: inline-grid; }
/* Plans, actual Ask turns, and manual flight confirmation. */
.product-plans-mark .icon { width: 44px; height: 44px; }
.product-plan-art .icon { width: 48px; height: 48px; }
.product-plan-dates > .icon { display: inline-block; width: 21px; height: 21px; vertical-align: -3px; margin-right: 4px; }
.product-plans-add .text-action:disabled { color: #ad5b31; opacity: .72; cursor: not-allowed; }
.product-plans-add p { font-size: .9em; }
.product-plans-add small { font-size: .7em; }
.product-chat-menu { position: relative; }
.product-chat-menu > summary, .product-chat-history > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.product-chat-menu > summary { padding: 10px 0; color: var(--rust); }
.product-chat-menu > summary::-webkit-details-marker { display: none; }
.product-chat-menu > summary .icon, .product-chat-history > summary .icon { width: 24px; height: 24px; }
.product-chat-menu > nav { position: absolute; top: 100%; left: 0; z-index: 20; width: 230px; padding: 12px; display: grid; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.product-chat-composer { display: flex; align-items: center; gap: 16px; }
.product-chat-composer .ask-bar { flex: 1; min-width: 0; margin: 0; grid-template-columns: minmax(0, 1fr) 38px 58px; gap: 10px; padding-left: 20px; }
.product-chat-composer > .universal-add { flex: 0 0 64px; width: 64px; height: 64px; }
.product-chat-composer > .universal-add .icon { width: 34px; height: 34px; }
.product-chat-composer #voice-action { width: 38px; flex: 0 0 38px; }
.product-chat-composer #voice-action .icon { width: 27px; height: 27px; }
.product-chat-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 12px; color: var(--ink-soft); }
.product-chat-legend > span { display: flex; align-items: center; gap: 6px; }
.product-chat-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #777; }
.product-chat-legend .chat-legend-captured { background: #657f36; }
.product-chat-legend .chat-legend-live { background: #397991; }
.product-chat-legend .chat-legend-estimated { background: #b48b3d; }
.product-chat-legend .chat-legend-unguaranteed { background: #6d7180; }
.product-chat-legend .chat-legend-unavailable { background: #aaa9a5; }
.ask-answer .answer-source, .ask-answer .answer-why { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.ask-answer .answer-source > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; cursor: pointer; list-style: none; }
.ask-answer .answer-source > summary::-webkit-details-marker { display: none; }
.ask-answer .answer-source > summary > span:first-child { flex: 1; min-width: 100px; }
.ask-answer .answer-source > summary > .icon { width: 15px; height: 15px; }
.ask-answer .answer-source[open] > summary > .icon { transform: rotate(90deg); }
.ask-answer .answer-why > summary { cursor: pointer; color: var(--rust); }
.ask-answer .answer-why p { font-size: 13px; line-height: 1.5; margin: 10px 0; }
.product-conversation .ask-answer:has(.answer-unguaranteed) { border-style: dashed; background: #fcfbf7; }
.product-conversation .answer-statement p { font-weight: 400; }
.product-conversation .answer-statement .provenance-meta { font-size: 11px; }
.product-flight-confirm { align-items: start; }
.product-flight-confirm > .unavailable-control { align-self: start; margin: 0; min-height: 0; }
.product-flight-confirm .unavailable-control button { min-height: 62px; }
.product-flight-confirm .unavailable-control small { font-size: 13px; line-height: 1.4; padding: 4px 7px; }
#flight-review-content > #flight-save-status:empty { display: none; }
@media (min-width: 700px) {
  [data-product-screen="plans"] { gap: 24px; }
  [data-product-screen="plans"] .product-plans-intro { padding: 22px; gap: 18px; }
  .product-plans-intro h2 { font-size: 24px; }
  .product-plans-intro p { font-size: 20px; line-height: 1.5; }
  .product-plans-status { font-size: 12px; padding: 6px 9px; }
  .product-plan-card { grid-template-columns: 170px minmax(0, 1fr) 66px; gap: 22px; }
  .product-plans-add { min-height: 126px; padding: 22px 26px; }
  .product-plans-add .text-action { margin-bottom: 5px; }
  .product-plans-support { min-height: 100px; font-size: 19px; }
  .product-chat-trip { padding: 20px 24px !important; }
  .product-chat-trip h2 { font-size: 24px; }
  .product-chat-trip p { font-size: 17px; }
  .product-chat-trip button { font-size: 17px; }
  .product-chat-question { font-size: 23px; padding: 18px 22px 10px; }
  .product-conversation .ask-answer { max-width: 88%; padding: 20px; gap: 15px; }
  .product-conversation .answer-statement p { font-size: 23px; margin-bottom: 12px; }
  .product-conversation .answer-statement .answer-why p { font-size: 15px; }
  .product-conversation .answer-source, .product-conversation .answer-why { font-size: 14px; }
  #flight-review-content { gap: 17px; }
  [data-product-screen="review-flight"] .screen-card { padding: 22px; }
  .product-flight-proposed h2, .product-flight-notice h2 { font-size: 23px; }
  .product-flight-proposed p, .product-flight-notice p, .product-flight-conflict p { font-size: 19px; line-height: 1.5; }
  .product-flight-notice ul { font-size: 19px; line-height: 1.5; }
  .product-flight-times { padding-top: 28px; padding-bottom: 22px; }
  .product-flight-facts > div { padding: 15px 0; }
  .product-flight-entered > summary { font-size: 19px; }
  .product-flight-confirm { gap: 18px; }
  .product-flight-confirm button { font-size: 18px; }
  #discard-flight-draft { justify-self: start; font-size: 15px; }
}
@media (max-width: 699px) {
  .product-plans-mark .icon { width: 29px; height: 29px; }
  .product-plan-art .icon { width: 28px; height: 28px; }
  .product-chat-composer { gap: 9px; }
  .product-chat-composer .ask-bar { grid-template-columns: minmax(0, 1fr) 25px 44px; gap: 5px; padding-left: 12px; }
  .product-chat-composer > .universal-add { flex-basis: 42px; width: 42px; height: 42px; }
  .product-chat-composer > .universal-add .icon { width: 26px; height: 26px; }
  .product-chat-composer #voice-action { width: 25px; flex-basis: 25px; padding: 0; }
  .product-chat-composer #voice-action .icon { width: 22px; height: 22px; }
  .product-chat-legend { font-size: 10px; gap: 8px; }
  .ask-answer .answer-source, .ask-answer .answer-why { font-size: 11px; }
}
/* Authority views keep disclosures available without crowding the initial review. */
.intent-product .intent-goal-copy { display: flex; align-items: flex-start; gap: 18px; }
.intent-product .intent-backup-ready { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 18px; align-items: start; }
.intent-product .intent-backup-ready > .authority-disc { width: 48px; height: 48px; color: var(--rust); background: #fbecdf; }
.intent-product .intent-backup-ready h2 { margin: 0 0 6px; font-size: 21px; }
.intent-product .intent-backup-ready p { font-size: 15px; line-height: 1.4; margin: 6px 0; }
.intent-product .intent-backup-ready .intent-backup-boundary { color: var(--rust); font-size: 12px; }
.intent-product .intent-backup-ready > button { align-self: center; color: var(--rust); font-size: 16px; white-space: nowrap; }
@media (max-width: 540px) {
  .intent-product .intent-backup-ready { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .intent-product .intent-backup-ready > .authority-disc { width: 36px; height: 36px; }
  .intent-product .intent-backup-ready > button { grid-column: 2; justify-self: end; }
}
.intent-product .intent-goal-copy > .authority-disc { flex: 0 0 48px; width: 48px; height: 48px; background: var(--rust); color: white; }
.intent-product .intent-hero > div:last-child { max-width: 190px; flex-shrink: 0; }
.intent-product .authority-disc, .intent-product .intent-decision-card > div:first-child { color: white; background: var(--rust); }
.intent-product .intent-watching .authority-disc { background: #1d58a3; }
.intent-product .authority-progress-row { border: 0; }
.intent-product .authority-note { margin-top: 7px; padding-top: 7px; }
.intent-product .authority-progress-row .authority-step { background: transparent; color: #67717b; border: 1px solid #7a8289; }
.intent-product .authority-progress-row .authority-step.is-calculated { background: #288844; color: white; border-color: #288844; }
.intent-product .intent-next { align-items: center; }
.intent-product .intent-next .provenance-meta { margin-top: 4px; }
.intent-product .authority-quiet-note { padding: 12px 18px; font-size: 15px; }
.intent-product .authority-quiet-note .provenance-meta { font-size: 10px; }
.decision-product .decision-alternative-copy { flex: 1; display: grid; gap: 4px; }
.decision-product .decision-alternative-copy small { color: var(--ink-soft); font-size: .8em; }
.decision-product .authority-disc { color: var(--rust); background: #fcf0e5; }
.decision-product .authority-action-pair button { justify-content: flex-start; border-radius: 999px; }
.decision-product .authority-action-pair button .icon { color: var(--rust); }
.decision-product .authority-action-pair button[data-screen="activity"] .icon { color: #2d6fa4; }
.activity-product .screen-header { justify-content: flex-start; text-align: left; }
.activity-product .screen-header .screen-back { position: static; }
.activity-product .activity-intent-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; }
.activity-product .activity-intent-goal { display: flex; align-items: center; gap: 18px; }
.activity-product .activity-intent-goal > .authority-disc { flex: 0 0 60px; width: 60px; height: 60px; background: var(--rust); color: white; }
.activity-product .activity-intent-route { padding-left: 24px; border-left: 1px solid var(--line); }
.activity-product .activity-intent-route > .intent-status { display: block; width: fit-content; margin: -8px 0 10px auto; }
.activity-product .activity-intent-route .eyebrow { display: flex; align-items: center; gap: 10px; }
.activity-product .activity-intent-route .eyebrow .icon { color: var(--rust); }
.activity-product .activity-route { display: block; }
.activity-product .activity-filters { flex-wrap: nowrap; gap: 12px; }
.activity-product .activity-filters button, .activity-product .activity-more > summary { border-radius: 999px; white-space: nowrap; }
.activity-product .activity-filters button[aria-pressed="true"] { border-radius: 13px; background: var(--rust); border-color: var(--rust); }
.activity-product .activity-more > div { top: calc(100% + 8px); }
.activity-product .activity-timeline { position: relative; border: 0; padding-left: 48px; overflow: visible; background: transparent; }
.activity-product .activity-timeline::before { content: ""; position: absolute; width: 2px; top: 0; bottom: 0; left: 22px; background: #dddcd5; }
.activity-product .authority-activity-event { --event-color: #448d52; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin: 12px 0; }
.activity-product .authority-activity-event[data-activity-family="OBSERVATION"], .activity-product .authority-activity-event[data-activity-family="AUTHORITY_GRANTED"] { --event-color: #1d59a8; }
.activity-product .authority-activity-event[data-activity-family="OPTION_REJECTED"], .activity-product .authority-activity-event[data-activity-family="REFUSAL"] { --event-color: #d94738; }
.activity-product .authority-activity-event[data-activity-family="PROPOSAL"] { --event-color: #c77820; }
.activity-product .authority-activity-event::before { content: ""; position: absolute; left: -34px; top: 32px; width: 14px; height: 14px; border: 2px solid var(--event-color); border-radius: 50%; background: var(--surface); }
.activity-product .authority-activity-event .activity-marker { background: var(--event-color); color: white; }
.activity-product .authority-activity-event .activity-family { color: var(--event-color); }
.activity-product .authority-quiet-note { align-items: center; }
.activity-product .authority-activity-footer { background: #fffbf6; }
.authority-permissions .active-authority > section > .section-label { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 30px; margin-bottom: 24px; }
.authority-permissions .authority-card ul { gap: 2px; }
.authority-permissions .authority-card li { border: 0; }
.authority-permissions .authority-card li .icon { padding: 3px; border-radius: 50%; background: var(--rust); color: white; width: 25px; height: 25px; }
.authority-permissions .authority-card .authority-mode { text-transform: uppercase; }
.authority-permissions .authority-card .authority-mode.handle { background: #fff0e2; border-color: #efc6a7; color: #ba4a15; }
.authority-permissions .authority-card .authority-mode.ask { background: #fff3dc; border-color: #edcea0; color: #ae650c; }
.authority-permissions .authority-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.authority-permissions .authority-card .authority-note { font-size: 13px; margin-top: 9px; padding-top: 9px; }
.authority-permissions .authority-flight-card > div:first-child, .authority-permissions .authority-restaurant-card > div:first-child { color: #172a37; }
.authority-permissions .authority-review-mandates { display: flex; align-items: center; justify-content: flex-start; gap: 22px; padding: 20px 10px; margin-top: 20px; border: 0; border-top: 1px solid var(--line); border-radius: 0; color: var(--rust); background: transparent; }
.authority-permissions .authority-review-mandates > span { flex: 1; text-align: left; }
.authority-permissions .authority-review-mandates > .icon { width: 36px; height: 36px; }
.authority-permissions #revoke-authority { font-size: 15px; margin-top: 6px; padding: 10px 18px; }
.recovery-product .recovery-hero > div:first-child { flex: 0 0 72px; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #ce3326; color: white; }
.recovery-product .recovery-hero > div:first-child .icon { width: 42px; height: 42px; }
.recovery-product .recovery-hero h2 { color: #b52f1c; }
.recovery-product .recovery-hero .provenance-chip { margin-left: 8px; }
.recovery-product .recovery-changed { background: #fff8f5; }
.recovery-product .recovery-changed-flight { display: grid; gap: 6px; }
.recovery-product .recovery-changed-flight small { font-size: .78em; color: var(--ink-soft); }
.recovery-product .recovery-changed-status { flex: 0 1 42%; padding-left: 20px; border-left: 1px solid var(--line); text-transform: capitalize; color: #b52f1c; }
.recovery-product .recovery-changed-status .provenance-meta { text-transform: none; }
.recovery-product .authority-disc { color: var(--rust); background: #fff0e3; }
.recovery-product .recovery-approach-steps { display: grid; gap: 8px; }
.recovery-product .recovery-approach-step { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 12px; border-radius: 16px; }
.recovery-product .recovery-approach-step .authority-disc { flex-shrink: 0; }
.recovery-product .recovery-approach-step h2 { margin: 0 0 5px; font-size: 18px; line-height: 1.4; }
.recovery-product .recovery-step-arrow { justify-self: center; color: var(--ink-soft); }
.recovery-product .authority-recovery-consequence { padding: 10px 0; }
.recovery-product .authority-recovery-consequence > summary { display: flex; align-items: flex-start; gap: 12px; list-style: none; }
.recovery-product .authority-recovery-consequence > summary::-webkit-details-marker { display: none; }
.recovery-product .authority-recovery-consequence .authority-disc { flex-shrink: 0; }
.recovery-product .authority-recovery-review { margin-bottom: 18px; }
.recovery-product .authority-action-pair button { border-radius: 999px; }
.recovery-product .intent-next { align-items: center; }
@media (min-width: 700px) {
  .intent-product .intent-hero { margin-bottom: 13px; }
  .intent-product .intent-hero > div:last-child { font-size: 12px; }
  .intent-product .intent-hero h2 { font-size: 21px; }
  .intent-product .screen-card { padding: 14px 18px; margin-bottom: 12px; }
  .intent-product .authority-evidence-row > summary { min-height: 49px; padding: 7px 0; font-size: 17px; }
  .intent-product .authority-progress-row { min-height: 39px; padding: 5px 0; }
  .intent-product .intent-two-column .screen-card { padding: 18px; }
  .intent-product .intent-two-column .screen-card h2 { font-size: 21px; }
  .intent-product .intent-next h2 { font-size: 19px; }
  .intent-product .intent-next p { margin: 6px 0; }
  .activity-product .screen-header { margin-bottom: 28px; }
  .activity-product .activity-intent-summary { padding: 25px; }
  .activity-product .activity-intent-summary h2 { font-size: 25px; }
  .activity-product .activity-intent-summary p { font-size: 18px; margin: 5px 0; }
  .activity-product .activity-intent-summary .eyebrow { font-size: 15px; }
  .activity-product .activity-filters button, .activity-product .activity-more > summary { font-size: 17px; padding: 12px 19px; }
  .activity-product .authority-activity-event > summary { gap: 16px; padding: 18px; }
  .activity-product .activity-event-copy > strong { font-size: 21px; }
  .activity-product .authority-activity-event .activity-family { font-size: 11px; }
  .authority-permissions .authority-card { padding: 28px 32px; margin-bottom: 24px; }
  .authority-permissions .authority-card p { margin: 12px 0; }
  .authority-permissions .authority-card li { padding: 5px 0; }
  .authority-permissions .authority-card dl > div { padding: 13px 0; }
  .authority-permissions .authority-card .authority-mode { top: 28px; }
  .authority-permissions .authority-card.is-active h2 { padding-right: 235px; }
  .authority-permissions .authority-card .provenance-meta { font-size: 11px; margin-top: 8px; }
  .recovery-product .screen-header { margin-bottom: 28px; }
  .recovery-product .screen-card { padding: 18px 22px; margin-bottom: 16px; }
  .recovery-product .section-label { font-size: 19px; margin-bottom: 14px; }
  .recovery-product .recovery-hero h2 { font-size: 27px; line-height: 1.3; }
  .recovery-product .recovery-hero p, .recovery-product .authority-quiet-note p { font-size: 19px; }
  .recovery-product .authority-evidence-row > summary { font-size: 18px; min-height: 57px; padding: 8px 0; gap: 14px; }
  .recovery-product .authority-evidence-row .authority-disc { width: 36px; height: 36px; }
  .recovery-product .authority-evidence-row .provenance-chip { font-size: 11px; }
  .recovery-product .authority-note { font-size: 13px; padding-top: 7px; margin-top: 8px; }
  .recovery-product .recovery-grid { gap: 16px; }
  .recovery-product .recovery-grid .screen-card { padding: 18px; }
  .recovery-product .recovery-grid .recovery-approach-step h2 { font-size: 18px; font-weight: 500; }
  .recovery-product .authority-recovery-consequence > summary { font-size: 17px; }
  .recovery-product .authority-recovery-consequence .authority-disc { width: 36px; height: 36px; }
  .recovery-product .recovery-grid .provenance-chip { font-size: 11px; }
  .recovery-product .intent-next h2 { font-size: 20px; }
  .recovery-product .intent-next p { font-size: 16px; margin: 6px 0; }
  .recovery-product .authority-action-pair button { min-height: 55px; font-size: 20px; }
}
@media (max-width: 699px) {
  .intent-product .intent-hero { flex-wrap: wrap; }
  .activity-product .activity-intent-summary { gap: 14px; }
  .activity-product .activity-intent-goal { gap: 10px; }
  .activity-product .activity-intent-goal > .authority-disc { width: 34px; height: 34px; flex-basis: 34px; }
  .activity-product .activity-intent-route { padding-left: 12px; }
  .activity-product .activity-intent-route .eyebrow { font-size: 10px; }
  .activity-product .activity-route { font-size: 13px; }
  .activity-product .activity-filters { flex-wrap: wrap; gap: 7px; }
  .activity-product .activity-timeline { padding-left: 26px; }
  .activity-product .activity-timeline::before { left: 8px; }
  .activity-product .authority-activity-event::before { left: -25px; width: 10px; height: 10px; top: 24px; }
  .authority-permissions .active-authority > section > .section-label { font-size: 23px; }
  .authority-permissions .authority-review-mandates { font-size: 19px; }
  .recovery-product .recovery-hero > div:first-child { width: 44px; height: 44px; flex-basis: 44px; }
  .recovery-product .recovery-hero > div:first-child .icon { width: 28px; height: 28px; }
  .recovery-product .recovery-changed-status { padding-left: 10px; }
  .recovery-product .recovery-changed-flight small { font-size: 11px; }
}
@media (max-width: 600px) {
  .product-centered-header { gap: 8px; grid-template-columns: 36px minmax(0,1fr) 36px; margin-bottom: 24px; }
  .product-header-with-info.has-medallion { padding-left: 65px; min-height: 95px; }
  .product-header-medallion { width: 50px; height: 50px; top: 31px; }
  .product-header-medallion .icon { width: 29px; height: 29px; }
  .product-header-with-info.has-medallion .screen-back { top: -8px; }
}

/* Bookings, document references and capture retain the approved compact rows. */
[data-approved-screen="bookings"] .product-filters { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 6px; margin: 24px 0; }
[data-approved-screen="bookings"] .product-filters button { border-radius: 11px; min-height: 48px; padding: 10px 5px; font-size: 15px; }
[data-approved-screen="bookings"] .product-booking { border-radius: 14px; background: #fffefd; }
[data-approved-screen="bookings"] .product-booking > summary { padding: 15px; min-height: 138px; grid-template-columns: 68px minmax(0,1fr) 120px 14px; gap: 19px; }
[data-approved-screen="bookings"] .product-medallion { width: 64px; height: 64px; background: transparent; }
[data-approved-screen="bookings"] [data-category="ferry"] .product-medallion { color: #0862c9; }
[data-approved-screen="bookings"] [data-category="accommodation"] .product-medallion { color: #773bd3; }
[data-approved-screen="bookings"] .product-booking-source { font-size: 16px; color: var(--ink-soft); }
[data-approved-screen="bookings"] .product-booking .provenance-chip { font-size: 14px; padding: 6px 10px; }
[data-approved-screen="bookings"] .product-information { padding: 16px 24px; margin-top: 14px; }
[data-approved-screen="bookings"] .product-link-row { justify-content: center; }
.product-sort { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-soft); }
.product-sort select { padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fffefd; font: inherit; }
[data-approved-screen="documents"] .product-document > summary { grid-template-columns: 56px minmax(0,1fr) 125px 84px 14px; min-height: 122px; padding: 16px 14px; gap: 13px; }
[data-approved-screen="documents"] .product-document summary strong { font-size: 21px; margin-bottom: 5px; }
[data-approved-screen="documents"] .product-document summary strong ~ span { font-size: 16px; }
[data-approved-screen="documents"] .product-document .provenance-meta { font-size: 11px; }
[data-approved-screen="documents"] .product-document-privacy { margin: 14px 0; padding: 14px 18px; }
[data-approved-screen="documents"] .product-document-privacy h3 { margin: 7px 0; font-size: 18px; }
[data-approved-screen="documents"] .product-document-privacy p { margin: 8px 0; }
[data-approved-screen="documents"] .product-document-privacy .unavailable-control small { font-size: 11px; }
.document-export-unavailable { display: grid; gap: 4px; font-size: 10px; color: var(--muted); text-align: center; }
.document-export-unavailable button { border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: #fffefd; color: var(--rust); font: inherit; font-size: 14px; }
.product-document-suggestions { margin: 18px 0; padding: 17px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.product-document-suggestions h2 { margin: 0 0 8px; font-size: 20px; }
.product-document-suggestions > div { display: grid; grid-template-columns: minmax(0,1fr) 200px; align-items: center; border-top: 1px solid var(--line); padding: 8px 0; }
.product-document-suggestions .unavailable-control { display: grid; grid-template-columns: 55px minmax(0,1fr); align-items: center; gap: 10px; }
.product-document-suggestions .unavailable-control small { font-size: 11px; }
.product-connection-filter { position: relative; }
.product-connection-filter > summary { cursor: pointer; padding: 9px 18px; border: 1px solid var(--line); border-radius: 8px; }
.product-connection-filter .product-filters { position: absolute; right: 0; top: 35px; width: 240px; padding: 14px; z-index: 5; display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
[data-approved-screen="connections"] .product-connection-window { padding: 18px 10px; }
[data-approved-screen="connections"] .product-connection-window > div { padding: 0 12px; font-size: 15px; }
[data-approved-screen="connections"] .product-connection-window h3 { font-size: 19px; margin: 7px 0; }
[data-approved-screen="connections"] .product-connection-window p { margin: 7px 0; }
[data-approved-screen="connections"] .product-connection-window .product-medallion { width: 51px; height: 51px; }
[data-approved-screen="connections"] .product-connection-route { margin-bottom: 16px; }
[data-approved-screen="connections"] .product-connection-route { gap: 7px; }
[data-approved-screen="connections"] .product-connection-route > div { flex: 1 1 0; min-width: 0; gap: 9px; font-size: 11px; overflow-wrap: anywhere; }
[data-approved-screen="connections"] .product-connection-window > div:first-child { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 7px 12px; align-content: start; }
[data-approved-screen="connections"] .product-connection-window > div:first-child h3 { grid-column: 2; grid-row: 1; margin: 5px 0; }
[data-approved-screen="connections"] .product-connection-window > div:first-child p { grid-column: 2; grid-row: 2; }
[data-approved-screen="connections"] .product-connection-window .product-medallion { width: 43px; height: 43px; grid-column: 1; grid-row: 2; }
.product-connection-number { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff0e4; color: var(--rust); font-size: 19px; }
[data-approved-screen="budget-capture"] .screen-card { padding: 20px; margin-bottom: 15px; }
[data-approved-screen="budget-capture"] .screen-card h2 { font-size: 23px; margin-bottom: 8px; }
[data-approved-screen="budget-capture"] .budget-capture-grid { margin: 15px 0; }
[data-approved-screen="budget-capture"] .budget-how { padding: 15px; }
[data-approved-screen="budget-capture"] .budget-how h3 { margin: 0 0 8px; }
[data-approved-screen="budget-capture"] .budget-how ol { margin-bottom: 0; }
[data-approved-screen="budget-capture"] .budget-how li { margin-bottom: 10px; }
[data-approved-screen="budget-capture"] #budget-draft-review .screen-card { background: #fff9f1; padding: 15px 18px; }
[data-approved-screen="budget-capture"] #budget-draft-review .screen-card p { margin: 8px 0; }
[data-approved-screen="budget-capture"] #budget-draft-review button { min-height: 40px; padding: 9px 20px; border-radius: 10px; }
[data-approved-screen="budget-capture"] .product-table th, [data-approved-screen="budget-capture"] .product-table td { padding: 13px 10px; font-size: 14px; }
[data-approved-screen="budget-capture"] .product-table .provenance-meta { font-size: 10px; }
.budget-progress-label { display: grid; gap: 9px; margin: 12px 0 18px; font-size: 14px; }
.budget-progress-label progress { width: 100%; height: 9px; accent-color: var(--rust); }
@media (max-width: 600px) {
  [data-approved-screen="bookings"] .product-filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
  [data-approved-screen="bookings"] .product-booking > summary { grid-template-columns: 42px minmax(0,1fr) 12px; gap: 10px; min-height: 120px; padding: 12px; }
  [data-approved-screen="bookings"] .product-medallion { width: 40px; height: 40px; }
  [data-approved-screen="bookings"] .product-booking .provenance-chip { font-size: 11px; padding: 4px 6px; }
  [data-approved-screen="bookings"] .product-booking-source { font-size: 13px; }
  [data-approved-screen="documents"] .product-document > summary { grid-template-columns: 38px minmax(0,1fr) 62px 12px; gap: 9px; }
  [data-approved-screen="documents"] .product-document summary > span:nth-child(3) { grid-column: 2; }
  [data-approved-screen="documents"] .product-document summary > .document-export-unavailable { grid-column: 3; grid-row: 1 / span 2; }
  [data-approved-screen="documents"] .product-document summary > span:last-child { grid-column: 4; grid-row: 1; }
  [data-approved-screen="documents"] .product-document summary strong { font-size: 17px; }
  [data-approved-screen="documents"] .product-document summary strong ~ span { font-size: 14px; }
  .product-document-suggestions > div { grid-template-columns: minmax(0,1fr) 140px; gap: 10px; font-size: 14px; }
  .product-document-suggestions .unavailable-control { grid-template-columns: 1fr; }
  .product-sort { width: 100%; justify-content: flex-end; }
  [data-approved-screen="budget-capture"] .product-table th, [data-approved-screen="budget-capture"] .product-table td { padding: 12px 5px; font-size: 12px; }
}
.screen-header.has-profile { display: grid; grid-template-columns: 46px minmax(0,1fr) 58px; align-items: center; }
.screen-header.has-profile .avatar img { width: 100%; height: 100%; }

/* Trip Overview: date rail, expandable travel rows and the approved sidebar. */
[data-approved-screen="trip-overview"] { width: min(974px,calc(100% - 48px)); padding-top: 20px; }
[data-approved-screen="trip-overview"] .phase-header { margin-bottom: 12px; }
[data-approved-screen="trip-overview"] .phase-header-title h1 { font-size: 25px; }
[data-approved-screen="trip-overview"] .trip-tabs { margin-bottom: 20px; }
[data-approved-screen="trip-overview"] .assurance-summary { min-height: 125px; margin-bottom: 20px; }
[data-approved-screen="trip-overview"] .assurance-summary h2 { font-size: 21px; margin: 0 0 9px; }
[data-approved-screen="trip-overview"] .assurance-summary p { margin: 5px 0; }
[data-approved-screen="trip-overview"] .assurance-summary .provenance-meta { font-size: 11px; }
[data-approved-screen="trip-overview"] .trip-overview-grid { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 21px; }
[data-approved-screen="trip-overview"] .trip-overview-grid > .screen-card { padding: 17px 18px 0; }
.trip-timeline-row { border-bottom: 1px solid var(--line); }
.trip-timeline-row:last-child { border-bottom: 0; }
.trip-timeline-row > summary { display: grid; grid-template-columns: 68px 45px minmax(0,1fr) 16px; gap: 13px; min-height: 101px; padding: 11px 0; align-items: start; cursor: pointer; list-style: none; }
.trip-timeline-row summary time { padding-top: 9px; text-transform: uppercase; font-size: 14px; font-weight: 550; line-height: 1.45; }
.trip-timeline-row .timeline-icon { margin-top: 3px; width: 43px; height: 43px; border: 1px solid #e3c5a8; background: #f8e8d0; color: #141a1c; }
.trip-timeline-row:has(.trip-timeline-details [data-screen="flights"]) .timeline-icon { background: var(--rust); color: white; }
.trip-timeline-copy { display: grid; gap: 5px; font-size: 14px; line-height: 1.4; padding-top: 2px; }
.trip-timeline-copy > strong { font-size: 17px; font-weight: 650; }
.trip-timeline-copy .provenance-chip { justify-self: start; font-size: 12px; }
.trip-timeline-row summary > .icon:last-child { width: 17px; margin-top: 28px; }
.trip-timeline-details { margin: 0 8px 14px 127px; padding: 12px; background: #fffaf4; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.trip-timeline-details .provenance-meta { font-size: 11px; }
.trip-timeline-details .connection-card { margin: 0; padding: 12px; grid-template-columns: 30px minmax(0,1fr); }
.trip-timeline-details .connection-card > .card-chevron { display: none; }
.trip-monitor-row { border-bottom: 1px solid var(--line); }
.trip-monitor-row:last-child { border: 0; }
.trip-monitor-row > summary { display: grid; grid-template-columns: 39px minmax(0,1fr) 22px; align-items: center; gap: 12px; min-height: 86px; padding: 12px 0; list-style: none; cursor: pointer; }
.trip-monitor-row summary > .icon { width: 33px; height: 33px; }
.trip-monitor-row summary > span:nth-child(2) { display: grid; gap: 7px; font-size: 13px; line-height: 1.4; }
.trip-monitor-row summary strong { font-size: 16px; }
.trip-monitor-row .provenance-chip { font-size: 10px; padding: 2px 4px; }
.trip-monitor-row > div { font-size: 13px; padding: 5px 0 14px; }
.trip-monitor-health { color: var(--muted); }
.trip-monitor-health.health-normal { background: #27953b; border-radius: 50%; color: white; }
.trip-monitor-health .icon { width: 20px; height: 20px; }
.trip-sidebar-link { display: grid; grid-template-columns: 37px minmax(0,1fr) 13px; gap: 12px; align-items: center; width: 100%; padding: 16px 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); text-align: left; font: inherit; }
.trip-sidebar-link > .icon { width: 32px; height: 32px; }
.trip-sidebar-link > .icon:last-child { width: 14px; }
.trip-sidebar-link > span { display: grid; gap: 7px; font-size: 15px; }
.trip-sidebar-link small { font-size: 13px; }
.trip-sidebar-information { padding: 16px 0; }
.trip-sidebar-information > summary { display: flex; align-items: center; gap: 14px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; }
.trip-sidebar-information > summary .icon:first-child { width: 32px; height: 32px; }
.trip-sidebar-information > summary .icon:last-child { width: 14px; margin-left: auto; }
.trip-sidebar-information p { font-size: 14px; }
.trip-tools-disclosure { margin: 5px 0 15px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.trip-tools-disclosure > summary { cursor: pointer; font-size: 14px; }
.alerts-explanations { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; }
.alerts-sources > summary { cursor: pointer; color: var(--rust); font-weight: 600; }
.alerts-sources p { font-size: 14px; }

/* Genuine mandate permissions stay separate from provider execution. */
.mandate-goal { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 23px; align-items: center; }
.mandate-medallion { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: white; background: var(--rust); }
.mandate-medallion .icon { width: 38px; height: 38px; }
.mandate-goal h2 { font-size: 25px; margin-bottom: 13px; }
.mandate-goal h2 span { color: var(--rust); }
.mandate-goal p { margin: 9px 0; font-size: 21px; line-height: 1.45; }
.mandate-goal .authority-note { font-size: 12px; }
.mandate-terms { display: block; padding: 10px 22px; }
.mandate-terms > details { border-bottom: 1px solid var(--line); }
.mandate-terms > details:last-child { border: 0; }
.mandate-terms summary { display: grid; grid-template-columns: 57px minmax(0,1fr) 18px; gap: 18px; padding: 20px 0; align-items: center; list-style: none; cursor: pointer; }
.mandate-terms .mandate-medallion { width: 48px; height: 48px; }
.mandate-terms .mandate-medallion .icon { width: 29px; height: 29px; }
.mandate-terms summary > span:nth-child(2) { display: grid; gap: 10px; font-size: 20px; }
.mandate-terms summary strong { font-size: 16px; font-weight: 500; text-transform: uppercase; color: var(--rust); }
.mandate-terms details > div { padding: 0 0 15px 76px; font-size: 14px; }
.mandate-review .mandate-columns li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.mandate-review .mandate-columns li:last-child { border: 0; }
.mandate-review .sheet-actions { display: grid; grid-template-columns: 1fr; }
.mandate-review .sheet-actions button { min-height: 58px; font-size: 23px; }
.mandate-review .sheet-actions button:last-child { border-color: transparent; background: transparent; }
.mandate-review > .primary-action { min-height: 65px; font-size: 25px; }

/* Backup is one expanded sheet; the corresponding compact card is in Intent. */
.backup-primary, .backup-approach { display: grid; grid-template-columns: 73px minmax(0,1.5fr) minmax(0,1fr); gap: 22px; align-items: center; }
.backup-medallion { width: 65px; height: 65px; display: grid; place-items: center; border: 1px solid #edd1b9; border-radius: 50%; color: var(--rust); background: #fff2e4; }
.backup-medallion .icon, .backup-medallion svg { width: 39px; height: 39px; }
.backup-primary aside, .backup-approach aside { padding-left: 20px; border-left: 1px dotted var(--line-strong); font-size: 15px; line-height: 1.45; }
.backup-primary h2, .backup-approach h2 { font-size: 22px; margin: 0 0 10px; }
.backup-recheck > summary { display: grid; grid-template-columns: 30px minmax(0,1fr) 16px; align-items: center; gap: 20px; padding: 13px 0; list-style: none; cursor: pointer; font-size: 17px; }
.backup-recheck + .backup-recheck { border-top: 1px solid var(--line); }
[data-approved-screen="backup-plan"] .screen-card { margin-bottom: 16px; padding: 18px; }
[data-approved-screen="backup-plan"] > .section-label { margin: 18px 0 10px; }
[data-approved-screen="backup-plan"] .sheet-actions { display: grid; grid-template-columns: 1fr; gap: 11px; }
[data-approved-screen="backup-plan"] .sheet-actions button { min-height: 48px; font-size: 20px; }
/* Keep both scenario actions visible in the initial portrait sheet. */
.whatif-product { gap: 13px; }
.whatif-product .screen-header h1 { font-size: 40px; }
.whatif-current-facts { gap: 14px; }
.whatif-flights { gap: 32px; }
.whatif-product .screen-section { margin: 12px 0; }
.whatif-product .whatif-comparison article > div { gap: 15px; }
.whatif-product .whatif-changes li { font-size: 15px; margin-bottom: 6px; }
.whatif-product .sheet-actions button { min-height: 47px; font-size: 19px; }
.whatif-product .whatif-provenance > span { padding: 11px 9px; }
@media (max-width: 650px) {
  [data-approved-screen="trip-overview"] { width: calc(100% - 28px); }
  [data-approved-screen="trip-overview"] .trip-overview-grid { grid-template-columns: 1fr; }
  .trip-timeline-row > summary { grid-template-columns: 46px 33px minmax(0,1fr) 12px; gap: 8px; }
  .trip-timeline-row summary time { font-size: 10px; }
  .trip-timeline-row .timeline-icon { width: 32px; height: 32px; }
  .trip-timeline-copy { font-size: 12px; }
  .trip-timeline-copy > strong { font-size: 15px; }
  .trip-timeline-details { margin-left: 45px; }
  .mandate-goal { grid-template-columns: 47px minmax(0,1fr); gap: 13px; }
  .mandate-goal .mandate-medallion { width: 45px; height: 45px; }
  .mandate-goal .mandate-medallion .icon { width: 28px; height: 28px; }
  .mandate-goal h2 { font-size: 19px; }
  .mandate-goal p { font-size: 16px; }
  .mandate-terms summary { gap: 11px; grid-template-columns: 43px minmax(0,1fr) 14px; }
  .mandate-terms summary > span:nth-child(2) { font-size: 16px; }
  .mandate-terms .mandate-medallion { width: 38px; height: 38px; }
  .mandate-terms details > div { padding-left: 0; }
  .backup-primary, .backup-approach { grid-template-columns: 47px minmax(0,1fr); gap: 13px; }
  .backup-primary aside, .backup-approach aside { grid-column: 2; border-left: 0; padding: 0; }
  .backup-medallion { width: 45px; height: 45px; }
  .backup-medallion .icon, .backup-medallion svg { width: 29px; height: 29px; }
}

/* Shared Web headers preserve the approved inline back/title/action hierarchy. */
:root { --shadow: 0 3px 9px rgba(91,48,20,.045); }
.product-header-with-info, .product-header-with-info.has-medallion { display: grid; grid-template-columns: 42px minmax(0,1fr) 44px; gap: 15px; padding-left: 0; min-height: 112px; margin-bottom: 14px; }
.product-header-with-info.has-medallion { grid-template-columns: 42px 76px minmax(0,1fr) 44px; }
.product-header-with-info .screen-header { display: contents; }
.product-header-with-info .screen-header > .screen-back, .product-header-with-info.has-medallion .screen-back { position: static; grid-column: 1; grid-row: 1; width: 42px; height: 44px; margin: 0; }
.product-header-with-info .screen-header > div { grid-column: 2; grid-row: 1; min-width: 0; }
.product-header-with-info.has-medallion .screen-header > div { grid-column: 3; }
.product-header-with-info .product-header-medallion { position: static; grid-column: 2; grid-row: 1; width: 76px; height: 76px; }
.product-header-with-info .product-header-medallion svg { width: 43px; height: 43px; }
.product-header-with-info > .product-header-info { grid-column: -2; grid-row: 1; margin: 0; align-self: center; }
.product-header-with-info .screen-header h1 { margin: 0 0 7px; font-size: 34px; line-height: 1.15; }
.product-header-with-info .screen-header p { margin: 0; font-size: 18px; }
.screen-back > .icon { width: 32px; height: 32px; }
.bottom-nav { box-shadow: 0 -2px 8px rgba(61,35,19,.025); }
.nav-item .icon, .nav-item .sb-icon { width: 32px; height: 32px; }
.nav-item { color: #171414; font-size: 13px; }
.nav-item.is-active::after { display: none; }
.phase-header-actions .avatar { overflow: hidden; }
.phase-header-actions .avatar img { display: block; width: 100%; height: 100%; }
.home-guardian-disclosure { margin: 5px 0 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 15px; }
.home-guardian-disclosure > summary { display: flex; gap: 10px; align-items: center; cursor: pointer; color: var(--rust); }
.home-guardian-disclosure > summary:after { content: '›'; margin-left: auto; }
.home-guardian-disclosure > summary .icon { width: 24px; height: 24px; }
[data-product-filter-status]:empty { display: none; }
[data-approved-screen="bookings"] .product-filters button[aria-pressed="true"] { background: #fff4e9; border-color: #c5753c; color: var(--rust); }
[data-approved-screen="bookings"] .product-information { margin: 12px 0; padding: 14px 18px; }
[data-approved-screen="bookings"] .product-link-row { margin: 15px 0; }
.flight-add-option.unavailable-control { margin: 0; }
[data-approved-screen="add-flight"] .flight-add-chooser { padding-top: 15px; }
[data-approved-screen="add-flight"] .product-header-with-info { min-height: 104px; margin-bottom: 20px; }
[data-approved-screen="add-flight"] .product-header-with-info h1 { font-size: 38px; }
[data-approved-screen="documents"] .product-summary > div { display: flex; align-items: center; gap: 16px; }
[data-approved-screen="documents"] .product-summary > div > div { display: grid; gap: 4px; }
[data-approved-screen="documents"] .product-summary .product-medallion { width: 53px; height: 53px; flex-shrink: 0; }
[data-approved-screen="documents"] .product-summary > div > div > span { font-size: 14px; }
[data-approved-screen="documents"] .product-summary strong { font-size: 23px; }
.document-quick-access { display: flex; gap: 9px; flex-wrap: wrap; }
.document-quick-access > button { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; gap: 7px; padding: 7px 10px; border-radius: 24px; font-size: 13px; }
.document-quick-access .sb-icon { width: 25px; height: 25px; }
[data-approved-screen="documents"] .product-document > summary { min-height: 111px; padding: 10px 14px; }
[data-approved-screen="documents"] .product-document summary strong { font-size: 19px; }
[data-approved-screen="documents"] .product-document-privacy .unavailable-control { margin: 4px 0; }
[data-approved-screen="documents"] .product-document-privacy .unavailable-control button { min-height: 40px; }
[data-approved-screen="documents"] .screen-card { padding: 18px 22px; }
[data-approved-screen="documents"] .product-list-label { margin: 16px 0 10px; }
[data-approved-screen="documents"] .product-document-suggestions { margin: 12px 0; padding: 12px 18px; }
[data-approved-screen="documents"] .product-document-suggestions .unavailable-control { margin: 2px 0; }
[data-approved-screen="connections"] .product-surface > .screen-card:first-child > .secondary-action { width: 100%; justify-content: space-between; margin-top: 12px; color: var(--rust); border-color: #e6b58c; }
[data-approved-screen="connections"] .product-surface > .screen-card { padding: 18px 22px; }
[data-approved-screen="connections"] .product-connection-window .provenance-meta { font-size: 12px; gap: 4px; }
[data-approved-screen="trip-overview"] { padding-top: 0; }
[data-approved-screen="trip-overview"] .phase-header { min-height: 82px; margin-bottom: 8px; }
[data-approved-screen="trip-overview"] .trip-tabs { margin-bottom: 14px; }
[data-approved-screen="trip-overview"] .trip-timeline-row > summary { min-height: 90px; padding: 8px 0; }
[data-approved-screen="trip-overview"] .trip-timeline-copy { gap: 4px; font-size: 13px; }
[data-approved-screen="trip-overview"] .trip-timeline-row .timeline-icon { position: relative; z-index: 1; }
[data-approved-screen="trip-overview"] .trip-timeline-row { position: relative; }
[data-approved-screen="trip-overview"] .trip-timeline-row:not(:last-child):before { position: absolute; left: 101px; top: 33px; bottom: -16px; width: 1px; background: var(--line-strong); content: ''; }
[data-approved-screen="trip-overview"] .assurance-summary { min-height: 108px; padding: 16px 18px; }
[data-approved-screen="flights"] .phase-header { grid-template-columns: 48px minmax(0,1fr) 1px; }
[data-approved-screen="flights"] .phase-header-title { text-align: left; }
[data-approved-screen="flights"] .phase-header-title h1 { font-family: var(--font-ui); font-size: 32px; }
.flight-screen-status > .flight-status-missing { color: var(--muted); }
[data-approved-screen="alerts-hazards"] .phase-header { grid-template-columns: 45px minmax(0,1fr) 44px; }
[data-approved-screen="alerts-hazards"] .phase-header-title { display: flex; align-items: center; gap: 20px; text-align: left; }
[data-approved-screen="alerts-hazards"] .phase-header-title h1 { font-family: var(--font-ui); font-size: 33px; }
.phase-title-medallion { display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid #e4b897; border-radius: 50%; color: var(--rust); background: #fff6e9; flex-shrink: 0; }
.phase-title-medallion .icon { width: 37px; height: 37px; }
.journey-stage-display { display: block; margin: 14px 0 24px; }
.journey-stage-icons { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); position: relative; }
.journey-stage-icons:before { content: ''; position: absolute; left: 10%; right: 10%; top: 29px; height: 1px; background: var(--line-strong); }
.journey-stage-icons > span { display: grid; justify-items: center; gap: 9px; z-index: 1; color: var(--ink-soft); font-size: 12px; text-transform: uppercase; }
.journey-stage-icons i { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--line); border-radius: 50%; background: var(--canvas); }
.journey-stage-icons i .icon { width: 30px; height: 30px; }
.journey-stage-icons .is-current i { background: var(--rust); color: white; }
.journey-stage-display > details { margin-top: 14px; text-align: center; font-size: 13px; }
.journey-stage-display > details summary { cursor: pointer; }
.today-changes-wrap { margin-bottom: 24px; }
.today-changes-wrap > .screen-card { margin-bottom: 8px; }
.today-changes-wrap > button { display: block; margin-left: auto; }
@media (max-width: 600px) {
 .product-header-with-info, .product-header-with-info.has-medallion { gap: 9px; grid-template-columns: 34px minmax(0,1fr) 34px; min-height: 94px; }
 .product-header-with-info.has-medallion { grid-template-columns: 34px 48px minmax(0,1fr) 34px; }
 .product-header-with-info .product-header-medallion { width: 48px; height: 48px; }
 .product-header-with-info .product-header-medallion svg { width: 29px; height: 29px; }
 .product-header-with-info .screen-header h1 { font-size: 25px; }
 .product-header-with-info .screen-header p { font-size: 14px; }
 .product-header-with-info .screen-header > .screen-back, .product-header-with-info.has-medallion .screen-back { width: 34px; }
 .nav-item .icon, .nav-item .sb-icon { width: 27px; height: 27px; }
 .nav-item { font-size: 11px; }
 .journey-stage-icons i { width: 43px; height: 43px; }
 .journey-stage-icons:before { top: 21px; }
 .journey-stage-icons > span { font-size: 9px; }
 [data-approved-screen="documents"] .product-summary { display: flex; flex-wrap: wrap; }
 [data-approved-screen="documents"] .product-summary > div { gap: 8px; }
 [data-approved-screen="documents"] .product-summary .product-medallion { width: 34px; height: 34px; }
 [data-approved-screen="alerts-hazards"] .phase-header-title { gap: 8px; }
 [data-approved-screen="alerts-hazards"] .phase-header-title h1 { font-size: 24px; }
 .phase-title-medallion { width: 42px; height: 42px; }
 .phase-title-medallion .icon { width: 26px; height: 26px; }
}

/* Authority and conversation reference geometry; state and provenance stay in their disclosures. */
.recovery-product .screen-header.has-profile { grid-template-columns: 46px minmax(0,1fr) 64px; text-align: left; gap: 20px; }
.recovery-product .screen-header.has-profile .screen-back { position: static; grid-column: 1; grid-row: 1; }
.recovery-product .screen-header.has-profile > div { grid-column: 2; grid-row: 1; min-width: 0; }
.recovery-product .screen-header.has-profile .avatar { grid-column: 3; grid-row: 1; width: 64px; height: 64px; }
.recovery-product .recovery-hero > div:first-child .icon { color: white; }
.recovery-product .recovery-next-actions > .intent-next { margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; gap: 18px; }
.recovery-product .recovery-next-actions .intent-next > div { flex: 1; min-width: 0; }
.recovery-product .recovery-next-actions .intent-next > .authority-disc { width: 58px; height: 58px; }
.recovery-product .recovery-other-actions { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.recovery-product .authority-recovery-review { margin-bottom: 0; }
.recovery-product .recovery-option-availability { display: inline-block; margin-top: 2px; }
.recovery-product .authority-quiet-note { background: #f3f7fc; border-color: #d8e3f5; color: #243a57; }
.recovery-product .authority-quiet-note > .icon { flex: 0 0 48px; width: 48px; height: 48px; color: white; background: #225eaf; border-radius: 50%; padding: 10px; }
.recovery-product .authority-quiet-note h2 { color: #164e9a; text-transform: uppercase; font-size: 19px; margin: 0 0 8px; }
.intent-product .section-label, .recovery-product .section-label { letter-spacing: 0; font-weight: 550; }
.intent-product .intent-next > .authority-disc { color: var(--rust); background: #fbebdc; }
.intent-product .intent-next > div { flex: 1; min-width: 0; }
.intent-product .intent-next { gap: 16px; }
.intent-product .intent-next .primary-action { min-height: 54px; border-radius: 999px; }
.intent-product .intent-next h2 { font-weight: 500; }
.intent-product .intent-next .eyebrow { font-size: 13px; margin-bottom: 6px; }
.intent-product .intent-next .authority-disc { flex-shrink: 0; }
.intent-product .evidence-summary { color: var(--ink); gap: 5px; margin: 8px 0 10px; }
.intent-product .authority-note { margin-top: 4px; padding-top: 4px; }
.intent-product .authority-note > summary { min-height: 25px; }
.intent-product .authority-action-pair button { font-weight: 500; border-radius: 999px; justify-content: flex-start; }
.intent-product .authority-action-pair button .icon:last-child { margin-left: auto; }
.decision-product .recommendation-pill { display: inline-flex; align-items: center; gap: 10px; border-radius: 11px; }
.decision-product .recommendation-pill > .icon { width: 22px; height: 22px; border-radius: 50%; background: #6b9841; color: white; padding: 3px; }
.decision-product .decision-alternative-status { display: grid; justify-items: end; gap: 6px; text-align: right; }
.decision-product .decision-alternative-status small { font-size: .76em; color: var(--ink-soft); }
.decision-product .authority-action-pair { display: flex; justify-content: center; gap: 24px; }
.decision-product .authority-action-pair button { justify-content: center; border-radius: 14px; border-color: #bc8d73; font-weight: 500; padding: 14px 28px; min-height: 66px; }
.decision-product .authority-action-pair button[data-screen="activity"] { color: #285f84; border-color: #8fb3c7; }
.activity-product .activity-more > summary { display: flex; align-items: center; gap: 16px; list-style: none; }
.activity-product .activity-more > summary::-webkit-details-marker { display: none; }
.activity-product .activity-more > summary::after { content: ""; border: solid currentColor; border-width: 0 1.5px 1.5px 0; padding: 4px; transform: translateY(-2px) rotate(45deg); }
.activity-product .activity-more[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.activity-product .authority-activity-footer { align-items: center; gap: 20px; }
.activity-product .authority-activity-footer > .icon { flex: 0 0 48px; width: 48px; height: 48px; color: var(--rust); background: #fbebdc; padding: 10px; border-radius: 50%; }
.activity-product .authority-activity-footer h2 { margin: 0 0 7px; font-size: 19px; font-weight: 500; }
.authority-permissions .authority-card .authority-mode { border-radius: 11px; padding: 9px 13px; line-height: 1.2; }
.authority-permissions .safety-boundary { align-items: flex-start; gap: 22px; background: #f3f7fc; border-color: #d8e3f5; color: #223750; }
.authority-permissions .safety-boundary > .icon { flex: 0 0 48px; width: 48px; height: 48px; padding: 11px; color: #2059a1; border-radius: 50%; background: #e1ebfa; }
.authority-permissions .authority-review-mandates { font-weight: 500; margin-top: 10px; padding-top: 18px; padding-bottom: 14px; }
.product-chat-header { display: grid; grid-template-columns: 74px minmax(0,1fr) auto; align-items: center; gap: 18px; margin-bottom: 28px; color: #512812; }
.product-chat-header h1 { font-family: var(--font-ui); font-size: 36px; font-weight: 550; margin: 0 0 8px; }
.product-chat-header p { margin: 0; font-size: 19px; line-height: 1.4; }
.product-chat-header .product-chat-menu > summary .icon { width: 38px; height: 38px; }
.product-chat-header .product-chat-history { position: relative; max-width: none; font-size: 22px; }
.product-chat-header .product-chat-history > div { position: absolute; z-index: 20; right: 0; width: min(320px,80vw); border: 1px solid var(--line); padding: 18px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-soft); }
.product-chat-header .product-chat-history > div p { font-size: 15px; margin-bottom: 12px; }
.product-chat-composer { border: 1px solid #c8bcb0; border-radius: 20px; padding: 7px 10px; background: var(--surface); }
[data-product-screen="chat-ask"] .product-chat-composer .ask-bar { border: 0; background: transparent; min-height: 64px; }
.product-chat-composer > .universal-add { box-shadow: none; }
.product-chat-legend { display: block; text-align: left; padding-top: 12px; }
.product-chat-legend h2 { font-size: 14px; font-weight: 500; margin: 0 0 12px; }
.product-chat-legend > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.product-chat-legend > div > span { display: flex; align-items: center; gap: 6px; }
.product-chat-legend .chat-legend-live { background: #0a7930; }
.product-chat-legend .chat-legend-recent { background: #0869b7; }
.product-chat-legend .chat-legend-estimated { background: #ca720b; }
.product-chat-legend .chat-legend-unavailable { background: #734cad; }
.product-chat-legend .chat-legend-partial { background: #eda313; }
.product-chat-legend .chat-legend-stale { background: #999791; }
.product-chat-legend .chat-legend-unguaranteed { background: #6e2d11; }
.product-conversation .answer-source > summary > span { flex: 1; min-width: 0; }
.product-conversation .answer-source > summary > .icon { width: 24px; height: 24px; flex-shrink: 0; }
.product-conversation .answer-source[open] > summary > .icon:first-child { transform: none; }
.product-conversation .answer-statement > .provenance-meta { margin-bottom: 14px; }
.product-plan-photo { overflow: hidden; }
.product-plan-photo img { display: block; width: 100%; height: 220px; object-fit: cover; }
.product-plan-card .product-plan-open small { white-space: nowrap; }
.product-plan-example .product-plan-open { gap: 5px; }
.product-plan-example .product-plan-open button { display: grid; justify-items: center; gap: 7px; color: var(--rust); padding: 0; background: transparent; border: 0; }
.product-plan-example .product-plan-open button > span { font-size: 40px; }
.product-plan-example .product-plan-open > small { font-size: 11px; color: var(--muted); white-space: normal; }
.product-plan-example .product-plan-copy > small { font-size: 14px; color: var(--muted); }
@media (min-width: 700px) {
  [data-approved-screen="active-authority"], [data-approved-screen="activity"], [data-approved-screen="intent"], [data-approved-screen="intent-recovery"], [data-approved-screen="decision-detail"], [data-approved-screen="chat-ask"], [data-approved-screen="review-flight"] { width: min(960px,calc(100% - 68px)); }
  [data-approved-screen="plans"] { width: min(960px,calc(100% - 58px)); }
  .intent-product .screen-card { padding-top: 12px; padding-bottom: 12px; }
  .intent-product .intent-two-column .screen-card { padding: 16px; }
  .intent-product .intent-two-column .provenance-meta { font-size: 11px; }
  .intent-product .intent-hero { padding: 17px 18px; }
  .intent-product .intent-hero h2 { margin-bottom: 8px; }
  .intent-product .intent-backup-ready { padding-top: 12px; padding-bottom: 12px; }
  .intent-product .authority-quiet-note .provenance-meta { margin-top: 3px; }
  .recovery-product .screen-header.has-profile { margin-bottom: 28px; }
  .recovery-product .screen-card { padding: 17px 20px; margin-bottom: 14px; }
  .recovery-product .authority-evidence-row > summary { min-height: 54px; padding: 7px 0; }
  .recovery-product .recovery-hero h2 { font-weight: 500; }
  .recovery-product .recovery-hero p { font-weight: 500; margin-bottom: 8px; }
  .recovery-product .authority-section-caption { font-size: 14px; margin: 0 0 9px; }
  .recovery-product .recovery-grid .screen-card > p:not(.section-label) { font-size: 15px; }
  .recovery-product .intent-next h2 { font-size: 18px; font-weight: 500; }
  .recovery-product .intent-next p { font-size: 15px; }
  .recovery-product .authority-action-pair button { font-weight: 500; }
  .authority-permissions .authority-card { margin-bottom: 21px; }
  .authority-permissions .authority-card.is-active h2 { padding-right: 220px; }
  .authority-permissions .authority-card .authority-mode { font-size: 16px; }
  .product-plan-card { grid-template-columns: 190px minmax(0,1fr) 94px; gap: 26px; min-height: 235px; }
  .product-plan-card .product-plan-copy > strong { font-size: 31px; }
  .product-plan-card .product-plan-dates { font-size: 17px; }
  .product-plan-card .provenance-meta { font-size: 14px; }
  .product-plan-card .provenance-chip { font-size: 15px; }
  .product-plan-example .product-plan-art { min-height: 180px; }
  .product-plan-open small { font-size: 16px; }
  .product-conversation .answer-source, .product-conversation .answer-why { font-size: 18px; padding-top: 13px; }
  .product-conversation .answer-statement > .provenance-meta { font-size: 15px; }
  .product-conversation .answer-source > summary { gap: 10px; }
  .product-conversation .ask-answer { max-width: 94%; }
  .product-flight-review .product-flight-times { padding-top: 36px; padding-bottom: 32px; }
  .product-flight-review .product-flight-facts > div { padding-top: 22px; padding-bottom: 22px; }
  .product-flight-review .product-flight-facts > div:last-child { padding-bottom: 8px; }
  .product-flight-notice { padding-top: 26px !important; padding-bottom: 26px !important; }
  .product-flight-conflict > span { width: 44px; height: 44px; font-size: 37px; }
}
@media (max-width: 699px) {
  .recovery-product .screen-header.has-profile { grid-template-columns: 30px minmax(0,1fr) 44px; gap: 10px; }
  .recovery-product .screen-header.has-profile .avatar { width: 44px; height: 44px; }
  .recovery-product .screen-header.has-profile h1 { font-size: 23px; }
  .recovery-product .recovery-next-actions .intent-next { flex-wrap: wrap; }
  .recovery-product .recovery-next-actions .intent-next > .authority-disc { width: 34px; height: 34px; }
  .recovery-product .recovery-next-actions .intent-next > .primary-action { width: 100%; }
  .intent-product .intent-next { flex-wrap: wrap; }
  .intent-product .intent-next > .primary-action { margin-left: auto; }
  .decision-product .authority-action-pair { gap: 10px; }
  .decision-product .authority-action-pair button { padding: 10px 15px; font-size: 15px; min-height: 48px; }
  .decision-product .decision-alternative-status small { max-width: 120px; }
  .authority-permissions .authority-card .authority-mode { padding: 6px 8px; }
  .product-chat-header { grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; margin-bottom: 20px; }
  .product-chat-header h1 { font-size: 25px; margin-bottom: 5px; }
  .product-chat-header p { font-size: 12px; }
  .product-chat-header .product-chat-menu > summary .icon { width: 25px; height: 25px; }
  .product-chat-header .product-chat-history { font-size: 14px; }
  .product-chat-header .product-chat-history > summary { padding: 9px; gap: 5px; }
  .product-chat-header .product-chat-history > summary .icon { width: 17px; height: 17px; }
  .product-chat-composer { gap: 5px; padding: 3px 6px; }
  .product-chat-legend > div { justify-content: flex-start; gap: 9px; }
  .product-chat-legend h2 { font-size: 12px; }
  .product-plan-photo img { height: 130px; }
  .product-plan-example .product-plan-open { grid-column: 2; display: flex; justify-content: flex-start; gap: 14px; }
  .product-plan-example .product-plan-open button { display: flex; gap: 6px; align-items: center; }
  .product-plan-example .product-plan-open button > span { font-size: 23px; }
}
.app-shell > .secondary-page:last-child { padding-bottom: 28px; }
.mandate-review .mandate-approval-note, .mandate-review .mandate-authority-note { padding: 17px 20px; gap: 20px; }
.mandate-review .mandate-approval-note h2, .mandate-review .mandate-authority-note h2 { font-size: 20px; margin-bottom: 9px; }
.mandate-review .mandate-approval-note p, .mandate-review .mandate-authority-note p { font-size: 17px; margin: 8px 0; }
.backup-approval > .safety-boundary { display: flex; gap: 20px; align-items: center; }
.backup-approval > .safety-boundary > .icon { width: 39px; height: 39px; flex-shrink: 0; }
.backup-approval > .simulation-boundary { display: flex; align-items: center; gap: 17px; padding: 12px; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; }
.backup-approval > .simulation-boundary p { margin: 0; }
.home-shell .trip-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Budget reference composition: captured values remain in the existing private budget flow. */
[data-approved-screen="budget-capture"] .budget-introduction { display:flex; align-items:center; gap:18px; padding:16px 20px; border-color:#d9e3f2; background:linear-gradient(105deg,#f6f8fe,#fff); }
[data-approved-screen="budget-capture"] .budget-introduction>.icon,[data-approved-screen="budget-capture"] .budget-footer>.icon { width:32px; height:32px; flex:0 0 32px; color:#2259ac; }
[data-approved-screen="budget-capture"] .budget-introduction>div { flex:1; min-width:0; }
[data-approved-screen="budget-capture"] .budget-introduction p { margin:6px 0 0; font-size:16px; }
[data-approved-screen="budget-capture"] .budget-introduction>.secondary-action { flex:0 0 auto; white-space:nowrap; font-size:14px; padding:10px 15px; min-height:40px; }
[data-approved-screen="budget-capture"] .screen-card { border-radius:10px; padding:20px; box-shadow:none; }
[data-approved-screen="budget-capture"] .screen-card h2 { font-size:22px; font-weight:600; }
[data-approved-screen="budget-capture"] .budget-capture-grid { grid-template-columns:1fr 1.1fr; gap:24px; margin:16px 0 12px; }
[data-approved-screen="budget-capture"] .budget-scan-panel { min-height:225px; padding:20px 25px; gap:14px; border-color:#cbc7c2; background:linear-gradient(130deg,#fff,#faf9f8); }
[data-approved-screen="budget-capture"] .budget-scan-panel .product-medallion { width:70px; height:70px; }
[data-approved-screen="budget-capture"] .budget-scan-panel .product-medallion .icon { width:36px; height:36px; }
[data-approved-screen="budget-capture"] .budget-scan-panel .unavailable-control>button { border:0; padding:0; background:transparent; color:#a76539; font-size:21px; font-weight:650; min-height:30px; }
[data-approved-screen="budget-capture"] .budget-scan-panel .unavailable-control>small { max-width:230px; font-size:13px; line-height:1.4; }
[data-approved-screen="budget-capture"] .budget-how { padding:16px 18px; border-radius:9px; }
[data-approved-screen="budget-capture"] .budget-how h3 { font-size:18px; font-weight:600; margin-bottom:14px; }
[data-approved-screen="budget-capture"] .budget-how ol { margin:0; padding-left:27px; font-size:15px; }
[data-approved-screen="budget-capture"] .budget-how li { margin-bottom:14px; padding-left:3px; }
[data-approved-screen="budget-capture"] .budget-how li:last-child { margin-bottom:0; }
[data-approved-screen="budget-capture"] .budget-how li span { margin-top:3px; }
[data-approved-screen="budget-capture"] .budget-capture-note { display:flex; align-items:center; gap:9px; font-size:13px; margin:0 0 12px; }
[data-approved-screen="budget-capture"] .budget-capture-note .icon { width:19px; height:19px; }
[data-approved-screen="budget-capture"] .product-detail { margin-top:10px; padding-top:0; }
[data-approved-screen="budget-capture"] .product-detail>summary { font-size:14px; padding:11px 0; }
[data-approved-screen="budget-capture"] .budget-expenses { border:1px solid #e2dfda; border-radius:8px; }
[data-approved-screen="budget-capture"] .budget-expenses>summary { display:flex; gap:14px; align-items:center; padding:12px 16px; color:var(--ink); font-size:16px; }
[data-approved-screen="budget-capture"] .budget-expenses>summary:after { content:"›"; margin-left:auto; font-size:25px; }
[data-approved-screen="budget-capture"] .budget-expenses>summary .icon { width:26px; height:26px; }
[data-approved-screen="budget-capture"] #budget-records { padding:0 14px; }
[data-approved-screen="budget-capture"] .budget-draft-card { position:relative; background:linear-gradient(110deg,#fffcf3,#fff8e9); border:1px solid #f1dcb0; border-radius:10px; padding:18px 14px 10px; margin-top:13px; }
[data-approved-screen="budget-capture"] .budget-draft-label { position:absolute; left:10px; top:-11px; padding:3px 8px; border-radius:5px; background:#fff2d9; color:#9b5914; font-size:12px; }
[data-approved-screen="budget-capture"] .budget-draft-content { display:grid; grid-template-columns:94px minmax(0,1fr) 104px 150px; gap:16px; align-items:center; }
[data-approved-screen="budget-capture"] .budget-draft-thumbnail { min-height:96px; background:#f4ede2; border:1px solid #e1d6c5; border-radius:8px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; color:#8a6a47; }
[data-approved-screen="budget-capture"] .budget-draft-thumbnail .icon { width:42px; height:42px; }
[data-approved-screen="budget-capture"] .budget-draft-thumbnail small { font-size:10px; }
[data-approved-screen="budget-capture"] .budget-draft-copy h3 { font-size:17px; line-height:1.35; margin:0 0 5px; }
[data-approved-screen="budget-capture"] .budget-draft-copy p { font-size:14px; margin:0 0 9px; }
[data-approved-screen="budget-capture"] .budget-draft-copy>span { display:flex; align-items:center; gap:8px; font-size:14px; }
[data-approved-screen="budget-capture"] .budget-draft-copy .icon { width:22px; height:22px; }
[data-approved-screen="budget-capture"] .budget-draft-amount { text-align:center; }
[data-approved-screen="budget-capture"] .budget-draft-amount strong { display:block; font-size:21px; line-height:1.3; overflow-wrap:anywhere; }
[data-approved-screen="budget-capture"] .budget-draft-amount>span { display:inline-block; background:#ffebbc; color:#aa6100; padding:3px 8px; border-radius:10px; font-size:12px; margin-top:9px; text-transform:uppercase; }
[data-approved-screen="budget-capture"] .budget-draft-actions { border-left:1px solid #eadcca; padding-left:16px; display:grid; gap:8px; }
[data-approved-screen="budget-capture"] .budget-draft-actions button { display:flex; justify-content:center; align-items:center; gap:8px; padding:9px; min-height:43px; border:1px solid #d1c6b6; border-radius:8px; background:#fff; font-size:13px; }
[data-approved-screen="budget-capture"] .budget-draft-actions #confirm-budget-expense { border-color:#d7976b; color:#a94716; }
[data-approved-screen="budget-capture"] .budget-draft-actions .icon { width:21px; height:21px; flex-shrink:0; }
[data-approved-screen="budget-capture"] .budget-draft-boundary { margin:9px 0 0; font-size:11px; color:#665b50; }
[data-approved-screen="budget-capture"] .budget-overview { display:grid; grid-template-columns:minmax(0,1fr) 180px; gap:18px; }
[data-approved-screen="budget-capture"] .budget-overview-main { min-width:0; }
[data-approved-screen="budget-capture"] .budget-overview-main>p { font-size:15px; }
[data-approved-screen="budget-capture"] #budget-summary { grid-template-columns:1.3fr 1fr 1.15fr; margin:18px 0 12px; gap:0; }
[data-approved-screen="budget-capture"] #budget-summary>div { display:flex; flex-direction:column; justify-content:flex-start; align-items:center; gap:8px; padding:15px 8px; border-color:#e5e1dc; border-radius:9px; min-width:0; text-align:center; }
[data-approved-screen="budget-capture"] #budget-summary>div>span:first-child { font-size:13px; font-weight:600; }
[data-approved-screen="budget-capture"] #budget-summary strong { font-size:23px; line-height:1.35; overflow-wrap:anywhere; }
[data-approved-screen="budget-capture"] #budget-summary>div:last-child>strong { color:#236638; }
[data-approved-screen="budget-capture"] #budget-summary small { font-size:11px; }
[data-approved-screen="budget-capture"] .budget-claim-source { display:flex; flex-wrap:wrap; gap:4px; justify-content:center; align-items:center; }
[data-approved-screen="budget-capture"] .budget-claim-source>.provenance-chip { font-size:10px; padding:3px 6px; }
[data-approved-screen="budget-capture"] .budget-claim-source>.product-detail { border:0; margin:0; width:auto; }
[data-approved-screen="budget-capture"] .budget-claim-source>.product-detail>summary { padding:0; font-size:10px; font-weight:400; text-decoration:underline; }
[data-approved-screen="budget-capture"] .budget-claim-source>.product-detail[open] { flex-basis:100%; }
[data-approved-screen="budget-capture"] .budget-claim-source .provenance-meta { display:flex; font-size:10px; line-height:1.4; gap:4px; }
[data-approved-screen="budget-capture"] .budget-overview-side { border-left:1px solid #e5ded6; padding-left:17px; text-align:center; }
[data-approved-screen="budget-capture"] .budget-overview-side .budget-edit { border:0; margin-top:0; }
[data-approved-screen="budget-capture"] .budget-overview-side .budget-edit>summary { display:block; border:1px solid #d59068; border-radius:7px; padding:9px 12px; color:#a44017; font-weight:600; }
[data-approved-screen="budget-capture"] .budget-overview-side .product-medallion { margin:27px auto 13px; width:73px; height:73px; }
[data-approved-screen="budget-capture"] .budget-overview-side .product-medallion .icon { width:35px; height:35px; }
[data-approved-screen="budget-capture"] #budget-spending-state strong { font-size:15px; }
[data-approved-screen="budget-capture"] #budget-spending-state p { font-size:14px; line-height:1.45; margin:8px 0 0; }
[data-approved-screen="budget-capture"] .budget-overview-side .capture-form { min-width:0; text-align:left; }
[data-approved-screen="budget-capture"] .budget-overview-side .capture-form label { font-size:12px; }
[data-approved-screen="budget-capture"] .budget-overview-side .capture-form input,[data-approved-screen="budget-capture"] .budget-overview-side .capture-form select { width:100%; min-width:0; }
[data-approved-screen="budget-capture"] .budget-progress-label { margin:10px 0; gap:9px; }
[data-approved-screen="budget-capture"] .budget-progress-label>span { display:flex; justify-content:space-between; gap:10px; font-size:12px; }
[data-approved-screen="budget-capture"] .budget-progress-label>span>strong { color:#a94616; font-weight:600; }
[data-approved-screen="budget-capture"] #budget-status { font-size:11px; margin:5px 0 0; }
[data-approved-screen="budget-capture"] #budget-status:empty { display:none; }
[data-approved-screen="budget-capture"] .budget-category-table { table-layout:fixed; width:100%; }
[data-approved-screen="budget-capture"] .budget-category-table th:first-child { width:40%; }
[data-approved-screen="budget-capture"] .budget-category-table th { font-family:var(--font-ui); font-size:14px; }
[data-approved-screen="budget-capture"] .budget-category-table th:not(:first-child),[data-approved-screen="budget-capture"] .budget-category-table td:not(:first-child) { text-align:center; }
[data-approved-screen="budget-capture"] .budget-category-table td { height:58px; padding:8px 6px; font-size:14px; }
[data-approved-screen="budget-capture"] .budget-category-action { display:flex; align-items:center; gap:12px; padding:0; width:100%; text-align:left; color:var(--ink); font-weight:600; font-size:15px; }
[data-approved-screen="budget-capture"] .budget-category-action>span:nth-child(2) { flex:1; }
[data-approved-screen="budget-capture"] .budget-category-action>.product-medallion { width:39px; height:39px; flex:0 0 39px; }
[data-approved-screen="budget-capture"] .budget-category-action .icon { width:23px; height:23px; }
[data-approved-screen="budget-capture"] .budget-footer { display:flex; align-items:center; flex-wrap:wrap; gap:14px; border-color:#dce4f4; background:#f6f8fe; padding:18px 20px; font-size:15px; }
[data-approved-screen="budget-capture"] .budget-footer>span { font-size:11px; }
@media(max-width:700px) {
 [data-approved-screen="budget-capture"] .budget-introduction { flex-wrap:wrap; gap:11px; }
 [data-approved-screen="budget-capture"] .budget-introduction>div { flex-basis:calc(100% - 45px); }
 [data-approved-screen="budget-capture"] .budget-introduction>.secondary-action { margin-left:43px; }
 [data-approved-screen="budget-capture"] .budget-capture-grid { grid-template-columns:1fr; gap:14px; }
 [data-approved-screen="budget-capture"] .budget-draft-content { grid-template-columns:70px minmax(0,1fr); gap:13px; }
 [data-approved-screen="budget-capture"] .budget-draft-thumbnail { min-height:82px; }
 [data-approved-screen="budget-capture"] .budget-draft-amount { text-align:left; }
 [data-approved-screen="budget-capture"] .budget-draft-actions { border:0; padding:0; }
 [data-approved-screen="budget-capture"] .budget-overview { grid-template-columns:1fr; }
 [data-approved-screen="budget-capture"] .budget-overview-side { border-left:0; border-top:1px solid #e5ded6; padding:15px 0 0; }
 [data-approved-screen="budget-capture"] #budget-summary { grid-template-columns:repeat(3,minmax(0,1fr)); }
 [data-approved-screen="budget-capture"] #budget-summary strong { font-size:16px; }
 [data-approved-screen="budget-capture"] #budget-summary>div { padding:12px 5px; }
 [data-approved-screen="budget-capture"] .budget-category-action { gap:6px; font-size:12px; }
 [data-approved-screen="budget-capture"] .budget-category-action>.product-medallion { width:27px; height:27px; flex-basis:27px; }
 [data-approved-screen="budget-capture"] .budget-category-action .icon { width:18px; height:18px; }
 [data-approved-screen="budget-capture"] .budget-category-table th,[data-approved-screen="budget-capture"] .budget-category-table td { font-size:11px; }
}
.connection-card > button.card-chevron, .next-flight > button.card-chevron { padding: 0; width: 32px; min-width: 32px; height: 40px; color: var(--rust); }
.connection-card > button.card-chevron .icon, .next-flight > button.card-chevron .icon { width: 20px; height: 20px; }
.other-grid article { position: relative; padding-right: 53px; }
.other-plan-controls { display: grid; position: absolute; right: 6px; top: 8px; gap: 10px; }
.other-plan-controls .icon-button { width: 29px; height: 29px; }
.legend-info, .history-info { border: 0; background: transparent; color: var(--rust); font: inherit; cursor: pointer; }
.legend-info { text-decoration: underline; padding: 0 5px; }
.history-info { font-size: 19px; margin-left: 4px; }

/* Final density adjustments keep complete reference actions within their portrait layouts. */
.phase-header-actions .icon-button > .icon { width: 32px; height: 32px; }
.secondary-page { padding-bottom: 105px; }
.secondary-page[data-approved-screen="add-flight"] { width: min(797px,calc(100% - 76px)); padding-top: 45px; }
[data-approved-screen="add-flight"] .product-header-with-info { grid-template-columns: 80px minmax(0,1fr) 44px; margin-bottom: 38px; }
[data-approved-screen="add-flight"] .flight-add-chooser h2 { font-weight: 500; }
[data-approved-screen="add-flight"] .flight-add-option strong, [data-approved-screen="add-flight"] .flight-add-option button { font-weight: 500; }
[data-approved-screen="add-flight"] .flight-add-next h2 { font-weight: 600; }
[data-approved-screen="documents"] .product-surface { display: block; }
[data-approved-screen="documents"] .product-surface > * { margin-bottom: 14px; }
[data-approved-screen="documents"] .product-summary > div { flex-direction: row; }
[data-approved-screen="documents"] .product-summary > div + div { border-left: 1px solid var(--line); padding-left: 15px; }
[data-approved-screen="documents"] .product-summary { padding: 16px 20px; min-height: 96px; }
[data-approved-screen="documents"] .product-summary .product-medallion { color: var(--rust); }
[data-approved-screen="documents"] .product-summary > div:nth-child(2) .product-medallion { color: var(--green); background: var(--green-soft); }
[data-approved-screen="documents"] .product-summary > div:nth-child(3) .product-medallion { color: var(--blue); background: #f3f7ff; }
[data-approved-screen="documents"] .product-surface > .screen-card:first-child { position: relative; padding-top: 20px; }
[data-approved-screen="documents"] .product-surface > .screen-card:first-child > h2, [data-approved-screen="documents"] .product-surface > .screen-card:first-child > p { padding-left: 74px; }
.document-intro-mark, .document-private-mark { display: grid; place-items: center; position: absolute; width: 58px; height: 58px; left: 20px; top: 21px; background: #fff0e6; color: var(--rust); border-radius: 50%; }
.document-intro-mark svg, .document-private-mark svg { width: 33px; height: 33px; }
.product-document-privacy { position: relative; }
.document-private-mark { width: 46px; height: 46px; left: 15px; top: 13px; color: var(--green); background: var(--green-soft); }
.product-document-privacy > h3:first-of-type, .product-document-privacy > p:first-of-type { padding-left: 56px; }
[data-approved-screen="documents"] .product-list-label { margin: 17px 0 12px !important; }
[data-approved-screen="documents"] .product-document > summary { min-height: 111px; }
[data-approved-screen="documents"] .product-document-suggestions > div { padding: 5px 0; }
[data-approved-screen="documents"] .product-document-suggestions .unavailable-control { grid-template-columns: 55px minmax(0,1fr); }
[data-approved-screen="documents"] .product-document-suggestions .unavailable-control small { font-size: 10px; }
[data-approved-screen="documents"] .product-surface > [data-product-filter-status] { margin: 8px 0; font-size: 13px; }
[data-approved-screen="bookings"] .product-surface { gap: 12px; }
[data-approved-screen="bookings"] .product-booking > summary { min-height: 128px; padding: 12px 15px; }
[data-approved-screen="bookings"] .product-filters { margin: 16px 0 20px; }
[data-approved-screen="bookings"] .product-link-row { margin: 8px 0; }
[data-approved-screen="bookings"] .product-information { font-size: 15px; display: flex; align-items: center; gap: 10px; }
[data-approved-screen="bookings"] .product-information .icon { width: 23px; height: 23px; flex-shrink: 0; }
[data-approved-screen="trip-overview"] .trip-monitor-row > summary { min-height: 70px; padding: 8px 0; }
[data-approved-screen="trip-overview"] .trip-monitor-row summary > span:nth-child(2) { font-size: 12px; gap: 5px; }
[data-approved-screen="trip-overview"] .trip-sidebar-link { padding: 12px 0; }
[data-approved-screen="trip-overview"] .trip-sidebar-link > span { gap: 5px; }
[data-approved-screen="trip-overview"] .trip-sidebar-link strong { font-size: 14px; }
[data-approved-screen="trip-overview"] .trip-sidebar-documents .provenance-chip { justify-self: start; }
[data-approved-screen="trip-overview"] .secondary-stack { gap: 12px; }
[data-approved-screen="flights"] .flight-screen-card { padding: 15px; min-height: 160px; }
[data-approved-screen="flights"] .flight-screen-status small { font-size: 12px; }
[data-approved-screen="flights"] .flight-screen-status .provenance-unavailable { justify-self: start; }
[data-approved-screen="flights"] .flight-trip-summary { padding: 16px 18px; }
[data-approved-screen="flights"] .flight-trip-summary h2 { font-size: 22px; }
[data-approved-screen="flights"] .parity-history-grid .history-card { padding: 12px; font-size: 14px; }
[data-approved-screen="flights"] .history-card p { margin: 8px 0; }
[data-approved-screen="flights"] .history-card h3 { font-size: 18px; }
[data-approved-screen="flights"] .about-history { padding: 14px 18px; }
[data-approved-screen="flights"] .about-history h2 { font-size: 20px; }
.history-info { font-size: 12px; text-transform: none; text-decoration: underline; }
[data-approved-screen="today"] .today-item h2 { font-size: 21px; font-weight: 600; }
[data-approved-screen="today"] .today-item { grid-template-columns: 64px 1fr auto; gap: 15px; padding: 17px 0; min-height: 115px; }
[data-approved-screen="today"] .today-icon { width: 61px; height: 61px; }
[data-approved-screen="today"] .today-icon .icon { width: 31px; height: 31px; }
[data-approved-screen="today"] .today-context-grid { gap: 10px; }
[data-approved-screen="today"] .today-context-grid > article { padding: 14px; }
[data-approved-screen="today"] .today-context-grid h2 { font-size: 18px; font-weight: 600; }
[data-approved-screen="today"] .today-context-grid .eyebrow { font-size: 11px; }
.today-context-icon { display: grid; place-items: center; width: 44px; height: 44px; float: left; margin: 0 10px 7px 0; color: var(--blue); background: #eff5ff; border-radius: 50%; }
.today-context-icon .icon { width: 26px; height: 26px; }
[data-approved-screen="today"] .today-context-grid .provenance-meta { clear: both; font-size: 11px; }
[data-approved-screen="today"] .guardian-details { padding: 9px 15px; font-size: 12px; margin-bottom: 12px; }
[data-approved-screen="today"] .today-changes-wrap { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 15px; padding: 12px; margin-bottom: 10px; }
[data-approved-screen="today"] .today-changes-wrap > .screen-card { flex: 1; border: 0; box-shadow: none; margin: 0; padding: 0; }
[data-approved-screen="today"] .today-changes-wrap h2 { font-size: 18px; }
[data-approved-screen="today"] .today-changes-wrap > button { font-size: 13px; padding: 9px 12px; flex-shrink: 0; }
[data-approved-screen="today"] .today-changes-wrap .what-changed { gap: 10px; font-size: 13px; }
[data-approved-screen="today"] .journey-stage-display:before { display: none; }
.home-shell .home-guardian-disclosure { margin: 0 3px 12px; padding: 7px 0; font-size: 12px; }
.home-shell .home-guardian-disclosure .icon { width: 18px; height: 18px; }
.home-shell .trip-title-row { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 7px 10px; }
.home-shell .trip-title-row h2 { font-size: 27px; margin: 0; }
.home-shell .trip-title-row .trip-dates { margin: 0; font-size: 13px; }
.home-shell .trip-title-row .days-pill { grid-column: 3; justify-self: end; font-size: 11px; padding: 3px 6px; }
.home-shell .route-line { margin: 7px 0; font-size: 13px; }
.home-shell .monitoring-card, .home-shell .safety-card, .home-shell .other-plans { padding: 16px; }
.home-shell .other-grid article { min-height: 100px; }
[data-approved-screen="mandate-review"] .mandate-goal { padding: 17px; gap: 18px; }
[data-approved-screen="mandate-review"] .mandate-goal p { font-size: 18px; margin: 7px 0; }
[data-approved-screen="mandate-review"] .mandate-goal h2 { font-size: 22px; margin-bottom: 10px; }
[data-approved-screen="mandate-review"] .mandate-columns li { padding: 12px 0; font-size: 16px; }
[data-approved-screen="mandate-review"] .mandate-columns .screen-card { padding: 16px; }
[data-approved-screen="mandate-review"] .mandate-terms summary { min-height: 78px; padding: 12px 0; }
[data-approved-screen="mandate-review"] .mandate-approval-note, [data-approved-screen="mandate-review"] .mandate-authority-note { padding: 12px 16px; }
[data-approved-screen="mandate-review"] .mandate-authority-note p { font-size: 15px; }
[data-approved-screen="mandate-review"] .mandate-review > .muted { font-size: 12px; }
[data-approved-screen="mandate-review"] .authority-note { padding: 8px 0; }
[data-approved-screen="mandate-review"] .sheet-actions { gap: 8px; }
[data-approved-screen="budget-capture"] .product-surface { gap: 14px; }
[data-approved-screen="budget-capture"] .budget-summary-layout { padding-bottom: 0; }
[data-approved-screen="budget-capture"] #budget-status { margin-bottom: 0; }
[data-approved-screen="budget-capture"] .screen-card { margin-bottom: 0; }
@media (max-width: 600px) {
 .secondary-page[data-approved-screen="add-flight"] { width: calc(100% - 32px); padding-top: 24px; }
 [data-approved-screen="add-flight"] .product-header-with-info { grid-template-columns: 34px minmax(0,1fr) 34px; margin-bottom: 24px; }
 [data-approved-screen="documents"] .product-summary > div { flex-direction: column; }
 [data-approved-screen="documents"] .product-summary > div + div { padding-left: 8px; }
 [data-approved-screen="documents"] .product-surface > .screen-card:first-child > h2, [data-approved-screen="documents"] .product-surface > .screen-card:first-child > p { padding-left: 52px; }
 .document-intro-mark { width: 40px; height: 40px; }
 [data-approved-screen="today"] .today-item { grid-template-columns: 42px 1fr; gap: 10px; }
 [data-approved-screen="today"] .today-icon { width: 40px; height: 40px; }
 [data-approved-screen="today"] .today-item > :nth-child(3) { grid-column: 2; }
 [data-approved-screen="today"] .today-changes-wrap { display: block; }
 [data-approved-screen="today"] .today-context-grid h2 { font-size: 16px; }
}
[data-approved-screen="travelling-together"] .product-centered-header { margin-bottom: 20px; }
[data-approved-screen="travelling-together"] .product-centered-header h1 { font-family: var(--font-ui); font-size: 32px; }
[data-approved-screen="travelling-together"] .product-centered-header p { margin: 8px 0 0; color: var(--ink-soft); }
@media (min-width: 601px) {
 .app-shell:not(.home-shell) > .bottom-nav { min-height: 105px; padding-top: 8px; padding-bottom: 8px; }
 .app-shell:not(.home-shell) > .bottom-nav .nav-item { min-height: 82px; gap: 8px; font-size: 15px; }
 .app-shell:not(.home-shell) > .bottom-nav .nav-item .icon, .app-shell:not(.home-shell) > .bottom-nav .nav-item .sb-icon { width: 37px; height: 37px; }
 .app-shell:not(.home-shell) > .bottom-nav .nav-add { width: 74px; height: 74px; margin-bottom: 5px; }
 .app-shell:not(.home-shell) > .bottom-nav .nav-add .icon { width: 42px; height: 42px; }
}

/* Final authority/conversation adjustments from the third reference comparison. */
.authority-permissions .authority-boundary-details { display: block; }
.authority-permissions .authority-boundary-details > summary { display: flex; align-items: center; gap: 22px; cursor: pointer; list-style: none; }
.authority-permissions .authority-boundary-details > summary::-webkit-details-marker { display: none; }
.authority-permissions .authority-boundary-details > summary > .icon { flex: 0 0 48px; width: 48px; height: 48px; color: #245fa9; }
.authority-permissions .authority-boundary-details > summary > p { flex: 1; margin: 0; }
.authority-permissions .authority-boundary-details[open] > .authority-disclosure-body { margin-top: 20px; }
.authority-permissions #authority-status:empty { display: none; }
.decision-product .authority-action-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.decision-product .authority-action-pair button { width: 100%; }
.activity-product .authority-quiet-note > .icon { flex: 0 0 48px; width: 48px; height: 48px; padding: 10px; border-radius: 50%; color: white; background: #205eae; }
.activity-product .authority-quiet-note { gap: 20px; background: #f5f6f8; color: var(--ink); }
.intent-header, .recovery-header { position: relative; }
.intent-product .intent-header .screen-header { margin-bottom: 0; padding-right: 155px; }
.intent-header .intent-travel-date { margin: 5px 0 22px 66px; font-size: 18px; color: var(--ink-soft); }
.intent-header > .intent-status { position: absolute; bottom: 30px; right: 0; }
.intent-product .intent-hero > .intent-goal-copy { flex: 1; max-width: none; }
.intent-product .intent-goal-source { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; }
.intent-product .intent-reasons-card { display: flex; align-items: flex-start; gap: 14px; }
.intent-product .intent-reasons-card > div { min-width: 0; flex: 1; }
.intent-product .intent-decision-card { grid-template-columns: 48px minmax(0,1fr) 16px; gap: 14px; }
.intent-product .intent-decision-card > div:first-child { width: 48px; height: 48px; }
.intent-product .intent-calculated-at { font-size: 14px; margin: 6px 0 0; color: var(--ink-soft); }
.intent-product .intent-backup-ready { margin-top: 15px; margin-bottom: 0; }
.recovery-header > .intent-status { position: absolute; right: 90px; bottom: 4px; }
.recovery-product .recovery-header .screen-header { margin-bottom: 26px; }
.recovery-product .recovery-hero h2 { margin-top: 0; }
.recovery-product .authority-recovery-review[hidden] { display: none; }
.recovery-product .recovery-next-actions .intent-next .primary-action { border-radius: 999px; font-size: 19px; min-height: 58px; }
.product-plans-support { display: block; }
.product-plans-support > summary { display: flex; align-items: center; gap: 24px; list-style: none; cursor: pointer; }
.product-plans-support > summary::-webkit-details-marker { display: none; }
.product-plans-support > summary > span { flex: 0 0 38px; width: 38px; height: 38px; }
.product-plans-support > summary .icon { width: 38px; height: 38px; }
.product-plans-support[open] .product-link-row { margin-top: 20px; }
.product-chat-composer .ask-bar button[type="submit"][hidden] { display: none !important; }
.product-chat-composer .ask-bar { grid-template-columns: minmax(0,1fr) 58px 58px; }
.product-chat-composer .ask-bar:has(button[type="submit"][hidden]) { grid-template-columns: minmax(0,1fr) 58px; }
.product-chat-composer .ask-bar #voice-action { width: 58px; height: 58px; padding: 12px; border: 1px solid var(--rust); border-radius: 50%; color: var(--rust); }
.product-chat-composer .ask-bar #voice-action .icon { width: 30px; height: 30px; }
[data-product-screen="chat-ask"] > #interaction-status { font-size: 13px; line-height: 1.3; color: var(--muted); margin: 0; }
.product-conversation .ask-answer:has(.answer-unguaranteed) { border: 1.5px dashed #b94713; }
.product-conversation .answer-unguaranteed .answer-why > summary { display: inline-block; list-style: none; border: 1px solid var(--rust); border-radius: 14px; padding: 10px 18px; }
.product-conversation .answer-unguaranteed .answer-why > summary::-webkit-details-marker { display: none; }
.product-conversation .answer-unguaranteed .provenance-unguaranteed { color: #a8370f; border: 1px solid #d8956b; background: #fff8f1; }
.product-flight-entered > summary { align-items: center; justify-content: flex-start; }
.product-flight-entered > summary > .icon { flex: 0 0 34px; width: 34px; height: 34px; }
.product-flight-entered > summary > span:first-of-type { flex: 1; }
.product-flight-conflict > span { color: #c78313; }
.product-flight-conflict > span > .icon { width: 44px; height: 44px; }
@media (min-width: 700px) {
  .intent-product .intent-two-column .screen-card { margin-bottom: 12px; }
  .intent-product .intent-reasons-card .authority-disc { width: 48px; height: 48px; }
  .intent-product .authority-note { font-size: 12px; }
  .intent-product .authority-note > summary { min-height: 22px; }
  .intent-product .intent-handling .authority-note { padding-top: 3px; }
  .recovery-product .recovery-hero { padding-top: 20px; padding-bottom: 15px; }
  .recovery-product .recovery-approach-steps { gap: 5px; }
  .recovery-product .recovery-approach-step { padding: 10px; }
  .recovery-product .recovery-other-actions { padding-top: 12px; margin-top: 14px; }
  .product-plan-card .product-plan-dates { font-size: 19px; }
  .product-plan-card .provenance-meta { font-size: 16px; }
  .product-plan-card .provenance-chip { font-size: 16px; }
  .product-plan-example { min-height: 220px; }
  .product-plans-add { min-height: 145px; }
  .product-plans-support { min-height: 110px; }
  [data-approved-screen="review-flight"] .screen-back > .icon { width: 36px; height: 36px; }
  [data-approved-screen="review-flight"] .product-header-info > .icon { width: 40px; height: 40px; }
  .product-flight-entered > summary { font-size: 21px; }
  .product-flight-entered > summary > span:last-child { font-size: 33px; }
  .decision-product .authority-action-pair button { min-height: 80px; font-size: 23px; }
}
@media (max-width: 699px) {
  .intent-product .intent-header .screen-header { padding-right: 0; }
  .intent-header .intent-travel-date { font-size: 13px; margin-left: 46px; margin-bottom: 14px; }
  .intent-header > .intent-status { position: static; display: inline-block; margin: 0 0 14px 46px; }
  .intent-product .intent-reasons-card { gap: 10px; }
  .intent-product .intent-reasons-card > .authority-disc { width: 30px; height: 30px; }
  .intent-product .intent-decision-card { grid-template-columns: 32px minmax(0,1fr) 12px; gap: 9px; }
  .intent-product .intent-decision-card > div:first-child { width: 32px; height: 32px; }
  .recovery-header > .intent-status { position: static; margin: 0 0 14px 40px; }
  .recovery-product .recovery-header .screen-header { margin-bottom: 10px; }
  .product-chat-composer .ask-bar { grid-template-columns: minmax(0,1fr) 38px 44px; }
  .product-chat-composer .ask-bar:has(button[type="submit"][hidden]) { grid-template-columns: minmax(0,1fr) 38px; }
  .product-chat-composer .ask-bar #voice-action { width: 38px; height: 38px; padding: 7px; }
  .product-chat-composer .ask-bar #voice-action .icon { width: 22px; height: 22px; }
  .product-flight-entered > summary > .icon { flex-basis: 24px; width: 24px; height: 24px; }
}
.connection-intro { position: relative; }
.connection-intro > h2, .connection-intro > p { padding-left: 84px; }
.connection-intro-mark { display: grid; place-items: center; position: absolute; width: 62px; height: 62px; left: 22px; top: 21px; border-radius: 50%; background: #fff0e6; color: var(--rust); }
.connection-intro-mark svg { width: 39px; height: 39px; }
[data-approved-screen="connections"] .product-surface { gap: 13px; }
[data-approved-screen="connections"] .connection-overall { padding: 14px 20px; }
[data-approved-screen="connections"] .connection-overall h2 { font-size: 21px; margin-bottom: 8px; }
[data-approved-screen="connections"] .connection-overall p { margin: 7px 0; }
[data-approved-screen="connections"] .product-connection-route > div { position: relative; }
[data-approved-screen="connections"] .product-connection-route > div:not(:last-child):after { content: ''; position: absolute; top: 23px; left: calc(50% + 29px); width: calc(100% - 53px); height: 1px; background: #dbaf94; }
[data-approved-screen="connections"] [data-leg-kind="ferry"] .product-medallion, [data-approved-screen="connections"] [data-category="ferry"] .product-medallion { color: #145ec3; background: #f4f7ff; }
[data-approved-screen="connections"] [data-leg-kind="bed"] .product-medallion { color: #743acc; background: #f9f3ff; }
[data-approved-screen="mandate-review"] .mandate-authority-note { background: #fff8f0; }
[data-approved-screen="mandate-review"] .mandate-authority-note > .icon { color: var(--rust); }
[data-approved-screen="mandate-review"] .mandate-columns li > .icon { border-radius: 50%; background: var(--green); color: white; padding: 3px; width: 25px; height: 25px; }
[data-approved-screen="mandate-review"] .mandate-columns > section:last-child li > .icon { background: var(--red); }
[data-approved-screen="mandate-review"] .sheet-actions > button:last-child { border: 0; background: transparent; box-shadow: none; }
[data-approved-screen="mandate-review"] .mandate-goal .mandate-medallion { align-self: start; margin-top: 14px; }
@media (max-width: 600px) { .connection-intro > h2, .connection-intro > p { padding-left: 54px; } .connection-intro-mark { width: 40px; height: 40px; left: 15px; } .connection-intro-mark svg { width: 28px; height: 28px; } }

/* Budget-only density and row-control refinement; amounts still come from the private budget response. */
[data-approved-screen="budget-capture"] h2,[data-approved-screen="budget-capture"] h3,[data-approved-screen="budget-capture"] button,[data-approved-screen="budget-capture"] strong,[data-approved-screen="budget-capture"] summary,[data-approved-screen="budget-capture"] td{font-family:var(--font-ui)}
[data-approved-screen="budget-capture"] .budget-draft-amount strong{font-size:20px;overflow-wrap:normal;white-space:nowrap}
[data-approved-screen="budget-capture"] .budget-category-table tr{position:relative}
[data-approved-screen="budget-capture"] .budget-category-action{position:static;padding-right:0}
[data-approved-screen="budget-capture"] .budget-category-action>span:last-child{position:absolute;right:7px;top:50%;transform:translateY(-50%);font-size:24px;line-height:1}
[data-approved-screen="budget-capture"] .budget-category-table td:last-child{padding-right:25px}
@media(min-width:701px){
 [data-approved-screen="budget-capture"] .budget-draft-content{grid-template-columns:94px minmax(0,1fr) 116px 132px;gap:14px}
 [data-approved-screen="budget-capture"] .budget-draft-actions{padding-left:12px}
 [data-approved-screen="budget-capture"] .budget-overview{padding-top:17px;padding-bottom:17px}
 [data-approved-screen="budget-capture"] #budget-summary>div{padding-top:12px;padding-bottom:12px}
}

/* Round-four review: keep long real content readable within its approved sections. */
.intent-product .intent-hero > .intent-goal-copy:last-child { max-width: none; min-width: 0; flex: 1 1 auto; }
.intent-product .intent-goal-copy > div { flex: 1 1 auto; min-width: 0; }
.recovery-product #recovery-review { scroll-margin-bottom: 140px; }
.product-conversation .ask-answer:has(.answer-unguaranteed) { border: 2px dashed #b94713; }
.product-conversation .answer-unguaranteed { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 18px; align-items: center; }
.product-conversation .answer-unguaranteed > p { grid-column: 1 / -1; }
.product-conversation .answer-unguaranteed > .provenance-meta { grid-column: 1; grid-row: 2; }
.product-conversation .answer-unguaranteed > .answer-source { grid-column: 1 / -1; grid-row: 3; }
.product-conversation .answer-unguaranteed > .answer-why { grid-column: 2; grid-row: 2; margin: 0; padding: 0; border: 0; }
.product-conversation .answer-unguaranteed > .answer-why > summary { white-space: nowrap; }
.product-conversation .answer-unguaranteed > .answer-why[open] { grid-column: 1 / -1; grid-row: 3; }
.product-conversation .answer-unguaranteed > .answer-why[open] > summary { float: right; margin-left: 16px; }
.product-conversation .answer-unguaranteed:has(.answer-why[open]) > .answer-source { grid-row: 4; }
.product-conversation .answer-unguaranteed:has(.answer-why[open]) > .provenance-meta { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .recovery-product .authority-evidence-row > summary { min-height: 48px; padding-top: 5px; padding-bottom: 5px; }
  .recovery-product .recovery-next-actions .intent-next > div > p:last-child { font-size: 14px; }
  .recovery-product .recovery-other-actions { margin-top: 12px; padding-top: 10px; }
  [data-product-screen="plans"] { margin-top: 20px; gap: 34px; }
  [data-product-screen="plans"] .product-plans-intro { min-height: 164px; }
  [data-product-screen="plans"] .product-plans-list { gap: 30px; }
  [data-product-screen="plans"] .product-plans-add { min-height: 160px; }
  [data-product-screen="plans"] .product-plans-support { min-height: 125px; }
}
@media (max-width: 540px) {
  .product-conversation .answer-unguaranteed { column-gap: 10px; }
  .product-conversation .answer-unguaranteed > .answer-why > summary { padding: 8px 10px; }
}

/* Final reference-layout corrections: preserve content and existing actions. */
[data-approved-screen="bookings"] .phase-header-title h1,
[data-approved-screen="connections"] .phase-header-title h1,
[data-approved-screen="documents"] .phase-header-title h1,
[data-approved-screen="itinerary"] .phase-header-title h1,
[data-approved-screen="monitoring"] .phase-header-title h1 { font-size: 34px; }
[data-approved-screen="trip-settings"] .phase-header { min-height: 78px; margin-bottom: 6px; }
[data-approved-screen="trip-settings"] .phase-header-title h1 { font-size: 32px; }
[data-approved-screen="travelling-together"] .product-centered-header > div { text-align: center; }
[data-approved-screen="travelling-together"] .product-centered-header p { text-align: center; }
[data-approved-screen="manage-flights"] .product-header-with-info .screen-header { grid-template-columns: 82px minmax(0,1fr); gap: 42px; }
[data-approved-screen="flights"] .phase-header { grid-template-columns: 93px minmax(0,1fr) 1px; }
[data-approved-screen="bookings"] .product-booking-list { gap: 10px; }
[data-approved-screen="bookings"] .product-link-row > button { min-width: 246px; }
.product-information-detail { margin: 10px 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.product-information-detail > summary { display: grid; grid-template-columns: 29px minmax(0,1fr) auto; align-items: center; gap: 14px; color: var(--ink); font-size: 14px; font-weight: 400; list-style: none; }
.product-information-detail > summary::-webkit-details-marker { display: none; }
.product-information-detail > summary strong { padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--rust); font-size: 14px; font-weight: 550; }
.product-information-detail > summary .icon { width: 27px; height: 27px; }
[data-approved-screen="connections"] .product-heading-actions { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 12px; }
[data-approved-screen="documents"] .product-heading-actions { margin: 8px 0; }
[data-approved-screen="documents"] .product-list-label { margin: 10px 0 8px !important; }
[data-approved-screen="documents"] .product-document > summary { min-height: 98px; padding: 8px 14px; }
[data-approved-screen="documents"] .product-document summary strong { font-size: 18px; font-weight: 550; }
[data-approved-screen="documents"] [data-category="accommodation"] .product-medallion { color: var(--purple); background: #faf5ff; }
[data-approved-screen="documents"] .product-document-suggestions { margin: 9px 0; padding: 8px 16px; }
[data-approved-screen="documents"] .product-document-suggestions h2 { font-size: 18px; margin: 0 0 5px; }
[data-approved-screen="documents"] .product-document-suggestions > div { padding: 3px 0; }
[data-approved-screen="documents"] .product-document-suggestions .unavailable-control button { min-height: 32px; padding: 6px; }
[data-approved-screen="documents"] .document-backup-choice button { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; }
.document-backup-choice .icon { width: 30px; height: 30px; color: var(--blue); }
.document-backup-choice:first-child .icon { color: var(--rust); }
[data-approved-screen="documents"] .product-information-detail { margin-bottom: 0; }
[data-approved-screen="alerts-hazards"] :is(.alerts-banner,.hazard-conclusion,.alerts-advisory) h2 { font-size: 20px; font-weight: 550; }
[data-approved-screen="alerts-hazards"] :is(.alerts-banner,.hazard-conclusion,.alerts-advisory) { padding: 15px 18px; }
.alerts-section-medallion { display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 54px; border: 1px solid #e0d8ef; border-radius: 50%; color: var(--purple); background: #faf7ff; }
.alerts-section-medallion > .icon { width: 34px; height: 34px; }
.wildfire-context .alerts-section-medallion { color: #bc4b20; background: #fff8f1; border-color: #f3d1b9; }
.meteoalarm-card .section-heading { gap: 12px; }
.meteoalarm-card .section-heading > div { flex: 1; }
.meteoalarm-card .section-heading > .text-action { font-size: 12px; padding: 5px; }
.meteoalarm-card .section-heading > a { font-size: 14px; white-space: nowrap; padding: 9px; }
.alerts-sources > summary { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 16px; align-items: center; list-style: none; font-size: 14px; }
.alerts-sources > summary::-webkit-details-marker { display: none; }
.alerts-sources > summary strong { font-weight: 550; color: var(--blue); border: 1px solid #b8cbea; border-radius: 8px; padding: 8px 14px; }
[data-approved-screen="mandate-review"] .mandate-columns > section:last-child li > .icon { color: white; }
[data-approved-screen="backup-plan"] .info-banner h2 { font-size: 19px; font-weight: 500; }
[data-approved-screen="backup-plan"] .backup-approval .safety-boundary { background: transparent; align-items: center; }
[data-approved-screen="backup-plan"] .backup-approval .safety-boundary > .icon { color: var(--rust); background: #fff3e8; border: 1px solid #eed3bd; border-radius: 50%; width: 54px; height: 54px; padding: 10px; flex-shrink: 0; }
.home-shell .monitor-title { gap: 5px; min-width: 0; }
.home-shell .monitor-title strong { font-size: 11px; white-space: normal; overflow: visible; line-height: 1.2; }
.home-shell .home-guardian-disclosure { margin-bottom: 6px; padding: 4px 0; }
.home-shell .other-grid article { min-height: 87px; }
.home-shell .other-plans { padding-top: 12px; padding-bottom: 12px; }
[data-approved-screen="flights"] .provenance-legend { padding: 10px 12px; margin: 10px 0 0; }
[data-approved-screen="flights"] .provenance-legend > div > small { display: none; }
[data-approved-screen="flights"] .provenance-legend > p { font-size: 10px; margin: 6px 0 0; }
@media (max-width: 600px) {
 [data-approved-screen="manage-flights"] .product-header-with-info .screen-header { grid-template-columns: 32px minmax(0,1fr); gap: 12px; }
 [data-approved-screen="flights"] .phase-header { grid-template-columns: 34px minmax(0,1fr) 1px; }
 [data-approved-screen="connections"] .product-heading-actions { display: flex; flex-wrap: wrap; }
 .product-information-detail > summary { grid-template-columns: 25px minmax(0,1fr); gap: 9px; }
 .product-information-detail > summary strong { grid-column: 2; justify-self: start; }
 .alerts-sources > summary { grid-template-columns: 25px minmax(0,1fr); }
 .alerts-sources > summary strong { grid-column: 2; justify-self: start; }
 .meteoalarm-card .section-heading { flex-wrap: wrap; }
 .meteoalarm-card .section-heading > div { min-width: calc(100% - 70px); }
 [data-approved-screen="documents"] .document-backup-choice button { gap: 5px; font-size: 11px; }
 .document-backup-choice .icon { width: 23px; height: 23px; }
}

/* Budget reference step markers and compact information action. */
[data-approved-screen="budget-capture"] .budget-how ol{list-style:none;counter-reset:budget-step;padding-left:29px}
[data-approved-screen="budget-capture"] .budget-how li{counter-increment:budget-step;position:relative;padding-left:3px}
[data-approved-screen="budget-capture"] .budget-how li:before{content:counter(budget-step);position:absolute;left:-26px;top:1px;display:flex;align-items:center;justify-content:center;width:18px;height:18px;border:1.4px solid currentColor;border-radius:50%;font-size:12px;line-height:1}
[data-approved-screen="budget-capture"] .budget-introduction>.secondary-action{border-radius:5px}

/* Clear the remaining footer/control overlap at reference viewport widths. */
[data-approved-screen="manage-flights"] .product-header-with-info { grid-template-columns: 112px minmax(0,1fr) 44px; }
[data-approved-screen="flights"] .flight-screen-card { padding-top: 11px; padding-bottom: 11px; }
[data-approved-screen="documents"] .product-surface > .screen-card:first-child { padding-top: 12px; padding-bottom: 12px; }
[data-approved-screen="documents"] .product-document-privacy { padding-top: 10px; padding-bottom: 10px; }
[data-approved-screen="documents"] .product-document-privacy .product-link-row { margin-top: 10px; }
[data-approved-screen="documents"] .product-information-detail { margin-top: 6px; padding-top: 10px; padding-bottom: 10px; }
[data-approved-screen="backup-plan"] > .simulation-boundary h2 { font-size: 19px; font-weight: 500; }
.wildfire-context .section-heading { gap: 16px; }
.wildfire-context .section-heading > div { flex: 1; }
@media (min-width: 900px) {
 .app-shell:has([data-approved-screen="trip-settings"]) > .bottom-nav { min-height: 80px; padding: 5px 0; }
 .app-shell:has([data-approved-screen="trip-settings"]) > .bottom-nav .nav-item { min-height: 68px; gap: 5px; font-size: 13px; }
 .app-shell:has([data-approved-screen="trip-settings"]) > .bottom-nav .nav-item .icon { width: 30px; height: 30px; }
 .app-shell:has([data-approved-screen="trip-settings"]) > .bottom-nav .nav-add { width: 62px; height: 62px; margin-bottom: 0; }
 .app-shell > .secondary-page[data-approved-screen="trip-settings"] { padding-bottom: 80px; }
}
@media (max-width: 600px) {
 [data-approved-screen="manage-flights"] .product-header-with-info { grid-template-columns: 34px minmax(0,1fr) 34px; }
}

/* Intent uses the full-page reference without a fixed navigation bar. */
[data-approved-screen="intent"] { padding-bottom: 20px; }
@media (min-width: 700px) {
  .intent-product .section-label { font-family: var(--font-ui); font-size: 14px; line-height: 1.35; margin-bottom: 9px; }
  .intent-product .screen-card { padding-top: 10px; padding-bottom: 10px; }
  .intent-product .authority-progress-row { min-height: 34px; padding: 4px 0; }
  .intent-product .authority-progress-row .authority-step { width: 26px; height: 26px; }
  .intent-product .authority-evidence-row > summary { min-height: 44px; padding-top: 5px; padding-bottom: 5px; }
  .intent-product .authority-note { margin-top: 3px; padding-top: 2px; }
  .intent-product .authority-note > summary { min-height: 20px; }
  .intent-product .intent-two-column .screen-card { padding: 14px 16px; }
  .intent-product .intent-reasons-card .evidence-summary { line-height: 1.35; gap: 3px; margin: 6px 0; }
  .intent-product .intent-next h2 { margin-bottom: 4px; }
  .intent-product .intent-next p { margin: 3px 0; font-size: 14px; line-height: 1.4; }
  .intent-product .intent-next .eyebrow { font-size: 12px; margin-bottom: 5px; }
  .intent-product .authority-quiet-note { padding: 9px 14px; }
  .intent-product .authority-quiet-note p { margin-bottom: 4px; }
  .intent-product > .authority-quiet-note:last-child { align-items: center; margin-bottom: 0; padding: 8px 14px; }
  .intent-product > .authority-quiet-note:last-child > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
  .intent-product > .authority-quiet-note:last-child p,
  .intent-product > .authority-quiet-note:last-child .provenance-meta { margin: 0; }
}

.public-personal-entry{margin:24px 0;padding:20px;border:1px solid #e6d8c9;border-radius:16px;background:#fffaf3}.public-personal-entry p{margin:0 0 12px;color:#6b6158}.public-personal-entry button{min-height:44px}

/* Public, browser-local historical replay boundary and controller. */
#app[data-audience="historical-replay"] :is(.secondary-page,.home-page) { padding-bottom: 188px; }
.historical-replay-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 14px; padding: 9px 13px; border: 1px solid #d7ab8c; border-radius: 10px;
  color: #683019; background: #fff3e8; font-family: var(--font-ui); font-size: 12px; line-height: 1.35;
}
.historical-replay-banner strong { flex: 0 0 auto; color: var(--rust); letter-spacing: .04em; }
.historical-replay-controller {
  position: fixed; z-index: 5000; left: 50%; bottom: max(10px, env(safe-area-inset-bottom));
  width: min(850px, calc(100vw - 20px)); max-height: min(52vh, 430px); overflow: auto;
  transform: translateX(-50%); padding: 11px 13px; border: 1px solid #cbb39e; border-radius: 16px;
  color: #302922; background: rgba(255, 252, 247, .98); box-shadow: 0 14px 42px rgba(62, 38, 23, .22);
  font-family: var(--font-ui); font-size: 12px; line-height: 1.35;
}
.replay-controller-summary, .replay-primary-controls { display: flex; align-items: center; gap: 8px; }
.replay-controller-summary { justify-content: space-between; }
.replay-controller-summary > div { display: grid; gap: 1px; }
.replay-controller-summary span:not(.provenance-chip) { color: #6c6158; }
.replay-primary-controls { flex-wrap: wrap; margin-top: 8px; }
.historical-replay-controller button, .historical-replay-controller select, .historical-replay-controller input { min-height: 34px; }
.historical-replay-controller button { padding: 6px 10px; border: 1px solid #bda994; border-radius: 8px; color: #513020; background: white; }
.historical-replay-controller button:not(:disabled):hover { border-color: var(--rust); color: var(--rust); }
.historical-replay-controller button:disabled { opacity: .42; }
.replay-more { margin-top: 7px; }
.replay-more > summary { cursor: pointer; color: var(--rust); font-weight: 650; }
.replay-more-grid { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(140px, .7fr) minmax(220px, 1.4fr) auto; gap: 8px; align-items: end; margin-top: 9px; }
.replay-more-grid label { display: grid; gap: 3px; color: #6c6158; }
.replay-more-grid select { width: 100%; }
.replay-event-detail { margin-top: 9px; padding: 9px 11px; border-radius: 9px; background: #f7efe6; }
.replay-event-detail p { margin: 3px 0; }
.replay-event-detail small { color: #6c6158; }
#app[data-approved-capture="true"] .historical-replay-banner,
#app[data-approved-capture="true"] .historical-replay-controller { display: none !important; }
@media (max-width: 700px) {
  #app[data-audience="historical-replay"] :is(.secondary-page,.home-page) { padding-bottom: 226px; }
  .historical-replay-banner { align-items: flex-start; flex-direction: column; }
  .replay-more-grid { grid-template-columns: 1fr; }
  .historical-replay-controller { max-height: 58vh; }
}

/* Public entry and browser-local journey shell screens. Approved product
   screen composition remains unchanged beneath these mode boundaries. */
.public-entry-page,.new-journey-page{min-height:100vh;padding:clamp(22px,5vw,62px);color:var(--ink);background:radial-gradient(circle at 82% 8%,#f4dfcc 0,transparent 28%),linear-gradient(145deg,#fbf7f1,#f4ede4);font-family:var(--font-ui)}
.public-entry-page{display:grid;align-content:start;gap:clamp(28px,5vw,58px)}
.public-entry-brand{display:flex;align-items:center;gap:14px;max-width:1120px;width:100%;margin:0 auto}
.public-entry-brand>span{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;color:#fff;background:var(--rust);font:700 18px var(--font-ui);letter-spacing:.08em;box-shadow:0 9px 25px rgba(109,46,19,.2)}
.public-entry-brand>div{display:grid;gap:2px}.public-entry-brand strong{font:600 21px var(--font-display)}.public-entry-brand p{margin:0;color:var(--muted)}
.entry-text-action{margin-left:auto;padding:10px 14px;border:0;background:transparent;color:var(--rust);font-weight:650}
.public-entry-hero,.replay-intro-hero,.new-journey-heading{max-width:860px;width:100%;margin:0 auto;text-align:center}
.public-entry-hero h1,.replay-intro-hero h1,.new-journey-heading h1{margin:9px 0 14px;font:600 clamp(38px,6vw,68px)/1.02 var(--font-display);letter-spacing:-.035em}
.public-entry-hero>p:last-child,.replay-intro-hero>p:last-child,.new-journey-heading>p:last-child{max-width:700px;margin:0 auto;color:var(--muted);font-size:clamp(17px,2vw,21px);line-height:1.55}
.public-entry-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:1120px;width:100%;margin:0 auto}
.public-entry-option{position:relative;display:flex;flex-direction:column;min-height:390px;padding:clamp(25px,4vw,42px);overflow:hidden;border:1px solid #decab8;border-radius:28px;background:rgba(255,253,249,.93);box-shadow:0 22px 58px rgba(76,47,29,.1)}
.public-entry-option.new-option{border-color:#c9c4dd;background:rgba(251,249,255,.93)}
.entry-option-mark{display:grid;place-items:center;width:58px;height:58px;margin-bottom:28px;border-radius:50%;color:#fff;background:var(--rust);font-size:30px}.new-option .entry-option-mark{background:#4e4186}
.public-entry-option h2{margin:5px 0 10px;font:600 clamp(28px,3.2vw,42px)/1.08 var(--font-display);text-transform:none}.public-entry-option>p:not(.eyebrow){color:#62584f;font-size:17px;line-height:1.5}
.public-entry-option .entry-route{margin:18px 0}.entry-fact,.entry-empty{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.public-entry-option>.primary-action{align-self:flex-start;margin-top:auto;min-width:220px}
.public-entry-boundary{max-width:1120px;width:100%;margin:0 auto;text-align:center;color:#74685e;font-size:13px}
.replay-intro{gap:28px}.replay-intro-hero .intro-date{display:flex;justify-content:center;align-items:center;gap:10px;margin:0 0 20px;color:var(--rust);font-weight:700}
.replay-intro-route{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;max-width:1120px;margin:0 auto;padding:18px 22px;border:1px solid #ddc7b5;border-radius:18px;background:#fffdf9}.replay-intro-route span{font-weight:650}.replay-intro-route i{color:var(--rust);font-style:normal}
.replay-truth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:900px;width:100%;margin:0 auto}.replay-truth-grid article{padding:24px;border:1px solid #ddc7b5;border-radius:20px;background:#fff}.replay-truth-grid article:last-child{border-color:#cbc3e1;background:#fcfaff}.replay-truth-grid h2{margin:15px 0 8px;font:600 24px var(--font-display)}.replay-truth-grid p{margin:0;color:var(--muted);line-height:1.5}
.replay-intro-controls{display:flex;justify-content:center;align-items:end;gap:10px;flex-wrap:wrap}.replay-intro-controls label{display:grid;gap:5px;color:var(--muted);font-size:13px}.replay-intro-controls select{min-height:46px;padding:8px 12px;border:1px solid #cdb8a7;border-radius:9px;background:#fff}
.new-journey-page{display:grid;align-content:start;gap:28px}.new-journey-page>.public-entry-brand,.new-journey-page>.new-journey-heading,.new-journey-page>.new-journey-form,.new-journey-progressive,.new-journey-footer{max-width:980px;width:100%;margin-left:auto;margin-right:auto}
.new-journey-heading h1{font-size:clamp(36px,5vw,58px)}.new-journey-form,.new-journey-progressive{padding:clamp(22px,4vw,36px);border:1px solid #d9c6b5;border-radius:24px;background:rgba(255,253,249,.96);box-shadow:0 18px 45px rgba(76,47,29,.09)}
.new-journey-field-grid,.new-journey-inline-form,.new-journey-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.new-journey-page label{display:grid;gap:7px;color:#5f5147;font-weight:650}.new-journey-page input,.new-journey-page textarea{width:100%;min-height:48px;padding:11px 13px;border:1px solid #cdb9aa;border-radius:10px;color:var(--ink);background:#fff;font:inherit}.new-journey-page textarea{min-height:100px;resize:vertical}.new-journey-form>.primary-action{margin-top:22px}.new-journey-form>.secondary-action{margin:22px 0 0 10px}
.new-journey-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.new-journey-section-heading h2{margin:5px 0;font:600 30px var(--font-display)}.new-journey-section-heading>span{padding:8px 12px;border-radius:999px;background:#f2e4d6;color:var(--rust)}
.new-journey-progressive>details{margin-top:14px;border:1px solid #e1d4c9;border-radius:14px;background:#fff}.new-journey-progressive>details>summary{display:flex;justify-content:space-between;padding:16px 18px;cursor:pointer;font-weight:700}.new-journey-progressive>details>summary small{color:var(--muted);font-weight:500}.new-journey-progressive>details>div,.new-journey-progressive>details>form{padding:4px 18px 20px}.new-journey-inline-form,.new-journey-notes{margin-top:18px}.new-journey-inline-form>button,.new-journey-notes>button{justify-self:start}.local-draft-row{padding:10px 12px;border-radius:9px;background:#f8f3ed}.new-journey-progressive>aside{margin-top:18px;padding:16px;border-radius:12px;background:#f5f1fa;line-height:1.5}.new-journey-footer{display:flex;align-items:center;gap:18px}.new-journey-footer p{color:var(--muted)}
#app[data-audience="new-journey"] :is(.secondary-page,.home-page){padding-bottom:142px}.browser-local-banner,.replay-simulation-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:9px 13px;border:1px solid #c9c3dc;border-radius:10px;color:#413a68;background:#f7f4ff;font-family:var(--font-ui);font-size:12px;line-height:1.35}.browser-local-banner strong,.replay-simulation-label strong{flex:0 0 auto;color:#4e4186;letter-spacing:.04em}.replay-simulation-label{border-color:#d6b990;color:#6d421e;background:#fff7e9}.replay-simulation-label strong{color:#a34f12}
.browser-local-controller{position:fixed;z-index:5000;left:50%;bottom:max(10px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:9px;width:min(900px,calc(100vw - 20px));padding:11px 13px;transform:translateX(-50%);border:1px solid #c7bdda;border-radius:16px;background:rgba(252,250,255,.98);box-shadow:0 14px 42px rgba(52,41,79,.2);font:12px/1.35 var(--font-ui)}.browser-local-controller>div{display:grid;min-width:170px}.browser-local-controller>div span{color:var(--muted)}.browser-local-controller label{display:grid;flex:1;gap:2px;color:var(--muted)}.browser-local-controller select,.browser-local-controller button{min-height:38px;padding:7px 10px;border:1px solid #bfb5d3;border-radius:8px;background:#fff;color:#40365f}
#app[data-approved-capture="true"] .replay-simulation-label{display:none!important}
@media(max-width:740px){.public-entry-options,.replay-truth-grid,.new-journey-field-grid,.new-journey-inline-form,.new-journey-notes{grid-template-columns:1fr}.public-entry-option{min-height:340px}.public-entry-brand{align-items:flex-start}.entry-text-action{font-size:12px}.new-journey-form>.secondary-action{margin-left:0}.new-journey-footer,.browser-local-controller{align-items:stretch;flex-direction:column}.browser-local-controller{max-height:48vh;overflow:auto}.browser-local-controller>div,.browser-local-controller label{width:100%}#app[data-audience="new-journey"] :is(.secondary-page,.home-page){padding-bottom:280px}.browser-local-banner,.replay-simulation-label{align-items:flex-start;flex-direction:column}}
