.ind {
  width: 540px;
  height: 540px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  background: #2a2b27;
  font-family: "Big Shoulders Display Variable", sans-serif;
}

.ind * { box-sizing: border-box; }

.ind-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 500px;
  padding: 34px 26px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 14px 14px, #2a2b27 4px, #6c705f 5px, transparent 6px),
    radial-gradient(circle at calc(100% - 14px) 14px, #2a2b27 4px, #6c705f 5px, transparent 6px),
    radial-gradient(circle at 14px calc(100% - 14px), #2a2b27 4px, #6c705f 5px, transparent 6px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #2a2b27 4px, #6c705f 5px, transparent 6px),
    linear-gradient(180deg, #5d6152, #4a4e41);
  box-shadow: inset 0 2px 0 #ffffff26, inset 0 -3px 0 #0005, 0 24px 40px -18px #000;
}

.ind-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.ind-lamp {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #6b4a1c, #2d1f0c);
  box-shadow: 0 0 0 4px #2f3129, inset 0 2px 3px #0008;
  transition: background 160ms, box-shadow 160ms;
}

.ind-cell:has([data-checked]) .ind-lamp {
  background: radial-gradient(circle at 40% 35%, #fff3c4, #ffb21a 45%, #c97a00);
  box-shadow: 0 0 0 4px #2f3129, 0 0 22px 6px #ffb21a88;
}

.ind-sw {
  position: relative;
  width: 104px;
  height: 196px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #141512, #24261f);
  box-shadow: inset 0 3px 8px #000, 0 2px 0 #ffffff22;
  perspective: 400px;
  outline: none;
}

.ind-sw:focus-visible { box-shadow: inset 0 3px 8px #000, 0 0 0 4px #ffb21a; }

.ind-rocker {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 18px 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #e9e4d6 0%, #cfc8b6 48%, #b6ae9a 52%, #ddd6c4 100%);
  color: #2a2b27;
  font-size: 34px;
  font-weight: 800;
  transform: rotateX(-14deg);
  transform-origin: center;
  box-shadow: 0 10px 12px -6px #000a, inset 0 2px 0 #fff;
  transition: transform 180ms cubic-bezier(0.3, 1.4, 0.5, 1), background 180ms;
}

.ind-rocker[data-checked] {
  transform: rotateX(14deg);
  background: linear-gradient(0deg, #e9e4d6 0%, #cfc8b6 48%, #b6ae9a 52%, #ddd6c4 100%);
  box-shadow: 0 -10px 12px -6px #000a, inset 0 -2px 0 #fff;
}

.ind-on, .ind-off { line-height: 1; }

.ind-plate {
  padding: 6px 14px;
  border-radius: 4px;
  background: linear-gradient(180deg, #d8d2c0, #b9b29e);
  box-shadow: inset 0 1px 0 #fff8, inset 0 -1px 0 #0004;
  color: #2a2b27;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #fff6;
}
