/* Equipment reference pages. Scoped to preserve approved patient-facing layouts. */
.equipment-name-list li:has(> .equipment-detail-link) { padding: 0; }
.equipment-detail-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; min-height: 44px; border-radius: 8px; text-decoration: none; }
.equipment-detail-link::after { content: '↗'; color: #80602e; font-size: 16px; }
.equipment-detail-link:hover { background: #e9dfcc; color: #191813; }
.equipment-detail-link:focus-visible, .device-page a:focus-visible, .device-page summary:focus-visible { outline: 3px solid #876225; outline-offset: 4px; }
.device-page { --device-ink: #25231e; --device-muted: #615d53; }
.device-page main { padding-bottom: 48px; }
.device-page .device-container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.device-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 24px; font-size: 14px; color: var(--device-muted); }
.device-breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.device-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: 52px; padding-bottom: 48px; }
.device-hero > * { min-width: 0; }
.device-hero-text { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
.device-summary + .device-back { margin-top: 22px; }
.ai-photo-panel { border-left: 3px solid #997c46; background: #eee8dc; border-radius: 0 16px 16px 0; padding: 22px 26px; margin: 0 0 28px; }
.ai-photo-panel h2, .ai-photo-panel h3 { margin: 0 0 8px; font-family: var(--sans); font-size: clamp(20px, 2.5vw, 25px); line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.ai-photo-panel p { margin: 0; font-size: 16px; line-height: 1.85; color: #615d53; word-break: keep-all; overflow-wrap: anywhere; }
.device-category { margin: 0 0 12px; color: #80602e; font-size: 14px; font-weight: 700; }
.device-page h1 { margin: 0 0 20px; font-family: var(--sans); font-size: clamp(30px, 4.2vw, 48px); line-height: 1.3; font-weight: 550; letter-spacing: -.04em; word-break: keep-all; overflow-wrap: anywhere; }
.device-page p, .device-page li { font-size: 16px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.device-summary { margin: 0; color: var(--device-ink); font-size: 18px !important; }
.device-facts { display: grid; gap: 10px; border-top: 1px solid #d9cfbd; padding-top: 18px; margin: 24px 0; }
.device-facts div { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; font-size: 14px; line-height: 1.7; }
.device-facts dt { color: var(--device-muted); }
.device-facts dd { margin: 0; }
.device-back { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; text-decoration: underline; text-underline-offset: 5px; font-size: 15px; }
.device-figure { margin: 0; padding: 24px; border: 1px solid #ded5c6; border-radius: 22px; background: #fff; }
.device-figure img { width: 100%; height: 360px; object-fit: contain; display: block; }
.device-figure figcaption { border-top: 1px solid #eee7db; padding-top: 12px; margin-top: 16px; font-size: 13px; line-height: 1.6; color: #696155; }
.device-figure figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.device-photo-pending { padding: 28px; border-left: 3px solid #af8b4f; background: #eee7db; color: #504b40; border-radius: 0 16px 16px 0; }
.device-photo-pending h2 { margin: 0 0 8px; font-size: 20px; }
.device-photo-pending p { margin: 0; font-size: 15px; }
.device-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.device-program { margin-bottom: 24px; padding: 28px; background: #e9e2d3; border-left: 3px solid #997c46; border-radius: 0 18px 18px 0; }
.device-program h2 { margin: 0 0 12px; font-family: var(--sans); font-size: 26px; line-height: 1.4; word-break: keep-all; }
.device-program > p:not(.device-category) { margin: 0; max-width: 64em; color: var(--device-muted); }
.device-card { min-width: 0; padding: 28px; border: 1px solid #ddd4c4; border-radius: 20px; background: #fffdf8; }
.device-card h2, .device-faq h2 { margin: 0 0 14px; font-family: var(--sans); font-size: clamp(21px, 2.3vw, 26px); line-height: 1.45; word-break: keep-all; }
.device-card p { margin: 0; color: var(--device-muted); }
.device-card-wide { grid-column: 1 / -1; }
.device-card ul { margin: 0; padding-left: 1.2em; color: var(--device-muted); }
.device-card li + li { margin-top: 8px; }
.device-care-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.device-care-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #b9aa90; border-radius: 999px; font-size: 15px; background: #f6f0e5; }
.device-faq { margin-top: 36px; }
.device-faq details, .device-sources { border-bottom: 1px solid #d8cebd; padding: 16px 0; }
.device-faq summary, .device-sources summary { cursor: pointer; font-size: 16px; font-weight: 600; line-height: 1.7; }
.device-faq details p { color: var(--device-muted); max-width: 65em; }
.device-sources { margin-top: 28px; color: var(--device-muted); }
.device-sources li, .device-sources p { font-size: 14px; }
.device-sources a { text-decoration: underline; text-underline-offset: 3px; }
.device-end { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; align-items: center; }
.device-preview-note { font-size: 13px !important; color: #71654f; margin-top: 16px; }
@media (max-width: 760px) {
  .device-page .device-container { width: calc(100% - 36px); }
  .device-hero, .device-content { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .device-hero { padding-bottom: 28px; }
  .device-page h1 { font-size: clamp(29px, 8vw, 38px); }
  .device-figure { padding: 18px; }
  .device-figure img { height: 260px; }
  .device-card { padding: 22px; }
  .device-program { padding: 22px; }
  .device-program h2 { font-size: 23px; }
  .device-card-wide { grid-column: auto; }
  .device-summary { font-size: 17px !important; }
}
