.planck-workspace {
  --planck-ink: #18374d;
  --planck-accent: #147b82;
}
.planck-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
  margin: 1.2rem 0;
}
.planck-controls label {
  display: grid;
  gap: 0.4rem;
  flex: 1 1 170px;
}
.planck-controls input,
.planck-controls select {
  width: 100%;
  min-height: 44px;
}
.planck-range {
  min-width: 210px;
}
.planck-workspace svg {
  display: block;
  width: 100%;
  height: auto;
  background: #f8fcfd;
  border: 1px solid #d4e2e8;
  border-radius: 14px;
  margin: 1rem 0;
}
.planck-workspace svg text {
  font-size: 16px;
  fill: var(--planck-ink);
  font-family: inherit;
}
.planck-wire,
.planck-led,
.planck-light {
  stroke: var(--planck-ink);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.planck-led {
  fill: #e4f0f2;
}
.planck-light {
  stroke: #a65b12;
  stroke-width: 2;
}
.planck-supply {
  fill: #e2edf3;
  stroke: #8ca8b8;
  stroke-width: 2;
}
.planck-component,
.planck-meter {
  fill: white;
  stroke: var(--planck-ink);
  stroke-width: 2.5;
}
.planck-knob {
  touch-action: none;
  cursor: grab;
  fill: #294d63;
  stroke: #55798d;
  stroke-width: 3;
}
.planck-knob path {
  stroke: white;
  stroke-width: 5;
  stroke-linecap: round;
}
.planck-knob:focus,
.planck-click:focus {
  outline: 3px solid #cd710d;
  outline-offset: 5px;
}
.planck-click {
  cursor: pointer;
}
.planck-glow {
  opacity: 0.08;
}
.planck-note {
  padding: 1rem;
  border-left: 4px solid var(--planck-accent);
  background: #eef8f7;
}
.planck-meter-state {
  font-weight: 650;
  color: #176572;
}
.planck-table-wrap {
  overflow: auto;
  margin: 1rem 0;
}
.planck-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.planck-table-wrap th,
.planck-table-wrap td {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid #dce5e9;
  text-align: left;
}
.planck-table-wrap th {
  background: #edf4f6;
}
.planck-table-wrap input {
  min-width: 145px;
  width: 100%;
}
.planck-grid-minor {
  stroke: #dfebef;
  stroke-width: 0.6;
}
.planck-grid-major {
  stroke: #9eb7c3;
  stroke-width: 1;
}
.planck-fit {
  stroke: #087d81;
  stroke-width: 2.5;
}
.planck-point {
  stroke: #b04623;
  stroke-width: 2.5;
  fill: none;
}
.planck-workspace svg .planck-tick {
  font-size: 13px;
}
.planck-workspace form {
  margin: 1.5rem 0;
}
.planck-workspace button {
  margin: 0.2rem 0;
}
[data-planck-threshold-graphs] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr));
  gap: 1.2rem;
}
[data-planck-threshold-graphs] h4 {
  margin: 0.5rem 0;
}
.planck-workspace details {
  margin: 1rem 0;
}
.planck-workspace [data-planck-status] {
  color: #7d4017;
  min-height: 1.5rem;
}
@media (max-width: 600px) {
  .planck-controls {
    gap: 0.7rem;
  }
  .planck-controls label {
    flex-basis: 100%;
  }
  .planck-workspace {
    padding: 1rem;
  }
  .planck-table-wrap th,
  .planck-table-wrap td {
    padding: 0.5rem;
  }
}

.planck-correction {
  color: #a63a18;
  background: #fff2e7;
  font-weight: 650;
}

.planck-led-choice {
  cursor: pointer;
  touch-action: none;
  outline: none;
}
.planck-led-choice:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.planck-led-choice[aria-pressed="true"] > rect:first-child {
  stroke: #2563eb;
  stroke-width: 3;
}
.planck-led-choice[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
}
