/* truhe components. One fixed vocabulary for the Phase 1 mockups and the app.
   Load after ../tokens.css. Uses tokens.css custom properties only: no raw colour values here (tools/check-brand.js).
   Values per 10-UI-SPEC §8 (Phase 10): white cards on the warm canvas, ink for every interactive foreground, the
   one primary action only as a fill (near-black in light, white in dark; D-70). Every interactive element is at least var(--target-min) in both dimensions. Control
   borders use var(--control-border), never var(--line). Hover lives in one (hover:hover) and (pointer:fine) block.
   Motion runs only under prefers-reduced-motion: no-preference. Spec: DESIGN.md (components, states). */

/* ---------- layout ---------- */

.app{
  max-width:var(--column-max);margin:0 auto;
  padding:0 calc(var(--margin-phone) + env(safe-area-inset-right,0px))
          calc(var(--sp-8) + env(safe-area-inset-bottom,0px)) calc(var(--margin-phone) + env(safe-area-inset-left,0px));
}
@media (max-width:500px){
  .app{max-width:none;padding-left:calc(var(--margin-phone) + env(safe-area-inset-left,0px));padding-right:calc(var(--margin-phone) + env(safe-area-inset-right,0px))}
}

/* the truhe symbol (16-grid, design/logo/truhe-symbol.svg): 1.143em = the site's 24 px at 21 px */
.brand-symbol{display:block;flex:none;width:1.143em;height:1.143em;fill:currentColor;shape-rendering:crispEdges}

/* Button defaults precede every modifier, including native glass and its platform fallbacks. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--sp-2);
  min-width:var(--target-min);min-height:var(--target-min);padding:0 var(--sp-5);
  border:0;border-radius:var(--r-capsule);background:none;color:var(--label-1);
  font:inherit;font-size:var(--t-headline);font-weight:var(--weight-emphasis);letter-spacing:0;line-height:var(--lh-control);
  font-feature-settings:"tnum";text-decoration:none;text-align:center;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.btn__label{min-width:0;overflow-wrap:anywhere}
.btn--primary > .btn__label,.btn--secondary > .btn__label{hyphens:auto}
.btn > .icon{width:var(--icon-action);height:var(--icon-action);--icon-stroke:1.75px}
html.has-navbar #screen .topbar,html.has-navbar #screen > main > .pager,html.has-navbar #screen > main > .start > .pager,html.has-navbar #screen > main > .lesen > .pager{display:none}
/* ---------- the glass control (quick 261020-hdr, Roux 20 Oct 2026) ----------
   „Ensure the back button matches the styling. In our components directory.“ and „The close button in bottom sheets
   should also have this styling. All controls really that aren't buttons?“ One material, built by knopf.glas (app/js/ui.js):
   Back, the header capsule [ ? | ••• ], every sheet's Close and every other icon-only control (the calendar's month
   arrows, the install card's dismiss). The material follows the iOS reference (tokens.css, --glass-control-*): a milky
   translucent fill over the sheen, a fine hairline edge all round with a specular highlight along the top, a soft wide
   shadow below. A round control's diameter is the capsule's height (44 px, the target). The backdrop blur only where
   content scrolls beneath: the sticky header (.navbar) and a sheet's pinned head (.sheet__head, 261019-shd); in content
   the same look without it. */
.btn--glass,.glass-capsule{background-color:var(--glass-control-fill);background-image:var(--glass-control-sheen);color:var(--ink);
  box-shadow:inset 0 0 0 .5px var(--glass-control-edge),inset 0 1px 0 var(--glass-control-highlight),var(--glass-control-shadow)}
.btn--glass{min-height:44px;padding:0 var(--sp-4);font-size:var(--t-body);font-weight:var(--weight-body);text-decoration:none;margin:0}
:is(.navbar,.sheet__head) :is(.btn--glass,.glass-capsule){-webkit-backdrop-filter:blur(var(--glass-control-blur)) saturate(var(--glass-control-saturate));
  backdrop-filter:blur(var(--glass-control-blur)) saturate(var(--glass-control-saturate))}
.btn--glass-icon{flex:none;width:44px;height:44px;min-width:44px;padding:0;border-radius:50%}
/* Thin dark symbols, the navigation glyph role (22 px at normal text, scaling with it), 1.75 px strokes. */
.btn--glass > .icon{width:min(100%,var(--icon-navigation));height:min(100%,var(--icon-navigation));--icon-stroke:1.75px}
.btn--glass .icon svg{stroke-width:var(--icon-stroke)}
.btn--glass .icon svg *{vector-effect:none}
.btn--glass.is-prominent{background:var(--tint);color:var(--on-ink)}
.btn--glass:disabled,.btn--glass[aria-disabled="true"]{color:var(--label-4)}
/* The capsule: one glass surface, its segments carry no material of their own and no divider between them. */
.glass-capsule{display:inline-flex;align-items:center;flex:none;height:var(--target-min);border-radius:var(--r-capsule)}
.glass-capsule > .btn--glass{background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:var(--r-capsule)}
/* Forced colours: the system's button colours and a solid system edge; the capsule's segments share its one edge. */
@media (forced-colors:active){
  :is(.btn--glass,.glass-capsule):not(.glass-capsule > *){background:ButtonFace;color:ButtonText;border:1px solid ButtonText;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  .glass-capsule > .btn--glass{border:0;color:ButtonText}
}
@media (min-width:768px){
  .app{padding-inline:var(--page-side-desktop)}
}

.twopane{display:block}
.twopane__preview{display:none}
@media (min-width:768px){.twopane > .twopane__preview.has-original{display:block;min-width:0}}
/* Source evidence remains available below the task without shifting the shared heading origin. */
@media (min-width:768px){.twopane > .twopane__preview.has-original{margin-top:var(--gap-section)}}

/* ---------- actions (§8.1) ---------- */

/* primary: the one capsule per screen state, near-black with white text in light and white with near-black text in dark (D-70; a fill only, §3.2 rule 1) */
.btn--primary{width:100%;min-height:var(--button-h);padding:var(--button-padding-y) var(--button-padding-x);gap:var(--icon-label-gap);background:var(--accent);color:var(--on-accent);line-height:1.35}
.btn--primary > .icon{margin-inline-start:0}
@media (min-width:768px){ .btn--primary{width:auto;min-width:min(100%,var(--button-min-width))} }
.btn--primary:active{background:var(--accent-hover)}
/* Active secondary actions reuse the checkout confirmation's pale blue material.
   Their borderless fill and blue labels distinguish them from editable fields. */
.btn--secondary{min-height:var(--button-h);padding:var(--button-padding-y) var(--button-padding-x);gap:var(--icon-label-gap);background:var(--confirmation-fill);box-shadow:none;color:var(--link);line-height:1.35}
.btn--secondary:not(:disabled):not([aria-disabled="true"]):active{background-image:linear-gradient(var(--fill-2),var(--fill-2))}
/* Information/text actions keep their shared blue hierarchy and keyboard emphasis. */
.btn--plain{padding:0 var(--sp-2);margin-inline-start:calc(var(--sp-2) * -1);color:var(--tint);font-weight:var(--weight-body);
  text-align:start;text-decoration:none;text-underline-offset:.25em;text-decoration-thickness:.0625em}
.btn--plain:active{background:none;background-image:none}
@media (hover:hover) and (pointer:fine){.btn--plain:hover{background:none;background-image:none}}
:where(#navbar,.sheet__head,.row,.group,.aktionsleiste) .btn--plain{text-decoration:none}
.btn--plain.btn--destructive{background:none;color:var(--error)}
.btn:disabled,.btn[aria-disabled="true"]{cursor:default}
.btn[aria-busy="true"]{cursor:progress;opacity:.72}
.btn[aria-busy="true"] > .icon{display:none}
.btn--primary:disabled,.btn--primary[aria-disabled="true"]{background:var(--fill-1);color:var(--muted)}
.btn--secondary:disabled,.btn--secondary[aria-disabled="true"],
.btn--plain:disabled,.btn--plain[aria-disabled="true"]{color:var(--label-4)}
.btn--secondary:disabled,.btn--secondary[aria-disabled="true"]{background:var(--fill-1);background-image:none;box-shadow:none}
.btn--plain:disabled,.btn--plain[aria-disabled="true"]{text-decoration:none}

/* ---------- status and trust (§8.2) ---------- */

/* The live offline status uses a hollow ink ring; historical ready-dot styling belongs to mockups/_shell.css. */
.pill{display:inline-flex;align-items:center;gap:var(--sp-2);min-height:32px;padding:0 var(--sp-3);border-radius:var(--r-capsule);background:var(--inset);color:var(--label-2);font-size:var(--t-footnote);line-height:var(--lh-small);white-space:nowrap}
.pill::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;box-sizing:border-box}
.pill--offline::before{border:1.5px solid var(--tint);background:none}
/* step dots (D-23): a quiet page control under the topbar; role="img" + aria-label nav.step, never interactive
   (no hover, no focus, no cursor). 6 px is a fixed mark size like a stroke weight (10-UI-SPEC §4 exception).
   04-22 (UI audit K1/S3, as 10-UI-SPEC §8.2): the dots always sit under a .topbar row (empty but 44 px when a screen
   has no back) with a fixed margin, so they stand in one place on every step screen; the screen's next element
   starts at margin-top 0. The current dot is an 18 x 6 capsule in --tint, the others 6 x 6 circles in --label-4:
   the shape is the non-colour cue (WCAG 1.4.1). Only the width moves, under no-preference only. */
.pager{display:flex;justify-content:center;align-items:center;gap:var(--dots-gap);margin:var(--sp-2) 0 var(--sp-4)}
.pager__dot{flex:none;width:var(--dots-size);height:var(--dots-size);border-radius:var(--dots-size);background:var(--label-4)}
.pager__dot.is-current{width:var(--dots-current);background:var(--tint)}

/* cards: white, radius 24, no shadow on the canvas; the floating install card is a raised surface */
.card{padding:var(--card-padding);border-radius:var(--r-card);background:var(--card);color:var(--label-1)}
.card--install{display:grid;grid-template-columns:auto 1fr;gap:var(--sp-2) var(--sp-4);align-items:start;background:var(--surface);border:1px solid var(--float-border);box-shadow:var(--shadow-float)}
.card--install .card__icon{grid-row:span 2;width:56px;height:56px;border-radius:var(--r-inner);display:block}
.card__title{margin:0;font-size:var(--t-title-3);font-weight:var(--w-title-3);letter-spacing:var(--tracking-title-3);line-height:var(--lh-title)}
.card__text{margin:0;color:var(--label-2);font-size:var(--t-subhead);line-height:var(--line-body)}
.card__text .icon{vertical-align:-5px;color:var(--tint)}

/* badge (§8.2): a 2.5em ink circle with an --on-ink check; "done" (S7 received, S8 ready); never the primary's fill */
.badge{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2.5em;height:2.5em;border-radius:50%;background:var(--tint);color:var(--on-ink);font-size:var(--t-callout)}
.badge .icon{width:1.25em;height:1.25em}
.badge svg{stroke-width:2}

/* step number (§8.2): a 2em circle with a 2 px ink outline, ink numeral; never the primary's fill */
.step-num{flex:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:2em;height:2em;border:2px solid var(--tint);border-radius:50%;color:var(--tint);font-size:var(--t-callout);font-weight:var(--weight-strong);line-height:1;font-feature-settings:"tnum"}

/* ---------- input (§8.3) ---------- */

.dropzone{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--sp-3);
  min-height:220px;padding:var(--sp-8) var(--sp-6);
  border:2px dashed var(--control-border);border-radius:var(--r-card);background:var(--card);
  color:var(--label-1);font-size:var(--t-body);text-align:center;cursor:pointer;
}
.dropzone > .icon{width:32px;height:32px;color:var(--label-2)}
.dropzone__sub{margin:0;color:var(--label-2);font-size:var(--t-subhead)}
.dropzone.is-drag{border-style:solid;border-color:var(--tint);background:var(--inset)}
.dropzone.is-drag > .icon{color:var(--tint)}
.dropzone.is-error{border-style:solid;border-color:var(--error)}
.dropzone[aria-disabled="true"]{cursor:default;color:var(--label-4)}
/* The unit occupies its own reserved column inside the same quantity bar. Quick 261020-qty (Roux 20 Oct 2026, „is the
   kWh vertically centred?“, then „Not vertically centered. Maybe useful to make the blue box extend to the end of the
   input bar, within the border“): every item of the bar fills its full inner height (stretch), so the boxes are centred
   by construction, and the unit's text stands on the number's baseline, the iOS convention for a unit suffix. The
   number's text is centred in its input by the browser; the unit's line gets a strut of the number's own font size and
   line height (a zero-width ::before, --menge-schrift and --menge-zeile, computed on the bar), so its line box is the
   number's line box, centred the same way, and the 14 px text sits on that strut's baseline: no font metrics, at any
   text size. The plain unit („kWh“, no chevron) and the unit choice's label use the same strut. */
@property --menge-schrift{syntax:'<length>';inherits:true;initial-value:0px}
@property --menge-zeile{syntax:'<length>';inherits:true;initial-value:0px}
@property --menge-feld{syntax:'<length>';inherits:true;initial-value:0px}
[data-quantity-field][data-number-state="invalid"]{border-color:var(--error)}
[data-quantity-field][data-number-state="ambiguous"]{border-color:var(--warning)}

/* ---------- result ---------- */

/* the refund numeral: ink, 500, tight, tabular; the € at .6 em in .numeral__unit */
.numeral{font-family:var(--font-brand);margin:0;color:var(--label-1);font-size:var(--t-display);font-weight:var(--t-display-weight);letter-spacing:var(--t-display-tracking);line-height:1.1;font-feature-settings:"tnum"}
.numeral__unit{display:inline-block;font-family:var(--font-brand);font-size:var(--t-display-unit);letter-spacing:0}
/* Equivalent actions retain one note region, even when the current task has no note. */
:is(.aktionsleiste,.sheet__footer) > .action-note{min-height:var(--footer-note-min)}
:is(.aktionsleiste,.sheet__footer) > [data-action-note-empty]{width:100%;font-size:var(--t-footnote);pointer-events:none}
@media (max-width:767.98px){
  html.has-leiste:not(.leiste-frei) .app{padding-bottom:calc(var(--leiste-h,0px) + var(--sp-6))}
  /* focus and scrollIntoView never stop under the pinned bar (WCAG 2.4.11) */
  html.has-leiste:not(.leiste-frei){scroll-padding-bottom:calc(var(--leiste-h,0px) + var(--sp-4))}
}

.disclosure{--disclosure-inline-inset:0px;color:var(--label-2);font-size:var(--t-callout);line-height:var(--lh-body)}
.disclosure > summary{border:0;border-radius:0;display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);width:100%;min-height:var(--target-min);padding-inline:var(--disclosure-inline-inset);background:none;color:var(--label-1);font-size:var(--t-body);font-weight:var(--weight-body);text-decoration:none;cursor:pointer;list-style:none}
.disclosure > summary::-webkit-details-marker{display:none}
.disclosure > summary .icon{order:1;width:16px;height:16px;--icon-stroke:2.25px;color:var(--label-3);transform:rotate(-90deg)}
.disclosure[open] > summary .icon{transform:rotate(0)}

.progress{position:relative;height:var(--progress-h);border-radius:var(--r-capsule);background:var(--fill-1);overflow:hidden}
.progress__bar{position:absolute;top:0;left:0;bottom:0;width:var(--value,0%);border-radius:inherit;background:var(--tint)}
/* indeterminate: a still half bar under reduced motion (the words beside it carry the state) */
.progress.is-indeterminate .progress__bar{width:50%}

/* ---------- utilities ---------- */

/* visually hidden, still read by screen readers */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- icons ---------- */

.icon{display:inline-block;flex:none;width:24px;height:24px;line-height:0;vertical-align:middle}
.icon--sm{width:20px;height:20px}
.icon svg{display:block;width:100%;height:100%;stroke-width:var(--icon-stroke,1.75px)}
.icon svg *{vector-effect:non-scaling-stroke}

/* ---------- focus (§3.2 rule 4; Roux 19 October 2026) ---------- */

/* Roux, after a ring stayed on the Help control and on the privacy line when their sheets closed: „We don't want any
   focus rings except on input bars that are focused.“ and „Please nowhere should have this except input bars!“ No
   control, link, row or icon draws an outline or a ring, in any input mode, also when focus returns to it after a sheet
   or menu closes by tap, drag, swipe, a tap outside or Escape. Focus itself still moves and returns as before. */
:focus-visible:not(input:is([type="text"],[type="search"],[type="email"],[type="tel"],[type="url"],[type="number"],[type="password"],:not([type])),textarea),.is-focus{outline:none!important}
.btn--glass.is-prominent{--focus-fill:var(--focus-fill-strong)}
html[data-eingabe="zeiger"] .btn--glass-icon:focus-visible::after{content:none}

/* Forced colours are the owner's own system setting: there a keyboard focus on a control keeps a Highlight outline,
   because tints and colours are replaced; a tap still draws none, and a heading focused by script none either. Text
   fields ring in Highlight. */
@media (forced-colors:active){
  html:not([data-eingabe="zeiger"]) :is(button,select,summary,a[href],input,[role="button"],[role="radio"],[role="tab"],[role="switch"],[role="option"],[role="menuitem"],.dropzone):not(input:is([type="text"],[type="search"],[type="email"],[type="tel"],[type="url"],[type="number"],[type="password"],:not([type])),textarea):focus-visible,
  html:not([data-eingabe="zeiger"]) .is-focus{outline:2px solid Highlight!important;outline-offset:-2px!important}
}

/* ---------- hover (X1, §8.1): pointer devices only; no hover on disabled controls, no filter or opacity ---------- */

@media (hover:hover) and (pointer:fine){
  .btn--glass:not(:disabled):not([aria-disabled="true"]):hover{background-image:linear-gradient(var(--fill-3),var(--fill-3)),var(--glass-control-sheen)}
  .glass-capsule > .btn--glass:not(:disabled):not([aria-disabled="true"]):hover{background-image:linear-gradient(var(--fill-3),var(--fill-3))}
  .btn--primary:not(:disabled):not([aria-disabled="true"]):hover{background:var(--accent-hover)}
  .btn--secondary:not(:disabled):not([aria-disabled="true"]):hover{background-image:linear-gradient(var(--fill-3),var(--fill-3))}
  .btn--plain:not(.btn--destructive):not(:disabled):not([aria-disabled="true"]):not([aria-pressed="true"]):hover{color:var(--label-2)}
  .dropzone:not([aria-disabled="true"]):hover{border-color:var(--label-3)}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .btn--primary:not(:disabled):not([aria-disabled="true"]):hover{transform:translateY(-1px)}
}

/* ---------- motion (only when the owner has not asked for less) ---------- */

@media (prefers-reduced-motion:no-preference){
  .btn--glass:not(:disabled):not([aria-disabled="true"]):active{transform:scale(.92)}
  .btn{transition:transform var(--dur-micro) var(--ease-standard),opacity var(--dur-micro) var(--ease-standard),background-color var(--dur-short) var(--ease-standard),color var(--dur-short) var(--ease-standard)}
  .btn:active{transform:scale(.98)}
  .btn--plain:active{opacity:.6;transform:none}
  .disclosure > summary .icon{transition:transform var(--dur-reveal) var(--ease-reveal)}
  .progress__bar{transition:width var(--dur-status) var(--ease-status)}
  .pager__dot{transition:width var(--dur-status) var(--ease-status)}
  .progress.is-indeterminate .progress__bar{width:35%;animation:progress-slide var(--dur-indeterminate) var(--ease-standard) infinite}
}
/* The status motion (quick 261020-mot): a value, label, symbol or notice changes in place. app/js/status-motion.js only
   says „now“ by setting data-status-motion; the effect, its duration and its curve live here. „in“ fades content in
   (opacity only). The symbol moments of quick 261019-dp7 (Roux 19 Oct 2026: „These small animations can be so
   beautiful.“) play on the owner's own action only: a tick draws in from its start to its end (a left-to-right reveal
   of the check, which runs strictly left to right), a gift pops, a calendar bounces, a download arrow drops into its
   tray (every path but the last, the tray), the payment-check symbol turns until its check answers. Moving symbols
   take one and a half status durations. Nothing here runs under Reduce Motion. */
@media (prefers-reduced-motion:no-preference){
  [data-status-motion="in"]{animation:status-in var(--dur-status) var(--ease-status) both}
  .icon[data-status-motion="pop"] > svg{animation:status-pop var(--dur-status) var(--ease-status)}
  .icon[data-status-motion="bounce"] > svg{animation:status-bounce calc(var(--dur-status) * 1.5) var(--ease-status)}
  .icon[data-status-motion="drop"] > svg > :not(:last-child){animation:status-drop calc(var(--dur-status) * 1.5) var(--ease-status)}
  .icon[data-status-motion="turn"] > svg{animation:status-turn calc(var(--dur-status) * 1.5) var(--ease-status) infinite}
}
@keyframes status-in{from{opacity:0}}
@keyframes status-draw{from{clip-path:inset(0 88% 0 0);opacity:.3}to{clip-path:inset(0 12% 0 0);opacity:1}}
@keyframes status-pop{45%{transform:scale(1.15)}}
@keyframes status-bounce{40%{transform:translateY(-12%)}}
@keyframes status-drop{45%{transform:translateY(2.5px)}}
@keyframes status-turn{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){
  .btn--plain:active{opacity:.6}
}
@keyframes progress-slide{from{transform:translateX(-100%)}to{transform:translateX(290%)}}

/* Option rows (quick 261019-fst, Roux 19 Oct 2026: „The karte and überweisung should probably also be blue then?
   because the user needs to make a choice? we can use the same dark blue on selection?“): a group of role="radio" rows
   outside .choice, such as the payment method rows, takes the same choice states. The screen owns the row layout; here
   a row still to choose is light blue (--choice-open-fill), the chosen row solid dark blue with white label, detail,
   icon and check (--choice-active-*). Images keep their own colours, so brand marks stay on their white chips and the
   Apple Pay mark keeps its frame. A disabled row still to choose is neutral; a disabled chosen row stays chosen.
   Increased contrast and forced colours outline the group; forced colours mark the chosen row in Highlight. */
.option-list > [role="radio"]:not(:disabled){background-color:var(--choice-open-fill)}
.option-list > [role="radio"][aria-checked="true"]{background-color:var(--choice-active-fill);color:var(--choice-active-ink);--focus-fill:var(--choice-active-focus-fill)}
.option-list > [role="radio"][aria-checked="true"] *{color:inherit}
@media (hover:hover) and (pointer:fine){
  .option-list > [role="radio"]:not([aria-checked="true"]):not(:disabled):hover{background-image:linear-gradient(var(--fill-3),var(--fill-3))}
}
.option-list > [role="radio"]:not([aria-checked="true"]):not(:disabled):active{background-image:linear-gradient(var(--fill-2),var(--fill-2))}
@media (prefers-contrast:more){
  .option-list{outline:1px solid var(--control-border);outline-offset:-1px}
}
@media (forced-colors:active){
  .option-list{outline:1px solid CanvasText;outline-offset:-1px}
  .option-list > [role="radio"][aria-checked="true"]{background-color:Highlight;color:HighlightText}
}
@media (prefers-reduced-motion:no-preference){
  .option-list > [role="radio"]{transition:background-color var(--dur-short) var(--ease-standard),color var(--dur-short) var(--ease-standard)}
}

/* Final reviewed interface: one semantic blue for details; navigation and utility menus stay neutral. */
.btn--plain,a.btn--plain{color:var(--link)}
.btn--plain > .icon{width:var(--icon-inline);height:var(--icon-inline);align-self:center}
.btn--plain.btn--trailing{justify-self:end;margin-inline-start:auto;padding-inline:var(--sp-2);text-align:end}
/* Action-to-editor orientation uses the same card surface and content rhythm. */
.editor-context{display:grid;gap:var(--gap-related);min-width:0;margin:0 0 var(--gap-content);padding:var(--card-padding);border-radius:var(--card-radius);background:var(--card);overflow-wrap:anywhere}
.editor-context__identity{margin:0;min-width:0;font-size:var(--type-detail);font-weight:var(--weight-emphasis);line-height:var(--line-body)}
.editor-context__meta{margin:0;min-width:0;color:var(--label-2);font-size:var(--type-small);line-height:var(--line-body)}
/* Local originals are shared by review, repair, Start and filing records. */
:where(.original){min-width:0;max-width:100%}
:where(.original) .original__name{overflow-wrap:anywhere;font-weight:var(--weight-emphasis)}
:where(.original) .original__caption,
:where(.original) .original__status{font-size:var(--type-caption);color:var(--label-2)}
:where(.original) .original__controls{display:flex;flex-wrap:wrap;align-items:center;gap:var(--gap-related);margin-block:var(--sp-3)}
:where(.original) .original__content{min-width:0;max-width:100%;overflow:auto;overscroll-behavior:contain}
:where(.original) .original__canvas{display:block;width:calc(100% * var(--original-zoom,1));height:auto;max-width:none}
:where(.original) .original__xml{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:var(--type-caption);line-height:var(--line-body);margin:0}
:where(.original) .original__excerpt{font-size:var(--type-caption);line-height:var(--line-body);color:var(--label-2);overflow-wrap:anywhere}
/* The pre-script shell has no stable route layout yet; show the actual header
   only once its controls and root geometry have been installed. */
html:not(.has-navbar) #navbar{visibility:hidden}
.btn--plain.btn--destructive{color:var(--error)}
.btn--plain:disabled,.btn--plain[aria-disabled="true"]{color:var(--label-4)}
/* A pressed plain button (the chosen segment of the share pair) keeps its white text on the dark blue under a hovering
   pointer (261019-fst: the hover link colour on --choice-active-fill was 1:1 in light). */
@media (hover:hover) and (pointer:fine){.btn--plain:not(.btn--destructive):not(:disabled):not([aria-disabled="true"]):not([aria-pressed="true"]):hover{color:var(--link)}}
[hidden]{display:none!important}
.page-journey{display:none}
.pager__number,.pager__label{display:none}
.pager__dot.is-done{background:var(--ink)}
@media (min-width:768px){
  .page-journey{display:flow-root}
  [data-page-journey-mirrored],[data-page-journey-source]{display:none!important}
  .pager{justify-content:space-between;gap:var(--sp-4);font-size:var(--t-footnote)}
  .pager__dot,.pager__dot.is-current,.pager__dot.is-done{display:flex;align-items:center;gap:var(--sp-2);width:auto;height:auto;min-width:0;border-radius:0;background:none;color:var(--label-2)}
  /* Release-2 gate 18 October 2026: an upcoming number is --label-2, which never sits on --fill-1 over the canvas
     (4.32:1); the disc is --card (6.12:1 light, 7.91:1 dark; the done check 5.34:1), as soft against the canvas. */
  .pager__number{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:var(--card);font-size:12px;line-height:1}
  /* Roux 19 October 2026: the digit itself sits in the centre. Its box is trimmed to cap height and baseline, so the
     circle centres the visible digit on every platform font; proportional figures keep a 1 from leaning left. */
  .pager__digit{display:block;text-box:trim-both cap alphabetic;font-variant-numeric:proportional-nums lining-nums}
  .pager__number > .icon{width:14px;height:14px}
  .pager__label{display:block;min-width:0;overflow-wrap:anywhere}
  .pager__dot.is-current{color:var(--ink);font-weight:var(--weight-emphasis)}
  .pager__dot.is-current .pager__number{background:var(--ink);color:var(--on-ink)}
  .pager__dot.is-done .pager__number{background:var(--card);color:var(--journey-complete)}
  html.text-enlarged .page-journey > .pager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap-group)}
}
.start-menu .row > .icon:first-child{grid-column:1;grid-row:1;align-self:center;width:calc(20 / 15 * 1em);height:calc(20 / 15 * 1em)}
.scanner-guidance{font-size:var(--t-body);line-height:var(--lh-body)}
.scanner-subtitle{margin:0 0 var(--sp-6);color:var(--label-2)}
.scanner-app{display:flex;align-items:center;gap:var(--sp-3);margin-bottom:var(--sp-6)}
.scanner-app img{width:48px;height:48px;flex:none;border-radius:var(--r-control)}
.scanner-app h3{margin:0;font-size:var(--t-body);font-weight:var(--weight-emphasis)}
.scanner-app p{margin:var(--sp-1) 0 0;color:var(--label-2);font-size:var(--t-footnote)}
.scan-steps{margin:var(--sp-6) 0 0;padding-inline-start:var(--sp-6);font-size:var(--t-subhead);line-height:var(--line-sheet)}
.scan-steps li{padding:var(--sp-2) 0}
.scan-steps strong{font-weight:var(--weight-strong)}
.scan-location,.scan-fallback p{margin:var(--sp-4) 0;color:var(--label-2);font-size:var(--t-footnote);line-height:var(--line-sheet)}
.scanner-link{justify-content:flex-start;text-align:start;min-height:var(--target-min)}
.scan-fallback{margin-top:var(--sp-4)}
.privacy-action{align-self:center;gap:var(--sp-2);min-height:var(--target-min);padding:0;margin:0;font-size:var(--t-footnote);line-height:var(--line-control);text-align:start;text-decoration:none}
.finding-content p{margin:var(--sp-4) 0;line-height:var(--lh-body)}

/* Circular glass keeps its designed surface and shadow; keyboard focus is a quiet underline. */
.btn--glass-icon{position:relative;outline:none;-webkit-tap-highlight-color:transparent}
.btn--glass-icon:focus,.btn--glass-icon:focus-visible{outline:none}
.btn--glass-icon:focus-visible::after{content:"";position:absolute;left:50%;bottom:5px;width:18px;height:2px;transform:translateX(-50%);border-radius:1px;background:var(--link);pointer-events:none}
@media (max-width:767.98px){
  button,a,summary,label{-webkit-tap-highlight-color:transparent}
}

/* The canonical criterion wrapper predates custom selectors; keep only the trigger chevrons. */
.row__select-wrap:has(.select-control) > .icon{display:none}
@media (prefers-reduced-motion:no-preference){
  .btn--glass-icon:not(:disabled):not([aria-disabled="true"]):active{transform:scale(.92)}
  /* Quick 261019-djy: the plus/minus changes with the height, on the same duration and curve. */
  .disclosure[data-disclosure-motion] > summary > .disclosure__symbol > .icon{transition:opacity var(--dur-reveal) var(--ease-reveal)}
  /* Quick 261020-mot: the two screen transitions live with the component rules. The folded Review card chevron turns
     with its reveal; the preparation meter is a value changing in place. */
}

/* Contextual help: the group owns sibling rhythm and members own44px targets. */
.help-links{display:grid;gap:0;margin-block:var(--gap-section) var(--gap-group)}
/* Roux 20 Oct 2026 („Not aligned?“): the help links use the shared first-line-glyph row; no own flex or icon offset. */
.help-links > .help-link{width:fit-content;max-width:100%;min-height:var(--target-min);margin:0;padding:var(--gap-related) 0;gap:var(--icon-label-gap);font-size:var(--type-detail);font-weight:var(--weight-body);line-height:var(--line-control);text-align:start}
.help-links > .help-link > .icon{width:var(--icon-help);height:var(--icon-help)}
.help-links + .accepted-formats{margin-top:0}
@media(min-width:768px){.help-links{margin-block-start:var(--gap-content)}}
/* Trust source anchors retain caption text and inline separators with native 44 px targets. */

/* The enlarged screen surface inherits the same German word breaks in the app and its library drawings. */
html.text-enlarged [data-bildschirm]{hyphens:auto;-webkit-hyphens:auto}
/* design/kit/10-frage.css */
/* The question family: the navigation bar and the action bar (16-11, D-01). The rules below moved here unchanged from the shared stylesheet; one family file, edited only by
   its own package. Tokens only, no raw colour (tools/check-brand.js), no route selector (check-app C21). */

/* D-50 / D-51: native navigation bar; the screen remains the authority for its mirrored controls. */
.navbar{position:sticky;top:0;z-index:10;height:calc(var(--page-header-h) + env(safe-area-inset-top,0px));padding-top:calc((var(--page-header-h) - var(--target-min)) / 2 + env(safe-area-inset-top,0px));padding-bottom:calc((var(--page-header-h) - var(--target-min)) / 2);background:transparent}
/* Quick 261020-hdr: both side columns reserve the widest header control, the capsule [ ? | ••• ] (--glass-capsule-w), so
   the title keeps its centre while the capsule morphs; a tight phone lets the sides give way before the row overflows. */
.navbar__row{--navbar-seite:var(--glass-capsule-w);position:relative;display:grid;grid-template-columns:minmax(0,var(--navbar-seite)) minmax(0,1fr) minmax(0,var(--navbar-seite));
  align-items:center;column-gap:var(--sp-4);height:var(--target-min);min-height:var(--target-min);margin:0 auto;max-width:var(--column-max);
  padding-left:calc(var(--margin-phone) + env(safe-area-inset-left,0px));
  padding-right:calc(var(--margin-phone) + env(safe-area-inset-right,0px))}
html:not(.navbar-root) .navbar__row{min-height:var(--target-min)}
.navbar__leading,.navbar__trailing{display:flex;align-items:center;gap:var(--sp-2);min-width:0}
.navbar__trailing{justify-content:flex-end}
/* Final review 18 October 2026: a side holding two visible controls (Share beside Help on the documents) widens both
   side columns alike, so the mirrored title stays centred and is never covered by the second control. The status pill
   is announced only (.sr-only) and the root header keeps its own measured geometry, so neither counts. */
html:not(.navbar-root) .navbar__row:has(> :is(.navbar__leading,.navbar__trailing) > :not([hidden]):not(.sr-only) ~ :not([hidden]):not(.sr-only)){
  --navbar-seite:calc(var(--target-min) + var(--sp-2) + var(--glass-capsule-w))}
.navbar__center{position:relative;display:grid;place-items:center;min-width:0;min-height:22px}
.navbar__center > .pager{grid-area:1 / 1;margin:0}
/* Quick 261020-hdr: where a narrow phone header holds Back, Share and the capsule, the centre may have no room for the step
   dots (60 px: three 6 px dots, the 18 px current one, three 8 px gaps; they may use the centre's two 12 px column gaps, so
   a centre below 36 px is too small). They give way there instead of sliding under the controls, and stay announced. */
.navbar__center{container:navbar-mitte / inline-size}
/* A size container's children are styled once more when the stylesheets arrive, so their opacity transitions would play
   at boot (the root title faded out over its first 300 ms). Until the app is ready they take their state at once. */
html:not([data-ready]) .navbar__center > *{transition:none}
@container navbar-mitte (width < 36px){.navbar__center > .pager{opacity:0}}
.navbar__title{grid-area:1 / 1;min-width:0;width:100%;max-width:100%;opacity:0;color:var(--ink);font-size:var(--t-headline);font-weight:var(--weight-emphasis);
  line-height:var(--line-heading);letter-spacing:-.0075em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;pointer-events:none}
.navbar__brand{display:flex;align-items:center;font-family:var(--font-brand);font-size:calc(22 / 16 * var(--u));
  font-weight:var(--w-brand);line-height:1;color:var(--ink)}
/* The website's one outlined lockup; its 24:22 symbol/type proportion and 7px gap are in the paths. */
.navbar__brand > .brand-lockup{display:block;flex:none;width:auto;height:24px;shape-rendering:auto}
.navbar-marke{height:0;pointer-events:none}
.navbar::before{content:"";position:absolute;inset:0 0 -16px;z-index:-1;opacity:0;pointer-events:none;
  background:linear-gradient(to bottom,var(--bar-material) calc(100% - 16px),transparent);
  -webkit-backdrop-filter:blur(var(--edge-blur)) saturate(1.8);backdrop-filter:blur(var(--edge-blur)) saturate(1.8);
  -webkit-mask-image:linear-gradient(to bottom,var(--mask-ink) calc(100% - 16px),transparent);
  mask-image:linear-gradient(to bottom,var(--mask-ink) calc(100% - 16px),transparent)}
html.is-gescrollt .navbar::before{opacity:1}
html.navbar-eingeklappt:not(.navbar-frei) .navbar__title{opacity:1}
html.navbar-eingeklappt .navbar__center > .pager{opacity:0}
html.navbar-root .navbar__center{visibility:visible}
/* Root entry has room above its controls; other route headers retain their measured geometry.
   The same material keeps a quieter shadow on the empty canvas, including its existing fallbacks. */
html.navbar-frei .navbar{position:static}
html.navbar-frei .navbar__title{opacity:0}
html.has-navbar:not(.navbar-root) .navbar .pill{position:absolute;width:1px;height:1px;min-height:0;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;-webkit-backdrop-filter:none;backdrop-filter:none}
.navbar .pill{background:var(--glass-fill);-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(1.8);
  backdrop-filter:blur(var(--glass-blur)) saturate(1.8);box-shadow:inset 0 0 0 .5px var(--glass-edge),var(--glass-shadow)}
html:not([data-back-label]) .navbar__back-label{display:none}
html[data-back-label] .navbar__leading .btn--glass-icon{width:auto;padding:0 var(--sp-4);border-radius:var(--r-capsule)}
/* Once scrolled, the edge owns the only blur; the header's glass drops its own (the milky fill stays over the bar). */
html.is-gescrollt :is(.btn--glass,.glass-capsule,.navbar .pill){-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-plattform="android"] .navbar__title{text-align:center}
html[data-plattform="android"] :is(.btn--glass,.glass-capsule,.navbar .pill):not(.glass-capsule > *){background:var(--card);-webkit-backdrop-filter:none;backdrop-filter:none}
@media (min-width:768px){
  /* Roux 19 Oct 2026 audit (261019-aud C2-01): the header controls sit on the content column's edges (the .app column
     and its desktop inset), not on a wider shell; the brand keeps the same centre as the content. */
  .navbar__row{max-width:var(--column-max);padding-left:calc(var(--page-side-desktop) + env(safe-area-inset-left,0px));padding-right:calc(var(--page-side-desktop) + env(safe-area-inset-right,0px))}
  .navbar__brand{font-size:calc(22 / 16 * var(--u))}
}
@media (prefers-contrast:more){
  html.is-gescrollt .navbar{background:var(--paper);border-bottom:var(--hairline) solid var(--line)}
  .navbar::before{display:none}
  :is(.btn--glass,.glass-capsule,.navbar .pill):not(.glass-capsule > *){background:var(--card);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:inset 0 0 0 1px var(--control-border)}
}
@media (prefers-reduced-transparency:reduce){
  html.is-gescrollt .navbar{background:var(--paper);border-bottom:var(--hairline) solid var(--line)}
  .navbar::before{display:none}
  :is(.btn--glass,.glass-capsule,.navbar .pill):not(.glass-capsule > *){background:var(--card);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:inset 0 0 0 1px var(--control-border)}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html.is-gescrollt .navbar{background:var(--paper);border-bottom:var(--hairline) solid var(--line)}
  .navbar::before{display:none}
  :is(.btn--glass,.glass-capsule,.navbar .pill):not(.glass-capsule > *){background:var(--card);box-shadow:inset 0 0 0 1px var(--control-border)}
}
/* ---------- action bar (D-41/D-42, copy diet 2026-10-12): one component for the screens' bottom bar and, through the
   shared rules, the sheets' sticky .sheet__footer (surface fade, full-width buttons, safe-area padding). Below 768 px the
   screen's bar is pinned to the viewport bottom on the canvas; app/js/leiste.js sets html.has-leiste, --leiste-h (the
   bottom padding .app keeps), .leiste-frei (the bar flows at the end: a text field has focus, or the pinned bar would
   pass a third of the viewport) and .leiste-schwebt (content scrolls beneath: the hairline shows). From 768 px the bar
   is static under the content, centred like every primary (no full-width bar on desktop).
   The screen is the app's one #screen or any element marked data-bildschirm (16-58): a page that draws many screens (the library
   page, the prototype board) marks each screen's root with the attribute instead of repeating the id. Every screen rule of this
   file selects :is(#screen,[data-bildschirm]), which keeps the id's specificity, so no app frame moves. ---------- */
.aktionsleiste{display:flex;flex-direction:column;align-items:stretch;gap:var(--footer-note-gap);margin:var(--sp-6) 0 0}
.app .aktionsleiste{margin-top:var(--sp-6)}
.aktionsleiste[hidden]{display:none}
.aktionsleiste > .btn--primary,.aktionsleiste > .btn--secondary{width:100%}
/* The reserved region remains stable; visible copy starts at the approved button gap. */
.aktionsleiste > .action-note{align-content:start;align-items:flex-start;padding-block:0}
.aktionsleiste:not([data-action-flow]) > .action-note{margin-top:0}
.aktionsleiste > .action-note > .btn--plain{align-items:flex-start;align-content:start}
.aktionsleiste > .action-note :is(.icon,svg){align-self:flex-start}
@media (min-width:768px){
  .aktionsleiste{align-items:flex-start}
  .aktionsleiste > .action-note{text-align:start}
  .aktionsleiste > .btn--primary,.aktionsleiste > .btn--secondary{width:auto;min-width:min(100%,var(--button-min-width))}
  :is(#screen,[data-bildschirm]) .aktionsleiste:not([data-action-flow]) > .action-note{margin-top:0}
}
@media (max-width:767.98px){
  .aktionsleiste > [data-action-note-empty]{font-size:var(--t-caption)}
  .aktionsleiste > .action-note.btn--plain,.aktionsleiste > .action-note .btn--plain{text-align:center}
  html.has-leiste:not(.leiste-frei) :is(#screen,[data-bildschirm]) .aktionsleiste{position:fixed;z-index:6;left:0;right:0;bottom:0;width:auto;max-width:none;margin:0;
    padding:var(--action-pad-top) calc((100% - min(100%, var(--column-max))) / 2 + var(--sp-6) + env(safe-area-inset-right,0px)) max(var(--action-bottom-min),calc(var(--action-safe-gap) + env(safe-area-inset-bottom,0px))) calc((100% - min(100%, var(--column-max))) / 2 + var(--sp-6) + env(safe-area-inset-left,0px));
    border-top:1px solid transparent;background:var(--paper)}
  html.has-leiste.leiste-schwebt:not(.leiste-frei) :is(#screen,[data-bildschirm]) .aktionsleiste:not(.aktionsleiste--gefuehrt):not([data-action-flow]){background:var(--paper)}
  html.has-leiste.leiste-schwebt:not(.leiste-frei) :is(#screen,[data-bildschirm]) .aktionsleiste:not(.aktionsleiste--gefuehrt):not([data-action-flow])::before{content:"";position:absolute;left:0;right:0;top:calc(var(--sp-8) * -1);height:var(--sp-8);z-index:-1;
    background:linear-gradient(to bottom,transparent,var(--paper));pointer-events:none}
  @media (prefers-contrast:more){
    html.has-leiste.leiste-schwebt:not(.leiste-frei) :is(#screen,[data-bildschirm]) .aktionsleiste:not(.aktionsleiste--gefuehrt){border-top:var(--hairline) solid var(--line);background:var(--paper)}
    html.has-leiste.leiste-schwebt:not(.leiste-frei) :is(#screen,[data-bildschirm]) .aktionsleiste:not(.aktionsleiste--gefuehrt)::before{display:none}
  }
}
@media (max-width:500px){
  html.has-leiste:not(.leiste-frei) :is(#screen,[data-bildschirm]) .aktionsleiste{padding-left:calc(var(--margin-phone) + env(safe-area-inset-left,0px));padding-right:calc(var(--margin-phone) + env(safe-area-inset-right,0px))}
}
@media (prefers-reduced-motion:no-preference){
  .navbar::before,.navbar__title,.navbar__center > .pager{transition:opacity var(--dur-status) var(--ease-status)}
}
/* Root navigation has no inline title. Let the unchanged brand and status wrap onto their own lines
   when enlarged text no longer fits; non-root navigation keeps its balanced title grid. */
html.navbar-root .navbar__row{display:grid}
html.navbar-root .navbar__center{display:grid}
html.navbar-root .navbar__trailing{max-width:100%}
/* the main action note is a top-aligned text flow (generic-main-action-note): its plain action keeps the row at the top */
.aktionsleiste > .action-note.btn.btn--plain,.aktionsleiste > .action-note > .btn.btn--plain{align-content:start}
html.navbar-root .navbar{--glass-shadow:var(--shadow-bar)}
html.navbar-root .navbar__title{display:block}
html.navbar-root:not(.navbar-eingeklappt) .navbar__title{position:absolute;inset:0}
html.navbar-root .navbar__brand{opacity:1}
html.navbar-root.navbar-eingeklappt:not(.navbar-frei) .navbar__brand{opacity:0;pointer-events:none}
/* Roux 19 Oct 2026 audit (261019-aud C2-03): one desktop header on every screen: the brand stays in the centre (Back on the
   left where there is somewhere to go back to) and gives way to the compact title, as on the root screen. The phone
   keeps the brand on its root screens only; there the centre also carries the step dots. */
html:not(.navbar-root).navbar-eingeklappt:not(.navbar-frei) .navbar__brand{opacity:0;pointer-events:none}
@media (max-width:767.98px){html.has-navbar:not(.navbar-root) .navbar__brand{display:none}}
/* Offline state remains announced; its complete visible guidance belongs below the main H1. */
.navbar > .pill{position:absolute;width:1px;height:1px;min-height:0;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.navbar > .pill[hidden]{display:none}
.navbar__brand{grid-area:1 / 1}
/* Roux 19 Oct 2026 audit (261019-aud C2-02): the desktop journey has the content column's width and inset, so its first
   step starts on the title's left edge and its last ends on the content's right edge. */
.navbar__journey{max-width:var(--column-max);margin:var(--gap-card) auto var(--gap-group);padding:0 var(--page-side-desktop)}
.aktionsleiste > .pager{margin:0 0 var(--sp-4)}
@media (min-width:768px){
  .btn--primary,.btn--secondary,.aktionsleiste > .btn--primary,.aktionsleiste > .btn--secondary{width:max-content;max-width:100%;min-width:min(100%,var(--button-min-width))}
}
@media (max-width:767.98px){
  .navbar__row{column-gap:var(--sp-3)}
}
@media (prefers-reduced-motion:no-preference){
  .navbar__title,.navbar__brand{transition:opacity var(--dur-status) var(--ease-status)}
}
/* A phone journey/action stack owns both relationships without adding two gaps. */
.aktionsleiste:has(> .intake-progress){gap:0}
.aktionsleiste > .intake-progress{margin:0 0 var(--dots-action-gap)}
.aktionsleiste:has(> .intake-progress) > .action-note{margin-top:var(--footer-note-gap)}

/* ---------- the question block and the chapter line (16-15, D-01, D-04; frozen s10, s12, s16 and every question screen) ----------
   One question per screen: the caption naming the chapter, the question as the title, at most one helping sentence, the help link.
   Spacing is the relationship scale (--sp-line, --sp-item) except the two drawn exceptions: the lead stands 10 pt under the title
   and the help link 12 pt under the lead (UI-SPEC spacing exceptions). Only Regular (400) and Medium (500). */
.frage{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.frage__augenbraue{margin:0 0 var(--sp-line);font-size:var(--t-subhead);font-weight:var(--weight-emphasis);letter-spacing:0;line-height:var(--lh-body);color:var(--label-2)}
.frage__augenbraue.is-pruefen{color:var(--warning)}
/* the caption's done form (16-58 row 31, frozen s31c, s31g): the label colour, Apple's green tick before the words; the thanks line in Callout Medium */
.frage__augenbraue--fertig{display:flex;align-items:center;gap:var(--sp-label);color:var(--label-1)}
.frage__haken{flex:none;width:var(--icon-detail);height:var(--icon-detail);color:var(--status-green);--icon-stroke:var(--icon-stroke-fett)}
.dank{margin:0;font-size:var(--t-callout);font-weight:var(--weight-emphasis);line-height:var(--line-control);color:var(--label-1)}
/* The question to its first content is the question step (28 pt, 20 on a short screen), whatever the content is. */
.frage + *{margin-top:var(--sp-question)}
.frage__titel{margin:0;font-size:var(--type-frage-titel);font-weight:var(--weight-emphasis);line-height:var(--line-title);letter-spacing:var(--tracking-title);
  text-wrap:balance;overflow-wrap:break-word;-webkit-hyphenate-limit-chars:var(--silben-titel-wort) var(--silben-titel-vor) var(--silben-titel-nach);hyphenate-limit-chars:var(--silben-titel-wort) var(--silben-titel-vor) var(--silben-titel-nach)}
.frage__lead{margin:var(--sp-2-5) 0 0;font-size:var(--t-callout);font-weight:var(--weight-body);line-height:var(--line-control);color:var(--label-2);text-wrap:pretty}
/* The help link is a real button (knopf.plain) drawn as the one line of link blue the prototype draws: no 44 pt box, the symbol
   at 20 pt, 6 pt to the words; its tap target keeps the 44 pt through an invisible reach above and below the line. */
.btn.btn--plain.frage__hilfe{position:relative;display:inline-flex;justify-content:flex-start;align-items:center;align-content:normal;gap:var(--sp-label);min-width:0;min-height:0;
  margin:var(--sp-item) 0 0;padding:0;font-size:var(--t-callout);font-weight:var(--weight-body);line-height:var(--line-body);text-align:start}
.btn.btn--plain.frage__hilfe::after{content:"";position:absolute;left:0;right:0;top:calc(var(--sp-3) * -1);bottom:calc(var(--sp-3) * -1)}
.btn.btn--plain.frage__hilfe > .icon{flex:none;align-self:center;width:var(--icon-action);height:var(--icon-action);margin:0;translate:none}
@container (max-width:18em){.btn.btn--plain.frage__hilfe > .icon{align-self:start;line-height:inherit;margin-top:calc(.5lh - var(--icon-action) / 2)}}
.btn.btn--plain.frage__hilfe > .btn__label{align-self:center;margin-block:0;text-box:none;font-feature-settings:normal;text-rendering:optimizeLegibility}
/* Under a form sheet's fields (hilfeLink, 16-58 row 22) the help link is an item of the sheet's column: it keeps its own width, as in the question block. */
dialog.sheet > .btn.btn--plain.frage__hilfe{align-self:flex-start}
/* Large text: below 18 times the text size of the column the words hyphenate and wrap at their own limits (UI-SPEC long-text row). */
@container (max-width:18em){
  .frage__titel,.frage__lead,.btn.btn--plain.frage__hilfe{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;
    hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach);-webkit-hyphenate-limit-before:var(--silben-vor);-webkit-hyphenate-limit-after:var(--silben-nach)}
}
/* The chapter line: four fixed segments, the current one fills. Branching changes only the fill, never the segments. On the phones it
   is 4 × 30 pt and 3 × 4 pt, centred in the header; on the computer it spans the column under the brand. */
.kapitel{display:grid;grid-template-columns:repeat(4,var(--kapitel-segment-w));gap:var(--sp-1);width:max-content;margin-inline:auto}
.kapitel__segment{position:relative;display:block;height:var(--sp-1);border-radius:var(--r-kapitel);background:var(--fill-2);overflow:hidden}
.kapitel__segment.is-fertig{background:var(--tint)}
.kapitel__fuellung{position:absolute;inset:0 auto 0 0;width:var(--kapitel-fuellung,0%);border-radius:var(--r-kapitel);background:var(--tint)}
@media (min-width:768px){.kapitel{grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-2);width:100%}}
@media (prefers-reduced-motion:no-preference){.kapitel__fuellung{transition:width var(--dur-status) var(--ease-status)}}
/* Forced colours replace the fills: each segment keeps a system edge, and the ones that are full or filling take Highlight. */
@media (forced-colors:active){
  .kapitel__segment{background-color:Canvas;outline:var(--hairline) solid CanvasText;outline-offset:calc(var(--hairline) * -1)}
  .kapitel__segment.is-fertig,.kapitel__fuellung{background-color:Highlight}
}

/* ---------- the guided header (16-23, D-01, D-04; frozen s10 and every guided screen) ----------
   On a guided screen (navbar.js sets html.navbar-gefuehrt from ui.js topbar's data-gefuehrt) the header is the band the drawing draws:
   56 pt under the status bar on the phones with Back and the capsule centred in it (6 pt above and below), 64 pt on the computer with the
   controls 20 pt from the top on the content column's 560 pt; the row is that band (the part „kopf“). The band's height is the shared
   header's own token (--page-header-h), so the shared .navbar rule stays the one owner of the header's geometry (test/app/styles.test.js):
   it keeps the safe area and centres a 44 pt row; the guided row takes the whole band instead, reaching into the header's padding above and
   below by exactly that padding (margin-block), with the controls centred in it, on the computer 20 pt from its top. The chapter line stands in the
   band's centre on the phones and 22 pt under the band on the computer; the question begins 28 pt under the band on the phones (12 pt on a
   short screen, as the drawing's body: 680 pt is the short screen plus 20 pt) and 44 pt under the chapter line on the computer.
   The forms on the header element (16-58; frozen s10, s21, s00, s06i): navbar.js also writes the header's form on the header itself, data-kopf
   with `gefuehrt` beside html.navbar-gefuehrt and `wurzel` beside html.navbar-root, so a page that draws many headers (the library page, the
   prototype board) chooses each header's form on that header: every rule that draws the band selects :is(html.<form>, [data-kopf~="<form>"])
   (or the header itself, or the chapter line's place after it), and the element's branch weighs no more than the root's, so the app's header
   keeps the specificity it has. The four drawn forms: Back, „•••“ and the chapter line (s10); Back and the capsule (s21); the root form, no
   Back and the brand in the centre on the phones (s00); no Back and no brand on the phones (s06i). The states of scrolling and the screen's
   column stay on the root (navbar.js measures them for the one live screen). */
:is(html.navbar-gefuehrt,[data-kopf~="gefuehrt"]){--page-header-h:calc(var(--target-min) + var(--sp-item))}
:is(html.navbar-gefuehrt,[data-kopf~="gefuehrt"]) .navbar__row{height:var(--page-header-h);margin-block:calc((var(--target-min) - var(--page-header-h)) / 2);
  padding-block:calc((var(--page-header-h) - var(--target-min)) / 2);column-gap:0}
:is(html.navbar-gefuehrt,[data-kopf~="gefuehrt"]) .navbar__center > .kapitel{grid-area:1 / 1;margin:0}
/* At rest the drawing's header has no blur at all: nothing lies under it. The controls are glass without a blur of their own (once the page
   scrolls, the edge owns the only blur, the rule above for html.is-gescrollt), and the edge itself is out of the page until it scrolls. A blur
   that shows nothing would only change how the browser draws the page under it (the frozen frames are drawn without one). */
:is(html.navbar-gefuehrt .navbar,.navbar[data-kopf~="gefuehrt"]) :is(.btn--glass,.glass-capsule){-webkit-backdrop-filter:none;backdrop-filter:none}
:is(html.navbar-gefuehrt:not(.is-gescrollt) .navbar,html:not(.is-gescrollt) .navbar[data-kopf~="gefuehrt"])::before{visibility:hidden}
/* Android draws the same glass controls as the iPhone in the guided header: without a blur, the fill costs nothing (16-17 decision 19). */
:is(html.navbar-gefuehrt[data-plattform="android"] .navbar,html[data-plattform="android"] .navbar[data-kopf~="gefuehrt"]) :is(.btn--glass,.glass-capsule):not(.glass-capsule > *){background-color:var(--glass-control-fill);background-image:var(--glass-control-sheen)}
/* the phone shows the brand in the root form only (the root's own rule above, html.has-navbar:not(.navbar-root)) */
@media (max-width:767.98px){[data-kopf]:not([data-kopf~="wurzel"]) .navbar__brand{display:none}}
html.navbar-gefuehrt.navbar-eingeklappt .navbar__center > .kapitel{opacity:0}
/* Guided headers retain the library header while a long form scrolls; the legacy compact-title mirror has no place in it. */
html.navbar-gefuehrt .navbar__title{display:none}
/* The drawn header keeps its empty band above the scrolling column; its last 16 pt fade belongs below that band. */
html.navbar-gefuehrt .navbar::before{bottom:calc(-1 * (var(--sp-2) + var(--sp-0-5) + var(--sp-4)))}
html.has-navbar.navbar-gefuehrt :is(#screen,[data-bildschirm]) > main{padding-top:clamp(var(--sp-item),calc(100svh - var(--short-screen) - var(--sp-5)),var(--sp-7))}
html.has-navbar.navbar-gefuehrt :is(#screen,[data-bildschirm]) > main{display:grid;grid-template-columns:minmax(0,1fr)}
@media (min-width:768px){
  html.navbar-gefuehrt .navbar::before{bottom:calc(-1 * (var(--sp-5) + var(--sp-0-5) + var(--sp-1) + var(--sp-4)))}
  :is(html.navbar-gefuehrt,[data-kopf~="gefuehrt"]){--page-header-h:calc(var(--target-min) + var(--sp-5))}
  :is(html.navbar-gefuehrt,[data-kopf~="gefuehrt"]) .navbar__row{max-width:calc(var(--column-max) - 2 * var(--page-side-desktop));padding:var(--sp-5) 0 0}
  :is(html.navbar-gefuehrt,[data-kopf~="gefuehrt"] + *) .kapitel.navbar__journey{max-width:calc(var(--column-max) - 2 * var(--page-side-desktop));margin-top:calc(var(--sp-5) + var(--sp-0-5));padding:0}
  /* the column stays centred in the window whether a classic scroll bar takes its gutter or not (the drawing is a window without one) */
  html.navbar-gefuehrt{scrollbar-gutter:stable both-edges}
  html.has-navbar.navbar-gefuehrt :is(#screen,[data-bildschirm]) > main{padding-top:var(--sp-7)}
  /* A root header has no chapter line, but keeps the drawn line band (22 + 4 pt) and the 44 pt content step.
     This is the common root form of s00, s00b, s00c and s00d, not a screen-owned spacer. */
  html.has-navbar.navbar-gefuehrt.navbar-root :is(#screen,[data-bildschirm]) > main,
  html.has-navbar.navbar-gefuehrt .page-journey[hidden] ~ :is(#screen,[data-bildschirm]) > main,
  html.has-navbar.navbar-gefuehrt .page-journey[hidden] ~ .app :is(#screen,[data-bildschirm]) > main{padding-top:calc(var(--sp-5) + var(--sp-0-5) + var(--sp-1) + var(--target-min))}
}
@media (prefers-reduced-motion:no-preference){
  html.navbar-gefuehrt .navbar__center > .kapitel{transition:opacity var(--dur-status) var(--ease-status)}
  /* the edge leaves the page only once it has faded out */
  html.navbar-gefuehrt .navbar::before{transition:opacity var(--dur-status) var(--ease-status),visibility 0s linear var(--dur-status)}
  html.navbar-gefuehrt.is-gescrollt .navbar::before{transition-delay:0s,0s}
}

/* ---------- the guided action bar (16-15, D-01, D-35, D-40; frozen s13, s13b, s13c, s23, s24, s25) ----------
   One bar, three forms by html[data-plattform] and the screen: the iPhone pins it with the home area under the button (the safe area, 34 pt on
   a Face ID iPhone, at least 16), Android pins it solid with 16 pt under the button, the computer leaves it static under the content,
   the button at its own width (240 pt at least). app/js/leiste.js sets html.has-leiste and .is-ueber (content runs under the bar:
   Apple's scroll edge above it). The flowing bar of the existing screens is untouched (its rules above exclude this class). At large text
   a bar with the § 14 BGB tick ends the page instead of pinning (the owner scrolls to the tick and the order button together); a bar with only
   its button stays pinned. */
.aktionsleiste.aktionsleiste--gefuehrt{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--sp-1);align-items:stretch;margin:var(--sp-question) 0 0}
.aktionsleiste--gefuehrt > .btn--primary{width:100%}
/* The primary that is also the loading bar (kit/aktion.js `laedt`, Roux 30 Oct 2026): while it loads it is the disabled primary (grey, the rule
   of components.css), and the fill grows inside its own capsule from the left with the real progress; the label stands above the fill. When the
   fill is full the class goes and the button is the normal primary. */
.btn--primary.btn--laedt{position:relative;overflow:hidden;isolation:isolate}
/* Roux 31 Oct 2026 („It chunks. It needs to be smooth, absolutely the entire way“): the fill is the whole capsule scaled from the left, so it moves on
   the compositor even while the page works, and it glides linearly towards each stored value (a new value retargets the glide from where it is);
   Reduce Motion zeroes the token and it steps. */
.btn--laedt > .btn__fuellung{position:absolute;inset:0;z-index:-1;background:var(--tint);opacity:.2;transform-origin:left center;
  transform:scaleX(var(--anteil,0));transition:transform calc(var(--dur-status) * 3) linear;will-change:transform}
.btn--laedt > .btn__label{position:relative;color:var(--label-2)}
/* The welcome (kit/momente.js begruessung, Roux 30 Oct 2026): the title bold, the step cards under it. Roux 31 Oct 2026: the block starts on the heading
   line of every screen, not in the middle of the page, so it has no layout of its own (no minimum height); its lead is Body, grey (the welcome cards);
   title and lead are left-aligned like every screen's („shouldnt the headings and body text be left aligned like all other screens?“). */
.begruessung > .frage > .frage__titel{font-weight:var(--weight-strong)}
.begruessung > .frage > .frage__lead{font-size:var(--t-body);line-height:var(--line-body)}
/* at large text the welcome's lead returns to the library's lead size, so the whole sentence can be read above the pinned bar on the smallest phone
   (at 200 % on a 360 x 652 Android screen the Body lead was taller than the room between the top and the bar, and keyboard scrolling stepped past it) */
@container (max-width:18em){.begruessung > .frage > .frage__lead{font-size:var(--t-callout);line-height:var(--line-control)}}
.begruessung + .fakten{margin-top:var(--sp-question)}
.aktion__grund{display:grid;grid-template-columns:var(--icon-inline) minmax(0,1fr);gap:var(--sp-line);align-items:start;margin:0 0 var(--sp-line);
  font-size:var(--t-subhead);line-height:var(--line-note);color:var(--antwort-warn);text-align:left}
.aktion__grund[hidden]{display:none}
.aktion__grund > .icon{width:var(--icon-inline);height:var(--icon-inline);margin-top:var(--antwort-symbol-versatz);color:var(--status-orange)}
/* The quiet action inside the sentence is a real button (knopf.plain) that takes no box of its own: its label sits in the sentence's own line of text, so the words
   around it and the label are shaped as one run, as the frozen frame draws them (a box of its own would shape them apart: the kerning between the space and the
   opening quote is lost, 1.75 pt wider in the system font). A button with display:contents keeps its role, name and focus in the browsers of today; its keyboard
   focus is the shared 2 px underline, drawn on the label. */
.btn.btn--plain.aktion__grund-link{display:contents;font:inherit;letter-spacing:inherit;text-rendering:inherit;line-height:inherit}
.btn.btn--plain.aktion__grund-link > .btn__label{margin-block:0;text-box:none;color:var(--link);cursor:pointer}
html:not([data-eingabe="zeiger"]) .btn.btn--plain.aktion__grund-link:focus-visible > .btn__label{text-decoration-line:underline;text-decoration-thickness:var(--underline-w);text-underline-offset:var(--underline-offset)}
/* Keyboard focus on the one primary: the near-black or white fill takes no tint that shows (the 14 % link tint over #121212 or white
   is 1.108:1), so the label takes the shared 2 px underline, as every text action does (D-40, D-70). */
html:not([data-eingabe="zeiger"]) .aktionsleiste--gefuehrt > .btn--primary:focus-visible{text-decoration-line:underline;text-decoration-thickness:var(--underline-w);text-underline-offset:var(--underline-offset)}
/* An isolated keyboard area (app/js/leiste.js tastaturBereich; 16-24's warm stage, the library's example) is an inert container with its own
   containing block: a fixed bar inside it is placed against the container, not the page. It takes the same pinned form below, and rides on its
   own keyboard through the same rule as the live root (the one riding rule further down). */
[data-tastatur-bereich]{position:relative;contain:layout paint}
@media (max-width:767.98px){
  :is(html.has-leiste:not(.leiste-frei) :is(#screen,[data-bildschirm]),[data-tastatur-bereich]) .aktionsleiste.aktionsleiste--gefuehrt{position:fixed;z-index:6;isolation:isolate;left:0;right:0;bottom:0;width:auto;max-width:none;margin:0;
    --bar-kante-unten:max(var(--sp-4),env(safe-area-inset-bottom,0px));
    padding:var(--bar-edge-auslauf) calc(var(--margin-phone) + env(safe-area-inset-right,0px)) var(--bar-kante-unten) calc(var(--margin-phone) + env(safe-area-inset-left,0px));
    border-top:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  .aktionsleiste--gefuehrt{--bar-kante-unten:max(var(--sp-4),env(safe-area-inset-bottom,0px));--bar-kante-voll:calc(var(--bar-edge-auslauf) + (100% - var(--bar-edge-auslauf) - var(--bar-kante-unten)) * var(--bar-edge-mitte))}
  .aktionsleiste--gefuehrt:has(> :is(.aktion__grund,.haken,.aktion__ruhig):not([hidden])){--bar-kante-voll:var(--bar-edge-auslauf)}
  :is(html.has-leiste:not(.leiste-frei) :is(#screen,[data-bildschirm]),[data-tastatur-bereich]) .aktionsleiste--gefuehrt.is-ueber::before,.aktionsleiste--gefuehrt[data-geruest].is-ueber::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
    background:var(--bar-kante-flaeche,var(--bar-material));-webkit-backdrop-filter:var(--bar-kante-filter,blur(var(--glass-control-blur)) saturate(var(--bar-saturate)));backdrop-filter:var(--bar-kante-filter,blur(var(--glass-control-blur)) saturate(var(--bar-saturate)));
    -webkit-mask-image:linear-gradient(to bottom,transparent,var(--mask-ink) var(--bar-kante-voll));mask-image:linear-gradient(to bottom,transparent,var(--mask-ink) var(--bar-kante-voll))}
  html[data-plattform="android"] .aktionsleiste--gefuehrt{--bar-kante-flaeche:var(--paper);--bar-kante-filter:none}
  @media (prefers-contrast:more),(prefers-reduced-transparency:reduce){
    .aktionsleiste--gefuehrt{--bar-kante-flaeche:var(--paper);--bar-kante-filter:none}
  }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .aktionsleiste--gefuehrt{--bar-kante-flaeche:var(--paper);--bar-kante-filter:none}
}

/* ---------- the action rides on the keyboard (16-15, D-23, D-24; frozen s02s, s02t, s02u, s03g, s21f) ----------
   While a field of the screen has focus and a keyboard is up (app/js/leiste.js: html.tastatur-offen and --tastatur-h, the part of the layout
   viewport the keyboard covers), the pinned bar of any screen sits directly on it: its bottom edge at the keyboard's top, 10 pt above and below the button
   (prototype.css .g-kbdstack > .g-action) and no home area, which the keyboard covers. The page keeps room under its last field for the keyboard and
   the bar, and the browser's own scrolling to a field stops above both. One rule serves the live root and an isolated keyboard area, each with
   its own height and class. The rule stands before the tick bar of large text, which ends the page instead and so does not ride.
   A bar inside an isolated area rides on that area's keyboard only: the live branch leaves it out (a closed area beside an open live keyboard keeps its
   resting padding), through :where() so that the exclusion adds nothing to the specificity the tick bar below is placed against. */
@media (max-width:767.98px){
  :is(html.tastatur-offen.has-leiste:not(.leiste-frei) :is(#screen,[data-bildschirm]) .aktionsleiste:not(:where([data-tastatur-bereich] *)),[data-tastatur-bereich].tastatur-offen .aktionsleiste):not([hidden]){
    bottom:var(--tastatur-h,0px);--bar-edge-auslauf:var(--sp-2-5);--bar-kante-unten:var(--sp-2-5);padding-top:var(--sp-2-5);padding-bottom:var(--sp-2-5)}
  html.tastatur-offen.has-leiste:not(.leiste-frei) .app{padding-bottom:calc(var(--leiste-h,0px) + var(--sp-6) + var(--tastatur-h,0px))}
  html.tastatur-offen.has-leiste:not(.leiste-frei){scroll-padding-bottom:calc(var(--leiste-h,0px) + var(--sp-4) + var(--tastatur-h,0px))}
}
@media (min-width:768px){
  .aktionsleiste.aktionsleiste--gefuehrt{justify-items:start;gap:var(--sp-2-5);padding:0}
  .aktionsleiste--gefuehrt > .btn--primary{width:auto;min-width:var(--order-w);max-width:100%}
}
/* The bar's secondary action and its quiet line (16-58 row 15; frozen s00b, s00f, s06g, s13e, s16b, s18, s19j, s23i): an outcome that sells nothing
   takes the app's secondary capsule as its one action (gefuehrteLeiste art 'sekundaer'), full width on the phones like the primary, the drawn minimum
   width on the computer; there a bar under a moment or an exit stands centred like their content. The quiet grey line above it (`ruhig`) says what the
   action keeps: Subhead, the line step above the button, centred on the phones and at the start on the computer, like the reason line it replaces. */
.aktionsleiste--gefuehrt > .btn--secondary{width:100%}
.aktion__ruhig{margin:0 0 var(--sp-line);font-size:var(--t-subhead);line-height:var(--line-note);color:var(--label-2);text-align:center;-webkit-hyphens:manual;hyphens:manual}
@media (min-width:768px){
  .aktionsleiste--gefuehrt > .btn--secondary{width:auto;min-width:var(--order-w);max-width:100%}
  .aktion__ruhig{text-align:start}
  .moment + .aktionsleiste.aktionsleiste--gefuehrt{justify-items:center}
}
@container (max-width:18em){
  .aktionsleiste--gefuehrt > .btn--secondary > .btn__label{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach);-webkit-hyphenate-limit-before:var(--silben-vor);-webkit-hyphenate-limit-after:var(--silben-nach)}
}
@container (max-width:18em){
  .aktion__grund,.aktion__grund-link{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach);-webkit-hyphenate-limit-before:var(--silben-vor);-webkit-hyphenate-limit-after:var(--silben-nach)}
  .aktionsleiste--gefuehrt > .btn--primary > .btn__label{hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}
}
@media (max-width:767.98px){
  @container (max-width:18em){
    html.has-leiste:not(.leiste-frei) :is(#screen,[data-bildschirm]) .aktionsleiste.aktionsleiste--gefuehrt:has(> .haken){position:static;margin:var(--sp-question) calc(var(--margin-phone) * -1) 0;
      padding:var(--sp-6) var(--margin-phone) max(var(--sp-4),env(safe-area-inset-bottom,0px))}
    /* a bar that ends the page covers nothing, so no scroll edge stands above it (leiste.js sets .is-ueber on a pinned bar only) */
    html.has-leiste:not(.leiste-frei) :is(#screen,[data-bildschirm]) .aktionsleiste.aktionsleiste--gefuehrt:has(> .haken)::before{content:none}
  }
}

/* ---------- Abstände zwischen Bausteinen (D-13) (16-58 Task 2; frozen s00b, s00c, s00f, s01i, s02c, s02o, s02v, s02z, s03l, s06c, s06d, s06i,
   s14, s22, s22f, s23n, s25c, s28, s28c, s29, s31g and the other frames of qa/guided/ledger/16-58.md, „Task 2: every relationship …“) ----------
   Between two library components the library sets the distance, never a spacer and never a screen: one rule per drawn relationship, the
   step's token as the block start of the component that follows (the before + the after class, 0,2,0, so it wins over a component's own
   margin of one class, wherever the family file stands). The question step after the question block is `.frage + *` above; the rules here
   are the other relationships the drawings draw with a spacer, and the two followers whose own margin or box would lose the question step.
   A follower whose root draws no box of its own (.zahlungen is display:contents, its card and grey lines stand in the column) takes the
   step on its first box. The item step joins blocks of one topic, the topic step opens a new topic (a notice before the question block),
   and three drawn relationships between blocks that are not the question block take the question step as drawn (the setup bar to its
   fact, a source line to the answers, the steps to the section label „Weitere Unterlagen“). Short screens tighten the two large steps
   through their tokens. A component built later adds its relationship here, with its state in design/catalogue/10-frage.js „Abstände
   zwischen Bausteinen“, which measures each one against its frozen frames. */
/* the question step reaches a follower that cancels it with its own margin (.gruppe--liste{margin:0}) or draws no box (.zahlungen) */
.frage + .gruppe--liste{margin-top:var(--sp-question)}
.frage + .zahlungen > :first-child{margin-top:var(--sp-question)}
/* item to item within one topic */
.quelle + .schalter-zeile,
.fakten + .gruppe,.gruppe + .fakten,
.fortschritt + .gruppe,
.gruppe + .antworten,
.gruppe + .schritte,
.textfeld-block + .textfeld-block,.quelle + .textfeld-block,
.quelle + .datum-block,.quelle + .menge-feld,.menge-feld + .textfeld-block,
.link-zeile + .textfeld-block,.textfeld-block + .gruppe,.gruppe + .haken,
.menge-feld + .menge-feld,.kennung-feld + .gruppe,
.textfeld-block + .feld-paar,.blatt-lead + .textfeld-block,
.feld-paar + .amt-zeile.quelle,
.rechnung-zeile + :is(.menge-feld,.textfeld-block,.feld-paar,.antworten),
.gruppe[data-auszug] + :is(.menge-feld,.textfeld-block,.feld-paar,.karten),
.antwort-zeile + .karten,
.karten + .menge-feld,
.suche-block + .gruppe,
.quelle + .hinweis-karte,.hinweis-karte + .gruppe,
:is(.quelle,.antwort-zeile) + .zahlung-spalten,
:is(.zahlungen,.zahlung-spalten) + .gruppe,
.quelle + .dank,.dank + .gruppe{margin-top:var(--sp-item)}
:is(.quelle,.antwort-zeile) + .zahlungen > :first-child{margin-top:var(--sp-item)}
/* topic to topic: a notice above the question block */
.hinweis-karte + .frage{margin-top:var(--sp-topic)}
.quelle + .gruppe.gruppe--rechnung,.textfeld-block + .gruppe.gruppe--rechnung,.antwort-zeile + .gruppe.gruppe--rechnung{margin-top:var(--sp-topic)}
/* the question step where the drawing gives it between two other blocks */
.fortschritt + .fakten,
.quelle + .antworten,
.schritte + .abschnitt{margin-top:var(--sp-question)}
.feld-paar + .menge-feld,.menge-feld + .gruppe{margin-top:var(--sp-item)}
/* design/kit/20-auswahl.css */
/* The choices family: grouped choices, checks, the switch and the answer pair (16-11, D-01). The rules below moved here unchanged from the shared stylesheet; one family file, edited only by
   its own package. Tokens only, no raw colour (tools/check-brand.js), no route selector (check-app C21). */

/* Roux 19 Oct 2026 (261019-e8p): the label box is trimmed to cap height and baseline, so flex centring puts the capitals
   on the button's centre with any platform font; the block margins give back exactly the trimmed 1lh − 1cap, so no button
   changes height. Without text-box (Firefox) nothing changes. */
@supports (text-box: trim-both cap alphabetic){
  /* a structured choice label (name over its block .choice__sub line) keeps its line boxes: mixed line heights */
  .btn > .btn__label:not(.sr-only),.choice__item > span:not(.icon):not(:has(> .choice__sub)){text-box:trim-both cap alphabetic;margin-block:calc((1lh - 1cap) / 2)}
}
/* choice tiles (quick 261019-fst, Roux 19 Oct 2026: „to show the user where to choose“): an option still to choose is
   light blue (--choice-open-fill), the chosen one solid dark blue with white text and its check (--choice-active-*) */
.choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:var(--sp-3)}
.choice__item{
  position:relative;display:flex;align-items:center;justify-content:center;gap:var(--sp-2);min-height:var(--button-h);padding:0 calc(var(--sp-4) - 2px);
  border:2px solid transparent;border-radius:var(--r-control);background:var(--choice-open-fill);color:var(--label-1);
  font:inherit;font-size:var(--t-body);cursor:pointer;
}
/* A full choice label remains readable when one word exceeds its available column. */
.choice__item > span:not(.icon){min-width:0;overflow-wrap:break-word}
:is(.card,.group,.sheet) .choice__item{background:var(--choice-open-fill)}
.choice__item > .icon{display:none;color:var(--tint)}
.choice__item.is-selected{border-color:var(--choice-active-fill);background:var(--choice-active-fill);color:var(--choice-active-ink);font-weight:var(--weight-body);--focus-fill:var(--choice-active-focus-fill)}
.choice__item.is-selected > .icon{display:block;color:var(--choice-active-ink)}
.choice__item:disabled{color:var(--label-4);cursor:default}
/* switch: four platform size tokens, a 2px knob inset and 8px target clearance; at least 44px high */
.switch{position:relative;border-radius:var(--r-capsule);display:inline-flex;align-items:center;justify-content:center;flex:none;width:calc(var(--switch-w) + 8px);height:var(--target-min);padding:0;border:0;background:none;cursor:pointer}
.switch::before{content:"";width:var(--switch-w);height:var(--switch-h);border-radius:var(--r-capsule);background:var(--fill-1);box-shadow:inset 0 0 0 1px var(--switch-border)}
.switch::after{content:"";position:absolute;top:50%;left:calc(50% - var(--switch-w) / 2 + 2px);width:var(--knob-w);height:var(--knob-h);margin-top:calc(var(--knob-h) / -2);border-radius:var(--r-capsule);background:var(--knob-off);box-shadow:var(--shadow-knob)}
.switch.is-on::before{background:var(--tint);box-shadow:none}
.switch.is-on::after{left:calc(50% + var(--switch-w) / 2 - var(--knob-w) - 2px);background:var(--knob-on)}
.switch:disabled{opacity:.4;cursor:default}
.choice__item > .icon{width:20px;height:20px;--icon-stroke:2.25px}
html:not([data-eingabe="zeiger"]) label:has(> .check__box:focus-visible){border-radius:var(--r-control)}
@media (hover:hover) and (pointer:fine){
  .choice__item:not(.is-selected):not(:disabled):hover{background-image:linear-gradient(var(--fill-3),var(--fill-3))}
}
@media (prefers-reduced-motion:no-preference){
  .switch::before{transition:background-color var(--dur-short) var(--ease-standard)}
  .switch::after{transition:left var(--dur-short) var(--ease-spring)}
  .choice__item,.dropzone{transition:border-color var(--dur-short) var(--ease-standard),background-color var(--dur-short) var(--ease-standard)}
}
@media (prefers-reduced-motion:no-preference){
  .icon[data-status-motion="draw"] > svg,.check__box[data-status-motion="draw"]:checked::after{animation:status-draw var(--dur-status) var(--ease-status) both}
}
/* D-54 options lists: remove data-auswahl from app/index.html to restore the unscoped tiles above. */
html[data-auswahl="liste"] .choice{display:flex;flex-direction:column;gap:0;padding:0;border-radius:var(--r-card);background:var(--card);overflow:hidden}
html[data-auswahl="liste"] .sheet .choice{background:var(--inset)}
/* Choice states (quick 261019-fst, Roux 19 Oct 2026: „we need to follow this throughout the entire app - to show the
   user where to choose“): an option row still to choose is light blue (--choice-open-fill); the chosen row is solid
   dark blue with white text, sub line and check (--choice-active-*), its separators hidden; a disabled row is neutral.
   Hover and press lay their wash over the blue; keyboard focus on the chosen row is the darker --choice-active-focus-fill. */
html[data-auswahl="liste"] .choice > .choice__item{position:relative;flex:none;display:flex;align-items:center;justify-content:flex-start;gap:var(--sp-3);width:100%;min-width:0;min-height:52px;padding:var(--sp-3) var(--sp-4);border:0;border-radius:0;background-color:var(--choice-open-fill);box-shadow:none;color:var(--label-1);font-size:var(--t-body);font-weight:var(--weight-body);line-height:calc(22 / 17);text-align:left}
html[data-auswahl="liste"] .choice > .choice__item + .choice__item::before{content:"";position:absolute;top:0;left:var(--sp-4);right:0;height:var(--hairline);background:var(--line)}
html[data-auswahl="liste"] .choice > .choice__item > span:not(.icon){order:1;flex:1;min-width:0}
html[data-auswahl="liste"] .choice > .choice__item > .icon{order:2;display:none;width:20px;height:20px;--icon-stroke:2.25px;color:var(--tint)}
html[data-auswahl="liste"] .choice > .choice__item.is-selected{font-weight:var(--weight-body)}
html[data-auswahl="liste"] .choice > .choice__item.is-selected > .icon{display:block}
html[data-auswahl="liste"] .choice > .choice__item.is-selected{color:var(--choice-active-ink);background-color:var(--choice-active-fill);border-color:var(--choice-active-fill);--focus-fill:var(--choice-active-focus-fill)}
html[data-auswahl="liste"] .choice > .choice__item.is-selected > .icon,
html[data-auswahl="liste"] .choice > .choice__item.is-selected .choice__sub{color:var(--choice-active-ink)}
@media not (prefers-contrast:more){
  html[data-auswahl="liste"] .choice > .choice__item.is-selected::before,
  html[data-auswahl="liste"] .choice > .choice__item.is-selected + .choice__item::before{background:transparent}
}
html[data-auswahl="liste"] .choice > .choice__item:disabled{color:var(--label-4);cursor:default}
html[data-auswahl="liste"] .choice > .choice__item:disabled:not(.is-selected){background-color:transparent}
@media (hover:hover) and (pointer:fine){
  html[data-auswahl="liste"] .choice > .choice__item:not(.is-selected):not(:disabled):hover{background-image:linear-gradient(var(--fill-3),var(--fill-3))}
}
html[data-auswahl="liste"] .choice > .choice__item:not(.is-selected):not(:disabled):active{background-image:linear-gradient(var(--fill-2),var(--fill-2))}
@media (prefers-contrast:more){
  html[data-auswahl="liste"] .choice:not(.choice--segmented){outline:1px solid var(--control-border);outline-offset:-1px}
}
@media (forced-colors:active){
  html[data-auswahl="liste"] .choice:not(.choice--segmented){outline:1px solid CanvasText;outline-offset:-1px}
  html[data-auswahl="liste"] .choice:not(.choice--segmented) > .choice__item.is-selected{background-color:Highlight;color:HighlightText}
  html[data-auswahl="liste"] .choice:not(.choice--segmented) > .choice__item.is-selected > .icon,
  html[data-auswahl="liste"] .choice:not(.choice--segmented) > .choice__item.is-selected .choice__sub{color:HighlightText}
}
@media (prefers-reduced-motion:no-preference){html[data-auswahl="liste"] .choice__item:active{transform:scale(.99)}}
@media (prefers-reduced-motion:reduce){html[data-auswahl="liste"] .choice__item{transition:none!important}html[data-auswahl="liste"] .choice__item:active{transform:none!important}}
/* D-54 end */
/* Short mutually exclusive answers share one track. This explicit variant keeps
   the original radio nodes and has no implicit answer. Long choices keep lists. */
.choice.choice--segmented,
html[data-auswahl="liste"] .choice--segmented{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--sp-1);width:max-content;min-width:min(100%,var(--button-min-width));max-width:100%;padding:var(--sp-1);border-radius:var(--r-capsule);background:var(--confirmation-fill);box-shadow:none;overflow:visible}
/* Reserve room for the whole short answer. At enlarged text, whole
   equal segments move to separate rows before a word needs to break. */
.choice.choice--segmented > .choice__item,
html[data-auswahl="liste"] .choice--segmented > .choice__item{display:flex;flex:1 1 0;align-items:center;justify-content:center;gap:var(--sp-2);width:auto;min-width:min(100%,calc(3.5em + var(--sp-4) * 2 + var(--sp-2) + var(--hairline) * 2));min-height:var(--target-min);padding:var(--sp-2) var(--sp-4);border:var(--hairline) solid transparent;border-radius:var(--r-capsule);background:none;box-shadow:none;color:var(--link);font-size:var(--type-detail);font-weight:var(--weight-body);line-height:var(--line-control);text-align:center}
.choice.choice--segmented > .choice__item::before,
.choice.choice--segmented > .choice__item::after,
html[data-auswahl="liste"] .choice--segmented > .choice__item::before,
html[data-auswahl="liste"] .choice--segmented > .choice__item::after{content:none}
.choice.choice--segmented > .choice__item + .choice__item::before,
html[data-auswahl="liste"] .choice.choice--segmented > .choice__item + .choice__item::before{content:none;display:none}
.choice.choice--segmented > .choice__item > .icon,
html[data-auswahl="liste"] .choice--segmented > .choice__item > .icon,
html[data-auswahl="liste"] .choice--segmented > .choice__item.is-selected > .icon{display:none}
.choice.choice--segmented > .choice__item > span:not(.icon),
html[data-auswahl="liste"] .choice--segmented > .choice__item > span:not(.icon){order:1;flex:0 1 auto;min-width:0;white-space:nowrap;overflow-wrap:normal}
.choice.choice--segmented > .choice__item[aria-checked="true"],
.choice.choice--segmented > .choice__item[aria-pressed="true"],
html[data-auswahl="liste"] .choice--segmented > .choice__item[aria-checked="true"],
html[data-auswahl="liste"] .choice--segmented > .choice__item[aria-pressed="true"]{border-color:var(--choice-active-fill);background:var(--choice-active-fill);box-shadow:var(--shadow-segment);color:var(--choice-active-ink);font-weight:var(--weight-body)}
.choice.choice--segmented > .choice__item:disabled,
html[data-auswahl="liste"] .choice--segmented > .choice__item:disabled{color:var(--label-4);cursor:default}
.choice.choice--segmented > .choice__item:focus-visible,
html[data-auswahl="liste"] .choice--segmented > .choice__item:focus-visible{outline-offset:calc(var(--focus-ring-offset) * -1)}
@media (hover:hover) and (pointer:fine){
  .choice.choice--segmented > .choice__item:not([aria-checked="true"]):not([aria-pressed="true"]):not(:disabled):hover,
  html[data-auswahl="liste"] .choice--segmented > .choice__item:not([aria-checked="true"]):not([aria-pressed="true"]):not(:disabled):hover{background:var(--fill-3);background-image:none}
}
/* While pressed, a clear segment takes the shared pressed fill, also under a hovering fine pointer. */
.choice.choice--segmented > .choice__item:not([aria-checked="true"]):not([aria-pressed="true"]):not(:disabled):active,
html[data-auswahl="liste"] .choice--segmented > .choice__item:not([aria-checked="true"]):not([aria-pressed="true"]):not(:disabled):active{background:var(--fill-2);background-image:none}
/* A pair of operation buttons (knopf.plain with klasse choice__item and aria-pressed, e.g. the S5 activity share pair)
   uses the same track: aria-pressed fills its segment exactly like aria-checked, and the text action's own offset and
   underline give way to the segment. Keyboard focus is the shared tint, as on every radio segment; never a ring. */
.choice.choice--segmented > .btn.choice__item{margin:0;text-decoration:none}
html:not([data-eingabe="zeiger"]) .choice.choice--segmented > .btn--plain.choice__item:focus-visible{background-image:linear-gradient(var(--focus-fill),var(--focus-fill));text-decoration:none}
/* Longer labels (choice--wrap): each segment is as wide as its whole label while that fits, so the capsule moves a
   whole segment onto its own row before any label is cut; only a label wider than the row wraps inside its segment.
   A one-line segment is exactly one row high (its line, its padding and room for the trimmed label), and the radii
   are those of that one-row capsule, concentric when segments stack, so a filled segment never sticks out of the
   track (the track carries the segment type, so 1lh is the segment line on both). */
.choice.choice--segmented.choice--wrap{--segment-radius:calc(max(var(--target-min),1lh + var(--sp-2) * 2 + var(--sp-1)) / 2);font-size:var(--type-detail);line-height:var(--line-control);border-radius:calc(var(--segment-radius) + var(--sp-1))}
.choice.choice--segmented.choice--wrap > .choice__item{min-width:fit-content;min-height:calc(var(--segment-radius) * 2);border-radius:var(--segment-radius)}
.choice.choice--segmented.choice--wrap > .choice__item > span:not(.icon){white-space:normal;overflow-wrap:break-word}
@media (forced-colors:active){
  .choice.choice--segmented{outline:var(--hairline) solid CanvasText}
  .choice.choice--segmented > .choice__item[aria-checked="true"],.choice.choice--segmented > .choice__item[aria-pressed="true"]{border-color:Highlight;background:Highlight;color:HighlightText}
}
/* Native checkboxes keep their semantics; the approved rounded tick is a vector mask. */
/* Roux 20 Oct 2026 („not aligned“): the checkbox row lives in the shared component, not only in the checkout screen:
   the box sits on the first line's centre (its own margin, 1.45 line), the text keeps its own column when it wraps. */
.check{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:var(--icon-label-gap);align-items:start;min-height:var(--target-min);line-height:1.45;cursor:pointer}
.check > :not(.check__box){min-width:0}
.check__box{font:inherit;appearance:none;-webkit-appearance:none;position:relative;flex:none;width:22px;height:22px;border:1px solid var(--control-border);border-radius:5px;background:var(--field);color:var(--on-ink);cursor:pointer;margin:calc((1.45em - 22px) / 2) 0 0}
.check__box:checked{background:var(--link);border-color:var(--link)}
.check__box:checked::after{content:"";display:block;position:absolute;inset:1px;background:var(--on-link);-webkit-mask:var(--checkbox-tick) center/contain no-repeat;mask:var(--checkbox-tick) center/contain no-repeat}
.check__box:disabled{opacity:.5;cursor:default}
.check__description,.check__detail{display:block;margin-top:var(--sp-1);color:var(--label-2)}
@media (forced-colors:active){.check__box{appearance:auto;-webkit-appearance:auto}.check__box:checked::after{display:none}}

/* The one-tap answer pair („Ja“ before „Nein“): capsules, white at rest with their fine edge. Chosen is a light tint of
   the link blue over the card with ink text and Apple's filled blue circle with its tick in the trailing slot, which
   never moves the label. On the computer the pair stands side by side; on the phones the answers stack. */
.antworten{display:grid;gap:var(--sp-item)}
@media (min-width:768px){.antworten--paar{grid-template-columns:1fr 1fr}}
.antwort{position:relative;display:flex;align-items:center;justify-content:center;gap:var(--sp-2-5);width:100%;min-height:var(--button-h);margin:0;padding:0 var(--sp-6);
  border:0;border-radius:var(--r-capsule);-webkit-appearance:none;appearance:none;background:var(--card);color:var(--label-1);
  box-shadow:inset 0 0 0 1px var(--fill-1),var(--shadow-lift);
  font:inherit;font-size:var(--t-headline);font-weight:var(--weight-emphasis);letter-spacing:0;line-height:var(--line-answer);text-align:center;cursor:pointer;
  -webkit-tap-highlight-color:transparent}
.antwort.is-chosen{background:color-mix(in srgb,var(--link) var(--chosen-tint),var(--card));color:var(--label-1);
  box-shadow:inset 0 0 0 var(--ring-fine) color-mix(in srgb,var(--link) var(--chosen-ring),transparent)}
.antwort__haken{position:absolute;right:var(--answer-tick-inset);top:50%;display:grid;place-items:center;width:var(--sp-6);height:var(--sp-6);margin-top:calc(var(--sp-3) * -1);border-radius:50%;
  background:var(--link);color:var(--on-link)}
.antwort__haken > .icon{width:var(--icon-tick);height:var(--icon-tick)}

/* Large text: below 18 times the text size of the column an answer's words hyphenate and wrap at their own limits (UI-SPEC long-text row);
   the pair itself keeps its drawn form (side by side on the computer at every size, stacked on the phones). */
@container (max-width:18em){
  .antwort,.karte{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach);-webkit-hyphenate-limit-before:var(--silben-vor);-webkit-hyphenate-limit-after:var(--silben-nach)}
}
html:not([data-eingabe="zeiger"]) .antwort:focus-visible{background-image:linear-gradient(var(--focus-fill),var(--focus-fill))}
/* A chosen answer or card already carries the 12 % tint: the shared 14 % wash over it is weaker than over a plain card (1.216:1 against 1.234:1
   in light), so its keyboard focus takes the strong wash of the shared tokens (--focus-fill-strong), still a tint and never a ring (D-40). */
html:not([data-eingabe="zeiger"]) .antworten .antwort.is-chosen:focus-visible{background-image:linear-gradient(var(--focus-fill-strong),var(--focus-fill-strong))}

/* The quiet third answer (16-58 row 5; frozen s16, s17: the library's quiet line, 16-22 record 13). It is the source line's text action
   (.quelle--ruhig > .quelle__link: its type, colour, inset and enlarged hit area) and an answer of the same named group, the same native button,
   pressed state and onWahl as the pair, which stays its own drawn part beside it. A chosen quiet answer keeps its words and gains the family's
   tick after them. Keyboard focus is the text action's underline (50-listen.css), never the capsule's tint. */
.antworten-mit-dritter{display:block}
.antwort.antwort--ruhig{display:inline-flex;width:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;
  font:inherit;letter-spacing:inherit;color:var(--link);text-align:start}
.antwort--ruhig > .antwort__haken{position:static;flex:none;margin:0;width:var(--icon-help);height:var(--icon-help)}
html:not([data-eingabe="zeiger"]) .antwort.antwort--ruhig:focus-visible{background-image:none}

/* ---------- the choice cards (16-15, D-10, D-40; frozen s04b, s13, s13c, s13d) ----------
   Native selection: a label around a radio (a circle, one answer) or a checkbox (a square, several). White at rest with a grey ring and the
   capsule's fine edge; chosen is the light tint of the link blue over the card with ink text and Apple's filled blue tick, the tick glyph
   white on the light-mode blue and black on the brighter dark-mode blue (--on-link). Between the cards the item step, which tightens to 8 pt
   on a short screen (the prototype's clamp on the visible height). */
.karten{display:grid;gap:clamp(var(--sp-line),calc(100svh - var(--short-screen)),var(--sp-item))}
.karte{position:relative;display:grid;grid-template-columns:minmax(0,1fr) var(--sp-6);align-items:center;gap:var(--choice-card-gap);width:100%;min-height:var(--sp-16);margin:0;padding:var(--sp-4) var(--choice-card-pad-x);
  border:0;border-radius:var(--inset-radius);background:var(--card);color:var(--label-1);box-shadow:inset 0 0 0 var(--ring-fine) var(--fill-1),var(--shadow-lift);
  font:inherit;font-size:var(--t-headline);font-weight:var(--weight-emphasis);letter-spacing:0;line-height:var(--line-heading);text-align:start;cursor:pointer;-webkit-tap-highlight-color:transparent}
.karte:has(> .karte__marke > .karte__eingabe:checked){background:color-mix(in srgb,var(--link) var(--chosen-tint),var(--card));box-shadow:inset 0 0 0 var(--ring-fine) color-mix(in srgb,var(--link) var(--chosen-ring),transparent)}
.karte__text{display:block;min-width:0}
.karte__vorn{display:flex;align-items:center;gap:var(--sp-item)}
.karte__vorn > .icon{flex:none;width:var(--icon-context);height:var(--icon-context)}
@container (max-width:18em){
  .karte__vorn{align-items:flex-start}
  .karte__vorn > .icon{line-height:inherit;margin-top:calc(.5lh - var(--icon-context) / 2)}
  .karte__notiz > .icon{line-height:inherit;margin-top:calc(.5lh - var(--icon-help) / 2)}
  .karten--kompakt .karte__notiz > .icon{margin-top:calc(.5lh - var(--icon-ergebnis) / 2)}
}
.karte__untertitel{display:block;margin-top:var(--sp-0-5);font-size:var(--t-callout);font-weight:var(--weight-body);line-height:var(--line-detail)}
.karte--nav{-webkit-appearance:none;appearance:none}
.karte__detail{display:block;margin-top:var(--choice-card-detail-gap);font-size:var(--t-subhead);font-weight:var(--weight-body);line-height:var(--line-detail);color:var(--label-2)}
.karte__notiz{display:flex;align-items:flex-start;gap:var(--sp-label);margin-top:var(--sp-label);font-size:var(--t-subhead);font-weight:var(--weight-body);line-height:var(--line-detail);color:var(--label-2)}
.karte__notiz > .icon{flex:none;width:var(--icon-help);height:var(--icon-help);margin-top:var(--sp-0-5);color:var(--status-orange)}
.karte__notiz > span:not(.icon){min-width:0}
.karte__marke{position:relative;display:grid;place-items:center;width:var(--sp-6);height:var(--sp-6)}
.karte__eingabe{-webkit-appearance:none;appearance:none;margin:0;width:var(--sp-6);height:var(--sp-6);border:var(--tick-ring) solid var(--control-border);border-radius:50%;background:none;cursor:pointer}
.karten--mehrere .karte__eingabe{border-width:var(--tick-ring-box);border-radius:var(--r-tick)}
/* The mark is drawn 24 pt but pressed over a 44 pt target (Coordinator decision 31 Oct 2026: 44 pt touch targets, WCAG 2.5.8, HIG): an invisible square
   centred on the drawn mark belongs to the input itself, so a pointer or a finger that meets it meets the input (the whole card also answers, as its label).
   It lays no box and paints nothing: the mark and the card keep the frozen geometry. */
.karte__eingabe{position:relative}
.karte__eingabe::after{content:"";position:absolute;top:50%;left:50%;width:var(--target-min);height:var(--target-min);translate:-50% -50%}
.karte__eingabe:checked{border-color:transparent;background:var(--link)}
.karte__haken{position:absolute;inset:0;display:none;place-items:center;color:var(--on-link);pointer-events:none}
.karte__eingabe:checked ~ .karte__haken{display:grid}
.karte__haken > .icon{width:var(--icon-tick);height:var(--icon-tick)}
.karte__nav{display:grid;place-items:center;width:var(--icon-action);height:var(--icon-action);color:var(--label-3)}
.karte__nav > .icon{width:var(--icon-action);height:var(--icon-action)}
@container (max-width:18em){.btn.btn--plain > .icon{width:var(--icon-text-action);height:var(--icon-text-action)}}
/* the third chapter's two-line cards: a little closer, the detail one size smaller */
.karten--kompakt .karte{gap:var(--sp-item);min-height:0;padding:var(--sp-item) var(--sp-4) var(--sp-item) var(--choice-card-pad-x)}
.karten--kompakt .karte__detail{margin-top:var(--sp-0-5);font-size:var(--t-footnote);line-height:var(--line-detail)}
.karten--kompakt .karte__notiz{margin-top:var(--sp-1);font-size:var(--t-footnote)}
.karten--kompakt .karte__notiz > .icon{width:var(--icon-ergebnis);height:var(--icon-ergebnis);margin-top:var(--symbol-versatz)}
/* Keyboard focus: the whole card takes the shared link tint (never a ring); a card that is a way to another screen is a button and takes it too. */
html:not([data-eingabe="zeiger"]) .karte:has(> .karte__marke > .karte__eingabe:focus-visible){background-image:linear-gradient(var(--focus-fill),var(--focus-fill))}
html:not([data-eingabe="zeiger"]) .karte:has(> .karte__marke > .karte__eingabe:checked:focus-visible){background-image:linear-gradient(var(--focus-fill-strong),var(--focus-fill-strong))}
/* R5-02 (WCAG 1.4.3): the strong wash over the chosen tint leaves the grey detail and note at 2.3 to 2.7:1; the card's ink holds 5.0:1 or more on it in every theme, so the two lines take the ink while the card is chosen and focused. */
html:not([data-eingabe="zeiger"]) .karte:has(> .karte__marke > .karte__eingabe:checked:focus-visible) :is(.karte__detail,.karte__notiz){color:var(--label-1)}
@media (prefers-contrast:more){.antwort,.karte{box-shadow:inset 0 0 0 var(--ring-fine) var(--control-border),var(--shadow-lift)}}

/* ---------- the § 14 BGB tick row (16-15, D-35, D-40; frozen s23, s24, s25) ----------
   A plain check row in the order area, never preselected: its box on the first line (the box is as high as the line and grows with the text),
   chosen is the link blue with its tick; a tap on the waiting order button without it takes the orange edge on the box and the response line
   with its triangle under the sentence. */
.haken{position:relative;isolation:isolate;display:grid;grid-template-columns:calc(var(--line-note) * 1em) minmax(0,1fr);column-gap:var(--sp-item);align-items:start;margin:0 var(--sp-0-5) var(--sp-label);
  font-size:var(--t-subhead);font-weight:var(--weight-body);line-height:var(--line-note);color:var(--label-1);text-align:left;cursor:pointer}
/* The row's reach: an invisible rounded area 12 pt above, 10 pt below (up to the order button, which stands 10 pt under the row) and 8 pt either side of the
   row, part of the label, so a one-line row on the computer is a target of 44 pt like a wrapped one on the phones, and the shape keyboard focus tints.
   It lays no box: the row's own geometry stays the frozen one. */
.haken::before{content:"";position:absolute;z-index:-1;top:calc(var(--sp-3) * -1);right:calc(var(--sp-2) * -1);bottom:calc((var(--sp-label) + var(--sp-1)) * -1);left:calc(var(--sp-2) * -1);
  border-radius:var(--r-control)}
.haken__marke{position:relative;display:block;width:calc(var(--line-note) * 1em);height:calc(var(--line-note) * 1em)}
.haken__eingabe{-webkit-appearance:none;appearance:none;display:block;margin:0;width:100%;height:100%;border:0;border-radius:var(--r-tick-row);background:var(--card);
  box-shadow:inset 0 0 0 var(--tick-ring-box) var(--control-border);cursor:pointer}
.haken__eingabe:checked{background:var(--link);box-shadow:none}
.haken.is-fehler .haken__eingabe:not(:checked){box-shadow:inset 0 0 0 var(--tick-ring-box) var(--antwort-warn)}
.haken__haken{position:absolute;inset:0;display:none;place-items:center;color:var(--on-link);pointer-events:none}
.haken__eingabe:checked ~ .haken__haken{display:grid}
.haken__haken > .icon{width:var(--icon-tick);height:var(--icon-tick)}
.haken__text{display:block;min-width:0}
.haken__fehler{display:grid;grid-template-columns:var(--icon-inline) minmax(0,1fr);gap:var(--sp-line);align-items:start;margin-top:var(--sp-line);color:var(--antwort-warn)}
.haken__fehler > .icon{width:var(--icon-inline);height:var(--icon-inline);margin-top:var(--antwort-symbol-versatz);color:var(--status-orange)}
html:not([data-eingabe="zeiger"]) .haken:has(> .haken__marke > .haken__eingabe:focus-visible)::before{background:var(--focus-fill)}
html:not([data-eingabe="zeiger"]) .haken:has(> .haken__marke > .haken__eingabe:checked:focus-visible)::before{background:var(--focus-fill-strong)}
@container (max-width:18em){.haken,.haken__fehler{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}}
@media (min-width:768px){.haken{margin:0 0 var(--sp-label);max-width:var(--order-column)}}

/* ---------- the switch (16-15, D-16; frozen s14) ----------
   iOS 26's, measured from Settings: a 63 × 28 pt track and a white capsule thumb of 37 × 24 pt, 2 pt inside the track, no edge and no shadow,
   the same on the iPhone, Android and the computer. Off is Apple's grey, on Apple's system green (--switch-off / --switch-on, with their dark and
   Increase Contrast shades). The thumb slides with a spring while the track colour fades; while the finger is down the thumb stretches 6 pt toward
   the other side. Under Reduce Motion the durations are 0 and the colour changes at once. The button is 44 pt high, 8 pt wider than the track. */
.schalter-zeile{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--sp-item);min-height:var(--button-h);padding:var(--sp-1) var(--sp-2) var(--sp-1) var(--choice-card-pad-x);
  border-radius:var(--r-row);background:var(--card);font-size:var(--t-body);color:var(--label-1)}
.schalter{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;width:calc(var(--schalter-w) + var(--schalter-rand));height:var(--target-min);
  padding:0;border:0;border-radius:var(--r-capsule);background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.schalter::before{content:"";width:var(--schalter-w);height:var(--schalter-h);border-radius:var(--r-capsule);background:var(--switch-off)}
.schalter::after{content:"";position:absolute;top:50%;left:calc(50% - var(--schalter-w) / 2 + var(--schalter-abstand));width:var(--schalter-knopf-w);height:var(--schalter-knopf-h);
  margin-top:calc(var(--schalter-knopf-h) / -2);border-radius:var(--r-capsule);background:var(--knob-off)}
.schalter.is-an::before{background:var(--switch-on)}
.schalter.is-an::after{left:calc(50% + var(--schalter-w) / 2 - var(--schalter-knopf-w) - var(--schalter-abstand))}
.schalter:active::after{width:calc(var(--schalter-knopf-w) + var(--schalter-dehnung))}
.schalter.is-an:active::after{left:calc(50% + var(--schalter-w) / 2 - var(--schalter-knopf-w) - var(--schalter-abstand) - var(--schalter-dehnung))}
@media (prefers-reduced-motion:no-preference){
  .schalter::before{transition:background-color var(--dur-status) var(--ease-standard)}
  .schalter::after{transition:left var(--dur-status) var(--ease-spring),width var(--dur-micro) var(--ease-standard)}
}

/* ---------- forced colours (Windows high contrast; the answers, cards, tick row and switch of 16-15) ----------
   The system replaces every fill and drops every box-shadow, so the rings and tints above would vanish: the answer and the card would lose their
   edge, the tick boxes and the switch their shape. Each says where it is in system colours: an edge for the answer and the card, a 2 px Highlight edge
   (not a Highlight fill, which the system may paint behind the words) for the chosen one, the browser's own box for the ticks, a bordered track for the
   switch that fills with Highlight when it is on. Keyboard focus is the Highlight outline of components.css. */
@media (forced-colors:active){
  .antwort,.karte{outline:var(--hairline) solid CanvasText;outline-offset:calc(var(--hairline) * -1)}
  .antwort.is-chosen,.karte:has(> .karte__marke > .karte__eingabe:checked){outline:var(--field-ring-width) solid Highlight;outline-offset:calc(var(--field-ring-width) * -1)}
  .antwort__haken{background-color:Highlight;color:HighlightText}
  /* the quiet third answer is a text action at rest, as the source line's link (no box); chosen, the 2 px Highlight edge stands outside its words */
  .antwort.antwort--ruhig{outline:none}
  .antwort.antwort--ruhig.is-chosen{outline:var(--field-ring-width) solid Highlight;outline-offset:var(--field-ring-width)}
  .karte__eingabe,.haken__eingabe{appearance:auto;-webkit-appearance:auto}
  .karte__eingabe:checked ~ .karte__haken,.haken__eingabe:checked ~ .haken__haken{display:none}
  .haken.is-fehler .haken__eingabe:not(:checked){outline:var(--field-ring-width) dashed CanvasText;outline-offset:var(--hairline)}
  .schalter::before{box-sizing:border-box;border:var(--hairline) solid CanvasText;background-color:Canvas}
  .schalter::after{background-color:CanvasText}
  .schalter.is-an::before{border-color:Highlight;background-color:Highlight}
  .schalter.is-an::after{background-color:HighlightText}
}
/* design/kit/30-felder.css */
/* The fields family: fields, hints, numeric feedback, search and the select trigger (16-11, D-01). The rules below moved here unchanged from the shared stylesheet; one family file, edited only by
   its own package. Tokens only, no raw colour (tools/check-brand.js), no route selector (check-app C21). */

.field{display:flex;flex-direction:column;gap:var(--field-label-gap)}
.field__label{color:var(--label-2);font-size:var(--t-subhead)}
.field__input{
  width:100%;min-height:var(--field-h);padding:var(--field-padding-y) var(--field-padding-x);
  border:1px solid var(--control-border);border-radius:var(--r-control);background:var(--field);
  color:var(--label-1);font:inherit;font-size:var(--t-body);font-feature-settings:"tnum";
}
.field__input::placeholder{color:var(--label-3)}
.field__input:disabled{border-color:var(--line);color:var(--label-4)}
.field.is-invalid .field__input{border:1.5px solid var(--error)}
.field__affix{--menge-schrift:1em;--menge-zeile:1lh;--menge-feld:max(var(--target-min),calc(var(--quantity-min-height,var(--field-h)) - 2px),1lh);display:grid;grid-template-columns:minmax(var(--target-min),1fr) fit-content(50%);align-items:stretch;gap:var(--sp-2);width:100%;min-width:0;min-height:var(--quantity-min-height,var(--field-h));padding:0 var(--field-padding-x);border:1px solid var(--control-border);border-radius:var(--r-control);background:var(--field);color:var(--label-2);font-size:var(--t-body);font-weight:var(--weight-body);font-feature-settings:"tnum"}
.field__affix > input{min-width:0;width:100%;min-height:max(var(--target-min),calc(var(--quantity-min-height,var(--field-h)) - 2px));margin:0;padding:0;border:0;border-radius:0;background:none;color:var(--label-1);font:inherit;font-feature-settings:"tnum";text-align:end}
.field__affix > .field__unit{display:block;align-content:center;min-width:0;white-space:normal;overflow-wrap:break-word;pointer-events:none;color:var(--label-2);font:inherit;font-size:var(--type-small);line-height:var(--line-control);text-align:end}
.field__affix > .field__unit::before,.field__unit-control .select-trigger-label::before{content:'\200b' / '';font-size:var(--menge-schrift);line-height:var(--menge-zeile)}
.field__affix > input::placeholder{color:var(--label-3)}
.field__affix > input:focus-visible{outline:none}
.field__quantity-label{display:block;min-width:0;margin:0}
/* The unit choice is the trailing segment of the bar: full inner height, out to the inner right edge inside the border
   (the negative end margin takes back the bar's end padding), its end corners on the bar's inner radius, its leading
   edge straight. The light blue still-to-choose fill, the focus and open tints and the transparent chosen state all
   share this one box, so nothing moves when the unit is chosen. */
.field__affix > .field__unit-control{display:flex;justify-content:flex-end;min-width:0;max-width:calc(100% + var(--field-padding-x));margin-inline-end:calc(-1 * var(--field-padding-x));color:var(--link)}
.field__unit-control .select-control{display:flex;width:auto;min-width:0;max-width:100%}
/* The number keeps its own box at the top of a unit-choice bar; the label's first line is centred in that same height
   (padding-top = (number box − strut line) / 2, both computed on the bar), so the number stands on the first line's baseline also when a long label
   („Einheit bestätigen“ at 200 % on a phone) wraps and the segment grows; a single line looks exactly centred. The chevron
   sits on the centre of that first line. */
.field--unit-choice .field__affix > input{align-self:start}
.field__unit-control .select-trigger{align-items:flex-start;width:auto;min-width:var(--target-min);min-height:var(--target-min);gap:var(--sp-1);margin:0;padding:calc((var(--menge-feld) - var(--menge-zeile)) / 2) var(--field-padding-x) 0 var(--sp-3);border:0;border-radius:0 calc(var(--r-control) - 1px) calc(var(--r-control) - 1px) 0;background:none;color:var(--link);font-size:var(--type-small);font-weight:var(--weight-body);line-height:var(--line-control);text-align:end}
.field__unit-control .select-trigger > .icon{flex:none;align-self:flex-start;width:var(--icon-menu);height:var(--icon-menu);margin-block-start:calc((var(--menge-zeile) - var(--icon-menu)) / 2);color:currentColor}
.field--unit-choice .field__affix{grid-template-columns:minmax(var(--target-min),1fr) fit-content(60%)}
.field.is-invalid .field__affix,.field__affix:has(> input[aria-invalid="true"]){border:1.5px solid var(--error)}
.field.is-invalid .field__affix > input{border:0}
.field__note{display:flex;align-items:center;gap:var(--sp-2);color:var(--label-2);font-size:var(--t-subhead)}
/* Field states (quick 261019-shd, Roux 19 Oct 2026). One attribute on the .field wrapper, data-feld-zustand, names
   the state; the text, number, quantity, date and select bars inside it honour it, never their inner input or the
   unit control inside a quantity bar. Precedence: „fehler“ (.is-invalid or aria-invalid, red, unchanged) over „aktiv“
   (focus within: the field's own ring, the one allowed ring) over the value states. Value state „pruefen“: a detail the
   orange review notice lists that is still empty or unconfirmed; border and a light tint from the notice's warning
   family; colour is an extra cue only, the label, notice and messages carry the words. „zu-fuellen“ and „gefuellt“
   (quick 261019-fst) use the same attribute and precedence, below. */
@media (prefers-reduced-motion:no-preference){
:is(.field,[data-feld])[data-feld-zustand]:not(.is-invalid,:focus-within,:has([aria-invalid="true"])) :is(.field__input,.field__affix,.date-control,.select-trigger):not(.field__affix *){transition:border-color var(--dur-micro) var(--ease-spring),background-color var(--dur-micro) var(--ease-spring)}
}
.field[data-feld-zustand="pruefen"]:not(.is-invalid,:focus-within,:has([aria-invalid="true"])) :is(.field__input,.field__affix,.date-control,.select-trigger):not(.field__affix *){border-color:var(--warning);background:var(--field)}
@media (prefers-contrast:more){
  .field[data-feld-zustand="pruefen"]:not(.is-invalid,:focus-within,:has([aria-invalid="true"])) :is(.field__input,.field__affix,.date-control,.select-trigger):not(.field__affix *){box-shadow:inset 0 0 0 1px var(--warning)}
}
@media (forced-colors:active){
  .field[data-feld-zustand="pruefen"]:not(.is-invalid,:focus-within,:has([aria-invalid="true"])) :is(.field__input,.field__affix,.date-control,.select-trigger):not(.field__affix *){border-style:dashed;border-color:CanvasText;box-shadow:none}
}
/* Blue field states (quick 261019-fst, Roux 19 Oct 2026: „all input bars that aren't filled, need to have this.
   EXCEPT, when the user gets the orange box“, „the email input bar should be borderless blue, and once clicked, should
   have the appropriate color scheme“). app/js/feld-zustand.js is the one writer of the attribute; a bar outside the
   shared field builder (the activity select, a share) marks its own wrapper [data-feld]. „zu-fuellen“: a required field
   that is still empty, borderless on --choice-open-fill, the light blue of the grouped-answer track. „gefuellt“: a
   required field that holds a value keeps the bar's own resting look, the calm white field with its hairline edge,
   exactly like an optional field. Optional, disabled and read-only fields carry no state and are never blue. Same
   precedence: „fehler“, then „aktiv“ (focus within, or its own menu or calendar open: the white bar with the blue
   edge), then the value state; „pruefen“ (orange) is decided before „zu-fuellen“. Increased contrast keeps the 3:1
   edge on the blue bar; forced colours draw a solid system edge. Colour is an extra cue: labels, aria-required and the
   messages carry the words. No state draws a ring. */
:is(.field,[data-feld])[data-feld-zustand="zu-fuellen"]:not(.is-invalid,:focus-within,:has([aria-invalid="true"]),:has([aria-expanded="true"])) :is(.field__input,.field__affix,.date-control,.select-trigger):not(.field__affix *){border-color:var(--control-border);background:var(--field)}
@media (prefers-contrast:more){
  :is(.field,[data-feld])[data-feld-zustand="zu-fuellen"]:not(.is-invalid,:focus-within,:has([aria-invalid="true"]),:has([aria-expanded="true"])) :is(.field__input,.field__affix,.date-control,.select-trigger):not(.field__affix *){border-color:var(--control-border)}
}
@media (forced-colors:active){
  :is(.field,[data-feld])[data-feld-zustand="zu-fuellen"]:not(.is-invalid,:focus-within,:has([aria-invalid="true"]),:has([aria-expanded="true"])) :is(.field__input,.field__affix,.date-control,.select-trigger):not(.field__affix *){border-style:solid;border-color:CanvasText}
}
@media (prefers-reduced-motion:reduce){
  :is(.field,[data-feld])[data-feld-zustand] :is(.field__input,.field__affix,.date-control,.select-trigger){transition:none}
}
/* The unit choice inside a quantity bar (quick 261020-qty, Roux 20 Oct 2026: „Should confirm unit be on the right hand
   side? So that the error message can go bottom left?“). The unit is a choice, so it lives in the field: its control is
   its own [data-feld] (ui.js quantityUnitControl), and a required unit still to choose paints only its trigger light
   blue, also when the number is filled; the bar follows the number. No „Einheit bestätigen“ line under the field: an
   unchosen unit says it in its own trigger and accessible name, so a message under the field stands alone, bottom
   left. Once chosen the trigger has the normal chosen look of the unit select. Same precedence as the bar: the quantity
   field's error and its orange „pruefen“ (the repair notice lists the unit) win, then the unit's own focus or open
   menu, then the blue. The segment ends the bar, so increased contrast adds a 3:1 edge on its leading side only and forced
   colours a system edge there; the box keeps its size (the forced edge takes its width from the leading padding). */
.field--unit-choice:not(.is-invalid,:has([aria-invalid="true"]),[data-feld-zustand="pruefen"]) .field__unit-control[data-feld-zustand="zu-fuellen"]:not(.is-invalid,:focus-within,:has([aria-invalid="true"]),:has([aria-expanded="true"])) .select-trigger{background:var(--field)}
@media (prefers-contrast:more){
  .field--unit-choice:not(.is-invalid,:has([aria-invalid="true"]),[data-feld-zustand="pruefen"]) .field__unit-control[data-feld-zustand="zu-fuellen"]:not(.is-invalid,:focus-within,:has([aria-invalid="true"]),:has([aria-expanded="true"])) .select-trigger{box-shadow:inset 1px 0 0 var(--control-border)}
}
@media (forced-colors:active){
  .field--unit-choice:not(.is-invalid,:has([aria-invalid="true"]),[data-feld-zustand="pruefen"]) .field__unit-control[data-feld-zustand="zu-fuellen"]:not(.is-invalid,:focus-within,:has([aria-invalid="true"]),:has([aria-expanded="true"])) .select-trigger{border-inline-start:1px solid CanvasText;padding-inline-start:calc(var(--sp-3) - 1px)}
}
/* Number format/interpretation is separate from factual bill confirmation. */
.numeric-feedback{display:block;min-width:0;margin-top:var(--field-hint-gap);font-size:var(--type-caption);font-weight:var(--weight-body);line-height:var(--line-copy);color:var(--muted);overflow-wrap:break-word}
.numeric-feedback__message{display:flex;align-items:flex-start;gap:var(--gap-related);margin:0}
.numeric-feedback__message > span:last-child{min-width:0;overflow-wrap:break-word}
/* Center against the first caption line, including when the message wraps.
   The icon's own line-height is0, so derive leading from the shared copy role. */
.numeric-feedback__message > .icon{flex:none;align-self:flex-start;width:var(--icon-inline);height:var(--icon-inline);margin-block-start:max(0px,calc((1em * var(--line-copy) - var(--icon-inline)) / 2))}
.numeric-feedback[data-number-state="invalid"]{color:var(--error)}
.numeric-feedback[data-number-state="ambiguous"]{color:var(--warning)}
.numeric-choices{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--gap-related) var(--gap-content);margin-top:var(--gap-related)}
.numeric-choices > .btn--plain{flex:0 1 auto;min-width:0;max-width:100%;min-height:var(--target-min);margin:0;padding:var(--sp-2) 0;font-size:inherit;text-align:start;white-space:normal}
.row--feld > .numeric-feedback{grid-column:1 / -1}
.field__note .icon{width:18px;height:18px}
.field.is-prefilled .field__note .icon{color:var(--label-2)}
.search{position:relative;display:block}
.search > .icon{position:absolute;left:var(--sp-3);top:50%;margin-top:-10px;width:20px;height:20px;color:var(--label-2);pointer-events:none}
.search__input{
  width:100%;min-height:max(var(--target-min),calc(var(--t-body) * 22 / 17 + 2px));padding:0 var(--sp-4) 0 calc(var(--sp-3) + 20px + var(--sp-2));
  border:1px solid var(--control-border);border-radius:var(--r-capsule);background:var(--field);color:var(--label-1);font:inherit;font-size:var(--t-body);line-height:calc(22 / 17);
}
.search__input::placeholder{color:var(--label-3)}
.row__source,.row > .hint{grid-column:1 / -1;margin-top:var(--sp-1)}
.row--feld > label.field,.row.is-editing > label.field{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:var(--sp-2);margin:0}
.row--feld .field__input,.row--feld .field__affix,
.row.is-editing .field__input,.row.is-editing .field__affix{min-height:max(var(--quantity-min-height,var(--target-min)),calc(var(--t-body) * 22 / 17 + 2px));border-radius:var(--r-control);background:var(--field);line-height:calc(22 / 17);text-align:end}
.row--feld .field__affix > .field__input,
.row.is-editing .field__affix > .field__input{min-height:max(var(--target-min),calc(var(--quantity-min-height,var(--target-min)) - 2px),calc(var(--t-body) * 22 / 17));padding:0;border:0;border-radius:0;background:none}
.row--feld .field__note,.row--feld .hint,
.row.is-editing > label.field .field__note,.row.is-editing > label.field .hint{grid-column:1 / -1}
@container (min-width:22em){
  .row--feld > label.field,.row.is-editing > label.field{grid-template-columns:minmax(0,1fr) min(55%,14em);column-gap:var(--sp-3)}
  .row--feld .field__label,.row.is-editing > label.field .field__label{grid-column:1;color:var(--label-1);font-size:var(--t-body)}
}
.hint{display:flex;align-items:flex-start;gap:var(--sp-2);margin:0;color:var(--warning);font-size:var(--t-subhead);line-height:var(--line-control)}
.hint > .icon{flex:none;width:18px;height:18px;margin-top:1px}
.hint > p,.hint > div,.hint > span:not(.icon){min-width:0;overflow-wrap:break-word}
.hint--error{color:var(--error)}
/* The orange review notice (ui.pruefHinweis): the Review card's bill notice and the repair sheet's one instruction,
   one component (quick 261019-shd moved it here from the Review screen's stylesheet, values unchanged). */
.hint.review-source-guidance{margin:var(--gap-card) 0 0;padding:var(--gap-group);border-radius:var(--inset-radius);background:var(--card);gap:var(--icon-label-gap);font-size:var(--type-small);line-height:var(--line-body);color:var(--warning)}
/* Roux 19 Oct 2026 audit (261019-aud F7, ui.pruefHinweis): the glyph sits on the first text line's centre and the text
   starts on the glyph row; the paragraphs carry no browser margin, so a lone line (the sheet's count notice) is one row. */
.hint.review-source-guidance>.icon{width:var(--icon-help);height:var(--icon-help);margin-top:max(0px,calc((1em * var(--line-body) - var(--icon-help)) / 2))}
.hint.review-source-guidance p,.hint.review-source-guidance ul{margin:0;color:var(--ink)}
.hint.review-source-guidance>div{min-width:0}
.hint.review-source-guidance .review-source-guidance__title{font-weight:var(--weight-emphasis)}
.hint.review-source-guidance p+p{margin-top:var(--gap-related);font-size:var(--type-caption);line-height:var(--line-copy)}
.hint.review-source-guidance ul{margin-top:var(--gap-related);padding-left:var(--gap-group);line-height:var(--line-copy)}
.card__text .icon,.field__note .icon,.hint > .icon{width:18px;height:18px;--icon-stroke:1.75px}
/* Text fields (Roux: „should the focus rings around input bars be a color?“): the one ring, in every input mode, 2 px in
   the link colour and centred on the field's own edge, so it hugs the bar like the date bar. The link colour keeps at
   least 3:1 against the field and every surface around it in light and dark (B3, tools/check-brand.js). A field in
   error keeps its error colour while it has focus, until the owner types and the error clears. */
:is(input:is([type="text"],[type="search"],[type="email"],[type="tel"],[type="url"],[type="number"],[type="password"],:not([type])),textarea):not(.field__affix > *,.date-control > *):focus,
.field__affix:has(> input:focus),.date-control:has(> .date-text:focus){outline:var(--field-ring-width) solid var(--link);outline-offset:calc(var(--field-ring-width) / -2)}
:is(input,textarea)[aria-invalid="true"]:not(.field__affix > *,.date-control > *):focus,.field.is-invalid .field__input:focus,
.field.is-invalid .field__affix:has(> input:focus),.field__affix:has(> input[aria-invalid="true"]:focus),.date-control:has(> .date-text[aria-invalid="true"]:focus){outline-color:var(--error)}
@media (forced-colors:active){
  :is(input:is([type="text"],[type="search"],[type="email"],[type="tel"],[type="url"],[type="number"],[type="password"],:not([type])),textarea):not(.field__affix > *,.date-control > *):focus,
  .field__affix:has(> input:focus),.date-control:has(> .date-text:focus),
  :is(input,textarea)[aria-invalid="true"]:not(.field__affix > *,.date-control > *):focus,.field.is-invalid .field__input:focus,
  .field.is-invalid .field__affix:has(> input:focus),.field__affix:has(> input[aria-invalid="true"]:focus),.date-control:has(> .date-text[aria-invalid="true"]:focus){outline-color:Highlight}
}
@media (hover:hover) and (pointer:fine){
  .field__input:not(:disabled):hover,.search__input:hover{border-color:var(--label-3)}
}
/* Approved rounded select menus retain the canonical values without opening an OS popup. */
.select-control{display:block;position:relative;min-width:0;width:100%}
.select-control > select.select-source{display:none!important}
.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);width:100%;min-height:50px;padding:var(--field-padding-y) var(--field-padding-x);border:1px solid var(--control-border);border-radius:var(--r-control);background:var(--field);color:var(--ink);font:inherit;font-weight:var(--weight-body);line-height:var(--line-body);text-align:start;cursor:pointer;-webkit-tap-highlight-color:transparent}
.select-trigger-label{min-width:0;overflow-wrap:break-word}
.select-trigger > .icon{flex:none;width:16px;height:20px;color:var(--label-2)}
.select-trigger[aria-expanded="true"]{border-color:var(--link)}
.select-trigger[aria-invalid="true"]{border-color:var(--error)}
.select-trigger:disabled{color:var(--label-4);cursor:default}
@media (hover:hover) and (pointer:fine){.select-trigger:hover:not(:disabled){background:color-mix(in srgb,var(--field) 94%,var(--ink))}}
@media (prefers-reduced-motion:no-preference){
  .select-trigger:active{transform:scale(.99)}
  .select-trigger{transition:background-color var(--dur-micro) var(--ease-spring),border-color var(--dur-micro) var(--ease-spring),transform var(--dur-micro) var(--ease-spring)}
}
@media (prefers-reduced-motion:reduce){
  .btn,.select-trigger,.dropzone,.navbar__title,.disclosure[data-disclosure-motion] > summary > .disclosure__symbol > .icon{transition:none!important}
  .btn:active,.select-trigger:active{transform:none!important}
}

/* The amount field of the guided library (16-16, D-01, D-04, D-20; the frozen s02, s02b, s02c, s02d, s02g, s02h): one white box with the
   number right-aligned and its unit as a control inside, at the trailing end, behind a neutral divider. The fine edge is an inset shadow,
   exactly as the frozen frames draw it; the field being typed in takes the link-blue 2 px edge, an entry the app cannot use the red one
   (never while typing: the kit sets aria-invalid only when the owner has left the field), and the divider keeps its neutral colour
   throughout. An empty field draws no „0“ and no placeholder. The wrapper .menge-feld holds the box and the response line under it. */
.menge-feld{display:block;min-width:0}
.menge__zahl{display:contents}
.datum-feld .date-trigger > .icon{width:var(--icon-context);height:var(--icon-context)}
@container (max-width:18em){.field .date-trigger > .icon{width:var(--icon-context);height:var(--icon-context)}}
.menge-feld .numeric-feedback .btn--plain > .icon{width:var(--icon-text-small);height:var(--icon-text-small)}
.menge-beschriftet{display:grid;gap:var(--sp-label);min-width:0}
.menge{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;min-height:var(--betrag-hoehe);border-radius:var(--betrag-radius);background:var(--field);box-shadow:inset 0 0 0 var(--ring-fine) var(--control-border);overflow:hidden}
@media (min-width:768px){.menge{max-width:var(--betrag-breite)}}
.menge input.menge__wert{align-self:center;box-sizing:border-box;min-width:0;min-height:var(--target-min);width:100%;margin:0;padding:0 var(--sp-4);border:0;border-radius:0;background:none;color:var(--label-1);font:inherit;font-size:var(--betrag-schrift);font-weight:var(--weight-emphasis);font-variant-numeric:tabular-nums;line-height:var(--lh-body);text-align:end;-webkit-appearance:none;appearance:none}
.menge input.menge__wert:focus{outline:none}
.menge__einheit{display:flex;align-items:stretch;min-width:0;color:var(--label-2);font-size:var(--t-body);border-left:var(--ring-fine) solid var(--control-border)}
.menge__einheit > .select-control{display:flex;width:auto;min-width:0}
.menge__einheit .select-trigger{align-self:stretch;gap:var(--betrag-einheit-abstand);width:auto;min-height:0;padding:0 var(--feld-innenrand);border:0;border-radius:0;background:none;color:inherit;font:inherit;line-height:inherit}
.menge__einheit .select-trigger > .icon{width:var(--betrag-einheit-symbol);height:var(--betrag-einheit-symbol);color:var(--label-3)}
.menge__einheit .select-trigger.is-placeholder{color:inherit}
.menge__einheit-text{display:flex;align-items:center;padding:0 var(--feld-innenrand)}
.menge:focus-within{box-shadow:inset 0 0 0 var(--field-ring-width) var(--link)}
.menge:has(input.menge__wert[aria-invalid="true"]){box-shadow:inset 0 0 0 var(--field-ring-width) var(--error)}
@media (forced-colors:active){
  .menge{border:1px solid CanvasText}
  .menge:focus-within{outline:var(--field-ring-width) solid Highlight;outline-offset:calc(-1 * var(--field-ring-width))}
}

/* The response line (16-16, D-11, D-40; the frozen s02c, s02d, s09f, s14c, s21d): every line that answers what the owner did, under a
   field, above a dimmed button or as the tick's reason, starts with its triangle, 1.2 em and growing with the text, in its status colour;
   the words stand in the readable dark shade of that colour (orange: please check; red: an entry the app cannot use); a standing note
   keeps its coloured symbol with grey words. Left-aligned, 4 pt in from the field's edge, 8 pt under it. The line is no live region; the
   field that shows it after an owner action says it once through sage. */
.antwort-zeile{display:grid;grid-template-columns:var(--icon-inline) minmax(0,1fr);gap:var(--sp-2);align-items:start;margin:var(--sp-line) var(--sp-1) 0;font-size:var(--t-subhead);line-height:var(--line-control);text-align:left;color:var(--antwort-warn)}
/* Large text (merge of 16-15 and 16-16, coordinator 25 Oct 2026): once app/js/leiste.js marks the root html.text-enlarged, the app's rule of
   app.css (html.text-enlarged … #screen > main{hyphens:auto}) would hyphenate these lines; the frozen frames break them at spaces at every text
   size, so they keep the browser's own breaking (decided by the frozen reference). */
.antwort-zeile,.suche__leer{-webkit-hyphens:manual;hyphens:manual}
.antwort-zeile > .icon{width:var(--icon-inline);height:var(--icon-inline);margin-top:var(--antwort-symbol-versatz);color:var(--status-orange)}
.antwort-zeile--warn{color:var(--antwort-warn)}
.antwort-zeile--fehler{color:var(--antwort-fehler)}
.antwort-zeile--fehler > .icon{color:var(--status-red)}
.antwort-zeile--notiz{color:var(--label-2)}
.antwort-zeile--text{display:block;color:var(--label-1)}
.antwort-zeile__adresse{white-space:nowrap}
@container (max-width:18em){.antwort-zeile__adresse{white-space:normal;overflow-wrap:break-word}}
.menge-feld > .numeric-feedback{margin-top:0}

/* The one-line text field (16-16, D-20; the frozen s21, s21b, s21d): the label above, 6 pt over the field, the field white with its fine
   edge, one line at every text size (an ellipsis at rest; while it is typed in the browser shows the end with the cursor) and growing
   in height with its text. Link blue while typed in, orange for the one field that needs the owner, red for an entry the app cannot use
   (never while typing: the kit sets aria-invalid only after the owner has left the field). */
.textfeld-block{display:block;min-width:0}
.textfeld{display:grid;gap:var(--sp-label);min-width:0}
.textfeld__label{font-size:var(--t-subhead);color:var(--label-2)}
.textfeld__box{display:flex;align-items:center;box-sizing:border-box;min-width:0;min-height:var(--button-h);padding:0 var(--sp-4);border-radius:var(--r-control);background:var(--field);box-shadow:inset 0 0 0 var(--ring-fine) var(--control-border);font-size:var(--t-body)}
/* R5-04 (WCAG 2.5.8, 44 pt): the box's 12 pt above and below the text belong to the input (its padding), so the whole drawn field takes the tap and the
   keyboard: the input stretches over the box's height, never under 44 pt, and the box stays as high as before (padding + one line, or --button-h). */
.textfeld input.textfeld__eingabe{flex:1 1 auto;align-self:stretch;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:var(--sp-3) 0;border:0;border-radius:0;background:none;color:var(--label-1);font:inherit;line-height:var(--lh-body);height:auto;min-height:calc(1em * var(--lh-body) + 2 * var(--sp-3));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-appearance:none;appearance:none}
.textfeld input.textfeld__eingabe::placeholder{color:var(--label-3);opacity:1}
.textfeld input.textfeld__eingabe:focus{outline:none}
/* Orange only while the field is not being typed in: the focused field takes the link-blue edge, as every field does (the app's own rule above excludes :focus-within too). */
.textfeld[data-feld-zustand="pruefen"] .textfeld__box:not(:focus-within){box-shadow:inset 0 0 0 var(--field-ring-width) var(--warning)}
/* At large text or in a narrow column the box clips its one line (the frozen frames draw it so: the ellipsis at rest, the end with the cursor while typing). */
@container (max-width:18em){.textfeld__box{overflow:hidden}}
.textfeld__box:focus-within{box-shadow:inset 0 0 0 var(--field-ring-width) var(--link)}
.textfeld__box:has(input.textfeld__eingabe[aria-invalid="true"]){box-shadow:inset 0 0 0 var(--field-ring-width) var(--error)}

/* Additive field forms (16-58 Task 5). Labels use the shared label step; response lines keep their one place below
   a pair. At accessibility sizes the reading order is label, control, label, control, then each response line. */
.kennung-feld input.textfeld__eingabe{font-variant-numeric:tabular-nums}
.feld-paar,.feld-paar--schmal{min-width:0;container-type:inline-size;font-size:var(--u)}
.datum-block,.ust-id-block{display:block;min-width:0}
.feld-paar__inhalt{min-width:0;font-size:var(--t-body)}
.feld-paar__raster{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--sp-item)}
.feld-paar__raster--schmal{grid-template-columns:calc(7 * var(--sp-4)) minmax(0,1fr)}
.feld-paar__antwort:empty{display:none}
/* the two fields of a pair stand in its grid: the field-to-field step of the column (10-frage.css) is the grid's gap here, never a margin */
.feld-paar__raster > .textfeld-block + .textfeld-block{margin-top:0}
.datum-feld{display:grid;gap:var(--sp-label);min-width:0;font-size:var(--t-body)}
.datum-feld > .textfeld__label{padding-inline:var(--sp-1)}
/* The field family owns the real native calendar action too. These are calendar.css's unchanged control rules;
   its global rules still serve retained callers and the actual calendar popover until 16-38. */
.datum-feld .date-trigger{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:var(--target-min);height:var(--target-min);min-height:var(--target-min);margin:0;padding:0;border:0;border-radius:var(--r-control);background:none;color:var(--link);font:inherit;cursor:pointer}
.datum-feld .date-trigger>.icon{flex:none;width:var(--icon-context);height:var(--icon-context);color:var(--link)}
.datum-feld .date-trigger:disabled{color:var(--muted);cursor:default}
.datum-feld .date-trigger:disabled>.icon{color:var(--muted)}
/* The date control is date-picker.js's own, drawn by calendar.css as the frames draw it (its fine --line edge, the link-blue calendar
   symbol, the link edge while its calendar is open, proportional figures). A date that needs the owner, or one the app cannot use, takes
   the field's two-point edge in orange or red, white inside (s02k): the fine edge and an inner ring of the same colour. */
.datum-feld[data-feld-zustand="pruefen"] .date-control:not(:focus-within){border-color:var(--warning);box-shadow:inset 0 0 0 var(--ring-fine) var(--warning)}
.datum-feld .date-control:has(.date-text[aria-invalid="true"]){box-shadow:inset 0 0 0 var(--ring-fine) var(--error)}
/* On the computer the ID field's box keeps the drawn width of eleven digits (420 pt) while its label and response line take the column. */
@media (min-width:768px){
  .kennung-feld .textfeld__box{max-width:calc(var(--betrag-breite) + var(--sp-12) + var(--sp-item))}
  .feld-paar--gleich > .feld-paar__raster{max-width:var(--betrag-breite)}
}
@container (max-width:18em){.feld-paar__raster{grid-template-columns:minmax(0,1fr)}}
/* The VAT row is a row of its group: the row above draws the hairline between them (50-listen.css, as every row's), and it is positioned as every
   row is (.zeile), so its edge paints over the hairline where they meet; its edge follows the card's corners at the group's end. */
.ust-id-zeile.textfeld{position:relative;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--sp-item);min-height:var(--target-min);padding:var(--row-pad) var(--row-inset)}
.ust-id-zeile > .textfeld__label{color:var(--label-2);font-size:var(--t-subhead);white-space:nowrap}
.ust-id-zeile > .textfeld__box{min-height:0;padding:0;border-radius:0;background:none;box-shadow:none}
.ust-id-zeile input.textfeld__eingabe{align-self:auto;padding:0;height:calc(1em * var(--lh-body));min-height:0;text-align:end;font-size:var(--t-body);font-variant-numeric:tabular-nums;letter-spacing:.01em;line-height:var(--line-heading)}
.ust-id-zeile > .textfeld__box:has(input[aria-invalid="true"]),.ust-id-zeile.textfeld[data-feld-zustand="pruefen"] > .textfeld__box:not(:focus-within){box-shadow:none}
/* At large text the label stands over the number, as a row's label and value stack (Apple's Settings at accessibility sizes); the number stays one line. */
@container (max-width:18em){
  .ust-id-zeile.textfeld{grid-template-columns:minmax(0,1fr);row-gap:var(--row-text-gap)}
  .ust-id-zeile input.textfeld__eingabe{text-align:start}
}
.ust-id-zeile:focus-within{box-shadow:inset 0 0 0 var(--field-ring-width) var(--link)}
.ust-id-zeile[data-feld-zustand="pruefen"]:not(:focus-within){box-shadow:inset 0 0 0 var(--field-ring-width) var(--warning)}
.ust-id-zeile:has([aria-invalid="true"]){box-shadow:inset 0 0 0 var(--field-ring-width) var(--error)}
@media (forced-colors:active){
  /* a date that needs the owner keeps a form of its own where colours are forced: the dashed edge of the app's fields (components.css) */
  .datum-feld[data-feld-zustand="pruefen"] .date-control:not(:focus-within){border-style:dashed;border-color:CanvasText}
  .ust-id-zeile{border:var(--ring-fine) solid CanvasText}
  .ust-id-zeile:focus-within{outline:var(--field-ring-width) solid Highlight;outline-offset:calc(-1 * var(--field-ring-width))}
}
@media (forced-colors:active){
  .textfeld__box{border:1px solid CanvasText}
  .textfeld__box:focus-within{outline:var(--field-ring-width) solid Highlight;outline-offset:calc(-1 * var(--field-ring-width))}
}

/* The search field (16-16; the frozen s06, s06c): the symbol, a one-line search input and, once it holds text, the clear mark; 52 pt high,
   white with its fine edge, link blue while typed in. Under it one grouped result list: rows of a title and its official caption ending in a
   chevron, an activity without relief with the orange „i“; keyboard focus on a row is the app's focus fill, never a ring. */
.suche-block{display:block;min-width:0}
.suche{display:flex;align-items:center;gap:var(--suche-abstand);height:var(--suche-hoehe);padding:0 var(--sp-4);border-radius:var(--r-control);background:var(--field);box-shadow:inset 0 0 0 var(--ring-fine) var(--control-border);color:var(--label-1);font-size:var(--t-body)}
.suche:has(.suche__eingabe:placeholder-shown){color:var(--label-3)}
.suche > .icon{flex:none;width:var(--icon-action);height:var(--icon-action);color:var(--label-2)}
.suche input.suche__eingabe{flex:1 1 auto;box-sizing:border-box;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;color:var(--label-1);font:inherit;text-overflow:ellipsis;-webkit-appearance:none;appearance:none}
.suche input.suche__eingabe:focus{outline:none}
.suche input.suche__eingabe::placeholder{color:var(--label-3);opacity:1}
.suche input.suche__eingabe::-webkit-search-cancel-button,.suche input.suche__eingabe::-webkit-search-decoration{display:none;-webkit-appearance:none}
.suche:focus-within{box-shadow:inset 0 0 0 var(--field-ring-width) var(--link)}
.suche__leeren{position:relative;display:grid;place-items:center;flex:none;width:var(--icon-action);height:var(--icon-action);margin:0;padding:0;border:0;border-radius:50%;background:var(--label-3);color:var(--card);font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
/* The mark is drawn 20 pt but pressed over a 44 pt target (HIG): the pointer's area reaches half the difference beyond the drawing on every side. */
.suche__leeren::before{content:"";position:absolute;inset:calc((var(--icon-action) - var(--target-min)) / 2)}
.suche__leeren > .icon{width:var(--suche-leeren-symbol);height:var(--suche-leeren-symbol);--icon-stroke:var(--suche-leeren-strich)}
.suche:has(.suche__eingabe:placeholder-shown) .suche__leeren{display:none}
.suche__ergebnisse:empty{display:none}
.suche__abschnitt{margin:var(--sp-topic) var(--row-inset) var(--sp-label);font-size:var(--t-footnote);font-weight:var(--weight-emphasis);color:var(--label-2)}
.suche__gruppe{margin:var(--sp-item) 0 0;padding:0;list-style:none;border-radius:var(--r-card);background:var(--card);overflow:hidden}
.suche__abschnitt + .suche__gruppe{margin-top:0}
.suche__zeile{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--sp-3);align-items:center;width:100%;min-height:var(--target-min);margin:0;padding:var(--row-pad) var(--feld-innenrand);box-sizing:border-box;border:0;border-top:var(--ring-fine) solid var(--line);border-radius:0;background:none;color:inherit;font:inherit;text-align:start;cursor:pointer}
.suche__gruppe > li:first-child > .suche__zeile{border-top:0}
.suche__zeile--ohne{grid-template-columns:var(--icon-context) minmax(0,1fr) auto}
.suche__marke{display:grid;place-items:center;width:var(--icon-context);height:var(--icon-context);color:var(--status-orange)}
.suche__marke > .icon{width:var(--icon-context);height:var(--icon-context)}
.suche__text{display:block;min-width:0}
.suche__titel{display:block;font-size:var(--t-body);font-weight:var(--weight-emphasis);line-height:var(--line-heading);color:var(--label-1)}
.suche__detail{display:block;font-size:var(--t-subhead);line-height:var(--line-heading);color:var(--label-2)}
.suche__pfeil{display:grid;place-items:center;align-self:center;width:var(--icon-detail);height:var(--icon-detail);color:var(--label-3)}
.suche__pfeil > .icon{display:block;width:var(--icon-detail);height:var(--icon-detail)}
.suche__leer{display:grid;grid-template-columns:var(--icon-action) minmax(0,1fr);gap:var(--suche-abstand);margin:var(--sp-item) 0 0;padding:var(--sp-4) var(--feld-innenrand);border-radius:var(--r-card);background:var(--card);font-size:var(--t-callout);line-height:var(--line-control);color:var(--label-2)}
.suche__leer > .icon{width:var(--icon-action);height:var(--icon-action);margin-top:var(--suche-leer-versatz);color:var(--label-2)}
@container (max-width:18em){
  .antwort-zeile,.suche__leer{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}
  .antwort-zeile__adresse{white-space:normal;hyphens:manual;-webkit-hyphens:manual;overflow-wrap:break-word}
}
@media (forced-colors:active){
  .suche{border:1px solid CanvasText}
  .suche:focus-within{outline:var(--field-ring-width) solid Highlight;outline-offset:calc(-1 * var(--field-ring-width))}
}

/* Large-text amount overrides follow the resting field, including its desktop width cap. */
@container (max-width:18em){
  .menge{display:flex;flex-wrap:wrap;max-width:none;width:100%;align-items:stretch}
  .menge__zahl{display:grid;flex:1 0 auto;width:max-content;max-width:100%;min-width:0;font-size:var(--betrag-schrift);font-weight:var(--weight-emphasis);font-variant-numeric:tabular-nums;line-height:var(--lh-body)}
  .menge__zahl::after{content:attr(data-wert) / "";grid-area:1 / 1;padding:0 var(--sp-4);min-height:var(--betrag-hoehe);display:flex;align-items:center;visibility:hidden;white-space:pre;user-select:none;pointer-events:none}
  .menge__zahl > input.menge__wert{grid-area:1 / 1;width:0;min-width:100%}
  .menge__einheit{flex:0 0 auto;margin-inline-start:auto;min-height:var(--target-min);border-top:var(--ring-fine) solid var(--control-border)}
}
/* design/kit/40-flaechen.css */
/* The surfaces family: sheets, the contextual Help, menus and the push layers (16-11, D-01). The rules below moved here unchanged from the shared stylesheet; one family file, edited only by
   its own package. Tokens only, no raw colour (tools/check-brand.js), no route selector (check-app C21). */

/* Modal controls own the foreground material; inert page controls keep their fill and edge without another blur layer. */
html:has(dialog.sheet[open]) #navbar :is(.btn--glass,.glass-capsule){-webkit-backdrop-filter:none;backdrop-filter:none}
dialog.sheet:not([open]) .sheet__close{-webkit-backdrop-filter:none;backdrop-filter:none}
/* ---------- overlays and disclosure (§8.5) ---------- */
/* Geometry only: native fixed boundary under mobile overflow, keyboard and viewport pan. */
.sheet-viewport-probe{position:fixed;top:0;bottom:0;left:0;width:0;visibility:hidden;pointer-events:none;border:0;margin:0;padding:0}
.sheet{
  --sheet-inline:var(--sheet-padding);
  position:fixed;z-index:21;left:0;right:0;bottom:0;margin:0;
  max-height:calc(var(--vv-h,100dvh) - env(safe-area-inset-top,0px) - var(--sp-3));overflow:auto;overscroll-behavior:contain;touch-action:pan-y;
  scroll-padding-top:calc(var(--sheet-head-h,0px) + var(--sheet-header-body-gap));
  padding:0 var(--sheet-inline) max(var(--sheet-body-bottom),env(safe-area-inset-bottom,0px));
  border:0;border-radius:var(--r-sheet) var(--r-sheet) 0 0;background:var(--surface);color:var(--label-1);font-size:var(--type-callout);line-height:var(--line-sheet);
}
.sheet__grabber{position:absolute;z-index:3;top:0;left:50%;transform:translateX(-50%);display:block;width:64px;height:44px;
  margin:0;padding:0;border:0;border-radius:var(--r-capsule);background:none;cursor:pointer}
.sheet__grabber::before{content:"";position:absolute;top:var(--sp-1);left:50%;transform:translateX(-50%);
  width:36px;height:5px;border-radius:var(--r-capsule);background:var(--label-4);pointer-events:none}
.sheet[open]{will-change:transform,translate,scale,opacity;translate:0 0;scale:1}
@media (max-width:767.98px){.sheet[open]{transform:translate3d(0,0,0)}}
.sheet__title{min-width:0;overflow-wrap:break-word;margin:0 0 var(--sp-2);font-size:var(--t-title-2);font-weight:var(--weight-emphasis);letter-spacing:normal;line-height:var(--lh-control);text-align:start}
.sheet h3{min-width:0;overflow-wrap:break-word}
/* One native toolbar: the first title line and Close share a center, even when the title wraps.
   Nonnegative offsets derive from the title line and44px target; the full header stays top-aligned. */
.sheet__head{display:grid;grid-template-columns:minmax(0,1fr) var(--target-min);align-items:start;gap:var(--gap-group);min-height:var(--target-min);
  padding-block-start:var(--gap-section);margin:0 0 var(--sheet-header-body-gap);margin-inline-end:calc(var(--sheet-scroll-gutter,0px) * -1)}
.sheet__head .sheet__title{margin:0;padding-block-start:max(0px,calc((var(--target-min) - 1lh) / 2))}
/* Quiet transient indicators retain the real native scroll area and keyboard behavior. */
dialog.sheet{scrollbar-width:thin;scrollbar-color:transparent transparent}
dialog.sheet.is-scrolling{scrollbar-color:var(--scroll-indicator-color) transparent}
/* Chromium's non-auto standard properties override its scrollbar pseudo-elements,
   including hidden arrow buttons. Keep the standard thin fallback for Firefox. */
@supports selector(::-webkit-scrollbar){dialog.sheet,dialog.sheet.is-scrolling{scrollbar-width:auto;scrollbar-color:auto}}
dialog.sheet::-webkit-scrollbar{width:var(--scroll-indicator-width);height:var(--scroll-indicator-width);background:transparent}
dialog.sheet::-webkit-scrollbar-track,dialog.sheet::-webkit-scrollbar-corner{background:transparent}
dialog.sheet::-webkit-scrollbar-button{display:none;width:0;height:0}
dialog.sheet::-webkit-scrollbar-thumb{background:transparent;border-radius:var(--r-capsule)}
dialog.sheet.is-scrolling::-webkit-scrollbar-thumb{background:var(--scroll-indicator-color)}
@media(hover:hover) and (pointer:fine){dialog.sheet::-webkit-scrollbar-thumb:hover{background:var(--scroll-indicator-color)}}
@media(prefers-contrast:more){dialog.sheet{scrollbar-color:var(--label-2) transparent}dialog.sheet::-webkit-scrollbar-thumb{background:var(--label-2)}}
@media(forced-colors:active){dialog.sheet{scrollbar-color:auto}dialog.sheet::-webkit-scrollbar-thumb{background:CanvasText}}
.sheet__head,.sheet__grabber{touch-action:none}
.sheet__close{justify-self:start;display:inline-flex;align-items:center;justify-content:center;width:var(--target-min);height:var(--target-min);margin:0;margin-block-start:max(0px,calc((var(--t-title-2) * var(--lh-control) - var(--target-min)) / 2));padding:0;border:0;border-radius:var(--r-capsule);cursor:pointer}
@media (max-width:767.98px){
  .sheet[data-detent]{transition:height var(--dur-present) var(--ease-present),inset var(--dur-present) var(--ease-present)}
  .sheet[data-detent="medium"],.sheet[data-detent="fit"]:not([data-angedockt="ja"]){left:var(--sheet-inset);right:var(--sheet-inset);bottom:var(--sheet-inset);
    border:.5px solid var(--glass-edge);border-radius:var(--r-sheet-float)}
  .sheet[data-detent="medium"]{height:calc(var(--vv-h,100dvh) * .5);overflow:hidden}
  .sheet[data-detent="large"],.sheet[data-detent="fit"][data-angedockt="ja"]{left:0;right:0;bottom:0;border:0;border-radius:var(--r-sheet) var(--r-sheet) 0 0}
  .sheet[data-detent="large"]{height:calc(var(--vv-h,100dvh) - env(safe-area-inset-top,0px) - var(--sp-3))}
}
/* D-57 supersedes DR-E2: a surface fade marks the sticky footer; the hairline is a contrast fallback. */
.sheet:has(> .sheet__footer){display:flex;flex-direction:column;padding-bottom:0}
.sheet:has(> .sheet__footer) > *{flex-shrink:0}
.sheet__footer{--sheet-edge-gap:var(--footer-note-gap);position:sticky;bottom:0;z-index:1;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:var(--sheet-edge-gap);margin:var(--sp-4) calc(var(--margin-phone) * -1) 0;padding:var(--action-pad-top) var(--margin-phone) max(var(--action-bottom-min),calc(var(--action-safe-gap) + env(safe-area-inset-bottom,0px)));background:transparent}
/* Native scrollbars already reduce the sheet's client width. The footer reaches that edge. */
.sheet > .sheet__footer{margin-inline:calc(var(--sheet-inline) * -1);padding-inline:var(--sheet-inline);padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}
dialog.sheet.is-feld .sheet__footer{position:static;background:var(--surface)}
.sheet__footer::before{content:"";position:absolute;grid-row:1 / 2;top:calc(var(--bar-edge-auslauf) * -1);bottom:0;left:0;right:0;z-index:-1;pointer-events:none;background:linear-gradient(to bottom,transparent,var(--surface) calc(var(--bar-edge-auslauf) + (100% - var(--bar-edge-auslauf)) * var(--bar-edge-mitte)))}
/* An absolute grid area starts at the first button's bottom and ends at the footer's padding edge, including any notes/actions. */
.sheet__footer::after{content:"";position:absolute;grid-row:2 / auto;top:0;bottom:0;left:0;right:0;z-index:-1;pointer-events:none;background:var(--surface)}
.sheet__footer:has(> :nth-child(2))::after{top:calc(var(--sheet-edge-gap) * -1)}
dialog.sheet.is-feld .sheet__footer::before,dialog.sheet.is-feld .sheet__footer::after{display:none}
.sheet__footer.aktionsleiste::after{display:none}
.sheet__footer > .btn--primary,.sheet__footer > .btn--secondary{width:100%}
/* Actual footer height includes secondary actions and the reserved action note. */
dialog.sheet:not(.sheet-fuss-frei){scroll-padding-bottom:max(var(--sheet-foot-h,0px),calc(var(--button-h) + var(--sp-12)))}
/* Quick 261019-shd (Roux 19 Oct 2026): the head never flows. When space is tight only the footer does. */
dialog.sheet.sheet-fuss-frei{scroll-padding-bottom:0}
.sheet.sheet-fuss-frei > .sheet__footer{position:static}
.sheet.sheet-fuss-frei > .sheet__footer{background:var(--surface)}
.sheet.sheet-fuss-frei > .sheet__footer::before,.sheet.sheet-fuss-frei > .sheet__footer::after{display:none}
/* The pinned head keeps its existing D-57 surface fade while content scrolls under it; the footer has the button-centred edge of 16-59.
   a focused field stops below the head at the resting content edge (.sheet scroll-padding-top), never under it. */
.sheet__head::after{content:"";position:absolute;top:100%;left:0;right:0;height:var(--action-edge-reach);pointer-events:none;opacity:0;background:linear-gradient(to top,transparent,color-mix(in srgb,var(--surface) 12%,transparent) calc(var(--action-edge-reach) * .3),color-mix(in srgb,var(--surface) 65%,transparent) calc(var(--action-edge-reach) * .7),var(--surface) var(--action-edge-reach))}
dialog.sheet.sheet-kopf-schwebt > .sheet__head::after{opacity:1}
/* The footer owns spacing; inline-sheet button margins must not move its fade origin. */
.sheet .sheet__footer > .btn--primary{margin-top:0}
@media (prefers-contrast:more){
  .sheet__footer::before,.sheet__footer::after{display:none}
  .sheet__footer{border-top:var(--hairline) solid var(--line);background:var(--surface)}
  .sheet__head::after{display:none}
  dialog.sheet.sheet-kopf-schwebt > .sheet__head{box-shadow:0 var(--hairline) 0 var(--line)}
}
@media (min-width:768px){
  .sheet{--sheet-inline:var(--sheet-padding);left:50%;right:auto;top:calc(var(--vv-top,0px) + var(--vv-h,100dvh) / 2);bottom:auto;width:min(560px,calc(100% - var(--sp-12)));max-height:calc(var(--vv-h,100dvh) - var(--sp-16));transform:translate3d(-50%,-50%,0);padding:0 var(--sheet-inline) var(--sheet-body-bottom);border:0;border-radius:var(--r-sheet);box-shadow:var(--shadow-float)}
  .sheet__footer{margin-left:calc(var(--sp-8) * -1);margin-right:calc(var(--sp-8) * -1);padding:var(--action-pad-top) var(--sp-8) var(--sp-8)}
  .sheet > .sheet__footer{padding-bottom:28px}
}
html:not([data-eingabe="zeiger"]) .sheet__grabber:focus-visible::before{background:var(--link)}
/* ---------- forced colours (Windows high contrast) ---------- */
@media (forced-colors:active){
  .btn,.choice__item,.field__input,.switch,.sheet{border:1px solid CanvasText}
}
/* A completed opening never retains an animation transform over direct finger tracking or settling. */
.sheet.is-geoeffnet:not(.is-closing),.sheet.is-ziehen{animation:none}
.sheet.is-ziehen{transition:none}
.sheet:is(.is-ziehen,.is-federt){transform:var(--sheet-zug-transform)}
.sheet[data-gehaltene-hoehe]{height:var(--sheet-gehaltene-h)!important}
.sheet.is-federt{transition:transform var(--dur-present) var(--ease-present),height var(--dur-present) var(--ease-present),inset var(--dur-present) var(--ease-present)}
@media (prefers-reduced-motion:reduce){.sheet.is-federt{transition:none}}
.sheet .editor-context{background:var(--inset)}
.utility-options{display:contents}
@media (min-width:768px){
  .sheet__footer{align-items:flex-end;justify-items:end}
  .sheet__footer > .blatt-fuss{justify-self:stretch}
  .sheet__footer > .btn--primary,.sheet__footer > .btn--secondary{width:max-content;max-width:100%;min-width:min(100%,var(--button-min-width))}
}
.sheet__head > .sheet__title{grid-column:1;grid-row:1;text-align:start}
.sheet__head > .sheet__close{grid-column:2;grid-row:1;justify-self:end}
.sheet__head > span[aria-hidden]{display:none}
/* The grabber owns its whole44px target above the sticky title/Close row. */
.sheet:has(> .sheet__grabber) > .sheet__head{margin-top:0}
.sheet__head:has(.utility-options){grid-template-columns:minmax(0,1fr) var(--target-min) var(--target-min)}
.sheet__head:has(.utility-options) > .sheet__close{grid-column:3}
.sheet__head .utility-options > .btn{grid-column:2;grid-row:1;justify-self:end}
@media (max-width:767.98px){
  .sheet,.sheet[data-detent="medium"],.sheet[data-detent="large"],.sheet[data-detent="fit"],.sheet[data-detent="fit"][data-angedockt="ja"]{
    left:var(--sheet-inset);right:var(--sheet-inset);bottom:calc(var(--sheet-inset) + var(--vv-bottom,0px));border-radius:var(--r-sheet);
    max-height:calc(var(--vv-h,100dvh) - env(safe-area-inset-top,0px) - var(--sp-6));overflow:auto}
  .sheet[data-detent="large"]{height:calc(var(--vv-h,100dvh) - env(safe-area-inset-top,0px) - var(--sp-6))}
}
.start-menu[data-start-menu]{position:fixed;inset:auto;top:var(--start-menu-top,var(--sp-12));left:var(--start-menu-left,var(--sp-3));right:auto;
  margin:0;padding:var(--menu-padding);width:260px;min-width:0;max-width:calc(100vw - var(--sp-6));max-height:calc(100dvh - var(--sp-6));
  overflow:auto;border:var(--hairline) solid var(--float-border);border-radius:var(--r-card);background:color-mix(in srgb,var(--surface) 96%,transparent);
  color:var(--ink);box-shadow:var(--shadow-float);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable}
.start-menu .start-menu-group + .start-menu-group{border-top:var(--hairline) solid var(--line);margin-top:0;padding-top:0}
@media (prefers-contrast:more), (prefers-reduced-transparency:reduce){.start-menu[data-start-menu]{background:var(--surface);border-color:var(--control-border)}}
.select-menu{position:fixed;inset:auto;margin:0;padding:var(--select-menu-padding);box-sizing:border-box;border:1px solid var(--float-border);border-radius:var(--select-menu-radius);background:color-mix(in srgb,var(--surface) 96%,transparent);color:var(--ink);box-shadow:var(--shadow-float);-webkit-backdrop-filter:blur(var(--glass-blur));backdrop-filter:blur(var(--glass-blur));overflow:auto;overscroll-behavior:contain;font-family:var(--font-sans);font-size:var(--t-subhead);line-height:var(--line-body);scrollbar-width:thin}
.select-menu{scrollbar-gutter:stable;width:var(--select-menu-w,auto);max-height:var(--select-menu-max-h,none);height:var(--select-menu-h,auto);left:var(--select-menu-left,auto);top:var(--select-menu-top,auto)}
.select-menu::backdrop{background:transparent}
.select-menu-option{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:var(--sp-2);min-height:var(--target-min);padding:var(--sp-3);border-radius:var(--r-control);font-weight:var(--weight-body);cursor:pointer;overflow-wrap:break-word;-webkit-tap-highlight-color:transparent}
.select-menu-option.is-active{background:var(--fill-1)}
@media(max-width:767.98px),(hover:none){
  .select-menu .select-menu-option.is-active{background:transparent;outline:none}
  /* the keyboard's current option: the shared link tint, never a ring (Roux 19 October 2026) */
  .select-menu[data-input-modality="keyboard"] .select-menu-option.is-active{background:var(--focus-fill)}
}
@media (min-width:768px) and (hover:hover) and (pointer:fine){.select-menu-option:hover > :last-child{font-weight:var(--weight-emphasis)}}
.select-menu-option[aria-disabled="true"]{color:var(--label-4);cursor:default}
.select-menu-tick{visibility:hidden;display:grid;place-items:center;width:18px;height:18px}
.select-menu-option[aria-selected="true"] .select-menu-tick{visibility:visible}
.select-menu-group{padding:var(--sp-3) var(--sp-3) var(--sp-1) var(--sp-10);color:var(--label-2);font-size:var(--t-footnote);font-weight:var(--weight-emphasis)}
@media (prefers-contrast:more), (prefers-reduced-transparency:reduce){.select-menu{background:var(--surface);border-color:var(--control-border)}}
@media (forced-colors:active){.select-menu,.select-trigger{background:Canvas;border-color:CanvasText;color:CanvasText}.select-menu-option.is-active{outline:1px solid Highlight}}
@media (min-width:768px){
  dialog.sheet[data-disclosure-anchored]{top:var(--disclosure-sheet-top);bottom:auto;max-height:min(calc(var(--vv-h,100dvh) - var(--sp-16)),var(--disclosure-sheet-available));margin-block:0;transform:translate3d(-50%,0,0)}
  dialog.sheet[data-disclosure-anchored]:not(.is-closing){animation:none}
}
/* Apple's two layers of a screen change (Phase 16, 16-06; DECISIONS night 10, late 28; D-56). navigation-motion.js gives
   the two <main> elements their layer by direction: push-oben above, push-unterlage below. The departing screen, inert and
   hidden from assistive technology, leaves the flow and keeps the area it filled (the engine gives its place), so the
   incoming screen lays out as it will stay. On the phones the upper layer carries the paper and the narrow edge shadow,
   the lower one the dim; both are fixed to the display, so they reach its top and pass under the header. No transition
   here: the paper, the dim and the content move only as WAAPI animations of the push motion. */
.push-oben,.push-unterlage{position:relative}
.push-oben{z-index:2}
.push-unterlage{z-index:1}
:is(.push-unterlage,.push-oben)[inert]{position:fixed;top:var(--push-y,0px);left:var(--push-x,0px);width:var(--push-b,100%);margin:0;box-sizing:border-box}
@media (max-width:767.98px) and (prefers-reduced-motion:no-preference){
  .push-oben::before{content:"";position:fixed;inset:0;z-index:-1;background:var(--paper);box-shadow:var(--push-kante)}
  .push-unterlage::after{content:"";position:fixed;inset:0;z-index:10;background:var(--push-dim);opacity:0;pointer-events:none}
}
/* Optional activity initials rail. Ordinary selectors retain their original
   popup structure; this rail sits beside, outside, the semantic listbox. */
.select-menu--indexed{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:4px;padding:6px;overflow:hidden;scrollbar-gutter:auto}
.select-menu--indexed > .select-menu-list{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;scroll-behavior:auto}
.select-menu--indexed > .select-menu-index{display:flex;flex-direction:column;gap:0;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;scroll-behavior:auto;touch-action:none}
.select-menu--indexed > .select-menu-index::-webkit-scrollbar{display:none}
/* fg-open: the sections share the rail down to their own line, so every initial fits the standard 360 px menu at ordinary text (the
   library menu's 8 px padding left the rail 342 px, under 21 × 16.4); at enlarged text the rail still scrolls on its own */
.select-menu--indexed .select-menu-section{display:grid;place-items:center;flex:1 1 calc(1.2em + 2px);box-sizing:border-box;width:44px;min-height:1.2em;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:var(--label-2);font:inherit;font-size:calc(.75 * var(--u));font-weight:var(--weight-body);line-height:1.2;cursor:pointer;-webkit-tap-highlight-color:transparent}
.select-menu--indexed .select-menu-section.is-current{background:var(--fill-1);color:var(--ink);font-weight:var(--weight-emphasis)}
@media(forced-colors:active){.select-menu--indexed .select-menu-section.is-current{outline:1px solid Highlight;outline-offset:-1px}}
/* Existing sheet bodies stay in the actual native scroll container. */
.sheet > h3{font-size:var(--type-heading);font-weight:var(--weight-emphasis);margin-block:var(--gap-section) var(--gap-related)}
.sheet > p + p{margin-block-start:var(--gap-group)}
/* The header capsule [ ? | ••• ] (quick 261020-hdr, Roux 20 Oct 2026: „if there are helpful questions (blue ones) we can
   have the question mark there and the menu, and when there aren't we have this native animation of it becoming just the 3
   dots“). One glass capsule at the trailing edge of the header (on desktop the content column's edge, F7): „?“ opens this
   screen's help topics, „•••“ the app menu. With no available topic (data-segmente="1") the „?“ segment fades out in place
   while the glass slides from under it into a single round „•••“, and back: margin, opacity and the „•••“ width move on
   the reveal tokens; both header sides reserve the two-segment capsule, so the title never moves. The same question SVG
   and prompt stay mounted across real first-boot preparation; the intro „Brauchen Sie Hilfe ?“ is the „?“ segment itself,
   expanded, and settles into it with the pinned 220 ms collapse. */
.context-help-card.context-help-header{--context-help-focus-width:2px;position:relative;z-index:30;color:var(--ink)}
/* The glass morph (Roux 20 Oct 2026: „The morph animation, the ? moves off to the left, thats not how iOS27+ does it.“):
   nothing renders outside the glass. Each segment clips its content to its own rounded shape, and its glyph is anchored
   to the segment's trailing edge, so a segment that narrows to 0 contracts the glass from its leading edge over a glyph
   that never moves; the glyph dematerializes in place (--materialize-*, the reveal's companion in tokens.css) and
   materializes once the glass has extended. „•••“ is always a 44 px target, its glyph centred, in both shapes. */
.context-help-card > .glass-capsule__segment{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:var(--glass-capsule-segment);height:var(--target-min);min-width:0;min-height:var(--target-min);padding:0;border:0;border-radius:var(--r-capsule);overflow:clip}
.context-help-card > .context-help-toggle{justify-content:flex-end;gap:0;padding:0 0 0 calc((var(--glass-capsule-segment) - 24px) / 2);color:var(--link)}
.context-help-card[data-segmente="1"] > .context-help-toggle{width:0;padding-inline-start:0;visibility:hidden;pointer-events:none}
.context-help-card[data-segmente="1"] > .context-help-toggle > .context-help-symbol{opacity:0;transform:scale(var(--materialize-scale));filter:blur(var(--materialize-blur))}
.context-help-card > .context-menu-toggle{width:var(--target-min);justify-content:flex-end}
.context-help-card > .context-menu-toggle > .icon{flex:none;width:min(var(--target-min),var(--icon-navigation));height:min(var(--target-min),var(--icon-navigation));margin-inline-end:calc((var(--target-min) - min(var(--target-min),var(--icon-navigation))) / 2)}

.context-help-card > .context-help-toggle > .context-help-symbol{display:grid;place-items:center;flex:none;width:24px;height:44px;margin-inline-end:calc((var(--glass-capsule-segment) - 24px) / 2)}
.context-help-card > .context-help-toggle > .context-help-symbol svg{width:24px;height:24px}

.context-help-body.start-menu{position:fixed;inset:auto;top:var(--context-help-top);left:var(--context-help-left);right:auto;width:max-content;min-width:0;max-width:var(--context-help-max-width,320px);max-height:var(--context-help-max-height,calc(100dvh - var(--gap-section)));margin:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--card-radius);background:var(--card);color:var(--ink);box-shadow:var(--shadow-float);transform-origin:right top}
.context-help-inner{max-height:calc(var(--context-help-max-height,calc(100dvh - var(--gap-section))) - 2px);overflow-y:auto;padding:var(--gap-related);overscroll-behavior:contain}
/* The pointer bridge under the open button: 44 × 12 px from the button's bottom, its right edge on the button's. */
.context-help-card[data-expanded]::before{content:"";position:absolute;top:44px;right:0;width:44px;height:12px}
.context-help-card[data-expanded="help"]::before{right:var(--target-min)}
.context-help-body .context-help-topic{color:var(--link)}
.context-help-card .context-help-divider{height:var(--hairline);margin:var(--gap-related) var(--gap-content);background:var(--line)}
.context-help-card .start-menu-group + .start-menu-group{border-top:var(--hairline) solid var(--line);margin-top:var(--gap-related);padding-top:var(--gap-related)}
@media(prefers-reduced-motion:no-preference){
  .context-help-card > .context-help-toggle{transition:width var(--dur-reveal) var(--ease-reveal),padding-inline-start var(--dur-reveal) var(--ease-reveal),visibility 0s linear 0s,transform var(--dur-micro) var(--ease-standard),background-color var(--dur-short) var(--ease-standard),color var(--dur-short) var(--ease-standard)}

  .context-help-card[data-segmente="1"] > .context-help-toggle{transition:width var(--dur-reveal) var(--ease-reveal),padding-inline-start var(--dur-reveal) var(--ease-reveal),visibility 0s linear var(--dur-reveal),transform var(--dur-micro) var(--ease-standard),background-color var(--dur-short) var(--ease-standard),color var(--dur-short) var(--ease-standard)}
  .context-help-card > .context-menu-toggle{transition:width var(--dur-reveal) var(--ease-reveal),visibility 0s linear 0s,transform var(--dur-micro) var(--ease-standard),background-color var(--dur-short) var(--ease-standard),color var(--dur-short) var(--ease-standard)}
  /* A glyph materializes after the glass has begun to extend and dematerializes at once, so it is gone well before the
     contracting edge has passed over it; a reversal starts from where it is. */
  .context-help-card > .context-help-toggle > .context-help-symbol,.context-help-card > .context-menu-toggle > .icon{transition:opacity var(--dur-materialize) var(--ease-materialize) var(--dur-materialize),transform var(--dur-materialize) var(--ease-materialize) var(--dur-materialize),filter var(--dur-materialize) var(--ease-materialize) var(--dur-materialize)}
  .context-help-card[data-segmente="1"] > .context-help-toggle > .context-help-symbol{transition:opacity var(--dur-materialize) var(--ease-materialize),transform var(--dur-materialize) var(--ease-materialize),filter var(--dur-materialize) var(--ease-materialize)}
}
/* A steady or interrupted intro changes at once; so does the whole capsule under html[data-reduce-motion], and its first
   shape when the header has only just appeared (data-segmente-sofort, context-help.js). */
html[data-reduce-motion] .context-help-card :is(.context-help-toggle,.context-menu-toggle,.context-help-symbol,.context-menu-toggle > .icon){transition:none}
.context-help-card[data-segmente-sofort] > :is(.context-help-toggle,.context-menu-toggle),.context-help-card[data-segmente-sofort] > :is(.context-help-toggle,.context-menu-toggle) > .icon{transition:none}

/* ---------- the one sheet in its three kinds (16-17, D-15, D-18) ----------
   oeffneSheet({ art }) puts .sheet--hilfe, .sheet--formular or .sheet--loeschen on the dialog; the rules below draw it as the
   prototype's .g-sheet: inset on the phones with the large corner, the centred panel on the computer, a close button in the top-right
   corner on the title's first line (a longer title wraps below), the whole screen dimmed evenly by the sheet's own ::backdrop (the
   shared scrim). At large text a phone sheet docks to the bottom edge and opens at its top under the status bar; the computer keeps
   the centred panel. Today's sheet has none of these classes and is unchanged. */
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen){scrollbar-gutter:auto;font-size:var(--t-body);line-height:var(--line-body);background:var(--surface);box-shadow:var(--shadow-sheet);
  padding:var(--sheet-pad-panel)}
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen)[open]{will-change:auto;translate:none;scale:none}
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) .sheet__head{gap:var(--sp-item);margin-block:0 var(--sp-line);padding-block-start:0}
/* The browser smooths the text of the drawn sheet with sub-pixel antialiasing; it keeps that for a dialog only while the dialog
   scrolls in a layer of its own, and not with a pinned (sticky) head or a blurred control in it. So: the head sits in the flow while
   the content fits (the drawn state) and is pinned at the top as soon as the sheet really scrolls (aktualisiereKopf sets
   .sheet-scrollt); the close keeps the glass fill and edge without the blur; and the invisible fade under the head, which lies below
   the content, gives a fitting sheet its one pixel of scroll range. */
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) .sheet__head{position:initial}
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen).sheet-scrollt .sheet__head{position:sticky}
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen):not(.sheet-scrollt){overflow:visible}
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen):not(.sheet-scrollt) .sheet__head::after{display:none}
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) .sheet__close{-webkit-backdrop-filter:none;backdrop-filter:none;margin-block-start:0}
/* the drawn sheet's close is the translucent glass on Android too (the header's solid Android form is not drawn here) */
html[data-plattform="android"] dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) .sheet__close{background-color:var(--glass-control-fill);background-image:var(--glass-control-sheen)}
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) .sheet__title{font-size:var(--type-frage-abschnitt);font-weight:var(--weight-emphasis);line-height:var(--line-sheet-title);padding-block-start:max(0px,calc(var(--target-min) / 2 - .5lh))}
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) > .sheet__head + :not(.sheet__footer,.sheet__ansage){margin-block-start:var(--blatt-abstand)}
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) > .sheet__head + .blatt-lead{margin-block-start:var(--sp-1)}
@media (max-width:767.98px){
  dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen)[open][data-detent]{transform:var(--sheet-zug-transform,none)}
  dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen)[data-detent]{left:var(--sheet-inset);right:var(--sheet-inset);bottom:calc(var(--sheet-inset) + var(--vv-bottom,0px));
    border:0;border-radius:var(--r-sheet-float);padding:var(--sheet-pad-phone)}
  dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) .sheet__grabber::before{top:var(--grabber-top);height:var(--grabber-h);border-radius:var(--grabber-r);background:var(--fill-3)}
}
/* the drawn sheet has no border (its shadow and the scrim set it off; on the phones the rule above removes it, at large text app.css docks it
   without one, and the computer's panel has none); in Windows high contrast shadow and scrim are gone, so every kind of sheet has the one edge
   the library's forced-colours rule gives a sheet (.sheet{border:1px solid CanvasText}), with the weight to win over the rules that remove it */
@media (forced-colors:active){
  :root dialog.sheet[data-art]:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen){border:1px solid CanvasText}
}
@media (min-width:768px){
  /* centred by a plain 2D transform (as drawn), not translate3d: a 3D transform puts the dialog on a layer of its own, which is
     drawn on whole device pixels; a help sheet holds nothing that grows, so no disclosure anchors it at a measured top */
  dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen),dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen)[data-disclosure-anchored]{left:50%;right:auto;top:calc(var(--vv-top,0px) + var(--vv-h,100dvh) / 2);bottom:auto;
    width:min(var(--sheet-panel-w),calc(100% - var(--sp-12)));max-height:calc(var(--vv-h,100dvh) - var(--sp-16));transform:translate(-50%,-50%);border-radius:var(--r-sheet-panel)}
}
/* the three kinds differ only here: the help sheet is white (the surface), the form sheet stands on the grouped background with white
   controls (its surface is the paper, so its pinned head and fades follow; in dark the sheet grey and its controls the raised grey, as drawn),
   the destructive sheet has no close */
@media not (prefers-color-scheme:dark){dialog.sheet.sheet--formular{--surface:var(--paper)}}
@media (prefers-color-scheme:dark){
  dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen){--card:var(--inset);--field:var(--inset)}
}
html[data-plattform="android"] dialog.sheet.sheet--formular[data-detent]{padding-bottom:var(--sheet-pad-android)}
/* without a close the head is the title alone (the grid keeps its second, empty column, so the title keeps its width) */
dialog.sheet.sheet--loeschen .sheet__head{min-height:0}
dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) > .sheet__head + :is(.blatt-lead,.blatt-frage){margin-block-start:var(--sp-1)}
/* the help content: one list (green tick: what counts, red cross: what does not, a neutral bullet: a definition), the rule, the adviser,
   the source (hilfeInhalt, app/js/kit/blatt.js). The symbols carry the colour; the text stays ink. */
.blatt-lead{margin:var(--sp-1) 0 0;color:var(--label-1)}
.blatt-liste{margin:var(--blatt-abstand) 0 0;padding:0;list-style:none;display:grid;gap:var(--blatt-abstand)}
.blatt-zeile{display:grid;grid-template-columns:var(--blatt-icon-spalte) minmax(0,1fr);gap:var(--blatt-abstand);font-size:var(--t-callout);line-height:var(--line-control)}
.blatt-zeile > .icon{width:var(--icon-action);height:var(--icon-action);margin-top:var(--blatt-icon-versatz)}
.blatt-zeile--ja > .icon{color:var(--status-green)}
.blatt-zeile--nein > .icon{color:var(--status-red)}
.blatt-zeile--punkt > .blatt-punkt{width:var(--blatt-punkt);height:var(--blatt-punkt);margin:var(--blatt-punkt-oben) 0 0 var(--blatt-punkt-links);border-radius:50%;background:var(--label-2)}
.blatt-regel,.blatt-berater,.blatt-quelle{margin:var(--blatt-abstand) 0 0;font-size:var(--t-callout);line-height:var(--line-body);color:var(--label-2)}
:is(.blatt-regel,.blatt-berater,.blatt-quelle) + :is(.blatt-regel,.blatt-berater,.blatt-quelle){margin-top:var(--sp-line)}
/* a sub-heading inside the rule text (hilfeInhalt { unter }): „Was Sie prüfen sollten“ over the check text of a declaration */
.blatt-unter{margin:var(--sp-4) 0 0;font-size:var(--t-callout);font-weight:var(--weight-emphasis);line-height:var(--line-control);color:var(--label-1)}
.blatt-unter + .blatt-regel{margin-top:var(--sp-1)}
/* the source link is the library's plain link (knopf.plain, extern): it stands in the text line as drawn, and a hit area of the full target
   size reaches around it without changing the line */
.blatt-quelle > .btn--plain{position:relative;display:inline;min-width:0;min-height:0;margin:0;padding:0;color:var(--link);font-size:inherit;line-height:inherit}
.blatt-quelle > .btn--plain::after{content:"";position:absolute;inset-inline:0;top:50%;height:var(--target-min);transform:translateY(-50%)}
@container (max-width:18em){
  dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) :is(.sheet__title,.blatt-lead,.blatt-zeile,.blatt-unter,.blatt-regel,.blatt-berater,.blatt-quelle){hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;
    hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach);-webkit-hyphenate-limit-before:var(--silben-vor);-webkit-hyphenate-limit-after:var(--silben-nach)}
}
@media (max-width:767.98px){
  @container (max-width:18em){
    dialog.sheet:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen)[data-detent]{left:0;right:0;bottom:var(--vv-bottom,0px);width:var(--vv-w,100vw);max-width:var(--vv-w,100vw);
      max-height:calc(var(--vv-h,100dvh) - max(var(--sheet-dock-top),env(safe-area-inset-top,0px)));border-radius:var(--r-sheet) var(--r-sheet) 0 0;padding-bottom:max(var(--sheet-pad-dock),env(safe-area-inset-bottom,0px))}
    /* as drawn, the help and the destructive sheet open at their top under the status bar and fill the screen from there; the form
       sheet keeps the height of its content up to that edge */
    dialog.sheet:is(.sheet--hilfe,.sheet--loeschen)[data-detent]{top:max(var(--sheet-dock-top),env(safe-area-inset-top,0px));height:auto;max-height:none}
  }
}

/* the destructive confirmation (loeschFrage, app/js/kit/blatt.js; Apple's, D-18): the question is the sheet's title, then its consequence,
   then the full-width red-on-light-red button that names what it removes and „Abbrechen“ under it */
.blatt-frage{margin:var(--sp-1) 0 0;font-size:var(--t-callout);line-height:var(--line-body);color:var(--label-1)}
.blatt-aktionen{display:grid;gap:var(--blatt-abstand);margin-top:var(--blatt-aktionen-abstand)}
.blatt-aktionen > .btn{width:100%}
.btn--secondary.btn--loeschen{color:var(--error);background:var(--error-fill)}

/* ---------- the further sheet blocks (16-58 rows 16, 19, 20, 21; frozen s00d, s04k, s04l, s04m, s04n) ----------
   The sheet's action block (blattFuss, part „aktion“): its status line over its action, the line step apart, the action the block's full width.
   The question inside a form sheet (blattFrage): one line in Body Medium, the sheet keeps its title; a new topic after the fields above it, the line
   step on its answers (Apple: a label stands on its control). The status line over the action (blattStatus): orange, centred, Subhead, no triangle.
   The notice (blattHinweis): the orange symbol, the words in the label colour, a grey second line, no card. The link actions (blattAktionen): link-blue
   lines with their symbol, the grey note between them. */
.blatt-regel + .haken{margin-top:var(--sp-item)}
.blatt-fuss{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--sp-line)}
.blatt-fuss > .btn{width:100%}
.sheet__footer > .blatt-fuss{align-self:stretch}
/* The native controller retains the sticky footer; the library foot supplies its own block.
   The pane already owns the bottom inset, so the legacy footer must not add that inset a second time. */
dialog.sheet[data-art] > .sheet__footer:has(> .blatt-fuss){margin:0;padding:0;align-items:stretch}
/* A native library pane keeps block margin collapse, as its drawn content does. Sticky position also works in block flow. */
dialog.sheet[data-art]:has(> .sheet__footer > .blatt-fuss){display:block}
/* A fitting pane has no scroll container: sticky would then anchor the foot to the page behind it. */
dialog.sheet[data-art]:not(.sheet-scrollt) > .sheet__footer:has(> .blatt-fuss){position:static}
dialog.sheet[data-art]:not(.sheet-scrollt) > .sheet__footer:has(> .blatt-fuss)::before,dialog.sheet[data-art]:not(.sheet-scrollt) > .sheet__footer:has(> .blatt-fuss)::after{display:none}
.scanner-guidance + .blatt-fuss{margin-top:var(--sp-topic)}
/* the scan guide's closed disclosure (scanAnleitung, the live guide's .scan-fallback) lays out nothing but its summary until it opens */
.scan-fallback:not([open]) > :not(summary){display:none}
.blatt-fragezeile{margin:var(--sp-topic) 0 var(--sp-line);font-size:var(--t-body);font-weight:var(--weight-emphasis);line-height:var(--line-detail);color:var(--label-1)}
.blatt-status{margin:0;font-size:var(--t-subhead);line-height:var(--line-control);color:var(--warning);text-align:center}
.blatt-hinweis{display:grid;grid-template-columns:var(--icon-action) minmax(0,1fr);gap:var(--blatt-abstand);margin:var(--sp-item) 0 0;font-size:var(--t-subhead);line-height:var(--line-control);color:var(--label-1)}
.blatt-hinweis > .icon{width:var(--icon-action);height:var(--icon-action);color:var(--status-orange)}
.blatt-hinweis__zusatz{display:block;margin-top:var(--sp-label);font-size:inherit;color:var(--label-2)}
.blatt-links{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:var(--sp-line);margin:var(--sp-item) 0 0}
.btn.btn--plain.blatt-link{position:relative;display:inline-flex;align-items:center;gap:var(--sp-line);min-width:0;min-height:var(--sp-8);margin:0;padding:0;font-size:var(--t-body);font-weight:var(--weight-body);line-height:var(--line-heading);color:var(--link);text-align:start}
/* the drawn line is 32 pt high; its target is the 44 pt every control has, centred on the line, as the link line's (.link-zeile) */
.btn.btn--plain.blatt-link::after{content:"";position:absolute;inset-inline:0;top:50%;height:var(--target-min);transform:translateY(-50%)}
.btn.btn--plain.blatt-link > .icon{flex:none;width:var(--icon-action);height:var(--icon-action);margin:0}
.blatt-links__notiz{margin:0;font-size:var(--t-subhead);line-height:var(--line-control);color:var(--label-2)}

/* ---------- the help sheet's calculation and as-of line, its source line to a sheet, the purchase address sheet's lines (16-58 rows 28, 29, 34;
   frozen s19a, s21l, s04a) ----------
   The calculation (hilfeInhalt formel) is a rule paragraph in the label colour with figures that line up; the as-of line (stand) a rule paragraph in
   Footnote. A source line that opens a sheet (quelle with onClick) is the source line's own form, a native button. The fixed line (festeZeile) shows a
   value that is not edited: its grey Footnote label over the plain value in Body. The link line (linkZeile) is one Body line in link blue. */
.blatt-regel.blatt-formel{color:var(--label-1);font-variant-numeric:tabular-nums}
.blatt-regel.blatt-stand{font-size:var(--t-footnote);line-height:var(--line-fussnote)}
.feste-zeile{margin:var(--sp-item) 0 0;font-size:var(--t-body);line-height:var(--line-detail);color:var(--label-1)}
.feste-zeile__label{display:block;margin:0 0 var(--sp-0-5);font-size:var(--t-footnote);line-height:var(--line-fussnote);color:var(--label-2)}
.feste-zeile__wert{display:block;overflow-wrap:break-word}
.link-zeile{margin:var(--sp-item) 0 0;font-size:var(--t-body);line-height:var(--line-detail)}
.link-zeile > .btn--plain{position:relative;display:inline;min-width:0;min-height:0;margin:0;padding:0;color:var(--link);font-size:inherit;font-weight:var(--weight-body);line-height:inherit;text-align:start}
.link-zeile > .btn--plain::after{content:"";position:absolute;inset-inline:0;top:50%;height:var(--target-min);transform:translateY(-50%)}

/* ---------- the one menu (16-17, D-14; DECISIONS late 22-27 and 24) ----------
   The „?“ topics, the „•••“ menu and every select menu are one form: a solid floating surface (white; in dark #2C2C2E, so it stands off
   the cards), a hairline edge, a soft shadow, 20 pt corners, 8 pt inside, 48 pt rows with their text and symbol centred, a hairline between
   the groups. Solid, never glass. A select menu hangs 8 pt under its control, is exactly as wide as it (enhanceSelect breite: 'feld') and lays
   out Apple's leading checkmark column only once a value is chosen. A menu without .menue (form: 'einheit' in createMenu, createContextHelp
   and enhanceSelect) is today's. */
.menue:is(.start-menu,.select-menu){box-sizing:border-box;border:var(--hairline) solid var(--menu-edge);border-radius:var(--menu-radius);background:var(--menu-fill);color:var(--label-1);box-shadow:var(--menu-shadow);-webkit-backdrop-filter:none;backdrop-filter:none}
@media (prefers-contrast:more){.menue:is(.start-menu,.select-menu){border-color:var(--control-border)}}
.menue.start-menu .context-help-inner{padding:var(--menu-padding)}
.menue.start-menu .row{align-items:center}
.context-help-card .context-help-body.menue .row.row--aktion:has(> .icon:first-child){align-items:center}
.context-help-body.menue .row.row--aktion > .icon:first-child{align-self:center;margin-top:0}
.context-help-body.menue .row.row--aktion > .row__label{align-self:center}
.menue .start-menu-group + .start-menu-group{margin-top:0;padding-top:0;border-top:0}
.menue .start-menu-group + .start-menu-group::before{content:"";display:block;height:var(--hairline);margin:var(--sp-1) var(--sp-3);background:var(--line)}
.select-menu.menue{padding:var(--menu-padding)}
.select-menu.menue .select-menu-option{grid-template-columns:var(--icon-detail) minmax(0,1fr);gap:var(--sp-2);min-height:var(--menu-row-h);padding:var(--menu-item-padding);border-radius:var(--r-control);line-height:var(--line-control)}
.select-menu.menue:not(:has([aria-selected="true"])) .select-menu-option{grid-template-columns:minmax(0,1fr)}
.select-menu.menue:not(:has([aria-selected="true"])) .select-menu-tick{display:none}
.select-menu.menue .select-menu-tick{color:var(--link)}
/* the row under the pointer or the keyboard is marked, the row a menu opens on is not (Apple's menus open without a mark); hover is read on a fine pointer only,
   a touch screen already has no mark (the rule above) */
@media (hover:hover) and (pointer:fine){.select-menu.menue[data-input-modality="pointer"] .select-menu-option.is-active:not(:hover){background:transparent}}
/* the „•••“ menu is as wide as the drawn one; the „?“ menu is as wide as its longest topic, and its group keeps the row height */
.menue.context-menu-body{width:var(--menu-breite)}
.menue .context-help-topics{grid-auto-rows:minmax(var(--menu-row-h),auto)}
/* a link that opens in a new tab ends its row with the arrow (16 pt, the third label colour), after the label */
.menue .row.row--aktion > .row__ende.icon:not(:first-child){grid-column:3;grid-row:1;align-self:center;width:var(--icon-help);height:var(--icon-help);color:var(--label-3)}
.start-menu.menue .row.row--aktion:has(> .row__ende),
.context-help-card .context-help-body.menue .row.row--aktion:has(> .icon:first-child):has(> .row__ende){grid-template-columns:var(--icon-menu) minmax(0,1fr) auto}
/* at large text the narrow-row rule of app.css (.row:has(> .icon:not(:first-child)) > .row__label) puts a label that has a trailing icon into the
   leading symbol's column, so the symbol lay under the text of „Impressum“ and „Datenschutzerklärung“: in the one menu the label keeps column 2 */
.menue .row.row--aktion:has(> .icon:first-child) > .row__label{grid-column:2}
/* a button does not inherit the page's text rendering (the browser's own button rule says „auto“), the drawn rows are plain text: the rows
   of the menu take it, so the ligatures of „öffnen“ and „Datenschutzerklärung“ are the drawn ones */
.menue .row{text-rendering:inherit}
/* the drawn menu has no scrollbar column: it scrolls (the list inside it, as every capsule menu does) only where it is taller than the screen */
.menue.start-menu,.menue.start-menu .context-help-inner{scrollbar-gutter:auto}
/* the control of a select with nothing chosen (select-menu.js marks it .is-placeholder) keeps the weight of a chosen one */
.select-trigger.is-placeholder{font-weight:var(--weight-body)}

/* ---------- the drawn menus (16-58, D-14; frozen s01i, s01l, s06e) ----------
   menueGezeichnet (app/js/kit/blatt.js) draws a menu open in the page, for a page that shows menus as drawings (the library page, the prototype
   board): the live menu's element and rows, without popover, controller or a position of its own. These rules hang it under its control where the
   live arithmetic places the open menu: a capsule menu 12 pt under the capsule with its right edge on its button's (context-help.js kapselMenueLage:
   „?“ under the first segment, „•••“ under the second), a select menu 6 pt under its field at the field's left edge and as wide as the field
   (select-menu.js auswahlLage, today's select form), the one with the letter rail as high as a select menu may be, its list scrolling inside.
   The live select list opens in the document's body, outside every screen; drawn inside a screen it keeps the live list's word breaking, so the
   screen's hyphenation at large text (app.css, html.text-enlarged) does not reach it. A capsule menu takes the menus' own rule there, as the live one. */
.context-help-card > .start-menu[data-gezeichnet]{position:absolute;inset:auto;top:calc(100% + var(--sp-3));right:0;left:auto;margin:0}
.context-help-card > .start-menu[data-gezeichnet="hilfe"]{right:var(--target-min)}
.select-control > .select-menu[data-gezeichnet]{position:absolute;inset:auto;z-index:1;top:calc(100% + var(--popover-anchor-gap));left:0;right:0;width:auto;margin:0;-webkit-hyphens:manual;hyphens:manual}
.select-control > .select-menu--indexed[data-gezeichnet]{height:var(--select-menu-max-height)}

.start-menu[data-start-menu]:not(.context-help-body){max-width:var(--start-menu-max-w,none);max-height:var(--start-menu-max-h,none)}

/* Native closing is driven by the shared motion engine; no CSS entrance remains on its host. */
.sheet.is-closing{animation:none}
.sheet__ansage{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Fixed 100% glyph sizes in guided surfaces; the shared legacy navigation token is unchanged. */
:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) .sheet__close > .icon{width:var(--icon-context);height:var(--icon-context)}
:is(.sheet--hilfe,.sheet--formular,.sheet--loeschen) .btn--plain:not(.blatt-link) > .icon{width:var(--icon-text-action);height:var(--icon-text-action)}
.menue .row.row--aktion > .icon:first-child{width:var(--icon-menu);height:var(--icon-menu)}
@container (max-width:18em){
  .blatt-zeile > .icon,.blatt-hinweis > .icon{align-self:start;line-height:inherit;margin-top:calc(.5lh - var(--icon-action) / 2)}
  .context-help-body.menue .row.row--aktion > .icon:first-child{align-self:start;font-size:var(--type-detail);line-height:var(--line-control);margin-top:calc(.5lh - var(--icon-menu) / 2)}
  .start-menu.menue .row.row--aktion > .icon:first-child{align-self:start;line-height:inherit;margin-top:calc(.5lh - var(--icon-menu) / 2)}
}

/* Each visible child gets its own subgrid row: status, primary and secondary actions never overlap. */
.sheet__footer:has(> .blatt-fuss){--blatt-fuss-zeilen:1;grid-template-rows:repeat(var(--blatt-fuss-zeilen),auto)}
.sheet__footer:has(> .blatt-fuss > :nth-child(2 of :not([hidden]))){--blatt-fuss-zeilen:2}
.sheet__footer:has(> .blatt-fuss > :nth-child(3 of :not([hidden]))){--blatt-fuss-zeilen:3}
.sheet__footer:has(> .blatt-fuss > :nth-child(4 of :not([hidden]))){--blatt-fuss-zeilen:4}
.sheet__footer > .blatt-fuss{grid-row:1 / span var(--blatt-fuss-zeilen,1);grid-template-rows:subgrid}
.sheet__footer:has(> .blatt-fuss > :not(.btn):first-child:not([hidden])){--sheet-edge-gap:var(--sp-line)}
.sheet__footer:has(> .blatt-fuss > :not(.btn):first-child:not([hidden]))::before{grid-row:2 / 3}
.sheet__footer:has(> .blatt-fuss > :not(.btn):first-child:not([hidden]))::after{grid-row:3 / auto}

.context-help-header{--icon-navigation:var(--icon-context)}
.sheet--pay-qr .sheet__close > .icon{width:var(--icon-context);height:var(--icon-context)}

/* D-14: a menu never reserves a scrollbar column; its native scroll and keyboard reach remain. */
.menue:is(.start-menu,.select-menu),.menue .context-help-inner,.select-menu.menue > .select-menu-list{scrollbar-gutter:auto;scrollbar-width:none}
.menue:is(.start-menu,.select-menu)::-webkit-scrollbar,.menue .context-help-inner::-webkit-scrollbar,.select-menu.menue > .select-menu-list::-webkit-scrollbar{display:none}

/* ---------- the gift sheet (app/js/gift.js, dialog.sheet--gift; fg-last, 31 Oct 2026) ----------
   The paid gift invitation's sheet: the amount with its badge, the sentence, the code card, the share action, Copy and the note.
   Its rules stood under main.s-dokumente in the archived app/css/screens/dokumente.css (16-36); the sheet is a dialog, so they live here,
   scoped to the sheet. The share action is the library's sheet action: the sheet's width on a phone, its own width from 768 px
   (.blatt-aktionen, .sheet__footer above). The content reflows at every text size: nothing in it is wider than its column. The badge is the
   library's blue symbol on its pale blue (the secondary action's material): lime stays the primary's alone (check-brand B1). */
.sheet--gift .gift-sheet-content{display:flex;flex-direction:column;gap:var(--gap-group);min-width:0;padding-bottom:var(--sheet-body-bottom);text-align:start;container:gift / inline-size}
.sheet--gift .gift-intro{display:flex;align-items:center;gap:var(--gap-group);min-width:0}
.sheet--gift .gift-badge{display:grid;place-items:center;flex:none;width:var(--button-h);height:var(--button-h);border-radius:var(--r-capsule);background:var(--confirmation-fill);color:var(--link)}
.sheet--gift .gift-badge svg{width:var(--sp-7);height:var(--sp-7)}
.sheet--gift .gift-amount{min-width:0;max-width:100%;margin:0;font-size:var(--type-task-phone);font-weight:var(--weight-emphasis);line-height:var(--line-heading);overflow-wrap:anywhere;hyphens:auto}
.sheet--gift .gift-amount-nowrap{white-space:nowrap}
/* Fixed prose uses natural hyphenation before the emergency word wrap. */
.sheet--gift .gift-benefit{margin:0;line-height:var(--line-copy);hyphens:auto;overflow-wrap:break-word}
.sheet--gift .gift-code{align-self:center;display:flex;flex-direction:column;width:max-content;min-width:0;max-width:100%;padding:var(--sp-4) var(--sp-6);border:var(--hairline) solid var(--line);border-radius:var(--inset-radius);background:var(--fill-2);text-align:center}
.sheet--gift .gift-code > span{min-width:0;color:var(--label-2);font-size:var(--type-caption);overflow-wrap:anywhere}
.sheet--gift .gift-code > strong{min-width:0;max-width:100%;font-size:var(--type-sheet-title);letter-spacing:.08em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;user-select:text}
.sheet--gift .gift-actions{display:grid;grid-template-columns:minmax(0,1fr);justify-items:stretch;gap:var(--gap-related);min-width:0;margin-top:var(--sp-2)}
.sheet--gift .gift-actions > .btn--plain{justify-self:center;max-width:100%}
.sheet--gift .gift-whatsapp{width:100%;min-width:0;max-width:100%;text-decoration:none}
.sheet--gift .whatsapp-brand-mark{display:block;flex:none;width:var(--sp-6);height:var(--sp-6);object-fit:contain}
.sheet--gift .gift-note{margin:var(--gap-content) 0 0;color:var(--label-2);font-size:var(--type-caption);line-height:var(--line-copy)}
html.text-enlarged .sheet--gift .gift-intro{flex-direction:column;align-items:flex-start}
@media (min-width:768px){.sheet--gift .gift-whatsapp{width:max-content;max-width:100%;justify-self:center}}
/* A six-digit code remains one readable fact at the narrowest enlarged size; action words get the whole column before a break inside a word. */
@container gift (width < 7rem){
  .sheet--gift .gift-code{width:100%;padding-inline:var(--sp-4)}
  .sheet--gift .gift-code > span{overflow-wrap:normal;hyphens:auto}
  .sheet--gift .gift-code > strong{font-size:min(var(--type-sheet-title),calc((100cqi - var(--sp-8) - var(--hairline) * 2) / 4.5));white-space:nowrap;overflow-wrap:normal}
  .sheet--gift .gift-whatsapp{flex-direction:column;width:100%;padding-inline:var(--sp-3);border-radius:var(--r-control)}
  .sheet--gift .gift-whatsapp > .btn__label{overflow-wrap:normal;hyphens:none}
  /* the glyph stacks over its label here, so this action keeps the flex column instead of the first-line-glyph row */
  .sheet--gift .gift-actions > .btn--plain{display:inline-flex;flex-direction:column;max-width:100%;margin-inline:0;padding-inline:0;text-align:center}
  .sheet--gift .gift-actions > .btn--plain > .icon{align-self:center;margin-block-start:0;translate:none}
  .sheet--gift .gift-actions > .btn--plain > .btn__label{overflow-wrap:normal;hyphens:auto}
}
/* design/kit/50-listen.css */
/* The lists family: rows, groups, files, source facts and the Review lists (16-11, D-01). The rules below moved here unchanged from the shared stylesheet; one family file, edited only by
   its own package. Tokens only, no raw colour (tools/check-brand.js), no route selector (check-app C21). */

.filelist{margin:0;padding:0;list-style:none;border-radius:var(--r-card);background:var(--card);overflow:hidden}
.file-row{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--sp-3);min-height:60px;padding:var(--sp-2) var(--sp-4)}
.file-row + .file-row::before{content:"";position:absolute;top:0;left:52px;right:0;height:var(--hairline);background:var(--line)}
.filelist .file-row.is-child::before{left:calc(52px + var(--sp-6))}
.file-row > .icon:first-child{color:var(--label-2)}
.file-row__name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--t-body)}
.file-row__meta{display:block;color:var(--label-2);font-size:var(--t-subhead);font-feature-settings:"tnum"}
.file-row__status{display:inline-flex;align-items:center;gap:var(--sp-1);color:var(--label-2);font-size:var(--t-subhead)}
.file-row__status.is-done{color:var(--success)}
.file-row__status.is-error{color:var(--warning)}
.file-row .progress{width:64px}
/* ---------- review (§8.4) ---------- */
.group{margin:0;padding:0;list-style:none;border-radius:var(--r-card);background:var(--card);overflow:hidden}
.sheet .group{background:var(--inset);border-radius:var(--r-inner)}
.group__title{margin:var(--sp-6) var(--sp-4) var(--sp-2);color:var(--label-2);font-size:var(--t-subhead);font-weight:var(--weight-emphasis)}
.group__footer{margin:var(--sp-2) var(--sp-4) 0;color:var(--label-2);font-size:var(--t-footnote);font-weight:var(--weight-body);line-height:calc(18 / 13)}
.row{
  --row-icon-column:max(24px,var(--icon-navigation));--row-separator-inset:var(--sp-4);position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:var(--icon-label-gap);
  min-height:52px;padding:var(--sp-3) var(--sp-4);color:var(--label-1);font-size:var(--t-body);font-weight:var(--weight-body);line-height:calc(22 / 17);
}
.row + .row::before{content:"";position:absolute;top:0;left:var(--row-separator-inset);right:0;height:var(--hairline);background:var(--line)}
/* Existing screen markup also wraps a button cell in li.row-item (S3) or li (S8).
   Keep the separator on the physical cell, aligned to that cell's text, including after coverage. */
.group > * + .row::before,
.group > * + .row-item > .row::before,
.group > li + li > .row::before{content:"";position:absolute;top:0;left:var(--row-separator-inset);right:0;height:var(--hairline);background:var(--line)}
button.row,a.row{width:100%;border:0;background:none;font:inherit;text-align:left;color:inherit;text-decoration:none;cursor:pointer}
button.row,a.row{font-size:var(--t-body);font-weight:var(--weight-body);line-height:calc(22 / 17)}
button.row:active,a.row:active{background:var(--fill-2)}
.row__label{min-width:0}
.row__value{color:var(--label-1);text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}
.row__detail{color:var(--label-2);text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}
.row:has(> .row__value):has(> .row__detail){grid-template-columns:minmax(0,1fr) auto auto auto}
.row > .icon{width:20px;height:20px;color:var(--label-3);--icon-stroke:2.25px}
.row:has(> .icon:first-child){--row-separator-inset:calc(var(--sp-4) + var(--row-icon-column) + var(--icon-label-gap));grid-template-columns:var(--row-icon-column) minmax(0,1fr) auto auto}
.row:has(> .btn--plain:first-child > .icon:first-child){--row-separator-inset:calc(var(--sp-4) + var(--row-icon-column) + var(--icon-label-gap))}
.row > .btn--plain:first-child:has(> .icon:first-child){gap:var(--icon-label-gap)}
.row > .btn--plain:first-child > .icon:first-child{width:var(--icon-navigation);height:var(--icon-navigation);--icon-stroke:1.75px}
.row > .icon:first-child{width:var(--icon-navigation);height:var(--icon-navigation);color:var(--label-2);--icon-stroke:1.75px}
.row--nav > .icon:last-child{width:16px;height:16px;color:var(--label-3);--icon-stroke:2.25px}
.row > .icon:not(:first-child):is([data-icon="chevron-right"],[data-icon="chevron-down"],[data-icon="chevron-updown"]){width:16px;height:16px;--icon-stroke:2.25px}
.row--add,.row--aktion{grid-template-columns:minmax(0,1fr)}
.row--add:has(> .icon:first-child),.row--aktion:has(> .icon:first-child){grid-template-columns:var(--row-icon-column) minmax(0,1fr)}
.row--add:has(> .icon:first-child) > .row__label,.row--aktion:has(> .icon:first-child) > .row__label{grid-column:2;grid-row:1;min-width:0}
.row--aktion:is(:has(> .row__value),:has(> .row__detail)){grid-template-columns:minmax(0,1fr) auto}
.row--aktion:has(> .row__value):has(> .row__detail){grid-template-columns:minmax(0,1fr) auto auto}
.row--aktion:has(> .icon:first-child):is(:has(> .row__value),:has(> .row__detail)){grid-template-columns:var(--row-icon-column) minmax(0,1fr) auto}
.row--aktion:has(> .icon:first-child):has(> .row__value):has(> .row__detail){grid-template-columns:var(--row-icon-column) minmax(0,1fr) auto auto}
.row--add > .icon:first-child,.row--aktion > .icon:first-child{color:var(--label-1)}
button.row.row--destructive{display:grid;grid-template-columns:var(--row-icon-column) minmax(0,1fr);align-items:center;gap:var(--icon-label-gap);background:none;color:var(--error);text-align:left}
button.row.row--destructive > .row__label{grid-column:2}
button.row.row--destructive.row--aktion > .icon:first-child{color:currentColor}
/* a trailing icon (chevron, check) is centred against the whole content, as in HIG list cells: with a second line
   (WZ code, source, hint) it spans those lines in the last column, and the lines keep out of that column */
.row > .icon:not(:first-child){align-self:center}
.row:has(> .icon:not(:first-child)) > :is(.row__source,.hint,.calm-hint){grid-column:1 / -2}
.row:has(> .icon:not(:first-child)) > .icon:not(:first-child){grid-column:-2 / -1;grid-row:1 / span 3}
.row__source{color:var(--label-2);font-size:var(--t-subhead);line-height:var(--line-control)}
.row.is-editing .row__value{min-width:9em;min-height:var(--target-min);padding:0 var(--sp-3);border:1px solid var(--control-border);border-radius:var(--r-control);background:var(--field);display:flex;align-items:center;justify-content:flex-end}
.row.row--toggle:has(> .icon:first-child){grid-template-columns:var(--row-icon-column) minmax(0,1fr) auto}
/* D-55: the cell contains its size query; only its label and control descendants respond to it.
   Below 22em both span the content width. The 44px default grows with the input's text line and boundary. */
.row--feld,.row.is-editing{container-type:inline-size}
.row--feld{display:block}
.row.is-editing{grid-template-columns:minmax(0,1fr) min(55%,14em)}
.row.is-editing > .row__label{grid-column:1 / -1;color:var(--label-2);font-size:var(--t-subhead)}
.row.is-editing > input.row__value{grid-column:1 / -1;width:100%;min-width:0;min-height:max(var(--target-min),calc(var(--t-body) * 22 / 17 + 2px));margin-top:var(--sp-2);border:1px solid var(--control-border);border-radius:var(--r-control);background:var(--field);color:var(--label-1);font-size:var(--t-body);line-height:calc(22 / 17);text-align:end}
.row.is-editing > input.row__value[aria-invalid="true"]{border:1.5px solid var(--error)}
@container (min-width:22em){
  .row.is-editing > .row__label{grid-column:1;color:var(--label-1);font-size:var(--t-body);align-self:center}
  .row.is-editing > input.row__value{grid-column:2;margin-top:0}
}
.row.is-disabled .row__value{color:var(--label-3)}
.row.has-hint .row__value{color:var(--warning)}
/* A source fact has one reading order: label, owner value, exact evidence, real original action.
   Edit remains a trailing word; only a real available original receives a document button. */
.source-fact.row{grid-template-columns:minmax(0,1fr) fit-content(35%);align-items:start;column-gap:var(--gap-content);row-gap:var(--sp-1)}
.source-fact.row:not(:has(>.row__edit-action)){grid-template-columns:minmax(0,1fr)}
.source-fact.row>.row__label{grid-column:1 / -1;grid-row:1;min-width:0;color:var(--label-2);font-size:var(--type-caption);font-weight:var(--weight-body);line-height:var(--line-body);overflow-wrap:break-word}
.source-fact.row>.row__value{grid-column:1;grid-row:2;align-self:first baseline;min-width:0;margin:0;text-align:start;white-space:normal;overflow-wrap:break-word;font-size:var(--type-body);font-weight:var(--weight-emphasis);line-height:var(--line-body)}
.source-fact.row>.row__edit-action{grid-column:2;grid-row:2;display:flex;align-items:center;justify-content:flex-end;align-self:first baseline;min-width:var(--target-min);min-height:var(--target-min);color:var(--link);font-size:var(--type-detail);font-weight:var(--weight-body);line-height:var(--line-body);white-space:nowrap;overflow-wrap:normal}
.source-fact.row>:is(.row__source,.hint,.calm-hint,.row__action,.original-action){grid-column:1 / -1;min-width:0}
.source-fact.row>.original-action{grid-row:auto;position:static;margin:0;justify-self:start}
.source-fact-item{container-type:inline-size}
/* Roux 19 Oct 2026 (261019-e8p): the labelled „Original ansehen“ sizes to its text in the plain-action colour; only the evidence variant keeps the neutral ink (below). */
.source-fact-item>.original-action{position:static;display:flex;min-width:var(--target-min);min-height:var(--target-min);margin:0 var(--sp-4) var(--sp-3)}
.source-fact-item>.original-action:not(.source-fact__evidence){width:fit-content;max-width:calc(100% - 2 * var(--sp-4))}
.source-fact-item>:is(.row__source,.hint,.calm-hint){margin:0 var(--sp-4) var(--sp-3);min-width:0}
.source-fact-item>.source-fact__evidence,.source-fact.row>.source-fact__evidence{display:grid;grid-template-columns:var(--icon-inline) minmax(0,1fr);align-items:start;gap:var(--gap-related);width:100%;min-width:0;min-height:var(--target-min);margin:0;padding:var(--sp-2) var(--sp-4) var(--sp-3);text-align:start;color:var(--ink);font-size:var(--type-caption);line-height:var(--line-body)}
.source-fact.row>.source-fact__evidence{padding-inline:0}
.source-fact__evidence.btn--plain>.icon{grid-column:1;align-self:start;width:var(--icon-inline);height:var(--icon-inline);margin-block-start:max(0px,calc((1em * var(--line-body) - var(--icon-inline)) / 2));color:var(--ink)}
.source-fact__evidence>.row__source{grid-column:2;margin:0}
.row__source.source-fact__source{min-width:0;text-align:start;text-wrap:wrap;font-size:var(--type-caption);font-weight:var(--weight-body);line-height:var(--line-body);overflow-wrap:break-word}
.row__source.source-fact__source mark{background:none;color:inherit;font-weight:var(--weight-body)}
@container(width < 14em){
  .source-fact-item>.source-fact.row{grid-template-columns:minmax(0,1fr)}
  .source-fact-item>.source-fact.row>.row__edit-action{grid-column:1;grid-row:3;justify-self:end}
}
.coverage{display:flex;flex-direction:column;gap:var(--sp-3)}
.coverage__track{display:flex;gap:2px;height:12px}
.coverage__seg{flex:1 1 0;min-width:4px;border-radius:var(--r-capsule);box-sizing:border-box}
.coverage__seg.is-filled{background:var(--tint)}
.coverage__seg.is-pending{background:var(--fill-1)}
.coverage__seg.is-gap{border:2px solid var(--label-4);background:none}
.coverage__seg.is-overlap{background:repeating-linear-gradient(135deg,var(--warning) 0 3px,color-mix(in srgb,var(--warning) 25%,transparent) 3px 6px)}
/* one bar with month ticks, as S3 draws it (DR-B8): square inner ends, capsule ends only at the start and end of the track (DR-X1) */
.coverage__track > .coverage__seg{border-radius:3px}
.coverage__track > .coverage__seg:first-child{border-radius:var(--r-capsule) 3px 3px var(--r-capsule)}
.coverage__track > .coverage__seg:last-child{border-radius:3px var(--r-capsule) var(--r-capsule) 3px}
.coverage__track > .coverage__seg:only-child{border-radius:var(--r-capsule)}
.coverage__legend{display:flex;flex-direction:column;gap:var(--sp-2);margin:0;padding:0;list-style:none}
.coverage__label{display:flex;align-items:center;gap:var(--sp-2);margin:0;color:var(--label-2);font-size:var(--t-subhead);font-feature-settings:"tnum"}
.coverage__label .coverage__seg{flex:none;width:22px;height:12px}
.breakdown{margin:0;padding:var(--sp-1) var(--sp-5);list-style:none;border-radius:var(--r-card);background:var(--card)}
.breakdown__row{display:flex;align-items:baseline;justify-content:space-between;gap:var(--sp-4);min-height:var(--target-min);padding:var(--sp-2) 0;color:var(--label-1);font-size:var(--t-body);font-feature-settings:"tnum"}
.breakdown__row + .breakdown__row{border-top:var(--hairline) solid var(--line)}
.breakdown__row--base{color:var(--label-2)}
.breakdown__row + .breakdown__row.breakdown__total{border-top:var(--hairline) solid var(--control-border);font-weight:var(--weight-strong)}
.breakdown__row.breakdown__total{font-weight:var(--weight-strong)}
.group .disclosure{--disclosure-inline-inset:var(--sp-4)}
.group .disclosure > summary{padding:var(--sp-3) var(--sp-4)}
.file-row > .icon:first-child{width:24px;height:24px;--icon-stroke:1.75px}
.file-row__status .icon{width:18px;height:18px;--icon-stroke:1.75px}
.file-row__remove .icon{width:20px;height:20px;--icon-stroke:2.25px}
/* Keyboard users still see where they are (WCAG 2.4.7), never as a ring: html[data-eingabe] is "tastatur" after a
   navigation key and "zeiger" after a tap, click or drag (app/js/eingabe-modus.js); before either the browser decides.
   Buttons, rows, selects, summaries and controls take a link tint; text actions and links a 2 px underline in their own
   colour; glass icons their 18 × 2 px link bar; the sheet grabber turns link-coloured. After a tap nothing shows. */
html:not([data-eingabe="zeiger"]) :is(button,select,summary,[role="button"],[role="radio"],[role="tab"],[role="switch"],[role="option"],[role="menuitem"],a.row,a.btn:not(.btn--plain),.checkout-provider,.dropzone):not(.btn--plain,.btn--glass-icon,.terms-link,.hinweis-karte__aktion,.quelle__link,.schritte__link,.date-picker *):focus-visible,
html:not([data-eingabe="zeiger"]) .is-focus,html:not([data-eingabe="zeiger"]) label:has(> .check__box:focus-visible){background-image:linear-gradient(var(--focus-fill),var(--focus-fill))}
html:not([data-eingabe="zeiger"]) :is(.btn--plain,a[href]:not(.row,.btn,.checkout-provider),.terms-link,.hinweis-karte__aktion,.quelle__link,.schritte__link):focus-visible{text-decoration-line:underline;text-decoration-thickness:var(--underline-w);text-underline-offset:var(--underline-offset)}
@media (hover:hover) and (pointer:fine){
  button.row:not(:disabled):hover,a.row:hover,
  .notice__close:hover,.file-row__remove:hover,.row__select:hover{background:var(--fill-3)}
  button.row.row--destructive:is(:hover,:active){background:none}
}
.row--nav > .row__label,.row--nav > .icon:last-child{color:var(--link)}
.row--nav > .row__label,.btn--plain,.disclosure > summary{font-weight:var(--weight-body)}
/* first-line-glyph (quick 261019-ge8, Roux 19 Oct 2026, first live purchase: the privacy lock sat between the lines of
   its wrapped label). A plain action made of exactly a leading glyph and a visible label is one grid row: the row stays
   centred in the 44 px control (align-content), while glyph and label start together. The glyph is moved (translate, so
   its own size never changes the row) until its centre is half a line below the top, which is the cap centre of the
   label's first line (the label's cap trim above); it takes the action's line height, since a bare .icon has
   line-height 0. A single line looks exactly as before. The label gives the action its baseline, so a link inside
   running text (the support e-mail) sits on the sentence's baseline. Busy actions (spinner first) and icon-only actions
   keep the flex centring. Contexts that top-align a plain action (align-items:flex-start) also set align-content:start,
   so the row stays at the top there. The row wins over a screen's plain flex display (two classes); a context that
   needs another layout (the stacked gift actions) sets its own display and glyph alignment; the source evidence row
   keeps its own two-column grid. Roux 20 Oct 2026 („Not aligned?“, 261019-aud F7): screen-reader-only text after the
   label (the external links' „opens in a new tab“) is out of flow and does not leave the row; the shots glyph sweep
   (qa/app/_glyph.cjs) measures every such action. */
.btn.btn--plain:where(:has(> .icon:first-child + .btn__label:not(.sr-only)):not(:has(> .btn__label ~ :not(.sr-only))):not(.source-fact__evidence)){
  display:inline-grid;grid-template-columns:auto minmax(0,max-content);align-content:center;align-items:start}
.btn--plain:where(:has(> .icon:first-child + .btn__label:not(.sr-only)):not(:has(> .btn__label ~ :not(.sr-only))):not(.source-fact__evidence)) > .icon{
  align-self:start;line-height:inherit;margin-block:0;translate:0 calc(.5lh - 50%)}
.btn--plain:where(:has(> .icon:first-child + .btn__label:not(.sr-only)):not(:has(> .btn__label ~ :not(.sr-only))):not(.source-fact__evidence)) > .btn__label{align-self:first baseline}
:is(#navbar,.sheet__head,.start-menu,.language-choices) .btn--plain,
.start-menu :is(.row__label,.row__value,.row__detail,.icon),
.language-choices :is(.row__label,.row__value,.row__detail,.icon){color:var(--ink)}
.start-menu .group{margin:0;background:none;border-radius:0}
.start-menu .row{min-height:var(--menu-row-h);border-radius:var(--r-control);padding:var(--menu-item-padding);font-size:var(--t-subhead);font-weight:var(--weight-body);line-height:var(--line-control);background:transparent}
.start-menu .row.row--aktion:has(> .icon:first-child){grid-template-columns:calc(20 / 15 * 1em) minmax(0,1fr)}
.start-menu .row::before{display:none}
.start-menu .row.row--aktion > .row__label{grid-column:2;grid-row:1;align-self:center;min-width:0;overflow-wrap:break-word;hyphens:auto}
@media (min-width:768px) and (hover:hover) and (pointer:fine){.start-menu :is(button.row:not(:disabled),a.row[href]):hover{font-weight:var(--weight-emphasis);background:var(--inset)}}
@media (max-width:767.98px){
  .start-menu button.row:is(:hover,:active){background:transparent}
  .start-menu a.row:active{background:transparent}
}
.context-help-card :is(.group,.context-help-utilities){display:grid;gap:0;margin:0;padding:0;background:none;border-radius:0}
.context-help-card .context-help-body .row.row--aktion:has(> .icon:first-child){display:grid;grid-template-columns:var(--icon-menu) minmax(0,1fr);align-items:start;gap:var(--icon-label-gap);width:100%;min-height:var(--menu-row-h);margin:0;padding:var(--menu-item-padding);border:0;border-radius:var(--r-control);font-size:var(--type-detail);font-weight:var(--weight-body);line-height:var(--line-control);text-align:left;overflow-wrap:break-word}
.context-help-body .row.row--aktion > .icon:first-child{width:var(--icon-menu);height:var(--icon-menu);align-self:start;margin-top:max(0px,calc((var(--type-detail) * var(--line-control) - var(--icon-menu)) / 2))}
.context-help-body .row.row--aktion > .row__label{align-self:start;min-width:0}
.context-help-body .context-help-topic :is(.row__label,.icon){color:inherit}
.context-help-body .context-help-utilities .row{color:var(--ink)}
.context-help-body .row::before{display:none}
@media(hover:hover) and (pointer:fine){.context-help-card .context-help-body :is(button.row:not(:disabled),a.row[href]):hover{background:var(--fill-2);font-weight:var(--weight-body)}}

/* ===== The guided library (16-18, D-01, D-13, D-21, D-26): groups, rows, files, facts, notices, source lines, steps, the bill excerpt.
   Each rule is the cascade the prototype (design/prototype-guided/prototype.css, chapters/01-bills.css) ends with, under library names;
   every size is a token (design/tokens.css), never a literal. ===== */

/* A grouped card: white at rest, the card radius, its rows one after the other. */
.gruppe{background:var(--card);border-radius:var(--r-card);overflow:hidden}

/* One row rule for every card (D-13): the same space above and below the text (--row-pad: 12 pt, 10 on short screens), 44 pt at
   least. The hairline under a row belongs to that row and starts where its text starts (--zeile-einzug: the row's side space, plus
   a leading symbol and its gap), then runs to the card's right edge, as UITableView's separatorInset. */
.zeile{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--gap-content);align-items:center;min-height:var(--target-min);padding:var(--row-pad) var(--row-inset);box-sizing:border-box;--zeile-einzug:var(--row-inset)}
.zeile:has(> .icon:first-child){grid-template-columns:var(--icon-action) minmax(0,1fr) auto;--zeile-einzug:calc(var(--row-inset) + var(--icon-action) + var(--gap-content))}
.zeile > .icon:first-child{width:var(--icon-action);height:var(--icon-action);color:var(--label-1)}
:is(.zeile,.anteil):has(+ :is(.zeile,.anteil,.ust-id-zeile))::after{content:"";position:absolute;bottom:0;left:var(--zeile-einzug);right:0;height:var(--hairline);background:var(--line);pointer-events:none}
/* A row that acts is a native button over the whole row. The reset is :where(button).zeile (the specificity of one class), so a row's own variant after it (the add row's link blue, the removal row's red, the type size of a nav row) still wins. */
:where(button).zeile{width:100%;margin:0;border:0;background:none;font:inherit;letter-spacing:inherit;color:inherit;text-align:start;cursor:pointer}
button.zeile:active{background:var(--fill-2)}
.zeile__text{min-width:0}
.zeile__label{display:block;font-size:var(--t-subhead);color:var(--label-2);line-height:var(--line-heading)}
.zeile__wert{display:block;margin-top:var(--row-text-gap);font-size:var(--t-body);font-weight:var(--weight-emphasis);color:var(--label-1);line-height:var(--line-heading);letter-spacing:0}
.zeile__wert--zuerst{margin:0 0 var(--row-text-gap)}
.zeile__aktion{color:var(--link);font-size:var(--t-subhead);font-weight:var(--weight-body);white-space:nowrap}
.zeile__pfeil{display:grid;place-items:center;align-self:center;width:var(--icon-detail);height:var(--icon-detail);color:var(--label-3)}
.zeile__pfeil > .icon{display:block;width:var(--icon-detail);height:var(--icon-detail)}
@media (hover:hover) and (pointer:fine){button.zeile:hover,button.datei__knopf:hover{background:var(--fill-3)}button.fakt:hover{background-image:linear-gradient(var(--fill-3),var(--fill-3))}}

/* The bill excerpt: the real page region on paper that stays light in both themes, the marked value on it, and a frame the
   size of two lines of paper text with their padding (--auszug-hoehe). The page region lies --auszug-innen inside the frame, so the
   frame's own edge and ring (the 2 px the proof compares) stay what they are; the mark is placed from the reader's box
   (app/js/kit/auszug.js). The frame carries the paper text's own type style (14 px, dark ink on the paper, the size of the printed line the
   region shows): the frozen frame's computed style is part of what the proof compares, and the mark inherits it. */
.auszug{position:relative;margin:var(--sp-item) var(--sp-item) 0;height:var(--auszug-hoehe);box-sizing:border-box;border-radius:var(--auszug-radius);background:var(--auszug-papier);color:var(--auszug-text);box-shadow:inset 0 0 0 var(--ring-fine) var(--auszug-kante);font-size:var(--auszug-schrift);font-weight:var(--weight-body);line-height:var(--auszug-zeile)}
.auszug__bild{position:absolute;inset:var(--auszug-innen);width:calc(100% - 2 * var(--auszug-innen));height:calc(100% - 2 * var(--auszug-innen));border-radius:var(--auszug-bild-radius)}
.auszug__marke{position:absolute;left:var(--marke-x);top:var(--marke-y);width:var(--marke-b);max-width:calc(100% - var(--marke-x) - var(--auszug-innen));height:var(--marke-h);box-sizing:border-box;border-radius:var(--auszug-marke-radius);background:var(--auszug-marke);box-shadow:0 0 0 var(--auszug-marke-ring) var(--auszug-marke-rand)}

/* The board's given paper lines in that same frame (16-58 Task 6). The paper face keeps its print size at large text;
   the mark's asymmetric inline padding centres the glyph band, as the runtime renderer centres its measured band. */
.auszug--gezeichnet{height:auto}
.auszug__mass{visibility:hidden}
.auszug__papier{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden;border-radius:inherit}
.auszug__zeilen{display:grid;gap:var(--sp-label);padding:var(--sp-3-5) var(--sp-4);font-family:"Courier New",ui-monospace,monospace;letter-spacing:-.01em}
.auszug__zeile{white-space:nowrap;overflow:hidden}
.auszug__marke--text{position:static;width:auto;max-width:none;height:auto;padding:calc(var(--auszug-marke-pad-y) + .03em) var(--auszug-marke-pad-x) calc(var(--auszug-marke-pad-y) - .03em);color:inherit;font:inherit}

/* The drawn excerpt without its Original row keeps the card's inset under the paper (as the runtime card keeps it under its row). */
.gruppe[data-auszug]:has(> .auszug--gezeichnet):not(:has(> .zeile)){padding-bottom:var(--sp-item)}

/* Cards and rows given by the caller. Their outer steps belong to 10-frage's sibling rules. Names and the company take the emphasis
   weight (Medium), as every value of the library's rows; the guided screens draw no Semibold. */
.anschrift-karte{padding:var(--row-inset)}
.anschrift-karte__anschrift{font-size:var(--t-body);line-height:var(--line-body);overflow-wrap:break-word}
.anschrift-karte__anschrift > b{display:block;margin-bottom:var(--row-text-gap);font-size:var(--t-headline);font-weight:var(--weight-emphasis)}
/* The office line: the bank symbol (the action size, as tall as the line at the default size) at the top of the quiet text, as drawn
   (.g-office); the hairline above it is the card's divider. It breaks at spaces at every text size (a place name is never hyphenated). */
.amt-zeile.quelle{display:grid;grid-template-columns:var(--icon-action) minmax(0,1fr);gap:var(--row-lead-gap);margin:var(--row-inset) 0 0;padding:var(--row-inset) 0 0;border-top:var(--ring-fine) solid var(--line)}
.amt-zeile.quelle > .icon{width:var(--icon-action);height:var(--icon-action);margin-top:0;color:var(--label-1)}
.rechnung-zeile{display:grid;grid-template-columns:var(--target-min) minmax(0,1fr) auto;gap:var(--sp-item);align-items:center;padding:var(--sp-item) var(--sp-3-5);border-radius:var(--r-row);background:var(--card)}
.rechnung-zeile__bild{display:grid;place-items:center;width:var(--target-min);height:calc(var(--field-h) + var(--sp-label));border-radius:var(--r-tick-row);background:var(--paper);box-shadow:inset 0 0 0 var(--ring-fine) var(--line);color:var(--label-2)}
.rechnung-zeile__bild > .icon{width:var(--icon-context);height:var(--icon-context)}
.rechnung-zeile__text{min-width:0}
/* name and meta are blocks of their own type, so the row's body line takes no room between them */
.rechnung-zeile__name{display:block;font-size:var(--t-subhead);font-weight:var(--weight-emphasis);line-height:var(--line-heading)}
.rechnung-zeile__meta{display:block;font-size:var(--t-footnote);font-weight:var(--weight-body);color:var(--label-2);line-height:var(--line-heading)}
/* the trailing text action stands in its own column: without knopf.plain's leading pull (it would take the text's room), 44 pt to tap */
.rechnung-zeile__original.btn--plain,.rechnung-an__aendern.btn--plain{position:relative;min-width:var(--target-min);min-height:var(--target-min);margin:0;padding:0;color:var(--link);font-size:var(--t-subhead);font-weight:var(--weight-body);white-space:nowrap}
/* its words sit on the row's line as the rows' own text action does (.zeile__aktion: the body line, no cap trim), centred in the 44 pt target */
.btn.btn--plain:is(.rechnung-zeile__original,.rechnung-an__aendern) > .btn__label{margin-block:0;text-box:none;line-height:var(--line-body)}
.rechnung-an > .zeile__text > :last-child{margin-top:var(--row-text-gap)}
.gruppe--rechnung{background:var(--card)}
/* the VAT row (felder.js ustIdZeile) is the group's last row: the row above draws the hairline, and its edge follows the card's corners */
.gruppe--rechnung > .ust-id-zeile:last-child{border-radius:0 0 var(--r-card) var(--r-card)}
.konto-karte{margin-top:var(--sp-item);padding:var(--sp-item);background:var(--paper)}
.konto-karte__iban{display:flex;flex-wrap:wrap;column-gap:.5em;row-gap:var(--sp-0-5);margin:0;font-size:var(--t-callout);font-weight:var(--weight-emphasis);line-height:var(--line-grund);letter-spacing:.03em;font-variant-numeric:tabular-nums;color:var(--label-1)}
.konto-karte__iban > span{white-space:nowrap}
/* the holder one line step under the IBAN, as two lines of one sheet text */
.konto-karte__inhaber{margin:var(--sp-line) 0 0;font-size:var(--t-subhead);line-height:var(--line-grund);color:var(--label-2)}
@media (prefers-color-scheme:dark){.konto-karte{background:var(--card)}}
/* In Windows high contrast the bill card and its thumbnail keep the one edge every card has (.gruppe below); the account card is a .gruppe */
@media (forced-colors:active){.rechnung-zeile,.rechnung-zeile__bild{outline:var(--ring-fine) solid CanvasText;outline-offset:calc(-1 * var(--ring-fine))}}

/* A value wider than the frame is marked to the edge of the drawing area, where the page region ends too (max-width above); and the mark waits
   for the page region, so no mark ever stands on blank paper. */
.gruppe[data-auszug="laedt"] .auszug__marke{visibility:hidden}

/* ----- groups, sections, the other rows ----- */
.gruppe--liste{margin:0;padding:0;list-style:none}
/* A group right after a group is the next item of the same topic (--sp-item); a label sits on what it names. */
.gruppe + .gruppe{margin-top:var(--sp-item)}
.gruppe--zusammenfassung .zeile__wert{font-size:var(--t-callout)}
.abschnitt{margin:var(--sp-topic) var(--row-inset) var(--sp-label);font-size:var(--t-footnote);font-weight:var(--weight-emphasis);letter-spacing:0;color:var(--label-2)}
.abschnitt--erste{margin-top:0}
.abschnitt + *{margin-top:0}
.zeile--nav{font-size:var(--t-body);color:var(--label-1)}
.zeile--entfernen{font-size:var(--t-body);color:var(--error)}
.zeile--hinzufuegen{display:flex;justify-content:flex-start;gap:var(--row-lead-gap);font-size:var(--t-body);color:var(--link)}
.zeile--hinzufuegen > .icon:first-child{color:inherit}
.zeile--hinzufuegen:has(> .icon:first-child){--zeile-einzug:calc(var(--row-inset) + var(--icon-action) + var(--row-lead-gap))}
/* A key line: the label and its figure; no minimum height, the text sets it (the bridge of the result). */
.zeile--kenn{align-items:normal;min-height:0;font-size:var(--t-callout)}
.zeile--kenn > b{font-weight:var(--weight-emphasis);font-variant-numeric:tabular-nums}

/* ----- facts: a symbol, its title and detail ----- */
.fakten{display:grid;gap:var(--fakten-gap);width:100%;text-align:left}
.fakt{display:grid;grid-template-columns:var(--sp-7) minmax(0,1fr);gap:var(--gap-content);align-items:start;padding:var(--card-note-y) var(--sp-4);border-radius:var(--card-note-radius);background:var(--card);font-size:var(--t-callout);line-height:var(--line-control);text-align:start}
button.fakt{width:100%;margin:0;border:0;font-family:inherit;letter-spacing:inherit;color:inherit;cursor:pointer}
/* a card that acts is washed over its white, as every tappable card of the library (option lists, secondary buttons): the pressed wash, and the lighter hover wash */
button.fakt:active{background-image:linear-gradient(var(--fill-2),var(--fill-2))}
.fakt > .icon{width:var(--icon-context);height:var(--icon-context);color:var(--label-1)}
/* The welcome's step card (fakt `kachel`, Roux 31 Oct 2026: „We can use cards or something special. Something Apple would design to welcome users to the
   app.“): Apple's inset-grouped card, one per step, the symbol in ink on a rounded tile, the title in Body (as heavy as every fact title), the line in
   Subhead, grey. Roux 31 Oct 2026, after the screenshots: the tiles take the site's warm icon boxes (gold, rose, mauve, one surface per step, a solid
   colour first), the glyph is lighter, and the tile stands at the top of the title line, as an Apple list row. */
.fakt--kachel{grid-template-columns:var(--kachel) minmax(0,1fr);align-items:start;border-radius:var(--inset-radius);font-size:var(--t-body)}
.fakt__kachel{display:grid;place-items:center;width:var(--kachel);height:var(--kachel);border-radius:var(--r-kachel);background:var(--kachel-gold);background:var(--kachel-flaeche-1)}
.fakt--kachel:nth-child(3n+2) > .fakt__kachel{background:var(--kachel-rose);background:var(--kachel-flaeche-2)}
.fakt--kachel:nth-child(3n+3) > .fakt__kachel{background:var(--kachel-rose);background:var(--kachel-flaeche-3)}
.fakt__kachel > .icon{width:var(--kachel-symbol);height:var(--kachel-symbol);color:var(--kachel-tinte);--icon-stroke:var(--kachel-strich)}
.fakt--kachel .fakt__detail{margin-top:var(--sp-0-5);font-size:var(--t-subhead);line-height:var(--line-detail)}
.fakt__titel{display:block;font-weight:var(--weight-emphasis);letter-spacing:0;color:var(--label-1)}
.fakt__detail{display:block;color:var(--label-2)}
.fakt__text{display:block;color:var(--label-1)}
.fakt__link{display:block;margin-top:var(--sp-2);color:var(--link)}
.fakt--pfeil{grid-template-columns:var(--sp-7) minmax(0,1fr) var(--icon-help);padding-right:var(--sp-3)}
.fakt--pfeil > .zeile__pfeil{width:var(--icon-help);height:var(--icon-help)}
.fakt--pfeil > .zeile__pfeil > .icon{width:var(--icon-help);height:var(--icon-help)}
.fakt--pruefen > .icon{color:var(--status-orange)}
.fakt--neutral > .icon{color:var(--label-2)}
.fakt--fehler > .icon{color:var(--status-red)}
.fakt--schlicht{align-items:center}
.fakt--schlicht > .icon{color:var(--label-2)}
.fakt--schlicht .fakt__titel{font-weight:var(--weight-body)}

/* ----- the outcome of a file: a word beside its symbol, never a badge ----- */
.ergebnis{display:inline-flex;align-items:center;gap:var(--sp-1);flex:none;font-size:var(--t-footnote);font-weight:var(--weight-emphasis);line-height:var(--line-heading);color:var(--label-1);white-space:nowrap}
.ergebnis > .icon{width:var(--icon-ergebnis);height:var(--icon-ergebnis)}
.ergebnis--zaehlt > .icon{color:var(--status-green)}
.ergebnis--achtung{color:var(--warning)}
.ergebnis--achtung > .icon{color:var(--status-orange)}
.ergebnis--ausgenommen,.ergebnis--liest{color:var(--label-2);font-weight:var(--weight-body)}

/* ----- files: the reading list, compact so a batch of 14 stays above the bar on a short phone ----- */
.datei{position:relative}
.datei--lesen{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--gap-content);min-height:var(--target-min);padding:var(--datei-pad-lesen) var(--sp-4)}
/* the line belongs to the row above, like every list line (D-13); s00b draws it in the first hairline of the next row (the prototype's inherited
   rule), one hairline lower than the card rows, so it hangs below its row: bottom:0 would move it by a hairline and fail the frozen frame */
.datei--lesen:has(+ .datei--lesen)::after{content:"";position:absolute;bottom:calc(-1 * var(--hairline));left:calc(var(--sp-4) + var(--icon-context) + var(--gap-content));right:0;height:var(--hairline);background:var(--line);pointer-events:none}
.datei--lesen > .icon{width:var(--icon-context);height:var(--icon-context);color:var(--label-2)}
.datei--lesen .datei__name{font-size:var(--t-subhead);line-height:var(--line-heading)}
.datei--lesen .datei__meta{display:block;color:var(--label-2);font-size:var(--t-footnote);line-height:var(--line-heading);font-feature-settings:"tnum"}
.datei--wartet .datei__name,.datei--wartet > .icon{color:var(--label-3)}
.datei__name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.datei__lesen{display:grid;place-items:center;width:var(--icon-context);height:var(--icon-context);color:var(--label-2)}

/* ----- files: "Ihre Rechnungen", one row per file with its outcome and reason ----- */
.datei:not(.datei--lesen){--zeile-einzug:calc(var(--row-inset) + var(--icon-context) + var(--gap-content))}
.datei:not(.datei--lesen),.datei__knopf{display:grid;grid-template-columns:var(--icon-context) minmax(0,1fr);gap:var(--gap-content);align-items:start;padding:var(--datei-pad-y) var(--sp-4) var(--datei-pad-y) var(--row-inset)}
.datei:not(.datei--lesen):has(> .zeile__pfeil),.datei__knopf:has(> .zeile__pfeil){grid-template-columns:var(--icon-context) minmax(0,1fr) var(--icon-detail)}
.datei:not(.datei--lesen) > .zeile__pfeil,.datei__knopf > .zeile__pfeil{align-self:center}
.datei:not(.datei--lesen) > .icon,.datei__knopf > .icon{width:var(--icon-context);height:var(--icon-context);margin-top:var(--symbol-versatz);color:var(--label-2)}
/* A row that opens a question is a native button over the whole row inside its item; the item keeps the hairline and the part id, the button the layout, the 44 pt and the tint. */
.datei:has(> .datei__knopf){display:block;padding:0}
button.datei__knopf{width:100%;min-height:var(--target-min);margin:0;border:0;box-sizing:border-box;background:none;font:inherit;letter-spacing:inherit;color:inherit;text-align:start;cursor:pointer}
button.datei__knopf:active{background:var(--fill-2)}
.datei__text{display:grid;gap:var(--datei-text-gap);min-width:0}
.datei__text > .datei__name{font-size:var(--t-body);line-height:var(--line-heading);color:var(--label-1)}
.datei__stand{display:flex;flex-wrap:wrap;align-items:center;gap:0 var(--sp-1);font-size:var(--t-footnote);line-height:var(--line-fussnote);color:var(--label-2)}
.datei__stand > .ergebnis{line-height:var(--line-fussnote)}
.datei__grund{font-size:var(--t-footnote);line-height:var(--line-grund);color:var(--label-2)}
.datei:not(.datei--lesen):has(+ .datei)::after{content:"";position:absolute;bottom:0;left:var(--zeile-einzug);right:0;height:var(--hairline);background:var(--line);pointer-events:none}

/* ----- a notice: a white card whose symbol carries the colour; the words stay ink ----- */
.hinweis-karte{display:grid;grid-template-columns:var(--icon-context) minmax(0,1fr);gap:var(--gap-content);padding:var(--card-note-y) var(--sp-4);border-radius:var(--card-note-radius);background:var(--card);box-shadow:inset 0 0 0 var(--ring-fine) var(--fill-1);font-size:var(--t-callout);line-height:var(--line-control);color:var(--label-1)}
.hinweis-karte > .icon{width:var(--icon-context);height:var(--icon-context);color:var(--status-orange)}
.hinweis-karte__zusatz{display:block;margin-top:var(--sp-1);color:var(--label-2)}
.hinweis-karte__aktion{display:block;position:relative;margin:var(--sp-1) 0 0;padding:0;border:0;background:none;font:inherit;letter-spacing:inherit;color:var(--link);text-align:start;cursor:pointer}
.hinweis-karte__aktion--inline{display:inline;margin:0}

/* ----- where a value came from: plain grey text under its field, no box (D-21); the quiet line with its symbol ----- */
.quelle{margin:var(--sp-line) 0 0;padding:0 var(--sp-1);font-size:var(--t-subhead);line-height:var(--line-control);color:var(--label-2);overflow-wrap:anywhere}
.quelle--ruhig,.quelle--symbol{margin:var(--sp-topic) var(--sp-1) 0;padding:0}
.quelle--ruhig:not([hidden]) + .quelle--ruhig,.quelle--symbol:not([hidden]) + .quelle--ruhig,.quelle--ruhig:not([hidden]) + .quelle--symbol,.quelle--symbol:not([hidden]) + .quelle--symbol{margin-top:var(--sp-line)}
.quelle--klein{margin:var(--sp-line) var(--sp-1) 0;padding:0;font-size:var(--t-footnote)}
.quelle + .gruppe{margin-top:var(--sp-item)}
.quelle--symbol{display:flex;align-items:flex-start;gap:var(--sp-2)}
.quelle--symbol > .icon{flex:none;width:var(--icon-help);height:var(--icon-help);margin-top:calc((var(--line-control) * 1em - var(--icon-help)) / 2)}
.quelle__link{display:inline;margin:0;padding:0;border:0;background:none;font:inherit;letter-spacing:inherit;color:var(--link);font-weight:var(--weight-body);cursor:pointer;position:relative}
.quelle__link::after,.schritte__link::after,.hinweis-karte__aktion::after{content:"";position:absolute;inset:calc(-1 * var(--sp-3)) calc(-1 * var(--sp-2))}

/* ----- the numbered steps: one ordered list, a symbol beside each text ----- */
.schritte{list-style:none;margin:0;padding:0;display:grid;gap:var(--sp-3)}
.schritte > li{display:grid;grid-template-columns:var(--icon-action) minmax(0,1fr);column-gap:var(--gap-content);align-items:start;font-size:var(--t-callout);line-height:var(--line-control)}
.schritte > li > .icon{width:var(--icon-action);height:var(--icon-action);margin-top:var(--symbol-versatz);color:var(--label-1)}
.schritte > li > span{overflow-wrap:break-word}
.schritte__aktion{display:block;margin-top:var(--sp-label)}
.schritte__link{display:inline-flex;align-items:center;gap:var(--sp-label);position:relative;margin:0;padding:0;border:0;background:none;font:inherit;letter-spacing:inherit;color:var(--link);font-weight:var(--weight-body);text-align:start;cursor:pointer}
.schritte__link > .icon{width:var(--icon-detail);height:var(--icon-detail)}

/* ----- shares: one input per area, the grey offered rest, the running total ----- */
.anteil{position:relative;display:grid;grid-template-columns:minmax(0,1fr) var(--anteil-feld);align-items:center;gap:var(--gap-content);min-height:var(--anteil-hoehe);padding:var(--anteil-pad-y) var(--sp-3) var(--anteil-pad-y) var(--row-inset);box-sizing:border-box;--zeile-einzug:var(--row-inset)}
.anteil__name{min-width:0;font-size:var(--t-body);font-weight:var(--weight-emphasis);line-height:var(--line-heading);letter-spacing:0}
.anteil__etikett{display:block}
.anteil__etikett > small,.anteil__vorschlag{display:block;font-size:var(--t-footnote);font-weight:var(--weight-body);color:var(--label-2)}
.anteil__feld{display:flex;align-items:center;justify-content:flex-end;gap:var(--sp-1);min-height:var(--target-min);padding:0 var(--field-padding-x);border-radius:var(--anteil-radius);background:var(--field);box-shadow:inset 0 0 0 var(--ring-fine) var(--control-border);font-size:var(--t-body);font-variant-numeric:tabular-nums}
/* the input is as tall as its field (a 44 pt target, as the library's .field__affix > input), so a tap anywhere in the bar lands in it */
.anteil__eingabe{flex:1 1 auto;align-self:stretch;min-width:0;min-height:var(--target-min);width:100%;margin:0;padding:0;border:0;border-radius:0;background:none;font:inherit;letter-spacing:inherit;color:inherit;text-align:end;font-variant-numeric:inherit}
/* the ring is the field's own (focus-within below), as every input bar of the library draws it, never the input's square: this rule equals the
   specificity of the library's text-field ring (components.css „Text fields“) and comes after it */
.anteil__feld > input.anteil__eingabe:focus{outline:none}
/* the offered rest is the grey value of the field (is-rest: the input holds it as its placeholder, which takes the field's grey), with no word beside it: „Vorschlag“ under the area name says it */
.anteil__feld.is-rest{color:var(--label-2)}
.anteil__eingabe::placeholder{color:inherit;opacity:1}
.anteil__einheit{color:var(--label-2);font-size:var(--t-body)}
.anteil__feld.is-draft{box-shadow:inset 0 0 0 var(--field-ring-width) var(--warning)}
.anteil__feld:has(> .anteil__eingabe[aria-invalid="true"]){box-shadow:inset 0 0 0 var(--field-ring-width) var(--error)}
.anteil__feld:focus-within{box-shadow:inset 0 0 0 var(--field-ring-width) var(--link)}
.anteil > .numeric-feedback{grid-column:1 / -1}
/* the shares' one response line (16-58 row 33, frozen s09f): every field's message stands in the group's line under it, only the first shows */
.anteile-antwort > .numeric-feedback:not([hidden]) ~ .numeric-feedback{display:none}

/* The running total under the shares: its bar takes the colour of the line under it (green with its tick only when all fits,
   orange when the owner must look, neutral while the shares are filled in). */
.summe{display:grid;gap:var(--sp-2);margin-top:var(--summe-abstand);padding:0 var(--sp-1)}
.summe[hidden]{display:none}
.summe__zeile{display:flex;align-items:center;justify-content:space-between;font-size:var(--t-subhead);color:var(--label-2)}
.summe__zahl{color:var(--label-1);font-weight:var(--weight-emphasis);font-variant-numeric:tabular-nums}
.summe--fertig .summe__zahl{display:inline-flex;align-items:center;gap:var(--sp-label);line-height:1}
.summe__haken{display:inline-grid;place-items:center;width:var(--icon-help);height:var(--icon-help);color:var(--status-green);--icon-stroke:var(--icon-stroke-fett)}
.summe__haken > .icon{width:var(--icon-help);height:var(--icon-help)}
.summe__spur{height:var(--summe-spur);border-radius:var(--summe-spur-radius);background:var(--fill-2);overflow:hidden}
.summe__balken{width:var(--summe-breite,0%);height:100%;border-radius:var(--summe-spur-radius)}
.summe--offen .summe__balken{background:var(--tint)}
.summe--fertig .summe__balken{background:var(--status-green)}
.summe--pruefen .summe__balken{background:var(--status-orange)}

/* ----- forced colours (Windows contrast themes): a ring or a tint drawn by box-shadow or a background colour is gone there, so each of them
   has an outline or a border of a system colour in its place. The share field's focus is a Highlight outline of the field, its draft edge
   is dashed and its error edge solid (the message and aria-invalid say which); the bar is Highlight on a CanvasText track; the excerpt's
   frame and mark are outlines, and the mark's tint is off so the value stays readable; cards and list lines are CanvasText. ----- */
@media (forced-colors:active){
  .gruppe,.fakt,.hinweis-karte{outline:var(--ring-fine) solid CanvasText;outline-offset:calc(-1 * var(--ring-fine))}
  :is(.zeile,.anteil):has(+ :is(.zeile,.anteil,.ust-id-zeile))::after,.datei:not(.datei--lesen):has(+ .datei)::after,.datei--lesen:has(+ .datei--lesen)::after{background:CanvasText}
  .auszug{outline:var(--ring-fine) solid CanvasText;outline-offset:calc(-1 * var(--ring-fine))}
  .auszug__marke{background:transparent;outline:var(--auszug-marke-ring) solid Highlight}
  .anteil__feld{outline:var(--ring-fine) solid CanvasText;outline-offset:calc(-1 * var(--ring-fine))}
  .anteil__feld.is-draft{outline:var(--field-ring-width) dashed CanvasText;outline-offset:calc(-1 * var(--field-ring-width))}
  .anteil__feld:has(> .anteil__eingabe[aria-invalid="true"]){outline:var(--field-ring-width) solid CanvasText;outline-offset:calc(-1 * var(--field-ring-width))}
  .anteil__feld:focus-within,.anteil__feld.is-draft:focus-within,.anteil__feld:has(> .anteil__eingabe[aria-invalid="true"]):focus-within{outline:var(--field-ring-width) solid Highlight;outline-offset:calc(-1 * var(--field-ring-width))}
  .summe__spur{outline:var(--ring-fine) solid CanvasText;outline-offset:calc(-1 * var(--ring-fine))}
  .summe__balken{background:Highlight}
}

/* ----- the computer: the quiet lines have no phone margin on the column's left (the column is the header's width) ----- */
@media (min-width:768px){
  .quelle--ruhig,.quelle--symbol,.quelle--klein{margin-left:0}
  .summe{padding:0}
}

/* The family breaks its words where its own large-text rules below say so, and nowhere else (coordinator, wave-3 merge, 25 Oct 2026): once
   app/js/leiste.js marks the root html.text-enlarged, app.css hyphenates every word of #screen > main, which the frozen frames never do for these
   cards (s19r, s00c, s01h at 200 %). The roots keep the browser's own breaking at no specificity, so the rules below still win inside their query. */
:where(.gruppe,.abschnitt,.hinweis-karte,.schritte,.quelle,.fakt,.anteil,.summe,.rechnung-zeile){-webkit-hyphens:manual;hyphens:manual}

/* ----- large text: below 18 times the text size of the screen's column (never at the default size) names and long words break, pairs stack
   (container query in the column's own em, as prototype.css „Large text“) ----- */
@container (max-width:18em){
  .fakt,.zeile__label,.zeile__wert,.quelle:not(.quelle--klein){hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}
  .amt-zeile.quelle{-webkit-hyphens:manual;hyphens:manual}
  .rechnung-zeile__name,.rechnung-zeile__meta{overflow-wrap:break-word}
  .fakt__titel,.zeile__wert{white-space:normal;text-overflow:clip;overflow-wrap:break-word}
  .zeile--kenn,.anteil{grid-template-columns:minmax(0,1fr)}
  .anteil__feld{justify-self:stretch}
  .zeile--kenn > :last-child{text-align:start;justify-self:start}
}

/* ----- the activity card and the pop-up rows (16-58 rows 18 and 24; frozen s05, s09c) -----
   The activity card (taetigkeitKarte): one card group, the WZ 2003 title in Body Medium and its code grey under it, the label step apart, the row's
   inset all round. A row that chooses its value from a menu (auswahlZeile): the label leading, the value trailing in link blue with the unit menu's
   small up-down chevron and its distance, the row 52 pt high (the 44 pt target and the line step); the value is the select menu's trigger, without
   a field's box, its 44 pt reach above and below the line. At large text the value goes under the label. */
.taetigkeit{display:grid;gap:var(--sp-1);padding:var(--row-inset)}
.taetigkeit__titel{font-size:var(--t-body);font-weight:var(--weight-emphasis);line-height:var(--line-detail);color:var(--label-1)}
.taetigkeit__code{font-size:var(--t-subhead);line-height:var(--line-detail);color:var(--label-2)}
/* the price card (preisKarte, 16-58 row 25, frozen s23 … s23l): the Worker's quote as one card of key lines, each amount on its label's baseline; the
   licence line's grey Footnote sub line under its label; the total in Medium; net and VAT the minor lines, grey and a step smaller; the stale form
   dimmed with its amounts struck through. The redeemed code (s23c) is one row in its own card, the gift symbol leading; the gift-code field (s23b,
   s23d, s23e, s23f) is the library's text field in its inline form: the label leading, the six digits at the end, white with the fine edge. */
.preis-karte > .preis-zeile{align-items:baseline}
.preis-zeile__label{min-width:0}
.preis-zeile > b{white-space:nowrap}
.preis-zeile__unter{display:block;margin-top:calc(var(--row-text-gap) / 2);font-size:var(--t-footnote);font-weight:var(--weight-body);line-height:var(--line-body);color:var(--label-2)}
.preis-zeile--gesamt > :is(.preis-zeile__label,b){font-weight:var(--weight-emphasis)}
.preis-zeile--neben{font-size:var(--t-subhead);line-height:var(--line-heading);color:var(--label-2)}
.preis-zeile--neben > b{font-weight:var(--weight-body);color:var(--label-2)}
.preis-karte--veraltet{opacity:.45}
.preis-karte--veraltet b{text-decoration:line-through}
.zeile.preis-code:has(> .icon:first-child){grid-template-columns:var(--icon-context) minmax(0,1fr);align-items:start;--zeile-einzug:calc(var(--row-inset) + var(--icon-context) + var(--gap-content))}
.zeile.preis-code > .icon:first-child{width:var(--icon-context);height:var(--icon-context);margin-top:var(--symbol-versatz)}
.preis-code > .zeile__text{font-size:var(--t-callout);line-height:var(--line-grund);color:var(--label-1)}
.textfeld.preis-code-feld{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--sp-item);box-sizing:border-box;min-height:calc(var(--target-min) + var(--sp-line));padding:0 var(--sp-4);border-radius:var(--r-control);background:var(--field);box-shadow:inset 0 0 0 var(--ring-fine) var(--control-border)}
.preis-code-feld > .textfeld__label{white-space:nowrap}
.textfeld.preis-code-feld > .textfeld__box,.textfeld.preis-code-feld[data-feld-zustand] > .textfeld__box:not(:focus-within),.textfeld.preis-code-feld > .textfeld__box:is(:focus-within,:has(input[aria-invalid="true"])){min-height:0;padding:0;border-radius:0;background:none;box-shadow:none}
.preis-code-feld input.textfeld__eingabe{align-self:auto;padding:0;height:calc(1em * var(--lh-body));min-height:0;text-align:end;font-variant-numeric:tabular-nums}
.textfeld.preis-code-feld:focus-within{box-shadow:inset 0 0 0 var(--field-ring-width) var(--link)}
.textfeld.preis-code-feld[data-feld-zustand="pruefen"]:not(:focus-within){box-shadow:inset 0 0 0 var(--field-ring-width) var(--warning)}
.textfeld.preis-code-feld:has(input[aria-invalid="true"]){box-shadow:inset 0 0 0 var(--field-ring-width) var(--error)}
/* large text in a narrow column: the label above the digits, as a list row's label and value stack (Apple's accessibility sizes) */
@container (max-width:18em){
  .textfeld.preis-code-feld{grid-template-columns:minmax(0,1fr);row-gap:var(--row-text-gap);padding-block:var(--row-pad)}
  .preis-code-feld input.textfeld__eingabe{text-align:start}
}
/* the price page while the order is sent (gesperrt, 16-58 row 26, frozen s25b, s25c): the add row and the line's action at the kit's disabled form
   (.switch:disabled's), no tap; the page keeps its arrangement */
:is(button.zeile--hinzufuegen,.quelle__link)[aria-disabled="true"]{opacity:.4;cursor:default}
button.zeile--hinzufuegen[aria-disabled="true"]:active{background:none}
@media (hover:hover) and (pointer:fine){button.zeile--hinzufuegen[aria-disabled="true"]:hover{background:none}}
/* the document file rows of the finished application (dateinameZeile, 16-58 row 30, frozen s31d, s31g): the name in Subhead, broken anywhere
   inside the column, never cut */
.dateiname-zeile > .zeile__text{font-size:var(--t-subhead);line-height:var(--line-detail);overflow-wrap:break-word}
.zeile.auswahl-zeile{min-height:calc(var(--target-min) + var(--sp-line))}
/* the rows stack by the width of their own group (a sheet is no container of the screen): narrow or at large text the value goes under the label */
.gruppe:has(> .auswahl-zeile){container-type:inline-size}
.auswahl-zeile__wert{display:flex;justify-content:flex-end;min-width:0}
.auswahl-zeile__wert > .select-control{display:flex;width:auto;min-width:0}
.auswahl-zeile__wert .select-trigger{position:relative;justify-content:flex-start;gap:var(--betrag-einheit-abstand);width:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;color:var(--link);font:inherit;line-height:inherit;text-align:start}
.auswahl-zeile__wert .select-trigger::after{content:"";position:absolute;left:0;right:0;top:calc(var(--sp-3) * -1);bottom:calc(var(--sp-3) * -1)}
.auswahl-zeile__wert .select-trigger > .icon{width:var(--betrag-einheit-symbol);height:var(--betrag-einheit-symbol);color:currentColor}
@container (max-width:18em){
  .zeile.auswahl-zeile{grid-template-columns:minmax(0,1fr)}
  .auswahl-zeile__wert{justify-content:flex-start}
}

/* ----- the presentation samples of the startup warm-up (D-68; app/js/motion-copy.js sampleHost, local-motion.js localSample,
   disclosure-motion.js disclosureSample): fictional blocks with a ring, no text and no owner data. ----- */
.bewegungsprobe{box-sizing:border-box;min-height:var(--target-min);border-radius:var(--r-control);box-shadow:inset 0 0 0 var(--field-ring-width) currentColor}
.bewegungsprobe--rand{margin:var(--sp-2)}
.bewegungsprobe--hoch{min-height:calc(2 * var(--target-min))}

/* One middle-truncated filename at every text size. Its full text and accessible name remain in the DOM. */
.satz-dateiname,.datei__name.satz-dateiname,.rechnung-zeile__name.satz-dateiname,.dateiname-zeile > .zeile__text.satz-dateiname{display:flex;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;hyphens:manual}
.dateiname__kopf{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dateiname__ende{flex:none;white-space:nowrap}
.satz-name,.satz-name *{hyphens:manual;-webkit-hyphens:manual}
.satz-segment{display:inline-block;max-width:100%;vertical-align:bottom;white-space:pre-wrap;overflow-wrap:break-word}
.satz-fest{white-space:nowrap}
@container (max-width:18em){
  :is(.gruppe,.fakt,.quelle,.hinweis-karte,.schritte,.rechnung-zeile) :is(.zeile__text,.zeile__label,.zeile__wert,.fakt__titel,.fakt__text,.fakt__detail,.datei__meta,.datei__grund),.quelle,.abschnitt,.schritte,.hinweis-karte,.preis-zeile__label{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}
  .zeile:has(> .zeile__aktion),.zeile.rechnung-an{row-gap:var(--sp-label)}
  .zeile__aktion{grid-column:1 / -1;justify-self:start;display:flex;align-items:center;min-height:var(--target-min);white-space:normal}
  .zeile:has(> .icon:first-child) > .zeile__aktion{grid-column:2 / -1}
  .rechnung-zeile{grid-template-columns:var(--target-min) minmax(0,1fr);align-items:start}
  .rechnung-zeile__original{grid-column:2;justify-self:start}
  .rechnung-an__aendern{grid-column:1 / -1;justify-self:start}
  .datei--lesen{grid-template-columns:var(--icon-context) minmax(0,1fr);align-items:start}
  .datei--lesen > :last-child{grid-column:2;justify-self:start;min-height:var(--target-min);display:flex;align-items:center}
  .preis-zeile{grid-template-columns:minmax(0,1fr)}
  .preis-zeile > b{justify-self:start}
}
/* Names win over prose rules, including the app's inherited large-text hyphenation. */
:is(.zeile__label,.zeile__wert,.fakt__titel,.fakt__detail,.quelle,.anschrift-karte__anschrift) .satz-name,.zeile__wert.satz-name,.zeile__label.satz-name,.satz-name{hyphens:manual;-webkit-hyphens:manual}

/* Group footers follow the card's content inset. Quiet lines elsewhere retain their page-flow margin. */
:is(.gruppe,.group) + .quelle,:is(.gruppe,.group) + .quelle + .quelle{margin-inline:var(--row-inset);padding-inline:0}

/* 16-59 decision 1: content glyphs stay at their drawn size, centred on the first text line. Accessories keep their cell centre. */
@container (max-width:18em){
  .zeile > .icon:first-child{align-self:start;line-height:inherit;margin-top:calc(.5lh - var(--icon-action) / 2)}
  .dateiname-zeile > .icon:first-child{font-size:var(--t-subhead);line-height:var(--line-detail)}
  .zeile:has(> .zeile__text > .zeile__label) > .icon:first-child{font-size:var(--t-subhead);line-height:var(--line-heading)}
  .fakt > .icon,.hinweis-karte > .icon{align-self:start;line-height:inherit;margin-top:calc(.5lh - var(--icon-context) / 2)}  .datei:not(.datei--lesen) > .icon,.datei__knopf > .icon{align-self:start;font-size:var(--t-body);line-height:var(--line-heading);margin-top:calc(.5lh - var(--icon-context) / 2)}
  .datei--lesen > :is(.icon,.datei__lesen){align-self:start;font-size:var(--t-subhead);line-height:var(--line-heading);margin-top:calc(.5lh - var(--icon-context) / 2)}
  .schritte > li > .icon{line-height:inherit;margin-top:calc(.5lh - var(--icon-action) / 2)}
  .amt-zeile.quelle > .icon{line-height:inherit;margin-top:calc(.5lh - var(--icon-action) / 2)}
  .zeile.preis-code > .icon:first-child{font-size:var(--t-callout);line-height:var(--line-grund);margin-top:calc(.5lh - var(--icon-context) / 2)}
}
/* design/kit/60-momente.css */
/* The moments family: notices, banners, empty states, the spinner and the motion state attributes that must stay last (16-11, D-01). The rules below moved here unchanged from the shared stylesheet; one family file, edited only by
   its own package. Tokens only, no raw colour (tools/check-brand.js), no route selector (check-app C21). */

/* notices and banners: white cards on the canvas, --inset inside a card or sheet */
.notice{display:flex;align-items:flex-start;gap:var(--sp-3);padding:var(--sp-3) var(--sp-2) var(--sp-3) var(--sp-4);border-radius:var(--r-card);background:var(--card);color:var(--label-1);font-size:var(--t-callout);line-height:var(--lh-small)}
:is(.card,.group,.sheet) .notice{background:var(--inset)}
.notice > .icon{flex:none;margin-top:1px;color:var(--label-2)}
.notice__text{flex:1;min-width:0;margin:0;padding:var(--sp-1) 0}
.notice__close{flex:none;display:inline-flex;align-items:center;justify-content:center;width:var(--target-min);height:var(--target-min);margin:calc(var(--sp-2) * -1) 0;border:0;border-radius:50%;background:none;color:var(--label-2);cursor:pointer}
/* Required information belongs beside its actual field. Orange signals an unresolved task;
   the full message keeps normal text contrast and the symbol follows enlarged type. */
.notice.notice--warning{gap:var(--icon-label-gap);padding:var(--gap-group);border-radius:var(--inset-radius);background:var(--card);color:var(--ink);font-size:var(--type-small);line-height:var(--line-body)}
.notice--warning>.icon{width:var(--icon-inline);height:var(--icon-inline);margin-block-start:max(0px,calc((1em * var(--line-body) - var(--icon-inline)) / 2));color:var(--warning)}
.notice--warning>.notice__text{padding:0;overflow-wrap:break-word}
.banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--sp-3);min-height:var(--target-min);padding:var(--sp-1) var(--sp-4);border-radius:var(--r-card);background:var(--card);color:var(--label-1);font-size:var(--t-callout)}
:is(.card,.sheet) .banner{background:var(--inset)}
/* ---------- feedback ---------- */
.spinner{display:inline-flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;vertical-align:middle;color:var(--label-2)}
.spinner > svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;transform-origin:center}
.spinner__bogen{display:none}
html[data-plattform="android"] .spinner__speichen{display:none}
html[data-plattform="android"] .spinner__bogen{display:block}
.btn--primary > .spinner{color:var(--on-accent)}
.btn--primary:is(:disabled,[aria-disabled="true"]) > .spinner{color:inherit}
.empty{display:flex;flex-direction:column;align-items:center;gap:var(--sp-3);padding:var(--sp-12) var(--sp-6);text-align:start}
.empty > .icon{width:40px;height:40px;color:var(--label-3)}
.empty__title{margin:0;text-align:center;font-size:var(--t-title-3);font-weight:var(--w-title-3);letter-spacing:var(--tracking-title-3);line-height:var(--lh-title)}
.empty__text{margin:0;max-width:32em;color:var(--label-2);font-size:var(--t-callout);line-height:var(--lh-body)}
@media (prefers-reduced-motion:no-preference){
  .spinner__speichen{animation:spinner-turn var(--dur-spin) steps(8) infinite}
  .spinner__bogen{animation:spinner-turn var(--dur-spin) linear infinite}
}
@keyframes spinner-turn{to{transform:rotate(360deg)}}

/* ---------- the moment (16-19, D-01, D-21): a calm centred confirmation, one symbol, a title, a line and what the owner needs to see ----------
   The symbol is 36 pt with one 3 pt stroke (the 24-unit icon at 1.5 times, stroke 2): Apple's green tick at the end of reading,
   the orange „i“ where nothing counts yet. It stands 150 pt under the header on a tall phone, less on a short screen (100svh is
   the screen box of every parity view), 96 pt on the computer. State is words beside a symbol; no capsule badge anywhere here. */
.moment{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;padding:var(--moment-oben) var(--sp-8) 0;
  margin-left:calc((var(--margin-phone) + env(safe-area-inset-left,0px)) * -1);margin-right:calc((var(--margin-phone) + env(safe-area-inset-right,0px)) * -1)}
.moment > *{max-width:100%}
/* on a phone the moment spans the whole screen (it carries its own 32 pt sides); the computer's column is the 560 pt one already */
@media (min-width:768px){.moment{margin-left:0;margin-right:0;padding-top:var(--moment-oben-breit)}}
.moment__symbol{display:block;width:var(--moment-symbol);height:var(--moment-symbol);color:var(--status-orange)}
.moment__symbol--fertig{color:var(--status-green)}
.moment__symbol > .icon{width:var(--moment-symbol);height:var(--moment-symbol);--icon-stroke:var(--moment-symbol-strich)}
.moment__symbol .icon svg *{vector-effect:none}
.moment__titel{margin:var(--moment-titel-abstand) 0 0;font-size:var(--type-frage-titel);font-weight:var(--w-title);line-height:var(--line-title);letter-spacing:var(--tracking-title);text-wrap:balance;overflow-wrap:break-word}
/* the family's two grey roles are the lists family's (50-listen.css: .quelle, the source note, and .abschnitt, the section label above a card);
   a context here sets only its place (margin and side padding): the moment's line, the exit's lines, the line under the setup bar, the notes
   under the bank details and in the QR sheet. The moment's facts are the library's .fakten of .fakt; the exit's rows and the bridge's are its .zeile. */
:where(.moment) > .quelle{margin:0 var(--sp-1);padding:0}
.moment__lead{margin:var(--sp-2-5) 0 0;font-size:var(--t-callout);line-height:var(--line-control);color:var(--label-2);text-wrap:pretty}
.moment--nach-bestellung .moment__lead{text-wrap:balance}
/* what follows the line starts one question step under it, as everywhere on a screen */
.moment__ohne-umbruch{white-space:nowrap}
@media (min-width:768px){:where(.moment) > .quelle{margin-left:0}}
.moment__lead + *{margin-top:var(--sp-question)}
/* the wait's symbol: the app's spinner in the moment's slot, 36 pt with one 3 pt stroke like the tick and the „i“ (spokes on Apple platforms,
   the arc on Android through html[data-plattform], as the spinner already does) */
.moment__symbol--warten{display:grid;place-items:center}
.moment__symbol--warten .spinner{width:var(--moment-symbol);height:var(--moment-symbol);color:var(--label-2)}
.moment__symbol--warten .spinner > svg{stroke-width:var(--moment-spinner-strich)}

/* ---------- the exit (16-19, D-21): the moment's symbol, title and line, then the owner's own answer, left-aligned ----------
   An answer that rules out relief ends the flow with an honest page: the „i“, the title, one line, then „Ihre Angabe“ with the
   question as asked and the answer, the reason, the adviser line and the way to the owner's files. Its one action („Angabe ändern“) is the
   screen's pinned bar, not part of this block. It starts the same way the moment does, 20 pt from the screen edges. Its rows are the
   library's .zeile (the answer: label and value; the way out: a nav row with its symbol and chevron); frozen s16b (the prototype's
   .g-exit__row) sets the answer row in one column, the question as asked at the detail line height and the answer one --sp-1 under it:
   the exit's own place for the row's two lines. */
.moment.ausgang{justify-items:start;text-align:left;padding-left:calc(var(--margin-phone) + env(safe-area-inset-left,0px));padding-right:calc(var(--margin-phone) + env(safe-area-inset-right,0px))}
@media (min-width:768px){.moment.ausgang{padding-left:0;padding-right:0}}
.ausgang__fakten{display:block;width:100%;text-align:left}
:where(.ausgang__fakten) > .abschnitt{margin:0 var(--row-inset) var(--sp-label)}
:where(.ausgang__fakten) div.zeile{grid-template-columns:minmax(0,1fr)}
:where(.ausgang__fakten) .zeile__label{line-height:var(--line-detail)}
:where(.ausgang__fakten) .zeile__wert{margin-top:var(--sp-1)}
:where(.ausgang__fakten) > .quelle{margin:var(--sp-topic) var(--row-inset) 0;padding:0}
:where(.ausgang__fakten) > .quelle + .quelle{margin-top:var(--sp-line)}
:where(.ausgang__fakten) > .quelle + .group{margin-top:var(--sp-3-5)}

/* ---------- the result figure and the bridge (16-19, D-01): the number alone, then how it comes about ---------- */
/* the figure's tracking is the frozen -.02em (--ergebnis-laufweite), not --tracking-title-3: that token is normal since D-52 (the system UI font) */
.ergebnis-zahl{margin:var(--ergebnis-abstand) 0 0;font-size:var(--ergebnis-schrift);font-weight:var(--weight-emphasis);letter-spacing:var(--ergebnis-laufweite);line-height:var(--line-ergebnis);font-variant-numeric:tabular-nums}
.ergebnis-zahl > small{margin-left:var(--sp-1);font-size:var(--ergebnis-zeichen)}
/* the computer's frozen screen is 800 pt high with its browser bar, 40 pt more than the 760 pt view: the figure's size follows that box */
@media (min-width:768px){.ergebnis-zahl{margin-top:var(--sp-3-5);font-size:var(--ergebnis-schrift-breit)}}
/* the label above the figure (16-58 row 17; frozen s19, s19m, s19n): Callout, grey, no margin of its own; the figure keeps its own distance under it,
   inside the block, which holds both so that the screen's relationship rules see one block */
.ergebnis-block{display:flow-root}
.ergebnis-label{margin:0;font-size:var(--t-callout);line-height:var(--line-body);color:var(--label-2)}
/* the bridge: the library's .group of key lines (.zeile.zeile--kenn, 50-listen.css) */
.bruecke{margin-top:var(--sp-topic)}

/* ---------- the wait line (16-19, D-38): the spinner and what is known, keeping the screen's layout ---------- */
.warten{display:grid;grid-template-columns:var(--icon-action) minmax(0,1fr);column-gap:var(--sp-3);align-items:start;margin-top:var(--sp-3-5)}
.warten > .spinner{margin-top:var(--sp-0-5)}
.warten__text{margin:0;font-size:var(--t-callout);line-height:var(--line-control);color:var(--label-1)}

/* ---------- the one setup bar (16-19, D-50): one bar over the whole download, „x von y MB“ at its end, one grey line under it ----------
   The bar is the library's .progress, whose height is the one bar height --progress-h (6 pt, frozen s00; coordinator decision 25 Oct 2026). */
.fortschritt{display:contents}
.fortschritt__zeile{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--sp-3);margin-top:var(--fortschritt-abstand)}
.fortschritt__text{font-size:var(--t-subhead);line-height:var(--line-heading);color:var(--label-2);font-variant-numeric:tabular-nums;white-space:nowrap}
:where(.fortschritt) > .quelle{margin:var(--sp-line) 0 0;padding:0}
/* forced colours (Windows contrast themes) take every background colour away, so the track and the fill would both vanish: the track gets an
   outline of the system text colour and the fill is Highlight (a system colour survives forced colours, a plain background does not) */
@media (forced-colors:active){
  .fortschritt .progress{outline:var(--hairline) solid CanvasText;outline-offset:calc(var(--hairline) * -1)}
  .fortschritt .progress__bar{background:Highlight}
}

/* ---------- the payment family (16-19, D-38, D-02, D-04): the card marks, the bank details with their copy buttons, the GiroCode ---------- */
/* the five card marks: equal 47 x 30 pt tiles with 8 pt gaps and a light edge (a mark is shown unchanged on white: the tile is
   the frame, never part of the artwork); the optical sizes of the artwork are the prototype's (DECISIONS „Payment marks“). The tile
   is the app's one chip (--mark-chip, its edge --mark-chip-line: 12 % of black in light, none in dark, as frozen s22j) and keeps its
   white and its edge in forced colours, as the code below does. The edge is one point (--ring-fine), not --hairline, which is .5 and .334 px on dense screens. */
.marken{display:flex;gap:var(--sp-2);align-items:center;margin-top:var(--sp-2-5)}
.marke{display:grid;grid-template:var(--kartenmarke-h) / var(--kartenmarke-b);place-items:center;flex:none;width:var(--kartenmarke-b);height:var(--kartenmarke-h);overflow:hidden;border-radius:var(--r-kartenmarke);background:var(--mark-chip);forced-color-adjust:none;
  box-shadow:inset 0 0 0 var(--ring-fine) var(--mark-chip-line)}
.marke > img{display:block;max-width:none}
.marke--visa > img{width:var(--kartenmarke-visa);height:auto}
.marke--mastercard > img{width:var(--kartenmarke-mastercard);height:auto}
.marke--amex > img{width:var(--kartenmarke-amex);height:var(--kartenmarke-amex)}
.marke--diners > img{width:var(--kartenmarke-diners);height:auto}
.marke--apple{border-radius:0;background:none}
.marke--apple > img{width:var(--kartenmarke-b);height:var(--kartenmarke-h)}
/* the bank details: a card of the library's rows (.zeile with its .zeile__label and .zeile__wert, 50-listen.css, and its hairline), each a label,
   a named copy button and the value on its own full-width line, so an IBAN never breaks inside its groups; the grey notes under the card are the
   payee line and the reference hint. Frozen s28 gives the row its own place: 7 pt above the label, the button beside it, the value one point under
   that line and 10 pt under the value (the row's variant, never a second row component). */
.zahlungen{display:contents}
.zeile.zahlung__zeile{gap:0 var(--sp-3);padding:var(--zahlung-pad-oben) var(--sp-2) var(--sp-2-5) var(--row-inset)}
.zeile__wert.zahlung__wert{grid-column:1 / -1;margin-top:var(--zahlung-wert-abstand);font-variant-numeric:tabular-nums;overflow-wrap:break-word}
/* the copy button: a native button of the row. Not .btn--plain (SUMMARY, Review fixes): the library's plain button centres the capitals of its
   label (20-auswahl.css) and shifts its symbol into line, which puts the label one device pixel off frozen s28's normal line box */
.zahlung__kopieren{display:inline-flex;align-items:center;gap:var(--sp-label);min-height:var(--target-min);margin:0;padding:0 var(--sp-2-5);border:0;border-radius:var(--r-control);background:none;color:var(--link);
  font:inherit;font-size:var(--t-subhead);font-weight:var(--weight-body);line-height:var(--lh-body);white-space:nowrap;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}
.zahlung__kopieren > .icon{width:var(--icon-detail);height:var(--icon-detail)}
.qr-blatt__sichern.btn--plain > .icon{width:var(--icon-text-action);height:var(--icon-text-action)}
:is(.zahlung-spalten .row,.qr-zeile + .row) > .icon:first-child{width:var(--icon-context);height:var(--icon-context)}
@container (max-width:18em){
  :is(.zahlung-spalten .row,.qr-zeile + .row){grid-template-columns:var(--icon-context) minmax(0,1fr)}
  :is(.zahlung-spalten .row,.qr-zeile + .row) > .icon:first-child{align-self:start;line-height:inherit;margin-top:calc(.5lh - var(--icon-context) / 2)}
}
@container (max-width:18em){
  .zeile.zahlung__zeile{grid-template-columns:minmax(0,1fr)}
  .zahlung__zeile > .zahlung__wert{grid-row:2;grid-column:1}
  .zahlung__kopieren{grid-row:3;grid-column:1;justify-self:start;padding-inline:0}
  .moment__titel,.moment__lead,.bruecke > .zeile,.warten__text{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}
}
/* copied: the check draws in and stays with „Kopiert“; green only on the symbol */
.zahlung__kopieren.is-kopiert{color:var(--label-2)}
.zahlung__kopieren.is-kopiert > .icon{color:var(--status-green);--icon-stroke:var(--icon-stroke-fett)}
@media (hover:hover) and (pointer:fine){
  .zahlung__kopieren:not(.is-kopiert):hover{background-image:linear-gradient(var(--fill-3),var(--fill-3))}
}
.zahlung__kopieren:not(.is-kopiert):active{background-image:linear-gradient(var(--fill-2),var(--fill-2))}
:where(.zahlungen,.qr-blatt) > .quelle{margin:var(--sp-line) 0 0;padding:0 var(--sp-1)}
/* the phone's GiroCode row: a 48 pt thumbnail, the label, „Zum Vergrößern tippen“ and a chevron; a tap opens the sheet with the full code */
.qr-zeile{display:grid;grid-template-columns:var(--qr-mini) minmax(0,1fr) var(--icon-detail);column-gap:var(--sp-3-5);align-items:center;box-sizing:border-box;width:100%;min-height:var(--qr-zeile-hoehe);margin:0;padding:var(--sp-2-5) var(--sp-4) var(--sp-2-5) var(--sp-3);border:0;border-radius:0;
  background:none;color:var(--label-1);font:inherit;text-align:left;cursor:pointer;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}
.qr-zeile__text{display:grid;gap:var(--row-text-gap);font-size:var(--t-callout);line-height:var(--line-heading);color:var(--label-1);text-wrap:balance}
.qr-zeile__hinweis{font-size:var(--t-subhead);color:var(--label-2)}
.qr-zeile__ende{display:grid;place-items:center;align-self:center;width:var(--icon-detail);height:var(--icon-detail);color:var(--label-3)}
.qr-zeile__ende > .icon{width:var(--icon-detail);height:var(--icon-detail)}
@media (hover:hover) and (pointer:fine){
  .qr-zeile:hover{background-image:linear-gradient(var(--fill-3),var(--fill-3))}
}
.qr-zeile:active{background-image:linear-gradient(var(--fill-2),var(--fill-2))}
/* the code itself: black modules on white in both schemes (the app's --pdf-ink and --pdf-paper), so banking apps read it */
.qr{display:block;flex:none;background:var(--pdf-paper);forced-color-adjust:none}
.qr path{fill:var(--pdf-ink)}
.qr--mini{border-radius:var(--r-code-klein);box-shadow:0 0 0 var(--ring-fine) var(--fill-1)}
.qr--gross{border-radius:var(--r-code-gross)}
/* the stylesheet sizes both drawings (the builders pass no edge): the thumbnail fills the row's 48 pt column, the large code is 196 pt wide at most */
.qr-zeile > .qr--mini{inline-size:100%;block-size:auto}
.qr-gross > .qr--gross{inline-size:100%;max-inline-size:var(--qr-gross);block-size:auto}
/* the sheet the GiroCode row opens (pay-qr.js, the library's form, frozen s28b): the full code, at most 24 rem wide and centred, „QR-Code sichern“
   centred under it and the grey save hint under that; the code keeps its paper and ink in both schemes through .qr, so it is drawn right on any screen */
.qr-blatt{display:grid;justify-items:center;padding-block-end:var(--sp-4)}
.qr-blatt > .qr{inline-size:100%;max-inline-size:var(--qr-blatt-breite);block-size:auto}
.qr-blatt > .qr-blatt__sichern{margin:var(--sp-3) 0 0}
/* s28b's grey line under the button is the family's grey note (.quelle, as under the bank details), over the sheet's full width */
.qr-blatt > .quelle{justify-self:stretch}
/* the GiroCode sheet drawn in the page (qrBlatt, 16-58 row 27, frozen s28b): the opened sheet's form without its controller, so its controls act on nothing
   and show no pointer that would promise it */
dialog.sheet.sheet--pay-qr[data-gezeichnet] button{cursor:default}
/* the computer's bank details: the rows and, beside them, the large code under its title with the three steps under the code; the
   steps are an ordered list (Subhead, the secondary label). No row and no „Sichern“: the owner scans the code with the phone */
.zahlung-spalten{display:grid;grid-template-columns:minmax(0,1fr) var(--qr-gross);column-gap:var(--sp-7);align-items:start}
@media (max-width:767.98px){.zahlung-spalten{grid-template-columns:minmax(0,1fr);row-gap:var(--sp-topic)}}
.qr-gross{display:grid;gap:var(--sp-2-5);grid-template-columns:minmax(0,1fr)}
.qr-gross__titel{margin:0;font-size:var(--t-callout);font-weight:var(--weight-emphasis);line-height:var(--line-detail);text-wrap:balance}
.qr-gross__schritte{margin:var(--sp-1) 0 0;padding:0 0 0 var(--row-inset);display:grid;gap:var(--sp-label);font-size:var(--t-subhead);line-height:var(--line-detail);color:var(--label-2)}
.qr-gross__schritte > li{padding-left:var(--sp-0-5);overflow-wrap:break-word}
/* Large text (merge of 16-15, 16-18 and 16-19, coordinator 25 Oct 2026): once app/js/leiste.js marks the root html.text-enlarged, app.css hyphenates
   every word of #screen > main, which the frozen frames never do for this family's blocks; the roots keep the browser's own breaking at no
   specificity, so the family's own large-text rules below (and the lists family's, where a block draws its rows) still win inside their queries,
   as 30-felder.css and 50-listen.css do. */
:where(.moment,.bruecke,.warten,.fortschritt,.marken,.zahlungen,.zahlung-spalten,.qr-zeile,.qr-gross,.qr-blatt,.ergebnis-zahl,.ergebnis-label){-webkit-hyphens:manual;hyphens:manual}
/* at large text the body column is narrow in em on every view: label, value, then „Kopieren“ on its own line; long words hyphenate, the value
   (an amount, a name, an IBAN, a reference) never does: it wraps at any character, as frozen s28 at 200 % draws it */
@container (max-width:18em){
  .zeile.zahlung__zeile{grid-template-columns:minmax(0,1fr)}
  .zeile__wert.zahlung__wert{order:1;white-space:normal;overflow-wrap:break-word;-webkit-hyphens:manual;hyphens:manual}
  .zahlung__zeile > .zahlung__kopieren{order:2;justify-self:start}
  .zahlung__zeile > .zeile__label,:is(.zahlungen,.qr-blatt) > .quelle{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}
}

/* at large text the screen is narrow in em: long words hyphenate, names and numbers wrap at any character. The frozen computer
   screen is the whole window, wide in em even at 200 %, so the rules are the phones' */
@media (max-width:767.98px){
  @container (max-width:18em){
    .moment__titel,.moment__lead,.moment > .quelle,.moment .fakt{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}
    .moment .fakt__titel{white-space:normal;overflow-wrap:break-word}
    .moment__ohne-umbruch{white-space:normal}
    .ausgang__fakten .zeile__label,.ausgang__fakten .zeile__wert,.ausgang__fakten > .quelle{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}
    .ausgang__fakten .zeile__wert{white-space:normal;overflow-wrap:break-word}
  }
}
/* Decision 3 applies the same syllable breaking to the narrow large-text column on the computer. */
@media (min-width:768px){
  @container (max-width:18em){
    .moment > .quelle,.moment .fakt,.moment .fakt__titel,.ausgang__fakten > .quelle,.ausgang__fakten .zeile__label,.ausgang__fakten .zeile__wert{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}
  }
}
/* the bridge and the wait stand in the screen's body, whose own column is narrow in em at 200 % on every view: its rows stack (.zeile--kenn) and break */
@container (max-width:18em){
  .bruecke > .zeile{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}
  .warten__text{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;hyphenate-limit-chars:var(--silben-wort) var(--silben-vor) var(--silben-nach)}
}
/* Disclosure height stays in normal flow; content and input nodes are never cloned. */
/* Quick 261019-djy: a details element clips its own body while its height moves. Quick 261020-mot (Roux 19 Oct 2026:
   „When clicking add VAT ID, it animates in weirdly?“): a revealed region and a flowing root clip only their moving
   bottom edge. Top and sides keep var(--reveal-room), so a focused field's edge or a small shadow is never cut. */
details[data-disclosure-animating]{overflow:hidden;overflow:clip}
[data-disclosure-region][data-disclosure-animating],[data-local-flow]:not([data-local-flow="fest"]){clip-path:inset(calc(var(--reveal-room) * -1) calc(var(--reveal-room) * -1) 0)}
/* A flowing root that holds the pinned action bar clips by overflow, which never cuts a fixed descendant. */
[data-local-flow="fest"]{overflow:clip;overflow-clip-margin:var(--reveal-room)}
/* Accepted finite motion: controllers own route/modal facts, effects only describe the change. */
[data-overlay-phase="closing"]{pointer-events:none}
[data-page-motion]{will-change:translate,opacity}
@media (prefers-reduced-motion:reduce){
  [data-page-motion],[data-overlay-phase]{translate:none!important;scale:none!important;opacity:1!important}
}
/* The plus/minus disclosure symbol comes last: `.group .disclosure > summary` (50-listen.css) and `.disclosure[data-disclosure-motion] > summary`
   have the same specificity, and in the single stylesheet these family files were cut from the motion rules came after the group
   rules, so a summary inside a group keeps the room at its end for the symbol. Keep this block at the end of the last family file. */
/* The real registry plus/minus glyphs share the Add activity symbol's box and stroke.
   The controller owns the expanded state; native details/summary keep the action. */
.disclosure[data-disclosure-motion] > summary{position:relative;padding-inline-end:calc(var(--disclosure-inline-inset) + var(--icon-inline) + var(--sp-2))}
.disclosure[data-disclosure-motion] > summary > [data-icon="chevron-down"]{display:none}
.disclosure[data-disclosure-motion] > summary > .disclosure__symbol{position:absolute;right:var(--disclosure-inline-inset);top:50%;width:var(--icon-inline);height:var(--icon-inline);transform:translateY(calc(-50% - .04em));color:currentColor;pointer-events:none}
.disclosure[data-disclosure-motion] > summary > .disclosure__symbol > .icon{position:absolute;inset:0;width:100%;height:100%;--icon-stroke:1.75px;color:inherit;transform:none}
.disclosure[data-disclosure-motion] > summary > .disclosure__symbol > [data-icon="plus"]{opacity:1}
.disclosure[data-disclosure-motion] > summary > .disclosure__symbol > [data-icon="minus"]{opacity:0}
.disclosure[data-disclosure-motion] > summary[aria-expanded="true"] > .disclosure__symbol > [data-icon="plus"]{opacity:0}
.disclosure[data-disclosure-motion] > summary[aria-expanded="true"] > .disclosure__symbol > [data-icon="minus"]{opacity:1}
/* Owner names remain manual even where a moment's surrounding prose hyphenates. */
.moment .quelle.satz-name,.amt-zeile.satz-name,.zeile__wert.satz-name,.zeile__label.satz-name{hyphens:manual;-webkit-hyphens:manual}
