/* Compact FERROBEND blueprint studies: gold geometry, orange selected details. */
.fitting-explorer-section { background: #f8fafc; }
.fitting-explorer-section .section-heading > p { max-width: 490px; }
.fx-shell { border: 1px solid #d9e3eb; border-radius: 14px; background: white; box-shadow: 0 12px 30px #0b1f3a0d; overflow: hidden; }
.fx-controls { padding: 22px 26px; border-bottom: 1px solid #dce5ed; display: flex; align-items: center; gap: 24px; }
.fx-controls[hidden], .fx-panel[hidden] { display: none !important; }
.fx-controls > p { flex-shrink: 0; color: #60768b; font: 10px Consolas, monospace; text-transform: uppercase; letter-spacing: 1px; }
.fx-controls > div { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-controls button { min-height: 44px; padding: 10px 16px; border: 1px solid #a9bdce; border-radius: 7px; background: #f8fafc; color: #1f4e79; font: 500 12px Poppins, Arial, sans-serif; cursor: pointer; transition: border-color .18s, background .18s, color .18s; }
.fx-controls button:hover { border-color: #ff6a2a; background: #fff0e7; }
.fx-controls button[aria-pressed="true"] { border-color: #ff6a2a; background: #ff6a2a; color: #0b1f3a; }
.fx-controls button:focus-visible, .fx-links a:focus-visible, .fx-fallback summary:focus-visible { outline: 3px solid #ce4d0f; outline-offset: 4px; }
.fx-panel { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); min-width: 0; }
.fx-diagram { margin: 0; min-width: 0; color: #f4c77b; background-color: #0b243e; background-image: linear-gradient(#ffffff05 1px,transparent 1px),linear-gradient(90deg,#ffffff05 1px,transparent 1px),radial-gradient(ellipse at 80% 10%,#24537477,transparent 70%); background-size: 27px 27px,27px 27px,100% 100%; display: flex; flex-direction: column; justify-content: space-between; }
.fx-drawing-label { display: flex; justify-content: space-between; gap: 15px; padding: 24px 26px 0; color: #a9c5d8; font: 9px Consolas,monospace; letter-spacing: 1px; }
.fx-diagram svg { display: block; width: 100%; height: auto; min-width: 0; padding: 9px 10px; }
.fx-diagram figcaption { display: flex; justify-content: space-between; gap: 15px; padding: 17px 25px; border-top: 1px solid #4f728f66; color: #abc4d6; font-size: 9px; line-height: 1.6; }
.fx-body { fill: #163953; stroke: #f4c77b; stroke-width: 2; stroke-linejoin: round; }
.fx-detail { fill: none; stroke: #f4c77b; stroke-width: 1.5; stroke-linejoin: round; }
.fx-ghost { fill: #668ba314; stroke: #7ba2bd; stroke-width: 1.2; stroke-linejoin: round; }
.fx-axis { fill: none; stroke: #87aac3; stroke-width: .9; stroke-dasharray: 5 8; opacity: .4; }
.fx-guide { fill: none; stroke: #f3a775; stroke-width: 1; stroke-dasharray: 6 3; opacity: .9; }
.fx-point { fill: #ff975c; }
.fx-datum { fill: none; stroke: #82a5c0; stroke-width: 1; stroke-dasharray: 4 6; opacity: .6; }
.fx-focus, .fx-focus-group .fx-body, .fx-focus-group .fx-detail { stroke: #ff975c; stroke-width: 2.6; filter: drop-shadow(0 0 4px #ff6a2a55); }
.fx-svg-label { fill: #d2e2ed; font: 10px Consolas, monospace; letter-spacing: .8px; }
.fx-copy { min-width: 0; padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.fx-copy .fx-view-index { color: #6b8295; font: 10px Consolas,monospace; letter-spacing: 1px; margin: 0 0 16px; }
.fx-copy h3 { color: #0b1f3a; font-size: 26px; line-height: 1.35; letter-spacing: -.7px; margin: 0 0 17px; }
.fx-copy > p:not(.fx-view-index) { color: #52697d; font-size: 13px; line-height: 1.9; margin: 0 0 20px; }
.fx-copy ul { list-style: none; padding: 0; margin: 0 0 16px; }
.fx-copy li { padding: 10px 0 10px 18px; position: relative; border-top: 1px solid #e3ebf1; color: #4f667b; font-size: 12px; line-height: 1.7; }
.fx-copy li::before { content: ''; position: absolute; top: 18px; left: 0; width: 5px; height: 5px; background: #ff6a2a; }
.fx-links { display: flex; flex-direction: column; align-items: start; gap: 4px; margin-top: 4px; }
.fx-links a { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 40px; color: #1f4e79; font-size: 11px; font-weight: 600; line-height: 1.6; }
.fx-links a:hover { color: #b4430e; }
.fx-links span { color: #c2501a; }
.fx-note { color: #687f92; font-size: 10px; line-height: 1.8; margin: 16px 0 0; max-width: 820px; }
.fx-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fx-fallback { margin-top: 20px; border-top: 1px solid #d9e3eb; padding-top: 12px; color: #4f667b; font-size: 12px; }
.fx-fallback summary { cursor: pointer; color: #1f4e79; padding: 10px 0; font-weight: 600; }
.fx-fallback dl { display: grid; gap: 16px; padding-top: 16px; }
.fx-fallback dt { color: #0b1f3a; font-weight: 600; margin-bottom: 5px; }
.fx-fallback dd { margin: 0; line-height: 1.85; }
.fx-shell.is-interactive .fx-panel.is-current .fx-copy { animation: fx-copy-appear 320ms ease-out backwards; }
.fx-shell.is-interactive .fx-panel.is-current .fx-guide { animation: fx-guide-settle 520ms ease-out; }
@keyframes fx-copy-appear { from { opacity: .25; } to { opacity: 1; } }
@keyframes fx-guide-settle { from { stroke-dashoffset: 24; opacity: .35; } to { stroke-dashoffset: 0; opacity: .9; } }
@media (max-width: 1050px) { .fx-copy { padding: 27px; } .fx-copy h3 { font-size: 23px; } .fx-controls { align-items: start; gap: 17px; padding: 21px; } .fx-controls > p { padding-top: 15px; } }
@media (max-width: 800px) { .fx-panel { grid-template-columns: minmax(0,1fr); } .fx-diagram svg { max-width: 640px; align-self: center; } .fx-controls { flex-direction: column; gap: 13px; } .fx-controls > p { padding-top: 0; } .fx-copy { padding: 28px; } .fx-copy h3 { max-width: 560px; } }
@media (max-width: 480px) { .fx-controls { padding: 19px; } .fx-controls > div { gap: 7px; } .fx-controls button { padding: 9px 12px; font-size: 11px; } .fx-drawing-label { padding: 21px 20px 0; font-size: 8px; } .fx-diagram svg { padding: 10px 0; } .fx-diagram figcaption { padding: 14px 19px; font-size: 8px; } .fx-copy { padding: 24px 21px; } .fx-copy h3 { font-size: 22px; } .fx-copy > p:not(.fx-view-index) { font-size: 12px; } .fx-copy li { font-size: 11px; } .fx-note { font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .fx-shell.is-interactive .fx-panel.is-current :is(.fx-copy,.fx-guide) { animation: none; } .fx-controls button { transition: none; } }
@media print { .fx-controls { display: none; } .fx-panel { break-inside: avoid; } .fx-diagram { print-color-adjust: exact; } .fx-shell.is-interactive .fx-panel.is-current :is(.fx-copy,.fx-guide) { animation: none; } }

/* Hero edition: the same studies become a compact navy technical card. */
.fx-shell.fx-hero { display: flex; flex-direction: column; width: 100%; min-width: 0; position: relative; border-color: #52738d; background: radial-gradient(ellipse at 85% 0,#254f7277,transparent 65%),#0b243e; box-shadow: 0 18px 40px #030f2040; color: #d1e2ee; }
.fx-hero .fx-panels, .fx-hero .fx-panel { display: contents; }
.fx-hero-heading { order: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 23px; border-bottom: 1px solid #54738a66; }
.fx-hero-heading h2 { margin: 0; color: #dceaf3; font-size: 11px; font-weight: 500; line-height: 1.7; letter-spacing: .5px; text-transform: uppercase; }
.fx-hero-heading > span { flex-shrink: 0; color: #91b0c7; font: 9px Consolas,monospace; letter-spacing: .8px; }
.fx-hero .fx-diagram { order: 1; background-color: transparent; background-image: linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px); background-size: 27px 27px; }
.fx-hero .fx-drawing-label { display: none; }
.fx-hero .fx-diagram svg { width: 100%; height: 250px; padding: 12px 6px 0; }
.fx-hero .fx-diagram figcaption { font-size: 8px; padding: 12px 23px; border-top-color: #54738a44; }
.fx-hero .fx-controls { order: 2; flex-direction: column; align-items: stretch; gap: 11px; padding: 18px 23px; border-bottom: 0; border-top: 1px solid #54738a66; }
.fx-hero .fx-controls > p { color: #9dbbd0; padding-top: 0; font-size: 9px; }
.fx-hero .fx-controls > div { gap: 7px; }
.fx-hero .fx-controls button { padding: 8px 11px; min-height: 44px; border-color: #718da3; background: #ffffff05; color: #dceaf3; font-size: 10px; }
.fx-hero .fx-controls button:hover { border-color: #ff975c; background: #ff6a2a12; }
.fx-hero .fx-controls button[aria-pressed="true"] { border-color: #ff6a2a; background: #ff6a2a; color: #0b1f3a; }
.fx-hero .fx-copy { order: 3; display: block; padding: 5px 23px 21px; }
.fx-hero .fx-copy .fx-view-index { color: #86a6bf; margin-bottom: 9px; font-size: 8px; }
.fx-hero .fx-copy h3 { font-size: 17px; line-height: 1.5; letter-spacing: -.25px; color: #f1f6fa; margin-bottom: 10px; }
.fx-hero .fx-copy > p:not(.fx-view-index) { color: #c4d7e5; font-size: 11px; line-height: 1.85; margin-bottom: 12px; }
.fx-hero .fx-links { flex-direction: row; flex-wrap: wrap; gap: 2px 15px; margin-top: 5px; }
.fx-hero .fx-links a { color: #ffb18b; font-size: 10px; font-weight: 500; gap: 8px; min-height: 36px; }
.fx-hero .fx-links a:hover { color: #ffd3b9; }
.fx-hero .fx-links span { color: #ffad87; }
.fx-hero .fx-controls button:focus-visible, .fx-hero .fx-links a:focus-visible, .fx-hero .fx-fallback summary:focus-visible { outline-color: #ffad87; }
.fx-hero noscript { order: 4; }
.fx-hero .fx-fallback { margin: 0 23px 20px; padding-top: 9px; border-color: #54738a66; color: #c4d7e5; font-size: 11px; }
.fx-hero .fx-fallback summary { color: #ffb18b; }
.fx-hero .fx-fallback dt { color: #e6f0f6; }
.fx-hero .fx-fallback .fx-links a { font-size: 10px; }
@media (max-width: 1050px) { .fx-hero .fx-diagram svg { height: 230px; } .fx-hero-heading { padding: 17px 20px; } .fx-hero .fx-controls { padding: 17px 20px; } .fx-hero .fx-copy { padding-inline: 20px; } .fx-hero .fx-diagram figcaption { padding-inline: 20px; } }
@media (max-width: 800px) { .fx-shell.fx-hero { max-width: 640px; } .fx-hero .fx-diagram svg { height: 280px; } .fx-hero .fx-controls > div { gap: 8px; } .fx-hero .fx-controls button { font-size: 11px; padding-inline: 13px; } .fx-hero .fx-copy > p:not(.fx-view-index) { font-size: 12px; } }
@media (max-width: 480px) { .fx-hero .fx-diagram svg { height: 225px; padding: 8px 0 0; } .fx-hero-heading { padding: 16px 19px; gap: 10px; } .fx-hero-heading h2 { font-size: 10px; } .fx-hero-heading > span { font-size: 8px; } .fx-hero .fx-controls { padding: 16px 19px; } .fx-hero .fx-controls button { font-size: 10px; padding-inline: 10px; } .fx-hero .fx-copy { padding: 4px 19px 19px; } .fx-hero .fx-copy h3 { font-size: 16px; } .fx-hero .fx-copy > p:not(.fx-view-index) { font-size: 11px; } .fx-hero .fx-diagram figcaption { padding-inline: 19px; } .fx-hero .fx-links a { min-height: 44px; } }
@media print { .fx-hero .fx-controls { display: none; } .fx-shell.fx-hero { print-color-adjust: exact; } }
