/* The Grundsicherungsgeld calculator (includes/modules/grundsicherung.php) in the owner's whatstoresareopen design
   language (design/DESIGN.md; the reference is wohngeld.css): one white card with soft round corners; the questions
   numbered in letter tiles; fields with an ink outline and round corners; the answer beside them where the card is wide
   enough (under them otherwise) as the board's hanging sign: a board tilted -1.5° on a string from a pin, the kicker
   line (with its BEISPIEL tag) in mono, the figure in Archivo 900 at 68 % width; green for an amount, grey for none,
   dashed while there is no result yet. The sign is drawn from the answer's own markup (its head and figure share the
   board, a grid; the board and the string are its ::before and ::after), so the stored example, the server's answer
   and the script's stay the same HTML. Then the notes, the Rechenweg in mono figures and the source; the drawings in
   the text as white cards (what counts in green, the reader's step on the yellow tag). Colours and fonts are the
   theme's tokens; every selector starts with .wgr-grundsicherung; no media queries. */

.wgr-grundsicherung { --pad: clamp(16px, 3vw, 28px); font-family: var(--font, var(--font-sans)); background: var(--card, var(--sheet, #fff)); color: var(--ink); border: 1px solid var(--line, #E2E2DC); border-radius: 22px; box-shadow: none; margin: 0; }
.wgr-grundsicherung [hidden] { display: none !important; }
.wgr-grundsicherung__kopf { padding: 22px var(--pad) 16px; border-bottom: 1px solid var(--line-soft, var(--rule)); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.wgr-grundsicherung__titel { margin: 0; font: 800 clamp(22px, 1vw + 17px, 26px)/1.15 var(--font, var(--font-sans)); letter-spacing: -.02em; }
.wgr-grundsicherung__kopf p { margin: 0; color: var(--muted, var(--ink-2)); font-size: 16px; max-width: 34rem; }
.wgr-grundsicherung__koerper { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr)); }
.wgr-grundsicherung__form { padding: 4px var(--pad) 24px; min-width: 0; box-shadow: 1px 0 0 var(--line-soft, var(--rule)); }
.wgr-grundsicherung__zeile { border: 0; margin: 0; padding: 22px 0 14px 48px; border-bottom: 1px solid var(--line-soft, var(--rule)); position: relative; min-width: 0; }
.wgr-grundsicherung__zeile > legend { font-weight: 750; font-size: 18px; line-height: 1.35; padding: 0; margin: 0 0 10px; float: left; width: 100%; }
.wgr-grundsicherung__zeile > legend + * { clear: both; }
/* the question's number in a letter tile */
.wgr-grundsicherung__nr { position: absolute; left: 0; top: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--tile, #EDEDE6); color: var(--ink); font: 800 16px/1 var(--font, var(--font-sans)); font-variant-numeric: lining-nums; }
.wgr-grundsicherung__freiwillig { font-weight: 400; font-size: 15px; color: var(--muted, var(--ink-2)); margin-left: 6px; }
.wgr-grundsicherung__paar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); gap: 0 16px; }
.wgr-grundsicherung__feld { display: grid; gap: 6px; margin: 0 0 12px; align-content: start; }
.wgr-grundsicherung__paar > .wgr-grundsicherung__feld { align-content: space-between; }
.wgr-grundsicherung__feld > label { font-size: 16px; font-weight: 700; line-height: 1.3; }
.wgr-grundsicherung__eingabe { position: relative; display: flex; max-width: 22rem; }
.wgr-grundsicherung__eingabe--kurz { max-width: 9.5rem; }
.wgr-grundsicherung__eingabe--jahr { max-width: 9.5rem; }
.wgr-grundsicherung__eingabe input, .wgr-grundsicherung__auswahl select, .wgr-grundsicherung__zaehler input {
	font: 500 18px/1.2 var(--font, var(--font-sans)); color: var(--ink); background: var(--card, var(--sheet)); width: 100%;
	border: 1.5px solid var(--ink); border-radius: 12px; min-height: 50px; padding: 10px 14px; appearance: none; font-variant-numeric: tabular-nums;
}
.wgr-grundsicherung__eingabe input:focus, .wgr-grundsicherung__auswahl select:focus, .wgr-grundsicherung__zaehler input:focus { outline: 0; box-shadow: 0 0 0 2px var(--ink); }
.wgr-grundsicherung__eingabe input:focus-visible, .wgr-grundsicherung__auswahl select:focus-visible, .wgr-grundsicherung__zaehler input:focus-visible { outline: 3px solid var(--tag, #FFD43B); outline-offset: 2px; }
.wgr-grundsicherung__eingabe--geld input { text-align: right; padding-right: 120px; font-family: var(--mono, monospace); font-size: 19px; }
.wgr-grundsicherung__eingabe--kurz input { text-align: right; padding-right: 72px; font-family: var(--mono, monospace); font-size: 19px; }
.wgr-grundsicherung__einheit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 400 15px/1 var(--mono, monospace); color: var(--muted, var(--ink-2)); pointer-events: none; white-space: nowrap; }
.wgr-grundsicherung__eingabe input::placeholder { color: var(--subtle, var(--ink-2)); opacity: 1; }
.wgr-grundsicherung__auswahl { position: relative; max-width: 22rem; }
.wgr-grundsicherung__auswahl::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.wgr-grundsicherung__auswahl select { padding-right: 44px; }
.wgr-grundsicherung__hilfe { font-size: 15px; line-height: 1.45; color: var(--muted, var(--ink-2)); margin: 0 0 12px; }
.wgr-grundsicherung__hilfe a, .wgr-grundsicherung__quelle a { color: var(--ink); font-weight: 600; }
.wgr-grundsicherung__wahl { display: grid; gap: 10px; margin: 0 0 14px; }
.wgr-grundsicherung__wahl label { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.4; cursor: pointer; }
.wgr-grundsicherung__wahl input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.wgr-grundsicherung__wahl--reihe { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.wgr-grundsicherung__klein label { font-size: 16px; }
.wgr-grundsicherung__frage { font-size: 16px; font-weight: 700; margin: 4px 0 8px; }
.wgr-grundsicherung__frage span { font-weight: 400; color: var(--muted, var(--ink-2)); }
.wgr-grundsicherung__person, .wgr-grundsicherung__kind { border-left: 3px solid var(--tag, #FFD43B); margin: 0 0 16px; padding: 2px 0 2px 14px; min-width: 0; }
.wgr-grundsicherung__wer { font-weight: 750; margin: 0 0 8px; font-size: 16px; color: var(--ink); }
/* the counter: − [n] + in one rounded outline */
.wgr-grundsicherung__zaehler { display: flex; align-items: stretch; gap: 0; max-width: 11rem; }
.wgr-grundsicherung__zaehler button { width: 52px; min-height: 50px; font: 700 24px/1 var(--font, var(--font-sans)); color: var(--ink); background: var(--card, var(--sheet)); border: 1.5px solid var(--ink); cursor: pointer; }
.wgr-grundsicherung__zaehler button:first-child { border-radius: 12px 0 0 12px; }
.wgr-grundsicherung__zaehler button:last-child { border-radius: 0 12px 12px 0; }
.wgr-grundsicherung__zaehler button:hover:not(:disabled) { background: var(--paper); }
.wgr-grundsicherung__zaehler button:disabled { color: var(--line-input, #D5D5CE); cursor: default; }
.wgr-grundsicherung__zaehler input { width: 64px; flex: none; border-radius: 0; border-left: 0; border-right: 0; text-align: center; font-family: var(--mono, monospace); font-size: 19px; padding: 10px 4px; }
.wgr-grundsicherung__knoepfe { padding-top: 18px; }
/* the primary button: ink, white words, round corners */
.wgr-grundsicherung__los { font: 700 17px/1 var(--font, var(--font-sans)); color: var(--card, #fff); background: var(--ink); border: 1.5px solid var(--ink); border-radius: 12px; min-height: 52px; padding: 0 26px; cursor: pointer; max-width: 100%; }

/* ---- the answer: the hanging sign, then the notes ---- */
.wgr-grundsicherung__ergebnis { container-type: inline-size; padding: 22px var(--pad) 28px; box-shadow: 0 -1px 0 var(--line-soft, var(--rule)); min-width: 0; }
.wgr-grundsicherung__innen { position: sticky; top: 24px; }
/* the one line a screen reader hears after each answer (role="status"); not shown */
.wgr-grundsicherung__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
/* The sign: the answer's first part (the kicker line, with BEISPIEL beside it) and the figure share a board tilted
   -1.5°, hung from a pin by a string; the rest of the answer follows under it. Green with white words for an amount. */
.wgr-grundsicherung__antwort { --sign-bg: var(--open, #136F3A); --sign-edge: var(--open-dark, #0E5A2F); --sign-ink: #FFFFFF; --sign-top: #EAF6EE;
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; padding-top: 50px; }
.wgr-grundsicherung__antwort::before { content: ""; grid-row: 1 / span 2; grid-column: 1; margin-bottom: 26px; border: 4px solid var(--sign-edge); border-radius: 22px; transform: rotate(-1.5deg); transform-origin: 50% 0; box-shadow: 0 24px 40px -24px rgba(18, 18, 18, .45);
	background: radial-gradient(circle at 13.2% 18px, var(--paper, #F6F6F2) 0 4px, var(--sign-edge) 4.5px 6px, transparent 6.5px), radial-gradient(circle at 86.8% 18px, var(--paper, #F6F6F2) 0 4px, var(--sign-edge) 4.5px 6px, transparent 6.5px), var(--sign-bg); }
.wgr-grundsicherung__antwort::after { content: ""; position: absolute; top: 0; left: 13%; right: 13%; height: 54px; background: var(--ink);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 58' preserveAspectRatio='none'%3E%3Cpath d='M160 11L2 57M160 11L318 57' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3Ccircle cx='160' cy='8' r='7'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 58' preserveAspectRatio='none'%3E%3Cpath d='M160 11L2 57M160 11L318 57' stroke='%23000' stroke-width='2.4' fill='none'/%3E%3Ccircle cx='160' cy='8' r='7'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
/* the kicker line: either the answer's head (the kicker and its BEISPIEL tag) or the kicker alone */
.wgr-grundsicherung__antwort > .wgr-grundsicherung__kopfzeile, .wgr-grundsicherung__antwort > .wgr-grundsicherung__vor { grid-row: 1; grid-column: 1; position: relative; z-index: 1; margin: 0; padding: 32px 22px 0; transform: rotate(-1.5deg); }
.wgr-grundsicherung__kopfzeile { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; }
.wgr-grundsicherung__vor { margin: 0; text-align: center; font: 500 15px/1.3 var(--mono, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--sign-top, var(--muted)); }
.wgr-grundsicherung__kopfzeile .wgr-grundsicherung__label { color: var(--sign-top); border-color: currentColor; padding: 4px 7px 3px; margin: 0; }
.wgr-grundsicherung__betrag { grid-row: 2; grid-column: 1; position: relative; z-index: 1; margin: 0 0 26px; padding: 6px 18px 26px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .2em; text-align: center; transform: rotate(-1.5deg);
	font: 900 min(88px, 24cqi)/.9 var(--font, var(--font-sans)); font-stretch: 68%; letter-spacing: .005em; font-variant-numeric: lining-nums tabular-nums; color: var(--sign-ink); }
.wgr-grundsicherung__mark { background: none; padding: 0; margin: 0; white-space: nowrap; }
.wgr-grundsicherung__pro { flex-basis: 100%; margin-top: 12px; font: 700 18px/1.25 var(--font, var(--font-sans)); font-stretch: 100%; letter-spacing: 0; color: var(--sign-ink); }
/* none: the board white with a grey edge, the words in ink ("kein Grundsicherungsgeld", "Sozialamt statt Jobcenter") */
.wgr-grundsicherung__antwort--kein { --sign-bg: var(--card, #fff); --sign-edge: var(--subtle, #6B6E73); --sign-ink: var(--ink); --sign-top: var(--muted, #55575C); }
.wgr-grundsicherung__betrag--kein { font-size: min(46px, 11cqi); font-stretch: 75%; line-height: 1; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
/* no result yet (the form not filled in, or a check failed): the board dashed, like a status still to come */
.wgr-grundsicherung__antwort--leer, .wgr-grundsicherung__antwort:not(:has(.wgr-grundsicherung__betrag)) { --sign-bg: var(--card, #fff); --sign-edge: var(--pending, #6B6E73); --sign-ink: var(--muted, #55575C); --sign-top: var(--muted, #55575C); }
.wgr-grundsicherung__antwort--leer::before, .wgr-grundsicherung__antwort:not(:has(.wgr-grundsicherung__betrag))::before { border-style: dashed; }
.wgr-grundsicherung__antwort:not(:has(.wgr-grundsicherung__betrag)) > .wgr-grundsicherung__vor, .wgr-grundsicherung__antwort:not(:has(.wgr-grundsicherung__betrag)) > .wgr-grundsicherung__kopfzeile { padding-bottom: 56px; }
.wgr-grundsicherung__satz { font-size: 17px; margin: 0 0 14px; }
/* the Sofortzuschlag on top: the board's callout, its sum under an ink rule */
.wgr-grundsicherung__zuschlag { background: var(--paper); border: 0; border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; font-size: 16px; line-height: 1.5; }
.wgr-grundsicherung__zuschlag p { margin: 0 0 6px; }
.wgr-grundsicherung__zusammen { margin: 0 !important; font-size: 18px; }
.wgr-grundsicherung__zusammen b { font: 850 22px/1.2 var(--font, var(--font-sans)); font-variant-numeric: lining-nums tabular-nums; border-bottom: 2px solid var(--ink); }
/* the reason there is none, or what to check: the board's callout */
.wgr-grundsicherung__grund { background: var(--paper); border: 0; border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; font-size: 17px; }
.wgr-grundsicherung__grund p, .wgr-grundsicherung__grund ul { margin: 0; }
.wgr-grundsicherung__grund ul { padding-left: 1.1em; }
.wgr-grundsicherung__grundtitel { font: 500 15px/1.3 var(--mono, monospace) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, var(--ink-2)); margin-bottom: 6px !important; }
/* BEISPIEL: the board's dashed mono tag (like EXPECTED) */
.wgr-grundsicherung__label { display: inline-block; font: 500 15px/1 var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--muted, var(--ink-2)); border: 1.5px dashed var(--dash, #8A8D92); border-radius: 6px; padding: 5px 8px 4px; margin-right: 4px; vertical-align: 1px; white-space: nowrap; }
.wgr-grundsicherung__beispiel { font-size: 15px; line-height: 1.45; margin: 0 0 12px; color: var(--muted, var(--ink-2)); }
.wgr-grundsicherung__name { font-size: 16px; margin: 0 0 12px; }
.wgr-grundsicherung__amt { font-size: 16px; color: var(--text, var(--ink-2)); background: var(--paper); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; }
.wgr-grundsicherung__vermoegen { font-size: 16px; margin: 0 0 14px; }
.wgr-grundsicherung__vermoegen p { margin: 0; }
.wgr-grundsicherung__hinweise { margin: 0 0 12px; padding-left: 1.1em; font-size: 15px; line-height: 1.45; color: var(--text, var(--ink-2)); }
.wgr-grundsicherung__hinweise li { margin-bottom: 5px; }
.wgr-grundsicherung__rwtitel { font: 500 15px/1.3 var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--muted, var(--ink-2)); margin: 22px 0 2px; }
.wgr-grundsicherung__buch { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.wgr-grundsicherung__buch caption { text-align: left; font-weight: 800; padding: 14px 0 4px; font-size: 16px; }
.wgr-grundsicherung__buch th { text-align: left; font-weight: 400; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line-soft, var(--rule)); vertical-align: top; }
.wgr-grundsicherung__buch td { text-align: right; padding: 8px 0; border-bottom: 1px solid var(--line-soft, var(--rule)); vertical-align: top; font-family: var(--mono, monospace); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wgr-grundsicherung__buch small { display: block; color: var(--muted, var(--ink-2)); font: 400 15px/1.4 var(--mono, monospace); margin-top: 2px; }
.wgr-grundsicherung__summe th { font-weight: 800; }
.wgr-grundsicherung__summe th small { font-weight: 400; }
.wgr-grundsicherung__summe td { font-weight: 800; border-bottom: 2px solid var(--ink); }
.wgr-grundsicherung__quelle { font-size: 15px; line-height: 1.45; color: var(--muted, var(--ink-2)); padding-top: 12px; border-top: 1px solid var(--line-soft, var(--rule)); margin: 16px 0 0; }

/* the priority of Wohngeld and Kinderzuschlag: the board's callout; first in line: its yellow notice */
.wgr-grundsicherung__vorrang { background: var(--paper); border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-size: 16px; line-height: 1.5; }
.wgr-grundsicherung__vorrang p { margin: 0 0 6px; }
.wgr-grundsicherung__vorrang p:last-child { margin: 0; }
.wgr-grundsicherung__vorrang--zuerst { background: var(--tag-soft, #FFF3C4); border: 1px solid var(--tag-line, #F0D978); }
.wgr-grundsicherung__vorrangtitel { font-weight: 800; font-size: 17px; }
.wgr-grundsicherung__vorrangtitel small { font-weight: 400; color: var(--muted, var(--ink-2)); font-size: 15px; margin-left: 4px; }

/* ---- the drawings (in the text): white cards ---- */
.wgr-grundsicherung.wgr-grundsicherung--bild { margin: 0 0 var(--sp-5, 24px); padding: 22px clamp(16px, 3vw, 24px) 18px; border-radius: 18px; box-shadow: none; }
/* two class names: the theme's .prose h3 (0,1,1) put 1.5em of empty card over the title */
.wgr-grundsicherung .wgr-grundsicherung__bildtitel { margin: 0 0 6px; font: 800 clamp(20px, 1vw + 16px, 24px)/1.2 var(--font, var(--font-sans)); letter-spacing: -.01em; }
.wgr-grundsicherung__bildtext { margin: 0 0 12px; font-size: 16px; color: var(--text, var(--ink-2)); }
.wgr-grundsicherung__bildnotiz { font-size: 15px; line-height: 1.45; color: var(--muted, var(--ink-2)); margin: 12px 0 0; }

/* Regelbedarfe: the stage's number in a letter tile, the amounts in mono */
.wgr-grundsicherung__regeltabelle { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; margin-top: 6px; }
.wgr-grundsicherung__regeltabelle thead th { font: 500 15px/1.3 var(--mono, monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--muted, var(--ink-2)); text-align: left; padding: 6px 8px 8px 0; border-bottom: 1px solid var(--line, var(--rule)); }
.wgr-grundsicherung__regeltabelle thead th:last-child { text-align: right; padding-right: 0; }
.wgr-grundsicherung__regeltabelle tbody th, .wgr-grundsicherung__regeltabelle td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line-soft, var(--rule)); vertical-align: top; text-align: left; }
.wgr-grundsicherung__regeltabelle td small { display: block; font-size: 15px; color: var(--muted, var(--ink-2)); margin-top: 2px; }
.wgr-grundsicherung__regeltabelle .wgr-grundsicherung__zahl { text-align: right; padding-right: 0; font: 500 19px/1.3 var(--mono, monospace); white-space: nowrap; }
.wgr-grundsicherung__stufennr { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--tile, #EDEDE6); color: var(--ink); font: 800 16px/1 var(--font, var(--font-sans)); }

/* what stays of a wage: the free parts in green tints (they apply), the scale in mono */
.wgr-grundsicherung__fbfrage { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); align-items: end; }
.wgr-grundsicherung__leiste { margin: 8px 0 4px; }
.wgr-grundsicherung__lineal { position: relative; height: 34px; background: var(--tile, #EDEDE6); border: 1px solid var(--line, var(--rule)); border-radius: 8px; }
.wgr-grundsicherung__fbteil { position: absolute; top: 0; bottom: 0; }
.wgr-grundsicherung__fbteil--g, .wgr-grundsicherung__fbfarbe--g { background: var(--open, #136F3A); }
.wgr-grundsicherung__fbteil--0, .wgr-grundsicherung__fbfarbe--0 { background: color-mix(in srgb, var(--open, #136F3A) 50%, var(--card, #fff)); }
.wgr-grundsicherung__fbteil--1, .wgr-grundsicherung__fbfarbe--1 { background: color-mix(in srgb, var(--open, #136F3A) 70%, var(--card, #fff)); }
.wgr-grundsicherung__fbteil--2, .wgr-grundsicherung__fbfarbe--2 { background: color-mix(in srgb, var(--open, #136F3A) 30%, var(--card, #fff)); }
.wgr-grundsicherung__marke { position: absolute; top: -8px; bottom: -8px; width: 3px; margin-left: -1.5px; background: var(--ink); }
.wgr-grundsicherung__skala { position: relative; height: 24px; margin-top: 6px; font: 400 15px/1 var(--mono, monospace); color: var(--muted, var(--ink-2)); }
.wgr-grundsicherung__skala span { position: absolute; top: 4px; transform: translateX(-50%); white-space: nowrap; }
.wgr-grundsicherung__skala span.wgr-grundsicherung__ende { transform: translateX(-100%); }
.wgr-grundsicherung__skala--oben { margin: 0 0 6px; }
.wgr-grundsicherung__einheitzeile { margin: 2px 0 6px; font: 400 15px/1.4 var(--mono, monospace); color: var(--muted, var(--ink-2)); }
.wgr-grundsicherung__fbfarbe { display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -1px; border: 1px solid var(--line-input, #D5D5CE); border-radius: 4px; }
.wgr-grundsicherung__fbbeispiel, .wgr-grundsicherung__svbeispiel { font-size: 15px; color: var(--muted, var(--ink-2)); margin: 12px 0 0; }

/* the rent: first year and after; what counts in green, what does not hatched grey, the cap dashed */
.wgr-grundsicherung__dspalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 16px 24px; margin-top: 8px; }
.wgr-grundsicherung__dtitel { margin: 0 0 10px; font-weight: 750; font-size: 17px; min-height: 4.6em; }
.wgr-grundsicherung__dtitel small { display: block; font-weight: 400; font-size: 15px; color: var(--muted, var(--ink-2)); }
.wgr-grundsicherung__dbild { position: relative; height: 210px; border-bottom: 2px solid var(--ink); }
.wgr-grundsicherung__dmiete { position: absolute; left: 0; bottom: 0; width: 64px; height: 100%; display: flex; flex-direction: column-reverse; }
.wgr-grundsicherung__dzaehlt { display: block; background: var(--open, #136F3A); border-radius: 0 0 2px 2px; }
.wgr-grundsicherung__dnicht { display: block; background: repeating-linear-gradient(-45deg, var(--card, #fff) 0 5px, var(--subtle, #6B6E73) 5px 7px); border: 1px solid var(--subtle, #6B6E73); border-bottom: 0; border-radius: 6px 6px 0 0; }
.wgr-grundsicherung__dlinie { position: absolute; left: 0; right: 0; height: 0; border-top: 2px solid var(--ink); }
.wgr-grundsicherung__dlinie--deckel { border-top-style: dashed; border-top-color: var(--ink); }
.wgr-grundsicherung__dlinie b { position: absolute; left: 76px; bottom: 4px; font: 500 15px/1.2 var(--mono, monospace); background: var(--card, #fff); padding: 0 4px; white-space: nowrap; }
.wgr-grundsicherung__dlinie--deckel b { color: var(--ink); }
.wgr-grundsicherung__dnotiz { font-size: 16px; line-height: 1.45; margin: 10px 0 0; }
.wgr-grundsicherung__legende { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 14px 0 0; font-size: 15px; }
.wgr-grundsicherung__legende i { display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -2px; border-radius: 4px; }

/* Schonvermögen: the reader's step the yellow shelf tag with an ink outline, the others grey. Four columns, each a
   quarter of the drawing and never wider (minmax(0, 1fr), also inside each column); their three rows (amount, bar, age)
   are shared (subgrid), so every bar stands on one baseline however many lines an age takes. Two class names: the
   theme's .prose ol and li (0,1,1) gave the list a left indent and each column a bottom margin. Where a quarter is too
   narrow for a mono amount (the chart under 25rem, a phone), the amounts are Archivo condensed, 16 px, with their € on
   the same line. */
.wgr-grundsicherung .wgr-grundsicherung__treppe { container-type: inline-size; list-style: none; margin: 10px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto 150px auto; gap: 6px 8px; }
.wgr-grundsicherung .wgr-grundsicherung__stufe { display: grid; grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); align-items: start; margin: 0; min-width: 0; text-align: center; }
.wgr-grundsicherung__stufebetrag { align-self: end; font: 500 clamp(15px, 1vw + 11px, 16px)/1.2 var(--mono, monospace); white-space: nowrap; letter-spacing: -.02em; }
@container (width < 25rem) {
	.wgr-grundsicherung__stufebetrag { font: 750 16px/1.2 var(--font, var(--font-sans)); font-stretch: 75%; letter-spacing: 0; font-variant-numeric: tabular-nums lining-nums; }
}
.wgr-grundsicherung__stufesaeule { align-self: end; display: block; background: var(--bar-2, #DCDCD5); border-radius: 8px 8px 0 0; }
.wgr-grundsicherung__stufealter { font-size: 15px; line-height: 1.3; border-top: 2px solid var(--ink); padding-top: 6px; }
.wgr-grundsicherung__stufe--an .wgr-grundsicherung__stufesaeule { background: var(--tag, #FFD43B); box-shadow: inset 0 0 0 1.5px var(--ink); }
.wgr-grundsicherung__stufe--an .wgr-grundsicherung__stufealter { font-weight: 800; }
.wgr-grundsicherung__svfrage { margin-top: 4px; }
.wgr-grundsicherung__paar--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; }
.wgr-grundsicherung__paar--drei .wgr-grundsicherung__eingabe--kurz input { padding-right: 12px; text-align: left; }
.wgr-grundsicherung__paar--drei .wgr-grundsicherung__einheit { display: none; }
.wgr-grundsicherung__paar--drei .wgr-grundsicherung__feld > label { font-size: 15px; }
