/* Museum TN, room 8: eight accessible interpretation stations. v8.4.0 */
.r8m-inline,.r8m-dialog{color:var(--text,#eaf0f6);font:inherit;line-height:1.55}
.r8m-inline{margin:2rem 0;padding:clamp(1rem,3vw,1.65rem);border:1px solid #54768a;border-radius:16px;background:linear-gradient(135deg,#122432,#192c37)}
.r8m-experience{color:#f0f5f7;font-family:inherit}
.r8m-experience *{box-sizing:border-box}
.r8m-topline{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;color:#aedce5;font-weight:700;font-size:.8rem;letter-spacing:.035em}
.r8m-title{color:#fff;font-size:clamp(1.18rem,2.5vw,1.65rem);line-height:1.25;margin:.55rem 0}
.r8m-intro{color:#e0e9ed;margin:.4rem 0 1rem;max-width:78ch}
.r8m-grid{display:grid;grid-template-columns:minmax(210px,.92fr) minmax(250px,1.08fr);gap:1rem;align-items:start}
.r8m-controls,.r8m-results,.r8m-note{padding:1rem;border:1px solid #466576;border-radius:12px;background:#10232d}
.r8m-results{min-height:190px;background:#132c36}
.r8m-controls label{display:block;font-size:.92rem;color:#eff4f4;font-weight:650;margin:.7rem 0 .28rem}
.r8m-controls label:first-child{margin-top:0}
.r8m-controls select,.r8m-controls input,.r8m-controls textarea{display:block;width:100%;max-width:100%;min-height:42px;padding:.6rem .65rem;color:#fff;background:#1c3945;border:1px solid #7495a3;border-radius:8px;font:inherit}
.r8m-controls textarea{min-height:76px;resize:vertical}
.r8m-controls input[type=range]{padding:.4rem;accent-color:#91d9e3}
.r8m-buttons{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.85rem}
.r8m-experience button{font:inherit;cursor:pointer;border-radius:8px;border:1px solid #87b9c7;color:#fff;background:#21516a;padding:.52rem .78rem;min-height:44px}
.r8m-experience button:hover{background:#2b6f8c}
.r8m-experience button:focus-visible,.r8m-experience input:focus-visible,.r8m-experience select:focus-visible,.r8m-experience textarea:focus-visible{outline:3px solid #ffe69c;outline-offset:3px}
.r8m-experience button[aria-pressed=true]{background:#805a25;border-color:#ffd88a}
.r8m-experience button:disabled{opacity:.55;cursor:not-allowed}
.r8m-results h4{font-size:1.02rem;color:#d9f6ff;margin:0 0 .7rem}
.r8m-results p{margin:.35rem 0 .75rem}
.r8m-results strong{color:#fff}
.r8m-metric{display:flex;flex-direction:column;gap:.35rem;margin:.65rem 0}
.r8m-bar{height:12px;width:100%;overflow:hidden;background:#314c57;border-radius:20px}
.r8m-bar>span{display:block;height:100%;min-width:1px;background:#89cfcb;transition:width .25s ease}
.r8m-bar.secondary>span{background:#e2bf78}
.r8m-barlabel{display:flex;justify-content:space-between;gap:.8rem;font-size:.84rem}
.r8m-chipline{display:flex;flex-wrap:wrap;gap:.35rem;margin:.7rem 0}
.r8m-chip{border:1px solid #738c98;border-radius:6px;padding:.25rem .45rem;background:#233f4a;font-size:.86rem}
.r8m-steps{padding-left:1.4rem;line-height:1.65;color:#eaf6f5}
.r8m-note{margin-top:1rem;color:#d9e5e9;background:#122a31}
.r8m-note strong{color:#fce0a3}
.r8m-disclosure{font-size:.85rem;color:#e1eaf0;margin-top:.5rem}
.r8m-plot{max-width:100%;height:auto;background:#0d202b;border:1px solid #3c606f;border-radius:8px;display:block}
.r8m-small{color:#c2d5dc;font-size:.84rem}
.r8m-output{border-left:3px solid #d5b87f;padding:.65rem .8rem;background:#1e3b42;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere}
.r8m-counter{font-variant-numeric:tabular-nums;color:#fbd59d}
.r8m-faq{font-size:.88rem;color:#d6e8e9}
.r8m-overlay[hidden]{display:none!important}
.r8m-overlay{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:10px;background:#06121ae9;color:white}
.r8m-dialog{position:relative;width:min(950px,100%);max-height:calc(100dvh - 20px);overflow:auto;overscroll-behavior:contain;border:1px solid #8bb0be;border-radius:14px;padding:clamp(.9rem,2vw,1.8rem);background:#142733;box-shadow:0 18px 90px #000a}
.r8m-dialog .r8m-experience{margin-top:.5rem}
.r8m-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #59717b;padding-bottom:.65rem}
.r8m-dialog-header strong{color:#e2edf3}
.r8m-dialog-header button{min-height:44px;min-width:44px;background:#274a5c;color:#fff;border:1px solid #95bcca;border-radius:6px;font-size:1.35rem;cursor:pointer}
body.r8m-modal-open{overflow:hidden}
@media(max-width:700px){.r8m-grid{grid-template-columns:minmax(0,1fr)}.r8m-inline{margin:1.2rem 0}.r8m-overlay{padding:0}.r8m-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:1rem;overflow:auto}.r8m-controls,.r8m-results{padding:.8rem}}
@media(prefers-reduced-motion:reduce){.r8m-bar>span{transition:none!important}}
