html[data-web-appearance="light"] {
  --saha-canvas: #e3e0e8;
  --saha-surface: #eeeeee;
  --saha-soft: #e8e3f0;
  --saha-text: #25203b;
  --saha-muted-text: #504965;
  --saha-outline: #cfc4e2;
  --saha-primary: #5b349c;
  --saha-primary-ink: #eeeeee;
  --saha-stage-ink: #eeeeee;
}

html[data-web-appearance="light"] .web-history-list a:is(:hover, :focus-visible) {
  background: var(--saha-soft);
  color: var(--saha-text);
}

html[data-web-appearance="light"] .web-body form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), textarea, select) {
  background: var(--saha-surface);
  color: var(--saha-text);
  border-color: #9d8db8;
  box-shadow: none;
}
.web-body :is(input, textarea)::placeholder { color: var(--saha-muted-text); opacity: 1; }
html[data-web-appearance="light"] .web-body :is(input,textarea,select)[aria-invalid="true"] {
  border-color: var(--saha-danger);
}

html[data-saha-web][data-theme][data-web-appearance="light"] :is(.people-page,.play-page) .page-context h1 {
  color: var(--saha-text);
}
html[data-saha-web][data-theme][data-web-appearance="light"] :is(
  .people-page, .participants-dialog, .setup-team-menu, .setup-media-dialog, .unsaved-dialog, .setup-content
) button:not(.primary):not([aria-selected="true"]):not([aria-pressed="true"]):not(.rule-stepper-controls button) {
  color: var(--saha-text);
}
html[data-saha-web][data-theme][data-web-appearance="light"] #roundSetup .setup-steps button[aria-current="step"] {
  color: var(--saha-primary-ink);
}
html[data-saha-web][data-theme][data-web-appearance="light"] :is(
  .people-page,.participants-dialog,.setup-content
) :is(button.ghost, .setup-footer button:not(.primary)) {
  background: var(--saha-soft);
  border-color: var(--saha-outline);
  box-shadow: none;
}
html[data-saha-web][data-theme][data-web-appearance="light"] :is(
  .people-page,.participants-dialog
) :is(input:not([type=checkbox],[type=radio]), select) {
  color: var(--saha-text);
  background: var(--saha-surface);
  border-color: #9d8db8;
  box-shadow: none;
}

html[data-saha-web][data-theme][data-web-appearance] .unsaved-dialog {
  background: var(--saha-surface);
  color: var(--saha-text);
  border-color: var(--saha-outline);
}
.unsaved-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.unsaved-status { color: var(--saha-danger); }
.unsaved-status:empty { display: none; }
