/*
 * Post Zeist — the shared stylesheet of the auth server.
 *
 * One file for every screen: the login screens (interactions/) and the
 * account section (profile/). Plain CSS, no framework and no build step.
 *
 * Colours are tokens. Light is the default; dark follows the device setting
 * (`prefers-color-scheme`) — there is deliberately no per-user switch. Every
 * text and border colour below meets WCAG AA contrast against the surface it
 * sits on, in both themes. Check that again when changing a value.
 */

/* ─── Tokens ─────────────────────────────────────────────────────────── */

:root {
  color-scheme: light dark;

  --pz-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --pz-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --pz-radius-sm: 6px;
  --pz-radius: 10px;
  --pz-radius-lg: 14px;

  --pz-space-1: 4px;
  --pz-space-2: 8px;
  --pz-space-3: 12px;
  --pz-space-4: 16px;
  --pz-space-5: 24px;
  --pz-space-6: 32px;
  --pz-space-7: 48px;

  /* Light */
  --pz-bg: #f5f5f4;
  --pz-surface: #ffffff;
  --pz-surface-sunken: #f4f4f5;
  --pz-text: #18181b;
  --pz-text-muted: #52525b;
  --pz-text-subtle: #6b6b74;
  --pz-border: #e4e4e7;
  --pz-border-strong: #8b8b94;
  --pz-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 4px 16px rgb(0 0 0 / 0.06);

  /* Petrol: brand, buttons and links share one colour. Red is reserved for
     errors and destructive actions, so it never reads as "just a button". */
  --pz-brand: #0e7490;
  --pz-on-brand: #ffffff;
  --pz-primary: #0e7490;
  --pz-primary-hover: #155e75;
  --pz-on-primary: #ffffff;
  --pz-link: #0e7490;
  --pz-focus: #0e7490;

  --pz-danger: #b42318;
  --pz-danger-bg: #fef3f2;
  --pz-danger-border: #f5b5ae;
  --pz-warning: #b54708;
  --pz-warning-bg: #fffaeb;
  --pz-warning-border: #fedf89;
  --pz-success: #067647;
  --pz-success-bg: #ecfdf3;
  --pz-success-border: #a6e9c3;
  --pz-info: #0e7490;
  --pz-info-bg: #ecfafd;
  --pz-info-border: #a5e3f0;

  --pz-soon-bg: #f4f4f5;
  --pz-soon-text: #52525b;
  --pz-soon-border: #e4e4e7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --pz-bg: #0f0f11;
    --pz-surface: #18181b;
    --pz-surface-sunken: #121214;
    --pz-text: #f4f4f5;
    --pz-text-muted: #a1a1aa;
    --pz-text-subtle: #8b8b94;
    --pz-border: #2a2a2f;
    --pz-border-strong: #6e6e78;
    --pz-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 16px rgb(0 0 0 / 0.35);

    --pz-primary-hover: #0b6680;
    --pz-link: #5fcde4;
    --pz-focus: #5fcde4;

    --pz-danger: #fda29b;
    --pz-danger-bg: #2a1615;
    --pz-danger-border: #7a2a24;
    --pz-warning: #fec84b;
    --pz-warning-bg: #2a2010;
    --pz-warning-border: #6b4a10;
    --pz-success: #75e0a7;
    --pz-success-bg: #0f2419;
    --pz-success-border: #1f5c3c;
    --pz-info: #5fcde4;
    --pz-info-bg: #0d2329;
    --pz-info-border: #155e75;

    --pz-soon-bg: #222226;
    --pz-soon-text: #a1a1aa;
    --pz-soon-border: #33333a;
  }
}

/* ─── Base ───────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--pz-font);
  font-size: 16px;
  line-height: 1.5;
  background: var(--pz-bg);
  color: var(--pz-text);
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.01em;
}

a {
  color: var(--pz-link);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--pz-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

code {
  font-family: var(--pz-font-mono);
  font-size: 0.9em;
}

/* The `hidden` attribute loses to any rule that sets `display`. Here it
   always wins: the passkey forms and their messages start hidden and are
   revealed by script. */
[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Wordmark ───────────────────────────────────────────────────────── */

.pz-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pz-text);
  text-decoration: none;
}

.pz-mark svg {
  width: 32px;
  height: 32px;
  flex: none;
}

.pz-mark .pz-mark-tile {
  fill: var(--pz-brand);
}

.pz-mark .pz-mark-glyph {
  stroke: var(--pz-on-brand);
}

.pz-mark-name {
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.015em;
}

.pz-mark.small svg {
  width: 26px;
  height: 26px;
}

.pz-mark.small .pz-mark-name {
  font-size: 16px;
}

/* ─── Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--pz-space-2);
  width: 100%;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  padding: 11px 16px;
  border-radius: var(--pz-radius);
  border: 1px solid transparent;
  background: var(--pz-primary);
  color: var(--pz-on-primary);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--pz-primary-hover);
}

.btn:focus-visible {
  border-radius: var(--pz-radius);
}

.btn.secondary {
  background: transparent;
  color: var(--pz-text);
  border-color: var(--pz-border-strong);
}

.btn.secondary:hover {
  background: var(--pz-surface-sunken);
}

.btn.danger {
  background: transparent;
  color: var(--pz-danger);
  border-color: var(--pz-danger-border);
}

.btn.danger:hover {
  background: var(--pz-danger-bg);
}

.btn.inline {
  width: auto;
}

/* While the device is asking for a fingerprint. */
.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.btn.small {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
}

.stack {
  display: grid;
  gap: var(--pz-space-2);
}

/* ─── Form fields ────────────────────────────────────────────────────── */

.field {
  margin: 0 0 var(--pz-space-4);
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  font: inherit;
  /* 16px keeps iOS Safari from zooming in on focus. */
  font-size: 16px;
  padding: 10px 12px;
  border-radius: var(--pz-radius);
  border: 1px solid var(--pz-border-strong);
  background: var(--pz-surface);
  color: var(--pz-text);
}

.field input:focus-visible {
  outline: 2px solid var(--pz-focus);
  outline-offset: 1px;
}

.field input[aria-invalid="true"] {
  border-color: var(--pz-danger);
}

.field input[readonly] {
  background: var(--pz-surface-sunken);
  color: var(--pz-text-muted);
}

.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--pz-text-subtle);
}

.check {
  display: flex;
  gap: var(--pz-space-2);
  align-items: flex-start;
  margin: 0 0 var(--pz-space-4);
}

.check input {
  margin-top: 4px;
  accent-color: var(--pz-primary);
}

.check label {
  font-size: 15px;
}

/* ─── Alerts ─────────────────────────────────────────────────────────── */

.alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 var(--pz-space-4);
  padding: 10px 12px;
  border-radius: var(--pz-radius);
  border: 1px solid;
  font-size: 14px;
  color: var(--pz-text);
}

.alert svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
}

.alert.error {
  background: var(--pz-danger-bg);
  border-color: var(--pz-danger-border);
}

.alert.error svg {
  color: var(--pz-danger);
}

.alert.success {
  background: var(--pz-success-bg);
  border-color: var(--pz-success-border);
}

.alert.success svg {
  color: var(--pz-success);
}

.alert.info {
  background: var(--pz-info-bg);
  border-color: var(--pz-info-border);
}

.alert.info svg {
  color: var(--pz-info);
}

.alert.warning {
  background: var(--pz-warning-bg);
  border-color: var(--pz-warning-border);
}

.alert.warning svg {
  color: var(--pz-warning);
}

/* ─── Badges ─────────────────────────────────────────────────────────── */

.badge,
.soon {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--pz-border);
  background: var(--pz-surface-sunken);
  color: var(--pz-text-muted);
  vertical-align: 1px;
}

.badge.on {
  background: var(--pz-success-bg);
  border-color: var(--pz-success-border);
  color: var(--pz-success);
}

.soon {
  font-size: 11px;
  letter-spacing: 0.02em;
  background: var(--pz-soon-bg);
  color: var(--pz-soon-text);
  border-color: var(--pz-soon-border);
}

/* ─── Auth layout: one card in the middle of the screen ──────────────── */

.auth-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pz-space-5);
  padding: var(--pz-space-7) var(--pz-space-4) var(--pz-space-6);
}

@media (max-width: 480px) {
  .auth-page {
    padding-top: var(--pz-space-6);
  }
}

.card {
  width: 100%;
  max-width: 400px;
  background: var(--pz-surface);
  border: 1px solid var(--pz-border);
  border-radius: var(--pz-radius-lg);
  box-shadow: var(--pz-shadow);
  padding: var(--pz-space-6);
}

@media (max-width: 480px) {
  .card {
    padding: var(--pz-space-5);
  }
}

.card h1 {
  font-size: 22px;
  margin: 0 0 var(--pz-space-1);
}

.card form {
  margin: 0;
}

.lead {
  margin: 0 0 var(--pz-space-5);
  font-size: 15px;
  color: var(--pz-text-muted);
}

.lead + .lead {
  margin-top: calc(-1 * var(--pz-space-3));
}

.lead strong {
  color: var(--pz-text);
  font-weight: 600;
}

/* The round icon above the heading on message pages. */
.status-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 0 var(--pz-space-4);
}

.status-icon svg {
  width: 22px;
  height: 22px;
}

.status-icon.success {
  background: var(--pz-success-bg);
  color: var(--pz-success);
}

.status-icon.warning {
  background: var(--pz-warning-bg);
  color: var(--pz-warning);
}

.status-icon.info {
  background: var(--pz-info-bg);
  color: var(--pz-info);
}

.scopes {
  list-style: none;
  margin: 0 0 var(--pz-space-5);
  padding: 0;
  border: 1px solid var(--pz-border);
  border-radius: var(--pz-radius);
}

.scopes li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  font-size: 15px;
}

.scopes li + li {
  border-top: 1px solid var(--pz-border);
}

.scopes svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--pz-link);
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--pz-space-2) var(--pz-space-4);
  margin: var(--pz-space-5) 0 0;
  font-size: 14px;
}

/* A POST that reads as a link: "Niet nu, terug naar …" on the step-up
   screens. A form, because leaving ends the login attempt on the server. */
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--pz-link);
  text-decoration: underline;
  cursor: pointer;
}

.auth-foot {
  margin: 0;
  font-size: 13px;
  color: var(--pz-text-subtle);
  text-align: center;
}

/* ─── Message extras: code, technical details, dev note ──────────────── */

.code {
  margin: 0 0 var(--pz-space-5);
  padding: 10px 12px;
  border-radius: var(--pz-radius);
  background: var(--pz-surface-sunken);
  border: 1px solid var(--pz-border);
  font-size: 14px;
  overflow-x: auto;
}

.tech {
  margin: var(--pz-space-5) 0 0;
  padding-top: var(--pz-space-4);
  border-top: 1px solid var(--pz-border);
  font-size: 13px;
  color: var(--pz-text-subtle);
}

.tech summary {
  cursor: pointer;
  color: var(--pz-text-muted);
}

.tech summary:focus-visible {
  outline: 2px solid var(--pz-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.tech p {
  margin: var(--pz-space-2) 0 0;
  overflow-wrap: anywhere;
}

.dev-note {
  margin: var(--pz-space-4) 0 0;
  padding: 10px 12px;
  border-radius: var(--pz-radius);
  border: 1px dashed var(--pz-danger-border);
  background: var(--pz-danger-bg);
  font-size: 13px;
}

.dev-note p {
  margin: var(--pz-space-1) 0 0;
  overflow-wrap: anywhere;
}

/* ─── App layout: the account section, with an app bar and tabs ──────── */

.skip-link {
  position: absolute;
  left: var(--pz-space-4);
  top: -100px;
  z-index: 10;
  padding: var(--pz-space-2) var(--pz-space-3);
  border-radius: var(--pz-radius);
  background: var(--pz-surface);
  color: var(--pz-text);
  box-shadow: var(--pz-shadow);
}

.skip-link:focus {
  top: var(--pz-space-2);
}

.appbar {
  background: var(--pz-surface);
  border-bottom: 1px solid var(--pz-border);
}

.appbar-inner,
.app-main {
  max-width: 48rem;
  margin: 0 auto;
  padding-left: var(--pz-space-4);
  padding-right: var(--pz-space-4);
}

.appbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--pz-space-3);
  min-height: 60px;
  padding-top: var(--pz-space-2);
  padding-bottom: var(--pz-space-2);
}

.appbar-home {
  text-decoration: none;
  border-radius: var(--pz-radius-sm);
}

.appbar-user {
  display: flex;
  align-items: center;
  gap: var(--pz-space-3);
  font-size: 14px;
  color: var(--pz-text-muted);
}

.appbar-user form {
  margin: 0;
}

.app-main {
  padding-top: var(--pz-space-6);
  padding-bottom: var(--pz-space-7);
}

.page-title {
  font-size: 24px;
  margin: 0 0 var(--pz-space-4);
}

/* One row, always. On a narrow screen the tabs get tighter, and if they
   still do not fit the row scrolls sideways instead of wrapping — a second
   row of tabs reads as a second menu. */
.tabs {
  display: flex;
  gap: var(--pz-space-1);
  margin: 0 0 var(--pz-space-5);
  border-bottom: 1px solid var(--pz-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

@media (max-width: 480px) {
  .tabs {
    gap: 0;
    margin-left: calc(-1 * var(--pz-space-2));
    margin-right: calc(-1 * var(--pz-space-2));
  }

}

.tabs a {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--pz-text-muted);
  text-decoration: none;
  font-size: 15px;
}

.tabs a:hover {
  color: var(--pz-text);
}

.tabs a[aria-current="page"] {
  color: var(--pz-text);
  font-weight: 600;
  border-bottom-color: var(--pz-brand);
}

@media (max-width: 480px) {
  .tabs a {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 14px;
  }
}

.section {
  background: var(--pz-surface);
  border: 1px solid var(--pz-border);
  border-radius: var(--pz-radius-lg);
  padding: var(--pz-space-5);
  margin: 0 0 var(--pz-space-4);
}

@media (max-width: 480px) {
  .section {
    padding: var(--pz-space-4);
  }
}

.section h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pz-space-2);
  font-size: 17px;
  margin: 0 0 var(--pz-space-1);
}

.section-lead {
  margin: 0 0 var(--pz-space-4);
  font-size: 14px;
  color: var(--pz-text-muted);
}

.section form {
  margin: 0;
}

.section .field input {
  max-width: 28rem;
}

/* Something that is coming: present, but visibly not there yet. */
.section.placeholder {
  background: var(--pz-surface-sunken);
  border-style: dashed;
}

.section.placeholder p,
.section.placeholder ul {
  margin: 0 0 var(--pz-space-2);
  font-size: 14px;
  color: var(--pz-text-muted);
}

.section.placeholder ul {
  padding-left: 1.2rem;
}

.details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px var(--pz-space-3);
  margin: 0;
  font-size: 14px;
}

.details dt {
  color: var(--pz-text-subtle);
}

.details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.sessions {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sessions > li {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--pz-space-3);
  padding: var(--pz-space-4) 0;
  border-top: 1px solid var(--pz-border);
}

.sessions > li:first-child {
  border-top: 0;
  padding-top: 0;
}

.sessions > li:last-child {
  padding-bottom: 0;
}

.session-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pz-space-2);
  margin: 0 0 var(--pz-space-2);
  font-size: 15px;
  font-weight: 600;
}

.sessions .details {
  font-size: 13px;
}

.session-action {
  font-size: 13px;
  color: var(--pz-text-subtle);
}

/* ─── Passkeys ───────────────────────────────────────────────────────── */

/* The list borrows the look of the session list. Unlike that one it has a
   lead paragraph above and a heading below. */
.passkeys {
  margin: var(--pz-space-4) 0 0;
}

/* A closing remark under the last form of a section. */
.section-foot {
  margin: var(--pz-space-5) 0 0;
}

/* On the login screen: the passkey button below the password form, set apart
   by a line with "of" in the middle. */
.or {
  display: flex;
  align-items: center;
  gap: var(--pz-space-3);
  margin: var(--pz-space-5) 0 var(--pz-space-4);
  font-size: 13px;
  color: var(--pz-text-subtle);
}

.or::before,
.or::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--pz-border);
}

/* ─── Two-factor: setup, codes, recovery codes ───────────────────────── */

/* A one-time code or recovery code: monospaced and spaced out, so a typo is
   visible before it is submitted. */
.field input.code-input {
  max-width: 16rem;
  font-family: var(--pz-font-mono);
  letter-spacing: 0.12em;
}

/* A sub-heading inside a section: below the h2, never larger than it. */
.section h3 {
  margin: var(--pz-space-5) 0 var(--pz-space-1);
  font-size: 15px;
}

.steps {
  margin: 0;
  padding-left: 1.4rem;
}

.steps > li {
  padding-left: var(--pz-space-1);
  margin-bottom: var(--pz-space-5);
}

.steps > li:last-child {
  margin-bottom: 0;
}

.steps > li::marker {
  font-weight: 700;
  color: var(--pz-text-muted);
}

.steps h3 {
  margin: 0 0 var(--pz-space-1);
}

.steps p {
  margin: 0 0 var(--pz-space-3);
  font-size: 14px;
  color: var(--pz-text-muted);
}

.steps .details {
  margin-bottom: var(--pz-space-2);
}

/* Black on white in dark mode as well: a camera needs the contrast, and an
   inverted code is one many apps refuse. The padding is part of the quiet
   zone around it. */
.qr {
  display: inline-block;
  margin: 0 0 var(--pz-space-3);
  padding: var(--pz-space-2);
  border-radius: var(--pz-radius);
  border: 1px solid var(--pz-border);
  background: #ffffff;
  line-height: 0;
}

.qr svg {
  width: 200px;
  height: 200px;
}

.secret-key {
  letter-spacing: 0.06em;
  user-select: all;
}

.recovery-codes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 12rem));
  gap: var(--pz-space-2) var(--pz-space-5);
  margin: 0 0 var(--pz-space-4);
  padding: var(--pz-space-4);
  list-style: none;
  border-radius: var(--pz-radius);
  border: 1px solid var(--pz-border);
  background: var(--pz-surface-sunken);
}

.recovery-codes code {
  font-size: 16px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .recovery-codes {
    grid-template-columns: 1fr;
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pz-space-2);
}

/* `hidden` loses to `.btn { display: inline-flex }` without this. */
.btn[hidden] {
  display: none;
}

.print-only {
  display: none;
}

/* ─── Print: only what is worth having on paper ──────────────────────── */

@media print {
  body {
    background: #ffffff;
    color: #000000;
  }

  .appbar,
  .tabs,
  .page-title,
  .skip-link,
  .alert,
  .no-print {
    display: none;
  }

  .print-only {
    display: block;
  }

  .section {
    border: 0;
    padding: 0;
  }

  .recovery-codes {
    background: none;
    border-color: #000000;
  }
}

/* ─── Beheer ─────────────────────────────────────────────────────────── */

/* A list of things with an action on the right; the look of the session list. */
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rows > li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--pz-space-2) var(--pz-space-3);
  padding: var(--pz-space-3) 0;
  border-top: 1px solid var(--pz-border);
}

.rows > li:first-child {
  border-top: 0;
  padding-top: 0;
}

.rows > li:last-child {
  padding-bottom: 0;
}

.row-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pz-space-2);
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.row-meta {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--pz-text-subtle);
  overflow-wrap: anywhere;
}

.rows .details {
  margin-top: var(--pz-space-2);
  font-size: 13px;
}

.row-action {
  flex: none;
}

.muted {
  color: var(--pz-text-subtle);
  font-weight: normal;
}

p.muted {
  margin: 0;
  font-size: 14px;
}

.crumbs {
  margin: 0 0 var(--pz-space-3);
  font-size: 14px;
}

.stack-form .field {
  margin-bottom: var(--pz-space-3);
}

.spaced {
  margin-bottom: var(--pz-space-4) !important;
}

.spaced-top {
  margin-top: var(--pz-space-4) !important;
}

.field select {
  width: 100%;
  max-width: 28rem;
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: var(--pz-radius);
  border: 1px solid var(--pz-border-strong);
  background: var(--pz-surface);
  color: var(--pz-text);
}

.field select:focus-visible {
  outline: 2px solid var(--pz-focus);
  outline-offset: 1px;
}

.badge.warn {
  background: var(--pz-warning-bg);
  border-color: var(--pz-warning-border);
  color: var(--pz-warning);
}

details > summary {
  cursor: pointer;
  color: var(--pz-link);
  font-size: 14px;
  margin-bottom: var(--pz-space-3);
}

.appbar-user a {
  color: inherit;
}
