/* Inner pages share the clear-water detail from the homepage artwork. */
#route-view { --am-blue:#0755cb; --am-dark:#0b2050; --am-border:#d8e6f2; }
#main-content[tabindex="-1"]:focus { outline:none; }
#route-view .inner-banner {
  position:relative; isolation:isolate; overflow:hidden;
  margin:0 0 clamp(22px,2.4vw,38px); padding:clamp(19px,2.35vw,38px) clamp(16px,3vw,48px);
  border:1px solid #dceaf8; border-radius:16px;
  background:linear-gradient(104deg,#edf6ff,#f8fcff 58%,#ddf0ff); color:var(--am-dark);
}
#route-view .inner-banner::after {
  content:""; pointer-events:none; position:absolute; z-index:-1; inset:0 0 0 auto; width:43%;
  background:url("assets/inner-water.webp") center 45% / cover no-repeat;
  opacity:.38; mask-image:linear-gradient(90deg,transparent 0%,#000 82%);
}
#route-view .inner-banner::before {
  content:""; position:absolute; z-index:-1; pointer-events:none; top:50%; right:34%;
  width:clamp(70px,8vw,128px); aspect-ratio:61/58; transform:translateY(-50%);
  background:url("assets/brand-drop.png") center / contain no-repeat; mix-blend-mode:multiply; opacity:.065;
}
#route-view .inner-banner .cat-crumb, #route-view .inner-banner .crumb {
  display:block; margin:0 0 14px; color:#3b5a77; font-size:13px;
}
#route-view .inner-banner .cat-crumb a, #route-view .inner-banner .crumb a { color:#285379; }
#route-view .inner-banner h1 { font-size:clamp(32px,3.4vw,58px); line-height:1.05; margin:0; font-weight:680; letter-spacing:-.043em; }
#route-view .inner-banner .eyebrow { font-size:11px; color:#1552a7; margin:0 0 7px; }
#route-view .inner-banner .model-id { margin:10px 0 0; }
#route-view .inner-banner .page-head p, #route-view .page-head.inner-banner>p, #route-view .inner-banner .ab-lead { margin-top:12px; max-width:65ch; }
#route-view .route-page { padding-top:32px; }
#route-view .aq-brief { padding-top:32px; }
#route-view .cat-header { align-items:center; }
#route-view .cat-search>div { border-color:#9db9d9; border-radius:8px; overflow:hidden; }
#route-view .cat-search>div:focus-within { outline:2px solid var(--am-blue); }
#route-view .cat-search button, #route-view .cat-filters button[aria-pressed=true], #route-view .model-ask,
#route-view .btn.primary, #route-view .cat-reset, #route-view .ab-primary, #route-view .ab-modes button[aria-pressed=true] {
  background:var(--am-blue); border-color:var(--am-blue); color:#fff;
}
#route-view .cat-search button:hover, #route-view .model-ask:hover { background:#03429f; }
#route-view .cat-filters button { border-radius:99px; }
#route-view .cat-filters button:hover { border-color:var(--am-blue); }
#route-view .model-variants a { border-radius:7px; }
#route-view .model-variants a[aria-current], #route-view .ab-steps button[aria-current=step] { border-color:var(--am-blue); }
#route-view .ab-summary { border-color:var(--am-blue); background:#eef6ff; border-radius:0 10px 10px 0; }
#route-view .topic-card, #route-view .info-panel { border-top-color:#c2d9f1; }
#route-view .topic-card:hover, #route-view .line-link { color:var(--am-blue); }
.cat-img { border-radius:12px; border:1px solid #dfebf5; background:linear-gradient(135deg,#f8fbfe,#eef5fa); }
.cat-img>span { color:#305781; background:#ffffffd9; border-radius:4px; padding:1px 5px; }
.cat-card:focus-visible { border-radius:12px; }
.cat-card:hover .cat-img { border-color:#a1c8f5; }
.cat-card:hover h2, .cat-card h2 span { color:#0755cb; }
.model-image { border:1px solid var(--am-border); border-radius:14px; background:linear-gradient(135deg,#f8fbff,#edf5fc); }
.model-hero { grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); gap:clamp(24px,4vw,76px); }
.model-information>h2 { margin:0 0 9px; font-size:clamp(22px,2vw,32px); line-height:1.15; font-weight:650; }
.model-overview { font-size:15px; color:#344e66; line-height:1.55; max-width:75ch; }
.config-jump, .clear-options { padding:0; margin:10px 0; font-weight:600; color:var(--am-blue); font-size:14px; }
.config-jump:hover,.clear-options:hover { text-decoration:underline; }
#route-view .model-information .model-specs { border-top:2px solid #90b8ed; margin-top:10px; }
#route-view .model-specs>div { grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); padding:10px 9px; border-color:var(--am-border); }
#route-view .model-specs>div:nth-child(odd) { background:#f5f9fd; }
.model-specs dd,.model-specs dt,.option-set legend,.choice span { overflow-wrap:anywhere; }
.model-id b { color:#064db2; background:#fff; padding:2px 7px; border:1px solid #cfe0f3; border-radius:4px; }
.configuration-panel { scroll-margin-top:calc(var(--nav-h,76px) + 14px); margin-top:clamp(24px,4vw,60px); border-top:2px solid #9cbfee; padding-top:clamp(16px,2.1vw,33px); }
.configuration-panel:focus { outline:none; }
.config-heading h2 { font-size:clamp(26px,2.5vw,39px); color:var(--am-dark); font-weight:650; }
.config-heading .config-model { display:inline-block; font-size:13px; font-weight:650; color:var(--am-blue); margin-bottom:6px; }
.config-heading p { color:#415a71; margin-top:6px; }
.option-grid { margin-top:20px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 24px; }
.option-set { min-width:0; margin:0; border:0; padding:0 0 12px; border-bottom:1px solid var(--am-border); }
.option-set legend { margin:0 0 7px; color:#19335b; font-size:14px; font-weight:640; padding:0; }
.choice-list { display:flex; flex-wrap:wrap; gap:6px; }
.choice { display:inline-flex; position:relative; min-width:0; max-width:100%; cursor:pointer; }
.choice input { position:absolute; opacity:0; width:1px; height:1px; }
.choice span { display:block; padding:6px 11px; font-size:13px; line-height:1.4; color:#244363; border:1px solid #b9cce0; border-radius:7px; background:#fff; }
.choice input:checked + span { border-color:var(--am-blue); background:#e9f2ff; color:#003e9b; box-shadow:inset 0 0 0 1px var(--am-blue); }
.choice input:focus-visible + span { outline:2px solid var(--am-blue); outline-offset:2px; }
.choice:hover span { border-color:#4986d3; }
.reset-option { color:#315b87; padding:4px; font-size:12px; text-decoration:underline; text-underline-offset:2px; }
.project-review { padding:15px 19px; margin:22px 0; border-left:3px solid #3c80d3; border-radius:0 7px 7px 0; background:#f0f7ff; }
.project-review h3 { font-size:16px; letter-spacing:-.015em; }
.project-review ul { margin:6px 0 0; padding-left:20px; color:#354f68; font-size:14px; max-width:100ch; }
.project-review li + li { margin-top:4px; }
.configuration-panel>label { display:block; margin:18px 0 7px; font-size:14px; font-weight:600; }
.configuration-panel>label span { color:#5d7488; font-weight:400; }
#model-detail { width:100%; max-width:840px; display:block; font:inherit; font-size:15px; border:1px solid #abc2d7; border-radius:7px; padding:10px 12px; resize:vertical; min-height:62px; }
.configuration-panel .model-ask { border-radius:8px; margin-top:13px; }
@media(max-width:700px) {
  #route-view .inner-banner::before { display:none; }
  #route-view .inner-banner { padding:16px; border-radius:11px; }
  #route-view .inner-banner::after { width:50%; opacity:.23; }
  #route-view .product-banner h1 { font-size:clamp(27px,6vw,37px); }
  #route-view .inner-banner .cat-crumb,#route-view .inner-banner .crumb { margin-bottom:10px; }
  #route-view .cat-header { align-items:stretch; }
  .option-grid { grid-template-columns:minmax(0,1fr); gap:11px; }
  #route-view .route-page,.aqua-product,.aqua-catalog,#route-view .aq-brief { padding-top:16px; }
  .model-image { aspect-ratio:1.32; }
  .model-information>h2 { margin-top:4px; }
  .model-variants>div { flex-wrap:nowrap; overflow-x:auto; padding:2px 2px 5px; }
  .model-variants a { flex:0 0 auto; }
}
@media(min-width:851px) and (min-height:740px) {
  .model-visual { position:sticky; top:calc(var(--nav-h,76px) + 12px); }
}
