/* Layout: page flow, panel arrangement and responsive geometry. */
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; }
main, .guide-header, .question-tabs, .guide-footer { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
main { padding-bottom: 48px; }
a, button, summary { touch-action: manipulation; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.guide-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 0; }
.guide-mark { display: inline-flex; align-items: center; gap: 13px; min-height: 48px; }
.mark-caption { display: block; margin-top: 5px; }
.mark-shape { position: relative; display: block; flex: 0 0 42px; width: 42px; height: 42px; }
.mark-shape span { position: absolute; width: 19px; height: 19px; right: -6px; bottom: -6px; }
.header-note { margin: 0; }
.question-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 28px; }
.question-tabs a { display: flex; justify-content: center; align-items: center; min-height: 60px; padding: 12px 16px; }
.skip-link { position: absolute; top: 10px; left: 16px; transform: translateY(-200%); z-index: 10; padding: 14px 20px; }
.skip-link:focus { transform: translateY(0); }
.search-opening { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.search-intro { padding: 44px 44px 40px; }
.search-opening h1 { margin: 20px 0 26px; }
.opening-note { max-width: 54ch; margin-bottom: 18px; }
.opening-lead { max-width: 52ch; }
.opening-link { display: inline-flex; gap: 25px; align-items: center; justify-content: space-between; min-height: 52px; margin-top: 12px; padding: 12px 20px; }
.search-picture { position: relative; min-height: 480px; overflow: hidden; }
.picture-dots { position: absolute; inset: 0 0 40% 0; }
.route-line { position: absolute; z-index: 1; }
.route-line-first { top: 118px; left: 86px; width: 45%; height: 151px; }
.route-line-second { top: 264px; left: 150px; width: 36%; height: 138px; }
.route-node { position: absolute; width: 96px; height: 96px; z-index: 2; }
.route-node-round { top: 63px; left: 40px; }
.route-node-square { top: 210px; right: 53px; transform: rotate(8deg); }
.route-node-ring { top: 347px; left: 99px; }
.picture-callout { position: absolute; right: 24px; top: 30px; padding: 17px 19px; z-index: 3; transform: rotate(4deg); }
.picture-corner { position: absolute; right: -38px; bottom: -38px; width: 144px; height: 144px; transform: rotate(45deg); }
.quick-answer { padding: 32px 38px; margin-block: 32px; }
.quick-answer p { max-width: 68ch; }
.quick-answer p:last-child { margin-bottom: 0; }
.medicine-answer { max-width: 1000px; margin-left: 36px; }
.section-intro { max-width: 75ch; margin-bottom: 24px; }
.search-routes { padding: 30px 0 20px; }
.route-panels { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; align-items: start; }
.search-route { position: relative; padding: 28px 25px 25px; }
.search-route h3 { margin-top: 19px; }
.board-route { margin-top: 25px; }
.direct-route { margin-top: 50px; }
.route-symbol { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 22px; }
.ask-prompt { margin-top: 23px; padding-top: 18px; }
.source-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding-block: 10px; width: fit-content; max-width: 100%; }
.source-link span { flex-shrink: 0; }
.location-answer { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 28px; margin-left: auto; max-width: 1080px; }
.answer-pointer { display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; }
.care-depth { max-width: 72ch; margin: 48px auto; }
.next-question { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 110px; padding: 24px 32px; margin-block: 40px; }
.next-question .section-label { display: block; margin-bottom: 10px; }
.next-title { display: block; }
.next-arrow { flex: 0 0 auto; }
.sources-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 30px 34px; align-items: center; }
.sources-intro p:last-child { margin-bottom: 0; }
.evidence-drawer { min-width: 0; }
.evidence-drawer summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 18px; cursor: pointer; list-style: none; }
.evidence-drawer summary::-webkit-details-marker { display: none; }
.drawer-symbol { flex-shrink: 0; }
.evidence-notes { padding: 24px 4px 4px; }
.source-note { margin-top: 26px; padding-top: 20px; }
.source-note:first-child { margin-top: 0; }
.source-note h3 { margin-top: 0; }
.source-note p:last-child { margin-bottom: 0; }
.evidence-sheet { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(580px, 100%); height: 100dvh; max-height: 100dvh; max-width: 100%; padding: 0; }
.evidence-sheet[open] { display: flex; flex-direction: column; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 28px; flex-shrink: 0; }
.sheet-header h2 { margin: 0; }
.sheet-close { flex-shrink: 0; min-height: 48px; min-width: 64px; padding: 10px 12px; }
.sheet-body { overflow-y: auto; padding: 4px 30px 36px; overscroll-behavior: contain; }
.evidence-open { overflow: hidden; }
.guide-footer { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 28px 0 40px; }
.guide-footer p { max-width: 70ch; margin: 0; }
.guide-footer a { flex-shrink: 0; display: flex; gap: 16px; align-items: center; min-height: 48px; padding: 12px 0; }
.question-opening { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); min-height: 332px; }
.question-opening > div:first-child { padding: 38px 42px; }
.question-opening h1 { margin: 20px 0 24px; }
.question-picture, .cost-picture, .check-picture { position: relative; overflow: hidden; min-height: 320px; }
.question-disc { position: absolute; display: flex; align-items: center; justify-content: center; width: 150px; height: 150px; top: 53px; left: 40px; z-index: 2; transform: rotate(-9deg); }
.question-tile { position: absolute; width: 140px; height: 140px; bottom: 24px; right: 25px; transform: rotate(12deg); z-index: 1; }
.question-dots { position: absolute; inset: 0; }
.conversation-answer { margin-right: 55px; }
.visit-depth { max-width: none; }
.visit-depth .section-intro { margin-inline: auto; }
.visit-question { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: 35px; padding: 28px 32px; margin-block: 24px; }
.visit-question h3 { margin-top: 0; max-width: 23ch; }
.visit-question p:first-child { margin-top: 0; }
.visit-question p:last-child { margin-bottom: 0; }
.visit-question p { max-width: 68ch; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; }
.trial-answer { margin-left: auto; max-width: 1040px; }
.cost-square { position: absolute; width: 142px; height: 142px; top: 40px; left: 52px; transform: rotate(-10deg); }
.cost-ring { position: absolute; width: 180px; height: 180px; top: 118px; right: 35px; }
.cost-stripe { position: absolute; height: 44px; width: 240px; bottom: 25px; left: -30px; transform: rotate(25deg); }
.price-answer { margin-right: 60px; }
.bill-parts { margin-block: 50px; }
.bill-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bill-part { padding: 26px; }
.bill-part h3 { margin-top: 0; }
.bill-part p { margin-bottom: 0; }
.bill-context { margin: 24px auto 0; max-width: 75ch; }
.insurance-answer { max-width: 1050px; margin-left: auto; }
.medicare-callout { padding: 22px 26px; margin-block: 24px; }
.medicare-callout p:first-child { margin-top: 0; }
.medicare-callout p:last-child { margin-bottom: 0; }
.check-frame { position: absolute; width: 200px; height: 200px; top: 54px; left: 50px; transform: rotate(-7deg); }
.check-dot { position: absolute; width: 104px; height: 104px; bottom: 27px; right: 32px; }
.check-bar { position: absolute; width: 224px; height: 42px; top: 123px; right: -35px; transform: rotate(-35deg); }
.product-answer { max-width: 1070px; margin-left: 32px; }
.label-answer { margin-left: auto; max-width: 1080px; }
.check-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-block: 24px; }
.care-check { padding: 20px 22px; }
.care-check h3 { margin-top: 0; }
.urgent-answer { max-width: 80ch; margin: 45px auto; padding: 28px 32px; }
.urgent-answer p:last-child { margin-bottom: 0; }
.missing-opening { padding: 48px; min-height: 530px; }
.missing-questions { max-width: 580px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.missing-questions a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 18px; }

@media (max-width: 1000px) {
  main, .guide-header, .question-tabs, .guide-footer { width: calc(100% - 40px); }
  .search-intro { padding: 32px; }
  .route-panels { gap: 14px; }
  .search-route { padding: 23px 20px; }
  .route-node-square { right: 25px; }
  .route-node-ring { left: 55px; }
  .route-line-first { width: 44%; }
  .route-line-second { left: 104px; width: 38%; }
  .picture-callout { right: 15px; top: 12px; }
  .sources-box { gap: 24px; }
  .question-opening { grid-template-columns: 1.8fr 1fr; }
  .question-opening > div:first-child { padding: 32px; }
  .question-disc { left: 20px; }
}
@media (max-width: 760px) {
  main, .guide-header, .question-tabs, .guide-footer { width: calc(100% - 32px); }
  main { padding-bottom: 32px; }
  .guide-header { padding: 19px 3px 22px; }
  .header-note { display: none; }
  .question-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
  .question-tabs a { min-height: 54px; padding: 11px 8px; }
  .search-opening, .question-opening { grid-template-columns: minmax(0, 1fr); }
  .search-intro, .question-opening > div:first-child { padding: 28px 24px; }
  .search-opening h1 { margin-top: 18px; }
  .search-picture { min-height: 245px; }
  .picture-dots { inset: 0 0 0 48%; }
  .route-node { width: 68px; height: 68px; }
  .route-node-round { top: 32px; left: 22px; }
  .route-node-square { top: 126px; right: 39%; }
  .route-node-ring { top: 135px; left: auto; right: 21px; }
  .route-line-first { top: 61px; left: 51px; height: 100px; width: 44%; }
  .route-line-second { top: 156px; left: 57%; height: 0; width: 30%; }
  .picture-callout { right: 17px; top: 23px; padding: 14px; }
  .picture-corner { width: 100px; height: 100px; right: 24px; bottom: 24px; }
  .quick-answer { padding: 26px 24px; margin: 26px 0; }
  .search-routes { padding: 22px 0 12px; }
  .route-panels, .bill-panels { grid-template-columns: 1fr; gap: 20px; }
  .search-route { padding: 26px 24px; }
  .board-route, .direct-route { margin-top: 0; }
  .route-symbol { margin-bottom: 18px; }
  .location-answer { grid-template-columns: 1fr; gap: 20px; }
  .answer-pointer { width: 54px; height: 54px; }
  .care-depth { margin-block: 35px; padding-inline: 8px; }
  .next-question { padding: 24px; margin-block: 30px; }
  .sources-box { grid-template-columns: 1fr; gap: 22px; padding: 26px 24px; }
  .guide-footer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 8px 30px; }
  .question-picture, .cost-picture, .check-picture { min-height: 170px; }
  .question-disc { width: 118px; height: 118px; top: 20px; left: 34px; }
  .question-tile { width: 110px; height: 110px; right: 33px; bottom: 21px; }
  .visit-question { grid-template-columns: 1fr; gap: 15px; padding: 25px 22px; }
  .visit-question h3 { max-width: none; }
  .visit-depth { padding-inline: 0; }
  .visit-depth .section-intro { padding-inline: 8px; }
  .cost-square { width: 100px; height: 100px; top: 21px; left: 35px; }
  .cost-ring { width: 126px; height: 126px; top: 24px; right: 38px; }
  .cost-stripe { height: 30px; bottom: 14px; left: 0; }
  .bill-parts { margin-block: 35px; }
  .bill-part { padding: 23px; }
  .bill-context { padding-inline: 8px; }
  .medicare-callout { padding: 20px; }
  .check-frame { width: 122px; height: 122px; top: 23px; left: 37px; }
  .check-dot { width: 88px; height: 88px; right: 45px; bottom: 21px; }
  .check-bar { width: 187px; top: 25px; height: 32px; right: 0; }
  .check-pair { grid-template-columns: 1fr; }
  .care-check { padding: 20px; }
  .urgent-answer { margin-block: 30px; padding: 25px 24px; }
  .sheet-header { padding: 22px 20px; }
  .sheet-body { padding-inline: 22px; }
  .missing-opening { padding: 28px 24px; }
  .missing-questions { grid-template-columns: 1fr; }
}
