/* Shared by admin pages, staff pages, POS and their dialogs. */
@media screen {
  html[data-theme="dark"] {
    color-scheme: dark;
    --theme-surface: var(--panel);
    --theme-glass: rgba(27,31,37,.94);
    --theme-highlight: rgba(255,255,255,.04);
    --theme-stroke: var(--border-strong);
    --theme-ink: var(--text1);
    --input-bg: var(--panel-2);
  }
  html[data-theme="dark"] body { background: var(--bg); color: var(--text1); }
  html[data-theme="dark"] :is(input,select,textarea) { color-scheme: dark; }
  html[data-theme="dark"] :is(input,textarea)::placeholder { color: var(--text2); }
  html[data-theme="dark"] option { background: var(--panel); color: var(--text1); }
  html[data-theme="dark"] .work-record-icon {
    background: var(--panel-2) !important;
  }
  html[data-theme="dark"] .hl-detail-modal > .modal-actions .btn-primary {
    background: var(--hl-doc);
    color: #142033;
  }
  html[data-theme="dark"] .price-widget-banner {
    background: linear-gradient(120deg,#533322,#624b1c);
    color: var(--text1);
  }
}
