/* Palette claire issue de PalletMaker. */
:root[data-theme='light'] {
  color-scheme: light;
  --bg: #edf2f5;
  --panel: #f7fafc;
  --border: #cad6dc;
  --orange: #a84c00;
  --text: #18333e;
  --muted: #526c78;
}
:root[data-theme='light'] header {
  background: rgba(255, 255, 255, 0.94);
  border-color: #a54e004d;
  border-top-color: var(--orange);
  box-shadow: 0 12px 32px -10px #1a3a453d;
}
:root[data-theme='light'] .divider {
  background: #cad6dc;
}
:root[data-theme='light'] .panel {
  background: linear-gradient(135deg, #fff, #f7fafc);
}
:root[data-theme='light'] .stats > div {
  background: #fff;
}
:root[data-theme='light'] button {
  background: #e8eff3;
  border-color: #b8cbd4;
  color: #18333e;
}
:root[data-theme='light'] button:hover {
  background: #dce7ed;
  border-color: var(--orange);
}
:root[data-theme='light'] button.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
:root[data-theme='light'] label {
  color: #365460;
}
:root[data-theme='light'] input[type='number'],
:root[data-theme='light'] select {
  background: #fff;
  color: #18333e;
  border-color: #b8cbd4;
}
:root[data-theme='light'] .segment {
  background: #f7fafc;
}
:root[data-theme='light'] .segment-title strong {
  color: #18333e;
}
:root[data-theme='light'] .live {
  color: #007b4e;
}
:root[data-theme='light'] .status {
  background: #edf8f2;
  border-color: #a7cdbb;
  color: #14613f;
}
:root[data-theme='light'] .viewport {
  background: radial-gradient(ellipse at 50% 60%, #fff, #e3ebf0 85%);
}
:root[data-theme='light'] .badge {
  color: #a84c00;
  background: #a84c000a;
  border-color: #a84c004d;
}
:root[data-theme='light'] .camera-tools button {
  background: #ffffffed;
}
:root[data-theme='light'] .camera-tools .active {
  background: #fff2e7;
  color: #a84c00;
  border-color: #a84c00;
}
:root[data-theme='light'] .explanation b {
  color: #365460;
}
:root[data-theme='light'] .hint,
:root[data-theme='light'] footer {
  color: #526c78;
}
:root[data-theme='light'] #error {
  background: #fff3e4;
  color: #864000;
  border: 1px solid #d3a06d;
}
.actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
#toggleTheme {
  white-space: nowrap;
  min-width: 87px;
}
.auto-feed {
  margin-top: 18px;
}
.auto-feed select {
  width: 100%;
  margin: 7px 0 12px;
  padding: 9px 7px;
  border: 1px solid #31464e;
  border-radius: 5px;
  background: #0c1b22;
  color: var(--text);
  font: inherit;
}
.auto-feed > .fields {
  margin-top: 10px;
}
[hidden] {
  display: none !important;
}
input:invalid {
  border-color: #b52d20;
}
.product-colors {
  background: linear-gradient(
    90deg,
    #f5bc00 25%,
    #00aa4e 25%,
    #00aa4e 50%,
    #00abda 50%,
    #00abda 75%,
    #ff666e 75%
  );
  width: 22px;
}
.accumulated {
  border: 1px solid #ff666e;
  background: transparent;
}
@media (max-width: 720px) {
  header {
    flex-wrap: wrap;
  }
  .actions {
    display: flex;
    width: 100%;
  }
  .playback {
    flex-wrap: wrap;
  }
  .scene-bottom {
    flex-wrap: wrap;
    right: 12px;
  }
}
