/* Μουσείο ΤΝ v8.8.24.00 · historical interactives. Uses the exhibit page variables
   (--wall --panel --ink --muted --blue --line --gold), so light, dark and high-contrast
   themes of the shared accessibility panel apply unchanged. */
.hist-lab-section{margin:2rem 0;padding:1.1rem 1.15rem 1.3rem;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.hist-lab-section>h2{margin-top:.2rem}
.hist-lab-section .hl-intro{color:var(--ink)}
.hl-lab{display:block;font-size:1rem;line-height:1.55;color:var(--ink)}
.hl-lab h4{font:600 1.02rem/1.3 var(--sans,system-ui,sans-serif);margin:1.1rem 0 .45rem}
.hl-row{display:flex;flex-wrap:wrap;gap:.7rem 1rem;align-items:flex-end;margin:.4rem 0}
.hl-field{display:flex;flex-direction:column;gap:.25rem;min-width:0}
.hl-field label,.hl-label{font-weight:600;font-size:.92rem}
.hl-grow{flex:1 1 16rem}
.hl-inline{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.hl-hint{font-size:.88rem;color:var(--muted);margin:.25rem 0}
.hl-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hl-select,.hl-input,.hl-code{font:inherit;color:var(--ink);background:var(--wall);border:1px solid var(--muted);border-radius:10px;padding:.5rem .6rem;min-height:2.5rem;max-width:100%}
.hl-select{min-width:min(100%,14rem)}
.hl-input{min-width:0;flex:1 1 12rem}
.hl-wide{flex:1 1 16rem}
.hl-code{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.95rem;line-height:1.45;resize:vertical}
.hl-buttons{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;margin:.55rem 0}
.hl-btn{font:600 .9rem/1.2 var(--sans,system-ui,sans-serif);color:var(--blue);background:transparent;border:2px solid var(--blue);border-radius:999px;padding:.5rem .85rem;min-height:2.6rem;min-width:2.6rem;cursor:pointer;touch-action:manipulation}
.hl-btn:hover{background:color-mix(in srgb,var(--blue) 10%,transparent)}
.hl-btn[disabled]{opacity:.55;cursor:not-allowed}
.hl-btn[aria-pressed="true"]{background:var(--blue);color:var(--wall)}
.hl-primary{background:var(--blue);color:var(--wall)}
.hl-primary:hover{background:color-mix(in srgb,var(--blue) 86%,var(--ink))}
.hl-icon{padding:.35rem;border-radius:10px;font-size:1.05rem;min-width:2.6rem}
.hl-chip{font-weight:500;border-width:1px;border-radius:12px;text-align:start;padding:.45rem .7rem}
.hl-chips{display:flex;flex-wrap:wrap;gap:.4rem}
.hl-check{display:flex;gap:.45rem;align-items:center;margin:.45rem 0;min-height:2rem}
.hl-check input{width:1.3rem;height:1.3rem;accent-color:var(--blue)}
.hl-fieldset{border:1px solid var(--line);border-radius:12px;padding:.5rem .8rem;margin:.6rem 0}
.hl-fieldset legend{font-weight:600;padding:0 .3rem}
.hl-lab :is(button,input,select,textarea,summary,canvas,a):focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.hl-status{min-height:1.5rem;margin:.5rem 0;padding:.45rem .7rem;border-left:4px solid var(--blue);background:color-mix(in srgb,var(--panel) 90%,var(--blue) 10%);border-radius:0 10px 10px 0}
.hl-status:empty{padding:0;border:0;background:none}
.hl-warn{padding:.55rem .75rem;border-left:4px solid var(--gold);background:color-mix(in srgb,var(--panel) 90%,var(--gold) 10%);border-radius:0 10px 10px 0}
.hl-target{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:1.02rem;margin:.35rem 0}
.hl-scroll{overflow-x:auto}
.hl-table{border-collapse:collapse;width:100%;font-size:.9rem;min-width:30rem}
.hl-table th,.hl-table td{border:1px solid var(--line);padding:.4rem .5rem;text-align:start;vertical-align:top}
.hl-table thead th{background:color-mix(in srgb,var(--panel) 85%,var(--blue) 15%)}
.hl-proof li{margin:.3rem 0}
.hl-tree,.hl-tree ul{list-style:none;padding-inline-start:1.1rem;margin:.2rem 0;border-inline-start:1px dashed var(--muted)}
.hl-tree{padding-inline-start:.4rem;border:0}
.hl-tree li{margin:.25rem 0}
.hl-node code{font-size:.9rem;overflow-wrap:anywhere}
.hl-onpath{font-weight:700}
.hl-meth{color:var(--muted);font-size:.85rem}
.hl-ok{color:var(--ink);font-weight:700}
.hl-details{margin:.8rem 0;border:1px solid var(--line);border-radius:12px;padding:.4rem .8rem;background:var(--panel)}
.hl-details>summary{cursor:pointer;font-weight:600;min-height:2rem;display:list-item;padding:.3rem 0}
.hl-derived code,.hl-output code,.hl-trace code{overflow-wrap:anywhere}
.hl-trace{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.85rem;max-height:18rem;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:.5rem .5rem .5rem 2.2rem;background:var(--wall)}
.hl-trace:empty{display:none}
.hl-output p{margin:.25rem 0}
.hl-treebox{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--wall);padding:.3rem}
.hl-svg{display:block;width:100%;height:auto;max-height:26rem}
.hl-edge{stroke:var(--ink);stroke-width:1.6}
.hl-edge-cdr{stroke-dasharray:5 3}
.hl-cell{fill:var(--panel);stroke:var(--ink);stroke-width:1.6}
.hl-cell-div{stroke:var(--ink);stroke-width:1.2}
.hl-atom{fill:var(--ink);font:600 13px ui-monospace,Menlo,Consolas,monospace}
.hl-nil{fill:var(--muted);font-weight:400}
.hl-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1.2rem;align-items:start}
@media (max-width:860px){.hl-split{grid-template-columns:minmax(0,1fr)}}
.hl-split>*,.hl-lab>*{min-width:0}
.hl-metrics dd{min-width:0;overflow-wrap:anywhere}
.hl-stage{margin:0 0 .6rem}
.hl-stage-box{position:relative;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#0d1621;aspect-ratio:16/11;min-height:12rem}
.hl-canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.hl-canvas:active{cursor:grabbing}
.hl-stage-msg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:1rem;margin:0;color:#e9eef5;font-size:.95rem}
.hl-badge{position:absolute;left:.6rem;top:.6rem;z-index:2;background:rgba(10,18,28,.86);color:#f2f5f9;border:1px solid #8fa3b8;border-radius:999px;padding:.2rem .6rem;font:600 .78rem/1.3 var(--sans,system-ui,sans-serif)}
.hl-stage-tools{display:flex;flex-wrap:wrap;gap:.35rem;margin:.45rem 0 .2rem}
.hl-caption{font-size:.88rem;color:var(--muted);margin-top:.2rem}
.hl-stage:fullscreen{background:var(--wall);padding:1rem;display:flex;flex-direction:column}
.hl-stage:fullscreen .hl-stage-box{flex:1;aspect-ratio:auto}
.hl-side{border:1px solid var(--line);border-radius:12px;background:var(--wall);padding:.3rem}
.hl-table-top{fill:var(--muted)}
.hl-boxline{fill:none;stroke:var(--ink);stroke-width:3}
.hl-shape{stroke:var(--ink);stroke-width:1.6}
.hl-svg-label{fill:var(--ink);font:12px var(--sans,system-ui,sans-serif)}
.hl-hand{fill:none;stroke:var(--ink);stroke-width:3;stroke-linecap:round}
.hl-command{margin:.3rem 0}
.hl-dialogue{list-style:none;padding:.5rem .7rem;margin:.3rem 0;max-height:16rem;overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--wall)}
.hl-dialogue:empty{display:none}
.hl-dialogue li{margin:.3rem 0}
.hl-sys{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.9rem}
.hl-parse{display:grid;grid-template-columns:max-content 1fr;gap:.2rem .8rem;margin:.3rem 0}
.hl-parse dt{font-weight:600;color:var(--muted)}
.hl-parse dd{margin:0}
.hl-statelist{padding-inline-start:1.1rem;font-size:.92rem}
.hl-joints{display:grid;gap:.45rem}
.hl-joint{display:grid;gap:.15rem}
.hl-joint label,.hl-joint .hl-label{font-weight:600;font-size:.9rem}
.hl-range{flex:1 1 9rem;min-width:7rem;accent-color:var(--blue);height:2rem}
.hl-out{min-width:4.6rem;font-variant-numeric:tabular-nums;font-weight:600}
.hl-program{padding-inline-start:1.3rem}
.hl-program li{display:flex;flex-wrap:wrap;gap:.3rem .6rem;align-items:center;justify-content:space-between;margin:.25rem 0;font-size:.88rem}
.hl-log{padding-inline-start:1.3rem;font-size:.9rem}
.hl-belt{fill:color-mix(in srgb,var(--blue) 18%,transparent);stroke:var(--ink);stroke-width:1.5;stroke-dasharray:6 4}
.hl-press{fill:color-mix(in srgb,var(--gold) 22%,transparent);stroke:var(--ink);stroke-width:1.5}
.hl-base{fill:var(--muted);stroke:var(--ink)}
.hl-boom{stroke:var(--ink);stroke-width:7;stroke-linecap:round}
.hl-wrist{stroke:var(--ink);stroke-width:4;stroke-linecap:round}
.hl-part{fill:var(--gold);stroke:var(--ink);stroke-width:1.5}
.hl-tip{fill:var(--wall);stroke:var(--ink);stroke-width:2.5}
.hl-tip-closed{fill:var(--ink)}
.hl-grid{display:grid;grid-template-columns:repeat(10,minmax(24px,1fr));gap:2px;max-width:24rem;margin:.4rem 0 .8rem;padding:2px;background:var(--muted);border-radius:8px}
.hl-cellbtn{aspect-ratio:1;min-width:24px;min-height:24px;border:0;border-radius:3px;background:var(--wall);cursor:pointer;padding:0}
.hl-cellbtn.on{background:var(--ink)}
.hl-cellbtn:focus-visible{outline:3px solid var(--gold);outline-offset:1px;position:relative;z-index:1}
.hl-stored{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.hl-stored li{display:flex;gap:.4rem;align-items:center;border:1px solid var(--line);border-radius:10px;padding:.25rem .4rem}
.hl-thumb{width:40px;height:40px;image-rendering:pixelated;border:1px solid var(--muted)}
.hl-chart{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:12px;background:var(--wall)}
.hl-legend{display:flex;flex-wrap:wrap;gap:.4rem 1rem;list-style:none;padding:0;margin:.45rem 0;font-size:.88rem}
.hl-legend li{display:flex;gap:.4rem;align-items:center}
.hl-ls{display:inline-block;width:2.2rem;height:0;border-top:3px solid var(--blue)}
.hl-ls-dash{border-top:3px dashed var(--muted)}
.hl-ls-dot{border-top:3px dotted var(--gold)}
.hl-ls-valve{border-top:2px solid var(--ink)}
.hl-metrics{display:grid;grid-template-columns:max-content 1fr;gap:.2rem .9rem;margin:.4rem 0}
.hl-metrics dt{font-weight:600;color:var(--muted)}
.hl-metrics dd{margin:0;font-variant-numeric:tabular-nums}
.hist-compare{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.92rem}
.hist-compare th,.hist-compare td{border:1px solid var(--line);padding:.45rem .55rem;text-align:start;vertical-align:top}
.hist-compare thead th{background:color-mix(in srgb,var(--panel) 85%,var(--blue) 15%)}
.hist-figure{margin:1.2rem 0 1.6rem;background:var(--panel);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.hist-figure svg,.hist-figure img{display:block;width:100%;height:auto}
.hist-figure figcaption{padding:.75rem 1rem;color:var(--muted);font-size:.88rem}
.hist-figure .media-status{display:inline-block;margin:.75rem 1rem 0;padding:.15rem .6rem;border-radius:999px;border:1px solid var(--muted);font-size:.8rem;font-weight:600;color:var(--ink)}
.hist-related{display:grid;gap:.5rem;padding:0;list-style:none}
.hist-related a{display:block;padding:.6rem .8rem;border:1px solid var(--line);border-radius:12px;background:var(--panel);text-decoration:none}
@media (prefers-reduced-motion:reduce){.hl-lab *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
html[data-motion="reduce"] .hl-lab *{transition:none!important;animation:none!important}
@media (max-width:420px){.hl-btn{padding:.45rem .65rem}.hl-table{min-width:24rem}.hist-lab-section{padding:.8rem .7rem}}
/* Embedded view used inside the 3D rooms: only the interactive is shown. */
html.hist-embed body{background:var(--wall)}
html.hist-embed .site-skip-link,html.hist-embed header.top,html.hist-embed .site-mobile-drawer,html.hist-embed .site-mobile-backdrop,html.hist-embed nav.crumbs,html.hist-embed footer,html.hist-embed .mtn-global-header,html.hist-embed .global-shell,html.hist-embed #main-content>:not(.hist-lab-section):not(.hist-embed-bar){display:none!important}
html.hist-embed .wrap{width:min(1180px,calc(100% - 1rem))}
html.hist-embed .hist-lab-section{margin:.5rem 0;border:0;padding:.4rem}
.hist-embed-bar{display:none}
html.hist-embed .hist-embed-bar{display:flex;justify-content:flex-end;padding:.4rem 0}
html.hist-embed-in-room .hist-embed-bar{display:none}

.hl-scroll:focus-visible,.hl-trace:focus-visible,.hl-treebox:focus-visible,.hl-dialogue:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
@media (max-width:480px){.hl-metrics,.hl-parse{grid-template-columns:minmax(0,1fr)}.hl-metrics dd,.hl-parse dd{margin:0 0 .45rem}.hl-metrics dt,.hl-parse dt{overflow-wrap:anywhere}}

.hl-stage-action-wrap{padding:.35rem 0}.hl-stage-action{min-height:44px;width:100%;touch-action:manipulation}.hl-canvas[hidden]{display:none!important}.hl-stage-box canvas{pointer-events:auto}.hl-stage-box .hl-badge{pointer-events:none}.hl-stage-box .hl-stage-msg[hidden]{display:none!important}
