/* Original route and equipment studies; scoped to the five-case extension. */
.view-gallery .airway-routes-room { background: #e5dccb; color: var(--ink); }
.airway-routes-room > h2, .cuff-study-room > h2 { max-width: 900px; }
.route-diptych { margin: 40px 0 0; max-width: 1100px; }
.route-plates { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ink-soft); border: 1px solid var(--ink-soft); }
.route-plate { padding: clamp(22px, 3vw, 44px); background: var(--paper); min-width: 0; }
.route-plate--separate { background: var(--maroon-900); color: var(--paper); }
.route-plate-index { font: 4rem/1 var(--serif); opacity: .7; }
.route-plate h3 { font: clamp(1.4rem, 2.5vw, 2rem)/1.2 var(--serif); margin: 16px 0; }
.route-plate p { font-size: .95rem; line-height: 1.65; }
.route-statement { min-height: 3.3em; }
.route-chain { display: flex; flex-direction: column; align-items: stretch; gap: 9px; margin: 28px 0; text-align: center; font-size: .95rem; }
.route-chain > :not([aria-hidden]) { padding: 12px 8px; border: 1px solid currentColor; }
.route-chain .route-break { border-style: dashed; color: #ffc4b8; }
.route-side-entry { border-left: 3px solid var(--maroon-700); padding-left: 12px; }
.route-diptych > .object-label { padding: 28px 0; max-width: 760px; color: var(--ink); }
.route-diptych .credit, .cuff-study-room .credit { color: var(--ink-soft); }
.route-diptych a, .cuff-study-room a { color: var(--maroon-800); }
.view-gallery .cuff-study-room { background: var(--paper-2); color: var(--ink); }
.cuff-study-object { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px); margin: 40px 0; }
.cuff-function-plate { padding: 35px 24px; background: var(--maroon-900); color: var(--paper); }
.cuff-function-plate > span { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.cuff-function-plate > strong { display: block; font: clamp(2rem, 4vw, 4rem)/1 var(--serif); margin-top: 32px; }
.cuff-function-plate p { font-size: .95rem; }
.cuff-function-plate hr { border: 0; border-top: 1px solid var(--line-light); margin-top: 28px; }
.cuff-question { max-width: 780px; border-top: 1px solid var(--line); padding-top: 24px; margin-bottom: 32px; }
.cuff-question h3 { font: 1.5rem/1.2 var(--serif); }
.cuff-question p { line-height: 1.65; }
.cuff-question summary { cursor: pointer; padding: 16px 0; min-height: 44px; color: var(--maroon-800); font-weight: 600; }
.cuff-study-room .foundation-entry { flex-wrap: wrap; }
@media (max-width: 768px) {
  .route-plates, .cuff-study-object { grid-template-columns: minmax(0, 1fr); }
  .route-statement { min-height: 0; }
  .route-plate { padding: 24px 20px; }
  .cuff-function-plate { max-width: 450px; }
}
@media (max-width: 390px) {
  .route-plate h3, .cuff-study-room h2 { overflow-wrap: anywhere; }
}
