.principal-directory {
    margin-block: clamp(38px, 6vw, 72px);
}
.principal-directory h2 {
    margin: 0 0 22px;
    font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}
.principal-directory-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.principal-directory-links > li {
    display: flex;
    min-width: 0;
    margin: 0;
}
.principal-directory-links a {
    display: grid;
    flex: 1 1 auto;
    grid-template-rows: 48px auto;
    align-content: start;
    gap: 10px;
    min-width: 0;
    min-height: 108px;
    padding: 16px 10px;
    box-sizing: border-box;
    border: 1px solid #cbd9d8;
    border-radius: 10px;
    color: #20333c;
    background: #fff;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.principal-directory-links a:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid #15594c;
    outline-offset: -3px;
}
@media (hover: hover) {
    .principal-directory-links a:hover { border-color: #398171; background: #f7faf9; }
    .principal-directory-links a:hover .principal-lines { text-decoration: underline; }
}
.principal-directory-links .principal-mark {
    display: grid;
    place-items: center;
    min-width: 0;
}
.principal-directory-links img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(154px, 100%);
    max-height: 44px;
    object-fit: contain;
}
.principal-directory-links .principal-name {
    font-size: 1.14rem;
    font-weight: 650;
}
.principal-directory-links .principal-lines {
    color: #304b52;
    font-size: .875rem;
    line-height: 1.4;
}
@media (max-width: 760px) {
    .principal-directory-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .principal-directory-links a { padding: 12px 9px; grid-template-rows: 42px auto; gap: 8px; }
    .principal-directory-links img { max-height: 38px; }
}

/* The checked native radio controls its adjacent result without JavaScript. */
.ae-route-home .hero-grid { padding-block: clamp(24px, 3.3vw, 46px); }
.ae-route-home .hero-copy .actions { flex-flow: row wrap; gap: 4px 24px; }
.ae-route-home .instrument-photo picture { display: contents; }
.ae-route-home .instrument-photo img { flex-shrink: 0; min-width: 0; max-width: 100%; }
.r8-finder { padding-block: clamp(26px, 4.5vw, 64px) 14px; }
.r8-finder-head {
    display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap;
    gap: 2px 18px; margin-bottom: 16px;
}
.r8-finder-head h2 { font-size: clamp(1.65rem, 3.1vw, 2.6rem); line-height: 1.14; }
.r8-finder-head p { margin-top: .35em; }
.r8-choice-grid {
    display: grid; position: relative; align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, .85fr)) minmax(0, 1.65fr);
    gap: 8px; margin: 0; padding: 0; border: 0; min-inline-size: 0;
}
.r8-choice {
    position: absolute; width: 1px; height: 1px; margin: 0; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.r8-choice-label {
    display: flex; align-items: center; min-width: 0; gap: 10px; cursor: pointer;
    min-height: 54px; padding: 8px clamp(8px, 1vw, 15px);
    font-size: 1rem; line-height: 1.22; font-weight: 650; color: #253f41;
    border: 1px solid #c5d5d3; border-radius: .55rem; background: #fff;
    overflow-wrap: anywhere; touch-action: manipulation;
}
.r8-choice-label .need-icon {
    display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px;
    margin: 0; border: 0; border-radius: 7px; background: var(--cue-soft); color: var(--cue);
}
.r8-choice-label .need-icon svg { width: 24px; height: 24px; }
.r8-choice-label:hover { border-color: var(--cue); background: var(--cue-soft); }
.r8-choice:checked + .r8-choice-label { color: #fff; border-color: var(--cue); background: var(--cue); }
.r8-choice:checked + .r8-choice-label::after {
    content: ''; width: .42em; height: .74em; flex: 0 0 .42em; margin: 0 4px 4px auto;
    border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(40deg);
}
.r8-choice:focus-visible + .r8-choice-label { outline: 3px solid #192a38; outline-offset: 2px; }
.r8-result {
    display: none; grid-column: 3; grid-row: 1 / span 4; min-width: 0;
    padding: clamp(15px, 2.2vw, 30px); margin: 0 0 0 8px;
    border: 1px solid var(--cue-line); border-top: 4px solid var(--cue);
    border-radius: .85rem; background: var(--cue-soft); overflow-wrap: anywhere;
}
.r8-choice:checked + .r8-choice-label + .r8-result { display: flex; flex-direction: column; justify-content: center; }
.r8-finder-model { display: flex; align-items: center; gap: clamp(10px, 1.1vw, 17px); min-width: 0; }
.r8-finder-model > div { min-width: 0; }
.r8-finder-model img {
    display: block; width: clamp(64px, 6vw, 98px); height: clamp(58px, 5vw, 80px);
    flex: 0 0 auto; padding: 5px; object-fit: contain; background: white; border-radius: .5rem;
}
.r8-model-label { display: block; margin-bottom: 2px; font-size: .88rem; font-weight: 600; color: var(--cue); }
.r8-finder-model h3 { line-height: 1.2; font-size: clamp(1.13rem,1.6vw,1.5rem); }
.r8-finder-model h3 a, .r8-result-links a { text-decoration: underline; text-underline-offset: .17em; }
.r8-finder-model h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.r8-result > p { margin: 10px 0 2px; font-size: 1rem; line-height: 1.45; color: #324451; }
.r8-result-links, .r8-service-links { display: flex; align-items: stretch; flex-wrap: wrap; }
.r8-result-links { gap: 0 18px; }
.r8-result-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--cue); font-size: .95rem; }
.r8-guide-link { font-weight: 700; }
.r8-service-links { gap: 0 30px; padding-block: 8px 25px; border-top: 1px solid #d5dfdf; }
.r8-service-links a { display: flex; align-items: center; gap: 10px; padding: .6em 0; min-height: 44px; font-weight: 600; }
.r8-service-links .need-icon { flex: 0 0 28px; width: 28px; height: 28px; margin: 0; color: #2c5654; background: transparent; }
.r8-service-links .need-icon svg { width: 22px; height: 22px; }
@media (max-width: 850px) {
    .ae-route-home .hero-grid { grid-template-columns: minmax(0,1fr); }
    .ae-route-home .hero-visual { display: none; }
}
@media (max-width: 760px) {
    .r8-choice-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .r8-result { grid-column: 1 / -1; grid-row: 3; margin: 0; }
}
@media (max-width: 620px) {
    .r8-choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
    .r8-result { grid-row: 5; padding: 14px; }
    .r8-choice-label { min-height: 46px; font-size: .96rem; gap: 6px; }
    .r8-choice-label .need-icon { width: 23px; height: 26px; flex-basis: 23px; }
    .r8-choice-label .need-icon svg { width: 20px; height: 20px; }
    .ae-route-home .hero h1 { font-size: clamp(30px,7.2vw,40px); }
    .ae-route-home .hero .lead { margin-top: 10px; line-height: 1.45; }
    .ae-route-home .hero-search { margin-top: 14px; }
    .ae-route-home .hero-search > div { display: flex; flex-flow: row nowrap; gap: 6px; }
    .ae-route-home .hero-search input { width: auto; flex: 1 1 0; min-width: 0; }
    .ae-route-home .hero-search .button { width: auto; flex: 0 0 auto; min-height: 44px; padding: 8px 14px; }
    .ae-route-home .hero-copy .actions { margin-top: 4px; gap: 0 16px; }
    .ae-route-home .hero-copy .actions a { font-size: .93rem; }
    .r8-finder-head { margin-bottom: 10px; }
    .r8-finder-head > a { font-size: .93rem; min-height: 44px; }
    .r8-service-links { display: grid; }
}
@media (forced-colors: active) {
    .r8-choice:checked + .r8-choice-label { border: 2px solid Highlight; }
}

.r9-hero { background: #f6f5ef; border-bottom: 1px solid #dbded2; }
.r9-panorama { display: block; width: 100%; max-width: 1600px; margin: 0 auto; background: #dce3d4; }
.r9-panorama img {
    display: block; width: 100%; height: clamp(196px, 28vw, 396px);
    object-fit: cover; object-position: 50% 24%;
}
.r9-hero-intro {
    display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr);
    align-items: center; gap: clamp(25px,6.5vw,92px); padding-block: clamp(22px,3vw,42px);
}
.r9-hero-intro > *, .r9-search > div > *, .r9-recommendations { min-width: 0; }
.r9-hero-message h1 { margin: 0; font-size: clamp(2.05rem,3.5vw,3.45rem); line-height: 1.06; letter-spacing: -.045em; color: #173a37; }
.r9-hero-message p { margin: .65rem 0 0; max-width: 62ch; font-size: clamp(1rem,1.2vw,1.14rem); line-height: 1.48; color: #394943; }
.r9-search { margin: 0; }
.r9-search label { display: block; margin: 0 0 .35rem; font-size: .95rem; font-weight: 650; color: #273d36; }
.r9-search > div {
    display: flex; flex-wrap: nowrap; gap: 5px; align-items: stretch;
    padding: 4px; border: 1px solid #8b9b90; border-radius: 7px; background: #fff;
}
.r9-search input { min-width: 0; flex: 1 1 0; width: 0; height: auto; padding: .45rem .65rem; border: 0; font-size: 1rem; background: white; color: #233a35; }
.r9-search button {
    flex: 0 0 auto; min-width: 50px; min-height: 44px; padding: .4rem .95rem;
    color: #fff; background: #195b4e; border: 0; border-radius: 4px; font-size: .95rem; font-weight: 650;
}
.r9-search button:hover { background: #11483e; }
.r9-find-link {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
    color: #235447; font-size: .95rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em;
}
.r9-recommendations { padding-block: clamp(18px,2.4vw,32px) 0; }
.r9-picks-head, .r9-picks-actions, .r9-scroll-controls { display: flex; align-items: center; }
.r9-picks-head { justify-content: space-between; flex-wrap: wrap; gap: 0 14px; margin-bottom: 6px; }
.r9-picks-head h2 { font-size: clamp(1.28rem,2.15vw,1.9rem); line-height: 1.25; margin: 0; }
.r9-picks-actions { gap: 4px 12px; }
.r9-picks-head .text-link { font-size: .93rem; }
.r9-scroll-controls { gap: 4px; }
.r9-scroll-controls button {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid #b6c8c2; border-radius: 50%; background: #fff; color: #174e42;
    font-size: 1.28rem; font-weight: 650; line-height: 1;
}
.r9-scroll-controls button:hover:enabled { background: #e6f2ed; }
.r9-scroll-controls button:disabled { opacity: .42; }
.r9-picks {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px;
    margin: 0; padding: 4px 4px 10px; list-style: none; border: 0;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 4px;
}
.r9-picks:focus-visible, .r9-picks a:focus-visible { outline: 2px solid #24584c; outline-offset: 1px; }
.r9-picks li { display: flex; min-width: 0; margin: 0; scroll-snap-align: start; }
.r9-picks a {
    display: flex; align-items: center; min-width: 0; width: 100%; gap: clamp(8px,1vw,16px);
    padding: 10px; color: #1f3430; background: #fff; border: 1px solid #cdd8d3; border-radius: .6rem;
}
.r9-picks a:hover, .r9-picks a:focus-visible { background: #f5f8f6; border-color: #718c80; }
.r9-picks img {
    flex: 0 0 auto; display: block; width: clamp(54px,5vw,84px); height: clamp(54px,5vw,84px);
    padding: 3px; object-fit: contain; background: #fff; border-radius: .3rem;
}
.r9-picks a > span { display: block; min-width: 0; overflow-wrap: anywhere; }
.r9-picks strong, .r9-picks small { display: block; line-height: 1.25; }
.r9-picks strong { font-size: clamp(.98rem,1.15vw,1.13rem); }
.r9-picks small { margin-top: .26rem; font-size: .87rem; color: #465b52; }
.r9-recommendations + .r8-finder { padding-top: clamp(22px,3.3vw,45px); }

@media (max-width: 950px) { .r9-picks { grid-auto-columns: minmax(186px, 29%); } }
@media (max-width: 760px) {
    .r9-hero-intro { grid-template-columns: minmax(0,1fr); gap: 14px; padding-block: 20px 8px; }
    .r9-hero-message h1 { max-width: 26ch; font-size: clamp(1.9rem,5.1vw,2.5rem); }
    .r9-hero-message p { margin-top: .45rem; }
    .r9-picks { grid-auto-columns: minmax(172px, 39%); }
}
@media (max-width: 480px) {
    .r9-panorama img { height: clamp(165px,48vw,224px); }
    .r9-hero-intro { gap: 12px; padding-top: 18px; }
    .r9-picks { grid-auto-columns: minmax(145px, 63%); gap: 8px; }
    .r9-picks img { width: clamp(42px,14vw,60px); height: clamp(46px,14vw,60px); }
    .r9-picks-actions { gap: 4px; }
}
@media (max-width: 355px) { .r9-picks-head .text-link { font-size: .85rem; } .r9-picks-head h2 { font-size: 1.13rem; } }
@media (forced-colors: active) { .r9-scroll-controls button:disabled { color: GrayText; opacity: 1; } }
