/* Billinski Büro, the program (work package B13): the look of the approved draft (design/app.html, offenbuch.css):
   navy ink, warm paper, aqua, pill buttons, large radii, a quiet light in the background. Motion shows a cause and
   stands still for whoever asked their system for less of it. No request leaves the program for fonts.

   Light and dark (scope P66): every colour is a variable. The dark values stand twice below, once for a system that
   asks for dark and once for a person who chose it (data-ansicht on <html>); internal/web/farben_test.go holds both
   blocks to each other and every pair of text and ground to the contrast of WCAG 2.1 AA. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500 700; font-display: swap; src: url("/static/fonts/bricolage-grotesque.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap; src: url("/static/fonts/inter.woff2") format("woff2"); }
:root {
  color-scheme: light;
  /* ink: text, and the ground of what stands out (the chosen tab, the main button); on-ink: the text on that ground.
     paper: cards; field: where one types, with field-line around it; warm: the page; soft: quiet grounds. */
  --ink: #11253d; --ink-deep: #081424; --on-ink: #ffffff; --paper: #ffffff; --field: #ffffff; --soft: #f1efe9; --warm: #fbfaf7; --blatt: #ffffff;
  --muted: #5c6c85; --subtle: #64738a; --line: #e8e4dc; --field-line: #808da0;
  --aqua: #b0e5e9; --aqua-bright: #6fe3ee; --aqua-strong: #1f6f7b; --aqua-soft: #e6f4f6; --gold: #c9a35a; --focus: #1f6f7b;
  --ok: #18744c; --ok-soft: #e3f3ec; --ok-text: #14603f; --warn: #8a5407; --warn-soft: #fbf0db; --bad: #b3422d; --bad-soft: #f9e6e1; --bad-text: #8f3423;
  --glow-1: rgba(176,229,233,.7); --glow-2: rgba(201,163,90,.14); --ink-shadow: rgba(17,37,61,.7);
  --shadow: 0 1px 2px rgba(17,37,61,.04), 0 12px 32px -16px rgba(17,37,61,.16);
  --shadow-pop: 0 2px 6px rgba(17,37,61,.06), 0 28px 56px -20px rgba(17,37,61,.28);
  --r: 1rem; --r-lg: 1.5rem;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
/* dark, because the system asks for it and the person did not choose light */
@media (prefers-color-scheme: dark) {
  :root:not([data-ansicht="hell"]) {
    color-scheme: dark;
    --ink: #e9eff7; --on-ink: #0b1626; --paper: #111f33; --field: #0c1829; --soft: #1b2c44; --warm: #0a1524; --blatt: #ffffff;
    --muted: #a3b3c9; --subtle: #8c9db5; --line: #263a55; --field-line: #5d7290;
    --aqua-strong: #7fd8e3; --aqua-soft: #133540; --focus: #6fe3ee;
    --ok: #5fd0a0; --ok-soft: #12362a; --ok-text: #8fe0bd; --warn: #f0b860; --warn-soft: #3a2a0c; --bad: #f08a75; --bad-soft: #3d1a14; --bad-text: #f6b3a5;
    --glow-1: rgba(31,111,123,.34); --glow-2: rgba(201,163,90,.07); --ink-shadow: rgba(0,0,0,.6);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -16px rgba(0,0,0,.6);
    --shadow-pop: 0 2px 6px rgba(0,0,0,.35), 0 28px 56px -20px rgba(0,0,0,.7);
  }
}
/* dark, because the person chose it (Mein Konto) */
:root[data-ansicht="dunkel"] {
    color-scheme: dark;
    --ink: #e9eff7; --on-ink: #0b1626; --paper: #111f33; --field: #0c1829; --soft: #1b2c44; --warm: #0a1524; --blatt: #ffffff;
    --muted: #a3b3c9; --subtle: #8c9db5; --line: #263a55; --field-line: #5d7290;
    --aqua-strong: #7fd8e3; --aqua-soft: #133540; --focus: #6fe3ee;
    --ok: #5fd0a0; --ok-soft: #12362a; --ok-text: #8fe0bd; --warn: #f0b860; --warn-soft: #3a2a0c; --bad: #f08a75; --bad-soft: #3d1a14; --bad-text: #f6b3a5;
    --glow-1: rgba(31,111,123,.34); --glow-2: rgba(201,163,90,.07); --ink-shadow: rgba(0,0,0,.6);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -16px rgba(0,0,0,.6);
    --shadow-pop: 0 2px 6px rgba(0,0,0,.35), 0 28px 56px -20px rgba(0,0,0,.7);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--warm); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; } a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
::placeholder { color: var(--subtle); opacity: 1; }
/* the first stop of the keyboard: past the menu to the page */
.skip { position: absolute; left: 12px; top: -80px; z-index: 10; padding: .7rem 1.1rem; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); } .num { font-variant-numeric: tabular-nums; }
/* a command to type, an address, a secret: set apart, and broken anywhere so that a long one fits a narrow page */
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; background: var(--soft); color: var(--ink); padding: .12rem .4rem; border-radius: .4rem; overflow-wrap: anywhere; }
code.geheim { display: block; padding: .7rem .9rem; font-size: 1rem; user-select: all; }
.glowbg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 50% at 82% -5%, var(--glow-1), transparent 70%), radial-gradient(40% 35% at 6% 0%, var(--glow-2), transparent 70%); animation: breathe 14s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.12) translate(-2%, 2%); opacity: .75; } }

.wordmark { display: inline-flex; align-items: baseline; font: 600 1.4rem/1 var(--display); letter-spacing: -0.01em; text-decoration: none; }
.brand-box { background: var(--ink); color: var(--on-ink); border-radius: .34em; padding: .1em .3em .14em; }
.brand-ink { margin-left: .1em; } .brand-prod { margin-left: .34em; font-weight: 500; color: var(--aqua-strong); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; padding: .72rem 1.3rem; font: 600 .95rem var(--sans); text-decoration: none; border: 1px solid transparent; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background-color .2s; }
.btn:hover { transform: translateY(-2px); } .btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow); }
.btn-aqua { background: linear-gradient(135deg, var(--aqua-bright), var(--aqua)); color: var(--ink-deep); box-shadow: 0 10px 34px -10px rgba(111,227,238,.8); }
.btn-ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-bad { background: var(--paper); border-color: var(--bad); color: var(--bad); }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }

.chip { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; padding: .2rem .65rem; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); } .chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad-text); } .chip.plain { background: var(--soft); color: var(--muted); } .chip.aqua { background: var(--aqua-soft); color: var(--aqua-strong); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
/* cards and the grids that hold cards stand apart where a page puts them under each other */
main > .card, main > .draft, main > .stapel, main > .stack, main > .two { margin-bottom: 14px; }
.e { animation: enter .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes enter { from { opacity: 0; transform: translateY(22px) scale(.985); } }

/* the frame: the firm and the menu on the left, the page on the right */
/* the page keeps the room of its scroll bar, so that a short page and a long one put the menu at the same place */
html { scrollbar-gutter: stable; }
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 18px; padding: 18px; max-width: 1480px; margin: 0 auto; }
.side { position: sticky; top: 18px; height: calc(100vh - 36px); padding: 1.1rem .8rem; display: flex; flex-direction: column; }
/* From page to page (work package B115; the operator, 2026-11-17: the menu "springt … bei Seitenaufbau"): every link
   loads its page anew, and the program has no script. Where the browser knows cross-document view transitions
   (Chrome, Edge, Safari), the old page stays until the new one is drawn; the frame with the menu is one piece of its
   own that keeps its place, and the page beside it fades over briefly. Other browsers load the page as before; for a
   person who asks for less motion nothing fades. */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
/* on a wide screen only: on a narrow one the menu scrolls away with the page, and the whole page fades */
@media (min-width: 981px) { .side { view-transition-name: rahmen; } }
::view-transition-group(root) { animation-duration: .18s; }
::view-transition-group(rahmen) { animation-duration: .12s; }
.side .wordmark { padding: .1rem .5rem 1rem; }
.firm { margin-bottom: .9rem; border-radius: .9rem; background: var(--soft); font-weight: 600; font-size: .9rem; }
/* a text for reading programs only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* the search field of every page: one line under the firm, reached by the second step of the Tab key */
.suchfeld { margin: 0 0 .7rem; } .suchfeld input { width: 100%; height: 40px; padding: 0 .8rem; border-radius: .9rem; border: 1px solid var(--field-line); background: var(--field); font: 500 .9rem var(--sans); color: var(--ink); }
.suchfeld input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); } .suchfeld input::placeholder { color: var(--muted); }
.suchzeile .f input { height: 52px; font-size: 1.05rem; }
.firm summary { list-style: none; cursor: pointer; padding: .6rem .8rem; display: flex; justify-content: space-between; gap: .5rem; }
.firm summary::-webkit-details-marker { display: none; }
.firm summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.firm[open] summary { border-bottom: 1px solid var(--line); }
.firm form { margin: 0; } .firm button, .firm a { display: block; width: 100%; text-align: left; padding: .5rem .8rem; border: 0; background: none; font: 500 .88rem var(--sans); color: var(--muted); cursor: pointer; text-decoration: none; }
.firm button:hover, .firm a:hover { color: var(--ink); }
.side .firm, .side .wordmark, .side .who { flex: none; }
/* The bar is as high as the window. Its menu takes what is left and scrolls inside the bar when the window is lower
   than its links, so that no link hangs out of the card and the person's name and the way out stay in sight. The
   padding leaves room for the ring of a link that has the focus. */
.menu { display: grid; gap: 2px; align-content: start; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-padding-block: 40% 20%; scrollbar-width: thin; scrollbar-color: var(--field-line) transparent; padding: 5px; margin: -5px -5px 0; }
.menu a { display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 .95rem; border-radius: 999px; text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--muted); transition: color .3s, background-color .3s; }
.menu a:hover { color: var(--ink); background: var(--soft); }
.menu a.on, .menu a.on:hover { color: var(--on-ink); background: var(--ink); box-shadow: 0 10px 24px -10px var(--ink-shadow); }
/* where the menu scrolls, a browser that knows the property opens it at the page the person is on; the others open it at its top */
.menu a.on { scroll-initial-target: nearest; }
.menu a em { font-style: normal; font-size: .72rem; font-weight: 600; padding: .05rem .5rem; border-radius: 999px; background: var(--soft); color: var(--muted); }
.menu a.on em { background: color-mix(in srgb, var(--on-ink) 18%, transparent); color: var(--on-ink); }
.menu a.soon { color: var(--subtle); cursor: default; } .menu a.soon:hover { background: none; color: var(--subtle); }
.menu .lbl { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); padding: .7rem .95rem .25rem; }
.side .who { margin-top: auto; font-size: .8rem; color: var(--muted); padding: .8rem .6rem 0; border-top: 1px solid var(--line); display: grid; gap: .3rem; }
.side .who b { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.side .who form { margin: 0; }
main { min-width: 0; padding: .4rem .4rem 3rem; }
.hd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin: .6rem 0 1.4rem; }
.hd h1 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -0.035em; } .hd p { color: var(--muted); margin-top: .4rem; max-width: 44rem; }
.hd h1 em { font-style: normal; display: inline-block; background: var(--ink); color: var(--on-ink); padding: 0 .3em .06em; border-radius: .3em; }
.hd .acts { display: flex; flex-wrap: wrap; gap: .6rem; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.kpi { padding: 1.1rem 1.2rem 1.2rem; text-decoration: none; display: block; transition: transform .4s var(--ease), box-shadow .4s; } a.kpi:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.kpi small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); overflow-wrap: anywhere; hyphens: auto; }
.kpi b { display: block; font: 600 1.85rem var(--display); letter-spacing: -0.03em; margin-top: .35rem; overflow: hidden; text-overflow: ellipsis; }
.kpi span { font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.kpi.hot { background: var(--ink); color: var(--on-ink); border-color: var(--ink); } .kpi.hot small, .kpi.hot span { color: color-mix(in srgb, var(--on-ink) 72%, var(--ink)); }
.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.ph { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; padding: 1.1rem 1.3rem .9rem; } .ph h2, .ph h3 { font-size: 1.2rem; }
.task { display: grid; grid-template-columns: 34px 1fr auto; gap: .9rem; align-items: center; padding: .85rem 1.3rem; border-top: 1px solid var(--line); text-decoration: none; transition: background-color .25s, padding-left .35s var(--ease); }
a.task:hover { background: var(--aqua-soft); padding-left: 1.7rem; }
.task u { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 .85rem var(--sans); text-decoration: none; background: var(--soft); color: var(--muted); }
.task.done u { background: var(--ok-soft); color: var(--ok); }
.task b { font-weight: 600; } .task small { display: block; color: var(--muted); }
.facts { display: grid; grid-template-columns: fit-content(45%) minmax(0, 1fr); gap: .45rem 1.2rem; padding: 0 1.3rem 1.3rem; font-size: .93rem; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* lists */
.tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 14px; }
.search { flex: 1 1 260px; min-width: 0; max-width: 420px; display: flex; align-items: center; height: 44px; padding: 0 .5rem 0 1.1rem; border-radius: 999px; background: var(--field); border: 1px solid var(--field-line); box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); }
.search:has(input:focus) { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.search button { border: 0; background: var(--soft); border-radius: 999px; height: 32px; padding: 0 .9rem; font: 600 .82rem var(--sans); color: var(--muted); cursor: pointer; }
.found { font-size: .9rem; color: var(--muted); padding-block: .8rem; align-items: center; border-bottom: 1px solid var(--line); } .found b { color: var(--ink); font-weight: 600; }
.filter { flex: 1 1 100%; }
.filter summary { display: inline-flex; align-items: center; gap: .45rem; height: 38px; padding: 0 1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); list-style: none; font-size: .86rem; }
.filter summary::-webkit-details-marker { display: none; } .filter summary::after { content: "▾"; font-size: .8em; }
.filter[open] { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1rem 1.3rem 1.2rem; }
.filter[open] summary { margin-bottom: .9rem; border: 0; height: auto; padding: 0; background: none; } .filter[open] summary::after { content: "▴"; }
.filter .actions { margin-top: .9rem; } .filter .why { margin-top: .8rem; }
.filter .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 52rem; } .filter .f { grid-column: auto; }
.presets { display: inline-flex; flex-wrap: wrap; gap: .3rem .5rem; font-size: .86rem; }
.presets a { padding: .3rem .8rem; border-radius: 999px; background: var(--soft); color: var(--muted); font-weight: 600; text-decoration: none; }
.presets a:hover { color: var(--ink); } .presets a.on { background: var(--ink); color: var(--on-ink); }
.more-hint { padding-top: .9rem; border-top: 1px solid var(--line); }
.list { overflow: hidden; }
.row { display: grid; gap: .9rem; align-items: center; padding: .8rem 1.3rem; border-top: 1px solid var(--line); text-decoration: none; transition: background-color .25s, padding-left .35s var(--ease); }
/* a row that is a text and a figure on its right keeps both on one line, unless its list lays its rows out itself */
/* the left column keeps room for its words: a long value on the right wraps instead of squeezing the name of the
   row into one letter a line (the operator's picture of the E-Bilanz, 2026-11-17) */
.row:where(:has(> .r:nth-child(2):last-child)) { grid-template-columns: minmax(min(14rem, 45%), 1fr) auto; }
.row:first-child { border-top: 0; } a.row:hover { background: var(--aqua-soft); padding-left: 1.7rem; }
.row.head { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); background: var(--warm); padding-block: .6rem; }
.row b { font-weight: 600; } .row small { display: block; color: var(--muted); }
.kunden .row { grid-template-columns: 5.5rem minmax(0, 2fr) minmax(0, 1.4fr) 6rem; }
.lieferanten .row { grid-template-columns: 5.5rem minmax(0, 2fr) 5rem 9rem; }
/* received invoices that are open, with a box to put each into a payment file; and the files written so far */
.eingang-offen .row { grid-template-columns: 4.2rem minmax(0, 1fr) 7rem 9rem; } .eingang-offen input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: var(--ink); }
.zahllauf-form { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; border-top: 1px solid var(--line); } .zahllauf-form .f { max-width: 14rem; } .zahllauf-form .why { flex-basis: 100%; margin: 0; }
.laeufe .row { grid-template-columns: minmax(0, 1fr) auto 8rem; row-gap: .5rem; } .laeufe .lauf-akt { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; } .laeufe .lauf-akt form { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.laeufe small a { color: inherit; }
/* the page of payments: the lists that go into a payment file, the form for a transfer without an invoice, the files */
.stapel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; } .stapel > .why { margin: 0 0 .2rem; }
.card > .zahllauf-form { border-top: 0; padding-top: 1.1rem; }
.ueberweisungen .row { grid-template-columns: 4.2rem minmax(0, 1fr) auto; align-items: start; } .ueberweisungen .row small { overflow-wrap: anywhere; }
.ueberweisungen input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: var(--ink); }
.row.zahl { grid-template-columns: minmax(0, 1fr) auto; } .row.zahl.weg b { text-decoration: line-through; color: var(--muted); }
.artikel .row { grid-template-columns: 5.5rem minmax(0, 2.4fr) 6rem 9rem 4.5rem; }
.row .r { text-align: right; }
/* the customer file: notes, tasks and files as rows with what can be done to them at their end; the course of
   events as a list of kind, what happened and when; the turnover per year as a small table */
.row.notiz, .row.datei { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
/* a task: its text over the whole width of the narrow column, what can be done to it underneath */
.row.aufgabe { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
.frage-text { white-space: pre-wrap; overflow-wrap: anywhere; } .frage + .frage { border-top: 1px solid var(--line); }
.row.notiz p { white-space: pre-wrap; overflow-wrap: anywhere; } .row.datei a, .row.aufgabe b { overflow-wrap: anywhere; }
.row.aufgabe .akt { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.row.aufgabe .btn, .aufgabenliste .btn { padding: .4rem .95rem; font-size: .86rem; }
/* the entries of an account: who and what for on the left, the amount on the right; money that went out is muted */
.umsaetze .row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.umsaetze .row small { overflow-wrap: anywhere; }
.umsaetze .row b.aus { color: var(--muted); }
/* the matching: an entry that waits, and below it across the row what the program proposes for it */
.abgleich .row { grid-template-columns: minmax(0, 1fr) auto; gap: .45rem 1.2rem; align-items: start; }
.abgleich .row > span:first-child { min-width: 9rem; } .abgleich .row small, .abgleich .vor p { overflow-wrap: anywhere; }
.abgleich .vor { grid-column: 1 / -1; display: grid; gap: .35rem; padding: .7rem .9rem; border-radius: .8rem; background: var(--warm); border: 1px solid var(--line); font-size: .93rem; }
.abgleich .vor p { margin: 0; }
.abgleich .akt { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: .2rem; }
.abgleich .akt label { display: inline-flex; gap: .45rem; align-items: center; color: var(--muted); font-size: .9rem; }
.abgleich .akt input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--ink); }
.abgleich .akt .btn { padding: .4rem .95rem; font-size: .86rem; }
.actions.unter { margin: 14px 0; }
.monate .row { grid-template-columns: minmax(0, 1fr) auto; }
/* A link that stands alone in the small line under another link gets the height of a target (24 px). */
.row small.ziel a { display: inline-block; padding-block: .25rem; }
/* the estimate of the VAT: a month opens to the lines its number is made of */
.ustmonat { display: block; } .ustmonat summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .9rem; align-items: center; cursor: pointer; list-style-position: outside; }
.ustmonat summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: .4rem; }
.ustmonat .why { margin: .6rem 0 0; }
.rechenweg { margin: .7rem 0 0; padding: .6rem .8rem; list-style: none; display: grid; gap: .35rem; border-radius: .8rem; background: var(--warm); border: 1px solid var(--line); font-size: .92rem; }
.rechenweg li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) auto; gap: .8rem; align-items: baseline; } .rechenweg li span { overflow-wrap: anywhere; }
.row.quartal { grid-template-columns: minmax(0, 1fr) auto; background: var(--warm); }
/* the lines of a return that is kept (work package B81): a name and its amount, without the column for a number */
.rechenweg.zwei li { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 560px) { .rechenweg li { grid-template-columns: minmax(0, 1fr); gap: .1rem; } .rechenweg li .r { text-align: left; } }
/* the books: journal, accounts, the sheet of an account */
.tools .auswahl { display: inline-flex; align-items: center; gap: .5rem; font-size: .86rem; color: var(--muted); min-width: 0; }
.tools .auswahl select { height: 44px; max-width: 17rem; min-width: 0; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--field-line); background: var(--field); font: inherit; color: var(--ink); box-shadow: var(--shadow); }
.tools .auswahl select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.buchung { border-top: 1px solid var(--line); padding-top: .9rem; } .ph + .buchung { border-top: 0; padding-top: .2rem; }
.buchung:target { background: var(--warm); }
.bkopf { padding: 0 1.3rem .7rem; display: grid; gap: .2rem; } .bkopf h3 { margin: 0; font: 600 .98rem var(--sans); overflow-wrap: anywhere; } .bkopf small { color: var(--muted); font-size: .84rem; }
.journal .book-row a { font-weight: 600; }
.konten .row, .blatt .row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } .konten .row small, .blatt .row small { overflow-wrap: anywhere; }
.konten .row.leer b, .konten .row.leer .r { color: var(--muted); font-weight: 500; }
.blaettern { justify-content: flex-end; margin-top: 14px; }
/* booking what the firm receives: the card at the document, the list for a batch */
.zubuchen .row { grid-template-columns: 2.4rem minmax(0, 1fr) auto; align-items: start; } .zubuchen input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: var(--ink); } .zubuchen .row small { overflow-wrap: anywhere; }
.buchen .form.inner .book { margin: .2rem -1.3rem .9rem; border-bottom: 1px solid var(--line); }
/* booking entries without a document: the choice at a note, the list of notes that wait, statements against the ledger */
.umbuchen { margin-top: .45rem; } .umbuchen summary { cursor: pointer; font-size: .86rem; color: var(--muted); width: fit-content; }
.umbuchen summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: .4rem; }
.umbuchen .zeile, .wahl-zeile { display: flex; flex-wrap: wrap; gap: .5rem .7rem; align-items: center; margin-top: .5rem; font-size: .9rem; }
.umbuchen select, .wahl-zeile select { min-width: 0; max-width: 100%; height: 40px; padding: 0 .7rem; border-radius: .7rem; border: 1px solid var(--field-line); background: var(--field); font: inherit; color: var(--ink); }
.umbuchen select:focus-visible, .wahl-zeile select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
/* an address of the interface in its guide: a long word of its text (Einnahmenüberschussrechnung) breaks by its syllables
   rather than pushing a narrow page sideways with the wider spacing of WCAG 1.4.12 */
.api-adresse p { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
/* the comments of a thing (work package B121): the text keeps its lines, the actions stand below it, and the form
   that changes a comment opens over the whole width of the row */
.row.kommentar { grid-template-columns: minmax(0, 1fr); gap: .45rem; align-items: start; }
.row.kommentar .kommentar-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 .25rem; }
.kommentar-akt { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; }
.kommentar-akt details[open] { flex: 1 1 100%; }
.kommentar-akt summary { cursor: pointer; font-size: .86rem; color: var(--muted); text-decoration: underline; width: fit-content; }
.kommentar-akt summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: .4rem; }
.kommentar-akt .form.inner { padding-inline: 0; }
/* the role of a person on the page of the users (work package B120): a line of its own under the person's row */
.rolle-aendern { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; padding: 0 1.3rem .8rem; }
.rolle-aendern label { font-size: .86rem; color: var(--muted); }
.rolle-aendern select { min-width: 0; max-width: 100%; height: 40px; padding: 0 .7rem; border-radius: .7rem; border: 1px solid var(--field-line); background: var(--field); font: inherit; color: var(--ink); }
.rolle-aendern select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.rolle-aendern .btn { padding: .4rem .95rem; font-size: .86rem; }
.vermerke .row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } .vermerke .row small { overflow-wrap: anywhere; }
/* the list of missing money: a finding with its amount beside its name, what stands there, and the entries it rests on */
.fehlt { padding: .9rem 1.3rem 1rem; border-top: 1px solid var(--line); } .ph + .fehlt { border-top: 0; padding-top: .2rem; }
.fehlt-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .15rem 1rem; }
.fehlt-kopf > span { min-width: 0; overflow-wrap: anywhere; } .fehlt-kopf > b { margin-left: auto; white-space: nowrap; font-weight: 600; }
.fehlt-text { margin: .35rem 0 0; color: var(--muted); font-size: .93rem; max-width: 72ch; overflow-wrap: anywhere; }
.fehlt .teile { margin-top: .6rem; font-size: .9rem; gap: .25rem; } .fehlt .teile small { color: var(--muted); overflow-wrap: anywhere; }
.fehlt .more { margin-top: .7rem; } .fehlt .more > small, .fehlt .more > .err { display: block; margin-top: .5rem; font-size: .86rem; } .fehlt .more > small { color: var(--muted); }
.fehlt .zurueck { margin-top: .6rem; font-size: .9rem; } .geldfehlt .fehlt + .pad { border-top: 1px solid var(--line); padding-top: .9rem; }
.saetze .row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } .saetze .row small { overflow-wrap: anywhere; }
.konto-rechnung { border-top: 1px solid var(--line); padding: .9rem 0 .2rem; } .ph + .konto-rechnung { border-top: 0; padding-top: .2rem; }
.konto-rechnung h3 { margin: 0; padding: 0 1.3rem .5rem; font: 600 .98rem var(--sans); overflow-wrap: anywhere; } .konto-rechnung .sum { border-top: 0; padding-top: 0; padding-bottom: .5rem; }
.konto-rechnung .why { padding: 0 1.3rem .7rem; margin: 0; }
.vermerke .wahl-zeile { grid-column: 1 / -1; margin-top: 0; } .vermerke .row b.aus { color: var(--muted); }
/* booking by hand: the lines of the form; the reversal in the journal */
.handzeilen { border: 0; padding: 0; margin: 0; display: grid; gap: .7rem; } .handzeilen legend { font-weight: 600; padding: 0; margin-bottom: .4rem; }
.handzeile { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) minmax(0, 1fr); gap: .7rem; align-items: end; } .handzeile .err { grid-column: 1 / -1; }
.handzeile .f { grid-column: auto; }
.journal .storno { padding: .5rem 1.3rem .8rem; margin: 0; } .umbuchen .zeile input { height: 40px; min-width: 0; flex: 1 1 12rem; padding: 0 .7rem; border-radius: .7rem; border: 1px solid var(--field-line); background: var(--field); font: inherit; color: var(--ink); }
.umbuchen .zeile input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
@media (max-width: 560px) { .handzeile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .handzeile .f:first-child { grid-column: 1 / -1; } }
.kpis.geld .kpi b { font-size: 1.45rem; overflow: visible; overflow-wrap: anywhere; }
@media (max-width: 560px) { .tools .auswahl { flex: 1 1 100%; } .tools .auswahl select { flex: 1; max-width: none; } .kpis.geld .kpi b { font-size: 1.1rem; }
  .konten .row, .blatt .row { grid-template-columns: minmax(0, 1fr); gap: .3rem; } .konten .row .r, .blatt .row .r { text-align: left; }
  .zubuchen .row { grid-template-columns: 2rem minmax(0, 1fr); } .zubuchen .row .r { grid-column: 2; text-align: left; } }
.facts.erklaert dd { font-weight: 400; overflow-wrap: break-word; }
/* sums and balances: a table of seven columns; below 980 px every account is a block with its six numbers named */
.sus { position: relative; border-top: 1px solid var(--line); font-size: .9rem; }
.sus-row { display: grid; grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(6, minmax(0, 6.9rem)); gap: .6rem; padding: .55rem 1.3rem; border-top: 1px solid var(--line); align-items: baseline; }
.sus-row:first-child { border-top: 0; } .sus-row:target { background: var(--warm); }
.sus-row.head { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); background: var(--warm); align-items: end; }
.sus-row.head .r { -webkit-hyphens: auto; hyphens: auto; }
/* a chip in a cell keeps its own width where the cells stack (a phone, the narrow column of a page) */
.sus-row .r > .chip { justify-self: start; }
.sus-row .r { text-align: right; overflow-wrap: anywhere; } .sus-row .lab { display: none; } .sus-row .null { color: var(--muted); }
.sus-row [role="rowheader"] { overflow-wrap: anywhere; } .sus-row .klein { font-size: .8rem; margin-left: .3rem; white-space: nowrap; }
.sus-row.summe { font-weight: 600; background: var(--warm); } .sus + .pad { padding-top: .9rem; }
@media (max-width: 980px) {
  .sus-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1rem; padding-block: .8rem; }
  .sus-row.head { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .sus-row.head + .sus-row { border-top: 0; }
  .sus-row [role="rowheader"] { grid-column: 1 / -1; font-weight: 600; }
  .sus-row .r { text-align: left; display: grid; gap: .05rem; } .sus-row .lab { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
  .sus-row .r:nth-child(2), .sus-row .r:last-child { grid-column: 1 / -1; }
}
/* the evaluation of the business: the same table with four numbers; a row, its accounts below it, the sums */
.sus.bwa .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) minmax(0, 7.4rem) minmax(0, 5.2rem) minmax(0, 7.4rem) minmax(0, 5.2rem); }
.sus.bwa .sus-row.zeile { font-weight: 600; } .sus.bwa .sus-row.konto { border-top: 0; padding-block: .25rem; font-size: .86rem; color: var(--muted); }
.sus.bwa .sus-row.konto [role="rowheader"] { padding-left: 1rem; font-weight: 400; } .sus.bwa .sus-row.konto + .sus-row:not(.konto) { margin-top: .35rem; }
@media (max-width: 980px) {
  .sus.bwa .sus-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sus.bwa .sus-row .r:nth-child(2), .sus.bwa .sus-row .r:last-child { grid-column: auto; } .sus.bwa .sus-row .r:empty { display: none; }
  .sus.bwa .sus-row.konto [role="rowheader"] { padding-left: 0; }
}
/* a plan against the books (work package B85): the same table with plan, actual, difference and its share */
.sus.soll .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(4, minmax(0, 7.6rem)); } .sus.soll.jahr .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(6, minmax(0, 6.2rem)); }
.sus.soll .sus-row.zeile { font-weight: 600; } .sus.soll .sus-row.konto { border-top: 0; padding-block: .25rem; font-size: .86rem; color: var(--muted); }
.sus.soll .sus-row.konto [role="rowheader"] { padding-left: 1rem; font-weight: 400; } .sus.soll .sus-row.konto + .sus-row:not(.konto) { margin-top: .35rem; }
.sus.soll [role="rowheader"] .chip { margin-left: .35rem; font-weight: 600; }
.chip.lang { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 980px) {
  .sus.soll .sus-row, .sus.soll.jahr .sus-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sus.soll .sus-row .r:nth-child(2), .sus.soll .sus-row .r:last-child { grid-column: auto; } .sus.soll .sus-row .r:empty { display: none; }
  .sus.soll .sus-row.konto [role="rowheader"] { padding-left: 0; }
}
/* an association (work package B86): a choice of sphere or a reason beside a row, short lists under a form */
.sphaere-wahl { display: inline-flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; align-items: center; margin: 0; min-width: 0; max-width: 100%; }
.sphaere-wahl select, .sphaere-wahl input { height: 2.5rem; max-width: 12rem; min-width: 0; padding: 0 .6rem; border-radius: .6rem; border: 1px solid var(--field-line); background: var(--field); font: inherit; color: var(--ink); }
.sphaere-wahl select:focus-visible, .sphaere-wahl input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.sphaere-wahl .btn { padding: .45rem .9rem; font-size: .86rem; white-space: nowrap; flex: none; }
@media (max-width: 980px) { .row.mit-wahl { grid-template-columns: minmax(0, 1fr); } .row.mit-wahl .r { text-align: left; } }
.kurzliste { margin: 0; padding-left: 1.2rem; display: grid; gap: .2rem; font-size: .9rem; color: var(--muted); }
.row .aktionen { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; align-items: center; margin-top: .3rem; } .row .aktionen form { margin: 0; }
.sphaere-wahl input { width: 10rem; }
.sus.spiegel.sphaeren .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(3, minmax(0, 7.4rem)) minmax(0, 16rem); }
.sus.sphaeren .sphaere-wahl { width: 100%; flex-wrap: nowrap; } .sus.sphaeren .sphaere-wahl select { flex: 1 1 auto; min-width: 0; max-width: none; }
.sus.spiegel.lauf .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(3, minmax(0, 8rem)) minmax(0, 16rem); }
/* the fee run in the narrow column of its page (.draft): its five columns with the form never fit next to the side
   column, so its rows stand as on a phone, the form on a line of its own (B119) */
@media (min-width: 981px) {
  .draft .sus.spiegel.lauf .sus-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1rem; padding-block: .8rem; }
  .draft .sus.spiegel.lauf .sus-row.head { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .draft .sus.spiegel.lauf .sus-row.head + .sus-row { border-top: 0; }
  .draft .sus.spiegel.lauf .sus-row [role="rowheader"] { grid-column: 1 / -1; font-weight: 600; }
  .draft .sus.spiegel.lauf .sus-row .r { text-align: left; display: grid; gap: .05rem; }
  .draft .sus.spiegel.lauf .sus-row .lab { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
  .draft .sus.spiegel.lauf .sus-row .r:last-child { grid-column: 1 / -1; }
  .draft .sus.spiegel.lauf .sus-row .r:last-child:empty { display: none; }
  .draft .sus.spiegel.lauf .sphaere-wahl { justify-content: flex-start; }
}
/* a table with four numbers in the narrow column of a two-column page (the plan of an asset, the budget of a project):
   where the card is narrower than its columns need (a window of about 1100px), its rows stand as on a phone (B119) */
.draft > .stack > .card:has(> .sus) { container: tabelle / inline-size; }
@container tabelle (max-width: 36rem) {
  :is(.sus.spiegel:not(.zwei), .sus.soll) .sus-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1rem; padding-block: .8rem; }
  :is(.sus.spiegel:not(.zwei), .sus.soll) .sus-row.head { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  :is(.sus.spiegel:not(.zwei), .sus.soll) .sus-row.head + .sus-row { border-top: 0; }
  :is(.sus.spiegel:not(.zwei), .sus.soll) .sus-row [role="rowheader"] { grid-column: 1 / -1; font-weight: 600; }
  :is(.sus.spiegel:not(.zwei), .sus.soll) .sus-row .r { text-align: left; display: grid; gap: .05rem; }
  :is(.sus.spiegel:not(.zwei), .sus.soll) .sus-row .lab { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
  .sus.soll .sus-row .r:empty { display: none; } .sus.soll .sus-row.konto [role="rowheader"] { padding-left: 0; }
}
@media (max-width: 980px) { .sus.spiegel.sphaeren .sus-row, .sus.spiegel.lauf .sus-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sus.spiegel.sphaeren .sus-row .r:last-child, .sus.spiegel.lauf .sus-row .r:last-child { grid-column: 1 / -1; } }
@media (max-width: 980px) { .sphaere-wahl { justify-content: flex-start; width: 100%; } .sphaere-wahl select, .sphaere-wahl input { flex: 1 1 0; width: auto; max-width: none; } .row .aktionen { justify-content: flex-start; } }
/* the plan of a year: a row of the evaluation with a field for each of its twelve months and the year beside them.
   The card says how wide it is, not the window: wide, a row is one line under a head that stays in view; less wide,
   the name of the row stands above its months; narrow, every month carries its name */
.plan { container: plan / inline-size; position: relative; border-top: 1px solid var(--line); font-size: .8rem; }
.plan-row { display: grid; grid-template-columns: 9.6rem repeat(12, minmax(0, 1fr)) minmax(4.4rem, 1.2fr); gap: .3rem; padding: .3rem 1.3rem; border-top: 1px solid var(--line); align-items: center; }
.plan-row:first-child { border-top: 0; }
.plan-row.head { position: sticky; top: 0; z-index: 1; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); background: var(--warm); padding-block: .55rem; box-shadow: 0 1px 0 var(--line); }
.plan-row.head abbr { text-decoration: none; }
.plan-row .r { text-align: right; min-width: 0; overflow-wrap: anywhere; } .plan-row .lab { display: none; } .plan-row .null { color: var(--muted); }
.plan-row [role="rowheader"] { overflow-wrap: anywhere; hyphens: auto; font-weight: 600; } .plan-row .jahr { font-weight: 600; }
.plan-row.summe { background: var(--warm); font-weight: 600; padding-block: .6rem; }
.plan-row input { width: 100%; min-width: 0; height: 2.25rem; padding: 0 .3rem; border-radius: .5rem; border: 1px solid var(--field-line); background: var(--field); font: inherit; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.plan-row input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.plan-row input[aria-invalid="true"] { border-color: var(--bad-text); background: var(--bad-soft); }
.planende { padding-top: 1rem; } .planfehler { margin: .4rem 0 0; padding-left: 1.2rem; }
.planhilfen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 14px; align-items: start; }
.planhilfen .card > .facts { padding-bottom: .4rem; }
@container plan (max-width: 1039px) {
  .plan-row { grid-template-columns: repeat(12, minmax(0, 1fr)) minmax(4.4rem, 1.2fr); padding-block: .55rem; row-gap: .3rem; }
  .plan-row [role="rowheader"] { grid-column: 1 / -1; }
  .plan-row.head [role="columnheader"]:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@container plan (max-width: 759px) {
  .plan-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem .6rem; padding-block: .8rem; align-items: end; }
  .plan-row.head { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; box-shadow: none; }
  .plan-row.head + .plan-row { border-top: 0; }
  .plan-row .jahr { grid-column: 1 / -1; }
  .plan-row .r { text-align: left; display: grid; gap: .1rem; } .plan-row .lab { display: block; font-size: .74rem; font-weight: 500; color: var(--muted); }
  .plan-row input { text-align: left; }
}
@container plan (max-width: 519px) { .plan-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container plan (max-width: 279px) { .plan-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the preview of the firm's money: a row per week with what comes, what goes and where the money stands after it */
.sus.liq .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(3, minmax(0, 8rem)); }
.sus.liq .sus-row.zeile { font-weight: 600; } .sus.liq .sus-row.konto { border-top: 0; padding-block: .25rem; font-size: .86rem; color: var(--muted); }
.sus.liq .sus-row.konto [role="rowheader"] { padding-left: 1rem; font-weight: 400; } .sus.liq .sus-row.konto + .sus-row:not(.konto) { margin-top: .35rem; }
.sus.liq .unter { color: var(--bad-text); }
@media (max-width: 980px) {
  .sus.liq .sus-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sus.liq .sus-row .r:nth-child(2) { grid-column: auto; } .sus.liq .sus-row .r:empty { display: none; }
  .sus.liq .sus-row.konto [role="rowheader"] { padding-left: 0; }
}
/* open items in the ledger: a customer or supplier above its items; the rules with where the law says so */
.posten-buch .gruppe { margin: 0; padding: .8rem 1.3rem .5rem; border-top: 1px solid var(--line); font: 600 .98rem var(--sans); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; overflow-wrap: anywhere; }
.posten-buch .ph + .gruppe { border-top: 0; } .posten-buch .gruppe + .row { border-top: 0; }
.regel .pad p { margin: 0; max-width: 68ch; } .fund { margin: 0; padding-left: 1.1rem; display: grid; gap: .25rem; }
.ph > a { font-size: .86rem; font-weight: 600; white-space: nowrap; }
/* assets (B51): the asset schedule and the plan of an asset are the table of sums and balances with four numbers, or with two */
.sus.spiegel .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(4, minmax(0, 8.4rem)); } .sus.spiegel.zwei .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(2, minmax(0, 8.4rem)); }
@media (max-width: 980px) { .sus.spiegel .sus-row, .sus.spiegel.zwei .sus-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sus.spiegel .sus-row .r:nth-child(2), .sus.spiegel .sus-row .r:last-child { grid-column: auto; } }
/* the annual accounts (B67): a statement is the table of sums and balances with two numbers, the year and the year before; a position is set in by its level, and its accounts stand under it */
.sus.abschluss .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(2, minmax(0, 8.6rem)); }
.sus.abschluss .sus-row.e0, .sus.abschluss .sus-row.e1 { font-weight: 600; } .sus.abschluss .sus-row.e2 [role="rowheader"] { padding-left: 1rem; } .sus.abschluss .sus-row.e3 [role="rowheader"] { padding-left: 2rem; }
.sus.abschluss .sus-row.davon, .sus.abschluss .sus-row.konto { border-top: 0; padding-block: .25rem; font-size: .86rem; color: var(--muted); } .sus.abschluss .sus-row.davon [role="rowheader"], .sus.abschluss .sus-row.konto [role="rowheader"] { padding-left: 4.2rem; font-weight: 400; }
.sus.abschluss .sus-row.konto + .sus-row:not(.konto), .sus.abschluss .sus-row.davon + .sus-row:not(.davon):not(.konto) { margin-top: .35rem; }
.sus.abschluss .zeichen { display: inline-block; min-width: 1.9rem; color: var(--subtle); }
.card > h3.seite { margin: 0; padding: 1rem 1.3rem .6rem; font: 600 1rem var(--sans); border-top: 1px solid var(--line); } .card > .ph + h3.seite { border-top: 0; }
.row.eigen { grid-template-columns: minmax(0, 1fr) auto; } .row.eigen .zuordnen { display: flex; flex-wrap: wrap; gap: .5rem .7rem; align-items: center; justify-content: flex-end; min-width: 0; }
.row.eigen .auswahl { display: inline-flex; min-width: 0; } .row.eigen .auswahl > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.row.eigen select { height: 44px; max-width: 28rem; min-width: 0; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--field-line); background: var(--field); font: inherit; color: var(--ink); }
.row.eigen select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); } .row.eigen .err { flex-basis: 100%; text-align: right; } .row.eigen .btn { padding: .4rem .95rem; font-size: .86rem; } .row.eigen .wo { font-size: .9rem; color: var(--muted); max-width: 26rem; overflow-wrap: anywhere; } .row.eigen .wo .err { display: block; }
@media (max-width: 980px) {
  .sus.abschluss .sus-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sus.abschluss .sus-row .r:nth-child(2), .sus.abschluss .sus-row .r:last-child { grid-column: auto; } .sus.abschluss .sus-row .r:empty { display: none; }
  .sus.abschluss .sus-row.e2 [role="rowheader"], .sus.abschluss .sus-row.e3 [role="rowheader"], .sus.abschluss .sus-row.davon [role="rowheader"], .sus.abschluss .sus-row.konto [role="rowheader"] { padding-left: 0; }
  /* an account under its position keeps its one number beside its name */
  .sus.abschluss .sus-row.konto { grid-template-columns: minmax(0, 1fr) auto; padding-block: .2rem; } .sus.abschluss .sus-row.konto [role="rowheader"] { grid-column: auto; font-weight: 400; }
  .sus.abschluss .sus-row.konto .r { text-align: right; display: block; white-space: nowrap; } .sus.abschluss .sus-row.konto .lab { display: none; }
  .row.eigen { grid-template-columns: minmax(0, 1fr); } .row.eigen .zuordnen { justify-content: flex-start; } .row.eigen .auswahl { flex: 1 1 100%; } .row.eigen select { flex: 1; max-width: 100%; } .row.eigen .err { text-align: left; } .row.eigen .wo { text-align: left; max-width: none; }
}
@media (max-width: 560px) { .facts.erklaert { grid-template-columns: minmax(0, 1fr); gap: .1rem; } .facts.erklaert dd { margin-bottom: .6rem; } }
/* the E-Bilanz (work package B68): a position of the taxonomy stands as deep as the taxonomy puts it, its accounts
   below it; the third column says what kind of field the position is; and the list of the mandatory fields that
   are reported empty opens on demand */
.sus.ebilanz .sus-row [role="rowheader"] { padding-left: calc(var(--tiefe, 0) * .85rem); } .sus.ebilanz .sus-row.oben { font-weight: 600; }
.sus.ebilanz .sus-row.konto [role="rowheader"] { padding-left: calc(var(--tiefe, 0) * .85rem + 1.4rem); font-weight: 400; }
.sus.ebilanz .art { font-size: .8rem; color: var(--muted); } .sus.ebilanz .sus-row .klein { color: var(--subtle); }
.eb-leer { margin-top: .7rem; } .eb-leer summary { cursor: pointer; font-weight: 600; } .eb-leer summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: .4rem; }
.eb-leer .punkte { margin: .5rem 0 0; padding-left: 1.2rem; display: grid; gap: .2rem; font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.eb-zeilen .row small { overflow-wrap: anywhere; } .eb-wort { overflow-wrap: anywhere; }
@media (max-width: 720px) { .eb-zeilen .row { grid-template-columns: minmax(0, 1fr); gap: .3rem; } .eb-zeilen .row .r { text-align: left; } }
.eb-liste { margin: .3rem 0 .7rem; padding-left: 1.2rem; display: grid; gap: .15rem; font-size: .93rem; color: var(--muted); }
.facts.eb-spiegel { grid-template-columns: minmax(0, 1fr) auto; padding: .5rem 0 .4rem 1.2rem; } .facts.eb-spiegel dt { overflow-wrap: anywhere; hyphens: auto; }
.facts.eb-spiegel dd { overflow-wrap: normal; text-align: right; } .facts.eb-spiegel dd.num { white-space: nowrap; }
.facts.eb-uebertrag { padding: .5rem 0 .4rem 1.2rem; } .facts.eb-uebertrag dt { hyphens: auto; } .facts.eb-uebertrag dd { overflow-wrap: normal; }
@media (max-width: 980px) { .sus.ebilanz .sus-row [role="rowheader"], .sus.ebilanz .sus-row.konto [role="rowheader"] { padding-left: 0; } }
.row.verbindung { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } .row.verbindung small { overflow-wrap: anywhere; }
.row.verbindung .akt { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; justify-content: flex-end; } .row.verbindung .btn { padding: .4rem .95rem; font-size: .86rem; }
@media (max-width: 560px) { .row.verbindung { grid-template-columns: minmax(0, 1fr); } .row.verbindung .akt { justify-content: flex-start; } }
.row.verbindung form.erneuern { margin-top: .55rem; }
/* the firm's own access to its bank: what the receivers' banks said about the names of an order, one receiver a line */
.namen { list-style: none; margin: .3rem 0 1rem; padding: 0; display: grid; gap: .6rem; } .namen li { overflow-wrap: anywhere; line-height: 1.6; }
.wahl .checks.rechnungen span span { display: inline; overflow-wrap: anywhere; }
.tools a[aria-current] { text-decoration: none; }
.teile { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; font-size: .95rem; } .teile li { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .abgleich .row { grid-template-columns: minmax(0, 1fr); }
  .abgleich .row .r { text-align: left; }
}
/* the documents of another system: what it is on the left, amount and state on the right, the note of a payment below */
.fremd .row { grid-template-columns: minmax(0, 1fr) auto; gap: .45rem 1.2rem; align-items: start; }
.fremd .row > span:first-child { min-width: 9rem; overflow-wrap: break-word; }
.fremd .row .akt { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: flex-end; }
.fremd .row .akt form { display: flex; flex-wrap: wrap; gap: .5rem .7rem; align-items: center; justify-content: flex-end; }
.fremd .row .akt label { color: var(--muted); font-size: .9rem; }
.fremd .row .akt input { height: 38px; padding: 0 .7rem; border-radius: .8rem; border: 1px solid var(--field-line); background: var(--field); font: inherit; color: var(--ink); }
.fremd .row .akt input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.fremd .row .btn { padding: .4rem .95rem; font-size: .86rem; }
@media (max-width: 640px) {
  .fremd .row { grid-template-columns: minmax(0, 1fr); }
  .fremd .row .r { text-align: left; }
  .fremd .row .akt, .fremd .row .akt form { justify-content: flex-start; }
}
.aufgabenliste .row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; }
.verlauf { list-style: none; margin: 0; padding: 0; }
.verlauf li { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr) auto; gap: .3rem .9rem; align-items: baseline; padding: .7rem 1.3rem; border-top: 1px solid var(--line); font-size: .93rem; }
.verlauf .chip { justify-self: start; } .verlauf li.schlecht .chip { background: var(--bad-soft); color: var(--bad-text); }
.verlauf li > div { overflow-wrap: anywhere; } .verlauf small { display: block; color: var(--muted); white-space: pre-wrap; }
.verlauf time, .row.notiz time { color: var(--muted); font-size: .82rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.jahre { width: 100%; border-collapse: collapse; font-size: .93rem; margin-bottom: .9rem; }
.jahre th, .jahre td { padding: .55rem 1.3rem; border-top: 1px solid var(--line); text-align: left; font-weight: 500; } .jahre .r { text-align: right; }
.jahre thead th { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); background: var(--warm); }
.stamm summary { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; justify-content: space-between; padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; border-radius: var(--r-lg); }
.stamm summary::-webkit-details-marker { display: none; } .stamm summary h2 { font-size: 1.2rem; }
.stamm summary span::after { content: " ▾"; } .stamm[open] summary span::after { content: " ▴"; }
.stamm summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.more.erledigt { padding: .9rem 1.3rem 1rem; border-top: 1px solid var(--line); } .more.erledigt .row { padding-inline: 0; } .more.erledigt[open] summary { margin-bottom: 0; }
/* the archive by years: a line per kind with where it stands */
.archiv .row { grid-template-columns: minmax(0, 1fr) auto; } .archiv .row.head { grid-template-columns: minmax(0, 1fr); }
.fix { height: 46px; display: flex; align-items: center; color: var(--muted); }
.form.inner { padding: 1.1rem 1.3rem 1.3rem; max-width: none; gap: 1rem; border-top: 1px solid var(--line); }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; }
.note.muster { font-weight: 600; }
.sha { font-size: .78rem; overflow-wrap: anywhere; } .bad-text { color: var(--bad); font-weight: 600; } .pad .btn { justify-self: start; white-space: normal; text-align: center; }
.empty { padding: 2.6rem 1.3rem; text-align: center; color: var(--muted); } .empty h2 { font-size: 1.35rem; color: var(--ink); margin-bottom: .4rem; } .empty .btn { margin-top: 1.1rem; }

/* forms */
/* minmax(0, …) here and below: a column never grows as wide as its longest word or button, so a narrow screen wraps
   instead of scrolling sideways */
.form { padding: 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; max-width: 60rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
legend { padding: 0; margin-bottom: .2rem; font: 600 1.15rem var(--display); letter-spacing: -0.01em; }
legend + p { color: var(--muted); font-size: .92rem; margin-top: -.5rem; }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .9rem; }
.f { display: grid; gap: .3rem; grid-column: 1 / -1; align-content: start; } .f.s4 { grid-column: span 4; } .f.s3 { grid-column: span 3; } .f.s2 { grid-column: span 2; } .f.s1 { grid-column: span 1; }
.f label, .f .lab { font-size: .84rem; font-weight: 600; }
/* the operator's page of numbers (work package B101). The way from the first link to the first paid charge is a list
   of bars in the order of its steps, each against the first of its half; a number over the weeks is a row of thin
   columns. One colour for every bar: the steps are an order, not kinds. The text beside a bar wears the text colours. */
.schritte { display: grid; gap: .7rem; padding: 0 1.3rem 1.1rem; }
.schritte h3 { font: 600 .7rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); margin: .6rem 0 .1rem; } .schritte h3:first-child { margin-top: 0; }
.schritt { display: grid; grid-template-columns: minmax(0, 1fr) auto 3.4rem; grid-template-areas: "was zahl teil" "bahn bahn bahn"; gap: .3rem .6rem; align-items: baseline; font-size: .93rem; }
.schritt .was { grid-area: was; } .schritt b { grid-area: zahl; } .schritt .teil { grid-area: teil; }
.schritt .bahn { grid-area: bahn; height: 10px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.schritt .bahn i { display: block; height: 100%; width: var(--b); background: var(--aqua-strong); border-radius: 0 4px 4px 0; }
.schritt b { text-align: right; font-weight: 600; } .schritt .teil { text-align: right; color: var(--muted); font-size: .84rem; }
.verlaeufe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem 1.8rem; padding: 0 1.3rem 1.3rem; }
.verlaeufe figure { margin: 0; display: grid; gap: .45rem; min-width: 0; }
.verlaeufe figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; font-size: .86rem; color: var(--muted); } .verlaeufe figcaption b { font: 600 1.3rem var(--display); letter-spacing: -0.02em; color: var(--ink); }
.saeulen { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; height: 104px; border-bottom: 1px solid var(--line); }
.saeule { position: relative; }
.saeule i { position: absolute; left: 50%; bottom: 0; width: min(100%, 22px); transform: translateX(-50%); height: calc((100% - 1.2rem) * var(--h) / 100); background: var(--aqua-strong); border-radius: 4px 4px 0 0; }
.saeule b { position: absolute; left: 50%; bottom: calc((100% - 1.2rem) * var(--h) / 100 + 2px); transform: translateX(-50%); font-size: .74rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.saeule:hover i { background: var(--ink); }
.saeule:hover::after { content: attr(data-t); position: absolute; left: 50%; top: -.4rem; transform: translate(-50%, -100%); z-index: 2; padding: .2rem .5rem; border-radius: 6px; background: var(--ink); color: var(--on-ink); font-size: .74rem; font-weight: 600; white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.saeule:nth-child(-n+3):hover::after { left: 0; transform: translateY(-100%); } .saeule:nth-last-child(-n+3):hover::after { left: auto; right: 0; transform: translateY(-100%); }
.achse { display: flex; justify-content: space-between; font-size: .74rem; color: var(--subtle); }
.tafel > .pruefdaten:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); } .tafel > .ph + .pruefdaten { border-top: 1px solid var(--line); }
@media (max-width: 1180px) { .verlaeufe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .verlaeufe { grid-template-columns: minmax(0, 1fr); } }
/* the number ranges of a new firm: one group per kind of document, its prefix and its next number side by side, so
   that no label has to name its kind and none runs into its neighbour (operator, 2026-11-16) */
.kreise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 1.6rem; }
.kreis legend { font: 600 .95rem var(--sans); letter-spacing: 0; margin: 0 0 .45rem; }
.kreis .paar { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .7rem; }
.kreis .f { grid-column: auto; } .kreis .f label { font-weight: 500; color: var(--muted); }
@media (max-width: 900px) { .kreise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kreise { grid-template-columns: minmax(0, 1fr); } }
.f input, .f select { width: 100%; height: 46px; padding: 0 .9rem; border-radius: .8rem; border: 1px solid var(--field-line); background: var(--field); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.f input:focus, .f select:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
/* a field that takes a file: the browser's own button and the file's name need room of their own */
.f input[type="file"] { height: auto; min-height: 46px; padding: .55rem .7rem; }
.f small { color: var(--muted); font-size: .82rem; }
.f.bad input, .f.bad select { border-color: var(--bad); } .f .err { color: var(--bad); font-size: .84rem; font-weight: 500; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opts label { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--field-line); background: var(--field); font-weight: 500; font-size: .93rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.opts label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.note { padding: .8rem 1.1rem; border-radius: var(--r); font-size: .93rem; margin-bottom: 14px; }
.note.ok { background: var(--ok-soft); color: var(--ok-text); } .note.bad { background: var(--bad-soft); color: var(--bad-text); } .note.info { background: var(--aqua-soft); color: var(--aqua-strong); }

/* the pages before the program: sign-in, consent, the first firm */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.gate .card { width: min(30rem, 100%); padding: 2rem; display: grid; gap: 1.1rem; }
.gate.wide .card { width: min(60rem, 100%); padding: 0; } .gate.wide .top { padding: 1.6rem 1.5rem 0; display: grid; gap: .8rem; }
.gate h1 { font-size: 1.9rem; letter-spacing: -0.03em; } .gate p { color: var(--muted); }
.gate .f input { height: 50px; } .gate .btn { height: 50px; }
.gate .legal { font-size: .82rem; color: var(--subtle); }
.devlink { word-break: break-all; font-size: .85rem; }

/* documents: the draft beside what the program makes of it, positions, sums, the booking */
.tabs { display: inline-flex; flex-wrap: wrap; max-width: 100%; gap: 4px; padding: 4px; border-radius: 1.5rem; background: var(--paper); border: 1px solid var(--line); }
.tabs a { padding: .35rem .9rem; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.tabs a.on { background: var(--ink); color: var(--on-ink); }
.belege .row { grid-template-columns: 9.5rem minmax(0, 2fr) 6.5rem 6.5rem 9rem; }
.serien .row { grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) 8rem 9rem; }
.posten .row { grid-template-columns: 9.5rem minmax(0, 2fr) 7.5rem minmax(0, 1.3fr) 9rem; }
/* the Eingang: what came in, the newest first; and the ways a file gets in */
.eingang .row { grid-template-columns: minmax(0, 1fr) 7rem 6.5rem 9rem; } .eingang .row b { overflow-wrap: anywhere; } .eingang .row small .chip { vertical-align: baseline; }
.eingang-wege { align-items: start; margin-bottom: 14px; } .eingang-wege .form { max-width: none; }
.adresse { margin: .7rem 0; padding: .6rem .8rem; border-radius: .7rem; background: var(--warm); font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.row.mail { grid-template-columns: minmax(0, 1fr) auto; } .row.mail b, .row.mail small { overflow-wrap: anywhere; }
.eingang-bild { display: block; max-width: 100%; height: auto; border-radius: .7rem; border: 1px solid var(--line); background: var(--blatt); }
/* what a received document says: the proposal as a form inside the document's card, each reason under its field */
.doc > .angaben, .angaben-aendern > .angaben { max-width: none; padding: 1.1rem 1.3rem 1.3rem; box-shadow: none; border: 0; background: none; } .angaben-kopf p { margin: 0 0 .5rem; }
.angaben .f small { overflow-wrap: anywhere; } .angaben-aendern { margin: .4rem 1.3rem 1.1rem; }
/* three short fields a row, at every width: the rules that give a position's text a line of its own do not apply */
.pos.saetze .pos-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); } .pos.saetze .pos-row > :first-child { grid-column: auto; }
.pos.saetze .pos-head { display: grid; } .pos.saetze .pos-head > :first-child { display: inline; }
.pos.saetze .grund { grid-column: 1 / -1; color: var(--muted); overflow-wrap: anywhere; } .angaben-summe { margin-top: 1rem; }
.beleg-text { margin: 0 1.3rem 1.2rem; } .seitentext { margin: .7rem 0 0; padding: .8rem 1rem; border-radius: .7rem; background: var(--warm); font: .8rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 24rem; overflow: auto; }
.seitentext:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
/* a document that may have come twice: the other one, why, and the two answers */
.doppelt .doppel { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: .7rem; } .doppelt .doppel form { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.doppelt .doppel > span { flex: 1 1 18rem; overflow-wrap: anywhere; } .doppelt a { color: inherit; }
.eingang-summe { padding: .2rem 1.3rem 0; } .sum.eingang-summe { grid-template-columns: minmax(6.5rem, 1fr) minmax(0, max-content); } .sum.eingang-summe dd { overflow-wrap: anywhere; } .stand-form .f { margin-bottom: .9rem; } .stand-form .actions { margin: 0 0 .8rem; }
/* how a customer pays: the details on the left, the GiroCode on the right */
.zahlwege { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: flex-start; justify-content: space-between; } .zahlwege > div { display: grid; gap: .7rem; min-width: 0; flex: 1 1 16rem; }
.zahlwege .facts { padding: 0; } .zahlwege p { margin: 0; }
.girocode { margin: 0; flex: none; text-align: center; } .girocode svg { display: block; width: 9.5rem; height: 9.5rem; border-radius: .5rem; } .girocode figcaption { margin-top: .4rem; font-size: .78rem; color: var(--muted); max-width: 9.5rem; }
.sammel { margin-bottom: 14px; }
.texte .row { grid-template-columns: minmax(0, 1fr) auto; }
.bild-vorschau { display: block; max-width: 14rem; max-height: 6rem; padding: .5rem; border-radius: .6rem; border: 1px solid var(--line); background: var(--blatt); }
.wahlfeld { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 500; color: var(--muted); }
.wahlfeld select { min-height: 42px; padding: 0 .7rem; border-radius: .7rem; border: 1px solid var(--field-line); background: var(--field); font: inherit; color: var(--ink); }
.draft { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.draft .form { max-width: none; container-type: inline-size; }
.side-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; position: sticky; top: 14px; }
.pad { padding: 0 1.3rem 1.1rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; } .pad .note { margin: 0; }
.big { font: 600 1.15rem var(--display); letter-spacing: -0.01em; }
.why { color: var(--muted); font-size: .92rem; }
.sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1.2rem; padding: 1rem 1.3rem 1.2rem; border-top: 1px solid var(--line); font-size: .93rem; margin: 0; }
.sum dt { color: var(--muted); overflow-wrap: anywhere; } .sum dd { margin: 0; text-align: right; font-weight: 500; }
.sum .tot { font: 600 1.25rem var(--display); color: var(--ink); padding-top: .5rem; border-top: 1px solid var(--line); }
.pos { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pos-row { display: grid; grid-template-columns: minmax(0, 3fr) 5.5rem 6rem 7.5rem 6.5rem; gap: .5rem; align-items: start; padding: .55rem .7rem; border-top: 1px solid var(--line); }
.pos-row:first-child { border-top: 0; }
.pos-head { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); background: var(--warm); }
.pos-row input, .pos-row select, .form textarea { width: 100%; min-height: 42px; padding: 0 .7rem; border-radius: .7rem; border: 1px solid var(--field-line); background: var(--field); font: inherit; color: var(--ink); }
.form textarea { padding: .6rem .9rem; resize: vertical; }
.pos-row input:focus, .pos-row select:focus, .form textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.pos-text { display: grid; gap: .35rem; } .pos-text select { color: var(--muted); font-size: .88rem; }
.pos-diff { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .5rem; } .pos-diff select { color: var(--muted); font-size: .9rem; }
/* an offer's positions that stand for choice, and the controls that choose */
.zur-wahl { color: var(--muted); } .zur-wahl small, .pos-row small { font-size: .78rem; }
.zur-wahl > :first-child small:first-child { display: inline-block; padding: .05rem .5rem; border-radius: 999px; background: var(--soft); font-weight: 600; }
/* a collective invoice: the line above the positions of each document it collects, and the same at a row of its draft */
.pos .pos-row.pos-aus { display: block; background: var(--soft); font-weight: 600; font-size: .9rem; }
.pos-text .aus { display: block; margin-top: .25rem; color: var(--muted); }
.wahl { margin: 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); } .wahl legend { font: 600 .9rem var(--sans); letter-spacing: 0; padding: 0 .4rem; margin: 0; }
.wahl .checks label, .sammel .checks label, .benachrichtigungen .checks label { align-items: flex-start; } .wahl .checks span, .sammel .checks span, .benachrichtigungen .checks span { display: grid; gap: .1rem; }
.wahl .checks small, .sammel .checks small, .benachrichtigungen .checks small { color: var(--muted); font-size: .84rem; }
/* the page a customer opens with the link of a mail */
.gate.wide .absender { display: grid; gap: .1rem; font-size: .9rem; color: var(--muted); } .gate.wide .absender b { color: var(--ink); font: 600 1.1rem var(--display); }
.gate.wide .antwort { border-top: 1px solid var(--line); padding: 1.3rem 1.5rem 0; display: grid; gap: .9rem; } .antwort h2 { font-size: 1.3rem; } .antwort .form.inner { border-top: 0; padding: 0; }
.antwort .note { margin: 0; } .bestellt { margin: 0; padding-left: 1.2rem; color: var(--muted); font-size: .93rem; }
.kunde-pdf { padding-top: .2rem; } .kunde-fuss { padding: 1.2rem 1.5rem 1.5rem; font-size: .84rem; color: var(--muted); }
.pos-row.bad input { border-color: var(--bad); } .pos-row .err { grid-column: 1 / -1; color: var(--bad); font-size: .84rem; font-weight: 500; }
.pos.view .pos-row { grid-template-columns: minmax(0, 3fr) 4.5rem 7rem 5rem 7rem; padding: .7rem 1.3rem; }
.pos.view.liefer .pos-row { grid-template-columns: minmax(0, 1fr) 9rem; } .pos.view { border-width: 1px 0; border-radius: 0; }
/* customs data of a document: the position, what it is on the commercial invoice, and what customs asks about it.
   Only on a wide screen: a narrow one takes the two columns of every row of positions. */
@media (min-width: 981px) { .pos.zoll .pos-row { grid-template-columns: minmax(0, 3fr) 13rem 9.5rem 5.5rem 7rem; } }
.pos.zoll .pos-text b { font-weight: 600; overflow-wrap: anywhere; } .pos.zoll .pos-text small { color: var(--muted); }
.pos.zoll + .why { margin-top: .8rem; }
.note > p { margin: 0; } .note .punkte { margin: .35rem 0 .45rem; padding-left: 1.2rem; }
.checks { display: grid; gap: .5rem; } .checks label { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; font-weight: 500; }
.checks input { flex: none; width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; padding: 0; border-radius: .25rem; accent-color: var(--ink); }
.more summary { cursor: pointer; font-weight: 600; font-size: .93rem; color: var(--muted); } .more[open] summary { margin-bottom: .9rem; }
.doc-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.2rem; padding: 1.3rem 1.3rem .4rem; }
.doc-head > div { display: grid; gap: .15rem; align-content: start; } .doc-head small { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.doc-head .facts { padding: 0; } .doc-head .facts dd { white-space: nowrap; } .doc-head .facts dd.lang { white-space: normal; } .book + .pad { padding-top: .9rem; } .doc-text { padding: .9rem 1.3rem; color: var(--muted); white-space: pre-line; }
.book { border-top: 1px solid var(--line); }
.book-row { display: grid; grid-template-columns: 1fr 7rem 7rem; gap: .6rem; padding: .5rem 1.3rem; border-top: 1px solid var(--line); font-size: .93rem; }
.book-row:first-child { border-top: 0; } .book-row.head { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); background: var(--warm); }
.book-row small { color: var(--muted); }
.r { text-align: right; }
/* a draft beside its side column is narrow: what is charged gets a line of its own, the numbers stand under it.
   After the rules of .pos-row above, so that it wins; before the ones for narrow screens, so that they do. */
@container (max-width: 860px) {
  .pos-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); }
  .pos-row > :first-child { grid-column: 1 / -1; } .pos-head > :first-child { display: none; }
  .pos-text { display: flex; flex-wrap: wrap; } .pos-text input { flex: 1 1 14rem; } .pos-text select { flex: 0 1 15rem; }
}
@media (max-width: 980px) {
  /* minmax(0, …): the menu scrolls inside its card instead of making the whole page as wide as its links */
  .shell { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 12px; }
  .side { position: static; height: auto; padding: .8rem; min-width: 0; }
  main { min-width: 0; }
  .side .wordmark { padding-bottom: .7rem; }
  .menu { grid-auto-flow: column; grid-auto-columns: max-content; flex: none; overflow-x: auto; overflow-y: hidden; gap: 4px; padding: 5px; margin: -5px; scrollbar-width: none; }
  .menu a { height: 40px; }
  .menu .lbl, .menu a.soon { display: none; }
  .side .who { margin-top: .7rem; grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .side .who a { min-width: 0; overflow-wrap: anywhere; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .two { grid-template-columns: minmax(0, 1fr); }
  .draft { grid-template-columns: minmax(0, 1fr); } .side-col { position: static; }
}
@media (max-width: 640px) {
  .f.s4, .f.s3, .f.s2 { grid-column: span 6; } .f.s1 { grid-column: span 3; }
  .form { padding: 1.1rem; }
  .kunden .row, .artikel .row, .lieferanten .row { grid-template-columns: minmax(0, 1fr) auto; }
  .eingang-offen .row { grid-template-columns: 2.4rem minmax(0, 1fr) auto; }
  .ueberweisungen .row { grid-template-columns: 2.4rem minmax(0, 1fr); } .ueberweisungen .row .r { grid-column: 2; text-align: left; }
  .belege .row { grid-template-columns: auto minmax(0, 1fr) auto; } .belege .row .num b { white-space: nowrap; }
  .serien .row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .posten .row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .eingang .row { grid-template-columns: minmax(0, 1fr) auto; }
  .pos-row { grid-template-columns: 1fr 1fr; } .pos-row > :first-child { grid-column: 1 / -1; } .pos-head { display: none; }
  .pos.view .pos-row { grid-template-columns: 1fr 1fr 1fr 1fr; padding-inline: 1.1rem; } .pos.view.liefer .pos-row { grid-template-columns: minmax(0, 1fr) auto; } .pos.view.liefer .pos-row > :first-child { grid-column: auto; } .doc-head { grid-template-columns: minmax(0, 1fr); }
  .row.head, .row .hide { display: none; }
  .verlauf li { grid-template-columns: minmax(0, 1fr) auto; } .verlauf li > div { grid-column: 1 / -1; grid-row: 2; }
  .aufgabenliste .row { grid-template-columns: minmax(0, 1fr) auto; } .aufgabenliste .row > :first-child { grid-column: 1 / -1; }
  /* the years: columns of a fixed share, so that a long amount breaks instead of widening the page */
  .jahre { table-layout: fixed; } .jahre th, .jahre td { padding-inline: .45rem; overflow-wrap: anywhere; }
  .jahre th:first-child { padding-left: 1.1rem; width: 4.6rem; } .jahre th:last-child, .jahre td:last-child { padding-right: 1.1rem; }
  /* a narrow screen breaks a long button or a long number rather than scroll sideways */
  .btn { white-space: normal; text-align: center; } .hd h1 { overflow-wrap: anywhere; } .actions { min-width: 0; }
  .book-row { grid-template-columns: minmax(0, 1fr) 5.2rem 5.2rem; padding-inline: 1.1rem; }
  .filter .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd .acts, .hd .acts .btn { width: 100%; }
}
@media (max-width: 420px) {
  .filter .grid { grid-template-columns: minmax(0, 1fr); } .doc-head .facts dd { white-space: normal; }
  /* a document in the list: number and amount in one line, the customer under them */
  .belege .row { grid-template-columns: minmax(0, 1fr) auto; row-gap: .25rem; }
  .belege .row > :first-child { grid-area: 1 / 1; } .belege .row > .r { grid-area: 1 / 2; } .belege .row > :nth-child(2) { grid-area: 2 / 1 / 3 / -1; }
}
/* The help of every page (scope P92, work package B117): two quiet buttons at the lower right, "Tutorial" where the
   page has one and always "Problem melden"; the tutorial opens over the page as a popover, without a script, with one
   to three cards: a moving picture of the page being used (a still for a person who asks for less motion) and the
   text below. The page keeps room at its end, so that the buttons cover nothing. */
main { padding-bottom: 5.5rem; }
.hilfe { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; gap: 8px; }
.hilfe-knopf { display: inline-flex; align-items: center; height: 40px; padding: 0 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 .88rem var(--sans); text-decoration: none; box-shadow: var(--shadow); cursor: pointer; }
.hilfe-knopf:hover { background: var(--soft); }
.hilfe-knopf.leise { color: var(--muted); font-weight: 500; }
.hilfe-knopf:focus-visible, .tutorial a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.tutorial { width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow: auto; margin: auto; padding: 1.3rem 1.4rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.tutorial::backdrop { background: color-mix(in srgb, var(--ink-deep) 55%, transparent); }
.tutorial-kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.tutorial-kopf h2 { margin: 0; font: 600 1.3rem var(--display); }
.tutorial-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.tutorial-karten li { overflow: hidden; }
.tutorial-karten figure { margin: 0; }
.tutorial-karten img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); background: var(--soft); }
.tutorial-karten figcaption { padding: .9rem 1rem 1rem; display: grid; gap: .35rem; }
.tutorial-karten .schritt { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
.tutorial-karten p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.tutorial-karten .melden { font-size: .82rem; color: var(--muted); }
.tutorial-fuss { margin: 1rem 0 0; font-size: .82rem; color: var(--subtle); }
/* a step large (B131; the operator: the pictures could be too small to read for some people): the picture of a card is
   a button, and its popover fills the window with the picture as large as it fits and the text below */
.tutorial-bild { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; }
.tutorial-bild:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.tutorial-lupe { position: absolute; right: .6rem; bottom: .6rem; padding: .2rem .6rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 .75rem var(--sans); }
.tutorial-gross { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 1rem 1.2rem 1.2rem; border: 0; background: var(--paper); color: var(--ink); }
.tutorial-gross:popover-open { display: flex; flex-direction: column; gap: .8rem; }
.tutorial-gross::backdrop { background: color-mix(in srgb, var(--ink-deep) 70%, transparent); }
.tutorial-gross picture { flex: 1 1 auto; min-height: 0; display: flex; }
.tutorial-gross img { width: 100%; height: 100%; object-fit: contain; }
.tutorial-gross p { margin: 0 auto; max-width: 75ch; color: var(--muted); line-height: 1.5; }
/* the numbers of the steps: on a wide screen the steps stand side by side and need none */
.tutorial-seiten { display: none; }
/* on a narrow screen the tutorial fills it, one step at a time to swipe through, with the numbers to jump below;
   each step scrolls by itself (before, the panel was taller than the visible part of the screen) */
@media (max-width: 700px) {
  .tutorial { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: .8rem .8rem .6rem; border: 0; border-radius: 0; }
  .tutorial:popover-open { display: flex; flex-direction: column; overflow: hidden; }
  .tutorial-kopf { flex: none; margin-bottom: .6rem; }
  .tutorial-kopf h2 { font-size: 1.1rem; }
  .tutorial-karten { display: flex; flex: 1 1 auto; min-height: 0; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; }
  .tutorial-karten > li { flex: 0 0 100%; scroll-snap-align: start; overflow-y: auto; overscroll-behavior: contain; }
  .tutorial-seiten { display: flex; flex: none; justify-content: center; gap: .5rem; padding: .6rem 0 0; }
  .tutorial-seiten a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
  .tutorial-seiten a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
  .tutorial-fuss { display: none; }
  .tutorial-gross { padding: .8rem; }
  /* on a phone the large step is wider than the screen, to move across with a finger: the width of the screen
     would show it no larger than the card */
  .tutorial-gross picture { display: block; overflow: auto; overscroll-behavior: contain; }
  .tutorial-gross img { width: 1024px; max-width: none; height: auto; }
}
@media print { .hilfe, .tutorial, .tutorial-gross { display: none !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
/* the Verfahrensdokumentation (work package B70): chapters as cards, every statement with its kind under it; the
   firm's own words carry a full line on their left, a missing answer a dashed one */
.verfahren h3 { font-size: 1.02rem; padding: 1rem 1.3rem .6rem; border-top: 1px solid var(--line); }
.verfahren .ph + h3 { border-top: 0; padding-top: .1rem; }
/* A button that carries a name somebody typed breaks inside it before it widens the page. */
.btn.mit-namen { white-space: normal; overflow-wrap: anywhere; text-align: center; max-width: 100%; }
/* A heading of one long word breaks inside the word before it widens the page (320 px, wide text spacing). */
.ph h2, .ph h3 { min-width: 0; overflow-wrap: anywhere; }
.aussage { margin: 0 1.3rem .85rem; padding-left: .9rem; border-left: 3px solid var(--line); }
.aussage:last-child { margin-bottom: 1.3rem; }
.aussage p { margin: 0; max-width: 78ch; white-space: pre-line; overflow-wrap: anywhere; }
.aussage small { display: block; margin-top: .2rem; color: var(--muted); font-size: .8rem; }
.aussage.eigen { border-left-color: var(--aqua-strong); }
.aussage.fehlt { border-left: 3px dashed var(--warn); } .aussage.fehlt p { color: var(--muted); }
.aussage .chip { font-size: .72rem; padding: .1rem .5rem; }
.row.wandel { grid-template-columns: minmax(0, 1fr); } .row.wandel b { font-weight: 500; overflow-wrap: anywhere; }
.row.wandel b.weg { text-decoration: line-through; color: var(--muted); } .row.wandel small { overflow-wrap: anywhere; }
/* a checksum written out (the Verfahrensdokumentation); the rows of sums on other pages carry the same class name and are not meant */
p.summe { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; overflow-wrap: anywhere; margin: 0; }
.kpi b.klein { font-size: 1.15rem; overflow: visible; overflow-wrap: anywhere; }
#angaben textarea { min-height: 5.2rem; }
/* a title of one long word breaks at its syllables on a narrow screen instead of in the middle of one */
.hd h1.lang { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 560px) { .hd h1.lang { font-size: 1.6rem; } }
/* cost centres and projects (B71): the two selects of a line of a booking by hand stand under its account */
.handzeile .stellen { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
@media (max-width: 560px) { .handzeile .stellen { grid-template-columns: minmax(0, 1fr); } }
/* the tax audit (B69): a table of the handover on a page, as wide as its columns; it rolls inside its card, the page
   does not. And the firm's name in the frame of an auditor, who has no other firm to switch to. */
.pruefdaten { overflow-x: auto; max-width: 100%; border-top: 1px solid var(--line); }
.pruefdaten:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.pruefdaten table { border-collapse: collapse; min-width: 100%; font-size: .86rem; }
.pruefdaten th, .pruefdaten td { padding: .5rem .8rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; white-space: nowrap; }
.pruefdaten th { border-top: 0; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); background: var(--warm); }
.pruefdaten th a { display: inline-block; padding: .2rem 0; color: inherit; text-decoration: none; } .pruefdaten th a:hover { color: var(--ink); text-decoration: underline; }
.pruefdaten td.lang { white-space: normal; min-width: 16rem; max-width: 30rem; overflow-wrap: anywhere; }
.pruefdaten .r { text-align: right; font-variant-numeric: tabular-nums; }
.pruefdaten tfoot td { font-weight: 600; background: var(--warm); } .pruefdaten + .pad { padding-top: .9rem; }
.pruefmenu a { height: auto; min-height: 36px; padding-block: .4rem; line-height: 1.25; }
.side .firma-fest { flex: none; margin: 0 0 .9rem; padding: .6rem .8rem; border-radius: .9rem; background: var(--soft); font-weight: 600; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* what happened in an audit: a row may hold a checksum of 64 signs, which breaks where the card ends */
.pruefschritte .row { grid-template-columns: minmax(0, 1fr); } .pruefschritte .row b, .pruefschritte .row small { overflow-wrap: anywhere; }
.facts.erklaert.schmal { grid-template-columns: minmax(0, 1fr); gap: .1rem; } .facts.erklaert.schmal dd { margin-bottom: .6rem; }
/* the page of the rules (B75): the sets with their number of rules, a group that opens, and a rule as two columns
   (what it is and where the law says so; its value and what it holds for), one below the other on a narrow screen */
.regelinhalt ul { list-style: none; margin: 0; padding: .5rem 1.3rem 1.1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .1rem 1.6rem; }
.regelinhalt li { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; padding: .3rem 0; min-width: 0; }
.regelinhalt li a { min-width: 0; overflow-wrap: anywhere; } .regelinhalt li small { color: var(--muted); }
.regelgruppe { border-top: 1px solid var(--line); }
.regelgruppe > summary { display: flex; justify-content: space-between; align-items: baseline; gap: .9rem; padding: .8rem 1.3rem; font-weight: 600; cursor: pointer; }
.regelgruppe > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: .6rem; }
.regelgruppe > summary small { color: var(--muted); font-weight: 400; } .regelgruppe > summary span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.regelgruppe[open] > summary { background: var(--warm); }
.regelgruppe > .why { margin: 0; padding: .7rem 1.3rem; border-top: 1px solid var(--line); }
.regelgruppe > .row:first-of-type { border-top: 1px solid var(--line); }
.row.regelzeile { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
.row.regelzeile.ohne { grid-template-columns: minmax(0, 1fr); }
.row.regelzeile > span { min-width: 0; overflow-wrap: anywhere; } .row.regelzeile .wert small { margin-top: .2rem; }
.regelquellen { overflow-wrap: anywhere; font-size: .86rem; color: var(--muted); }
@media (max-width: 720px) { .row.regelzeile { grid-template-columns: minmax(0, 1fr); gap: .3rem; } }
/* approvals by a second person (work package B74): what a payment file says stands under its line; the word why of a refusal stands beside its button and takes the room there is; a checksum breaks where the card ends */
.freigaben .lauf-akt.inhalt { display: grid; gap: .3rem; } .freigaben .lauf-akt.inhalt .punkte { margin: 0; padding-left: 1.2rem; } .freigaben .row small, .freigaben .row li { overflow-wrap: anywhere; }
.freigaben .lauf-akt .ablehnen { flex: 1 1 22rem; align-items: end; } .freigaben .lauf-akt .ablehnen .f { flex: 1 1 14rem; }
@media (max-width: 560px) { .freigaben .row { grid-template-columns: minmax(0, 1fr) auto; } .freigaben .row > span:first-child { grid-column: 1 / -1; } }
/* times kept and invoiced (B83): the times to choose for an invoice, each with its day, length and worth above what was done; a time that cannot go onto the invoice is set back */
.zeitwahl label { align-items: flex-start; } .zeitwahl label > span { display: grid; gap: .1rem; min-width: 0; } .zeitwahl b { font-weight: 600; overflow-wrap: anywhere; }
.zeitwahl small { color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; } .zeitwahl label.aus b { color: var(--muted); font-weight: 500; }
/* the list of times: what was done on the left, with its rate and worth under it; the length stays on the right, also on a narrow screen */
.zeitliste .row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .3rem .9rem; } .zeitliste .row small { overflow-wrap: anywhere; } .zeitliste .row .chip { vertical-align: baseline; }
.zeitliste > .pad { padding-top: .9rem; border-top: 1px solid var(--line); }
/* the month, the project or the span that is shown, among those one click away */
.zeitnav a[aria-current] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
/* what the times come to per customer and project: the table of sums and balances with five numbers, across the page; the positions of a proposed invoice and the hours of a person with three */
@media (min-width: 981px) {
  .sus.zeitsummen .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(5, minmax(0, 8.2rem)); }
  .sus.zeitdrei .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(3, minmax(0, 7.4rem)); }
}
/* on a narrow screen the five numbers stand two by two, the last one alone */
@media (max-width: 980px) { .sus.zeitsummen .sus-row .r:nth-child(2) { grid-column: auto; } }
.sus.zeitsummen small { display: block; color: var(--muted); font-size: .8rem; } .sus.zeitsummen .chip { white-space: normal; }
.sus-row.gesamt { font-weight: 600; background: var(--warm); }
/* the people who work: a form each, set apart by a line */
.zeitperson + .zeitperson, .zeitperson + .form.inner { border-top: 1px solid var(--line); }
/* the payroll (work package B87, part 2): a run with five numbers a person, two by two on a narrow screen with the
   last one alone; the reason a month is held stands under its person */
@media (min-width: 981px) { .sus.lohn .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) repeat(5, minmax(0, 7.6rem)); } }
@media (max-width: 980px) { .sus.lohn .sus-row .r:nth-child(2) { grid-column: auto; } .sus.lohn .sus-row .r:empty { display: none; } }
.sus.lohn [role="rowheader"] .bad-text, .sus.lohnkonto [role="rowheader"] small { display: inline-block; margin-top: .2rem; font-size: .84rem; }
/* the two links of a line, each its own target of at least 24 px (WCAG 2.5.8); a long German word in a narrow column breaks where German breaks it */
.sus.lohn [role="rowheader"] a { display: inline-block; min-height: 24px; padding-block: 3px; }
.sus.lohn [role="columnheader"], .sus.lohn .lab { hyphens: auto; }
.kasse summary { cursor: pointer; overflow-wrap: anywhere; } .kasse .form.inner { padding-inline: 0; }
/* the transfers of a fixed run (B87, part 2): to whom, how much, where it stands */
@media (min-width: 981px) { .sus.lohnzahlung .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) minmax(0, 8rem) minmax(0, 14rem); } }
.sus.lohnzahlung [role="rowheader"] small { display: inline-block; margin-top: .2rem; font-size: .84rem; overflow-wrap: anywhere; }
/* the contribution statements of a fixed run (B87, part 2): the office, the amount, when */
@media (min-width: 981px) { .sus.lohnnachweis .sus-row { grid-template-columns: minmax(min(9rem, 32%), 1fr) minmax(0, 8rem) minmax(0, 11rem) minmax(0, 8rem); } }
.sus.lohnnachweis [role="rowheader"] small { display: inline-block; margin-top: .2rem; font-size: .84rem; overflow-wrap: anywhere; }
/* the yearly returns over ELSTER (work package B93): what a record lacks, and the lines of the Anlage EÜR the program
   does not fill, break the long words of the forms at a narrow window */
.el-fehlt, .euer-leer { overflow-wrap: anywhere; hyphens: auto; }
