:root {
  --navy: #000e1f;
  --panel: #061a2d;
  --panel-raised: #0a2138;
  --line: #193b55;
  --line-strong: #2f5d79;
  --text: #e7f0f6;
  --muted: #9aafbe;
  --cyan: #00d5f5;
  --green: #00bc88;
  --danger: #ff8d88;
  font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--navy);
  color-scheme: dark;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--navy); }
body { min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--navy); color: var(--text); font-size: 16px; line-height: 1.5; }
button, input, select { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: wait; opacity: 0.58; }
[hidden] { display: none !important; }

.brand-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--cyan);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(115% 85% at 50% 50%, transparent 30%, #000 78%);
  mask-image: radial-gradient(115% 85% at 50% 50%, transparent 30%, #000 78%);
}

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}
.admin-mode .shell { align-items: flex-start; padding-top: 2rem; padding-bottom: 2rem; }

.login-layout {
  display: grid;
  width: min(850px, 100%);
  grid-template-columns: minmax(230px, 290px) 1px minmax(340px, 390px);
  align-items: center;
  justify-content: center;
  column-gap: 3rem;
}

.brand { display: flex; min-width: 0; flex-direction: column; align-items: flex-end; text-align: right; }
.brand img { display: block; width: 112px; height: 112px; object-fit: contain; }
.brand h1 { margin: 1rem 0 0; font-size: 2.9rem; font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.brand h1 span { color: var(--green); }
.eyebrow, .step-label {
  margin: 0;
  color: var(--cyan);
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.brand .eyebrow { margin-top: 0.8rem; }
.brand-copy { max-width: 250px; margin: 0.8rem 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }
.brand-divider { width: 1px; height: 176px; background: var(--line); }

.panel { width: 100%; min-width: 0; border: 1px solid var(--line); background: rgb(6 26 45 / 0.96); box-shadow: 0 22px 70px rgb(0 0 0 / 0.24); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 0.9rem; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0.25rem 0 0; font-size: 0.9rem; font-weight: 600; line-height: 1.2; outline: none; }
.step-label { color: var(--muted); font-size: 0.56rem; letter-spacing: 0.18em; }
.status-dot { width: 8px; height: 8px; margin-top: 0.35rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgb(0 188 136 / 0.10); }

.flow { display: grid; gap: 1rem; padding: 0.9rem; }
.context, .helper, .field-help { margin: 0; color: var(--muted); }
.context { font-size: 0.78rem; line-height: 1.6; }
.helper, .field-help { font-size: 0.68rem; line-height: 1.55; }
.field { display: grid; gap: 0.4rem; }
label { color: #c7d8e3; font-family: "Roboto Mono", ui-monospace, monospace; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
input, select { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 2px; padding: 0.65rem 0.75rem; color: var(--text); background: #041426; outline: 0; transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
input:hover, select:hover { border-color: #467896; }
input:focus-visible, select:focus-visible { border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(0 213 245 / 0.17); }
input[aria-invalid="true"] { border-color: var(--danger); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 4.5rem; }
.icon-button { min-width: 44px; min-height: 44px; border: 0; color: var(--muted); background: transparent; }
.password-toggle { position: absolute; top: 0; right: 0; height: 44px; padding: 0 0.7rem; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; }
.icon-button:hover { color: var(--text); }

.primary, .secondary, .text-button { min-height: 44px; border-radius: 2px; padding: 0.65rem 0.9rem; font-size: 0.78rem; font-weight: 700; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.primary { border: 1px solid var(--green); color: #001c17; background: var(--green); }
.primary:hover { background: #19d6a0; }
.secondary { border: 1px solid var(--line-strong); color: var(--text); background: var(--panel-raised); }
.secondary:hover { border-color: var(--cyan); background: #0d2944; }
.text-button { border: 0; color: var(--muted); background: transparent; }
.text-button:hover { color: var(--text); }
.wide { width: 100%; }
button:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid #7cecff; outline-offset: 3px; }

.field-error, .notice { border-left: 2px solid var(--danger); padding: 0.65rem 0.75rem; color: #ffd4d2; background: #321822; font-size: 0.72rem; }
.notice { margin: 0.9rem 0.9rem 0; border-color: var(--cyan); color: #d7f8ff; background: #07283a; }
.otp { font-family: "Roboto Mono", ui-monospace, monospace; font-size: 1.15rem; font-variant-numeric: tabular-nums; letter-spacing: 0.4em; text-align: center; }
.steps { display: grid; gap: 0.65rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.74rem; }
.steps li { display: flex; align-items: center; gap: 0.65rem; }
.steps span { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border: 1px solid var(--line-strong); color: var(--cyan); font-family: ui-monospace, monospace; font-size: 0.68rem; }
.access-intro { display: flex; align-items: flex-start; gap: 0.8rem; border: 1px solid rgb(0 188 136 / 0.3); padding: 0.8rem; background: rgb(0 188 136 / 0.06); }
.access-intro .eyebrow { margin-bottom: 0.3rem; color: var(--green); }
.access-mark { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid var(--green); border-radius: 50%; color: var(--green); background: rgb(0 188 136 / 0.08); font-weight: 700; }
.qr-frame { display: grid; place-items: center; width: fit-content; max-width: 100%; margin: 0 auto; padding: 0.65rem; background: #fff; }
.qr-frame img { display: block; width: min(210px, 64vw); height: auto; aspect-ratio: 1; }
.manual-key { border: 1px solid var(--line); padding: 0.7rem; color: var(--muted); font-size: 0.72rem; }
.manual-key summary { display: flex; min-height: 44px; align-items: center; color: #d8e6ef; cursor: pointer; font-weight: 700; }
.manual-key p { margin: 0.55rem 0; }
.key-row { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; align-items: center; }
.key-row code { min-width: 0; overflow-wrap: anywhere; color: var(--cyan); font-family: ui-monospace, monospace; font-size: 0.7rem; }
.key-row .secondary { min-height: 40px; padding: 0.45rem 0.65rem; }

.success-view { text-align: center; }
.success-icon { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto; border: 1px solid var(--green); color: var(--green); background: #00372d; font-size: 1.25rem; }
.success-view .eyebrow { margin-bottom: -0.3rem; }
.success-view h3 { margin: 0; font-size: 1rem; }
.grant-list { display: grid; gap: 0.5rem; text-align: left; }
.grant { display: flex; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); padding: 0.7rem 0.75rem; }
.grant strong { font-size: 0.74rem; }
.grant span { color: var(--green); font-family: ui-monospace, monospace; font-size: 0.68rem; text-transform: uppercase; }
.product-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.product-navigation a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.admin-entry { grid-column: 1 / -1; }

.login-layout.admin-layout { display: block; width: 100%; }
.admin-layout > .brand, .admin-layout > .brand-divider { display: none; }
.admin-mode .brand-field { opacity: 0.28; }
.admin-mode .shell { min-height: 100vh; padding: 0; }
.admin-mode .panel {
  min-height: 100vh;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.admin-mode .panel-head {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 58px;
  margin-left: 200px;
  align-items: center;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgb(0 14 31 / 0.92);
  backdrop-filter: blur(14px);
}
.admin-mode .panel-head h2 { margin: 0; font-size: 0.82rem; font-weight: 500; }
.admin-mode .panel-foot { margin-left: 200px; padding: 0.75rem 1.25rem; }
.admin-view { display: grid; min-height: calc(100vh - 95px); grid-template-columns: 200px minmax(0, 1fr); }

.admin-rail {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  margin-top: -58px;
  border-right: 1px solid var(--line);
  background: rgb(5 27 46 / 0.94);
}
.admin-brand { display: flex; min-height: 58px; align-items: center; gap: 0.65rem; border-bottom: 1px solid var(--line); padding: 0 1rem; }
.admin-brand img { width: 24px; height: 24px; object-fit: contain; }
.admin-brand div, .admin-brand strong, .admin-brand span { display: block; min-width: 0; }
.admin-brand strong { color: var(--text); font-size: 0.88rem; font-weight: 500; line-height: 1.1; }
.admin-brand span { margin-top: 0.2rem; color: var(--cyan); font-family: "Roboto Mono", ui-monospace, monospace; font-size: 0.52rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.admin-nav { flex: 1; padding: 0.8rem 0.6rem; }
.admin-nav p { margin: 0.85rem 0 0.35rem; padding: 0 0.65rem; color: #718da1; font-family: "Roboto Mono", ui-monospace, monospace; font-size: 0.54rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.admin-nav p:first-child { margin-top: 0; }
.admin-nav-item {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 6px;
  padding: 0.55rem 0.65rem;
  color: var(--muted);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}
.admin-nav-item svg, .admin-new svg, .search-control svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.admin-nav-item svg { width: 17px; height: 17px; flex: 0 0 auto; }
.admin-nav-item:hover { color: var(--text); background: rgb(0 213 245 / 0.06); }
.admin-nav-item.active { color: #7cecff; background: rgb(0 213 245 / 0.10); box-shadow: inset 2px 0 var(--cyan); }
.admin-rail-status { display: flex; align-items: center; gap: 0.45rem; border-top: 1px solid var(--line); padding: 0.85rem 1rem; color: #7893a5; font-family: "Roboto Mono", ui-monospace, monospace; font-size: 0.55rem; text-transform: uppercase; }
.admin-rail-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgb(0 188 136 / 0.1); }

.admin-workspace { min-width: 0; padding: 1rem 1.25rem 1.5rem; }
.admin-mobile-nav { display: none; }
.admin-toolbar { display: flex; max-width: 1500px; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 0 auto 1rem; }
.admin-heading h3 { margin: 0.35rem 0 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
.admin-heading > p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.72rem; }
.admin-kicker { display: flex; align-items: center; gap: 0.45rem; color: var(--muted); font-size: 0.67rem; }
.admin-kicker i { color: #526f83; font-style: normal; }
.admin-kicker strong { color: #c9d9e4; font-weight: 500; }
.admin-new { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 0.45rem; min-height: 38px; border-radius: 6px; }
.admin-new svg { width: 16px; height: 16px; }

.admin-section {
  display: grid;
  max-width: 1500px;
  gap: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(5 27 46 / 0.92);
  box-shadow: 0 14px 38px rgb(0 0 0 / 0.12);
}
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.section-heading h3 { margin: 0; font-size: 0.9rem; font-weight: 500; }
.section-title-line { display: flex; align-items: center; gap: 0.55rem; }
.section-description { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.68rem; }
.count-badge, .status-badge, .grant-badge { display: inline-flex; min-height: 22px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.15rem 0.48rem; color: var(--muted); font-family: "Roboto Mono", ui-monospace, monospace; font-size: 0.56rem; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; }
.users-section-heading { align-items: flex-end; }
.search-field { width: min(360px, 100%); gap: 0.3rem; }
.admin-section label, .editor-group legend { color: #9bb0bf; font-family: "Roboto", ui-sans-serif, system-ui, sans-serif; font-size: 0.68rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.search-control { position: relative; }
.search-control svg { position: absolute; top: 50%; left: 0.7rem; width: 15px; height: 15px; color: #7893a5; transform: translateY(-50%); pointer-events: none; }
.search-control input { min-height: 38px; border-radius: 6px; padding: 0.5rem 0.7rem 0.5rem 2rem; font-size: 0.75rem; }
.user-list-head { display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(220px, 1fr) minmax(150px, auto); gap: 1rem; padding: 0.65rem 1rem; border-bottom: 1px solid var(--line); color: #728da0; background: rgb(0 14 31 / 0.25); font-family: "Roboto Mono", ui-monospace, monospace; font-size: 0.55rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
#admin-list-status:not(:empty) { padding: 0.75rem 1rem 0; }
.user-list { display: grid; }
.user-row { display: grid; width: 100%; min-height: 62px; grid-template-columns: minmax(220px, 1.4fr) minmax(220px, 1fr) minmax(150px, auto); align-items: center; gap: 1rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0.75rem 1rem; color: var(--text); background: transparent; text-align: left; transition: background-color 150ms ease, box-shadow 150ms ease; }
.user-row:last-child { border-bottom: 0; }
.user-row:hover { background: rgb(0 213 245 / 0.045); box-shadow: inset 2px 0 var(--cyan); }
.user-identity { min-width: 0; }
.user-identity strong, .user-identity span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-identity strong { font-size: 0.76rem; font-weight: 500; }
.user-identity span { margin-top: 0.18rem; color: var(--muted); font-size: 0.66rem; }
.user-grants { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.grant-badge { border-color: rgb(0 213 245 / 0.25); color: #8adce8; background: rgb(0 213 245 / 0.06); }
.user-state { display: flex; align-items: center; justify-content: flex-end; gap: 0.35rem; }
.status-badge.active { border-color: rgb(0 188 136 / 0.35); color: #72d9bb; background: rgb(0 188 136 / 0.07); }
.status-badge.inactive { border-color: rgb(255 141 136 / 0.35); color: #ffaaa6; background: rgb(255 141 136 / 0.07); }
.status-badge.pending { border-color: rgb(0 213 245 / 0.35); color: #8ce7f2; background: rgb(0 213 245 / 0.07); }
.status-badge.failed, .status-badge.expired { border-color: rgb(255 141 136 / 0.35); color: #ffaaa6; background: rgb(255 141 136 / 0.07); }
.empty-state { margin: 1rem; border: 1px dashed var(--line-strong); border-radius: 8px; padding: 2rem 1.2rem; color: var(--muted); font-size: 0.75rem; text-align: center; }

.editor { gap: 0; }
.editor-heading { align-items: center; }
.editor-heading .secondary { min-height: 36px; border-radius: 6px; padding: 0.45rem 0.75rem; }
.editor-group { min-width: 0; margin: 0; border: 0; border-bottom: 1px solid var(--line); padding: 1rem; }
.editor-group legend { width: 100%; margin: 0 0 0.75rem; padding: 0; color: #d1dee7; font-size: 0.74rem; }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.editor .field { gap: 0.35rem; }
.editor input, .editor select { min-height: 40px; border-radius: 6px; font-size: 0.76rem; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; padding: 1rem; border-bottom: 1px solid var(--line); }
.check-row { display: flex; min-height: 68px; align-items: flex-start; gap: 0.7rem; border: 1px solid var(--line); border-radius: 8px; padding: 0.75rem; background: rgb(0 14 31 / 0.25); cursor: pointer; letter-spacing: normal; text-transform: none; }
.check-row:hover { border-color: var(--line-strong); background: rgb(0 213 245 / 0.035); }
.check-row input { flex: 0 0 auto; width: 18px; min-height: 18px; margin: 0.12rem 0 0; accent-color: var(--green); }
.check-row span, .check-row strong, .check-row small { display: block; }
.check-row strong { color: var(--text); font-size: 0.72rem; font-weight: 500; }
.check-row small { margin-top: 0.25rem; color: var(--muted); font-size: 0.65rem; font-weight: 400; line-height: 1.45; }
.editor > .field-error { margin: 1rem 1rem 0; }
.editor-submit { display: flex; justify-content: flex-end; padding: 1rem; }
.editor-submit .primary { min-width: 170px; border-radius: 6px; }
.access-delivery { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 1rem 1rem; border: 1px solid rgb(0 213 245 / 0.28); border-radius: 8px; padding: 0.9rem; background: rgb(0 213 245 / 0.055); }
.access-delivery h4, .security-actions h4, .audit-section h4 { margin: 0.3rem 0; font-size: 0.78rem; font-weight: 500; }
.access-delivery p, .security-actions p { margin: 0; color: var(--muted); font-size: 0.68rem; }
.access-delivery .delivery-time { margin-top: 0.35rem; color: #bed0dc; font-family: "Roboto Mono", ui-monospace, monospace; font-size: 0.58rem; }
.access-delivery-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 0.55rem; }
.access-delivery-actions .secondary { min-height: 38px; border-radius: 6px; }
.security-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 1rem; border-top: 1px solid var(--line); padding: 1rem 0; }
.action-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; }
.action-row .secondary { min-height: 38px; border-radius: 6px; }
.audit-section { margin: 0 1rem; border-top: 1px solid var(--line); padding: 1rem 0; }
.audit-list { display: grid; gap: 0.4rem; margin-top: 0.55rem; }
.audit-event { display: grid; grid-template-columns: minmax(135px, auto) 1fr; gap: 0.7rem; border-left: 2px solid var(--line-strong); padding: 0.5rem 0.65rem; color: var(--muted); background: rgb(0 14 31 / 0.22); font-size: 0.65rem; }
.audit-event time { color: #c6d9e4; font-family: "Roboto Mono", ui-monospace, monospace; }
.audit-event strong { color: var(--text); font-weight: 500; }
.panel-foot { display: flex; justify-content: space-between; gap: 0.75rem; border-top: 1px solid var(--line); padding: 0.7rem 0.9rem; color: #708da0; font-family: ui-monospace, monospace; font-size: 0.54rem; letter-spacing: 0.04em; text-transform: uppercase; }

@media (max-width: 980px) {
  .admin-mode .panel-head, .admin-mode .panel-foot { margin-left: 0; }
  .admin-view { grid-template-columns: minmax(0, 1fr); }
  .admin-rail { display: none; }
  .admin-mobile-nav { display: flex; gap: 0.35rem; margin: 0 auto 0.9rem; }
  .admin-mobile-nav a { min-height: 36px; border: 1px solid var(--line); border-radius: 6px; padding: 0.48rem 0.7rem; color: var(--muted); background: rgb(5 27 46 / 0.76); font-size: 0.68rem; font-weight: 500; text-decoration: none; }
  .admin-mobile-nav a:hover { border-color: var(--line-strong); color: var(--text); }
}

@media (max-width: 760px) {
  .shell { align-items: flex-start; padding: 2rem 1rem; }
  .login-layout { width: min(430px, 100%); grid-template-columns: 1fr; row-gap: 1.5rem; }
  .login-layout.admin-layout { width: 100%; grid-template-columns: 1fr; }
  .brand { align-items: center; text-align: center; }
  .brand img { width: 82px; height: 82px; }
  .brand h1 { margin-top: 0.65rem; font-size: 2.35rem; }
  .brand .eyebrow { margin-top: 0.6rem; }
  .brand-copy { margin-top: 0.55rem; }
  .brand-divider { width: 144px; height: 1px; justify-self: center; }
  .admin-layout .brand-divider { width: 144px; height: 1px; }
  .admin-workspace { padding: 0.8rem; }
  .admin-mobile-nav a, .admin-new, .editor-heading .secondary { min-height: 44px; }
  .users-section-heading { align-items: stretch; flex-direction: column; }
  .search-field { width: 100%; max-width: none; }
  .search-control input, .editor input, .editor select { min-height: 44px; font-size: 1rem; }
  .user-list-head { display: none; }
  .user-row { grid-template-columns: 1fr; }
  .user-state { justify-content: flex-start; }
  .editor-grid, .check-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .shell { padding: 1.25rem 0 0; }
  .login-layout { width: 100%; row-gap: 1rem; }
  .brand { padding: 0 1rem; }
  .brand img { width: 68px; height: 68px; }
  .brand h1 { font-size: 2rem; }
  .brand-copy { display: none; }
  .panel { border-right: 0; border-bottom: 0; border-left: 0; }
  .product-navigation { grid-template-columns: 1fr; }
  .panel-foot { flex-direction: column; }
  .key-row { grid-template-columns: 1fr; }
  .editor-grid, .check-grid { grid-template-columns: 1fr; }
  .admin-toolbar, .security-actions, .access-delivery { align-items: stretch; flex-direction: column; }
  .admin-toolbar .primary, .action-row, .action-row button { width: 100%; }
  .access-delivery-actions { align-items: stretch; flex-direction: column; }
  .audit-event { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
