.pilot-body { background: #f7f5f0; }
#macromargin-home .pilot-main { width: calc(100% - 40px); max-width: 1080px; margin: auto; padding: 40px 0 0; }
#macromargin-home .pilot-hero { padding: 44px 0 36px; }
#macromargin-home .pilot-hero h1 { font: 500 clamp(30px, 4.2vw, 52px)/1.4 "Songti SC", "STSong", "Noto Serif SC", serif; margin: 18px 0 12px; letter-spacing: .02em; text-wrap: balance; }
.pilot-lead { color: #777060; font-size: 17px; }
.pilot-current { border-left: 3px solid #bba16b; padding: 14px 24px; margin: 32px 0; background: #efe9dc80; }
.pilot-current p { font-size: 19px; line-height: 1.9; margin: 12px 0 0; }
.pilot-steps { display: flex; gap: 12px 28px; flex-wrap: wrap; }
.pilot-steps a, .pilot-link { color: #856c39; text-decoration: none; border-bottom: 1px solid #c4af8370; padding: 6px 0; }
.pilot-steps a:hover, .pilot-link:hover { color: #544123; border-color: #856c39; }
.pilot-section { padding: 42px 0; border-top: 1px solid #d9d1c2; scroll-margin-top: 90px; }
.pilot-section-head { margin-bottom: 24px; }
.pilot-section h2 { font: 500 clamp(24px, 3vw, 32px)/1.5 "Songti SC", "STSong", "Noto Serif SC", serif; margin: 10px 0; }
.pilot-section-head p, .pilot-meta { color: #7a7367; font-size: 13px; line-height: 1.8; }
.pilot-quote { background: #fffdf9; border: 1px solid #e1d8c9; padding: 26px 30px; }
.pilot-quote blockquote { margin: 18px 0 22px; font-size: 17px; line-height: 2; }
.pilot-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pilot-check { padding: 22px; border: 1px solid #ded5c5; background: #fffdf980; }
.pilot-check h3 { font-size: 17px; font-weight: 500; line-height: 1.6; margin: 18px 0 10px; }
.pilot-check p { font-size: 14px; line-height: 1.8; color: #696257; }
.pilot-status { display: inline-block; padding: 4px 9px; background: #ece5d5; color: #715c31; font-size: 12px; }
.pilot-observation { border-top: 1px solid #ded5c5; padding-top: 14px; }
.pilot-review { max-width: 810px; font-size: 17px; line-height: 2; }
.pilot-review + .pilot-review { border-top: 1px solid #d9d1c2; padding-top: 20px; margin-top: 20px; }
.research-check-review { border-left: 2px solid var(--border); padding: 4px 16px; margin: 12px 0 20px; }
#brief-snapshot-card, #research-notes-card, #research-tracking-card, .research-track-entry, [data-checkpoint-index] { scroll-margin-top: 110px; }
.pilot-footer { display: flex; justify-content: space-between; gap: 18px; padding: 28px 0; border-top: 1px solid #d9d1c2; font-size: 12px; color: #777064; }
.pilot-footer a { color: inherit; }
.housing-range { display: flex; gap: 8px; margin: 16px 0; }
.housing-range button, #macromargin-home .housing-range button { border: 1px solid var(--border); color: var(--muted); background: transparent; padding: 6px 12px; border-radius: 3px; cursor: pointer; }
.housing-range button[aria-pressed="true"], #macromargin-home .housing-range button[aria-pressed="true"] { background: #a88b5020; border-color: #a88b50; color: #856c39; }
.housing-count { font-size: clamp(22px, 4vw, 28px); color: var(--text); font-variant-numeric: tabular-nums; margin: 16px 0 4px; }
.housing-count small { font-size: 13px; color: var(--muted); }
.housing-breadth { scroll-margin-top: 100px; }
.housing-breadth details { margin: 18px 0; }
.housing-breadth summary { cursor: pointer; color: var(--muted); }
.housing-breadth .table-host { max-height: 350px; overflow: auto; }
.housing-breadth .chart-host { overflow: hidden; }
.housing-select { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 12px; color: var(--muted); font-size: 13px; }
.housing-select label { display: flex; align-items: center; gap: 10px; }
.housing-select select, #macromargin-home .housing-select select { border: 1px solid var(--border); background: var(--raised); color: var(--text); padding: 7px 9px; min-height: 36px; }
.housing-select button, .housing-breadth td button, .housing-city-details th button, #macromargin-home .housing-select button, #macromargin-home .housing-breadth td button { border: 0; background: transparent; color: inherit; cursor: pointer; padding: 7px 2px; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.housing-links { display: flex; flex-wrap: wrap; gap: 16px; padding: 18px 0; }
.housing-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.housing-links [hidden] { display: none; }
.housing-selected { background: #bba16b20; }
.housing-city-details { scroll-margin-top: 95px; }
.housing-city-details:focus, .housing-breadth:focus { outline: 1px solid #bba16b; outline-offset: 2px; }
#macromargin-home .pilot-tracking { border: 1px solid var(--mm-line); padding: 15px 20px; margin: 0 0 26px; font-size: 13px; }
#macromargin-home .pilot-tracking strong { color: var(--mm-gold); font-weight: 500; }
#macromargin-home .pilot-tracking p { margin-top: 6px; color: var(--mm-muted); }
@media (max-width: 720px) {
  #macromargin-home .pilot-main { padding-top: 8px; }
  #macromargin-home .pilot-hero { padding: 24px 0; }
  .pilot-checks { grid-template-columns: 1fr; }
  .pilot-section { padding: 30px 0; }
  .pilot-quote { padding: 20px; }
  .pilot-current { padding: 12px 16px; }
  .pilot-current p, .pilot-quote blockquote { font-size: 16px; }
  .pilot-footer { flex-direction: column; }
}
