/* APERTURE / luminous typography, no panel around the light controls. */
.viewer-shell[data-scene="aperture"] {
  --acid:#e4dcc5;
  --line-bright:rgba(217,218,205,.31);
}
.viewer-shell[data-scene="aperture"] .viewer-info {
  overflow-y:auto;
  padding:clamp(17px,2vw,29px);
  background:linear-gradient(147deg,#101a20,#080e15 83%);
}
.viewer-shell[data-scene="aperture"] .viewer-meta {margin-top:11px;}
.viewer-shell[data-scene="aperture"] .viewer-info h3 {
  margin:8px 0 5px;
  font-size:clamp(29px,2.5vw,40px);
}
.viewer-shell[data-scene="aperture"] .viewer-description,
.viewer-shell[data-scene="aperture"] .viewer-interaction,
.viewer-shell[data-scene="aperture"] .viewer-keyhint {display:none;}
.viewer-shell[data-scene="aperture"] .mini-hmi {
  margin-top:9px;padding:0;border:0;background:none;box-shadow:none;
}
.viewer-shell[data-scene="aperture"] .mini-hmi::before,
.viewer-shell[data-scene="aperture"] .hmi-task {display:none;}
.viewer-shell[data-scene="aperture"] .hmi-header {
  margin:0;padding-bottom:7px;border-bottom:1px solid rgba(214,221,220,.16);
}
.viewer-shell[data-scene="aperture"] .hmi-header-title {font-size:10px;color:#b2c1c0;}
.viewer-shell[data-scene="aperture"] .hmi-header-led {
  width:4px;height:4px;background:#eee4ca;box-shadow:0 0 9px rgba(236,226,201,.5);
}
.viewer-shell[data-scene="aperture"] .hmi-header button {padding:5px 0 5px 8px;font-size:10px;}
.viewer-shell[data-scene="aperture"] .hmi-group {margin:10px 0 0;}
.viewer-shell[data-scene="aperture"] .hmi-field-label {font-size:11px;margin-bottom:6px;color:#b8c3c5;}
.viewer-shell[data-scene="aperture"] .hmi-field-label output {color:#eee4ca;}
.viewer-shell[data-scene="aperture"] .hmi-segments {gap:8px;}
.viewer-shell[data-scene="aperture"] .hmi-segments button {
  position:relative;
  background:transparent;border:0;border-bottom:1px solid rgba(199,213,218,.24);
  box-shadow:none;color:#839ba3;font:500 11px var(--mono);letter-spacing:.05em;
  min-height:38px;padding:8px 3px;
}
.viewer-shell[data-scene="aperture"] .hmi-segments button.selected {
  background:transparent;box-shadow:none;border-color:#e4dcc5;color:#f7f4e9;
}
.viewer-shell[data-scene="aperture"] .hmi-segments button.selected::after {
  content:'';position:absolute;bottom:-3px;left:calc(50% - 3px);
  width:6px;height:6px;background:#e4dcc5;transform:rotate(45deg);
}
.viewer-shell[data-scene="aperture"] .hmi-segments button:hover {color:#fff;border-color:#e4dcc5;}
.viewer-shell[data-scene="aperture"] [data-hmi-key="passView"] {font-size:9px;letter-spacing:0;}
.viewer-shell[data-scene="aperture"] .hmi-range-group input {accent-color:#e4dcc5;}
.viewer-shell[data-scene="aperture"] .range-endpoints {color:#7e9197;}
.viewer-shell[data-scene="aperture"] .hmi-telemetry {display:none;}
.viewer-shell[data-scene="aperture"] .viewer-nav {
  margin-top:auto;padding-top:9px;gap:10px;
}
.viewer-shell[data-scene="aperture"] .viewer-nav button {width:36px;height:36px;}
.viewer-shell[data-scene="aperture"] .viewer-actions {
  display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:9px;
}
.viewer-shell[data-scene="aperture"] .viewer-actions button,
.viewer-shell[data-scene="aperture"] .viewer-actions a {
  min-height:38px;padding:7px 4px;font-size:10px;
  border-color:rgba(199,213,218,.22);background:transparent;
}
.viewer-shell[data-scene="aperture"] .viewer-actions a:last-child {
  grid-column:auto;background:transparent;border-color:rgba(199,213,218,.22);
}
.viewer-shell[data-scene="aperture"] .viewer-actions button:hover,
.viewer-shell[data-scene="aperture"] .viewer-actions a:hover {
  border-color:#e4dcc5;background:rgba(222,219,201,.12);color:#f8f1de;
}
@media(max-width:760px){
  .viewer-shell[data-scene="aperture"] .viewer-render {height:clamp(190px,40dvh,285px);min-height:0;}
  .viewer-shell[data-scene="aperture"] .viewer-info {padding:9px 15px 12px;}
  .viewer-shell[data-scene="aperture"] .viewer-index,
  .viewer-shell[data-scene="aperture"] .viewer-meta {display:none;}
  .viewer-shell[data-scene="aperture"] .viewer-info h3 {font-size:24px;margin:0 0 2px;}
  .viewer-shell[data-scene="aperture"] .mini-hmi {margin-top:5px;}
  .viewer-shell[data-scene="aperture"] .hmi-header {padding-bottom:3px;}
  .viewer-shell[data-scene="aperture"] .hmi-header-title {font-size:9px;}
  .viewer-shell[data-scene="aperture"] .hmi-group {margin-top:6px;}
  .viewer-shell[data-scene="aperture"] .hmi-field-label {margin-bottom:3px;font-size:10px;}
  .viewer-shell[data-scene="aperture"] .hmi-segments button {min-height:31px;font-size:10px;padding:5px 3px;}
  .viewer-shell[data-scene="aperture"] .viewer-nav {padding-top:5px;}
  .viewer-shell[data-scene="aperture"] .viewer-nav button {width:32px;height:32px;}
  .viewer-shell[data-scene="aperture"] .viewer-actions {margin-top:6px;gap:5px;}
  .viewer-shell[data-scene="aperture"] .viewer-actions button,
  .viewer-shell[data-scene="aperture"] .viewer-actions a {min-height:32px;padding:5px 2px;font-size:9px;}
}
@media(max-width:760px) and (max-height:600px) {
  .viewer-shell[data-scene="aperture"] .viewer-render {height:33dvh;}
}
