:root {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #ecf4f4;
  background: #0a121c;
  color-scheme: dark;
  --muted: #a8bbc4;
  --line: #314251;
  --copper: #edb290;
  --blue: #9dd8e8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: radial-gradient(ellipse at 38% 0, #182735, #0a121c 68%); min-height: 100vh; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a, summary, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid #91e6f7; outline-offset: 3px; }
button:disabled { cursor: default; }
a { color: inherit; }
.site-head, .page, .site-foot { width: min(1420px, calc(100% - 92px)); margin-inline: auto; }
.site-head { min-height: 74px; border-bottom: 1px solid #ffffff16; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.brand-icon { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #63b9d0; border-radius: 9px; background: linear-gradient(145deg, #1e667e, #14354d); color: #edf9fe; font-family: Georgia,serif; font-weight: 700; font-size: 1.05rem; }
.scope { font-size: .78rem; color: #c5d5da; font-weight: 600; white-space: nowrap; }
.scope span { padding-inline: 3px; color: #79aaba; }
.intro { padding: 28px 0 24px; }
h1 { margin: 0; font: 400 clamp(2.8rem, 5.3vw, 5rem)/1.03 Georgia, serif; letter-spacing: -.055em; color: #f2f4ee; }
h1 em { color: var(--copper); font-weight: 400; white-space: nowrap; }
.intro p { margin: .65rem 0 0; color: #b7c8cf; font-size: clamp(.96rem, 1.4vw, 1.15rem); }
.station-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.station-nav button { padding: .6em 1em; min-height: 44px; color: #d4e1e7; background: #142638; border: 1px solid #3b5261; border-radius: 8px; font-size: .87rem; font-weight: 650; }
.station-nav button[aria-pressed="true"] { border-color: #efb998; color: #ffdec9; background: #392e2e; }
.station-nav button:hover, .reset-electrodes:hover { border-color: #b6e0e9; }
.workbench { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 325px); grid-template-areas: "scene controls" "scene readout"; grid-template-rows: auto 1fr; gap: 14px 20px; align-items: start; }
.scene-card { grid-area: scene; overflow: clip; min-width: 0; border: 1px solid #334958; border-radius: 19px; background: #0e1d2a; box-shadow: 0 24px 45px #0004; }
.scene-toolbar { display: flex; gap: 6px; justify-content: space-between; padding: 8px 10px; min-height: 58px; align-items: center; background: #111e2b; border-bottom: 1px solid #253848; }
.view-group { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; }
.view-group button { min-height: 43px; padding: 0 12px; border: 1px solid transparent; border-radius: 9px; color: #c7d6dc; background: transparent; white-space: nowrap; font-size: .79rem; font-weight: 650; }
.view-group button:hover:not(:disabled) { background: #203341; }
.view-group button[aria-pressed="true"] { background: #213541; border-color: #406474; color: #e4f7fa; }
.view-icon { color: var(--blue); }
.viewport { height: clamp(450px, 40vw, 635px); position: relative; isolation: isolate; background: radial-gradient(ellipse at 55% 44%, #274051 0, #142a3a 41%, #0d1926 78%); overflow: clip; }
.render-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.render-layer > canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.zoom-group { position: absolute; bottom: 10px; right: 10px; z-index: 1; display: flex; gap: 4px; }
.zoom-group button { width: 44px; height: 44px; border: 1px solid #597280; border-radius: 8px; background: #112635eb; color: #d9f3f7; font-size: 1.25rem; }
.zoom-group button:hover { background: #295064; }
.scene-status { position: absolute; bottom: 12px; left: 12px; z-index: 1; padding: .45em .7em; border: 1px solid #4d6977; border-radius: 7px; background: #102433; font-size: .75rem; }
.scene-footer { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: #101d2a; border-top: 1px solid #294052; padding: 13px 14px; }
.close-caption { padding: 12px 16px; border-top: 1px solid #344b5a; background: #172838; }
.close-caption p { margin: 0; font-size: .88rem; line-height: 1.5; }
#close-equation { color: #e0f6f8; font: 600 1.05rem/1.5 Cambria,Georgia,serif; margin-bottom: 3px; }
.close-caption small { display: block; margin-top: 5px; color: #b3c6cd; }
.apparatus-key { display: flex; gap: 9px; align-items: start; justify-content: center; font-size: .8rem; }
.apparatus-key:not(:first-child) { border-left: 1px solid #2d4351; }
.apparatus-key strong, .apparatus-key small { display: block; }
.apparatus-key small { color: var(--muted); margin-top: .22em; }
.swatch { display: block; width: 10px; height: 10px; margin-top: 4px; flex: 0 0 auto; border-radius: 50%; }
.swatch.zinc { background: #c7d9e0; }
.swatch.bridge { background: #91dfd1; }
.swatch.copper { background: #e6a47b; }
.controls { grid-area: controls; align-self: end; padding: 18px; }
.readout { grid-area: readout; padding: 20px 18px; }
.controls, .readout { border: 1px solid #304354; background: linear-gradient(145deg,#142434,#101b27 75%); border-radius: 16px; min-width: 0; }
.controls h2, .reaction-section h2 { margin: 0 0 .8rem; font-size: .99rem; font-weight: 680; color: #ebf6f6; }
.mode-group { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; min-width: 0; }
.mode-group button, .swap { min-height: 47px; border: 1px solid #3a5161; border-radius: 9px; background: #122433; color: #d1e0e5; font-size: .81rem; font-weight: 675; padding: 7px; }
.mode-group button:hover, .swap:hover { border-color: #8ec8da; }
.mode-group button[aria-pressed="true"] { color: #10232e; background: #b5e0ea; border-color: #b5e0ea; }
.mode-icon { display: inline-block; margin-right: .15em; font-weight: 750; }
.swap { width: 100%; margin-top: 9px; }
.swap span { margin-right: 5px; color: var(--blue); font-size: 1.1rem; }
.quick-readout { display: none; }
.reading-label { font-size: .79rem; color: #b6cad4; font-weight: 650; margin: 0; }
.reading-value { display: flex; align-items: baseline; gap: .3em; margin: .16em 0 .06em; font: 560 clamp(2.75rem,4.6vw,4.45rem)/1.11 "Consolas","Lucida Console",monospace; color: #d4f5fc; letter-spacing: -.085em; font-variant-numeric: tabular-nums; }
.reading-value:has(.lamp-text) { color: #ffd4a7; font-family: Georgia,serif; letter-spacing: -.015em; }
#reading-unit { font-family: "Segoe UI",sans-serif; font-size: .41em; color: #a9d5de; letter-spacing: 0; }
.reading-secondary { margin: .15rem 0 .85rem; font-size: .9rem; color: #badce5; }
.lead-key { display: flex; flex-wrap: wrap; gap: 7px; }
.lead-key > span { display: flex; gap: 5px; align-items: center; font-size: .72rem; font-weight: 650; padding: 5px 8px; border: 1px solid #415060; border-radius: 7px; color: #d0dee1; }
.lead-dot { width: 7px; height: 7px; border-radius: 50%; background: #8090a5; display: inline-block; }
.lead-dot.red { background: #f79b8e; }
.what-changed { margin: 13px 0 13px; color: #cfdae0; font-size: .88rem; line-height: 1.55; }
.charge-toggle { border-top: 1px solid #344555; min-height: 45px; display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: .82rem; }
.charge-toggle input { width: 18px; height: 18px; margin: 0; accent-color: #a4e1e5; }
.model-note { color: #abbfc9; font-size: .77rem; line-height: 1.6; }
.model-note summary, .prediction summary { cursor: pointer; padding: 5px 0; }
.model-note p { margin: .4rem 0 0; }
.model-note + .model-note { margin-top: 3px; }
.reset-electrodes, .fault-panel select { min-height: 42px; border: 1px solid #506879; border-radius: 8px; padding: 7px 10px; color: #d6e9ee; background: #182c3b; max-width: 100%; }
.reset-electrodes { margin: 4px 0 7px; font-size: .8rem; }
.fault-panel { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 11px; }
.fault-panel h3 { margin: 0 0 8px; font-size: .96rem; }
.fault-panel label { display: block; margin-bottom: 4px; font-size: .8rem; }
.fault-panel select { width: 100%; font-size: .85rem; }
.fault-panel p { font-size: .83rem; line-height: 1.45; }
.fault-panel #fault-result { color: #b6eadb; }
.fault-panel .prediction-choices button { text-align: left; }
.notation { font: 1.2rem Georgia,serif; overflow-wrap: anywhere; }
.reaction-section { border-top: 1px solid #293c49; margin-top: 27px; padding: 18px 0 12px; }
.reaction-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 9px; }
.reaction-section h2 { font-size: 1.1rem; margin: 0; }
.reaction-heading p { margin: 0; color: #afc0c9; font-size: .86rem; }
.reaction-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 24px; }
.reaction-grid > div { padding: 7px 0 0 12px; border-left: 2px solid #47687a; }
.reaction-grid > div:nth-child(2) { border-color: #ad795e; }
.reaction-grid > div:nth-child(3) { border-color: #69adab; }
.reaction-grid h3, .reaction-grid p { margin: 0 0 .36rem; font-size: .83rem; }
.reaction-grid p:not(.equation) { color: #b6c6cc; line-height: 1.5; }
.reaction-grid .equation { color: #edf4f5; font-family: Cambria, Georgia, serif; font-size: 1.05rem; }
.prediction { border-top: 1px solid #293c49; margin-top: 15px; padding-top: 9px; }
.prediction summary { font-weight: 650; min-height: 41px; color: #d5e4e8; }
.prediction-content p { color: #cbdae1; margin: 6px 0 12px; }
.prediction-choices { display: flex; flex-wrap: wrap; gap: 7px; }
.prediction-choices button { color: #dbedf0; background: #142738; border: 1px solid #3b5565; padding: 8px 13px; border-radius: 8px; min-height: 44px; font-size: .83rem; }
.prediction-choices button:hover { border-color: #96c9d8; }
#prediction-result { color: #aee4df; }
.site-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid #293c49; margin-top: 27px; padding: 18px 0 25px; color: #a8bec8; font-size: .77rem; }
.no-script { padding: 16px; margin-inline: auto; max-width: 60ch; }
@media (max-width: 1000px) {
  .site-head, .page, .site-foot { width: calc(100% - 42px); }
  .workbench { grid-template-columns: minmax(0,1fr) 282px; gap: 12px; }
  .viewport { height: clamp(405px, 55vw, 550px); }
}
@media (max-width: 730px) {
  .site-head, .page, .site-foot { width: calc(100% - 28px); }
  .site-head { min-height: 55px; }
  .scope, .brand { font-size: .72rem; }
  .brand-icon { width: 29px; height: 29px; }
  .intro { padding: 20px 0 16px; }
  h1 { font-size: clamp(2.2rem, 8.3vw, 3.5rem); }
  .intro p { font-size: .88rem; max-width: 42ch; line-height: 1.45; }
  .station-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 10px; gap: 4px; }
  .station-nav button { font-size: .8rem; line-height: 1.2; padding: 5px; }
  .workbench { grid-template-columns: minmax(0,1fr); grid-template-areas: "controls" "scene" "readout"; gap: 9px; }
  .controls { display: grid; padding: 8px; grid-template-columns: minmax(0,1fr) auto; align-items: stretch; gap: 6px; }
  .controls h2 { grid-column: 1; grid-row: 1; align-self: center; margin: 0; font-size: .8rem; }
  .mode-group, .swap { grid-row: 2; }
  .mode-group { grid-column: 1; }
  .mode-group button, .swap { min-height: 44px; font-size: .73rem; padding-inline: 5px; line-height: 1.2; }
  .mode-icon { display: none; }
  .swap { width: auto; max-width: 112px; margin-top: 0; }
  .swap span { font-size: .9rem; margin-right: 0; }
  .mode-group:has(+ .swap[hidden]) { grid-column: 1/-1; }
  .quick-readout { display: block; grid-column: 2; grid-row: 1; justify-self: end; color: #c5edf5; font: 670 .79rem/1.2 Consolas,monospace; }
  .scene-card { border-radius: 13px; }
  .scene-toolbar { padding: 3px 5px; gap: 2px; min-height: 50px; }
  .scene-toolbar { flex-wrap: wrap; }
  .view-group { gap: 1px; }
  .view-group button { padding-inline: 6px; font-size: .71rem; min-height: 43px; }
  .viewport { height: clamp(286px, 84vw, 485px); }
  .scene-footer { padding: 9px 2px; }
  .apparatus-key { gap: 4px; font-size: .68rem; }
  .swatch { width: 6px; height: 6px; margin-top: 5px; }
  .readout { padding: 13px 15px; }
  .reaction-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
}
@media (max-width: 365px) {
  .site-head, .page, .site-foot { width: calc(100% - 20px); }
  .view-group button { padding-inline: 4px; }
  .scope { font-size: .66rem; }
}
@media (pointer: coarse), (max-width: 730px) {
  .render-layer > canvas { touch-action: pan-y !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before,*::after { scroll-behavior: auto !important; }
}

.eci { color: #eaf2f4; }
.eci-intro { max-width: 64ch; margin: 0 0 1.2rem; }
.eci h2, .eci h3, .eci p { margin: 0; }
.eci h2 { font: 400 clamp(1.65rem,5vw,2.8rem)/1.02 Georgia,serif; letter-spacing: -.035em; }
.eci h3 { font-size: 1rem; }
.eci-intro p, .eci-challenge p { margin-top: .65rem; line-height: 1.55; color: #b6cbd5; }
.eci-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 1rem; align-items: stretch; }
.eci-card { min-width: 0; padding: clamp(.7rem,3vw,1.35rem); border: 1px solid #334957; background: #112333; border-radius: 14px; }
.eci-bench { display: flex; flex-direction: column; gap: .75rem; }
.eci-question { padding: 0; margin: 0; border: 0; min-width: 0; }
.eci-question legend { padding: 0; margin: 0 0 .45rem; font-weight: 660; }
.eci button, .eci select {
  min-height: 44px; border: 1px solid #426179; border-radius: 8px; padding: .48rem .7rem;
  background: #162e41; color: #e4f1f5; font: 600 .86rem/1.3 "Segoe UI",system-ui,sans-serif;
}
.eci button[aria-pressed="true"] { background: #dcb18e; color: #23190f; border-color: #dcb18e; }
.eci button:hover:not(:disabled), .eci select:hover { border-color: #9dd8e8; }
.eci button:disabled { color: #aac0c8; background: #1d3443; opacity: .84; }
.eci .eci-primary:not(:disabled) { background: #a3dbe5; color: #0c2835; border-color: #a3dbe5; }
.eci-options { display: flex; flex-wrap: wrap; gap: .35rem; }
.eci-run { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
.eci-run > label { font-weight: 620; font-size: .84rem; display: grid; gap: .35rem; min-width: 0; }
.eci .eci-link { align-self: start; background: transparent; color: #b6e1ec; }
.eci-feedback:not(:empty) { line-height: 1.47; color: #cce8ed; padding: .48rem .55rem; border-left: 2px solid #65c6cb; background: #0b1d29; font-size: .84rem; }
.eci-meter { color: #a7e3e9; display: flex; flex-wrap: wrap; gap: .36rem; align-items: baseline; padding: .45rem .6rem; border-radius: 8px; background: #091923; border: 1px solid #2e4a56; }
.eci-meter strong { min-width: 6ch; font: 440 clamp(1.45rem,6vw,2.6rem)/1.15 Consolas, monospace; letter-spacing: -.09em; font-variant-numeric: tabular-nums; }
.eci-meter small { margin-left: auto; color: #b7cbd1; }
.eci .eci-caption { color: #b2c6ce; font-size: .85rem; line-height: 1.5; }
.eci-chart { margin: .4rem 0; }
.eci-chart svg { display: block; width: 100%; max-height: 350px; aspect-ratio: 337/226; }
.eci-chart svg text { fill: #d5e5e9; font: 11px "Segoe UI",system-ui,sans-serif; }
.eci-chart svg .eci-standard-label { fill: #f0b58d; font-size: 10px; paint-order: stroke fill; stroke: #112333; stroke-width: 2px; }
.eci-grid { stroke: #365261; }
.eci-axis { stroke: #82a5ae; fill: none; }
.eci-standard { stroke: #e9ad84; stroke-width: 1.4; stroke-dasharray: 5 4; }
.eci-reading { fill: #86b9e1; opacity: .9; }
.eci-mean-line { stroke: #80e2d4; stroke-width: 1.7; fill: none; }
.eci-mean { fill: #112333; stroke: #80e2d4; stroke-width: 2; }
.eci-key { display: flex; flex-wrap: wrap; gap: .3rem .9rem; color: #c6d9df; font-size: .76rem; }
.eci-key span { display: inline-flex; align-items: center; gap: 5px; }
.eci-key span::before { content: ""; display: inline-block; width: 7px; height: 7px; box-sizing: border-box; }
.eci-key-read::before { border-radius: 50%; background: #86b9e1; }
.eci-key-mean::before { border: 2px solid #80e2d4; border-radius: 50%; }
.eci-key span.eci-key-standard::before { width: 14px; height: 0; border-top: 2px dashed #e9ad84; }
.eci-results, .eci-challenge { margin: 1rem 0 0; display: grid; gap: .65rem; }
.eci-table-wrap { overflow-x: auto; }
.eci table { width: 100%; border-collapse: collapse; text-align: right; font-size: .83rem; font-variant-numeric: tabular-nums; }
.eci table th, .eci table td { padding: .38rem .55rem; border-bottom: 1px solid #37515e; white-space: nowrap; }
.eci table th:first-child { text-align: left; }
.eci .eci-selected { background: #234050; }
.eci table td del { color: #e8a794; }
.eci-anomaly { display: grid; gap: .45rem; }
.eci-anomaly .eci-primary { justify-self: start; }
.eci-challenge summary { cursor: pointer; font-weight: 670; }
.eci-challenge[open] .eci-options { margin-top: .65rem; }
.eci-challenge[open] .eci-feedback:not(:empty) { margin-top: .55rem; }
.eci-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:720px) { .eci-layout {grid-template-columns: minmax(0,1fr);} }
@media(max-width:420px) {
  .eci table { font-size: .72rem; }
  .eci table th, .eci table td { padding-inline: .25rem; }
}

.she-station { --she-line:#33515f; --she-sheet:#122533; color:#eaf1f3; margin:.75rem 0 0; min-width:0; }
.she-station h3 { font-size:1rem; margin:0 0 .7rem; }
.she-intro { margin-bottom:1rem; }
.she-intro h2 { font:400 clamp(2rem,4.8vw,3.4rem)/1.05 Georgia,serif; margin:0 0 .45rem; letter-spacing:-.04em; }
.she-intro p,.she-explain p,.she-compare p { color:#c0d1d9; margin:.36rem 0; line-height:1.53; font-size:.9rem; }
.she-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(16rem,21rem); gap:14px; }
.she-viewbox,.she-explain,.she-series,.she-practice { min-width:0; background:var(--she-sheet); border:1px solid var(--she-line); border-radius:15px; overflow:clip; }
.she-toolbar,.she-actions { display:flex; flex-wrap:wrap; gap:5px; }
.she-toolbar { padding:7px; border-bottom:1px solid var(--she-line); justify-content:space-between; }
.she-station button,.she-station select { min-height:43px; background:#193341; border:1px solid #486975; border-radius:8px; color:#e6f4f5; padding:.43rem .67rem; font:inherit; font-size:.81rem; }
.she-station button:hover:not(:disabled) { border-color:#9ed0d8; }
.she-station button[aria-pressed=true] { background:#a9dce6; color:#102833; border-color:#a9dce6; font-weight:700; }
.she-window { height:clamp(320px,38vw,540px); position:relative; background:radial-gradient(ellipse at 49% 40%,#2d4959,#132839 64%,#0b1927); isolation:isolate; overflow:clip; }
.she-render,.she-schematic { position:absolute; inset:0; }
.she-render canvas,.she-schematic svg { display:block; width:100%; height:100%; }
.she-zoom { display:flex; gap:4px; margin-left:3px; }
.she-zoom button { min-width:43px; background:#183142; font-weight:670; }
.she-key { display:grid; grid-template-columns:1fr 1fr; gap:9px; padding:.7rem .85rem; color:#c6dbe0; font-size:.78rem; border-bottom:1px solid var(--she-line); }
.she-key>span+span { border-left:1px solid var(--she-line); padding-left:.65rem; }
.she-key strong { color:#f2f8f8; display:block; margin-bottom:.17rem; }
.she-view-caption { margin:0; padding:.65rem .85rem; color:#d1e8ec; font-size:.83rem; line-height:1.45; }
.she-explain { padding:1.05rem; align-self:start; background:linear-gradient(145deg,#173343,#122533); }
.she-reading { margin:.72rem 0; border-block:1px solid var(--she-line); padding:.6rem 0; }
.she-reading small { display:block; color:#bdd7e1; }
.she-reading output,.she-compare output { display:block; font:600 clamp(2rem,4vw,3.2rem)/1.2 Consolas,monospace; color:#caf3eb; letter-spacing:-.04em; }
.she-data { display:grid; grid-template-columns:1fr 1fr; gap:.42rem .57rem; margin:.75rem 0 0; }
.she-data p { margin:0; font-size:.78rem; }
.she-data strong { display:block; color:#eff9f6; }
.she-series,.she-practice { margin-top:14px; padding:1rem; }
.she-series { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:17px; }
.she-series table { border-collapse:collapse; width:100%; text-align:left; font-size:.86rem; }
.she-series th,.she-series td { border-bottom:1px solid var(--she-line); padding:.47rem .42rem; }
.she-series thead th { color:#c2d9df; }
.she-series tbody th { font-weight:480; overflow-wrap:anywhere; }
.she-series th:last-child,.she-series td:last-child { white-space:nowrap; font-variant-numeric:tabular-nums; }
.she-series .she-reference-row { background:#234350; }
.she-compare { padding:.75rem .85rem; border-left:1px solid var(--she-line); }
.she-compare label { display:grid; gap:.38rem; font-size:.82rem; }
.she-compare select { width:100%; }
.she-compare output { margin:.3rem 0; font-size:2.08rem; }
.she-practice>p,.she-item p,.she-item li { font-size:.85rem; color:#c7d9e0; line-height:1.5; }
.she-practice [data-she-practice] { display:grid; grid-template-columns:1fr 1fr; gap:10px 15px; }
.she-item { padding:.8rem 0 .35rem; border-top:1px solid var(--she-line); }
.she-item h4 { font-size:.92rem; margin:0 .3rem .48rem 0; }
.she-item p { margin:.3rem 0; }
.she-item .she-marks { color:#b7d8e2; font-variant-numeric:tabular-nums; text-align:right; }
.she-item summary { color:#a9e4e8; cursor:pointer; min-height:37px; padding:.38rem 0; font-size:.84rem; font-weight:650; }
.she-item details ol { margin:.3rem 0 .55rem; padding-left:1.25rem; }
.she-item li { padding-bottom:.25rem; }
.she-item .she-tip { color:#c0e2d7; }
@media (max-width:850px) {
  .she-layout { grid-template-columns:1fr; }
  .she-window { height:clamp(275px,83vw,445px); }
  .she-toolbar,.she-actions { gap:4px; }
  .she-toolbar button { padding:.39rem .46rem; font-size:.76rem; }
  .she-key { font-size:.72rem; }
}
@media (max-width:560px) {
  .she-series,.she-practice [data-she-practice] { grid-template-columns:1fr; }
  .she-compare { border-left:0; border-top:1px solid var(--she-line); padding:.8rem 0 0; }
  .she-series,.she-practice,.she-explain { padding:.79rem; }
}
@media (max-width:850px),(pointer:coarse) { .she-render canvas { touch-action:pan-y!important; } }
.part-finder { padding:.55rem .85rem; border-block:1px solid var(--she-line); background:#142c39; }
.part-finder label { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem .75rem; font-size:.84rem; font-weight:600; }
.part-finder select { max-width:100%; min-height:40px; font-weight:400; }
.part-finder p { margin:.42rem 0 .1rem; font-size:.84rem; color:#d5e9ec; line-height:1.45; }
.part-ring { position:absolute; width:29px; height:29px; transform:translate(-50%,-50%); pointer-events:none; border-radius:50%; border:2px solid #ffe095; box-shadow:0 0 0 1.5px #42331d, inset 0 0 0 1px #42331d; }

/* The surrounding site supplies the page heading, navigation and board switch. */
body { min-height: 0; }
.studio-page { width: 100%; padding: .85rem; overflow: clip; }
.studio-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; border-top: 1px solid var(--line); padding-top: .8rem; margin-top: 1rem; }
.studio-links a { color: #b9e2ea; min-height: 42px; padding: .6rem 0; font-size: .84rem; font-weight: 650; }
.studio-links a:hover { color: #f4fbfc; }
.studio-page .station-nav { margin-bottom: .75rem; }
@media (max-width: 520px) {
  .studio-page { padding: .5rem; }
  .studio-page .station-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-page .station-nav button { padding-inline: .3rem; line-height: 1.15; font-size: .82rem; }
}
