/* Flight Outlier member workspace v44
   A single authenticated instrument around the existing production globe.
   Sentence-case sans carries navigation and explanation; mono remains data-only. */

:root {
  --mw-paper: #efe9dd;
  --mw-surface: #f6f1e7;
  --mw-raised: #fdfbf6;
  --mw-ink: #2a2419;
  --mw-muted: #6d6559;
  --mw-rule: rgba(42, 36, 25, .20);
  --mw-violet: #6542b3;
  --mw-violet-deep: #533596;
  --mw-violet-wash: rgba(101, 66, 179, .09);
  --mw-brass: #8b6824;
  --mw-green: #2d765a;
  --mw-red: #934d46;
  --mw-serif: "Newsreader", Georgia, serif;
  --mw-sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mw-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

/* -------------------------------------------------------------------------
   v44 production port: compact three-zone workbench
   ------------------------------------------------------------------------- */

:root {
  --mw-list-zone: #ece3d5;
  --mw-context-zone: #f4ede2;
  --mw-globe-zone: #e2e7e1;
  --mw-plum: #744e59;
  --mw-brass: #664909;
  --mw-brass-wash: #eee2c9;
  --mw-violet-wash-solid: #e9e0ef;
  --mw-violet-selected: #dfd2eb;
  --mw-sweet-wash: #eadde1;
  --mw-sweet-selected: #e2d0d6;
}

.mw-shell {
  grid-template-rows: 56px minmax(0, 1fr);
}

.mw-header {
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 0;
  padding: 0 24px;
  background: var(--mw-paper);
  backdrop-filter: none;
}

.mw-brand {
  padding-right: 24px;
  font-size: 19px;
}

.mw-nav {
  gap: 22px;
  padding-left: 24px;
}

.mw-nav button {
  min-width: 0;
  padding: 0;
  font-size: 13px;
}

.mw-nav button::after {
  right: 0;
  left: 0;
}

.mw-account {
  min-height: 40px;
  padding-left: 24px;
}

.mw-main {
  grid-template-columns: 430px minmax(0, 1fr);
  overflow: hidden;
}

.mw-shell[data-view="explore"] .mw-main,
.mw-shell[data-view="plan"] .mw-main {
  grid-template-columns: 448px minmax(360px, 1fr) 333px;
}

.mw-content {
  overflow: auto;
  background: var(--mw-list-zone);
}

.mw-globe {
  background: var(--mw-globe-zone);
}

.mw-globe-caption {
  top: 14px;
  left: 16px;
  max-width: min(270px, 64%);
  padding: 7px 9px;
  background: rgba(244, 237, 226, .88);
  backdrop-filter: blur(8px);
}

.mw-globe-caption strong {
  font-size: 22px;
}

.mw-globe-caption span {
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.35;
}

.mw-inspector {
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid var(--mw-rule);
  background: var(--mw-context-zone);
}

.mw-inspector[hidden] {
  display: none;
}

.mw-inspector-scroll,
.mw-plan-amelia {
  height: 100%;
  box-sizing: border-box;
  padding: 15px 16px 14px;
  overflow: auto;
}

.mw-inspector-empty {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 28px;
  box-sizing: border-box;
  color: var(--mw-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.mw-inspector-close {
  display: none;
}

.mw-inspector-label {
  margin: 0 0 4px;
  color: var(--mw-muted);
  font-size: 11px;
}

.mw-inspector h2 {
  margin: 0;
  font: 400 28px/.98 var(--mw-serif);
  letter-spacing: -.025em;
}

.mw-inspector-route {
  margin: 4px 0 9px;
  color: var(--mw-muted);
  font: 11px/1.3 var(--mw-mono);
}

.mw-inspector-fare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: start;
  padding: 7px 0;
  border-top: 1px solid var(--mw-rule);
  border-bottom: 1px solid var(--mw-rule);
}

.mw-inspector-fare .mw-fare-line,
.mw-inspector-fare .mw-fare-basis {
  grid-column: 1;
}

.mw-inspector-fare .mw-fare-line {
  font: 600 12px/1.3 var(--mw-mono);
}

.mw-inspector-signal {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  font-size: 11.5px;
  font-weight: 650;
}

.mw-signal-gold { color: var(--mw-brass); }
.mw-signal-outlier { color: var(--mw-violet-deep); }
.mw-signal-sweet { color: var(--mw-plum); }
.mw-signal-worth { color: var(--mw-muted); }

.mw-itinerary {
  display: grid;
  gap: 7px;
  padding: 8px 0;
}

.mw-itin-leg {
  padding: 7px 8px;
  border: 1px solid var(--mw-rule);
  background: rgba(255, 250, 241, .48);
}

.mw-itin-leg-head,
.mw-itin-path {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.mw-itin-leg-head {
  color: var(--mw-muted);
  font-size: 10.5px;
}

.mw-itin-leg-head strong {
  color: var(--mw-ink);
  font-weight: 600;
}

.mw-itin-path {
  align-items: baseline;
  margin-top: 3px;
}

.mw-itin-path b {
  min-width: 0;
  overflow: hidden;
  font: 600 11px/1.25 var(--mw-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mw-itin-path span,
.mw-itin-leg p,
.mw-itin-leg-fare {
  color: var(--mw-muted);
  font-size: 10.5px;
}

.mw-itin-path span {
  flex: 0 0 auto;
}

.mw-itin-leg p {
  margin: 4px 0 0;
  line-height: 1.3;
}

.mw-itin-leg-fare {
  display: block;
  margin-top: 3px;
  font-family: var(--mw-mono);
}

.mw-trip-facts {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  border-top: 1px solid var(--mw-rule);
}

.mw-trip-facts > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--mw-rule);
}

.mw-trip-facts dt {
  color: var(--mw-muted);
  font-size: 10.5px;
}

.mw-trip-facts dd {
  margin: 0;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.35;
}

.mw-inspector-trust {
  margin: 8px 0;
  color: var(--mw-muted);
  font-size: 10.5px;
  line-height: 1.4;
}

.mw-inspector-actions {
  display: grid;
  gap: 6px;
}

.mw-inspector .mw-button {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  font-size: 11px;
}

.mw-plan-amelia {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mw-plan-amelia > p:not(.mw-inspector-label):not(.mw-inspector-trust) {
  margin: 9px 0 12px;
  color: var(--mw-muted);
  font-size: 12px;
  line-height: 1.45;
}

.mw-amelia-orbit {
  position: relative;
  width: 34px;
  height: 34px;
  margin-bottom: 15px;
  border: 1px solid rgba(101, 66, 179, .38);
  border-radius: 50%;
}

.mw-amelia-orbit::before,
.mw-amelia-orbit span {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.mw-amelia-orbit::before {
  inset: 8px;
  background: var(--mw-violet);
}

.mw-amelia-orbit span {
  top: 1px;
  right: 2px;
  width: 6px;
  height: 6px;
  background: var(--mw-brass);
}

.mw-shell[data-view="explore"] .mw-content,
.mw-shell[data-view="plan"] .mw-content {
  overflow: hidden;
}

.mw-explore,
.mw-plan-view {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: 48px minmax(0, 1fr);
}

.mw-explore > .mw-pilot-note,
.mw-plan-view > .mw-pilot-note {
  display: none;
}

.mw-opening-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  height: 48px;
  min-height: 0;
  box-sizing: border-box;
  align-items: center;
  padding: 5px 12px;
}

.mw-opening-compact > div {
  min-width: 0;
}

.mw-opening-compact h1 {
  overflow: hidden;
  font-size: 22px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mw-opening-compact > div > p,
.mw-opening-compact > p:not(.mw-kicker) {
  overflow: hidden;
  margin: 2px 0 0;
  font-size: 10.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mw-sweep-stamp {
  max-width: 150px !important;
  text-align: right;
}

.mw-sweep-stamp span {
  display: block;
}

.mw-explore > .mw-section {
  display: grid;
  min-height: 0;
  grid-template-rows: 34px 32px minmax(0, 1fr) auto;
  padding: 8px 12px 10px;
  overflow: hidden;
}

.mw-explore .mw-mode,
.mw-explore .mw-filters {
  margin: 0;
}

.mw-explore .mw-mode {
  justify-self: start;
}

.mw-explore .mw-filters {
  align-self: end;
  border-right: 0;
  border-left: 0;
}

.mw-explore .mw-mode button,
.mw-explore .mw-filters button {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 10.5px;
}

.mw-explore .mw-ledger {
  min-height: 0;
  overflow: auto;
  border-top: 1px solid var(--mw-ink);
}

.mw-explore .mw-row {
  min-height: 65px;
  box-sizing: border-box;
  grid-template-columns: 23px minmax(0, 1fr) minmax(122px, .78fr);
  gap: 8px;
  padding: 6px 8px;
  transition: background-color 130ms ease, box-shadow 130ms ease;
}

.mw-explore .mw-row[data-signal="outlier"] { background: var(--mw-violet-wash-solid); }
.mw-explore .mw-row[data-signal="gold"] { background: var(--mw-brass-wash); }
.mw-explore .mw-row[data-signal="sweet"] { background: var(--mw-sweet-wash); }
.mw-explore .mw-row[data-signal="worth"] { background: rgba(255, 250, 241, .30); }
.mw-explore .mw-row[data-signal="outlier"][aria-current="true"] { background: var(--mw-violet-selected); }
.mw-explore .mw-row[data-signal="gold"][aria-current="true"] { background: #e6d5b3; }
.mw-explore .mw-row[data-signal="sweet"][aria-current="true"] { background: var(--mw-sweet-selected); }

.mw-explore .mw-row:hover,
.mw-explore .mw-row:focus-visible {
  box-shadow: inset 2px 0 var(--mw-ink);
}

.mw-explore .mw-row[aria-current="true"] {
  box-shadow: inset 3px 0 var(--mw-violet-deep);
}

.mw-explore .mw-row-number {
  font-size: 9.5px;
}

.mw-explore .mw-row strong {
  font-size: 17px;
}

.mw-explore .mw-row small {
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.2;
}

.mw-explore .mw-row-read {
  font-size: 10.5px;
}

.mw-explore .mw-row-read b {
  font-size: 10.5px;
  line-height: 1.25;
}

.mw-explore .mw-actions {
  margin-top: 8px;
}

.mw-explore .mw-actions .mw-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 10.5px;
}

.mw-plan {
  min-height: 0;
  padding: 10px 12px;
  overflow: auto;
}

.mw-plan .mw-form {
  gap: 8px;
}

.mw-plan .mw-field {
  gap: 4px;
}

.mw-plan .mw-field > span {
  font-size: 10.5px;
}

.mw-plan .mw-field input,
.mw-plan .mw-field select,
.mw-plan .mw-field textarea {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 11.5px;
}

.mw-plan .mw-field textarea {
  min-height: 64px;
  height: 64px;
}

.mw-plan .mw-form-grid {
  gap: 7px 8px;
}

.mw-plan .mw-pay button {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 10.5px;
}

.mw-plan .mw-actions {
  gap: 6px;
  margin-top: 1px;
}

.mw-plan .mw-button {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 10.5px;
}

.mw-plan .mw-feedback {
  min-height: 14px;
  margin: 0;
  font-size: 10.5px;
}

.mw-plan .mw-candidate-section {
  margin-top: 10px;
  padding-top: 10px;
}

.mw-plan .mw-candidate-section h2 {
  font-size: 21px;
}

.mw-plan .mw-candidate {
  padding: 7px 0;
}

.mw-plan .mw-candidate p,
.mw-plan .mw-candidate .mw-data {
  font-size: 10.5px;
}

.mw-active .mw-globe .tp.open {
  z-index: 12;
  top: 12px;
  left: 12px;
  width: min(384px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100% - 24px);
}

.mw-active .mw-globe .tp.open + .mw-globe-caption,
.mw-active .mw-globe:has(.tp.open) .mw-globe-caption {
  opacity: 0;
}

.mw-opening:not(.mw-opening-compact) {
  padding: 22px 24px 17px;
}

.mw-opening:not(.mw-opening-compact) h1 {
  font-size: clamp(38px, 4vw, 56px);
}

.mw-section {
  padding: 18px 24px;
}

.mw-section h2,
.mw-section h3 {
  font-size: clamp(25px, 2.3vw, 34px);
}

.mw-amelia-read {
  margin: 16px 24px 0;
}

.mw-row {
  min-height: 62px;
}

.mw-pilot-note {
  padding: 14px 24px;
}

@media (max-width: 1100px) and (min-width: 701px) {
  .mw-header {
    grid-template-columns: 180px minmax(0, 1fr) auto;
    padding-inline: 18px;
  }

  .mw-nav {
    gap: 15px;
    padding-left: 18px;
  }

  .mw-shell[data-view="explore"] .mw-main,
  .mw-shell[data-view="plan"] .mw-main {
    grid-template-columns: 410px minmax(300px, 1fr) 300px;
  }

  .mw-explore .mw-row {
    grid-template-columns: 20px minmax(0, 1fr) 112px;
  }
}

@media (max-width: 700px) {
  .mw-shell {
    grid-template-rows: 86px minmax(0, 1fr);
  }

  .mw-header {
    display: grid;
    height: 86px;
    min-height: 86px;
    grid-template-columns: 1fr auto;
    grid-template-rows: 43px 43px;
    padding: env(safe-area-inset-top) 12px 0;
  }

  .mw-brand {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    font-size: 17px;
  }

  .mw-account {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
  }

  .mw-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    overflow: visible;
  }

  .mw-nav button {
    flex: 1 1 20%;
    min-width: 0;
    padding: 0 4px;
    font-size: 10.5px;
  }

  .mw-nav button::after {
    right: 4px;
    left: 4px;
  }

  .mw-main,
  .mw-shell[data-view="explore"] .mw-main,
  .mw-shell[data-view="plan"] .mw-main {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .mw-content {
    flex: 0 0 auto;
    order: 1;
    overflow: visible !important;
    border-right: 0;
  }

  .mw-globe {
    flex: 0 0 260px;
    order: 2;
    min-height: 260px;
    border-top: 1px solid var(--mw-rule);
  }

  .mw-inspector {
    flex: 0 0 auto;
    order: 3;
    border-top: 1px solid var(--mw-rule);
    border-left: 0;
  }

  .mw-shell[data-view="explore"] .mw-inspector {
    display: none;
  }

  .mw-shell[data-view="explore"][data-detail-open="true"] .mw-inspector {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: min(58dvh, 490px);
    border-top: 1px solid var(--mw-ink);
    background: var(--mw-raised);
    box-shadow: 0 -18px 44px rgba(42, 36, 25, .18);
  }

  .mw-inspector-scroll,
  .mw-plan-amelia {
    height: auto;
    max-height: 100%;
    padding: 13px 16px calc(15px + env(safe-area-inset-bottom));
  }

  .mw-inspector-close {
    display: block;
    float: right;
    min-height: 32px;
    border: 0;
    background: transparent;
    color: var(--mw-muted);
    cursor: pointer;
    font: 600 11px var(--mw-sans);
  }

  .mw-opening-compact {
    height: 48px;
    padding-inline: 12px;
  }

  .mw-opening-compact h1 {
    font-size: 20px;
  }

  .mw-opening-compact > div > p {
    max-width: 220px;
  }

  .mw-sweep-stamp {
    max-width: 112px !important;
    font-size: 9.5px !important;
  }

  .mw-explore > .mw-section {
    grid-template-rows: 34px 32px auto auto;
    padding-inline: 10px;
  }

  .mw-explore .mw-row {
    min-height: 64px;
    grid-template-columns: 19px minmax(0, 1fr) 108px;
    gap: 7px;
    padding-inline: 6px;
  }

  .mw-explore .mw-ledger:not(.is-expanded) > .mw-row:nth-child(n+5) {
    display: none;
  }

  .mw-explore .mw-row strong {
    font-size: 16px;
  }

  .mw-explore .mw-row small:nth-of-type(2) {
    display: none;
  }

  .mw-explore .mw-actions {
    display: none;
  }

  .mw-plan {
    padding: 10px 12px;
  }

  .mw-plan .mw-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mw-plan .mw-actions {
    grid-template-columns: 1fr 1fr;
  }

  .mw-plan .mw-actions .mw-button:last-child {
    display: none;
  }

  .mw-plan-amelia {
    min-height: 260px;
  }

  .mw-active .mw-globe .tp.open {
    position: fixed;
    z-index: 100;
    top: calc(94px + env(safe-area-inset-top));
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-height: none;
  }

  .mw-opening:not(.mw-opening-compact) {
    padding: 16px 18px 13px;
  }

  .mw-opening:not(.mw-opening-compact) h1 {
    font-size: 34px;
  }

  .mw-section {
    padding: 14px 18px;
  }

  .mw-pilot-note {
    padding-inline: 18px;
  }
}

body.mw-active {
  overflow: hidden;
  background: var(--mw-paper);
}

body.mw-active .atlas > .atlas-topbar,
body.mw-active .atlas > .tabbar,
body.mw-active .atlas > .app-landing-overlay,
body.mw-active .atlas-shell > .atlas-rail,
body.mw-active .atlas-shell > .route-panel,
body.mw-active .atlas-shell > .jk-rail,
body.mw-active .atlas-shell > .list-wrap,
body.mw-active .fo-fb {
  display: none !important;
}

body.mw-active .atlas {
  display: block;
  height: 100dvh;
  overflow: hidden;
}

body.mw-active .atlas-shell {
  display: none !important;
}

.mw-shell {
  position: fixed;
  z-index: 52;
  inset: 0;
  display: grid;
  grid-template-rows: 68px minmax(0, 1fr);
  background: var(--mw-paper);
  color: var(--mw-ink);
  font-family: var(--mw-sans);
}

.mw-shell[hidden] {
  display: none;
}

.mw-header {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 3.2vw, 50px);
  border-bottom: 1px solid var(--mw-rule);
  background: rgba(239, 233, 221, .96);
  backdrop-filter: blur(18px);
}

.mw-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--mw-ink);
  cursor: pointer;
  font-family: var(--mw-serif);
  font-size: 20px;
}

.mw-brand-mark {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mw-brand-mark::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mw-violet);
}

.mw-nav {
  display: flex;
  height: 100%;
  align-items: stretch;
}

.mw-nav button {
  position: relative;
  min-width: 74px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--mw-muted);
  cursor: pointer;
  font: 500 14px/1 var(--mw-sans);
}

.mw-nav button::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 2px;
  background: transparent;
}

.mw-nav button[aria-current="page"] {
  color: var(--mw-ink);
}

.mw-nav button[aria-current="page"]::after {
  background: var(--mw-violet);
}

.mw-account {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--mw-ink);
  cursor: pointer;
  font: 500 13px/1 var(--mw-sans);
}

.mw-account-dot {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border: 1px solid var(--mw-rule);
  border-radius: 50%;
  background: var(--mw-raised);
  color: var(--mw-violet);
}

.mw-account-dot::before,
.mw-account-dot::after {
  position: absolute;
  left: 50%;
  content: "";
  transform: translateX(-50%);
}

.mw-account-dot::before {
  top: 7px;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.mw-account-dot::after {
  bottom: 6px;
  width: 13px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.mw-main {
  display: grid;
  grid-template-columns: minmax(540px, 48%) minmax(0, 1fr);
  min-height: 0;
}

.mw-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border-right: 1px solid var(--mw-rule);
  background: var(--mw-paper);
  scrollbar-width: thin;
}

.mw-globe {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .62), transparent 38%),
    linear-gradient(145deg, rgba(101, 66, 179, .045), transparent 54%),
    var(--mw-paper);
}

.mw-globe .atlas-stage {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  place-items: center;
  overflow: hidden;
  pointer-events: auto !important;
}

.mw-globe .atlas-stage #map {
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  pointer-events: auto !important;
}

.mw-globe-caption {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 26px;
  max-width: min(320px, 62%);
  padding: 10px 12px;
  border-left: 1px solid var(--mw-ink);
  background: color-mix(in srgb, var(--mw-paper) 84%, transparent);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.mw-globe-caption strong {
  display: block;
  font: 400 clamp(22px, 2.1vw, 33px)/1 var(--mw-serif);
}

.mw-globe-caption span {
  display: block;
  margin-top: 5px;
  color: var(--mw-muted);
  font-size: 11px;
  line-height: 1.45;
}

.mw-view {
  min-height: 100%;
  animation: mw-enter 280ms cubic-bezier(.2, .72, .28, 1) both;
}

@keyframes mw-enter {
  from { opacity: .45; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mw-view { animation: none; }
}

.mw-opening {
  display: grid;
  gap: 13px;
  padding: clamp(30px, 4vw, 58px) clamp(24px, 4.1vw, 62px) 27px;
  border-bottom: 1px solid var(--mw-rule);
}

.mw-kicker,
.mw-eyebrow {
  margin: 0;
  color: var(--mw-violet);
  font: 600 13px/1.35 var(--mw-sans);
}

.mw-opening h1 {
  max-width: 720px;
  margin: 0;
  font: 400 clamp(47px, 5vw, 76px)/.93 var(--mw-serif);
  letter-spacing: -.038em;
}

.mw-opening > p:not(.mw-kicker) {
  max-width: 650px;
  margin: 0;
  color: var(--mw-muted);
  font-size: 15px;
  line-height: 1.6;
}

.mw-opening-compact {
  gap: 8px;
  padding-top: 24px;
  padding-bottom: 19px;
}

.mw-opening-compact h1 {
  font-size: clamp(37px, 3.6vw, 53px);
  line-height: .98;
}

.mw-opening-compact > p:not(.mw-kicker) {
  font-size: 14px;
  line-height: 1.5;
}

.mw-disclaimer {
  color: var(--mw-muted) !important;
  font-size: 11px !important;
}

.mw-amelia-read {
  margin: 22px clamp(24px, 4.1vw, 62px) 0;
  padding: 0 0 0 18px;
  border-left: 1px solid var(--mw-ink);
}

.mw-amelia-read strong {
  display: block;
  margin-bottom: 5px;
  font: 400 22px/1.1 var(--mw-serif);
}

.mw-amelia-read p {
  margin: 0;
  color: var(--mw-muted);
  font-size: 13px;
  line-height: 1.55;
}

.mw-section {
  padding: 26px clamp(24px, 4.1vw, 62px);
  border-bottom: 1px solid var(--mw-rule);
}

.mw-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.mw-section h2,
.mw-section h3 {
  margin: 5px 0 0;
  font: 400 clamp(28px, 2.7vw, 42px)/1 var(--mw-serif);
  letter-spacing: -.025em;
}

.mw-section-head > p {
  max-width: 260px;
  margin: 0;
  color: var(--mw-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.mw-digest {
  display: grid;
  border-top: 1px solid var(--mw-ink);
}

.mw-digest article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--mw-rule);
}

.mw-digest time,
.mw-data {
  font-family: var(--mw-mono);
  font-variant-numeric: tabular-nums;
}

.mw-digest time {
  color: var(--mw-muted);
  font-size: 10px;
}

.mw-digest p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.mw-filters,
.mw-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 15px;
  border: 1px solid var(--mw-rule);
}

.mw-filters button,
.mw-mode button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 9px 12px;
  border: 0;
  border-right: 1px solid var(--mw-rule);
  background: rgba(253, 251, 246, .45);
  color: var(--mw-muted);
  cursor: pointer;
  font: 500 12px/1.2 var(--mw-sans);
}

.mw-filters button:last-child,
.mw-mode button:last-child {
  border-right: 0;
}

.mw-filters button[aria-pressed="true"],
.mw-mode button[aria-pressed="true"] {
  background: var(--mw-violet-wash);
  box-shadow: inset 0 -2px 0 var(--mw-violet);
  color: var(--mw-violet-deep);
  font-weight: 650;
}

.mw-ledger {
  border-top: 1px solid var(--mw-ink);
}

.mw-row {
  display: grid;
  grid-template-columns: 26px minmax(150px, 1fr) minmax(132px, .78fr);
  gap: 12px;
  width: 100%;
  min-height: 76px;
  padding: 13px 2px;
  border: 0;
  border-bottom: 1px solid var(--mw-rule);
  background: transparent;
  color: var(--mw-ink);
  cursor: pointer;
  text-align: left;
  transition: padding 160ms ease, background-color 160ms ease;
}

.mw-row:hover,
.mw-row:focus-visible,
.mw-row[aria-current="true"] {
  padding-right: 8px;
  padding-left: 8px;
  background: rgba(253, 251, 246, .68);
}

.mw-row:focus-visible,
.mw-button:focus-visible,
.mw-nav button:focus-visible,
.mw-account:focus-visible,
.mw-brand:focus-visible,
.mw-field input:focus-visible,
.mw-field select:focus-visible,
.mw-field textarea:focus-visible {
  outline: 2px solid var(--mw-violet);
  outline-offset: 2px;
}

.mw-row-number {
  padding-top: 3px;
  color: var(--mw-muted);
  font: 400 10px/1 var(--mw-mono);
}

.mw-row strong {
  display: block;
  font: 400 21px/1.08 var(--mw-serif);
}

.mw-row small {
  display: block;
  margin-top: 4px;
  color: var(--mw-muted);
  font-size: 11px;
  line-height: 1.4;
}

.mw-row-read {
  align-self: center;
  min-width: 0;
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.mw-row-read b {
  display: block;
  margin-bottom: 4px;
  color: var(--mw-ink);
  font: 500 11px/1.35 var(--mw-mono);
  font-variant-numeric: tabular-nums;
}

.mw-fare-line {
  display: block;
}

.mw-fare-taxes {
  color: var(--mw-muted);
  font-size: .9em;
}

.mw-fare-basis {
  display: block;
  margin-top: 2px;
  color: var(--mw-muted);
  font: 400 10px/1.25 var(--mw-sans);
  letter-spacing: .01em;
}

.mw-mobile-more {
  display: none;
}

.mw-state {
  color: var(--mw-muted);
}

.mw-state-good { color: var(--mw-green); }
.mw-state-signal { color: var(--mw-violet); }
.mw-state-gold { color: var(--mw-brass); }
.mw-state-alert { color: var(--mw-red); }

.mw-empty {
  padding: 23px 0;
  border-top: 1px solid var(--mw-ink);
}

.mw-empty h3 {
  margin: 0;
  font: 400 27px/1.08 var(--mw-serif);
}

.mw-empty p {
  max-width: 520px;
  margin: 9px 0 0;
  color: var(--mw-muted);
  font-size: 13px;
  line-height: 1.55;
}

.mw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}

.mw-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--mw-ink);
  border-radius: 0;
  background: var(--mw-ink);
  color: var(--mw-raised);
  cursor: pointer;
  font: 600 12px/1.2 var(--mw-sans);
  text-decoration: none;
}

.mw-button-secondary {
  background: transparent;
  color: var(--mw-ink);
}

.mw-button[disabled] {
  cursor: wait;
  opacity: .55;
}

.mw-plan {
  padding: 27px clamp(24px, 4.1vw, 62px) 32px;
}

.mw-form {
  display: grid;
  gap: 18px;
}

.mw-field {
  display: grid;
  gap: 7px;
  color: var(--mw-muted);
  font-size: 12px;
}

.mw-field > span {
  color: var(--mw-ink);
  font-weight: 600;
}

.mw-field input,
.mw-field select,
.mw-field textarea {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid var(--mw-ink);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--mw-ink);
  font: 400 15px/1.45 var(--mw-sans);
}

.mw-field textarea {
  min-height: 86px;
  resize: vertical;
}

.mw-form-grid {
  display: grid;
  grid-template-columns: 1.3fr .78fr;
  gap: 15px 20px;
}

.mw-pay {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--mw-rule);
}

.mw-pay button {
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-right: 1px solid var(--mw-rule);
  background: rgba(253, 251, 246, .46);
  color: var(--mw-muted);
  cursor: pointer;
  font: 500 12px/1.25 var(--mw-sans);
}

.mw-pay button:last-child {
  border-right: 0;
}

.mw-pay button[aria-pressed="true"] {
  background: var(--mw-violet-wash);
  color: var(--mw-violet-deep);
  box-shadow: inset 0 -2px var(--mw-violet);
}

.mw-feedback {
  min-height: 20px;
  margin: 0;
  color: var(--mw-green);
  font-size: 12px;
  line-height: 1.45;
}

.mw-feedback.is-error { color: var(--mw-red); }

.mw-candidate-section {
  margin-top: 24px;
  outline: 0;
}

.mw-candidate-section .mw-section-head {
  align-items: end;
  margin-bottom: 0;
}

.mw-candidate-section h2 {
  margin: 5px 0 0;
  font: 400 clamp(28px, 2.7vw, 40px)/1 var(--mw-serif);
  letter-spacing: -.025em;
}

.mw-candidates {
  display: grid;
  margin-top: 15px;
  border-top: 1px solid var(--mw-ink);
}

.mw-candidate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--mw-rule);
}

.mw-candidate strong {
  font: 400 20px/1.1 var(--mw-serif);
}

.mw-candidate p {
  margin: 4px 0 0;
  color: var(--mw-muted);
  font-size: 11px;
  line-height: 1.45;
}

.mw-candidate .mw-candidate-fit {
  color: var(--mw-ink);
}

.mw-candidate .mw-data {
  align-self: center;
  font-size: 11px;
  text-align: right;
}

.mw-balance-list {
  border-top: 1px solid var(--mw-ink);
}

.mw-balance {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--mw-rule);
}

.mw-balance span {
  font-size: 13px;
}

.mw-balance strong {
  font: 500 12px/1.4 var(--mw-mono);
  font-variant-numeric: tabular-nums;
}

.mw-stat-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--mw-ink);
  border-bottom: 1px solid var(--mw-rule);
}

.mw-stat {
  padding: 17px 14px 17px 0;
  border-right: 1px solid var(--mw-rule);
}

.mw-stat + .mw-stat {
  padding-left: 14px;
}

.mw-stat:last-child {
  border-right: 0;
}

.mw-stat strong {
  display: block;
  font: 400 27px/1 var(--mw-serif);
}

.mw-stat span {
  display: block;
  margin-top: 5px;
  color: var(--mw-muted);
  font-size: 10px;
  line-height: 1.35;
}

.mw-pilot-sequence {
  display: grid;
  counter-reset: pilot;
  border-top: 1px solid var(--mw-ink);
}

.mw-pilot-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--mw-rule);
  counter-increment: pilot;
}

.mw-pilot-step::before {
  content: "0" counter(pilot);
  padding-top: 3px;
  color: var(--mw-violet);
  font: 400 10px/1 var(--mw-mono);
}

.mw-pilot-step h3 {
  margin: 0;
  font: 400 24px/1.08 var(--mw-serif);
}

.mw-pilot-step p {
  margin: 7px 0 0;
  color: var(--mw-muted);
  font-size: 12px;
  line-height: 1.55;
}

.mw-question-list {
  display: grid;
  margin-top: 14px;
  border-top: 1px solid var(--mw-rule);
}

.mw-question-list button {
  min-height: 50px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--mw-rule);
  background: transparent;
  color: var(--mw-ink);
  cursor: pointer;
  font: 400 16px/1.35 var(--mw-serif);
  text-align: left;
}

.mw-question-list button::after {
  content: "→";
  float: right;
  color: var(--mw-violet);
}

.mw-pilot-note {
  padding: 20px clamp(24px, 4.1vw, 62px);
  color: var(--mw-muted);
  font-size: 11px;
  line-height: 1.5;
}

.mw-toast {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 44px));
  padding: 11px 15px;
  border: 1px solid var(--mw-rule);
  background: var(--mw-raised);
  box-shadow: 0 12px 35px rgba(42, 36, 25, .16);
  color: var(--mw-ink);
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(7px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.mw-toast.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .mw-header {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 0 18px;
  }
  .mw-brand {
    font-size: 0;
  }
  .mw-brand-mark {
    width: 20px;
    height: 20px;
  }
  .mw-nav button {
    min-width: 58px;
    padding: 0 9px;
    font-size: 12px;
  }
  .mw-account > span:not(.mw-account-dot) {
    display: none;
  }
  .mw-main {
    grid-template-columns: minmax(455px, 52%) minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  body.mw-active {
    overflow: hidden;
  }
  .mw-shell {
    grid-template-rows: auto minmax(0, 1fr);
  }
  .mw-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 58px;
    padding: env(safe-area-inset-top) 12px 0;
  }
  .mw-nav {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mw-nav::-webkit-scrollbar { display: none; }
  .mw-nav button {
    flex: 0 0 auto;
    min-width: auto;
    padding: 0 9px;
    font-size: 11px;
  }
  .mw-nav button::after {
    right: 9px;
    left: 9px;
  }
  .mw-main {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mw-content {
    flex: 0 0 auto;
    order: 1;
    overflow: visible;
    border-right: 0;
  }
  .mw-globe {
    flex: 0 0 300px;
    order: 2;
    min-height: 300px;
    border-top: 1px solid var(--mw-rule);
  }
  .mw-globe-caption {
    top: 14px;
    left: 16px;
    max-width: 66%;
  }
  .mw-globe-caption strong {
    font-size: 23px;
  }
  .mw-opening {
    gap: 7px;
    padding: 16px 18px 13px;
  }
  .mw-opening h1 {
    font-size: 36px;
    line-height: .95;
  }
  .mw-opening > p:not(.mw-kicker) {
    font-size: 12px;
    line-height: 1.45;
  }
  .mw-opening-compact h1 {
    font-size: 33px;
  }
  .mw-amelia-read {
    margin: 12px 18px 0;
    padding: 0 0 12px 14px;
  }
  .mw-amelia-read strong {
    margin-bottom: 3px;
    font-size: 19px;
  }
  .mw-amelia-read p {
    font-size: 12px;
    line-height: 1.45;
  }
  .mw-section,
  .mw-plan {
    padding: 16px 18px;
  }
  .mw-section-head {
    align-items: start;
  }
  .mw-section-head > p {
    display: none;
  }
  .mw-candidate-section .mw-section-head > .mw-fit-disclosure {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.45;
  }
  .mw-section h2 {
    font-size: 29px;
  }
  .mw-updates .mw-section-head {
    margin-bottom: 11px;
  }
  .mw-updates .mw-digest article {
    grid-template-columns: 72px 1fr;
    padding: 9px 2px;
  }
  .mw-updates .mw-digest:not(.is-expanded) article:nth-child(n+2) {
    display: none;
  }
  .mw-row {
    grid-template-columns: 24px minmax(0, 1fr) minmax(118px, .8fr);
    gap: 9px;
    min-height: 71px;
  }
  .mw-ledger:not(.is-expanded) > .mw-row:nth-child(n+4) {
    display: none;
  }
  .mw-row strong {
    font-size: 19px;
  }
  .mw-row-read {
    font-size: 11.5px;
  }
  .mw-row-read b {
    font-size: 12px;
    line-height: 1.35;
  }
  .mw-mobile-more {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 0 7px;
    border: 0;
    border-bottom: 1px solid var(--mw-rule);
    background: transparent;
    color: var(--mw-violet-deep);
    cursor: pointer;
    text-align: left;
    font: 600 12px/1.2 var(--mw-sans);
  }
  .mw-form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .mw-pay {
    grid-template-columns: 1fr;
  }
  .mw-pay button {
    border-right: 0;
    border-bottom: 1px solid var(--mw-rule);
  }
  .mw-pay button:last-child {
    border-bottom: 0;
  }
  .mw-candidate {
    grid-template-columns: 1fr;
  }
  .mw-candidate .mw-data {
    text-align: left;
  }
  .mw-stat-line {
    grid-template-columns: 1fr;
  }
  .mw-stat,
  .mw-stat + .mw-stat {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--mw-rule);
  }
  .mw-stat:last-child {
    border-bottom: 0;
  }
  .mw-pilot-note {
    padding: 17px 18px calc(17px + env(safe-area-inset-bottom));
  }
  .mw-toast {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 14px;
    max-width: none;
  }
}
