/* The Light / Dark / System switcher (src/themeMenu.ts). Shared by the staff app and the order page; it uses only the
   colour tokens both define: --paper-2, --paper-3, --rule, --ink, --brand. */
.theme { position: relative; flex: none; }
.theme-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0;
  border-radius: 22px; background: none; color: var(--brand); cursor: pointer; }
.theme-btn:hover { background: var(--paper-2); }
.theme-menu { position: absolute; top: 100%; right: 0; z-index: 6; display: grid; min-width: 9.5rem; padding: 4px;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--paper-2); box-shadow: 0 4px 12px oklch(0.255 0.030 55 / 0.16); }
.theme-menu[hidden] { display: none; }
.theme-item { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 8px; border: 0;
  border-radius: 8px; background: none; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.2; text-align: left; cursor: pointer; }
.theme-item:hover { background: var(--paper-3); }
.theme-item[aria-checked="true"] { font-weight: 600; color: var(--brand); }
.theme-item[aria-checked="true"]::after { content: "✓" / ""; margin-left: auto; padding-left: 8px; }
