/* v291: compact the practice keys, use the available board area, and clarify controls. */
html body.wide-workspace #practiceMenu { flex-basis:158px!important; width:158px!important; padding:7px!important; }
html body.wide-workspace #practiceMenu .mission { min-height:82px!important; height:82px!important; margin:2px 1px 6px!important; padding:40px 5px 10px!important; font-size:11px!important; line-height:1.08!important; letter-spacing:.015em!important; }
html body.wide-workspace #practiceMenu .mission::before { top:5px!important; width:30px!important; height:26px!important; border-radius:6px!important; }
html body.wide-workspace #practiceMenu .mission::after { bottom:4px!important; height:3px!important; }
html body .photo-key.desktop-practice-key { height:82px!important; margin:1px 2px 5px!important; }
html body .photo-key.desktop-practice-key>.key-face>.key-symbol { top:7%!important; height:31%!important; }
html body .photo-key.desktop-practice-key>.key-face>.key-symbol svg { width:24px!important; height:24px!important; }
html body .photo-key.desktop-practice-key>.key-face>.key-caption { top:41%!important; height:49%!important; font-size:10.5px!important; line-height:1.04!important; }
html body .photo-key.desktop-practice-key>.key-face>.key-caption small { font-size:9px!important; line-height:1!important; }
html body .photo-key.desktop-toolbar-key { width:68px!important; height:60px!important; flex-basis:68px!important; margin:1px 2px 5px!important; }
html body .photo-key.desktop-toolbar-key>.key-face>.key-symbol { top:6%!important; height:31%!important; }
html body .photo-key.desktop-toolbar-key>.key-face>.key-symbol svg { width:19px!important; height:19px!important; }
html body .photo-key.desktop-toolbar-key>.key-face>.key-caption { top:39%!important; height:53%!important; font-size:9px!important; line-height:1!important; }
html body .photo-key.desktop-toolbar-key>.key-face>.key-caption small { font-size:8px!important; }
html body .photo-key:not(.gold-letter-key)>.key-face>.key-caption {
  color:#f2dfa9!important; -webkit-text-fill-color:#f2dfa9!important;
  -webkit-text-stroke:.25px #46341d!important;
  text-shadow:0 -1px 0 #fff1c899,0 1px 0 #4a3419,0 2px 2px #000b!important;
  filter:none!important;
}
html body.wide-workspace .workspace-options-hint {
  color:#d3e3eb!important; font-size:12px!important; line-height:1.35!important;
  margin:6px 8px!important;
}
html body.wide-workspace .board-viewport {
  background-color:#101619!important;
  background-image:repeating-linear-gradient(165deg,#ffffff08 0 1px,transparent 1px 5px,#00000016 5px 6px,transparent 6px 12px),radial-gradient(ellipse at 50% 46%,#263238 0%,#151d21 64%,#090e11 100%)!important;
  border:1px solid #59666b!important; box-shadow:inset 0 0 18px #000b,0 0 0 2px #20282b!important;
}

/* Engrave existing board labels into the scene without adding plaques or moving terminals. */
html body.wide-workspace #board .device h3,
html body.wide-workspace #board .terminal-wrap,
html body.wide-workspace #board .panel-explainer,
html body.wide-workspace #board .service-flow-head,
html body.wide-workspace #board .service-flow-foot {
  color:#e8d7a5!important; -webkit-text-fill-color:#e8d7a5!important;
  -webkit-text-stroke:.18px #5a4528!important;
  text-shadow:0 -1px 0 #fff5d4a8,0 1px 0 #4d381e,0 2px 2px #000b!important;
  filter:none!important;
}
html body.wide-workspace #board .device h3 { background:transparent!important; border:0!important; box-shadow:none!important; }

/* Sculpted graphite meter case, recessed display, tactile buttons. */
html body.wide-workspace .meter {
  position:relative!important; border:5px solid #151d23!important;
  border-radius:22px 22px 30px 30px!important; padding:30px 13px 13px!important;
  background:repeating-linear-gradient(165deg,#ffffff0b 0 1px,transparent 1px 5px,#00000018 5px 6px,transparent 6px 12px),linear-gradient(145deg,#7b8990 0%,#48575f 13%,#26343c 38%,#111a20 58%,#374750 100%)!important;
  box-shadow:inset 2px 2px 2px #ffffff90,inset -3px -6px 8px #03080d,0 4px 0 #69777c,0 8px 0 #202a30,5px 12px 16px #000b!important;
  transform:perspective(900px) rotateY(-1deg);
}
html body.wide-workspace .meter::before {
  content:"VOLTÍMETRO DIGITAL · TRUE RMS"!important; position:absolute!important;
  top:8px!important; left:14px!important; right:14px!important; color:#f1e1bd!important;
  font:800 10px/1.2 system-ui,sans-serif!important; letter-spacing:.09em!important;
  text-align:center!important; text-shadow:0 1px 1px #000!important;
}
html body.wide-workspace .meter::after {
  content:""!important; position:absolute!important; top:23px!important; left:18%!important; right:18%!important;
  height:2px!important; border-radius:3px!important;
  background:linear-gradient(90deg,transparent,#f14857 22%,#fff5e9 50%,#f14857 78%,transparent)!important;
  box-shadow:0 0 7px #fa4256!important;
}
html body.wide-workspace .meter .meter-top { color:#d8f5e3!important; border:1px solid #6a7d77!important; background:linear-gradient(#17221f,#070c0b)!important; box-shadow:inset 0 2px 5px #000,0 1px 0 #b3c0ba!important; }
html body.wide-workspace .meter .screen { min-height:72px!important; border:3px solid #65756d!important; border-radius:8px!important; background:linear-gradient(160deg,#1b2925,#07100d 72%)!important; color:#86ffb5!important; text-shadow:0 0 4px #50ff9a,0 0 14px #18d779!important; box-shadow:inset 0 5px 12px #000,inset 0 0 10px #000,0 1px 0 #d9e2db!important; }
html body.wide-workspace .meter .meter-mode { min-height:38px!important; border:2px solid #12191e!important; border-top-color:#b6c3c6!important; border-radius:8px!important; background:linear-gradient(165deg,#58676e,#18232a 52%,#0c1318)!important; color:#f4f5e9!important; box-shadow:inset 0 1px 1px #fff7,0 3px 0 #080d10,0 5px 5px #0008!important; }
html body.wide-workspace .meter .meter-mode.active { background:linear-gradient(#fff1b6,#d9a82e 55%,#805116)!important; color:#211a0c!important; box-shadow:inset 0 1px #fff,0 3px 0 #5c390d,0 0 9px #ffc84988!important; }
html body.wide-workspace .meter small { color:#e0e9e9!important; font-weight:600!important; }

/* Black scroll rails with the requested red-and-white lamp glow. */
html::-webkit-scrollbar,body::-webkit-scrollbar,#practiceMenu::-webkit-scrollbar,.mission-list::-webkit-scrollbar,.board-viewport::-webkit-scrollbar { width:12px!important; height:12px!important; }
html::-webkit-scrollbar-track,body::-webkit-scrollbar-track,#practiceMenu::-webkit-scrollbar-track,.mission-list::-webkit-scrollbar-track,.board-viewport::-webkit-scrollbar-track {
  background:linear-gradient(90deg,#030609,#101518 50%,#030609)!important; border:1px solid #263039!important; box-shadow:inset 0 0 5px #000!important;
}
html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,#practiceMenu::-webkit-scrollbar-thumb,.mission-list::-webkit-scrollbar-thumb,.board-viewport::-webkit-scrollbar-thumb {
  background:linear-gradient(180deg,#fff9f1 0 8%,#a61729 8% 26%,#fa4053 26% 42%,#fff 42% 56%,#ce2539 56% 88%,#fff2e9 88% 100%)!important;
  border:2px solid #090d10!important; border-radius:8px!important; box-shadow:inset 0 0 4px #fff,0 0 8px #ff3048!important;
}
html::-webkit-scrollbar-thumb:horizontal,body::-webkit-scrollbar-thumb:horizontal,#practiceMenu::-webkit-scrollbar-thumb:horizontal,.mission-list::-webkit-scrollbar-thumb:horizontal,.board-viewport::-webkit-scrollbar-thumb:horizontal {
  background:linear-gradient(90deg,#fff9f1 0 8%,#a61729 8% 26%,#fa4053 26% 42%,#fff 42% 56%,#ce2539 56% 88%,#fff2e9 88% 100%)!important;
}
html::-webkit-scrollbar-thumb:hover,body::-webkit-scrollbar-thumb:hover,#practiceMenu::-webkit-scrollbar-thumb:hover,.mission-list::-webkit-scrollbar-thumb:hover,.board-viewport::-webkit-scrollbar-thumb:hover { filter:brightness(1.2)!important; box-shadow:inset 0 0 6px #fff,0 0 12px #ff3048!important; }

/* Return to a fitted drawing after fullscreen, including browser fallback fullscreen. */
body.wide-workspace #workspace:fullscreen, body.wide-workspace #workspace.workspace-expanded { overflow:hidden!important; }
body.wide-workspace #workspace:fullscreen .board-viewport, body.wide-workspace #workspace.workspace-expanded .board-viewport { flex:1 1 auto!important; width:100%!important; min-width:0!important; margin-inline:auto!important; }
body.wide-workspace #workspace:fullscreen #practiceMenu, body.wide-workspace #workspace.workspace-expanded #practiceMenu { flex-basis:138px!important; width:138px!important; max-height:calc(100dvh - 18px)!important; }

/* Make the practice selector unmistakable on touch screens; keep all 23 entries. */
@media (max-width:700px),(pointer:coarse),(max-width:950px) and (max-height:500px) {
 html body.wide-workspace #practiceMenuToggle { display:inline-flex!important; order:-100!important; width:112px!important; height:58px!important; flex:0 0 112px!important; }
 html body.wide-workspace #practiceMenuToggle>.key-face>.key-caption { top:40%!important; height:53%!important; font-size:10px!important; line-height:1!important; }
 html body.wide-workspace #practiceMenu { display:none!important; width:100%!important; flex-basis:auto!important; max-height:42dvh!important; padding:6px!important; overflow:auto!important; }
 html body.wide-workspace .practice-menu-open>#practiceMenu { display:block!important; }
 html body.wide-workspace #practiceMenu .mission-list { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:5px!important; }
 html body.wide-workspace #practiceMenu .mission { width:100%!important; min-height:68px!important; height:68px!important; margin:1px 0 4px!important; padding:32px 4px 8px!important; font-size:10px!important; line-height:1.02!important; }
 html body.wide-workspace #practiceMenu .mission::before { top:4px!important; width:26px!important; height:22px!important; }
 html body.wide-workspace #practiceMenu .mission::after { bottom:3px!important; height:3px!important; }
 html body.wide-workspace #practiceMenu .mission>.key-face>.key-symbol svg { width:20px!important; height:20px!important; }
 html body.wide-workspace #practiceMenu .mission>.key-face>.key-caption { top:40%!important; height:51%!important; font-size:9px!important; line-height:1!important; }
 html body.wide-workspace #practiceMenu .mission>.key-face>.key-caption small { font-size:8px!important; line-height:1!important; }
 html body.wide-workspace .meter { transform:none!important; }
}
@media (prefers-reduced-motion:reduce) { html body .photo-key,html body .meter { transition:none!important; } }

/* v293 final: keep legends on the glass face and symbols inside the red inset. */
html body .photo-key.photo-key>.key-face>.key-caption{left:14%!important;right:14%!important;top:14%!important;height:33%!important;font-size:12px!important;line-height:1.12!important;overflow:hidden!important;color:#ddfaff!important;-webkit-text-fill-color:#ddfaff!important;-webkit-text-stroke:.25px #061720!important;text-shadow:0 -1px 1px #000,0 1px 0 #bcf5ff66!important;filter:url(#key-cut-light)!important}
html body .photo-key.photo-key>.key-face>.key-symbol{left:30%!important;right:30%!important;top:53%!important;height:16%!important}
html body .photo-key.photo-key>.key-face>.key-symbol svg{height:18px!important;width:18px!important;max-height:100%!important;stroke-width:1.8}
html body .photo-key.photo-key.gold-letter-key>.key-face>.key-caption{color:#fff09b!important;-webkit-text-fill-color:#fff09b!important;filter:url(#key-cut-gold)!important}
html body .engraved-nameplate>.engraved-lettering{color:#b9e9ef!important;-webkit-text-fill-color:#b9e9ef!important;-webkit-text-stroke:.3px #06131b!important;filter:url(#key-cut-light)!important;text-shadow:0 -1px 1px #000,0 1px 0 #d8fbff88!important}
html body .photo-key.photo-key:not(#old-key):not(#legacy-key).key-confirmed::after{transform:translateY(3px) scale(.975)!important;filter:brightness(1.25) drop-shadow(0 0 5px #a5f5ff)!important}
html body .photo-key.key-confirmed>.key-face>.key-symbol,html body .photo-key.key-confirmed>.key-face>.key-caption{transform:none!important}
html body .photo-key.photo-key:is(.active,[aria-pressed="true"],[aria-current="page"]){outline:2px solid #a1f6ff!important;outline-offset:-5px!important;filter:drop-shadow(0 0 5px #42dfff)!important}
html body .photo-key.photo-key:is(.active,[aria-pressed="true"],[aria-current="page"])>.key-face>.key-symbol{color:#fff!important;filter:url(#key-text-recess)!important}
.key-action-feedback{position:fixed;left:50%;bottom:18px;translate:-50% 0;z-index:2147483001;max-width:90vw;padding:10px 18px;border:1px solid #8debf4;border-radius:8px;background:#091e28;color:#e5fcff;box-shadow:0 4px 18px #0008;font:700 14px/1.3 system-ui;pointer-events:none;opacity:0}
.key-action-feedback.visible{opacity:1}

@media(max-width:700px),(pointer:coarse){html body .photo-key.photo-key>.key-face>.key-caption{font-size:10px!important}html body .photo-key.photo-key>.key-face>.key-symbol svg{width:12px!important;height:12px!important}html body #practiceMenu .photo-key.photo-key{height:112px!important;min-height:112px!important}}

html body .completion-replay{display:block;margin:8px 12px;padding:10px 16px;background:#10382e;color:#d9ffe9;border:1px solid #6adeab;border-radius:8px;font:700 14px/1.4 system-ui;cursor:pointer}html body .completion-replay[hidden]{display:none!important}

/* All submenu controls use the same caption area, without legacy overlapping symbols. */
html body .photo-key.photo-key>.key-face>.key-caption{font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important;letter-spacing:0!important;filter:url(#key-text-recess)!important;text-shadow:none!important;-webkit-text-stroke:0!important}
html body .photo-key.photo-key.gold-letter-key>.key-face>.key-caption{filter:url(#key-text-recess-gold)!important}
html body summary.photo-key{display:block!important;list-style:none!important}
html body summary.photo-key::marker,html body summary.photo-key::-webkit-details-marker{display:none!important;content:''!important}
html body .photo-key .key-caption .summary-spark,html body .photo-key .key-caption .summary-icon{display:none!important}
html body #practiceMenu .ref-details,html body #sensorHelpMenu .ref-details{min-width:0!important;padding:4px!important;box-sizing:border-box!important}
html body .approved-help-note{font:500 14px/1.5 Arial,Helvetica,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:8px 5px 14px!important;color:#e6f7fb!important;text-shadow:none!important}
@media(min-width:701px) and (pointer:fine){html body .photo-key.photo-key>.key-face>.key-caption{font-size:13px!important;line-height:1.15!important}}
html body #practiceMenu .help-catalog,html body #sensorHelpMenu .help-catalog{padding:0!important;min-width:0!important;border:0!important;background:none!important;box-shadow:none!important}

/* Sensors: three visible destinations and a full-width, usable drawing area. */
html body.sensor-page nav[aria-label="Prácticas de sensores"]{display:grid!important;grid-template-columns:repeat(3,minmax(0,190px))!important;gap:8px!important;overflow:visible!important;padding:8px!important;white-space:normal!important}
html body.sensor-page nav[aria-label="Prácticas de sensores"] .photo-key{width:100%!important;min-width:0!important;margin:0!important}
html body.sensor-page nav .photo-key[aria-current="true"]{outline:2px solid #9ff8ff!important;outline-offset:-4px!important}
html body.sensor-page .sensor-lab{grid-template-columns:minmax(0,1fr)!important}
html body.sensor-page .sensor-work{width:100%!important;min-width:0!important}
html body.sensor-page .sensor-live-panel{max-width:720px;width:100%}
html body.sensor-page .photo-key>.key-face>.key-caption{filter:none!important;text-shadow:0 -1px #06151f!important;-webkit-text-stroke:0!important;font-size:14px!important;line-height:1.15!important}
html body.sensor-full-view>header,html body.sensor-full-view>#sensorHelpMenu,html body.sensor-full-view .sensor-practice-links{display:none!important}
html body.sensor-expanded{overflow:hidden!important}
html body.sensor-expanded>main{position:fixed!important;inset:0!important;overflow:auto!important;background:#07131e;z-index:1000;padding:8px!important}
@media(max-width:600px){html body.sensor-page nav .photo-key>.key-face>.key-caption{font-size:12px!important}html body.sensor-page .sensor-tools,html body.sensor-page .sensor-view-controls{flex-wrap:wrap!important}}

html body.sensor-page nav .photo-key>.key-face>.key-caption{font-size:12px!important;line-height:1.05!important}

/* Restore the desktop dimensions and label space of the accepted compact layout.
   The later caption rules must not squeeze labels into 33% and grow the keys. */
@media(min-width:701px) and (pointer:fine){
 html body.wide-workspace #practiceMenu{width:158px!important;flex-basis:158px!important}
 html body.wide-workspace #workspace:fullscreen #practiceMenu,html body.wide-workspace #workspace.workspace-expanded #practiceMenu{width:138px!important;flex-basis:138px!important}
 html body .photo-key.photo-key.desktop-practice-key>.key-face>.key-caption{left:13%!important;right:13%!important;top:41%!important;height:49%!important;font-size:10.5px!important;line-height:1.04!important;overflow:visible!important}
 html body .photo-key.photo-key.desktop-practice-key>.key-face>.key-symbol{left:17%!important;right:17%!important;top:16%!important;height:23%!important}
 html body .photo-key.photo-key.desktop-practice-key>.key-face>.key-symbol svg{width:24px!important;height:24px!important}
 html body .photo-key.photo-key.desktop-toolbar-key>.key-face>.key-caption{left:6%!important;right:6%!important;top:39%!important;height:53%!important;font-size:9px!important;line-height:1!important;overflow:visible!important}
 html body .photo-key.photo-key.desktop-toolbar-key>.key-face>.key-symbol{left:19%!important;right:19%!important;top:16%!important;height:23%!important}
 html body .photo-key.photo-key.desktop-toolbar-key>.key-face>.key-symbol svg{width:19px!important;height:19px!important}
}

/* v296: titles are cut directly into the stationary mounting surface. */
html body .engraved-nameplate.engraved-nameplate {
 background:none!important;border:0!important;box-shadow:none!important;
 border-radius:0!important;padding:0!important;
}
html body .engraved-nameplate.engraved-nameplate>.engraved-lettering {
 color:#bccacb!important;-webkit-text-fill-color:#bccacb!important;
 -webkit-text-stroke:0!important;text-shadow:none!important;
 filter:url(#plate-text-recess)!important;
}

/* Close-packed desktop controls recover height for the complete circuit. */
@media(min-width:701px) and (pointer:fine){
 html body header {
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  justify-content:flex-start!important;gap:2px 4px!important;
  padding:6px 12px!important;margin-bottom:4px!important;
 }
 html body header .brand {margin-right:8px!important}
 html body header .status {margin-right:auto!important}
 html body header .premium-option {margin:0!important;padding:0!important;flex:0 0 auto!important}
 html body .photo-key.photo-key.desktop-header-key {width:88px!important;min-height:72px!important;flex-basis:88px!important}
 html body .photo-key.photo-key.desktop-header-key>.key-face>.key-symbol {left:19%!important;right:19%!important;top:16%!important;height:23%!important}
 html body .photo-key.photo-key.desktop-header-key>.key-face>.key-symbol svg {width:20px!important;height:20px!important;max-height:100%!important}
 html body .photo-key.photo-key.desktop-header-key>.key-face>.key-caption {left:10%!important;right:10%!important;top:40%!important;height:49%!important;font-size:10.5px!important;line-height:1.05!important;overflow:visible!important}
 html body .photo-key.photo-key.desktop-header-key>.key-face>.key-caption small {font-size:9px!important;line-height:1!important}
 html body.wide-workspace .toolbar {justify-content:flex-start!important;gap:2px 6px!important;padding:5px 8px!important}
 html body.wide-workspace .toolbar>.tools {gap:2px!important}
 html body.wide-workspace #practiceMenu .mission-list {gap:1px!important}
 html body.wide-workspace #practiceMenu h2 {margin:3px 0 6px!important}
 html body.wide-workspace #practiceMenu .workspace-options {margin-top:4px!important}
 html body.wide-workspace #practiceMenu .workspace-options-content {gap:2px!important;padding:3px!important}
 html body.wide-workspace #practiceMenu .workspace-settings {margin:4px 0!important}
}

/* v297: recessed blue-lit engraving, without changing key geometry. */
html body .photo-key.photo-key>.key-face>.key-caption,
html body .photo-key.photo-key>.key-face>.key-symbol,
html body .photo-key.photo-key.gold-letter-key>.key-face>.key-caption,
html body .photo-key.photo-key.gold-letter-key>.key-face>.key-caption small {
 color:#83ccff!important;-webkit-text-fill-color:#83ccff!important;
 -webkit-text-stroke:0!important;text-shadow:none!important;
 filter:url(#key-text-recess)!important;
}
html body .engraved-nameplate.engraved-nameplate>.engraved-lettering {
 color:#83ccff!important;-webkit-text-fill-color:#83ccff!important;
 filter:url(#plate-text-recess)!important;
}

/* v298: yellow reference keys and machined inset title/selector surfaces. */
html body .photo-key.photo-key.gold-letter-key>.key-face>.key-caption,
html body .photo-key.photo-key.gold-letter-key>.key-face>.key-caption small,
html body .photo-key.photo-key.gold-letter-key>.key-face>.key-symbol {
 color:#ffe16a!important;-webkit-text-fill-color:#ffe16a!important;
 filter:url(#key-text-recess-gold)!important;
}
html body .engraved-nameplate.engraved-nameplate>.engraved-lettering {
 color:#69b1d8!important;-webkit-text-fill-color:#69b1d8!important;
}
html body header .status,
html body .toolbar #taskSelect,
html body .toolbar #supplySelect,
html body #currentPractice {
 background:repeating-linear-gradient(165deg,#ffffff08 0 1px,transparent 1px 5px),linear-gradient(165deg,#0a141c,#172b36 64%,#0a141c)!important;
 border:1px solid #070e15!important;border-bottom-color:#668998!important;
 box-shadow:inset 0 3px 4px #000d,inset 2px 0 3px #0009,inset 0 -1px 0 #7ecfff66,0 1px 1px #c0e5ee44,0 0 3px #218cff55!important;
}
html body .toolbar #taskSelect,
html body .toolbar #supplySelect {
 color:#86c9ee!important;-webkit-text-fill-color:#86c9ee!important;
 text-shadow:0 -1px 1px #000,0 1px 0 #b0e9ff77,0 0 2px #288cff88!important;
}
html body .toolbar select option {background:#10212d;color:#e4f3ff;text-shadow:none}
html body #currentPractice {padding:4px 7px!important;border-radius:5px!important}

/* v299: crisp lettering cut directly into the stationary metal surface. */
html body header h1.engraved-nameplate>.engraved-lettering,
html body #practiceMenu h2.engraved-nameplate>.engraved-lettering,
html body .toolbar>label.engraved-nameplate>.engraved-lettering {
 color:#83c5e6!important;-webkit-text-fill-color:#83c5e6!important;
 filter:none!important;-webkit-text-stroke:0!important;
 text-shadow:0 -1px 0 #02080d,0 -.5px .5px #000,0 1px 0 #c0e9f288!important;
}
html body .toolbar #taskSelect,html body .toolbar #supplySelect {
 text-shadow:0 -1px 0 #02080d,0 1px 0 #b0e9ff66!important;
}

/* v300: visibly recessed stationary lettering, sharp without a glow halo. */
html body header h1.engraved-nameplate>.engraved-lettering,
html body #practiceMenu h2.engraved-nameplate>.engraved-lettering,
html body .toolbar>label.engraved-nameplate>.engraved-lettering {
 color:#72b5d4!important;-webkit-text-fill-color:transparent!important;
 background:linear-gradient(180deg,#163343 0%,#4d96b6 38%,#9ad9ed 67%,#376981 100%)!important;
 background-clip:text!important;-webkit-background-clip:text!important;
 filter:url(#plate-deep-cut)!important;text-shadow:none!important;
}
html body header h1.engraved-nameplate>.engraved-lettering {
 color:#ff941f!important;
 background-image:linear-gradient(180deg,#79340c 0%,#ff781b 36%,#ffb84b 66%,#dd5d12 100%)!important;
}
/* Ensure the title finish wins over the shared nameplate rules. */
html body header h1.engraved-nameplate:not(#legacy-title)>.engraved-lettering,
html body #practiceMenu h2.engraved-nameplate:not(#legacy-title)>.engraved-lettering,
html body .toolbar>label.engraved-nameplate:not(#legacy-title)>.engraved-lettering {
 color:#96d1ed!important;-webkit-text-fill-color:#96d1ed!important;
 background:none!important;filter:url(#plate-deep-cut)!important;text-shadow:none!important;
}
html body header h1.engraved-nameplate:not(#legacy-title)>.engraved-lettering {
 color:#ff941f!important;-webkit-text-fill-color:#ff941f!important;
}

/* v303: compact help in the sensor practice row and unmistakable feedback. */
html body.sensor-page #sensorHelpMenu{display:none!important}
html body.sensor-page nav[aria-label="Prácticas de sensores"]{grid-template-columns:repeat(4,minmax(0,190px))!important}
html body.sensor-page .photo-key.photo-key.key-confirmed,
html body.sensor-page nav .photo-key.photo-key[aria-current="true"]{
 outline:3px solid #5eefff!important;outline-offset:-3px!important;
 box-shadow:inset 0 0 12px #28dcff99,0 0 9px #30e6ff99!important;
}
html body.sensor-page .photo-key.photo-key.key-confirmed>.key-face,
html body.sensor-page nav .photo-key.photo-key[aria-current="true"]>.key-face{
 transform:translateY(3px) scale(.975)!important;
 filter:brightness(1.25) drop-shadow(0 0 4px #49eaff)!important;
}
@media(max-width:600px){html body.sensor-page nav[aria-label="Prácticas de sensores"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* v304: orange game-name engraving on every main mounting plate. */
html body header :is(h1,strong).engraved-nameplate:not(#legacy-title)>.engraved-lettering {
 color:#ff941f!important;-webkit-text-fill-color:#ff941f!important;
 background:none!important;filter:url(#plate-deep-cut)!important;text-shadow:none!important;
}

/* v305: all stationary plate legends use the approved deep cut. */
html body .engraved-nameplate.engraved-nameplate:not(#legacy-title)>.engraved-lettering {
 filter:url(#plate-deep-cut)!important;text-shadow:none!important;
}
html body #board .device h3,html body #board .panel-explainer,
html body #board .service-flow-head,html body #board .service-flow-foot,
html body #board .terminal-wrap,html body #sensorBoard text {
 text-shadow:0 -1px 0 #030608,0 1px 0 #d0e7ed88!important;
}
/* Red pressed/selected signal on every live key; face and legends move together. */
html body .photo-key.photo-key:not(#legacy-key).key-confirmed,
html body .photo-key.photo-key:not(#legacy-key):active,
html body .photo-key.photo-key:not(#legacy-key)[aria-current="true"],
html body .photo-key.photo-key:not(#legacy-key).active {
 outline:3px solid #ff3447!important;outline-offset:-3px!important;
 box-shadow:inset 0 0 12px #ff193f99,0 0 9px #ff203a99!important;
}
html body .photo-key.photo-key:not(#legacy-key).key-confirmed>.key-face,
html body .photo-key.photo-key:not(#legacy-key):active>.key-face,
html body .photo-key.photo-key:not(#legacy-key)[aria-current="true"]>.key-face,
html body .photo-key.photo-key:not(#legacy-key).active>.key-face {
 transform:translateY(3px) scale(.975)!important;
 filter:brightness(1.2) drop-shadow(0 0 4px #ff233b)!important;
}
html body .photo-key.photo-key:not(#legacy-key).key-confirmed>.key-face>:is(.key-caption,.key-symbol),
html body .photo-key.photo-key:not(#legacy-key):active>.key-face>:is(.key-caption,.key-symbol),
html body .photo-key.photo-key:not(#legacy-key)[aria-current="true"]>.key-face>:is(.key-caption,.key-symbol),
html body .photo-key.photo-key:not(#legacy-key).active>.key-face>:is(.key-caption,.key-symbol) {
 color:#ff6267!important;-webkit-text-fill-color:#ff6267!important;
 filter:url(#key-text-recess-red)!important;text-shadow:0 -1px 0 #30020a,0 0 3px #ff143a!important;
}

/* v306: the same cut lettering across equipment selectors and plate headings. */
html body :is(.toolbar,.controls,.drive-controls,.sensor-wiring-nav) select:not(#legacy-selector) {
 color:#96d1ed!important;-webkit-text-fill-color:#96d1ed!important;
 background:linear-gradient(165deg,#08121b,#1b303c 65%,#0b1720)!important;
 border:1px solid #080f16!important;border-bottom-color:#6a8c9b!important;
 box-shadow:inset 0 3px 4px #000c,inset 1px 0 3px #0009,0 1px 0 #b0d2df55!important;
 text-shadow:0 -1px 0 #020509,0 1px 0 #bfdce866!important;
}
html body :is(.toolbar,.controls,.drive-controls,.sensor-wiring-nav) select option {
 color:#e2f0f7!important;background:#10212d!important;text-shadow:none!important;
}
html body .readings small:not(#legacy-label),html body #status:not(#legacy-label) {
 filter:url(#plate-deep-cut)!important;text-shadow:none!important;
}
html body #diagram :is(text.next-terminal-label,text.ind-label),
html body #diagram #equipment text {
 text-shadow:0 -1px 0 #020509,0 1px 0 #c4dce677!important;
}
