/* Compact work keys beside the home display. */
html body .contents .ops-home .surveillance-rig {
  isolation: isolate; overflow: hidden; padding-bottom: 18px;
  grid-template-columns: minmax(0, 1fr) 128px; column-gap: 32px;
}
html body .contents .surveillance-rig > .monitor-shell {
  position: relative; z-index: 3; min-height: 0;
}
html body .contents .surveillance-rig > .work-selector { z-index: 5; }
/* Three work keys share the same control rack. */
html body .contents .ops-home .surveillance-rig > .work-selector {
  grid-template-rows: repeat(3, 58px); gap: 8px; align-content: start;
}
html body .contents .ops-home .surveillance-rig .work-key {
  min-height: 0; padding: 8px 10px 8px 37px !important;
}
html body .contents .ops-home .surveillance-rig .work-key strong { font-size: 21px !important; }
html body .contents .ops-home .surveillance-rig .work-key .ciki-work-icon { width: 24px; height: 24px; left: 6px; }
html body .contents .ops-home .surveillance-rig .work-key::before { left: -35px; width: 32px; height: 14px; top: calc(50% - 7px); }
html body .contents .ops-home .surveillance-rig .work-selector::before { left: -17px; top: 7px; bottom: auto; height: 188px; width: 8px; }
html body .contents .ops-home .surveillance-rig .work-selector::after { display: none; }
/* Keep the original switch and its handler; only its visual position changes. */
html body .contents .ops-home .surveillance-rig .hardware-key {
  position: absolute; left: -78px; top: 11px; width: 32px; height: 32px;
  min-width: 32px; min-height: 32px; padding: 0 !important; margin: 0;
  display: grid; background: #243932e8 !important;
  border: 1px solid #a0b3a0 !important; box-shadow: 0 2px 0 #122623;
}
html body .contents .ops-home .surveillance-rig .hardware-key .mdi { font-size: 19px; }
html body .contents .ops-home .surveillance-rig .monitor-caption { display: none !important; }
html body .contents .ops-home .surveillance-rig > .monitor-shell { align-self: stretch; }
html body .contents .ops-home .surveillance-rig .monitor-screen { width: 100%; height: 100% !important; }

@media (max-width: 700px) {
  html body .contents .ops-home .surveillance-rig { grid-template-columns: minmax(0, 1fr); grid-template-areas: "screen" "keys"; gap: 16px; padding-bottom: 16px; }
  html body .contents .ops-home .surveillance-rig > .work-selector { position: static; grid-template-rows: 54px; padding: 0; gap: 5px; }
  html body .contents .ops-home .surveillance-rig .work-selector::before { display: none; }
  html body .contents .ops-home .surveillance-rig .work-key { flex-direction: row; justify-content: center; padding: 6px 2px !important; }
  html body .contents .ops-home .surveillance-rig .work-key strong { font-size: 17px !important; }
  html body .contents .ops-home .surveillance-rig .work-key .ciki-work-icon, html body .contents .ops-home .surveillance-rig .work-key::before { display: none; }
  html body .contents .ops-home .surveillance-rig .hardware-key { top: 30px; left: auto; right: 26px; }
}
@media (max-width: 380px) {
  html body .contents .ops-home .surveillance-rig .work-key { border-width: 2px !important; border-right-width: 3px !important; }
  html body .contents .ops-home .surveillance-rig .work-key strong { font-size: 15px !important; }
}
