/* Visual explanations: scoped to this article, short transitions only. */
.editorial--ferritin h3 em{font-family:Georgia,serif;font-weight:400;color:#e6b18a}
.fe-scrub-label{display:flex;justify-content:space-between;align-items:center;color:#cbbacf;font-size:11px;margin:22px 0 0}
.fe-scrub-label span{font-size:22px;color:#dea985}
.fe-slider{appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:40px;margin:0;background:transparent;accent-color:#dea985;cursor:ew-resize;touch-action:pan-y}
.fe-slider::-webkit-slider-runnable-track{height:4px;background:linear-gradient(90deg,#dea98590,#8c6baf70);border-radius:10px}
.fe-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin-top:-9px;background:#dea985;border:3px solid #f6d6bf;border-radius:50%;box-shadow:0 0 16px #dea98555}
.fe-slider::-moz-range-track{height:4px;background:#80677f;border-radius:10px}
.fe-slider::-moz-range-thumb{width:17px;height:17px;background:#dea985;border:3px solid #f6d6bf;border-radius:50%}
.editorial--ferritin .fe-footnote{font-size:10px;line-height:1.6;margin:14px 0 0;color:#a79bab}
.fe-selfcheck fieldset:not([hidden]),.fe-check-result:not([hidden]){animation:fe-reveal .3s ease both}
@keyframes fe-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
/* Calculator: numbers and sliders together, one compact result. */
.fe-calc-layout{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:36px;align-items:center;margin-top:18px}
.fe-tool .fe-fields{display:flex;flex-direction:column;gap:16px;margin:0}
.fe-tool .fe-units{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;font-size:10px}
.fe-tool .fe-units select{width:auto;min-height:36px;padding:6px 8px;font-size:12px}
.fe-tool .fe-value-label{display:grid;grid-template-columns:1fr 76px;gap:0 10px;align-items:center}
.fe-tool .fe-value-label>input[type=text]{min-height:38px;padding:7px 10px;text-align:right;font-size:16px;background:#ffffff05}
.fe-tool .fe-value-label>input[type=range]{grid-column:1/-1}
.fe-tool .fe-tsat-visual{display:flex;flex-direction:column;gap:0;padding:0;min-width:0}
.fe-tool .fe-gauge{width:160px;height:160px}
.fe-tool .fe-gauge>strong{font-size:36px}
.fe-tool #tsat-result{font-size:11px;line-height:1.6;text-align:center;background:none;padding:0;margin:12px 0 0;color:#cbbdd0}
.fe-tool #tsat-result[data-error=true]{color:#e1b7a0}
/* One click, one question. Back preserves the selected answer. */
.fe-selfcheck .fe-check-progress{margin:20px 0 16px}
.fe-selfcheck fieldset{padding:18px 0 0}
.fe-selfcheck legend{font-size:21px;line-height:1.35}
.fe-selfcheck legend>span{display:none}
.fe-selfcheck .fe-check-options button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;border:1px solid #dea98538;border-radius:12px;min-height:50px;padding:13px 16px;color:#ded1e4;font:inherit;font-size:13px;line-height:1.5;cursor:pointer;background:#211c2870;transition:background .2s,border-color .2s,transform .2s}
.fe-selfcheck .fe-check-options button:hover,.fe-selfcheck .fe-check-options button[aria-pressed=true]{border-color:#dea985;background:#dea98517;color:#f4dcc9;transform:translateX(2px)}
.fe-check-options button>span:last-child{color:#dea985}
.fe-selfcheck .fe-tool-actions{margin-top:8px}
.fe-selfcheck .fe-check-result{margin-top:12px}
.fe-selfcheck [data-check-error]:empty{display:none}
.fe-photo img{aspect-ratio:3/2;object-fit:cover}
.fe-photo:has(+.fe-compare){margin-bottom:0;border-radius:22px 22px 0 0}
.fe-photo+.fe-compare{margin-top:0;gap:0;border:1px solid #dea98530;border-top:0;border-radius:0 0 22px 22px;overflow:hidden}
.fe-photo+.fe-compare>div{border:0;border-radius:0;background:#dea98508}
.fe-photo+.fe-compare>div+div{border-left:1px solid #dea98530}
@media(max-width:600px){.fe-calc-layout{grid-template-columns:minmax(0,1fr) 128px;gap:14px}.fe-tool .fe-gauge{width:120px;height:120px}.fe-tool .fe-gauge>strong{font-size:28px}.fe-tool .fe-units{flex-direction:column;align-items:flex-start;gap:5px}.fe-tool .fe-value-label{grid-template-columns:1fr 64px;font-size:11px}.fe-selfcheck legend{font-size:18px}}
@media(max-width:400px){.fe-calc-layout{grid-template-columns:1fr}.fe-tool .fe-tsat-visual{flex-direction:row;gap:18px;align-items:center}.fe-tool .fe-gauge{flex-shrink:0;width:110px;height:110px}.fe-tool #tsat-result{text-align:left;margin:0}.fe-tool .fe-units{flex-direction:row;align-items:center}}
@media(prefers-reduced-motion:reduce){.fe-journey-stops button,.fe-selfcheck .fe-check-options button{transition:none}.fe-selfcheck fieldset,.fe-check-result{animation:none!important}}

.fe-selfcheck legend:focus,.fe-check-result h3:focus{outline:none}
.fe-tsat-visual[data-empty=true] .fe-gauge{pointer-events:none}
.fe-journey>.fe-slider,.fe-cases>.fe-slider{border:0;padding:0;border-radius:0;background:transparent;box-shadow:none}

.fe-trend{min-width:0}
.editorial--ferritin .fe-trend-kicker{font-size:12px;margin:0 0 12px;color:#d0c1d6}
.fe-trend-legend{display:flex;gap:14px;flex-wrap:wrap}
.fe-trend-legend button{display:flex;gap:7px;align-items:center;border:0;background:none;color:#d2c2d9;font:inherit;font-size:11px;min-height:36px;padding:0;cursor:pointer}
.fe-trend-legend i{width:16px;height:3px;background:#eeb48a}.fe-trend-legend button:nth-child(2) i{background:#b69ae3}.fe-trend-legend button:nth-child(3) i{background:#72d8bc}
.fe-trend-legend button[aria-pressed=false]{opacity:.35}
.fe-trend-host{position:relative;height:270px;width:100%;min-width:0}
.fe-trend-echarts{position:absolute;inset:0}.fe-trend-fallback{width:100%;height:100%}.has-trend>.fe-trend-fallback{visibility:hidden}
.editorial--ferritin .fe-trend-readout{font-size:13px;line-height:1.6;color:#ebc2a3;margin:4px 0 0;min-height:42px}
.fe-trend .fe-scrub-label{margin-top:0}.fe-trend .fe-slider{border:0;padding:0;border-radius:0;background:transparent;box-shadow:none}
@media(max-width:600px){.fe-trend-host{height:230px}.fe-trend-legend{gap:10px}.fe-trend-legend button{font-size:10px}.fe-trend-readout{min-height:64px}}

/* Compact editorial flow; motion is decorative and carries no analysis values. */
.fe-lab.fe-flow{padding:20px 0 0;border:0;border-top:1px solid #dcb18f35;border-bottom:1px solid #dcb18f25;border-radius:0;background:none;overflow:hidden}
.fe-flow-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.editorial--ferritin .fe-flow-heading .fe-eyebrow{margin:0;font-size:10px}
.fe-flow-heading>span{font-size:10px;color:#a799b2}
.fe-flow-stops{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.fe-flow-stops button{position:relative;text-align:left;border:1px solid transparent;border-radius:12px;background:transparent;color:#a698b1;cursor:pointer;font:inherit;padding:12px 16px;min-width:0;transition:background .25s,color .25s,border-color .25s}
.fe-flow-stops button[aria-pressed=true]{color:#efc09b;background:linear-gradient(120deg,#dda47719,#dda47705);border-color:#dda47735}
.fe-flow-stops button:nth-child(2)[aria-pressed=true]{color:#d4bced;background:linear-gradient(120deg,#b795e31b,#b795e305);border-color:#b795e340}
.fe-flow-stops button:nth-child(3)[aria-pressed=true]{color:#edafbb;background:linear-gradient(120deg,#de8fa419,#de8fa405);border-color:#de8fa440}
.fe-flow-number{font-size:9px;letter-spacing:.06em;opacity:.6;display:block;margin-bottom:6px}
.fe-flow-stops strong{display:block;font-size:22px;line-height:1.2;font-weight:500;letter-spacing:-.03em}
.fe-flow-name{display:block;font-size:12px;margin-top:7px;color:#beb0c7}
.fe-flow-stream{position:relative;height:30px;margin:0 16%;overflow:hidden;isolation:isolate}
.fe-flow-track{position:absolute;height:1px;left:0;right:0;top:14px;background:none}
.fe-flow-track{background:linear-gradient(90deg,#e7b18a66,#bc9ce066,#e19aae66)}
.fe-flow-stream i{position:absolute;left:-40px;top:13px;height:3px;width:36px;border-radius:100%;background:linear-gradient(90deg,transparent,#ffd6b0);box-shadow:8px 0 12px #efba8638;animation:fe-flow-pass 3s linear infinite;animation-play-state:paused}
.fe-flow-stream i:nth-of-type(2){animation-delay:-1s;background:linear-gradient(90deg,transparent,#d6bbee)}
.fe-flow-stream i:nth-of-type(3){animation-delay:-2s;background:linear-gradient(90deg,transparent,#f0b5bf)}
.fe-flow[data-playing=true] .fe-flow-stream i{animation-play-state:running}
.fe-flow-stream b{position:absolute;left:0;top:11px;width:7px;height:7px;border-radius:50%;background:#e6b18a;box-shadow:0 0 9px #e6b18a66}
.fe-flow-stream b:nth-of-type(2){left:calc(50% - 3px);background:#bca1dd}.fe-flow-stream b:nth-of-type(3){left:auto;right:0;background:#e5a0b0}
@keyframes fe-flow-pass{from{left:-40px}to{left:100%}}
.fe-flow-caption{padding:4px 0 18px;min-height:57px}
.editorial--ferritin .fe-flow-caption p{font-size:13px;line-height:1.7;margin:0;color:#c3b6cb;animation:fe-reveal .2s ease both}
.fe-flow-caption strong{color:#e5d8eb;font-weight:500}
@media(max-width:600px){.fe-lab.fe-flow{padding-top:16px}.fe-flow-heading{margin-bottom:12px}.fe-flow-heading>span{font-size:9px}.fe-flow-stops{gap:4px}.fe-flow-stops button{padding:10px 7px;border-radius:9px}.fe-flow-stops strong{font-size:18px}.fe-flow-name{font-size:10px}.fe-flow-caption{min-height:90px;padding-bottom:16px}.editorial--ferritin .fe-flow-caption p{font-size:12px}.fe-flow-number{margin-bottom:5px}}
@media(max-width:350px){.fe-flow-stops strong{font-size:16px}.fe-flow-name{font-size:9px}}
@media(prefers-reduced-motion:reduce){.fe-flow-stream i{animation:none;display:none}.fe-flow-stops button{transition:none}.editorial--ferritin .fe-flow-caption p{animation:none}}
/* A single educational TSAT control; every position has a visible explanation. */
.fe-tsat-demo{--tsat-color:#91d8b3}
.fe-tsat-demo[data-tsat-state=low]{--tsat-color:#edc16e}
.fe-tsat-demo[data-tsat-state=high]{--tsat-color:#f19c9c}
.fe-tsat-summary{display:grid;grid-template-columns:160px minmax(0,1fr);gap:28px;align-items:center;margin:28px 0}
.fe-tsat-ring{position:relative;width:160px;height:160px;color:var(--tsat-color)}
.fe-tsat-ring svg{display:block;width:100%;height:100%;transform:rotate(-90deg)}
.fe-tsat-ring circle{fill:none;stroke-width:10}
.fe-tsat-track{stroke:#493e50}
.fe-tsat-fill{stroke:currentColor;transition:stroke-dasharray .2s,stroke .2s}
.fe-tsat-ring>strong{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:38px;font-weight:500;font-variant-numeric:tabular-nums}
.fe-tsat-ring>strong span{font-size:18px;margin-left:3px}
.editorial--ferritin .fe-tsat-caption{font-size:11px;line-height:1.4;color:#b8aabd;margin:0 0 8px}
.fe-tsat-demo #tsat-result{margin:0;padding:0;background:none;text-align:left;color:#d1c5d7;font-size:14px;line-height:1.6}
.fe-tsat-demo #tsat-result strong{display:block;color:var(--tsat-color);font-size:22px;line-height:1.3;margin-bottom:10px}
.fe-tsat-controls label{display:block;color:#e9e0ee;font-size:12px;margin-bottom:4px}
.fe-tsat-slider{display:block;appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;box-shadow:none}
.fe-tsat-slider::-webkit-slider-runnable-track{height:10px;border-radius:6px;background:linear-gradient(to right,#edc16e 0% 20%,#91d8b3 20% 45%,#f19c9c 45% 100%)}
.fe-tsat-slider::-moz-range-track{height:10px;border-radius:6px;background:linear-gradient(to right,#edc16e 0% 20%,#91d8b3 20% 45%,#f19c9c 45% 100%)}
.fe-tsat-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:26px;height:26px;margin-top:-8px;border:4px solid #fff;border-radius:50%;background:var(--tsat-color);box-shadow:0 0 0 3px #201b25}
.fe-tsat-slider::-moz-range-thumb{width:18px;height:18px;border:4px solid #fff;border-radius:50%;background:var(--tsat-color);box-shadow:0 0 0 3px #201b25}
.fe-tsat-slider:focus-visible{outline:2px solid #e9d6f2;outline-offset:5px;border-radius:6px}
.fe-tsat-ticks{position:relative;height:24px;margin:0 13px;color:#b8aabd;font-size:11px}
.fe-tsat-ticks span{position:absolute;transform:translateX(-50%)}
.fe-tsat-ticks span:first-child{left:0;transform:none}
.fe-tsat-ticks span:last-child{right:0;transform:none}
.fe-tsat-zones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.fe-tsat-zones>div{--zone:#edc16e;padding:14px 12px;border:1px solid #ffffff16;border-top:3px solid var(--zone);border-radius:10px;color:var(--zone);transition:background .2s}
.fe-tsat-zones>div[data-tsat-zone=usual]{--zone:#91d8b3}
.fe-tsat-zones>div[data-tsat-zone=high]{--zone:#f19c9c}
.fe-tsat-zones>div[data-active=true]{background:color-mix(in srgb,var(--zone) 12%,transparent);border-color:var(--zone)}
.fe-tsat-zones strong,.fe-tsat-zones span{display:block;font-size:12px;line-height:1.4}
.fe-tsat-zones span{font-size:11px;color:#d1c5d7;margin-top:6px}
@media(max-width:600px){.fe-tsat-summary{grid-template-columns:110px minmax(0,1fr);gap:18px}.fe-tsat-ring{width:110px;height:110px}.fe-tsat-ring>strong{font-size:30px}.fe-tsat-demo #tsat-result strong{font-size:18px}.fe-tsat-demo #tsat-result{font-size:12px}.fe-tsat-zones{gap:6px}.fe-tsat-zones>div{padding:10px 8px}.fe-tsat-zones strong{font-size:11px}}
@media(max-width:400px){.fe-tsat-summary{grid-template-columns:1fr;gap:14px}.fe-tsat-ring{margin:auto}.fe-tsat-demo #tsat-result,.editorial--ferritin .fe-tsat-caption{text-align:center}}
@media(prefers-reduced-motion:reduce){.fe-tsat-fill,.fe-tsat-zones>div{transition:none}}
/* Ferritin numeric reference example. */
.fe-ferritin-value{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#e3d6e8;font-size:14px;margin:24px 0 12px}
.fe-ferritin-value>span{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:12px;color:#b6a4bb}
.fe-ferritin-value input{width:110px;min-height:48px;padding:8px 12px;border:1px solid #dea98566;border-radius:10px;background:#19161e;color:#f4d4b9;font:inherit;font-size:24px}
.fe-trend-host:has(.fe-ferritin-bands){height:155px}
.fe-ferritin-bands{position:absolute;left:12px;right:18px;top:34px;bottom:32px;border-radius:5px}
.fe-ferritin-status{border-left:3px solid #d6ab75;padding:4px 0 4px 14px;margin-top:14px}
.fe-ferritin-status>strong{display:block;font-size:18px;color:#e9be84;line-height:1.3;margin-bottom:8px}
.fe-ferritin-status[data-ferritin-state=depleted]{border-color:#d88d96}.fe-ferritin-status[data-ferritin-state=depleted]>strong{color:#e69aa4}
.fe-ferritin-status[data-ferritin-state=range]{border-color:#72d8bc}.fe-ferritin-status[data-ferritin-state=range]>strong{color:#72d8bc}
.fe-ferritin-status[data-ferritin-state=high],.fe-ferritin-status[data-ferritin-state=empty]{border-color:#b69ae3}.fe-ferritin-status[data-ferritin-state=high]>strong,.fe-ferritin-status[data-ferritin-state=empty]>strong{color:#c7b3e7}
.editorial--ferritin .fe-ferritin-status .fe-trend-readout{font-size:12px;color:#cbbacf;min-height:78px}
.fe-ferritin-key{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin-top:20px;font-size:10px;color:#e69aa4}
.fe-ferritin-key span:nth-child(2){color:#e9be84}.fe-ferritin-key span:nth-child(3){color:#72d8bc}.fe-ferritin-key span:nth-child(4){color:#c7b3e7}
/* End ferritin numeric reference example. */

/* Reactive filling inside the ferritin scale. */
.fe-ferritin-bands{overflow:hidden;isolation:isolate;pointer-events:none}
.fe-ferritin-liquid{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
/* End reactive ferritin filling. */

/* Stable TSAT text rows: all variants reserve space, only one is visible. */
.fe-tsat-demo #tsat-result{display:grid;grid-template-rows:auto auto}
.fe-tsat-demo #tsat-result>[data-tsat-title]{grid-area:1/1}
.fe-tsat-demo #tsat-result>[data-tsat-copy]{grid-area:2/1;display:block}
.fe-tsat-demo #tsat-result>[aria-hidden=true]{visibility:hidden;pointer-events:none}
/* End stable TSAT text. */

/* Direct manipulation of the ferritin graph; stable threshold callout. */
.editorial--ferritin .fe-graph-hint{font-size:11px;color:#b6a4bb;margin:14px 0 8px}
.fe-trend-host.fe-direct-chart{touch-action:pan-y pinch-zoom;cursor:ew-resize;user-select:none;-webkit-user-select:none;border-radius:10px}
.fe-direct-chart .fe-trend-echarts{pointer-events:none}
.fe-direct-chart:focus-visible{outline:2px solid #dea985;outline-offset:5px}
.fe-ferritin-messages{display:grid;grid-template-rows:auto auto;margin-top:16px;padding:8px 0 8px 14px}
.fe-ferritin-messages>strong{grid-area:1/1}
.fe-ferritin-messages>p{grid-area:2/1}
.fe-ferritin-messages>[aria-hidden=true]{visibility:hidden;pointer-events:none}
.editorial--ferritin .fe-ferritin-messages .fe-trend-readout{min-height:0;margin:0}
/* End direct ferritin graph. */
