:root {
  color-scheme:light;
  --ink:#1a3036;
  --muted:#52656a;
  --surface:#fff;
  --canvas:#f2f6f5;
  --line:#d6e1df;
  --accent:#15635d;
  --accent-dark:#104842;
  --mint:#e9f4ef;
  --hero:#102b31;
  --gold:#ffda6b;
  --radius:18px;
  --shadow:0 2px 3px #163e3508,0 10px 26px #1b473b08;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {min-height:100vh;margin:0;background:var(--canvas);color:var(--ink);font:400 1rem/1.52 Inter,"Segoe UI",system-ui,sans-serif}
h1,h2,h3,h4,p,figure {margin:0}
h1,h2,h3,h4 {line-height:1.17;letter-spacing:-.028em}
p+ p {margin-top:.65rem}
a {color:var(--accent-dark);text-underline-offset:.18em}
button,input,select {font:inherit}
button,summary {cursor:pointer}
button:disabled {cursor:not-allowed}
:focus-visible {outline:3px solid #128379;outline-offset:4px}
[hidden] {display:none!important}
svg {width:1.25rem;height:1.25rem;flex:none}
.shell {width:min(calc(100% - 80px),1280px);margin:auto}
.sr-only,.skip:not(:focus) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus {position:fixed;z-index:10;top:12px;left:12px;background:white;padding:10px}
.top {background:white;border-bottom:1px solid var(--line);position:relative;z-index:1}
.top::before {display:block;height:4px;background:linear-gradient(90deg,#f4c748 0 50%,#296093 50% 75%,#b9424a 75%);content:""}
.header-row {display:flex;min-height:80px;justify-content:space-between;align-items:center;gap:30px}
.brands {display:flex;align-items:center;gap:20px;flex:none}
.migration-mark {width:170px;height:auto;display:block}
.red-mark {width:81px;height:auto;display:block}
.brand-divider {height:34px;border-left:1px solid #d9e3e2}
nav {display:flex;align-items:center;gap:8px}
nav a {font-size:.93rem;font-weight:690;text-decoration:none;white-space:nowrap;padding:10px 14px;border-radius:9px;color:#375157}
nav a:hover,nav a[aria-current] {background:var(--mint);color:var(--accent-dark)}
main {min-height:calc(100vh - 185px)}
.hero {position:relative;isolation:isolate;display:grid;grid-template-columns:1fr .75fr;align-items:center;min-height:366px;margin-top:30px;overflow:hidden;color:white;border-radius:24px;background:
  radial-gradient(ellipse at 91% 74%,#2c6260 0,transparent 59%),
  linear-gradient(110deg,#102b31 20%,#15373a 82%);
  box-shadow:0 10px 28px #18393722}
.hero::after {content:"";z-index:-1;position:absolute;right:-75px;top:-205px;border-radius:50%;height:680px;width:680px;border:1px solid #d3eee26b;box-shadow:0 0 0 31px #c0f8d014,0 0 0 63px #d3eee211,0 0 0 99px #d3eee217;opacity:.58;pointer-events:none}
.hero-copy {padding:45px 0 46px clamp(28px,5vw,66px);position:relative;z-index:1}
.eyebrow,.overline {display:flex;align-items:center;gap:.55rem;color:var(--accent);font-size:.85rem;font-weight:760;letter-spacing:.09em;text-transform:uppercase}
.eyebrow {color:#d3eee7}
.eyebrow span {width:16px;border-top:1px solid #82ac9e}
.hero h1 {margin-top:16px;font-size:clamp(3.1rem,6vw,5.35rem);letter-spacing:-.067em;line-height:.99}
.hero-copy p {margin-top:17px;max-width:28em;color:#e5f2ef;font-size:clamp(1.02rem,1.55vw,1.28rem);line-height:1.45}
.hero-actions,.heading-actions {display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:26px}
.hero-photo {position:relative;height:100%;min-height:355px;background:linear-gradient(119deg,transparent 12%,#a8d1b619 82%)}
.hero-photo img {position:absolute;right:clamp(12px,5vw,78px);top:0;height:100%;width:calc(100% - 15px);object-fit:contain;object-position:center;filter:contrast(.97) saturate(.9) drop-shadow(0 14px 27px #081d2190)}
.hero-photo figcaption {position:absolute;bottom:10px;right:16px;margin:0;font-size:.77rem}
.hero-photo figcaption a {color:#fff;background:#163a3be8;border-radius:4px;padding:4px 7px;text-decoration:none}
.hero-photo figcaption a:hover {text-decoration:underline}
.button {display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:45px;border-radius:9px;padding:10px 17px;text-decoration:none;font-weight:700;font-size:.94rem;line-height:1.3;border:1px solid transparent}
.primary {background:var(--accent);color:#fff}
.primary:hover {background:var(--accent-dark)}
.primary:disabled {background:#e2ebe8;color:#576e68}
.outline {color:var(--accent-dark);border-color:#b8cfca;background:#fff}
.outline:hover {background:#eaf5f1;border-color:var(--accent)}
.yellow {background:var(--gold);color:#253526}
.yellow:hover {background:#ffe595}
.hero-secondary {border-color:#93b5b2;background:#ffffff0c;color:white}
.hero-secondary:hover {background:#ffffff1e}
.workspace {margin:34px 0 54px}
.inner-page {margin-top:43px}
.section-heading {margin-bottom:20px}
.section-heading h1,.section-heading h2 {margin:5px 0 7px;font-size:clamp(1.75rem,3.25vw,2.45rem)}
.section-heading h1 {font-size:clamp(2.25rem,4.5vw,3.45rem)}
.section-heading p,.question-head p {color:var(--muted);max-width:65ch}
.section-heading .overline svg {width:1.06rem;height:1.06rem}
.section-heading.split {display:flex;justify-content:space-between;align-items:end;gap:16px}
.steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;list-style:none;padding:0;margin:0 0 17px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;color:#50636a}
.steps li {border-right:1px solid var(--line)}
.steps li:last-child {border-right:0}
.steps button,.step-label {display:flex;align-items:center;gap:10px;padding:12px 15px;width:100%;min-height:57px;font-weight:650;font-size:.92rem;text-align:left}
.steps button {background:transparent;border:0;color:var(--accent-dark)}
.steps button:hover {background:var(--mint)}
.steps button:focus-visible {outline-offset:-4px}
.step-number {display:grid;place-items:center;width:29px;height:29px;flex:none;border-radius:50%;background:#e9efed;color:#415a5d;font-weight:710}
.step-number svg {width:17px;height:17px}
.steps li.current {background:var(--mint);color:var(--accent-dark)}
.steps li.current .step-number {background:var(--accent);color:white}
.steps li.done .step-number {background:#daede5;color:var(--accent)}
.work-grid,.result-grid {display:grid;grid-template-columns:minmax(0,2.35fr) minmax(0,1fr);gap:18px;align-items:start}
.panel {border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow)}
.question {padding:clamp(17px,2.6vw,31px)}
.question-head {margin-bottom:18px}
.question-head h3 {font-size:1.55rem;margin-bottom:6px}
.choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.choice {display:flex;align-items:center;min-height:72px;gap:.2rem;border:1px solid var(--line);border-radius:12px;background:#fbfdfc;min-width:0}
.choice:hover {border-color:#92b8b0}
.choice.selected {border-color:var(--accent);background:var(--mint)}
.choice-label {height:100%;min-width:0;width:100%;display:flex;align-items:center;gap:.64rem;padding:11px 0 11px 11px;cursor:pointer}
.choice-label:only-child {padding-right:11px}
.choice input,.need-chip input {width:1.08rem;height:1.08rem;margin:0;flex:none;accent-color:var(--accent)}
.choice-text {min-width:0;line-height:1.3;overflow-wrap:anywhere}
.choice-text strong {font-size:.94rem;font-weight:720}
.choice-text span {display:block;color:var(--muted);font-size:.9rem;margin-top:4px;line-height:1.4}
.tile-icon {display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:10px;background:#e9f3ef;color:var(--accent-dark)}
.tile-icon svg {width:21px;height:21px}
.choice-info {display:grid;place-items:center;background:var(--mint);border:1px solid #caded6;color:var(--accent-dark);flex:none;width:44px;height:44px;margin-right:7px;border-radius:8px}
.choice-info:hover {background:#dcefe7}
.choice-info svg {width:26px;height:26px}
.panel-actions {display:flex;justify-content:space-between;align-items:center;gap:9px;margin-top:21px;padding-top:17px;border-top:1px solid var(--line)}
.soft {color:var(--muted);font-size:.92rem}
.aside {display:grid;gap:15px}
.side-panel {padding:20px}
.side-panel h3,.side-panel h2 {font-size:1.13rem;margin-bottom:10px}
.summary-list {margin:0}
.summary-list div+div {border-top:1px solid var(--line);padding-top:10px;margin-top:10px}
dt {font-size:.87rem;font-weight:660;color:var(--muted);margin-bottom:4px}
dd {margin:0;font-weight:650}
.pill {display:inline-block;font-size:.83rem;font-weight:650;border-radius:6px;background:var(--mint);color:var(--accent-dark);padding:3px 8px;margin:0 4px 4px 0}
.example-panel,.after-panel {background:#edf6f1}
.example-panel .tile-icon,.after-panel .tile-icon {background:#dcece4;margin-bottom:12px}
.example-panel p,.after-panel p {font-size:.94rem;color:var(--muted);margin-bottom:14px}
.filter-panel {overflow:hidden;margin-bottom:18px}
.filters {display:flex;flex-wrap:wrap;gap:11px;padding:18px 19px 1px}
.filters label {flex:1;min-width:175px;font-weight:680;font-size:.91rem}
.filters input,.filters select {width:100%;display:block;background:#fff;border:1px solid #adc3bf;border-radius:8px;padding:10px 11px;margin-top:5px;min-height:44px;color:var(--ink)}
.filters select {appearance:none;padding-right:32px;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%23144842' stroke-width='2'/%3E%3C/svg%3E") right 12px center no-repeat}
.count {padding:9px 19px 12px;font-size:.88rem;color:var(--muted)}
.table-scroll {overflow:auto;max-height:75vh;border-top:1px solid var(--line);scrollbar-color:#9ebcb5 #ecf3f1}
.table-scroll:focus-visible {outline-offset:-3px}
table {border-collapse:separate;border-spacing:0;width:100%;font-size:.9rem}
th,td {padding:9px 7px;border-bottom:1px solid #dce8e5;border-right:1px solid #dce8e5;text-align:center}
thead tr:first-child th {background:#1c4148;color:white;min-width:171px;line-height:1.3;font-size:.88rem}
thead tr:nth-child(2) th {background:#deeeea;color:#233e42;min-width:79px}
thead tr:first-child th:first-child,tbody th {min-width:225px;width:225px;text-align:left;position:sticky;left:0;padding-left:14px;z-index:1}
tbody th {background:#e9f2ef;font-weight:650}
tbody tr:nth-child(even) td {background:#f4f8f7}
.code-link {display:inline-flex;min-height:32px;align-items:center;border-radius:5px;padding:2px 4px;white-space:nowrap;font:700 .83rem/1.2 Consolas,monospace;text-decoration:underline}
.code-link:hover {background:#d7ece4}
.source-line {font-size:.88rem;color:var(--muted);line-height:1.45;margin-top:12px}
.empty {padding:22px;color:var(--muted)}
.directory-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.entity {display:flex;flex-direction:column;align-items:start;padding:19px;gap:9px}
.entity h2 {font-size:1.13rem;overflow-wrap:anywhere}
.entity p:not(.entity-group) {color:var(--muted);font-size:.94rem}
.entity-group {color:var(--accent-dark);font-weight:700;font-size:.81rem;margin-bottom:3px}
.entity .button {margin-top:auto;min-height:40px}
.heading-actions {margin:0;justify-content:flex-end}
.inline-link,.link-button {font-weight:690}
.link-button,.text-button {color:var(--accent-dark);background:transparent;border:0;padding:0;text-decoration:underline;text-underline-offset:.15em}
.result-main {min-width:0;display:grid;gap:24px}
.profile-panel,.needs-panel {padding:17px 20px}
.profile-panel h2 {font-size:1.26rem;margin-bottom:11px}
.profile-panel p {font-size:.94rem;color:var(--muted)}
.result-fields {display:grid;grid-template-columns:1.75fr 1fr;gap:11px;margin:0 0 10px}
.profile-pops {display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}
.profile-pops div {display:flex;align-items:center;gap:7px;padding:6px 9px;background:#edf5f2;border-radius:8px;font-size:.91rem}
.code-tag {padding:3px 6px;border:1px solid #b9d7cd;border-radius:5px;background:#fff;color:var(--accent-dark);white-space:nowrap;font:700 .82rem/1.2 Consolas,monospace}
.demo-note {margin:0 0 10px}
.portfolio .section-heading {margin-bottom:12px}
.portfolio .section-heading h2 {font-size:1.77rem;scroll-margin-top:14px}
.needs-grid {display:flex;flex-wrap:wrap;gap:6px}
.need-chip {display:flex;align-items:center;gap:7px;font-weight:640;font-size:.89rem;padding:6px 9px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.need-chip:has(input:checked) {border-color:var(--accent);background:#eaf5f0}
.more-needs {margin-top:9px;border-top:1px solid var(--line);padding-top:8px}
.more-needs summary,.route-detail summary,.care-detail summary {font-weight:680;color:var(--accent-dark)}
.more-needs .needs-grid {margin-top:8px}
.portfolio-caption {display:flex;align-items:center;gap:8px;font-size:.9rem;margin:14px 1px 8px;color:var(--muted)}
.portfolio-caption strong {color:var(--ink)}
.route-card {padding:16px 19px;margin-bottom:10px}
.route-head {display:flex;align-items:flex-start;gap:10px}
.route-head h3 {font-size:1.19rem;margin:2px 0 4px}
.route-head p,.route-action p,.contact-box p,.population-copy p {color:var(--muted);font-size:.94rem}
.contact-box {display:grid;gap:2px;background:#ebf5f0;border-left:3px solid var(--accent);border-radius:0 8px 8px 0;padding:9px 12px;margin:11px 0;color:var(--ink)}
.contact-box>span {font-size:.84rem;font-weight:690;color:#41645d}
.route-action h4,.route-detail h4,.population-copy h3 {font-size:.94rem;letter-spacing:0;margin-bottom:5px}
.route-detail {border-top:1px solid var(--line);margin-top:10px;padding-top:8px}
.route-detail blockquote {margin:8px 0;padding:7px 10px;border-left:3px solid #a3c8b9;background:#f5faf7;font-size:.93rem}
.related-entities {display:flex;flex-wrap:wrap;gap:6px 12px}
.text-button {text-align:left;font-size:.9rem}
.care-panel .compact {margin-bottom:9px}
.care-detail {border-top:1px solid var(--line);padding:10px 0}
.population-copy {margin-top:6px}
.population-copy h3 {margin-top:9px}
dialog {max-width:min(548px,calc(100% - 28px));max-height:85vh;border:1px solid var(--line);border-radius:18px;padding:0;background:white;color:var(--ink);box-shadow:0 20px 80px #061f2477}
dialog::backdrop {background:#122c36a1}
.dialog-inner {position:relative;padding:25px}
.dialog-inner h2 {padding-right:40px;margin:0 0 11px;font-size:1.6rem}
.dialog-inner p+.button {margin-top:14px}
.close {position:absolute;right:15px;top:15px;min-height:36px;width:36px;border:0;border-radius:8px;background:var(--mint);color:var(--accent-dark);font-size:1.45rem;line-height:1}
.sources-list {padding-left:21px}
.sources-list li+li {margin-top:9px}
footer {background:#e8f0ed;border-top:1px solid var(--line);padding:20px 0;color:var(--muted)}
.footer-row {display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:.86rem}
.footer-row strong {font-size:.99rem;color:var(--ink)}
.footer-row p {margin:0}
@media (max-width:970px) {
  .shell {width:min(calc(100% - 42px),1280px)}
  .hero {grid-template-columns:1fr .72fr}
  .hero-photo img {right:8px}
  .work-grid,.result-grid {grid-template-columns:minmax(0,1.85fr) minmax(0,1fr)}
  .choice-label .tile-icon {display:none}
  .directory-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px) {
  .shell {width:calc(100% - 28px)}
  .header-row {align-items:flex-start;flex-direction:column;gap:6px;padding:10px 0 7px}
  .migration-mark {width:145px}
  .red-mark {width:66px}
  .brands {gap:12px}
  nav {width:100%;gap:2px;justify-content:space-between}
  nav a {text-align:center;padding:8px 7px;flex:1}
  .hero {margin-top:14px;grid-template-columns:1fr}
  .hero-copy {padding:26px 22px 8px}
  .hero h1 {font-size:clamp(2.75rem,11.5vw,4.2rem)}
  .hero-actions {margin-top:15px}
  .hero-photo {min-height:219px}
  .hero-photo img {right:0;top:4px;width:100%;height:calc(100% - 9px)}
  .hero::after {right:-230px;top:70px}
  .work-grid,.result-grid {grid-template-columns:1fr}
  .steps button,.step-label {min-height:51px;padding:6px 4px;gap:4px;font-size:.78rem;flex-wrap:wrap;justify-content:center;text-align:center}
  .step-number {height:24px;width:24px}
  .steps li:nth-child(2) {min-width:0}
  .steps button span:last-child,.step-label span:last-child {min-width:100%}
  .section-heading.split {align-items:start;flex-direction:column}
  .heading-actions {justify-content:flex-start}
  .workspace,.inner-page {margin-top:25px;margin-bottom:32px}
  .question {padding:14px}
  .question-head h3 {font-size:1.34rem}
  .footer-row {flex-wrap:wrap}
  .aside {grid-template-columns:minmax(0,1fr)}
}
@media (max-width:480px) {
  .choices,.directory-grid {grid-template-columns:1fr}
  .choice {min-height:53px}
  .choice-label .tile-icon {display:grid;width:31px;height:31px}
  .choice-label .tile-icon svg {width:17px;height:17px}
  .hero-actions {gap:7px}
  .hero-actions .button {font-size:.85rem;padding:7px 9px;min-height:38px}
  .result-fields {grid-template-columns:1fr;gap:6px}
  .profile-panel,.needs-panel,.side-panel,.route-card {padding:13px}
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
}

.rra-guide {overflow:hidden;margin-bottom:18px}
.rra-guide dl {display:grid;grid-template-columns:minmax(12rem,30%) 1fr;margin:0}
.rra-guide dt,.rra-guide dd {margin:0;padding:1rem;border-bottom:1px solid var(--line)}
.rra-guide dt {background:var(--mint);font-weight:700}
.rra-guide dt:last-of-type,.rra-guide dd:last-of-type {border-bottom:0}
@media (max-width:720px) {
  nav {flex-wrap:wrap}
  .rra-guide dl {grid-template-columns:1fr}
}

.rra-video {
  display:block;
  width:100%;
  max-width:760px;
  height:auto;
  aspect-ratio:16 / 9;
  margin:0 0 24px;
  border-radius:var(--radius);
  background:var(--hero);
}

.regional-entry {grid-template-columns:minmax(245px,.62fr) minmax(0,1.38fr);grid-template-rows:auto 1fr;gap:0;margin-bottom:30px;align-items:stretch}
.regional-entry .hero-copy {padding:30px 24px 10px;grid-area:1 / 1}
.regional-entry h1 {font-size:clamp(2rem,4.2vw,4rem)}
.regional-entry h2 {font-size:1.4rem;margin-top:1.2rem}
.regional-entry .regional-hint {margin-top:.5rem;font-size:1rem}
.regional-entry .regional-photo {grid-area:2 / 1;min-height:140px}
.regional-entry .regional-photo img {width:100%;right:0}
.regional-entry .map-area {grid-area:1 / 2 / 3 / 3;padding:10px;background:#f1f6f3;align-self:stretch;display:grid;align-items:center}
.regional-entry .regional-map-svg {max-height:72vh}
.active-region a {font-weight:600}
@media(max-width:720px){
 .regional-entry {display:flex;flex-direction:column}
 .regional-entry .hero-copy {padding:17px 18px}
 .regional-entry .hero-copy>p:first-of-type,.regional-entry .regional-photo {display:none}
 .regional-entry h2 {margin-top:.65rem}
 .regional-entry .map-area {width:100%;padding:0}
}
