@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('/assets/material-symbols-preview.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: Epilogue;
  src: url('/assets/epilogue-variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/plus-jakarta-sans-variable.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --brand-primary: #a43716;
  --brand-onPrimary: #ffffff;
  --brand-hover: #903013;
  --brand-pressed: #7d2a11;
  --brand-text: #a43716;
  --brand-border: #a43716;
  --brand-focus: #a43716;
  font-family: system-ui, sans-serif;
  color: #172b35;
  background: #f3f6f7;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main {
  max-width: 70rem;
  margin: auto;
  padding: 1rem;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
a {
  color: var(--brand-text);
}
h1 {
  font-size: 1.9rem;
}
h2 {
  font-size: 1.4rem;
}
button,
input,
select,
textarea {
  font: inherit;
  padding: 0.75rem;
  border: 1px solid #71818a;
  border-radius: 0.4rem;
  max-width: 100%;
}
button {
  cursor: pointer;
  background: var(--brand-primary);
  color: var(--brand-onPrimary);
  border: 2px solid var(--brand-border);
  min-height: 44px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary {
  background: white;
  color: var(--brand-text);
}
/* An admin popup's buttons take their hover from the popup (admin-dialog.css): this brand hover
   outranked it and turned Cancel and the close button dark orange under their dark text in popups
   drawn in the page itself, such as Add stand (2026-10-25). */
button:where(:not(.customer-reference *, dialog.admin-dialog *)):hover:not(:disabled):not(
    .secondary
  ) {
  background: var(--brand-hover);
}
button:where(:not(.customer-reference *, dialog.admin-dialog *)):active:not(:disabled):not(
    .secondary
  ) {
  background: var(--brand-pressed);
}
.bg-primary {
  background: var(--brand-primary);
  color: var(--brand-onPrimary);
}
.text-primary {
  color: var(--brand-text);
}
.organization-logo {
  display: block;
  width: 16rem;
  height: 6rem;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
#branding-preview {
  border: 2px solid var(--brand-border);
  border-radius: 0.5rem;
  padding: 1rem;
  background: white;
}
label {
  display: grid;
  gap: 0.4rem;
  margin: 0.8rem 0;
}
input[type='checkbox'] {
  width: 1.3rem;
  height: 1.3rem;
}
input[type='color'] {
  width: 4rem;
  height: 3rem;
  padding: 0.2rem;
}
label.choice {
  display: flex;
  align-items: center;
}
textarea {
  width: 100%;
  min-height: 5rem;
}
fieldset {
  border: 1px solid #71818a;
  margin: 1rem 0;
  border-radius: 0.5rem;
}
article,
.panel {
  padding: 1.2rem;
  background: white;
  border: 1px solid #d1dce0;
  border-radius: 0.7rem;
  margin: 1rem 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
}
.grid article {
  margin: 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.muted {
  color: #465d69;
}
[role='alert'] {
  background: #fff0e9;
  color: #7a240b;
  padding: 1rem;
  border-radius: 0.5rem;
}
[role='status'] {
  padding: 0.5rem 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--brand-focus);
  outline-offset: 3px;
}
dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}
dd {
  margin: 0;
  font-weight: 600;
}
.price {
  font-weight: 700;
}
form {
  max-width: 42rem;
}
.badge {
  display: inline-block;
  background: #e1f2ef;
  padding: 0.4rem;
  border-radius: 0.3rem;
}
#network {
  max-width: 68rem;
  margin: auto;
}
small {
  display: block;
}
@media (min-width: 700px) {
  main {
    padding: 2rem;
  }
  h1 {
    font-size: 2.3rem;
  }
}

header {
  flex-wrap: wrap;
  gap: 1rem;
}
select[multiple] {
  min-height: 8rem;
}
code {
  overflow-wrap: anywhere;
}
article {
  overflow-wrap: anywhere;
}

main {
  overflow-wrap: anywhere;
}
/* Route focus announces content; keyboard controls retain their visible outlines. */
#app:focus {
  outline: none;
}
dl {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 500px) {
  article dl {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media print {
  body:has(#qr-artwork) header,
  body:has(#qr-artwork) nav,
  body:has(#qr-artwork) button,
  body:has(#qr-artwork) a {
    display: none;
  }
}

.item-editor {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.item-editor > * {
  min-width: 0;
}
.modifier-error:empty,
.menu-error:empty {
  display: none;
}
@media (min-width: 850px) {
  .item-editor {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}
.position-dialog select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.position-dialog label {
  grid-template-columns: minmax(0, 1fr);
}

/* Tenant accents preserve readable contrast; status colors remain semantic. */
body:has(nav[aria-label='Administration']) a {
  color: #172b35;
  text-decoration-color: var(--brand-text);
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.2em;
}
header nav {
  align-items: center;
  justify-content: flex-end;
}
#logout {
  order: 10;
}
.workspace-row {
  display: flex;
  gap: 1rem;
  align-items: start;
}
.workspace-row > div {
  flex: 1;
  min-width: 0;
}
.workspace-row h3 {
  margin-top: 0.5rem;
  overflow-wrap: anywhere;
}
.row-select {
  flex: 0 0 auto;
}
.workspace-body {
  overflow-wrap: anywhere;
}
.workspace-body .muted {
  color: #465b67;
  font-size: 0.9rem;
}
.workspace-edit .popup-content {
  min-width: 0;
}
.workspace-edit form {
  max-width: 100%;
}
@media (max-width: 600px) {
  header {
    gap: 0.5rem;
  }
  .workspace-row {
    gap: 0.5rem;
  }
}
#operations-error:empty {
  display: none;
}

/* Phase 6.5: shared, local presentation. Branding still comes from the server. */
:root {
  --surface: #fcf9f7;
  --canvas: #f7f7f4;
  --ink: #1c2421;
  --muted: #56625c;
  --line: #dde3dd;
  --sidebar: #1b2420;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
  color-scheme: light;
}
html {
  scroll-padding-top: 6rem;
}
body {
  min-width: 0;
}
[hidden] {
  display: none !important;
}
.ui-icon {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  vertical-align: middle;
}
.skip-link {
  position: fixed;
  top: -10rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: var(--ink);
  background: white;
}
.skip-link:focus {
  top: 0.5rem;
}
.app-header {
  max-width: none;
  min-height: 5rem;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0.9rem clamp(1rem, 3vw, 2rem);
  gap: 0.75rem;
}
.app-header > span {
  font-weight: 650;
  min-width: 0;
}
.app-header small {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 450;
}
.app-header nav {
  font-size: 0.85rem;
  gap: 0.75rem;
}
.app-header nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(1.65rem, 3vw, 2rem);
  margin: 0 0 1rem;
}
h2 {
  font-size: 1.2rem;
}
h3 {
  font-size: 1.05rem;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 650;
  border-radius: 0.65rem;
  border-width: 1px;
  transition:
    background-color 140ms,
    box-shadow 140ms;
}
button.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
button.secondary:hover:not(:disabled) {
  background: var(--canvas);
}
button:disabled {
  cursor: not-allowed;
}
input,
textarea,
select {
  color: var(--ink);
  background: white;
  border-color: #7b8880;
  border-radius: 0.6rem;
  min-height: 44px;
  min-width: 0;
}
input[type='checkbox'],
input[type='radio'] {
  min-height: auto;
  accent-color: var(--brand-text);
}
label {
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink);
}
fieldset {
  min-width: 0;
  border-color: var(--line);
  border-radius: 0.8rem;
}
article,
.panel {
  border-color: var(--line);
  border-radius: 0.85rem;
  box-shadow: 0 2px 8px rgb(26 36 30 / 3%);
}
.muted {
  color: var(--muted);
}
.badge {
  background: #e7f3ec;
  color: #225c3c;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 650;
}
[role='alert'] {
  border: 1px solid #e6bbab;
}
.eyebrow {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
}
body:has(dialog[open]) {
  overflow: hidden;
}
/* The brand mark beside the sign-in pages' header text, at the marketing header's size
   (brand-mark.ts, `showHeaderMark`). */
.app-header > span:has(> .header-mark) {
  display: flex;
  align-items: center;
}
.header-mark {
  display: block;
  flex: none;
  width: 43px;
  height: 43px;
  margin-right: 11px;
}
@media (max-width: 700px) {
  .header-mark {
    width: 34px;
    height: 34px;
  }
}
body[data-surface='entry'] #app {
  max-width: 38rem;
  margin: clamp(1rem, 5vh, 3rem) auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
}
body[data-surface='admin'] #app,
body[data-surface='platform'] #app {
  max-width: none;
  padding: 0;
}
body[data-surface='admin'] #admin-nav,
body[data-surface='platform'] #admin-nav {
  display: none;
}
.admin-layout {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 1fr);
  min-height: calc(100dvh - 5rem);
}
/* Its scrollbar is drawn whenever it overflows, and only then (the owner's decisions, 2026-10-24
   evening and 2026-10-25 evening; admin-reference.css has the rule for the organization admin). */
.admin-sidebar {
  background: var(--sidebar);
  color: #f7faf7;
  padding: 1.4rem 1rem;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100dvh;
  overflow-y: auto;
  scrollbar-color: rgba(247, 250, 247, 0.45) transparent;
}
@supports selector(::-webkit-scrollbar) {
  .admin-sidebar {
    scrollbar-color: auto;
  }
}
/* Its 10 px bar's room, kept as padding while it has none (`--scrollbar-now`, scroll-regions.ts),
   so the links never move when the bar comes. In the navigation popup it doesn't scroll. */
.admin-layout > .admin-sidebar {
  padding-right: calc(16px + 10px - var(--scrollbar-now, 0px));
}
.admin-sidebar::-webkit-scrollbar {
  width: 10px;
  background: transparent;
}
.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(247, 250, 247, 0.45);
  border: 2px solid transparent;
  border-radius: 8px;
  background-clip: padding-box;
}
.sidebar-brand {
  font-weight: 650;
  padding: 0 0.4rem 1.3rem;
  overflow-wrap: anywhere;
}
.sidebar-brand small {
  color: #cad5ce;
  font-size: 0.75rem;
}
.sidebar-brand .organization-logo {
  max-height: 3.5rem;
  max-width: 100%;
  object-position: left center;
}
.admin-sidebar nav {
  display: block;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.6rem 0.65rem;
  border-radius: 0.45rem;
  font-size: 0.83rem;
  font-weight: 550;
  color: #e7eee9 !important;
  text-decoration: none;
}
.admin-sidebar a:hover {
  background: #35423a;
}
.admin-sidebar a[aria-current='page'] {
  background: white;
  color: var(--brand-text) !important;
}
.admin-sidebar a:focus-visible {
  outline-color: white;
}
.admin-sidebar a[aria-current='page']:focus-visible {
  outline-color: var(--brand-focus);
  box-shadow: 0 0 0 6px white;
}
.admin-content {
  min-width: 0;
  padding: clamp(1.1rem, 2.5vw, 2rem);
  font-size: 0.9rem;
}
.page-introduction {
  margin: 0 0 1.4rem;
}
.navigation-toggle {
  display: none;
}
.navigation-dialog {
  margin: 0;
  padding: 0;
  width: min(21rem, calc(100% - 1rem));
  height: 100dvh;
  max-height: 100dvh;
  border: none;
  background: var(--sidebar);
  color: white;
}
.navigation-dialog::backdrop,
.customer-sheet::backdrop {
  background: rgb(24 32 28 / 55%);
}
.navigation-close {
  display: flex;
  margin: 0.5rem 0.7rem 0 auto;
  background: transparent;
  border-color: #8fa596;
  width: 44px;
  height: 44px;
  color: white;
}
.navigation-dialog .navigation-close:hover:not(:disabled) {
  background: #35423a;
}
.navigation-close:focus-visible {
  outline-color: white;
}
.navigation-dialog .admin-sidebar {
  display: block;
  position: static;
  height: auto;
  overflow: visible;
}
#operations-filters {
  max-width: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.workspace-row {
  border-radius: 0.7rem;
  padding: 1rem 1.15rem;
  margin: 0.6rem 0;
}
.workspace-row:has(input:checked) {
  border-color: var(--brand-border);
  box-shadow: inset 3px 0 var(--brand-border);
}
.workspace-row button,
.workspace-body button {
  font-size: 0.8rem;
}
.workspace-row a {
  text-decoration: none;
  color: var(--brand-text) !important;
}
.workspace-row h3 {
  margin-top: 0;
}
.setup-checklist {
  margin: 0.75rem 0;
}
.setup-heading {
  font-size: 0.9rem;
  margin-bottom: 0;
}
summary {
  cursor: pointer;
  min-height: 44px;
  padding: 0.6rem 0;
}
.overview-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1rem;
  margin: 1.2rem 0;
  align-items: start;
}
.overview-panels > section {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1.15rem;
  box-shadow: 0 2px 8px rgb(26 36 30 / 3%);
}
.overview-panels > section > h2 {
  margin-top: 0;
}
.overview-panels article {
  box-shadow: none;
  padding: 0.85rem 0;
  border-width: 0 0 1px;
  border-radius: 0;
  margin: 0;
}
.overview-panels article:last-of-type {
  border-bottom: 0;
}
.overview-panels p,
.overview-panels li {
  font-size: 0.85rem;
}
.overview-panels .actions {
  gap: 0.5rem;
}
body[data-surface='customer'] {
  background: var(--surface);
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
}
body[data-surface='customer'] #app {
  max-width: 68rem;
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 8rem;
}
.customer-header {
  position: sticky;
  z-index: 5;
  top: 0;
  box-shadow: 0 4px 20px rgb(48 35 25 / 3%);
  background: var(--surface);
}
.customer-header #cart {
  border-radius: 999px;
  font-size: 0.8rem;
}
.menu-item h3 {
  font-family: Epilogue, 'Plus Jakarta Sans', system-ui, sans-serif;
}
.category-navigation {
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.category-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 550;
}
.menu-item {
  padding: 1.15rem;
  margin: 0;
  border-color: transparent;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgb(48 35 25 / 4%);
}
.menu-item h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}
.item-metadata {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 550;
}
.item-metadata p {
  margin: 0;
}
.item-purchase,
.cart-line-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.item-purchase .price {
  color: var(--brand-text);
  font-size: 1.1rem;
  margin: 0;
}
.item-purchase button {
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-size: 0.8rem;
}
.item-purchase .secondary {
  background: var(--canvas);
  border-color: transparent;
}
.item-unavailable {
  color: #8c3320;
  font-size: 0.8rem;
  font-weight: 600;
}
.cart-count {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--brand-onPrimary);
  background: var(--brand-primary);
}
.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem;
}
.quantity-stepper button {
  min-width: 44px;
  border: none;
  border-radius: 50%;
  padding: 0.3rem;
}
.quantity-stepper span {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 650;
}
@media (max-width: 1000px) {
  .overview-panels {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 851px) {
  body[data-surface='admin'] .app-header,
  body[data-surface='platform'] .app-header {
    padding-left: calc(15.5rem + 2rem);
  }
  .admin-layout > .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 15.5rem;
    z-index: 10;
  }
  .admin-content {
    grid-column: 2;
  }
}
@media (max-width: 850px) {
  .admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-layout > .admin-sidebar {
    display: none;
  }
  .navigation-toggle {
    display: inline-flex;
  }
  .admin-content {
    padding: 1rem;
  }
}
@media (max-width: 600px) {
  .app-header {
    padding: 0.75rem 1rem;
    align-items: center;
  }
  body[data-surface='admin'] .app-header > span {
    flex: 1 1 100%;
  }
  .app-header nav {
    width: 100%;
    justify-content: flex-end;
  }
  .customer-header nav {
    width: auto;
  }
  .customer-header {
    gap: 0.5rem;
  }
  body[data-surface='entry'] #app {
    margin: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (forced-colors: active) {
  .admin-sidebar a[aria-current='page'] {
    outline: 2px solid Highlight;
  }
  button,
  .menu-item,
  .customer-sheet {
    border: 1px solid ButtonText;
  }
}
body[data-surface='customer'] {
  --surface: var(--customer-light-background, #fcf9f7);
  --ink: var(--customer-light-ink, #1c1c1b);
  --muted: var(--customer-light-muted, #58423c);
  --brand-text: var(--customer-light-accent);
}
body[data-surface='customer'] .menu-item {
  background: var(--customer-light-card, #ffffff);
}
html[data-customer-theme='dark'] body[data-surface='customer'] {
  --surface: var(--customer-dark-background, #1c1c1b);
  --ink: var(--customer-dark-ink, #f5f5f5);
  --muted: var(--customer-dark-muted, #c8c8c8);
  --line: #68716c;
  --brand-text: var(--customer-dark-accent, #f5f5f5);
  --brand-focus: var(--customer-dark-ink, #ffffff);
  color: var(--ink);
}
html[data-customer-theme='dark'] body[data-surface='customer'] .menu-item {
  background: var(--surface);
}

/* "Sponsored by" on the order page (ADR 0070): a panel under the heading while the order is on
   its way, one quiet line at the end once it's ready. The order page wears the menu's styles
   (customer-reference.css, .customer-page); these are for the plain page shown when those styles
   can't load. */
.sponsor-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}
.sponsor-panel p {
  margin: 0;
}
.sponsor-panel .sponsor-caption {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.sponsor-panel .sponsor-name {
  font-size: 1.1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.sponsor-panel .sponsor-link {
  color: var(--brand-text, currentColor);
}
.sponsor-panel.is-line {
  align-items: flex-start;
  text-align: start;
  margin: 0.75rem 0 0;
  padding: 0;
  border: 0;
}
.sponsor-panel .sponsor-logo {
  max-width: 100%;
}
.link-button {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-text);
  text-decoration: underline;
}
.link-button:is(:hover, :active):not(:disabled) {
  background: none;
}
.order-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}
.sponsor-panel .sponsor-line {
  font-size: 0.85rem;
  color: var(--muted);
}

/* 21+ items: ID required at pickup (staff app uses the same colors). */
.age-badge {
  background: #ffdbd1;
  color: #3b0900;
  font-weight: 700;
}

/* Volunteer page (X1): its own page, in the same type and colors as the customer pages. Every
   control sets its own colors, so the global brand button style never shows through. */
body[data-surface='volunteer'] .app-header {
  display: none;
}
body[data-surface='volunteer'] #app {
  max-width: none;
  padding: 0;
}
body[data-surface='volunteer'] {
  background: #fcf9f7;
  min-height: 100dvh;
}
html[data-customer-theme='dark'] body[data-surface='volunteer'] {
  background: #1c1c1b;
}
.vo {
  --vo-surface: #fcf9f7;
  --vo-card: #ffffff;
  --vo-ink: #1c1c1b;
  --vo-muted: #58423c;
  --vo-container: #f0edeb;
  --vo-high: #eae8e5;
  --vo-inverse-high: #4a4343;
  --vo-outline: #dfc0b7;
  --vo-accent: var(--brand-primary);
  --vo-on-accent: var(--brand-onPrimary);
  --vo-text-accent: var(--brand-text);
  --vo-warning: #8a5a00;
  max-width: 560px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--vo-surface);
  color: var(--vo-ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 15px;
  line-height: 22px;
  padding-bottom: 32px;
  color-scheme: light;
}
html[data-customer-theme='dark'] .vo {
  --vo-surface: #1c1c1b;
  --vo-card: #31302f;
  --vo-ink: #f5f5f5;
  --vo-muted: #c8c8c8;
  --vo-container: #252423;
  --vo-high: #191919;
  --vo-inverse-high: #eae8e5;
  --vo-outline: #68716c;
  --vo-text-accent: #ffb39b;
  --vo-warning: #f0c062;
  color-scheme: dark;
}
.vo :is(h1, h2, h3, .vo-next b) {
  font-family: Epilogue, 'Plus Jakarta Sans', system-ui, sans-serif;
}
.vo button,
.vo select,
.vo input:not([type='checkbox']) {
  font: inherit;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--vo-outline);
  background: var(--vo-card);
  color: var(--vo-ink);
  padding: 8px 16px;
}
.vo button {
  /* Keep foreground/background changes together, including a saved-theme change. */
  transition: box-shadow 140ms;
}
.vo :is(button, select, input, a):focus-visible {
  outline: 2px solid var(--vo-text-accent);
  outline-offset: 2px;
}
.vo button:hover:not(:disabled) {
  background: var(--vo-high);
  color: var(--vo-ink);
}
.vo button:active:not(:disabled) {
  background: var(--vo-container);
  color: var(--vo-ink);
}
.vo button:disabled {
  opacity: 0.5;
  cursor: default;
}
.vo-head {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 16px 12px;
  background: var(--vo-card);
  border-bottom: 1px solid var(--vo-outline);
}
.vo-head b {
  display: block;
}
.vo-head small {
  display: block;
  color: var(--vo-muted);
  font-size: 13px;
}
.vo-out {
  margin-left: auto;
}
.vo-org {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--vo-muted);
}
.vo-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: var(--vo-card);
  border-bottom: 1px solid var(--vo-outline);
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 1;
}
.vo .vo-tabs button {
  flex: 1;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--vo-muted);
  font-weight: 700;
  padding: 10px 6px;
}
.vo .vo-tabs button[aria-current='page'] {
  background: var(--vo-ink);
  color: var(--vo-surface);
}
.vo .vo-tabs button[aria-current='page']:is(:hover, :active):not(:disabled) {
  background: var(--vo-inverse-high);
  color: var(--vo-surface);
}
.vo-h {
  font-size: 24px;
  line-height: 1.15;
  margin: 16px 16px 4px;
}
.vo-sub {
  margin: 0 16px;
  color: var(--vo-muted);
  font-size: 14px;
}
.vo-sub a {
  color: var(--vo-text-accent);
}
.vo-sub a:hover {
  text-decoration-thickness: 2px;
}
.vo-notice,
.vo-error {
  margin: 12px 16px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #e9f4ee;
  color: #1f5b3a;
  font-weight: 600;
}
.vo-error {
  background: #fbe9e7;
  color: #8a2a2a;
}
.vo-next {
  margin: 12px 16px 0;
  background: var(--vo-ink);
  color: var(--vo-surface);
  border-radius: 20px;
  padding: 16px;
}
.vo-next small {
  display: block;
  opacity: 0.8;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vo-next b {
  display: block;
  font-size: 20px;
  margin: 4px 0 2px;
}
.vo-next p {
  margin: 0;
  opacity: 0.85;
}
.vo-next .row {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}
.vo .vo-next .vo-btn {
  background: transparent;
  color: var(--vo-surface);
  border-color: currentColor;
}
.vo .vo-next .vo-btn:is(:hover, :active):not(:disabled) {
  background: var(--vo-inverse-high);
  color: var(--vo-surface);
}
.vo .vo-next .vo-btn:focus-visible {
  outline-color: var(--vo-surface);
}
.vo .vo-btn {
  font-weight: 700;
}
.vo .vo-btn.pri {
  background: var(--vo-accent);
  border-color: var(--vo-accent);
  color: var(--vo-on-accent);
}
.vo .vo-btn.pri:hover:not(:disabled) {
  background: var(--brand-hover);
  color: var(--vo-on-accent);
}
.vo .vo-btn.pri:active:not(:disabled) {
  background: var(--brand-pressed);
  color: var(--vo-on-accent);
}
.vo-group {
  margin: 16px 16px 0;
}
.vo-group h2 {
  font-size: 16px;
  margin: 0 0 8px;
}
.vo-shift {
  background: var(--vo-card);
  border: 1px solid var(--vo-outline);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.vo-shift > span {
  min-width: 0;
}
.vo-shift b,
.vo-shift small {
  display: block;
}
.vo-shift small {
  color: var(--vo-muted);
  font-size: 13px;
}
.vo-shift .why {
  color: var(--vo-warning);
  font-weight: 700;
}
.vo-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 16px 0;
}
.vo .vo-chips button {
  min-height: 36px;
  padding: 6px 14px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--vo-card);
  color: var(--vo-ink);
}
.vo .vo-chips button[aria-pressed='true'] {
  background: var(--vo-ink);
  color: var(--vo-surface);
  border-color: var(--vo-ink);
}
.vo .vo-chips button:hover:not(:disabled) {
  background: var(--vo-high);
}
.vo .vo-chips button:active:not(:disabled) {
  background: var(--vo-container);
}
.vo .vo-chips button[aria-pressed='true']:is(:hover, :active):not(:disabled) {
  background: var(--vo-inverse-high);
  color: var(--vo-surface);
}
.vo-only {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 10px 16px 0;
  font-weight: 600;
}
.vo-set {
  background: var(--vo-card);
  border: 1px solid var(--vo-outline);
  border-radius: 16px;
  margin: 12px 16px 0;
  padding: 4px 14px;
}
.vo-set label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--vo-outline);
  font-weight: 700;
}
.vo-set label:last-of-type {
  border-bottom: 0;
}
.vo input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: var(--vo-accent);
}
.vo-sign .vo-set {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
}
.vo-sign .vo-set label {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 0;
}
.vo-sign .vo-set button {
  margin-top: 8px;
}
.vo label,
.vo input,
.vo select {
  margin: 0;
}
.vo label {
  color: var(--vo-ink);
}
.vo-sign > .vo-sub:last-child {
  margin-top: 12px;
}
.vo-sign .vo-set input {
  border-radius: 12px;
}
.vo-legend {
  position: absolute;
  clip: rect(0 0 0 0);
}
.vo-stat {
  display: flex;
  gap: 10px;
  margin: 12px 16px 0;
}
.vo-stat div {
  flex: 1;
  background: var(--vo-card);
  border: 1px solid var(--vo-outline);
  border-radius: 16px;
  padding: 12px;
}
.vo-stat b {
  display: block;
  font-size: 22px;
}
.vo-foot {
  margin-top: 16px;
}

/* Administrator test runs (ADR 0076): the customer page and receipt of a test order say so. */
.test-run-banner {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff4e0;
  color: #7a4a00;
  border: 1px dashed #c98a1a;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.test-run-staff {
  margin: 0 0 12px;
  font-weight: 600;
}

/* The surface switch page (ADR 0065): a page of another application than the session's. */
.surface-switch {
  max-width: 36rem;
  margin: 2rem auto;
  overflow-wrap: anywhere;
}
.surface-switch h1 {
  margin-top: 0;
  font-size: 1.6rem;
}
.surface-switch .actions {
  align-items: center;
}
.surface-switch-stay {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.25rem;
}
.surface-switch-message .passkey-confirm {
  margin-left: 0.5rem;
}
/* The sign-in pages' "Terms · Privacy" (ADR 0104 amendment): small text links at the foot of the
   card, never a control. */
.policy-footer {
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.policy-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
