/* STV Beinwil am See – Beleg-App. Vereinsfarbe #0093dd
   Standards: rem-Typografie, 4-px-Abstandsraster, Touch-Ziele ≥ 44 px, sichtbarer Fokus, Kontrast ≥ WCAG AA,
   hell/dunkel (color-scheme), prefers-reduced-motion, forced-colors, Safe-Areas. */

:root {
  color-scheme: light dark;

  /* Farben */
  --brand: #0093dd;          /* Vereinsfarbe: Akzentlinie, Fokus, Tabs, Wappen */
  --brand-strong: #0077b5;   /* Flächen und Links mit Text (≥ 4,5:1 auf Weiss) */
  --brand-dark: #005f93;
  --brand-tint: #e5f4fc;
  --brand-line: #b8dff3;

  --bg: #f2f5f8;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --text: #13202c;
  --muted: #566879;
  --line: #dce4ec;
  --line-strong: #b4c3d1;

  --ok: #146c43;      --ok-bg: #def3e7;
  --warn: #7a4a00;    --warn-bg: #fdeccc;
  --bad: #b42318;     --bad-bg: #fde6e3;

  /* Abstandsraster (4 px) */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem;

  /* Typografie */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --fs-xs: .8125rem;  /* 13 px: kleinste erlaubte Grösse */
  --fs-sm: .875rem;   /* 14 px */
  --fs-md: 1rem;      /* 16 px: Fliesstext, Eingaben (verhindert Zoom auf iOS) */
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);

  /* Form */
  --radius: .75rem;
  --radius-sm: .5625rem;
  --target: 2.75rem;  /* 44 px: Mindestgrösse von Touch-Zielen */
  --shadow: 0 1px 2px rgba(16, 40, 60, .06), 0 6px 20px rgba(16, 40, 60, .05);
  --focus: 0 0 0 3px rgba(0, 147, 221, .45);
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand-strong: #0e86c9;
    --brand-dark: #0a6ea8;
    --brand-tint: #11303f;
    --brand-line: #1d4b63;
    --bg: #0d151c;
    --surface: #15212b;
    --surface-2: #1a2834;
    --text: #e7eef4;
    --muted: #9bafbf;
    --line: #25333f;
    --line-strong: #3d505e;
    --ok: #5fd39a;   --ok-bg: #143626;
    --warn: #f1c05f; --warn-bg: #3b2e10;
    --bad: #ff8d82;  --bad-bg: #40191a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--sp-5); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--text);
  font: var(--fs-md)/1.5 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  hyphens: auto; overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { margin: 0; line-height: 1.25; text-wrap: balance; }
p { margin: 0 0 var(--sp-2); max-width: 65ch; text-wrap: pretty; }
a { color: var(--brand-strong); text-underline-offset: .15em; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
.icon { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* Fokus: nur bei Tastatur-/Fokus-sichtbar, nie ohne Alternative entfernt */
:focus { outline: 2px solid transparent; }
:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 2px; box-shadow: var(--focus); }

/* Sprunglink für Tastatur- und Screenreader-Nutzer */
.skip-link { position: absolute; left: var(--sp-4); top: -4rem; z-index: 100; background: var(--surface); color: var(--text); padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); box-shadow: var(--shadow); font-weight: 600; }
.skip-link:focus { top: var(--sp-3); }

/* ---------- Kopfzeile ---------- */
.topbar { background: var(--surface); color: var(--text); border-bottom: 4px solid var(--brand); box-shadow: var(--shadow); }
.topbar-inner {
  max-width: 65rem; margin: 0 auto; display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
  padding: var(--sp-3) max(var(--sp-4), env(safe-area-inset-right)) var(--sp-3) max(var(--sp-4), env(safe-area-inset-left));
}
.brand { display: flex; align-items: center; gap: var(--sp-3); min-width: 0; }
.brand-crest { flex: none; display: grid; place-items: center; border-radius: var(--radius-sm); }
.brand-crest img { display: block; height: 2.5rem; width: auto; }
@media (prefers-color-scheme: dark) { .brand-crest { background: #fff; padding: .25rem .375rem; } .brand-crest img { height: 2.125rem; } }
.brand-title { font-weight: 700; line-height: 1.2; font-size: var(--fs-md); }
.brand-sub { font-size: var(--fs-sm); color: var(--muted); line-height: 1.2; }
.topbar .who { margin-left: auto; display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); min-width: 0; }
.who-mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 15rem; color: var(--muted); }
@media (max-width: 30rem) { .who-mail { display: none; } }

/* ---------- Seitenraster ---------- */
.page {
  max-width: 45rem; margin: 0 auto;
  padding: var(--sp-5) max(var(--sp-4), env(safe-area-inset-right)) calc(var(--sp-7) + env(safe-area-inset-bottom)) max(var(--sp-4), env(safe-area-inset-left));
}
.page.wide { max-width: 65rem; }
.page.narrow { max-width: 29rem; padding-top: var(--sp-6); }
.page:focus { outline: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--sp-5); margin-bottom: var(--sp-5); }
@media (max-width: 30rem) { .card { padding: var(--sp-4); } }
.card h2 { font-size: var(--fs-lg); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-1); }
.lead { color: var(--muted); margin: var(--sp-1) 0 0; }
.section { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.section:first-of-type { margin-top: var(--sp-3); padding-top: 0; border-top: 0; }
.section-title { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-1); }
.section-title h3 { font-size: var(--fs-md); font-weight: 700; }
.step { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--brand-strong); color: #fff; display: grid; place-items: center; font-size: var(--fs-xs); font-weight: 700; flex: none; }
.logo-hero { display: grid; place-items: center; margin: 0 auto var(--sp-5); }
.logo-hero img { display: block; width: min(100%, 19rem); height: auto; background: #fff; border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); }
@media (prefers-color-scheme: light) { .logo-hero img { background: none; padding: 0; } }

/* ---------- Formulare ---------- */
label { display: block; font-weight: 600; font-size: var(--fs-sm); margin: var(--sp-4) 0 var(--sp-2); }
input, textarea, select {
  width: 100%; font: inherit; font-size: var(--fs-md); color: inherit; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: var(--sp-3); min-height: var(--target);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:hover, textarea:hover, select:hover { border-color: var(--brand); }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-color: var(--brand); }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--bad); }
input[type=checkbox] { width: 1.375rem; height: 1.375rem; min-height: 0; padding: 0; accent-color: var(--brand-strong); cursor: pointer; }
textarea { min-height: 6rem; resize: vertical; line-height: 1.5; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-4); }
@media (max-width: 32.5rem) { .row { grid-template-columns: 1fr; } }
.hint { color: var(--muted); font-size: var(--fs-sm); margin: var(--sp-2) 0 0; }
.err { color: var(--bad); font-size: var(--fs-sm); margin: var(--sp-2) 0 0; display: flex; gap: var(--sp-2); align-items: flex-start; }
.err:empty { display: none; }
.good { color: var(--ok); font-size: var(--fs-sm); margin: var(--sp-2) 0 0; display: flex; gap: var(--sp-2); align-items: center; font-weight: 600; }
.note-lock { display: flex; gap: var(--sp-2); align-items: flex-start; color: var(--muted); font-size: var(--fs-sm); margin-top: var(--sp-3); }
.note-lock .icon { margin-top: .125rem; color: var(--brand-strong); }
.required-note { color: var(--muted); font-size: var(--fs-sm); margin: var(--sp-1) 0 0; }

/* ---------- Konto, Auswahl-Karten ---------- */
details.card > summary { cursor: pointer; font-weight: 700; font-size: var(--fs-lg); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); min-height: var(--target); }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand-strong); flex: none; }
details.card[open] > summary::after { content: "\2013"; }
details.card[open] > summary { margin-bottom: var(--sp-3); }
.stored-iban { display: flex; gap: var(--sp-3); align-items: flex-start; flex-wrap: wrap; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); background: var(--brand-tint); margin-top: var(--sp-2); }
.stored-iban > .icon { margin-top: .2rem; color: var(--brand-strong); }
.stored-iban > div { flex: 1; min-width: 12rem; }
.stored-iban .hint { margin-top: var(--sp-1); }
.static-field { padding: var(--sp-3); min-height: var(--target); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.members .item { grid-template-columns: minmax(0, 1fr) auto; }
.members .item .actions { margin-top: 0; }
@media (max-width: 40rem) { .members .item { grid-template-columns: 1fr; } .members .item .actions { margin-top: var(--sp-2); } }

/* ---------- Meldungen ---------- */
.msg { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); margin: var(--sp-4) 0 0; font-size: var(--fs-md); }
.msg.ok { background: var(--ok-bg); color: var(--ok); }
.msg.bad { background: var(--bad-bg); color: var(--bad); }
.msg.info { background: var(--brand-tint); color: var(--brand-dark); }
@media (prefers-color-scheme: dark) { .msg.info { color: #8fd2f5; } }
.msg .icon { margin-top: .1875rem; }

/* ---------- Buttons ---------- */
button, .btn {
  font: inherit; font-weight: 600; font-size: var(--fs-sm); line-height: 1.25; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: var(--target); padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: background-color .12s, border-color .12s, color .12s;
}
button:hover:not(:disabled), .btn:hover { background: var(--brand-tint); border-color: var(--brand); color: var(--text); }
button:active:not(:disabled), .btn:active { background: var(--brand-line); }
button.primary, .btn.primary { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
button.primary:hover:not(:disabled), .btn.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
button.danger, .btn.danger { color: var(--bad); }
button.danger:hover:not(:disabled) { background: var(--bad-bg); border-color: var(--bad); color: var(--bad); }
button.primary.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
button.primary.danger:hover:not(:disabled) { background: #8f1d14; border-color: #8f1d14; color: #fff; }
button.small, .btn.small { min-height: 2.25rem; padding: var(--sp-1) var(--sp-3); }
button.block { width: 100%; }
button.icon-only { padding: 0; width: 2.25rem; }
button:disabled { opacity: .55; cursor: not-allowed; }
button[aria-busy=true] { cursor: progress; }
/* Touch-Geräte: alle Bedienelemente mindestens 44 × 44 px */
@media (pointer: coarse) {
  button, .btn, button.small, .btn.small { min-height: var(--target); }
  button.icon-only { width: var(--target); }
  input[type=checkbox] { width: 1.5rem; height: 1.5rem; }
}
.actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-5); align-items: center; }
.actions.center { justify-content: center; margin-top: 0; }
.actions.end { justify-content: flex-end; }
.actions select { width: auto; }

/* ---------- Status ---------- */
.badge { display: inline-flex; align-items: center; gap: var(--sp-2); border-radius: 999px; padding: .1875rem var(--sp-3); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; background: var(--surface-2); color: var(--muted); }
.badge::before { content: ""; width: .4375rem; height: .4375rem; border-radius: 50%; background: currentColor; }
.badge.neu { background: var(--brand-tint); color: var(--brand-dark); }
.badge.genehmigt { background: var(--warn-bg); color: var(--warn); }
.badge.abgelehnt { background: var(--bad-bg); color: var(--bad); }
.badge.bezahlt { background: var(--ok-bg); color: var(--ok); }
@media (prefers-color-scheme: dark) { .badge.neu { color: #8fd2f5; } }

/* ---------- Beleg-Auswahl ---------- */
.dropzone { border: 1.5px dashed var(--brand-line); background: var(--brand-tint); border-radius: var(--radius); padding: var(--sp-5) var(--sp-4); text-align: center; margin-top: var(--sp-2); }
.dropzone .drop-icon { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--surface); color: var(--brand-strong); display: grid; place-items: center; margin: 0 auto var(--sp-3); box-shadow: var(--shadow); }
.dropzone p { margin: 0 auto var(--sp-4); color: var(--muted); font-size: var(--fs-sm); }
.dropzone.filled { border-style: solid; background: var(--surface-2); border-color: var(--line); }
.file-chip { display: flex; gap: var(--sp-3); align-items: center; text-align: left; }
.file-chip .thumb-canvas { flex: none; max-height: 6rem; width: auto; }
.file-chip .meta { min-width: 0; flex: 1; }
.file-chip .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip .sub { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Listen ---------- */
.list { display: flex; flex-direction: column; gap: var(--sp-3); list-style: none; margin: 0; padding: 0; }
.item {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: var(--sp-1) var(--sp-4); align-items: center;
  padding: var(--sp-3) var(--sp-4); min-height: var(--target); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
}
.item.simple { grid-template-columns: minmax(0, 1fr) auto auto; }
.item.clickable { transition: border-color .12s, box-shadow .12s; }
.item.clickable:hover { border-color: var(--brand); box-shadow: 0 2px 10px rgba(0, 147, 221, .14); }
.item.clickable:focus-within { border-color: var(--brand); box-shadow: var(--focus); }
.item .main { min-width: 0; }
.item .title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .title .nr { color: var(--muted); font-weight: 500; margin-right: var(--sp-2); }
.item .sub { color: var(--muted); font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .amount { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.item .sel { width: 1.5rem; display: grid; place-items: center; position: relative; z-index: 1; }
.item .remark { grid-column: 1 / -1; display: flex; gap: var(--sp-2); font-size: var(--fs-sm); background: var(--brand-tint); color: var(--text); padding: var(--sp-2) var(--sp-3); border-radius: .5rem; margin-top: var(--sp-1); }
.item .remark .icon { color: var(--brand-strong); margin-top: .1875rem; }
/* Ganze Zeile klickbar, aber per Tastatur über einen echten Button erreichbar (Stretched Link) */
.row-open { all: unset; display: block; cursor: pointer; max-width: 100%; }
.row-open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.row-open:focus-visible { outline: none; box-shadow: none; }
@media (max-width: 40rem) {
  .item { grid-template-columns: auto minmax(0, 1fr) auto; }
  .item.simple { grid-template-columns: minmax(0, 1fr) auto; }
  .item .badge { grid-column: 2; justify-self: start; }
  .item.simple .badge { grid-column: 1; }
}
.empty { color: var(--muted); text-align: center; padding: var(--sp-6) var(--sp-3); }
.empty .icon { display: block; margin: 0 auto var(--sp-2); color: var(--line-strong); }

.tabs { display: flex; gap: var(--sp-1); overflow-x: auto; border-bottom: 1px solid var(--line); margin: 0 calc(var(--sp-1) * -1) var(--sp-4); padding: 0 var(--sp-1); scrollbar-width: none; }
.tab { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; color: var(--muted); padding: var(--sp-2) var(--sp-3); white-space: nowrap; }
.tab:hover:not(:disabled) { background: none; color: var(--text); border-color: transparent; border-bottom-color: var(--line-strong); }
.tab[aria-pressed=true] { color: var(--brand-strong); border-bottom-color: var(--brand); }
.tab .count { display: inline-block; min-width: 1.5rem; margin-left: var(--sp-2); padding: 0 .4375rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: var(--fs-xs); line-height: 1.25rem; text-align: center; }
.tab[aria-pressed=true] .count { background: var(--brand-tint); color: var(--brand-dark); }
.toolbar { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap; justify-content: space-between; margin-bottom: var(--sp-4); }
.toolbar .grow { flex: 1; min-width: 12rem; }

/* ---------- Dialoge ---------- */
dialog {
  width: min(43.75rem, calc(100vw - var(--sp-4))); max-height: calc(100dvh - var(--sp-4)); overflow: auto;
  border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); color: var(--text); padding: var(--sp-5); box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
dialog::backdrop { background: rgba(10, 25, 38, .55); backdrop-filter: blur(2px); }
dialog.modal { width: min(27.5rem, calc(100vw - var(--sp-5))); }
dialog h2.flush, h2.flush { font-size: var(--fs-lg); margin: 0; }
dialog .head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-3); }
dialog .head .actions { margin-top: 0; }
dialog .receipt { margin: var(--sp-1) 0 var(--sp-2); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: var(--sp-2) var(--sp-5); margin: var(--sp-4) 0; padding: var(--sp-4); background: var(--surface-2); border-radius: var(--radius-sm); }
dl.facts dt { color: var(--muted); font-size: var(--fs-sm); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; font-weight: 500; }
.iban-box { font-family: var(--mono); font-size: var(--fs-md); background: var(--surface); border: 1px solid var(--line-strong); padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-3); border-radius: var(--radius-sm); display: flex; justify-content: space-between; gap: var(--sp-2); align-items: center; }

/* ---------- Scanner ---------- */
.scan-canvas { display: block; max-width: 100%; margin: var(--sp-3) auto; touch-action: none; border-radius: var(--radius-sm); background: #0b1620; cursor: crosshair; }
.scan-steps { display: flex; gap: var(--sp-2); margin: 0 0 var(--sp-1); padding: 0; list-style: none; color: var(--muted); font-size: var(--fs-xs); flex-wrap: wrap; }
.scan-steps li { display: flex; gap: var(--sp-2); align-items: center; }
.scan-steps li::after { content: ""; width: .875rem; height: 1px; background: var(--line-strong); }
.scan-steps li:last-child::after { display: none; }
.scan-steps .on { color: var(--brand-strong); font-weight: 700; }
.live-status { text-align: center; font-weight: 600; margin: var(--sp-2) auto; max-width: none; }
.live-progress { display: block; width: 100%; height: .5rem; accent-color: var(--brand-strong); }
.check { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-3); }
.check label { margin: 0; font-weight: 500; }
.thumbs { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin: var(--sp-4) 0; }
.thumb { display: flex; flex-direction: column; gap: var(--sp-2); }
.thumb-canvas { border: 1px solid var(--line); border-radius: .5rem; background: #fff; }
.thumb-bar { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-xs); color: var(--muted); }
.spinner { width: 1.75rem; height: 1.75rem; border: 3px solid var(--brand-line); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto var(--sp-3); }
@keyframes spin { to { transform: rotate(360deg); } }
.busy { text-align: center; padding: var(--sp-6) var(--sp-3); color: var(--muted); }

/* ---------- Hinweis-Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--sp-5) + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 10000; background: var(--text); color: var(--surface); padding: var(--sp-3) var(--sp-5); border-radius: 999px; font-size: var(--fs-sm); box-shadow: 0 8px 30px rgba(0, 0, 0, .3); max-width: calc(100vw - var(--sp-5)); }
.toast.bad { background: var(--bad); color: #fff; }

/* ---------- Barrierefreiheit & Anpassungen ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .spinner { animation: none; border-top-color: var(--brand-line); border-right-color: var(--brand); }
}
@media (forced-colors: active) {
  button, .btn, input, textarea, select, .card, .item { border: 1px solid ButtonText; }
  :focus-visible { outline: 3px solid Highlight; }
  .badge { border: 1px solid CanvasText; }
  .topbar { border-bottom: 3px solid CanvasText; }
}
@media print {
  .topbar, .toolbar, .actions, dialog { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; border: 0; }
}
