/* ==========================================================================
   CRVD.KITCHEN — Release 0.2 (Global Visual System — Sprint 18.2)
   Direction A3 "Magazine" (Warm Charcoal foundation) for the dark product
   environment, combined with the A2 warm-paper treatment scoped to the
   Background Reader only. Two complementary environments, one token system.
   See docs/02-Infrastructure-Architecture for the Sprint 18/18.1/18.2 record.
   ========================================================================== */

/* PRIVACY HARDENING -- self-hosted fonts, replacing the former
   fonts.googleapis.com/fonts.gstatic.com runtime request (see the
   maintainability note in prototype/product/assets/fonts/README.md for
   provenance and update instructions). Same families, same weights, same
   Google Fonts binaries -- fetched once from the exact CSS2 request this
   product already used (Oswald:wght@400;500;600;700&Roboto:ital,wght@0,
   400;0,500;0,700;1,400), verified as genuine WOFF2 (file signature 'wOF2')
   before being committed. Both Oswald and Roboto are served by Google as
   variable fonts for this weight range: the four Oswald weights, and the
   three Roboto normal weights, each collapse to a single shared binary per
   subset -- exactly mirroring Google's own CSS2 output, not a simplification
   introduced here. Only the "latin" and "latin-ext" subsets are vendored
   (this product is German-first; both ranges together cover ä/ö/ü/ß and
   the wider Latin-diacritic set) -- the cyrillic/greek/vietnamese subsets
   Google's API also offers are not fetched, since nothing in this product
   uses them and vendoring them would be pure unused weight. */
@font-face{ font-family:'Oswald'; font-style:normal; font-weight:400;
  font-display:swap; src:url('assets/fonts/oswald-normal-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face{ font-family:'Oswald'; font-style:normal; font-weight:400;
  font-display:swap; src:url('assets/fonts/oswald-normal-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:'Oswald'; font-style:normal; font-weight:500;
  font-display:swap; src:url('assets/fonts/oswald-normal-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face{ font-family:'Oswald'; font-style:normal; font-weight:500;
  font-display:swap; src:url('assets/fonts/oswald-normal-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:'Oswald'; font-style:normal; font-weight:600;
  font-display:swap; src:url('assets/fonts/oswald-normal-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face{ font-family:'Oswald'; font-style:normal; font-weight:600;
  font-display:swap; src:url('assets/fonts/oswald-normal-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:'Oswald'; font-style:normal; font-weight:700;
  font-display:swap; src:url('assets/fonts/oswald-normal-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face{ font-family:'Oswald'; font-style:normal; font-weight:700;
  font-display:swap; src:url('assets/fonts/oswald-normal-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:'Roboto'; font-style:italic; font-weight:400;
  font-display:swap; src:url('assets/fonts/roboto-italic-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face{ font-family:'Roboto'; font-style:italic; font-weight:400;
  font-display:swap; src:url('assets/fonts/roboto-italic-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:'Roboto'; font-style:normal; font-weight:400;
  font-display:swap; src:url('assets/fonts/roboto-normal-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face{ font-family:'Roboto'; font-style:normal; font-weight:400;
  font-display:swap; src:url('assets/fonts/roboto-normal-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:'Roboto'; font-style:normal; font-weight:500;
  font-display:swap; src:url('assets/fonts/roboto-normal-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face{ font-family:'Roboto'; font-style:normal; font-weight:500;
  font-display:swap; src:url('assets/fonts/roboto-normal-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face{ font-family:'Roboto'; font-style:normal; font-weight:700;
  font-display:swap; src:url('assets/fonts/roboto-normal-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face{ font-family:'Roboto'; font-style:normal; font-weight:700;
  font-display:swap; src:url('assets/fonts/roboto-normal-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root{
  /* ---- backgrounds: dark product environment ---- */
  --canvas:#0F0D12;          /* page canvas -- C · Vessel base, warm near-black (Constitution §2.1) */
  --nav-bg:#08060B;          /* topbar / bottom nav -- one step darker than canvas */
  --surface:#1E1B22;         /* primary surface: cards, recipe cards, shefindings */
  --surface-2:#262129;       /* secondary surface: inputs, textareas */
  --surface-elevated:#2C2530; /* sheets, modals -- sits above primary surface */
  --surface-premium:#241620;  /* PL8 surfaces -- restrained, not neon */

  /* ---- backgrounds: reading environment (Background Reader only) ---- */
  --editorial-paper:#F4EEE0;      /* warm cream paper surface */
  --editorial-ink:#221E1A;        /* primary text on paper */
  --editorial-ink-secondary:#584E40; /* secondary text on paper */

  /* ---- text: dark product environment ---- */
  --text-primary:#F5F1EC;
  --text-body:#C9C0C4;
  --text-secondary:#A79FA4;
  --muted:#948C93;
  --text-disabled:#5C5560;

  /* ---- borders: dark product environment ---- */
  --hairline:#2E272D;          /* subtle divider -- decorative list rows only */
  --border-default:#6A6666;    /* actionable boundaries -- clears 3:1 vs surface */
  --border-strong:#7C7678;     /* hover / emphasis */
  --border-interactive:#E219B5; /* selected / focused actionable boundary */
  --border-premium:rgba(226,25,181,0.35); /* PL8 surfaces only */
  --editorial-divider:rgba(34,30,26,0.15); /* dividers on the paper surface */

  /* ---- actions ---- */
  /* --magenta-brand is the raw brand value and is never remapped. --magenta is
     rescoped to editorial ink inside the Reader, so anything that genuinely
     needs brand magenta on a Reader surface must reference --magenta-brand.
     Purely an alias: no rendered value changes anywhere. */
  --magenta-brand:#E219B5;
  /* THE SIGNAL -- shared CSS mask source (Signal Material + Motion
     sprint; Free/PL8 no longer an insertion point as of the Signal
     Consolidation sprint -- those decorative instances were removed
     outright). A CSS-only duplicate of SIGNAL_SVG's exact path/rect
     coordinates (app.js), used ONLY as a mask shape for material
     layers -- never as the rendered mark itself. Duplicated rather
     than referenced by id specifically because SIGNAL_SVG is inserted
     multiple times in the same document (Hero, Menschen, entry,
     ceremony) and HTML ids must be unique -- an id-based mask
     reference would collide. SIGNAL_SVG itself (app.js) is NEVER
     modified by this token; if that geometry ever changes, this
     string must be updated to match by hand. */
  --signal-mask-src:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M 168.02 163.43 A 93 93 0 1 1 188.94 127.19" fill="none" stroke="white" stroke-width="14" stroke-linecap="butt"/><rect x="173.54" y="139.50" width="14" height="14" fill="white" transform="rotate(30 180.54 146.50)"/></svg>');
  /* THE SIGNAL -- canonical Satin Magenta material body (Signal
     Governance sprint, DESIGN_CONSTITUTION.md §1.2/DH-13). One shared
     gradient recipe so every instance draws from the literal same
     definition rather than a copy-pasted value that could quietly
     drift out of sync -- "material varies in intensity, never in
     type." Consumers set their OWN opacity on top of this (Hero .11,
     Menschen 1) to vary intensity without touching the recipe itself. */
  --signal-satin-gradient:linear-gradient(155deg,
    #4a0f3d 0%, #7a1763 24%, #b81f95 44%, #86185f 64%, #3c0c32 100%);
  --magenta:var(--magenta-brand);  /* primary actions, selected nav, focus, PL8 */
  --magenta-text-safe:#E534BD; /* small magenta text on dark surfaces (badge-pl8, chef-note) --
                                   base --magenta measured 4.16-4.35:1 on real rendered dark
                                   surfaces, short of AA for text under 18px; this lightened
                                   variant verified 4.59:1+ */
  --action-destructive:#D05778; /* verified 4.59:1 on canvas */
  /* On --surface-elevated (#2C2530) #D05778 falls to 3.76:1. Dialogs use
     this lighter step of the same hue: 5.36:1 on the sheet surface. */
  --action-destructive-on-surface:#E47B97;
  --presence-active:#4FA876; /* muted sage, not neon -- active-presence dot only, not a
                                 second UI accent; magenta remains the sole action colour */
  /* Sprint 18.3 -- --accent-editorial / --accent-editorial-paper (gold/brass)
     removed per Founder correction: no decorative accent colors beyond
     magenta, anywhere. Hierarchy on dark surfaces and on paper is now
     carried by --text-primary (white / dark ink) and --text-body / --muted
     (warm grey / brown-grey) only, plus weight and underline for emphasis. */

  --surface-selected:rgba(226,25,181,0.12); /* single shared tint for active toggle/chip states */

  --font-d:'Oswald','Arial Narrow',Impact,sans-serif;
  --font-c:'Roboto',-apple-system,"Segoe UI",Arial,sans-serif;
  --patient:cubic-bezier(0.65,0,0.35,1);
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:64px; --s9:80px;
  --radius:14px;
  /* P20.2 -- the label is one word now and the height could follow it down,
     but 28px is RATIFIED: test_kitchen_ux's V5.4 banner check asserts this
     exact value. Lowering it means amending that gate, and a gate is not
     something to amend on the way past -- it is put to the Founder. The value
     stays; the reduction is proposed, not taken. */
  --preview-banner-h:28px;
  /* THE MEMBER SHELL'S OWN HEADER, as a number other surfaces can ask for.
     The bar is one row: the account control's 38px box, the hairline below
     it, and --topbar-pad above and below. Anything that has to sit clear of
     the header derives its offset from --topbar-h instead of restating a
     literal, so changing the air in one place cannot leave a sticky element
     hanging in the gap. --topbar-pad is the only value that moves between
     phone and desktop; --topbar-h follows it on its own, because custom
     properties resolve where they are used. */
  --topbar-pad:14px;
  --topbar-h:calc(var(--topbar-pad) * 2 + 39px);
  /* Sprint 19.2 -- shared mobile content safe-area: clears the bottom nav
     (~64px) and the PL8 FAB, which floats above it at bottom:86px with its
     own ~48px height (obstruction reaches ~134px from the screen bottom).
     Applies via .app-content's own padding, so every screen gets it -- not
     a per-recipe fix. Overridden by the desktop rule below 1024px, where
     there's no bottom nav or low-riding FAB to clear. */
  --mobile-safe-bottom:190px;
  /* MOBILE BOTTOM NAVIGATION -- scroll-aware retreat (Constitution 5.2,
     DH-14). html.nav-retreated is written by one owner only (appNav in
     app.js). --nav-offset is the one distance a bottom-anchored surface
     follows: the bar's height above the safe area while the navigation is
     retreated, 0 while it is in view -- the safe area itself is never given
     up. The bar itself travels further (its whole height plus the dynamic-
     toolbar allowance, see the retreat rule): it must leave the screen, a
     follower must stay on it. --nav-motion is the one timing every follower
     shares. */
  --nav-bar-h:58px;
  --nav-offset:0px;
  --nav-motion-ms:220ms;
  --nav-motion:var(--nav-motion-ms) cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing:border-box; }
/* HORIZONTALE RANDSTABILITÄT.
   Bewusst NICHT overflow-x:hidden — das wäre eine Maske über der Geometrie
   und würde absichtliche horizontale Komponenten (Table Stories) gefährden.
   overscroll-behavior-x steuert ausschließlich das RANDVERHALTEN: es
   unterbindet horizontales Ketten und Gummiband am Dokumentrand, lässt
   vertikales Scrollen unberührt und lässt Komponenten mit eigenem
   horizontalem Scroller weiterhin normal scrollen.
   Adressiert die Fehlerklassen E (Gummiband) und F (bleibende
   Verschiebung), NICHT A/B (Layout-Überlauf) — die sind über das
   Viewport-Tor in reviews/ separat abgesichert.
   AM GERÄT BESTÄTIGT (iPhone, aktuelle iOS-Generation, 2026-09-09): ohne
   diese Zeile blieb die Seite horizontal verschiebbar, mit ihr ist sie
   verankert. Am Schreibtisch ist der Defekt nicht reproduzierbar — die
   Layout-Messung war über alle Breiten hinweg grün, während das Gerät
   fehlschlug. Wer diese Zeile entfernen will, braucht dafür einen neuen
   Test auf einem echten iPhone, keine Desktop-Messung. */
html{ overscroll-behavior-x:none; }
/* DAS DOKUMENT SELBST BEWEGT SICH NIE SEITLICH (iOS-Härtung 2026-10-24).
   Die Klammer sitzt am Wurzelelement, also am Viewport, nicht an einzelnen
   Hüllen: Alles, was Hüllen wie .app-shell oder #public-site nicht fangen
   (feste Ebenen, spätere dekorative Schichten), kann weder die Seite
   verschiebbar machen noch die Layout-Breite über den Bildschirm hinaus
   aufweiten -- auf dem iPhone ziehen sich sonst die festen Leisten
   (Topbar, Bottom-Nav) mit auf die breitere Fläche, und ein Teil der
   Navigation liegt außerhalb des sichtbaren Bildschirms. `clip`, nicht
   `hidden`: Auf dem Viewport wirkt beides gleich, aber `clip` erzeugt keinen
   Scroll-Container (sticky bleibt heil). Eigene horizontale Scroller
   (Karussells, Table Stories) sind eigene Container und bleiben unberührt.
   Ältere Safari-Versionen ohne clip: siehe @supports-Rückfall unten. */
html{ overflow-x:clip; }
html,body{ margin:0; padding:0; background:var(--canvas); color:var(--text-primary); font-family:var(--font-c); }
/* position:relative + overflow-x:clip on body is the part that actually holds the
   layout width. Measured on a 375px mobile viewport with a layer pushed past the
   right edge: with clip only on html (or hidden on html AND body, or width:100%)
   the layout viewport still grew to the layer's width (innerWidth 1500, and the
   fixed bottom nav grew with it to 1500px -- partly off screen, page pannable);
   with this rule it stays 375. Reason: an absolute layer whose containing block is
   the initial block is not clipped by a static body, so the body becomes the
   containing block and clips. Every body-level layer of the app is position:fixed
   (banner, sheets, ceremony, transfer surface) and is unaffected. html's own clip
   above must stay: it stops body's overflow from being handed to the viewport. */
/* Session restoration: an empty, full-height frame -- the page background only. */
.boot-shell{ min-height:100vh; min-height:100dvh; }
body{ position:relative; overflow-x:clip; -webkit-font-smoothing:antialiased; padding-top:var(--preview-banner-h); }
h1,h2,h3,h4{ margin:0; font-family:var(--font-d); text-transform:uppercase; }
p{ margin:0; }
a{ color:inherit; }
button{ font-family:inherit; }
img{ max-width:100%; display:block; }

/* ---------- persistent public-preview marker (infrastructure, not product design) ---------- */
#preview-banner{ position:fixed; top:0; left:0; right:0; z-index:50; min-height:var(--preview-banner-h);
  display:flex; align-items:center; justify-content:center; text-align:center;
  padding:0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
  background:var(--surface-2); border-bottom:1px solid var(--magenta);
  color:var(--text-body); font-family:var(--font-d); font-size:11px; font-weight:600; line-height:1; letter-spacing:.14em; white-space:nowrap; }
#preview-banner strong{ color:var(--text-primary); font-weight:700; }
#preview-banner em{ font-style:normal; font-weight:500; color:var(--text-secondary); }
.preview-note{ font-size:12px; line-height:1.5; color:var(--muted); text-align:left; margin:0 0 20px; }

/* Privacy closeout -- quiet, non-blocking Privacy Notice update card (dashboard) and the
   small Imprint / Privacy Notice link line for public pages that end without one. */
.pn-update{ margin:14px 0 20px; padding:14px 16px; border:1px solid var(--hairline); border-radius:12px; background:var(--surface); }
.pn-update-t{ margin:0 0 6px; font-size:14px; color:var(--text-primary); }
.pn-update-l{ margin:0 0 8px; padding-left:18px; font-size:13px; line-height:1.5; color:var(--text-secondary); }
.pn-update-a{ margin:0; display:flex; flex-wrap:wrap; gap:4px 16px; }
.pn-update-a .btn-quiet{ min-height:44px; display:inline-flex; align-items:center; }   /* a 44px touch target; the look is the existing quiet button */
.legal-links{ margin:28px 0 8px; text-align:center; font-size:12px; color:var(--muted); }

/* ---------- shared components ---------- */
.btn{ font-family:var(--font-c); font-weight:600; font-size:14px; letter-spacing:0.01em; border-radius:999px;
  padding:14px 28px; cursor:pointer; border:none; display:inline-block; text-decoration:none; min-height:46px;
  transition:opacity 240ms var(--patient), transform 160ms var(--patient), border-color 200ms var(--patient); }
.btn-primary{ background:var(--magenta); color:var(--canvas); }
.btn-primary:hover{ opacity:0.9; transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--text-primary); border:1px solid var(--hairline); }
.btn-ghost:hover{ border-color:var(--border-strong); }
.btn-quiet{ background:none; border:none; color:var(--muted); text-decoration:underline; font-size:13px; cursor:pointer; padding:6px 2px; }
.btn-quiet:hover{ color:var(--text-primary); }
/* Touch target: the visible quiet link stays exactly as it is; an invisible pseudo-element extends its hit area to a
   comfortable size (it takes no space and changes no layout). iOS also zooms into form fields below 16px, so every
   input, select and textarea in the product is 16px or more. */
.btn-quiet{ position:relative; }
.btn-quiet::after{ content:''; position:absolute; top:-9px; bottom:-9px; left:-6px; right:-6px; }
.btn:focus-visible, a:focus-visible, input:focus-visible{ outline:2px solid var(--magenta); outline-offset:2px; }
.btn-block{ width:100%; text-align:center; }
.btn-oauth{ display:flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:12px; white-space:nowrap;
  background:#131314; border:1px solid #8E918F; color:#E3E3E3; font-weight:500; font-size:14px; line-height:20px; letter-spacing:0; }
/* "Weiter mit Google" follows Google's Sign in with Google branding for a custom button (Dark theme): fill #131314, 1px stroke #8E918F inside, text #E3E3E3 at 14/20 Medium,
   12px before the G, 10px after it, 12px after the text, the standard-colour G unaltered, pill shape (an offered variant). The colours are the provider's, not the
   product's, on purpose; the font is the product's Roboto (Google Sans is not available under the CSP's font-src 'self'). */
/* States. Google's page specifies only the default state and points to Material for the rest; Material's state layer is a flat tint of the text colour over the fill (hover 8%,
   focus and pressed 10%). The fill, the stroke and the G stay the theme's. Keyboard focus keeps the product's magenta ring (.btn:focus-visible), drawn outside the button.
   No magenta on the button itself: the fill, stroke and text are the provider's. */
@media (hover:hover){ .btn-oauth:hover:not([disabled]){ box-shadow:inset 0 0 0 100px rgba(227,227,227,.08); } }
.btn-oauth:focus-visible, .btn-oauth:active:not([disabled]){ box-shadow:inset 0 0 0 100px rgba(227,227,227,.10); }
.btn-oauth .oauth-g{ flex:none; display:block; height:20px; width:auto; }   /* the official G, scaled by height; its aspect ratio is kept (never stretched) */
.btn-oauth[disabled]{ cursor:progress; }
.oauth-or{ display:flex; align-items:center; gap:12px; margin:var(--s4) 0; font-size:12px; letter-spacing:.04em; color:var(--muted); }
.oauth-or::before, .oauth-or::after{ content:''; flex:1; height:1px; background:var(--hairline); }
.entry-form .entry-next{ margin:0 0 16px; font-size:12.5px; line-height:1.5; color:var(--muted); text-align:left; }   /* the e-mail confirmation hint, inside the e-mail form */
.entry-form .entry-next strong{ color:var(--text-primary); }

.card{ background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius); padding:var(--s5); }
.kicker{ font-family:var(--font-c); font-size:12px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--muted); margin:0 0 10px; }
.badge{ display:inline-block; font-size:11px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; padding:4px 10px; border-radius:999px; }
.badge-free{ background:var(--surface-2); color:var(--text-secondary); }
.badge-pl8{ background:var(--surface-premium); color:var(--magenta-text-safe); }
.field{ margin-bottom:var(--s5); text-align:left; }
.field label{ display:block; font-size:12.5px; color:var(--muted); margin-bottom:6px; }
.field input{ width:100%; background:var(--surface-2); border:1px solid var(--hairline); border-radius:10px; padding:13px 14px;
  color:var(--text-primary); font-size:16px; font-family:var(--font-c); }
.field input::placeholder{ color:var(--muted); }
.field input:focus{ outline:2px solid var(--magenta); outline-offset:1px; border-color:var(--magenta); }

.hairline{ height:1px; background:var(--hairline); border:none; margin:var(--s5) 0; }

/* Post-signup ceremony (Refinement Sprint): the threshold moment between
   "completing the form" and "being inside," rebuilt so the Signal tells
   its own story instead of sitting beside a caption. Sole visual hero --
   fixed, full-bleed, opaque, above the entire app shell (preview banner
   included), so there is nothing else on screen to compete with it. No
   dialog chrome, nothing to dismiss; it ends itself. */
.ceremony-overlay{ position:fixed; inset:0; z-index:100; display:flex; align-items:center;
  justify-content:center; overflow:hidden; background:var(--canvas);
  opacity:0; transition:opacity 500ms var(--patient); }
.ceremony-overlay.ceremony-in{ opacity:1; }
/* Vessel atmosphere -- same locked vignette values as the homepage hero,
   scoped to this overlay so the ceremony visibly belongs to the same
   world rather than being a plain dialog on a flat ground. */
.ceremony-vignette{ position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(1100px 800px at 50% 46%, rgba(255,255,255,.022) 0%, transparent 45%, rgba(0,0,0,.84) 100%); }
.ceremony-grain{ position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.14; mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='%75%72%6C%28%23n%29'/%3E%3C/svg%3E");
  background-size:120px 120px; }

.ceremony-signal{ position:relative; z-index:1; width:min(72vw,460px); height:min(72vw,460px);
  transition:opacity 150ms var(--patient); }
.ceremony-signal svg{ position:absolute; inset:0; width:100%; height:100%; display:block; overflow:visible; }
/* Fix Ceremony -> PACE Transition Artifact: the ring/seat and statement
   are the only high-contrast shapes in the overlay -- the overlay's own
   flat background already matches the PACE canvas exactly, so once
   these are hidden there's nothing left to visibly cross-fade against
   the new scene underneath. Fast and in parallel with the container's
   own opacity fade, not sequential -- no added time. */
.ceremony-overlay.ceremony-out .ceremony-signal,
.ceremony-overlay.ceremony-out .ceremony-text{ opacity:0; }
/* Ring tone is the existing ink token mixed with the existing canvas token --
   no new color, no glow -- so the ring reads as the same warm-near-black
   atmosphere catching light, not a grey shape laid on top of it. */
.ceremony-ring{ fill:none; stroke:color-mix(in srgb, var(--text-primary) 44%, var(--canvas) 56%);
  stroke-width:14; stroke-linecap:butt; }
/* The square starts displaced radially outward at the gap's own angle (30
   deg) -- "clearly visible outside the gap area" -- and travels inward to
   the exact resting position used everywhere else in the product (the
   locked construction, untouched). Rotation is fixed at all times; only
   the approach moves. */
.ceremony-seat{ fill:color-mix(in srgb, var(--text-primary) 44%, var(--canvas) 56%);
  transform-box:fill-box; transform-origin:50% 50%;
  transform:translate(13.9px,8px) rotate(30deg);
  transition:transform 950ms var(--patient), fill 550ms var(--patient); }
.ceremony-seat.arrived{ transform:translate(0,0) rotate(30deg); }
.ceremony-seat.peak{ fill:var(--magenta-brand); transition:transform 950ms var(--patient), fill 260ms var(--patient); }

/* Typography sits inside the ring's own negative space -- framed by the
   symbol, not placed beside it. */
.ceremony-text{ position:absolute; inset:14%; z-index:2; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; pointer-events:none;
  transition:opacity 150ms var(--patient); }
/* Setup line recedes (lower rest opacity) so the statement below it reads
   as the clear peak, not a second line of equal weight. */
.ceremony-quiet{ font-family:var(--font-c); font-size:clamp(11px,1.6vw,13px); font-weight:600;
  letter-spacing:0.14em; text-transform:uppercase; color:var(--muted);
  margin:0 0 14px; opacity:0; transition:opacity 600ms var(--patient); }
.ceremony-overlay.ceremony-in .ceremony-quiet{ opacity:.6; }
.ceremony-statement{ font-family:var(--font-d); font-weight:700; text-transform:uppercase;
  font-size:clamp(25px,5.2vw,39px); line-height:1.06; letter-spacing:-0.008em;
  color:var(--text-primary); margin:0; opacity:0; transform:translateY(6px);
  transition:opacity 700ms var(--patient), transform 700ms var(--patient); }
.ceremony-statement.statement-in{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion:reduce){
  .ceremony-overlay, .ceremony-quiet, .ceremony-statement, .ceremony-seat{ transition:none !important; }
  .ceremony-overlay{ opacity:1; }
  .ceremony-overlay .ceremony-quiet{ opacity:.6; }
  .ceremony-overlay .ceremony-statement{ opacity:1; transform:none; }
  .ceremony-seat{ transform:translate(0,0) rotate(30deg); }
}

/* ==========================================================================
   PUBLIC WEBSITE — full-bleed, natural scroll, no app frame
   ========================================================================== */
/* overflow-x:CLIP, not hidden. Per spec `overflow-x:hidden` forces the
   computed `overflow-y` to `auto`, which makes this element a SCROLL
   CONTAINER -- and position:sticky sticks to its nearest scrolling
   ancestor. Because #public-site is a scroll container that never
   actually scrolls (the window does), every sticky descendant silently
   never activated: the Held Stage travelled with the document exactly as
   if sticky were absent. `clip` gives the same horizontal-overflow
   protection without establishing a scroll container, so sticky resolves
   against the viewport as intended. Verified: the stage's image travels
   0px across the whole scene with clip, ~1170px with hidden. */
#public-site{ display:none; position:relative; width:100%; overflow-x:clip; }
/* First paint: index.html marks a visitor with no stored session (html.pub-first) and carries a static copy of the Hero inside
   #public-site; this is the only thing that shows it. render() replaces that copy with the real Hero. */
html.pub-first #public-site{ display:block; }
/* width:100% / height:100%, not 100vw/100vh: on a fixed inset:0 box the
   viewport units are redundant, and 100vw deliberately INCLUDES the
   classic scrollbar -- which made this decorative canvas ~15px wider
   than the document on desktop. inset:0 already sizes it correctly. */
#public-site canvas#pub-net{ position:fixed; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
#public-site .veil{ position:fixed; inset:0; z-index:1; pointer-events:none;
  /* C · Vessel vignette, locked values (Constitution §2.1): minimal centre
     lift, hard fall to a near-black edge wash -- layered over the existing
     Sprint 14 hero glow/field canvas, not replacing it. */
  background:radial-gradient(1100px 800px at 50% 40%, rgba(255,255,255,.022) 0%, transparent 45%, rgba(0,0,0,.84) 100%); }
#public-site .pub-grain{ position:fixed; inset:0; z-index:1; pointer-events:none;
  opacity:.14; mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='%75%72%6C%28%23n%29'/%3E%3C/svg%3E");
  background-size:120px 120px; }

.pub-nav{ position:fixed; top:var(--preview-banner-h); left:0; right:0; z-index:5; display:flex; align-items:center; justify-content:space-between;
  padding:18px max(24px, env(safe-area-inset-right)) 18px max(24px, env(safe-area-inset-left));
  background:linear-gradient(to bottom, rgba(16,14,19,0.92), transparent); }
/* Hero Refinement Sprint (all breakpoints): the large centred hero
   wordmark is now the homepage's single brand anchor, at every breakpoint
   -- the small nav-corner instance is retired, not just hidden on mobile. */
.pub-nav .wordmark{ display:none; }
.wordmark-dot{ fill:var(--magenta); }
.pub-nav .pub-nav-actions{ display:flex; gap:10px; align-items:center; }
.pub-nav .btn{ padding:10px 20px; font-size:13px; }
/* Hero Refinement Sprint: the hero's own centred primary CTA is removed
   (see .pub-hero .actions below), so the nav CTA is now the sole
   "Kostenlos mitmachen" on the homepage -- visible at every breakpoint,
   not just desktop. */

/* Public Experience Redesign, Phase 2 -- editorial scale and space.
   Vertical rhythm moves from a flat 96px to viewport-relative breathing
   room, so spacing scales with the composition instead of staying constant
   while type grows. Peak sections get more air than quiet ones: the space
   is part of the hierarchy, not a uniform gutter. */
.pub-section{ position:relative; z-index:2; width:100%; padding:clamp(112px,17vh,208px) max(24px, env(safe-area-inset-right)) clamp(112px,17vh,208px) max(24px, env(safe-area-inset-left)); }
/* Peak scenes are given a viewport floor rather than only padding. A scene
   that cannot be scrolled past without at least most of a screen to itself
   reads as a scene; one sized purely by its content reads as a block. This
   is the single change that turns sections into movements -- but it is a
   MIN-height, not a fixed height, so nothing is padded into emptiness:
   content taller than the floor simply grows past it. */
.pub-section.pub-peak{ padding-top:clamp(136px,23vh,280px); padding-bottom:clamp(136px,23vh,280px);
  min-height:82svh; display:flex; flex-direction:column; justify-content:center; }
/* Hero -> Story -> Free Community pacing (Transition Refinement Sprint):
   deliberately wider than the section default so each boundary reads as a
   pause, not a page break -- during the extra scroll distance the fixed
   Signal (unchanged, still hero-scoped CSS) is the only thing on screen,
   which is what makes it feel like it's guiding the page rather than
   sitting behind it. Composition/spacing only; the Signal itself is not
   touched here. */
#pub-story{ padding-top:120px; padding-bottom:120px; }
#pub-free{ padding-top:120px; }
.pub-section-inner{ max-width:680px; margin:0 auto; }
.pub-section-inner.wide{ max-width:820px; }
/* 680px physically cannot hold 60px+ type without wrapping every two or
   three words -- the old column width was itself a cause of the "document,
   not editorial" feel. Major statements now get 900px. */
.pub-section-inner.pub-wide{ max-width:900px; }
.pub-hero{ position:relative; min-height:calc(100svh - var(--preview-banner-h)); display:flex; align-items:center; overflow:hidden; }
/* ---------------------------------------------------------------------- *
   HERO PHOTOGRAPHY + NEBULA (WS01 / P1, Founder-approved hero sprint).
   The photographs are the dominant visual; everything else in this block
   exists to keep white type readable on top of them.
   Layer order inside .pub-hero: photos (0) -> nebula scrim (0, later in
   DOM) -> Signal (1, unchanged) -> content (2, unchanged).
   No beige anywhere: editorial-paper stays reserved for Story.
 * ---------------------------------------------------------------------- */
/* --canvas underneath, so wherever a photograph does not reach (see the
   phone normalisation further down) the result is the page's own ground --
   the exact colour the veil resolves the foot of the hero into anyway --
   and never a gap. */
.hero-photos{ position:absolute; inset:0; z-index:0; overflow:hidden; background:var(--canvas); }
/* will-change gives every layer its own compositing layer. That is what
   makes the crossfade a GPU opacity blend instead of a repaint, and what
   stops the slow push re-rasterising the photograph on every frame inside
   the Hero's scrubbed pin -- the second half of the stutter fix in
   initHeroPhotos (WS01/P13.5). The cost is honest and worth naming: four
   promoted viewport-sized layers hold their own GPU textures, which on a
   3x phone is tens of megabytes that un-promoted layers would not use.
   The alternative is a full-screen repaint of two layers on every frame
   of every 1.6s crossfade, which is the stutter this sprint exists to
   remove. Measured here: 3722 frames across a full rotation, none over
   34ms. Memory pressure is the one part of this that an emulated browser
   cannot answer -- it belongs to the physical-device check. */
.hero-photo{ position:absolute; inset:0; background-size:cover; background-position:50% 48%;
  background-repeat:no-repeat;
  opacity:0; transform:scale(1.04); transform-origin:50% 48%;
  will-change:opacity, transform; backface-visibility:hidden;
  transition:opacity 1600ms var(--patient); }
/* The four approved photographs. They are declared here, as ordinary asset
   references, so the publish quality gate resolves them like every other
   asset on the site. Order is deliberate: the Wok is darkest at the top of
   frame, where the wordmark and kicker sit, so it carries the first paint. */
/* Image delivery (mobile performance): only the first photograph is requested with the page. Photographs 2-4 resolve
   once initHeroPhotos has the first one decoded and adds .is-warm to the stage -- it still decodes all four before the
   first crossfade, exactly as before, it just no longer fetches ~0.8 MB ahead of the first paint. Phones (<=640px)
   get the 1200px variants in assets/images/m/ (build_public_image_variants.py); wider screens keep the originals. */
.hero-photo-1{ background-image:url('assets/images/recipe-chicken-pad-thai-performance-wok.webp'); }
.hero-photos.is-warm .hero-photo-2{ background-image:url('assets/images/recipe-chicken-korma-performance-plate.webp'); }
.hero-photos.is-warm .hero-photo-3{ background-image:url('assets/images/recipe-blackened-salmon-bowl.webp'); }
.hero-photos.is-warm .hero-photo-4{ background-image:url('assets/images/recipe-bulk-garden-italian-fuel-bowl.webp'); }
@media (max-width:640px){
  .hero-photo-1{ background-image:url('assets/images/m/recipe-chicken-pad-thai-performance-wok.webp'); }
  .hero-photos.is-warm .hero-photo-2{ background-image:url('assets/images/m/recipe-chicken-korma-performance-plate.webp'); }
  .hero-photos.is-warm .hero-photo-3{ background-image:url('assets/images/m/recipe-blackened-salmon-bowl.webp'); }
  .hero-photos.is-warm .hero-photo-4{ background-image:url('assets/images/m/recipe-bulk-garden-italian-fuel-bowl.webp'); }
}
/* The slow push is one-way per appearance and stops; it never loops and
   never runs on a photograph that is not on screen. 8.6s = the 7s dwell
   plus the 1.6s fade (HERO_PHOTO_DWELL_MS + HERO_PHOTO_FADE_MS): the push
   keeps moving through its own fade-out and arrives exactly as the layer
   disappears. At 11s against a 7s dwell it was always cut off mid-flight,
   which is what made the swap read as a stumble. */
.hero-photo.is-active{ opacity:1; }
.hero-photo.is-drifting{ animation:heroPhotoDrift 8600ms linear forwards; }
@keyframes heroPhotoDrift{ from{ transform:scale(1.04); } to{ transform:scale(1.11); } }
/* VEIL -- food first (Founder clarification, 2026-11-12). Two neutral bands,
   no colour anywhere near the dish:
     1. a short top fade so the nav and wordmark keep their ground;
     2. a bottom band that carries the type AND resolves the photograph into
        --canvas, so the hero hands over to the next section without a seam.
   The top ~44% of the frame -- where the dish actually is -- is untouched:
   no tint, no filter, no desaturation. The copy sits inside band 2 by
   composition (see the hero's padding-top below), which is what lets the
   food keep its own light instead of being dimmed to make room for text.
   Deliberately colourless: Nebula is PL8's environmental light under a
   LOCKED Design Constitution (§2.6) and is not permitted in the Free
   Experience -- see the report accompanying this change. */
.hero-veil{ position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    /* 1 - the editorial surface the copy sits on: a left column that fades out
       before the middle of the frame, so the bowl in the centre/right field is
       never crossed by it. This is what replaces treating the photograph. */
    linear-gradient(90deg, rgba(15,13,18,0.94) 0%, rgba(15,13,18,0.90) 26%, rgba(15,13,18,0.76) 40%, rgba(15,13,18,0.46) 52%, rgba(15,13,18,0.14) 64%, rgba(15,13,18,0) 74%),
    /* 2 - the handover into the next section; short, and only at the very foot. */
    linear-gradient(0deg, var(--canvas) 0%, rgba(15,13,18,0.86) 7%, rgba(15,13,18,0.42) 16%, rgba(15,13,18,0) 28%),
    /* 3 - the nav's own ground. */
    linear-gradient(180deg, rgba(15,13,18,0.50) 0%, rgba(15,13,18,0.14) 10%, rgba(15,13,18,0) 20%); }
/* COMPOSITION, not darkening: the copy column is moved down into the band
   that already exists for the handover, so the dish keeps the upper frame
   to itself. This replaces the elliptical ground that used to sit over the
   plate -- there is no longer any scrim between the viewer and the food. */
.pub-section.pub-hero{ align-items:center; justify-content:flex-start;
  padding-top:112px; padding-bottom:clamp(48px, 8vh, 104px);
  padding-left:clamp(24px, 5.5vw, 84px); padding-right:clamp(24px, 5.5vw, 84px); }
/* EDITORIAL LEFT COLUMN (Founder review, 2026-11-12): the original hero's
   left-aligned hierarchy, carried on the readability of the current one. The
   column is held under half the frame so the dish keeps the centre and right
   field to itself, and the headline never runs across the bowl. */
.pub-section.pub-hero .pub-section-inner{ text-align:left; margin:0; width:min(640px, 100%); max-width:640px; }
.pub-section.pub-hero .hero-brand-wordmark{ justify-content:flex-start; }
.pub-section.pub-hero .actions{ justify-content:flex-start; }
.pub-section.pub-hero .pub-hero-presence{ justify-content:flex-start; }
/* The tracking was the whole line's before the count moved in. It belongs
   to the invitation alone: the caption beside the figure is read, not
   scanned, and must not be tracked out. */
.pub-section.pub-hero .pub-hero-invite{ letter-spacing:0.14em; }
/* DESKTOP FRAMING, per photograph (P13.6). Above 861px the stage is wider
   than every file, so cover matches the WIDTH exactly -- which means the
   horizontal component of background-position has no effect here at all
   (the old 68% was inert, kept only because it read as composition), and
   the crop is entirely vertical. At a uniform 50% that crop was taken
   evenly off the top and the bottom, and since every bowl sits slightly
   below its own frame's centre, the rim was being cut at the bottom while
   empty dark space was kept at the top.
   Each value below centres that file's own bowl in the stage instead,
   computed from where the bowl actually sits in the frame (Wok 44.4% of
   frame height, Korma 50.6%, Salmon 51.6%, Gnocchi 51.0%). The Wok's bowl
   is small enough relative to the crop to fit entirely at 0% -- that one
   now shows the complete vessel on desktop. */
.hero-photo{ background-position:50% 50%; }
.hero-photo-1{ background-position:50% 0%; }
.hero-photo-2{ background-position:50% 52%; }
.hero-photo-3{ background-position:50% 54%; }
.hero-photo-4{ background-position:50% 53%; }
/* Tablet-portrait band (641-860px). Same normalisation as the phone, same
   reasoning, a gentler factor: the stage is wider here, so 1.15x the
   viewport puts the bowl at roughly the size it already had, now identical
   across all four files instead of spanning 1.08x to 1.55x. Above 861px
   the stage is wider than every file, cover is width-matched for all four,
   and the measured spread is already only 7.8% -- so cover stays, and
   nothing changes on desktop. */
@media (min-width:641px) and (max-width:860px){
  .hero-photo{ background-position:50% 0; }
  /* P13.6 -- 1.15x -> 0.95x, the same step back as the phone. The floor
     here is horizontal coverage, not taste: the widest bowl fraction is
     0.838, so any factor below that would render an image narrower than
     the stage and leave canvas down both sides. 0.95x keeps every file
     comfortably past 100% width while showing the whole vessel. */
  .hero-photo-1{ background-size:122% auto; }
  .hero-photo-2{ background-size:113% auto; }
  .hero-photo-3{ background-size:116% auto; }
  .hero-photo-4{ background-size:116% auto; }
  .hero-photo-2{ background-position:50% -4vw; }
  .hero-photo-3{ background-position:50% -6vw; }
  .hero-photo-4{ background-position:50% -5vw; }
}
/* FOREGROUND FIRST. --muted and --text-secondary are tuned for flat dark
   surfaces; on a photograph they disappear, and the honest fix is to raise
   the type rather than to keep darkening the food behind it. Scoped to the
   hero only -- the tokens themselves are untouched, and every other screen
   keeps its existing hierarchy. */
.pub-hero .kicker{ color:var(--text-primary); opacity:0.94; }
.pub-hero .reassurance{ color:var(--text-primary); opacity:0.95; }
/* The unit itself is never dimmed -- each part carries its own weight, so
   the figure can be fully legible while the invitation stays secondary. */
.pub-hero-presence{ color:var(--text-primary); opacity:1; }
.pub-hero-count{ color:var(--text-primary); opacity:1; }
.pub-hero-count-label{ color:var(--text-primary); opacity:0.92; }
.pub-hero-invite{ color:var(--text-primary); opacity:0.58; }
/* Glyph-level protection, which costs the photograph nothing at all: the
   last bit of legibility comes from the letterforms' own shadow rather
   than from darkening anything behind them. */
/* Functional, not decorative: a plain shadow at the glyph edge, which costs
   the photograph nothing. No glow, no gradient fill, no outline. */
.pub-hero h1,
.pub-hero .kicker,
.pub-hero .reassurance,
.pub-hero-count,
.pub-hero-count-label,
.pub-hero-invite,
.pub-hero-presence{ text-shadow:0 1px 3px rgba(10,7,12,0.62); }
.hero-brand-wordmark svg{ filter:drop-shadow(0 1px 3px rgba(10,7,12,0.6)); }
.pub-hero .hero-accent{ color:var(--magenta-text-safe); font-weight:500; }
/* On a phone the handover band starts a little higher, because the copy
   column is taller relative to the frame. Still colourless, still only the
   lower part of the picture. */
@media (max-width:640px){
  .pub-section.pub-hero{ align-items:flex-end; padding-top:72px; padding-bottom:clamp(24px, 4vh, 48px);
    padding-left:max(20px, env(safe-area-inset-left)); padding-right:max(20px, env(safe-area-inset-right)); }
  .pub-section.pub-hero .pub-section-inner{ width:100%; max-width:none; }
  /* On a phone the bowl owns the upper composition and the copy sits in the
     lower dark field: one vertical gradient, no left column. */
  /* ---------------------------------------------------------------- *
     PHOTO SCALE NORMALISATION, phone (WS01/P13.5).
     THE CAUSE. The four photographs are not the same shape: the Wok is
     1536x1024 (3:2), the Korma 1312x1199, and both bowls are 1254x1254.
     Under background-size:cover in a ~0.48 viewport every one of them is
     matched to the container's HEIGHT, so the rendered width -- and with
     it the dish -- scales with the image's own aspect ratio. Measured on
     a 390x816 stage, the bowl rendered 949px wide for the Wok against
     663px for the Salmon: a 43% spread, and a Wok so tight that no rim
     was left in frame at all. No background-position can fix that; the
     window is simply narrower than the bowl.
     THE FIX. Set the rendered WIDTH per photograph instead, as a
     percentage of the stage, each one compensating for how much of its
     own frame the bowl occupies (Wok 0.778, Korma 0.838, Salmon 0.817,
     Gnocchi 0.820). Every bowl then renders at 1.75x the viewport width,
     whatever the file's shape -- one perceived scale across the rotation,
     and 28% less zoom on the Wok than before.
     THE TRADE, stated plainly: at this scale the two wider files no
     longer reach the foot of the stage (the Wok falls ~28% short, the
     Korma ~9%). They are top-anchored so the shortfall lands at the
     bottom, where the veil is already 0.92+ opaque and .hero-photos'
     own --canvas is what the eye would see there regardless. Covering
     the full stage AND equalising scale is not possible with a 3:2 file
     among three 1:1 files -- it would force every photograph up to the
     Wok's old 2.43x zoom. A re-crop of the Wok to a squarer frame would
     remove the trade entirely; that is an asset change and needs Founder
     approval, so it is reported, not done here. */
  .hero-photo{ background-position:50% 0; }
  /* P13.6 -- the same normalisation, pulled back from 1.75x the viewport
     to 1.30x. At 1.75x the window sat inside the bowl: food filled the
     frame and the vessel holding it was never in it. At 1.30x every
     photograph shows its rim, and three of the four show both sides, so
     the dish reads as a plated dish rather than as texture. The widths
     below still carry each file's own bowl fraction, so the perceived
     scale stays identical across the rotation -- measured 507/506/507/505
     at 390. */
  .hero-photo-1{ background-size:167% auto; }
  .hero-photo-2{ background-size:155% auto; }
  .hero-photo-3{ background-size:159% auto; }
  .hero-photo-4{ background-size:159% auto; }
  /* VERTICAL, per photograph -- this is where the four genuinely differ.
     Each file carries a different amount of empty dark space above its
     bowl: the Wok almost none (its rim starts at ~1% of frame height),
     the Korma ~12%, the Gnocchi ~14%, the Salmon ~16%. Top-anchored and
     untouched, that headroom would put each dish at a different height
     and waste the top of the frame on three of them. A small negative
     offset crops roughly half of it, which lifts the dish without
     cutting into the bowl. The Wok has nothing to crop and keeps 0. */
  .hero-photo-2{ background-position:50% -8vw; }
  .hero-photo-3{ background-position:50% -12vw; }
  .hero-photo-4{ background-position:50% -10vw; }
  .hero-veil{
    background:
      linear-gradient(0deg, var(--canvas) 0%, rgba(15,13,18,0.95) 10%, rgba(15,13,18,0.86) 26%, rgba(15,13,18,0.72) 40%, rgba(15,13,18,0.48) 52%, rgba(15,13,18,0.18) 64%, rgba(15,13,18,0) 74%),
      linear-gradient(180deg, rgba(15,13,18,0.56) 0%, rgba(15,13,18,0.16) 10%, rgba(15,13,18,0) 20%); }
}
@media (prefers-reduced-motion: reduce){
  .hero-photo{ transition:none; }
  .hero-photo.is-active, .hero-photo.is-drifting{ animation:none; transform:scale(1.04); }
}
/* THE HERO'S BACKGROUND SIGNAL -- removed (WS01/P13.6).
   The mark used to sit behind the photograph as a large circular field:
   min(84vw,820px) on desktop, a 155vw bleed inside a viewport-locked
   fixed stage below 640px, with a satin ::before material, a radial crop
   mask, a 19s breathing keyframe, a desktop pointer parallax and two
   scroll-driven variables. On the Founder's device it read as a halo
   competing with the dish. Everything that existed only for it went with
   it: the stage wrapper, the mark, its ::before, its mobile override and
   the --so/--sc tweens in app.js.
   What deliberately stays: the Signal as a brand asset (the entry
   ceremony, PACE and the account screen all still carry it), the
   signalBreathe keyframe below -- which those instances use -- and the
   Hero's dark photographic veil with every contrast rule above it. */

/* signalBreathe is shared. It is kept here because .entry-signal-inner
   and .ceremony-signal-inner use it; they never set --px/--py/--sy/--sc
   and fall through to the defaults below, so the keyframe is unchanged by
   the Hero Signal's removal. The Hero was the only element that ever
   wrote those variables. */
@keyframes signalBreathe{
  0%,100%{ transform:translate(var(--px,0px), calc(var(--py,0px) + var(--sy,0px))) scale(var(--sc,1)) rotate(0deg); }
  50%{ transform:translate(var(--px,0px), calc(var(--py,0px) + var(--sy,0px))) scale(calc(1.03 * var(--sc,1))) rotate(3deg); } }
/* Centered-brand hero wordmark, now universal (Hero Refinement Sprint):
   was mobile-only (Mobile Hero Recomposition Exploration), now the single
   brand anchor at every breakpoint since the nav-corner instance is gone.
   Height reduced ~19% from the prior 64px to give the kicker, headline,
   message and "Mehr erfahren" more room -- geometry, position and colour
   otherwise unchanged. */
.hero-brand-wordmark{ display:flex; justify-content:center; margin-bottom:21px; }
.hero-brand-wordmark svg{ display:block; width:auto; height:52px; }
.pub-hero .pub-section-inner{ position:relative; z-index:2; text-align:center; }
.pub-hero h1{ font-size:clamp(38px,6.5vw,70px); line-height:1.05; letter-spacing:0.008em; margin:22px 0 0; }
.pub-hero .muted-line{ color:var(--muted); font-weight:500; }
.pub-hero .actions{ margin-top:36px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.pub-hero .reassurance{ margin-top:18px; font-size:12.5px; color:var(--muted); }
/* THE COMMUNITY STATEMENT (WS01/P13.4) -- a stat composition under the
   single primary action: the figure, a hairline, and a caption column
   holding what the number means and the brand invitation beneath it.
   P13.3 set the number inside the running sentence and the Founder's
   device review was that it still read as body text with one enlarged
   word. The figure is now lifted out of the sentence entirely -- that is
   the whole idea here. Deliberately NOT a card: no fill, no border box,
   no second surface. One hairline does all the separating.
   It is no taller than the two plain lines it replaces, so the first
   screen is unchanged. */
.pub-hero-presence{ display:flex; align-items:stretch; margin-top:26px; }
/* The figure column. flex:0 0 auto so a long number never gets squeezed;
   the caption column shrinks and wraps instead. */
.pub-hero-count{ display:flex; align-items:center; flex:0 0 auto;
  padding-right:clamp(12px,2.4vw,16px);
  border-right:1px solid rgba(245,241,236,0.22); }
.pub-hero-count[hidden]{ display:none; }
/* Oswald is the brand's display face -- already the Hero headline's -- so
   the figure reads as a number set as a number, not as bolded body text.
   No colour change: magenta is the one interface accent and it is already
   spent on the CTA directly above, and green stays what it is here, a
   presence signal on the dot. */
.pub-hero-count-n{ display:block; font-family:var(--font-d); font-weight:600;
  font-size:38px; line-height:0.92; letter-spacing:0.004em;
  font-variant-numeric:tabular-nums; }
/* The caption column. Its padding pairs with the figure's border; without
   a figure there is no rule to sit away from, so it goes too. */
.pub-hero-community{ display:flex; flex-direction:column; justify-content:center;
  gap:3px; min-width:0; padding-left:clamp(12px,2.4vw,16px); }
.pub-hero-presence.is-count-empty .pub-hero-community{ padding-left:0; }
.pub-hero-count-label{ display:block; font-family:var(--font-c);
  font-size:13.5px; line-height:1.35; letter-spacing:0.005em; }
.pub-hero-count-label[hidden]{ display:none; }
/* Presence in the hero must read as atmosphere, not a claim -- quieter
   than the dashboard's presence line (Vessel Integration Sprint): smaller,
   more muted, last in the content stack, never competing with the CTA.
   The dot sits at its head because this is the line it speaks about: the
   table being free IS the presence statement. */
.pub-hero-invite{ display:block; font-family:var(--font-c); font-size:11px; line-height:1.4; }
.pub-hero-invite .presence-dot{ display:inline-block; vertical-align:middle;
  margin-right:7px; position:relative; top:-1px; }
/* Green communicates active presence specifically -- scoped to the public
   hero only. The dashboard's presence dot (Vessel Integration Sprint)
   keeps its original muted --text-secondary treatment; not part of this
   sprint's scope. */
.pub-hero-presence .presence-dot{ background:var(--presence-active); }

/* Phone compaction: the hero wordmark is a second copy of the one already
   in the nav, so it gives up height first; the vertical rhythm then tightens
   just enough to bring the primary CTA into the first screen on small
   viewports. Type sizes are untouched -- nothing is made harder to read. */
@media (max-width:640px){
  .hero-brand-wordmark{ margin-bottom:12px; }
  .hero-brand-wordmark svg{ height:38px; }
  .pub-hero h1{ margin-top:14px; }
  .pub-hero .actions{ margin-top:24px; }
  .pub-hero .reassurance{ margin-top:14px; }
  .pub-hero-presence{ margin-top:18px; }
  /* The phone keeps the same composition at a smaller scale -- the figure
     still dominates its caption by the same ratio, it simply takes less
     room. Not a different design, the same one sized for the viewport. */
  .pub-hero-count-n{ font-size:30px; }
  .pub-hero-count-label{ font-size:12px; }
  .pub-hero-invite{ font-size:10.5px; }
}
/* Sprint 14 final -- the CRVD.KITCHEN opening shot. No traveling element,
   no keyframes, no glow/halo, no loop. One class toggle drives three
   staggered one-way settles that all start together and finish in order
   purely by differential duration: headline first, "TREND." a beat later,
   primary CTA last (material shadow depth + one clipped reflection
   sweep). Entirely disabled under prefers-reduced-motion -- the page then
   paints directly in its final, settled state. Secondary CTA and "KEIN"
   are never touched. */

/* "TREND." -- refined satin material treatment only (Founder-approved
   final pass): a tight, warm gradient plus a very fine vertical grain,
   clipped to the letterforms. This gradient itself never animates or
   sweeps -- only its brightness settles, alongside the rest of the
   system, via the media-query block below. */
.pub-hero .hero-trend{
  font-weight:500;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, rgba(0,0,0,0.045) 1px, rgba(0,0,0,0.045) 2px),
    linear-gradient(100deg, #887F84 0%, #9B928E 45%, #A29A96 55%, #887F84 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent;
}

/* Primary CTA -- resting material shadow (never a colored glow) plus the
   one-shot reflection sweep. The sweep element is clipped by the button's
   own overflow:hidden, so it is only ever visible while crossing the
   button and invisible at both ends -- never a resting shine, never
   repeats. Scoped to .pub-hero so no other button on the site is
   affected. */
.pub-hero .btn-primary{ position:relative; overflow:hidden;
  box-shadow:0 10px 24px -8px rgba(35,10,20,0.45), 0 2px 6px rgba(20,6,12,0.3), inset 0 1px 0 rgba(255,255,255,0.10); }
.pub-hero .btn-primary::after{
  content:''; position:absolute; top:-60%; left:0; width:34%; height:220%;
  background:linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.24) 50%, transparent 100%);
  transform:translateX(340%) rotate(10deg);
  pointer-events:none;
}

@media (prefers-reduced-motion: no-preference){
  .pub-hero .hero-headline-settle{ transition:opacity 800ms var(--patient), filter 800ms var(--patient); }
  .pub-hero .hero-trend,
  .pub-hero .hero-accent{ transition:opacity 1100ms var(--patient), filter 1100ms var(--patient); }
  .pub-hero .btn-primary{ transition:box-shadow 1600ms var(--patient); }
  .pub-hero .btn-primary::after{ transition:transform 1200ms var(--patient); }

  .pub-hero.hero-arriving .hero-headline-settle{ opacity:0.85; filter:brightness(0.92); }
  .pub-hero.hero-arriving .hero-trend,
  .pub-hero.hero-arriving .hero-accent{ opacity:0.8; filter:brightness(0.88); }
  .pub-hero.hero-arriving .btn-primary{ box-shadow:0 2px 6px -3px rgba(20,6,12,0.15), inset 0 0 0 rgba(255,255,255,0); }
  .pub-hero.hero-arriving .btn-primary::after{ transform:translateX(-260%) rotate(10deg); }

  /* ARRIVAL -> SCROLL OWNERSHIP HANDOFF (Premium Hero sprint).
     The arrival above animates opacity/filter for up to ~1.6s. The scroll
     choreography animates opacity on the same elements. A visitor who
     scrolls immediately after load would otherwise have both writing the
     same properties at once, which flickers. So the moment app.js builds
     the scroll timeline it stamps .hero-scroll-owned here, and every
     arrival transition is dropped: arrival keeps its visual result (it is
     one-way and lands on the resting state) but stops being an animator.
     Exactly one owner at any moment, decided by a class rather than by
     whether the user happened to wait. */
  .pub-hero.hero-scroll-owned .hero-headline-settle,
  .pub-hero.hero-scroll-owned .hero-trend,
  .pub-hero.hero-scroll-owned .hero-accent,
  .pub-hero.hero-scroll-owned .btn-primary,
  .pub-hero.hero-scroll-owned .btn-primary::after{ transition:none; }
}

/* Recession, section arrival (Hero Recession Sprint): staggered by child
   position rather than as one block -- kicker, then heading, then the
   rest of the section's body, 0/90/180ms apart. Same one-way,
   differential-duration grammar the Hero arrival already uses. Works
   across every .pub-section unmodified because each one already opens
   kicker -> heading -> body, in that DOM order. */
.pub-section-inner.pub-reveal > *{ opacity:0; transform:translateY(22px); transition:opacity 700ms var(--patient), transform 700ms var(--patient); }
.pub-section.seen .pub-section-inner.pub-reveal > *{ opacity:1; transform:translateY(0); }
.pub-section.seen .pub-section-inner.pub-reveal > *:nth-child(2){ transition-delay:90ms; }
.pub-section.seen .pub-section-inner.pub-reveal > *:nth-child(n+3){ transition-delay:180ms; }

/* ---------------------------------------------------------------------- *
 * PUBLIC EDITORIAL SCALE (Public Experience Redesign, Phase 2)
 *
 * The page previously ran 70 (hero) then 34/38/38/38/38/38 then 50 -- one
 * peak followed by six identical mid-weight sections. That flatness, not
 * missing animation, is what made everything after the Hero feel like a
 * different (and lesser) product.
 *
 * The rhythm is now deliberate:
 *   PEAK   Die Frage    ~64   the differentiating idea
 *   QUIET  Das Essen    ~28   the image carries the section
 *   MID    Die Menschen ~44   voices carry the section
 *   PEAK   Frei         ~56   /  QUIET  PL8 ~30  -- hierarchy as scale
 *   FINAL  Einladung    ~72   deliberately the largest type on the page
 *
 * The finale out-scaling the Hero is intentional: the conversion moment
 * should be the loudest thing a visitor reaches, not a smaller echo of the
 * opening. All of these are one-line declarations so the rhythm can be
 * read, and adjusted, in a single place. */
.pub-h-peak{ font-size:clamp(38px,6vw,64px); line-height:1.04; letter-spacing:0.006em; margin:18px 0 0; }
/* Frei's peak was sized down when Die Frage sat above it and the two
   read as equal claims. Die Frage left with the Held Stage (P13.4); the
   smaller setting stays, because Frei still shares the page with the
   Hero headline and the Finale, and it was never meant to out-shout
   either. */
#pub-frei .pub-h-peak{ font-size:clamp(34px,5.2vw,56px); }
.pub-h-mid{ font-size:clamp(30px,4.6vw,44px); line-height:1.1; margin:16px 0 0; }
.pub-h-quiet{ font-size:clamp(22px,2.9vw,28px); line-height:1.25; margin:0; }
.pub-h-sub{ font-size:clamp(21px,2.9vw,30px); line-height:1.3; margin:14px 0 0; font-weight:500; }
.pub-h-final{ font-size:clamp(40px,7vw,72px); line-height:1.02; letter-spacing:0.004em; margin:18px 0 0; }

/* Supporting copy scales with the statements it supports -- a 64px
   headline over 15px body is what made the old sections read as cramped. */
/* The gap between a statement and its support is doing hierarchy work:
   too tight and they read as one paragraph, so it scales with the
   viewport rather than sitting at a fixed 22px. */
.pub-lede-lg{ font-size:clamp(17px,1.55vw,20px); line-height:1.6; color:var(--text-body);
  max-width:34em; margin:clamp(30px,4.6vh,52px) 0 0; }
.pub-aside{ font-size:14.5px; line-height:1.6; color:var(--text-secondary);
  margin:clamp(22px,3vh,32px) 0 0; max-width:40em; }

/* THE HELD STAGE -- removed (WS01/P13.4). It was a desktop-only chapter
   between the Hero and the Product Story, and the phone had already lost
   it in P9. Everything it owned went with it: the sticky stage, both
   layers, the three story beats, the scroll progress dots and the
   standalone mid-page Signal. The Signal mark itself is untouched and
   still carries the Hero, the entry ceremony, PACE and the account
   screen -- only this one presentation of it is gone. */

/* FREI . PL8 -- the gap does the work of the old section break. */
.pub-beat-gap{ height:clamp(84px,15vh,178px); }
.pub-beat-quiet{ opacity:0.88; max-width:44em; }
.pub-actions-mid{ margin-top:clamp(48px,7vh,78px); }

/* THE SIGNAL AS ENVIRONMENTAL BRAND ARCHITECTURE -- removed (Signal
   Consolidation sprint). Two partial rings previously sat here as
   static background decoration (Visual Polish sprint, ref 03), then
   got a quieted Satin material (Signal Material + Motion sprint).
   Founder's call: repeating the mark here weakens the one strong
   brand-punctuation moment (the Menschen beat) rather than reinforcing
   it -- "we already have enough THE SIGNAL moments on the page." Not
   replaced with any other decorative treatment; Frei/PL8 now carries
   itself on typography, spacing and motion alone, same as before any
   Signal fragments were ever added here. .pub-section.pub-peak's
   overflow:hidden was also removed -- it existed solely to contain
   these rings and nothing else in this section can overflow. */

.pub-columns{ display:flex; gap:36px; flex-wrap:wrap; justify-content:center; text-align:left; margin-top:36px; }
.pub-col{ max-width:220px; }
.pub-col .b-label{ font-size:12px; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--text-primary); margin:0 0 8px; }
.pub-col p{ font-size:14.5px; line-height:1.6; color:var(--text-body); }

.pub-statement{ font-family:var(--font-c); font-style:italic; font-weight:400; font-size:clamp(19px,3vw,24px); line-height:1.5;
  color:var(--text-primary); max-width:560px; margin:24px auto 0; }
/* Finale's italic line as the visual pivot (Visual Polish sprint, ref
   04) -- Founder named it directly: "may use CRVD Magenta if that
   improves the hierarchy." It does: this is the one line in the whole
   sequence marking the turn from case-being-made to action-being-
   offered, and magenta is what makes that turn legible at a glance
   rather than just at reading speed. Scoped to #pub-finale only --
   .pub-statement has exactly one other use in the file (this one), so
   this could have been the base rule, but scoping keeps the base rule
   honest for any future non-finale reuse. */
#pub-finale .pub-statement{ color:var(--magenta-brand); margin-top:clamp(28px,4vh,40px); }

.pub-steps{ display:flex; flex-direction:column; gap:32px; margin-top:40px; text-align:left; }
.pub-step{ display:flex; gap:20px; align-items:flex-start; }
.pub-step-num{ font-family:var(--font-d); font-weight:700; font-size:32px; color:var(--magenta); opacity:0.8; line-height:1; flex-shrink:0; width:52px; }
.pub-step h3{ font-size:17px; margin:2px 0 6px; }
.pub-step p{ font-size:14px; line-height:1.6; color:var(--text-body); margin:0; }

.pub-ticker{ margin-top:32px; text-align:left; }
.pub-tick-line{ font-size:14px; line-height:1.6; color:var(--text-body); margin:0 0 10px; }
.pub-tick-line .who{ color:var(--text-primary); font-weight:600; }
.pub-tick-line .when{ color:var(--text-secondary); font-size:12px; }

.pub-finale{ min-height:calc(100svh - var(--preview-banner-h)); display:flex; align-items:center; text-align:center; }
.pub-finale .pub-lede-lg{ margin-left:auto; margin-right:auto; }
/* RECOMPOSED AS ONE CENTERED FINAL FRAME (Visual Polish sprint, ref 04).
   The section was already vertically/horizontally centered via the
   rules above -- what was actually missing was finish, not containment:
   .pub-lede-lg and .pub-statement already carry their own narrower
   max-widths (34em / 560px) independent of the section container, which
   is what gives the reference's "controlled narrow block" feel for the
   supporting copy while the headline keeps the wider .pub-wide container
   it needs to hold its authored 2-line break (a narrower container was
   tried and rejected here -- it forced "Heute isst du sowieso." and "Die
   Frage ist nur, wie." to each wrap a second time, turning 2 lines into
   4). The real gaps were: the action row had no explicit layout of its
   own (two inline-block buttons just wrapped at whatever gap their HTML
   whitespace happened to produce), and .reassurance had NEVER been
   styled outside .pub-hero's own scope -- on the Finale it was rendering
   as a full-size, unmuted paragraph, which is very likely the real
   source of "feels scattered": the last line was reading as loud as the
   lines before it instead of trailing off. */
#pub-finale .actions{ display:flex; align-items:center; justify-content:center;
  gap:18px; flex-wrap:wrap; }
#pub-finale .reassurance{ margin-top:22px; font-size:13px; color:var(--muted); }

.pub-footer{ position:relative; z-index:2; padding:32px max(24px, env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  text-align:center; color:var(--muted); font-size:12.5px; }

@media (min-width:768px){
  .pub-section-inner{ max-width:760px; }
}
@media (min-width:1024px){
  .pub-section-inner{ max-width:820px; }
  .pub-section-inner.wide{ max-width:920px; }
  .pub-section-inner.pub-wide{ max-width:940px; }
  .pub-columns{ justify-content:center; }
  .pub-steps{ flex-direction:row; gap:44px; }
  .pub-step{ flex-direction:column; gap:14px; }
  .pub-step-num{ width:auto; font-size:38px; }
}

/* Mobile is recomposed, not scaled down (Public Experience Redesign,
   Phase 2). The peak/quiet rhythm is preserved -- it is the point of the
   design -- but compressed, because at 390px the desktop ratios would
   leave a 64px headline occupying most of the viewport with nothing to
   anchor it. Vertical rhythm tightens proportionally so the page does not
   become a sequence of near-empty screens on a small device: generous is
   the goal, sparse is not. */
@media (max-width:640px){
  .pub-section{ padding-top:clamp(84px,12vh,124px); padding-bottom:clamp(84px,12vh,124px); }
  /* No viewport floor on mobile: an 82svh minimum would strand short
     scenes as near-empty screens on a phone. Padding alone carries the
     rhythm here. */
  .pub-section.pub-peak{ padding-top:clamp(100px,15vh,152px); padding-bottom:clamp(100px,15vh,152px); min-height:0; }
  .pub-h-peak{ font-size:clamp(31px,8.6vw,40px); }
  .pub-h-final{ font-size:clamp(33px,9.6vw,46px); }
  .pub-h-mid{ font-size:clamp(26px,7.4vw,34px); }
  .pub-h-sub{ font-size:clamp(19px,5.4vw,23px); }
  .pub-h-quiet{ font-size:clamp(20px,5.6vw,24px); }
  .pub-lede-lg{ font-size:16px; }
  /* Das Essen mobile -- independently composed, not shrunk. No pin (the
     scene never had one), shorter scene height (160vh vs 240vh -- less
     travel needed since there's no separate settle phase to fit), a
     shorter sticky stage (88svh: Safari's collapsing address bar changes
     100svh mid-scroll on iOS, and 88svh leaves a visible margin so that
     shift is never perceptible on the one element in the page tall
     enough for it to matter), and a genuinely portrait contained box
     (4:5) since the source photograph is landscape and a 16:10 box at
     390px width leaves the dish a thin, unappetising band. */
  /* Held stage on mobile: same EXPERIENCE (stage locks, Frage holds,
     food resolves in place), no pin, native touch untouched. 100svh --
     not vh -- because Safari's collapsing address bar changes vh
     mid-scroll, which on a full-viewport locked stage would be a visible
     resize of the photograph. Shorter wrapper: touch flicks cover more
     distance per gesture, so the same journey needs less travel. */
  /* 215vh -> 235vh, proportional to the desktop increase (260->285vh)
     for the Refinement sprint's new Signal-as-final-beat content. Same
     narrative, cheaper mechanism throughout -- verified live against
     real measured pixel ranges. */
  /* 235vh -> 247vh, proportional to the desktop increase (285->300vh)
     for the Visual Polish sprint's longer voice holds. */
  .pub-beat-gap{ height:clamp(48px,7vh,72px); }
  /* Full-width primary CTA -- the mid-page conversion point should not be
     a small pill on the surface where most visitors will read this. */
  .pub-actions-mid .btn{ width:100%; }
}

/* ==========================================================================
   MEMBER PRODUCT — responsive PWA shell. No device frame at any width.
   ========================================================================== */
#app{ display:none; min-height:100vh; background:var(--canvas); }
/* GLOBAL VIEWPORT FIX -- the member shell is exactly the viewport wide, and
   decorative light may bleed inside it but may never enlarge the document.
   Measured cause on Konto at 320px: two purely decorative layers pushed
   scrollWidth to 345 -- .acct-sig::before (the Signal halo, inset:-30%,
   +17px) and .acct-thread::before (the region wash, inset right -24px,
   +8px). Neither is content; both are light. The 25px they added is what
   made the fixed topbar and bottom nav size to 346 instead of 320, which
   is the header/nav drift, and what let the page be dragged sideways.
   overflow-x:CLIP, not hidden -- identical reasoning to #public-site's own
   note above: `hidden` would force overflow-y to auto and turn this into a
   scroll container, breaking every position:sticky inside the member area.
   `clip` gives the same protection without establishing one. The same
   overflow existed on desktop (KONTO's .acct-sig::before comment records a
   measured 29px at 1440) and is closed by the same line.
   WHERE the clip sits: on .app-content, the box that holds those layers, and
   not on .app-shell. The sticky .app-topbar is a child of .app-shell; with
   html, body AND .app-shell all clipping, iPhone Safari rendered the topbar
   with a visible vertical jitter while scrolling a long list. Preview
   diagnostic 2026-11-03 (iPhone Safari): all three clips off or any one of
   them off = steady; all three on = jitter. html and body keep theirs (they
   hold the layout width and stop body's overflow reaching the viewport), the
   shell does not, so the topbar has two clipping ancestors instead of three.
   The protection is unchanged: .app-content clips what the shell clipped. */
.app-shell{ display:flex; flex-direction:column; min-height:100vh; }

/* ---------------------------------------------------------------------- *
 * SAFARI-RÜCKFALL — der Viewport-Fix stand vollständig auf overflow:clip,
 * und das unterstützt iOS Safari erst ab 16. Auf älteren iPhones verwirft
 * der Browser alle drei Deklarationen, sie fallen auf `visible` zurück und
 * der ursprüngliche Defekt ist vollständig da. Gemessen auf Konto bei
 * 320px: 320/320 mit clip, 345/320 ohne — plus Topbar und Bottom-Nav bei
 * 346 statt 320, also genau die berichtete Kopf-/Navigationsdrift.
 *
 * .app-shell darf das NICHT — `hidden` erzwingt overflow-y:auto, macht die
 * Hülle zum Scroll-Container und bricht den sticky Topbar (dieselbe
 * Begründung wie bei #public-site). Statt die Wirkung zu maskieren, wird
 * dort die URSACHE entschärft: die beiden dekorativen Lichtebenen ragen
 * unter altem Safari nicht mehr über den Viewport hinaus. Der Anschnitt
 * wird enger, die Seite bleibt heil — und moderne Browser sehen weiterhin
 * die volle Atmosphäre.
 * ---------------------------------------------------------------------- */
@supports not (overflow: clip) {
  /* Der Viewport selbst darf `hidden` tragen: er ist ohnehin der Scroller. */
  html{ overflow-x:hidden; }
  /* .pub-signal-stage stood here too, as the Hero Signal's fixed stage.
     That element was removed with the Signal in P13.6, so there is
     nothing left for this fallback to clamp in the Hero. */
  /* Community trägt dieselbe Klasse dekorativer Lichtebenen wie Konto und
     verlässt sich ebenso auf die Hüllen-Klammer. Ohne sie ragen Signal,
     Halo und die Grundwaschgänge über den Viewport: gemessen 447/320.
     Auch hier wird der Anschnitt zurückgenommen statt maskiert. */
  .cf-sig{ right:4px; }
  .cf-sig::before{ inset:-12%; }
  .cf-feed::before{ inset:-10px 0 -20px; }
  .cf-post.cf-own .cf-bubble::before{ inset:-14px -8px -12px -10px; }
  /* Und als Riegel darüber: der INHALTSBEREICH wird geklammert, nicht die
     Hülle. `hidden` wird von jedem Browser unterstützt, und damit kann keine
     dekorative Ebene dieses Bereichs das Dokument mehr aufweiten, ohne dass
     jede einzelne einzeln nachgezogen werden muss.

     WAS DAS AUF ALT-SAFARI KOSTET: .app-content hatte früher keinen
     klebenden Nachkommen -- .app-topbar ist sein Geschwister, kein Kind --
     und `hidden` war hier folgenlos. Seit dem Einstieg-Reader stimmt das
     nicht mehr: .jy-bar ist ein sticky Nachkomme. Unter iOS Safari < 16
     greift dieser Rückfall, .app-content wird zum Scroll-Container, und
     diese eine Leiste klebt dort nicht -- sie scrollt mit dem Text weg.
     Der Topbar bleibt unberührt (Geschwister), die Erklärung bleibt
     vollständig lesbar, und die vier Haken sind Orientierung, keine
     Funktion. Bewusst keine Gegenlogik: der Riegel schützt jeden Screen,
     der Verlust trifft eine Leiste auf Geräten, für die bisher kein
     Defekt gemeldet ist. */
  .app-content{ overflow-x:hidden; }
  /* .acct-sig ist mobil 138px breit und sitzt an right:0 innerhalb der
     16px-Polsterung von .app-content — mehr als ~11% Halo passen dort
     nicht, ohne den Viewport zu überschreiten. */
  .acct-sig::before{ inset:-10%; }
  /* Rechts bündig statt 24px darüber hinaus; links bleibt der Anschnitt. */
  .acct-thread::before{ inset:-24px -8px -16px -8px; }
}

/* Sprint 4 -- Registration & Entry atmosphere. Independent of the public
   homepage's own particle canvas (that code is untouched) -- same visual
   language, own small implementation, scoped to the entry screens only. */
.entry-shell{ position:relative; min-height:calc(100vh - 65px - var(--preview-banner-h)); display:flex; align-items:center; overflow:hidden; }
/* Same correction as #pub-net -- see its comment. */
#entry-net{ position:fixed; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
.entry-veil{ position:fixed; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(1100px 800px at 50% 46%, transparent 0%, var(--canvas) 82%); }
.entry-grid{ position:relative; z-index:2; width:100%; max-width:420px; margin:0 auto; padding:48px 24px;
  display:flex; flex-direction:column; gap:32px; text-align:center; }
.entry-story .kicker{ margin-bottom:14px; }
.entry-story h1{ font-family:var(--font-d); font-weight:700; font-size:clamp(28px,5vw,40px); line-height:1.1; text-transform:uppercase; margin:0 0 14px; }
.entry-story .muted-line{ color:var(--muted); font-weight:500; }
.entry-story .entry-lede{ font-size:14.5px; color:var(--text-body); margin:0 0 12px; }
.entry-story .entry-next{ font-size:13.5px; color:var(--text-body); line-height:1.6; max-width:360px; margin:0 auto; }
.entry-story .entry-next strong{ color:var(--text-primary); }
.entry-form{ text-align:center; }
/* Turnstile mount point on the auth cards: the same --s5 rhythm as .field above
   and the action below, and centred (the compact variant on narrow phones is
   narrower than the card). Deliberately a plain block with symmetric margins and
   no flex/overflow: while the widget is invisible (interaction-only) the empty
   box's margins collapse into the neighbours', so the form spacing is unchanged. */
.entry-form #ts-box{ margin:var(--s5) 0; text-align:center; }
/* Vessel Login Hero Rework: on the register/entry screens, the Signal is
   the hero -- not atmosphere, the actual story ("the detached square is
   the seat you're about to take"). Considerably more visible than the
   homepage hero's own background use since it has to be legible as
   storytelling, not felt as texture (opacity .16 here vs. Hero's low-
   intensity Satin Magenta material, DESIGN_CONSTITUTION.md §1.2/DH-13 --
   this instance still uses the flat fill this file predates, out of
   scope for the Signal Governance sprint). Same construction, same
   breathing motion (continuity, not a new animation), just louder. */
.entry-story{ position:relative; }
.entry-signal{ position:absolute; inset:0; z-index:-1; pointer-events:none;
  display:flex; align-items:center; justify-content:center; }
.entry-signal-inner{ width:min(78vw,640px); height:min(78vw,640px);
  color:rgba(245,241,236,.16);
  /* CROP-MASK, corrected (Signal Scale + Proportion sprint): 55%/80% ->
     78%/97%, the same fix and the same reasoning that the Hero Signal
     carried before P13.6 retired it -- the old
     stops placed the ring's own stroke radius inside the mask's fade
     zone (measured ring alpha ~57%), thinning it well below its actual
     7%-of-viewBox weight. 78%/97% keeps the ring fully opaque and only
     fades the empty corners. Base fill alpha (.16) is untouched --
     opacity is an allowed context variable, this fixes only the ratio
     distortion. */
  -webkit-mask-image:radial-gradient(circle at 50% 50%, black 78%, transparent 97%);
  mask-image:radial-gradient(circle at 50% 50%, black 78%, transparent 97%);
  animation:signalBreathe 19s cubic-bezier(.22,.61,.36,1) infinite; }
.entry-signal-inner svg{ width:100%; height:100%; display:block; }

@media (min-width:1024px){
  .entry-grid{ max-width:960px; flex-direction:row; align-items:center; gap:72px; text-align:left; padding:48px max(48px, env(safe-area-inset-right)) 48px max(48px, env(safe-area-inset-left)); }
  .entry-story{ flex:1; }
  .entry-story .entry-next{ margin:0; }
  .entry-form{ flex:0 0 380px; text-align:center; }
}

/* Editorial Header (PACE Intro Final Refinement follow-up): the header
   was reading as generic app chrome regardless of logo size -- a
   floating glass toolbar with a colored chip. Fixed by giving the bar
   real vertical air (14px -> 24px) and quieting the FREE badge, not by
   scaling the mark further. Horizontal padding/structure unchanged.

   The air is now --topbar-pad, and on a phone it goes back to 14px. What
   made that pass work was the wordmark's size, the quiet FREE label and
   the hairline -- all still here. The 24px was the one part a phone could
   not afford: 48px of padding around a 38px control, on every member
   screen, in the one direction where a phone has nothing to spare. Desktop
   keeps the 24px, because a desktop window never had the problem. The
   control keeps its 38px box and its 44px target; the mark keeps its size;
   the safe-area insets are untouched, left and right as before. */
.app-topbar{ display:flex; align-items:center; justify-content:space-between;
  padding:var(--topbar-pad) max(20px, env(safe-area-inset-right)) var(--topbar-pad) max(20px, env(safe-area-inset-left));
  border-bottom:1px solid var(--hairline); position:sticky; top:var(--preview-banner-h); background:rgba(16,14,19,0.92); backdrop-filter:blur(6px); z-index:10; }
.app-brand{ background:none; border:none; color:var(--text-primary); font-family:var(--font-d); font-weight:700; font-size:14px; letter-spacing:0.06em; text-transform:uppercase; cursor:pointer; padding:0; }
.app-brand .m{ color:var(--magenta); }
/* Real wordmark SVG -- the brand anchor for the entire app shell (16px
   -> 19px -> 22px -> 24px mobile / 26px -> 30px desktop across passes).
   Still clearly secondary to THE SIGNAL's much larger scale at both
   sizes; most of this pass's presence increase comes from the header's
   own breathing room, not further scaling the mark itself. */
.app-brand-svg{ display:flex; align-items:center; }
.app-brand-svg svg{ display:block; height:24px; width:auto; }
.app-brand-svg .wordmark-dot{ fill:var(--magenta); }
@media (min-width:1024px){
  :root{ --topbar-pad:24px; }
  .app-brand-svg svg{ height:30px; }
}
.app-topbar-right{ display:flex; align-items:center; gap:16px; }
/* Editorial Header: the FREE chip read as a SaaS plan-tier badge --
   filled pill, high contrast. In the topbar only, it drops to a quiet
   tracked-caps label (no fill, no padding, muted color) so it doesn't
   compete with the brand mark. Uppercase/letterspacing kept -- that
   typographic treatment is itself editorial, the filled shape was the
   actual tell. Scoped to .app-topbar so .badge-free stays unchanged
   everywhere else it's used (dashboard, etc). */
.app-topbar .badge-free{ background:transparent; color:var(--muted); padding:0; }
.app-icon-btn{ width:38px; height:38px; border-radius:50%; border:1px solid var(--hairline); background:var(--surface); color:var(--text-primary);
  display:flex; align-items:center; justify-content:center; cursor:pointer; }
.app-icon-btn svg{ width:18px; height:18px; }
/* PERSONAL IDENTITY in the member header. The account control keeps its disc,
   its hairline, its 38px box and its 44px target (the ::after below); what
   changes is what it holds -- the member's own object, else their initials,
   else the figure it always showed. The padding is what keeps a transparent
   object off the hairline; no overflow clip, because the disc must not cut the
   touch target that reaches past its edge. */
.app-acct-btn{ padding:1px; }
/* Same correction as the Konto hero, same reason: an object whose geometry
   normalises to 85.9% of its canvas was drawing at 24px inside a 38px disc.
   The padding goes from 4px to 1px and the object takes 1.12 of what is left,
   which is about 33px -- a third more artwork, with the disc, its hairline,
   the 38px box and the 44px target the ::after below reaches out to all
   unchanged, and nothing clipped: no overflow rule here, and the object's own
   circle still clears the hairline. */
.app-acct-img{ display:block; width:100%; height:100%; object-fit:contain;
  transform:scale(1.12); }
.app-acct-t{ font-family:var(--font-d); font-weight:500; font-size:13px;
  line-height:1; letter-spacing:.04em; color:var(--text-primary); }
/* Ceremony -> PACE Vessel Transition: on arrival straight out of the
   ceremony, the topbar holds off and fades up softly once the PACE
   content itself has landed, instead of slamming back in at full
   contrast the instant the overlay is gone. */
@keyframes topbarSoftIn{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:translateY(0); } }
.app-topbar-soft{ animation:topbarSoftIn 700ms var(--patient) 850ms backwards; }

.app-body{ flex:1; display:flex; }
.app-content{ flex:1; min-width:0; padding:var(--s5) max(16px, env(safe-area-inset-right)) var(--mobile-safe-bottom) max(16px, env(safe-area-inset-left)); overflow-x:clip; }
.app-content-inner{ max-width:640px; margin:0 auto; }

/* Ceremony -> PACE Vessel Transition: PACE is the second beat of the
   ceremony, not a new screen. Same Vessel atmosphere (vignette/grain)
   as the ceremony overlay, carried across the cut instead of dropping
   to a flat canvas. THE SIGNAL stays present in its settled resting
   state -- identical geometry, no travel, no peak -- as a quiet
   throughline connecting the two screens; PACE's own question is the
   hero here, so the Signal sits low-opacity and masked behind it,
   never competing. Composition is deliberately centered in the
   available height instead of stranded at the top. */
.pace-arrival{ position:relative; display:flex; align-items:center; justify-content:center;
  min-height:62vh; padding:var(--s6) 0; }
/* Fix PACE Intro Container: vignette/grain were scoped to .pace-arrival's
   own (narrower, shorter) box, clipped by its overflow -- the gradient's
   dark falloff terminated at that box's edges, reading as a framed panel
   sitting on the flatter canvas outside it. Full-viewport + fixed (the
   same pattern the ceremony overlay and homepage hero already use) so
   the atmosphere is the room, not a card placed on top of it. */
.pace-vignette{ position:fixed; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(1100px 800px at 50% 46%, rgba(255,255,255,.022) 0%, transparent 45%, rgba(0,0,0,.55) 100%); }
.pace-grain{ position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.12; mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='%75%72%6C%28%23n%29'/%3E%3C/svg%3E");
  background-size:120px 120px; }
.pace-signal{ position:absolute; inset:0; z-index:0; pointer-events:none; display:flex; align-items:center; justify-content:center; }
/* PACE Intro Final Refinement: smaller and dimmer still (420px/.1 opacity
   -> 340px/.07), and the breathing animation is removed entirely -- a
   still, quiet trace of the ceremony, not a second living element next
   to the PACE question. Noticed, not read. */
.pace-signal-inner{ width:min(52vw,340px); height:min(52vw,340px); color:rgba(245,241,236,.07);
  /* CROP-MASK, corrected (Signal Proportion Consistency sprint): 55%/80%
     -> 78%/97%, the same root-cause fix as .entry-signal-inner (and as
     the Hero Signal before P13.6 retired it) -- the old stops placed
     the ring's own stroke
     radius inside the mask's fade zone, thinning it well below its
     actual 7%-of-viewBox weight. 78%/97% keeps the ring fully opaque
     and only fades the empty corners. Opacity (.07), size, and the
     removed breathing animation are all untouched. */
  -webkit-mask-image:radial-gradient(circle at 50% 50%, black 78%, transparent 97%);
  mask-image:radial-gradient(circle at 50% 50%, black 78%, transparent 97%); }
.pace-signal-inner svg{ width:100%; height:100%; display:block; }
.pace-content{ position:relative; z-index:1; max-width:480px; text-align:center; padding:0 var(--s4); }
.pace-question{ font-family:var(--font-d); font-weight:700; text-transform:uppercase;
  font-size:clamp(28px,5vw,40px); line-height:1.1; margin:0 0 18px; color:var(--text-primary); }
.pace-lede{ font-size:14.5px; color:var(--text-body); line-height:1.6; margin:0 0 36px; }
/* PACE Intro Final Refinement: the CTA reads as the third beat, not a
   slab competing with the question above it -- intrinsic width instead
   of full-block, and a touch less vertical weight. Same magenta, same
   wording, same button language; only width/height/spacing change. */
.pace-cta{ width:auto; min-width:220px; padding:12px 30px; min-height:44px; }
/* PACE symbols as a quiet preview of the next screen (same flat ink as the
   Signal behind them, but secondary). Four small glyphs, no motion. */
.pace-family{ display:flex; justify-content:center; gap:var(--s4); margin:0 0 var(--s6); color:var(--text-secondary); }
.pace-family-sym{ display:block; width:42px; height:42px; opacity:.9; }
.pace-family-sym svg, .pace-opt-sym svg, .pace-wel-sym svg{ display:block; width:100%; height:100%; overflow:visible; }

/* ==========================================================================
   RECOGNITION SCREEN — Direction A, editorial sequence.
   Replaces the 2x2 selection grid. Four situations read as a vertical
   editorial sequence; no cards, no boxes, no filled surfaces. Whitespace
   is the only separator. Mobile is the base composition; desktop adds an
   asymmetric two-zone split where the question stays present (sticky)
   while the situations scroll past it.

   Atmosphere layers are position:fixed and must never sit under a
   transformed ancestor -- render() applies .screen-anim-static to this
   screen for exactly that reason. Grain uses the encoded filter
   reference publish_preview.py's asset-resolution gate requires.
   ========================================================================== */
.rec{ position:relative; }
.rec-vignette{ position:fixed; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(1100px 800px at 50% 46%, rgba(255,255,255,.022) 0%, transparent 45%, rgba(0,0,0,.55) 100%); }
.rec-grain{ position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.12; mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='%75%72%6C%28%23n%29'/%3E%3C/svg%3E");
  background-size:120px 120px; }
.rec-grid{ position:relative; z-index:1; max-width:1240px; margin:0 auto; }

.rec-ask{ position:relative; }
.rec-question{ font-family:var(--font-d); font-weight:700; text-transform:uppercase;
  font-size:clamp(28px,4.5vw,44px); line-height:1.1; letter-spacing:0.004em;
  color:var(--text-primary); margin:0 0 var(--s4); }
.rec-support{ font-family:var(--font-c); font-size:13.5px; line-height:1.6;
  color:var(--muted); margin:0; max-width:38ch; }
/* Signal is desktop-only -- see the min-width:1024px block. On mobile the
   reading column occupies the full width and a ring behind 38-word German
   paragraphs costs legibility without adding continuity; the canvas,
   vignette and grain already carry the Vessel world. */
.rec-signal{ display:none; }

.rec-list{ margin-top:var(--s7); }

/* Each complete situation is one recognition target: a real button for
   keyboard and screen-reader correctness, styled as editorial text rather
   than as a control. The always-present transparent left border reserves
   the space the selected rule occupies, so selection causes no layout
   shift. */
.rec-item{ display:block; width:100%; text-align:left; background:none; border:none;
  border-left:2px solid transparent; padding:0 0 0 var(--s4); margin:0;
  font-family:inherit; color:inherit; cursor:pointer;
  transition:border-color 240ms var(--patient); }
.rec-item + .rec-item{ margin-top:var(--s8); }
.rec-anchor{ display:block; font-family:var(--font-d); font-weight:700;
  font-size:clamp(20px,2.4vw,26px); line-height:1.22; letter-spacing:0.002em;
  color:var(--text-primary); margin-bottom:var(--s2);
  transition:color 240ms var(--patient); }
.rec-body{ display:block; font-family:var(--font-c); font-size:15.5px; line-height:1.65;
  color:var(--text-body); max-width:62ch; transition:color 240ms var(--patient); }
/* Hover is deliberately almost nothing -- it previews the left rule that
   selection uses, teaching the mechanic. No lift, no shadow, no fill. */
.rec-item:hover{ border-left-color:var(--hairline); }
.rec-item:focus-visible{ outline:2px solid var(--magenta); outline-offset:8px; }
.rec-item.is-recognized{ border-left-color:var(--magenta); }
/* Recognized: the true one stays lit and the others settle back. They
   remain fully readable and fully selectable -- recession, never
   elimination, and nothing reads as a wrong answer. */
.rec.has-selection .rec-item:not(.is-recognized) .rec-anchor,
.rec.has-selection .rec-item:not(.is-recognized) .rec-body{ color:var(--text-secondary); }

.rec-closing{ font-family:var(--font-c); font-size:12.5px; color:var(--muted);
  margin:var(--s7) 0 0; padding-left:var(--s4); }
.rec-continue{ margin-top:var(--s5); padding-left:var(--s4);
  opacity:0; visibility:hidden; transition:opacity 420ms var(--patient); }
.rec.has-selection .rec-continue{ opacity:1; visibility:visible; }
.rec-continue-btn{ width:auto; min-width:200px; padding:12px 30px; min-height:44px; }

/* ==========================================================================
   PACE SELECTION -- the four situations as radio cards (replaces the editorial
   list). Same fixed atmosphere (.rec-vignette/.rec-grain, which render()'s
   staticScreen opt-out already covers for 'mode'). Selection is carried by
   three cues at once -- magenta rule, magenta symbol and a filled radio -- so
   it never depends on colour alone; the other cards stay fully readable.
   "Weiter" is always in view (sticky on mobile) and disabled until a card is
   chosen. Mobile is the base composition.
   ========================================================================== */
.pace-sel{ position:relative; }
.pace-sel-grid{ position:relative; z-index:1; max-width:440px; margin:0 auto; display:flex; flex-direction:column; }
.pace-sel-head{ margin:var(--s1) 0 14px; }
.pace-sel-question{ font-family:var(--font-d); font-weight:700; text-transform:uppercase;
  font-size:clamp(26px,7vw,34px); line-height:1.08; letter-spacing:0.004em; color:var(--text-primary); margin:0 0 10px; }
.pace-sel-intro{ font-family:var(--font-c); font-size:13.5px; line-height:1.5; color:var(--text-body); margin:0; }
.pace-sel-intro strong{ display:block; font-weight:600; font-size:14.5px; color:var(--text-primary); margin-bottom:3px; }
.pace-opts{ display:flex; flex-direction:column; gap:9px; }
.pace-opt{ position:relative; display:grid; grid-template-columns:42px 1fr; column-gap:13px; align-items:start;
  width:100%; text-align:left; background:var(--surface); border:1px solid var(--hairline); border-radius:14px;
  padding:12px 40px 12px 13px; margin:0; color:inherit; font-family:inherit; cursor:pointer;
  transition:border-color 200ms var(--patient), background-color 200ms var(--patient); }
.pace-opt:hover{ border-color:var(--border-strong); }
.pace-opt:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
.pace-opt-sym{ display:block; width:42px; height:42px; margin-top:2px; color:var(--text-secondary);
  transition:color 200ms var(--patient); }
.pace-opt-title{ display:block; font-family:var(--font-d); font-weight:600; font-size:17px; line-height:1.2;
  letter-spacing:0.002em; color:var(--text-primary); }
.pace-opt-desc{ display:block; font-family:var(--font-c); font-size:13px; line-height:1.45; color:var(--text-body); margin-top:4px; }
.pace-opt-radio{ position:absolute; top:14px; right:13px; width:20px; height:20px; box-sizing:border-box;
  border:1.5px solid var(--text-disabled); border-radius:50%; transition:border-color 200ms var(--patient); }
.pace-opt.is-on{ border-color:var(--magenta); background:var(--surface-selected); }
.pace-opt.is-on .pace-opt-sym{ color:var(--magenta); }
.pace-opt.is-on .pace-opt-radio{ border-color:var(--magenta); }
.pace-opt.is-on .pace-opt-radio::after{ content:''; position:absolute; inset:3px; border-radius:50%; background:var(--magenta); }
.pace-sel.has-selection .pace-opt:not(.is-on) .pace-opt-title{ color:var(--text-body); }
.pace-sel-support{ font-family:var(--font-c); font-size:12.5px; line-height:1.5; color:var(--muted); margin:14px 2px 0; }
.pace-sel-bar{ position:sticky; bottom:0; margin:auto -16px 0; padding:14px 16px max(18px, env(safe-area-inset-bottom));
  background:linear-gradient(to bottom, rgba(15,13,18,0), var(--canvas) 38%); }
.pace-sel-btn{ width:100%; min-height:48px; }
.pace-sel-btn:disabled{ opacity:.38; cursor:default; }
@media (max-width:1023px){
  /* the bottom navigation is not rendered here; the sticky bar replaces its clearance */
  .app-content:has(.pace-sel){ padding-bottom:0; }
}
@media (min-width:1024px){
  .pace-sel-grid{ max-width:1120px; display:grid; grid-template-columns:440px 1fr; column-gap:72px; align-items:start; padding-top:var(--s7); }
  /* Clear of the member header, whatever air it is carrying: 112px was the
     87px bar plus 25px, and the 25px is the part that was ever a choice. */
  .pace-sel-head{ position:sticky; top:calc(var(--preview-banner-h) + var(--topbar-h) + 25px); margin:0; }
  .pace-sel-question{ font-size:44px; margin-bottom:var(--s4); }
  .pace-sel-intro{ font-size:14.5px; line-height:1.6; }
  .pace-sel-main{ max-width:600px; }
  .pace-opts{ gap:12px; }
  .pace-opt{ grid-template-columns:48px 1fr; padding:16px 46px 16px 18px; }
  .pace-opt-sym{ width:48px; height:48px; }
  .pace-opt-title{ font-size:19px; }
  .pace-opt-desc{ font-size:14px; }
  .pace-opt-radio{ top:18px; right:18px; }
  .pace-sel-bar{ position:static; margin:var(--s5) 0 0; padding:0; background:none; }
  .pace-sel-btn{ width:auto; min-width:200px; }
}

@media (min-width:1024px){
  /* Desktop amplifies: the question becomes a persistent editorial anchor
     rather than a heading that scrolls away. Not a sidebar -- no rule, no
     panel, no background. */
  .rec-grid{ display:grid; grid-template-columns:38% 1fr; gap:var(--s9); align-items:start; }
  /* min-height is tied to the viewport, not to the right column's content
     height -- the situation copy is explicitly working/revisable, so
     sizing the left zone off it would make this layout brittle to a
     content edit. Centering the text within that height is what turns
     the space below the question into deliberate framing instead of
     leftover room the Signal happens to get clipped against. */
  /* Same dependency, stated the same way: 128px was the 87px bar plus 41px.
     Desktop's air is unchanged, so this computes to exactly what it did. */
  .rec-ask{ position:sticky; top:calc(var(--preview-banner-h) + var(--topbar-h) + 41px); padding-right:var(--s6);
    min-height:56vh; display:flex; flex-direction:column; justify-content:center; }
  .rec-list{ margin-top:0; }
  .rec-signal{ display:flex; position:absolute; inset:0; z-index:-1;
    align-items:center; justify-content:flex-start; pointer-events:none; }
  .rec-signal-inner{ width:min(27vw,440px); height:min(27vw,440px);
    margin-left:-14%; color:rgba(245,241,236,.06);
    /* CROP-MASK, corrected (Signal Proportion Consistency sprint): same
       55%-based-stops root-cause fix as every other instance -- see
       .entry-signal-inner's comment for the full reasoning. Opacity (.06),
       size, and position (margin-left:-14%) untouched. */
    -webkit-mask-image:radial-gradient(circle at 50% 50%, black 78%, transparent 97%);
    mask-image:radial-gradient(circle at 50% 50%, black 78%, transparent 97%); }
  .rec-signal-inner svg{ width:100%; height:100%; display:block; }
}

/* ----------------------------------------------------------------------
   ADAPTATION PROOF -- one descending editorial column. The member has
   finished deciding; this screen is about receiving something, so there is
   no two-zone split and no grid. Composition encodes interaction state:
   Recognition's two zones held a question against options, a single column
   says the deciding is over.

   THE SIGNAL is absent by design -- ceremonial peak, then atmospheric
   memory on Recognition, then zero. Vessel continuity is carried by the
   canvas, vignette, grain and typography alone.
   ---------------------------------------------------------------------- */
.ap{ position:relative; }
/* .app-content reserves --mobile-safe-bottom (190px) for the bottom nav and
   the PL8 FAB. This screen renders neither -- render()'s isMode branch hides
   the nav, and 'welcome' isn't in FAB_SCREENS -- so that clearance was pure
   dead space, leaving ~63px of empty scroll below a composition that already
   fits the viewport. Scoped with :has() instead of touching the global rule.
   Safe-area inset preserved. */
@media (max-width:1023px){
  .app-content:has(.ap){ padding-bottom:max(var(--s5), env(safe-area-inset-bottom)); }
}
/* .app-shell is min-height:100vh, but the preview banner is fixed above it
   and body carries a matching padding-top -- so the shell always ends one
   banner-height past the viewport and every screen scrolls by that much.
   Subtracting it is the idiom the codebase already uses for full-height
   elements (.pub-hero, .entry-shell); the variable is responsive (56px
   mobile / 36px from 480px), so this stays correct at both. Scoped to this
   screen: the banner is prototype-only scaffolding, and the screens that
   legitimately scroll are unaffected either way. #app and .app-shell both
   declare min-height:100vh, so both need it -- correcting only one leaves
   the other setting the page height. */
#app:has(.ap), .app-shell:has(.ap){ min-height:calc(100vh - var(--preview-banner-h)); }
/* Same fixed atmosphere as Recognition. Fixed layers require this screen
   to be in render()'s staticScreen opt-out -- .screen-anim's translateY
   would otherwise become their containing block and scope them to the
   wrapper's content box (the diagnosed boxed-vignette artifact). */
.ap-vignette{ position:fixed; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(1100px 800px at 50% 46%, rgba(255,255,255,.022) 0%, transparent 45%, rgba(0,0,0,.55) 100%); }
.ap-grain{ position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.12; mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='%75%72%6C%28%23n%29'/%3E%3C/svg%3E");
  background-size:120px 120px; }

/* Centred column, left-aligned text: centring the text would break the
   editorial register, centring the column keeps the descent calm without
   drifting into dashboard asymmetry. */
.ap-col{ position:relative; z-index:1; max-width:600px; margin:0 auto; padding-top:var(--s5); }

/* Below Recognition's question scale -- the journey's type scale descends
   deliberately as the entrance sequence winds down. */
.ap-headline{ font-family:var(--font-d); font-weight:700; text-transform:uppercase;
  font-size:clamp(26px,3.4vw,38px); line-height:1.12; letter-spacing:0.004em;
  color:var(--text-primary); margin:0 0 var(--s6); }

/* The artifact is content, not a component: no border, no filled card, no
   nested button. The whole thing is the tap target, and it carries the
   visual weight of the screen. */
.ap-artifact{ display:block; width:100%; text-align:left; background:none; border:none;
  padding:0; margin:0; font-family:inherit; color:var(--text-primary); cursor:pointer;
  transition:transform 220ms var(--patient); }
.ap-artifact:hover{ transform:translateY(-2px); }
.ap-artifact:focus-visible{ outline:2px solid var(--magenta); outline-offset:10px; }

/* The only intentional magenta at rest. Same weight and colour as the
   Recognition screen's selected-state rule, one step down the causal
   chain: there magenta meant "this is your current situation", here it
   means "this exists because of that". Sits above the image so the member
   reads why before what. */
.ap-proof{ display:block; border-left:2px solid var(--magenta); padding-left:var(--s4);
  font-family:var(--font-c); font-size:15px; line-height:1.55; color:var(--text-body);
  max-width:46ch; margin-bottom:var(--s5); }

.ap-thumb{ display:block; height:210px; border-radius:var(--radius); position:relative; overflow:hidden;
  background:linear-gradient(135deg, var(--surface-elevated), var(--canvas)); margin-bottom:var(--s4); }
.ap-thumb::after{ content:''; position:absolute; inset:0;
  background:radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,.05), transparent 70%); }

/* Largest type inside the artifact, but deliberately under the headline --
   the frame still outranks the object it frames. */
.ap-name{ display:block; font-family:var(--font-d); font-weight:700; text-transform:uppercase;
  font-size:clamp(21px,2.4vw,27px); line-height:1.15; letter-spacing:0.002em; margin-bottom:var(--s2); }
.ap-meta{ display:block; font-family:var(--font-c); font-size:13px; color:var(--muted); }

/* Quiet by construction: text weight, no slab, no magenta. Onboarding
   should stop rather than announce that it has finished. */
/* Underline via text-decoration rather than a border, so it stays tight to
   the word while the vertical padding still carries the 44px tap target --
   a bordered box would float the rule away from the text. */
.ap-onward{ display:inline-block; background:none; border:none;
  padding:14px 0; margin-top:var(--s6);
  font-family:var(--font-c); font-size:14px; color:var(--muted); cursor:pointer;
  text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px;
  text-decoration-color:var(--hairline);
  transition:color 200ms var(--patient), text-decoration-color 200ms var(--patient); }
.ap-onward:hover{ color:var(--text-primary); text-decoration-color:var(--border-strong); }
.ap-onward:focus-visible{ outline:2px solid var(--magenta); outline-offset:4px; }

/* WELCOME (after the PACE selection): the selected situation, the curated
   recipe and its photograph. The visual reuses the Recipe catalogue's own
   .rx-visual / .rx-img / .rx-words, so it needs the same light variables. */
.pace-wel{ --hi:245,241,236; --lit:214,198,226; --act:226,25,181; }
.pace-wel .ap-headline{ margin-bottom:var(--s5); }
.pace-wel-rhythm{ display:flex; align-items:center; gap:14px; margin:0 0 var(--s4); }
.pace-wel-sym{ display:block; width:52px; height:52px; flex:none; color:var(--magenta); }
.pace-wel-k{ display:block; font-family:var(--font-c); font-size:11.5px; font-weight:600; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--muted); margin-bottom:3px; }
.pace-wel-v{ display:block; font-family:var(--font-d); font-weight:600; font-size:18px; line-height:1.2; color:var(--text-primary); }
.pace-wel-proof{ margin-top:0; }
.pace-wel-card{ display:block; width:100%; text-align:left; background:none; border:none; padding:0; margin:0 0 var(--s5);
  font-family:inherit; color:var(--text-primary); cursor:pointer; }
/* .rx-visual (4:3) is defined further down; the doubled class keeps this shape ahead of it */
.pace-wel .pace-wel-visual{ aspect-ratio:16 / 10; margin-bottom:12px; }
@media (min-width:1024px){
  /* the column is 600px wide on desktop; a 16:10 photograph (or 230px) would push the actions below the fold at 1280x800 */
  .pace-wel .pace-wel-visual{ aspect-ratio:auto; height:190px; }
}
.pace-wel-actions{ display:flex; flex-direction:column; align-items:stretch; }
.pace-wel-cta{ min-height:48px; }
.pace-wel-actions .ap-onward{ align-self:center; margin-top:var(--s2); }

@media (min-width:1024px){
  /* Desktop amplifies through surrounding space only -- the column keeps
     its intrinsic width at every width, and nothing is added to fill the
     canvas at 1920.

     Vertical placement is centred in the space actually available rather
     than set by a fixed top padding: a fixed padding put the composition
     23px off the bottom at 1280x800 and left 303px of room below it at
     1920x1080 -- the same number in two very different rooms.

     The upward bias comes from .app-content's own asymmetric padding
     (32px top / 64px bottom), so the column settles above true centre for
     free. An explicit margin was tried first and rejected: it adds layout
     height, and at 1280x800 there are only ~39px of slack, so it
     reintroduced a scrollbar on the one size with no room to spare. */
  .app-content:has(.ap){ display:flex; flex-direction:column; justify-content:center; }
  .ap-col{ padding-top:0; }
  .ap-thumb{ height:250px; }
}

/* bottom nav — mobile / tablet */
.app-bottomnav{ position:fixed; left:0; right:0; bottom:0; z-index:10; display:flex; justify-content:space-around;
  background:rgba(16,14,19,0.96); backdrop-filter:blur(8px); border-top:1px solid var(--hairline);
  padding:8px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
.app-bottomnav button{ background:none; border:none; color:var(--muted); font-size:11px; display:flex; flex-direction:column; align-items:center; gap:4px;
  padding:6px 10px; cursor:pointer; min-width:56px; min-height:48px; }
/* Under iOS Safari's minimised toolbar the visible screen reaches below the
   fixed-position containing block (see the retreat note below): the page
   then shows through as a strip under the bar. The bar's own surface is
   carried down over exactly that distance (100lvh - 100svh, 0 wherever the
   toolbar is static) -- a continuation of the same background, no content,
   no hit area, and it travels, fades and hides with the bar as one unit. The
   1px overlap closes the seam. */
.app-bottomnav::after{ content:''; position:absolute; left:0; right:0; top:calc(100% - 1px);
  height:calc(1px + max(0px, 100lvh - 100svh)); background:inherit; pointer-events:none; }
.app-bottomnav button svg{ width:20px; height:20px; }
.app-bottomnav button.active{ color:var(--text-primary); }
.app-bottomnav button.active svg{ color:var(--magenta); }
.app-bottomnav button.nav-pl8 svg{ color:var(--magenta); }   /* the PL8 entry keeps its Signal-magenta mark at rest */

/* KÜCHE -- the two-way switch Einkaufsliste | Vorrat at the head of both screens (same segmented pattern as the other
   two-state controls; 44px targets; the current side is aria-current and inert). */
.kt-switch{ display:inline-grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; margin:0 0 var(--s4); border:1px solid var(--hairline); border-radius:999px; background:var(--surface); }
.kt-tab{ min-height:44px; min-width:112px; padding:0 18px; border:0; border-radius:999px; background:none; color:var(--text-secondary); font-family:var(--font-c); font-size:14px; font-weight:600; cursor:pointer; }
.kt-tab:hover{ color:var(--text-primary); }
.kt-tab[aria-current="page"]{ background:var(--surface-selected); color:var(--text-primary); box-shadow:inset 0 0 0 1px var(--magenta); cursor:default; }
.kt-tab:focus-visible{ outline:2px solid rgba(245,241,236,.85); outline-offset:2px; }
/* Konto now lives only in the header on mobile: its 38px control gets a 44px hit area without changing how it looks. */
.app-topbar-right .app-icon-btn{ position:relative; }
.app-topbar-right .app-icon-btn::after{ content:''; position:absolute; inset:-4px; }   /* 38px border-box, 1px border: -4px on the padding box = 44px */

/* Scroll-aware retreat. The navigation and every follower keep their place in
   the layout, so content never moves. Mobile/tablet only -- the desktop
   sidebar has no retreat -- and never under reduced motion, where it simply
   stays. The translate property, not transform, so no existing transform or
   its transition is overridden.

   The retreated state is a real hidden state of the ONE wrapper, not a
   position: the bar travels down and fades as one unit (icons, labels,
   background, border and safe-area padding are all inside it), and when the
   motion ends it becomes visibility:hidden -- nothing painted, no hit area,
   out of the focus order. Why: iOS Safari paints the page beneath and around
   its dynamic bottom toolbar, below the fixed-position containing block, and
   how far that visible band reaches changes with the toolbar state -- no CSS
   distance can guarantee the bar has left it. The bar's background matches
   the page canvas, so a bar resting partly inside that band showed only its
   light icons and labels. Coming back, it is visible at once and travels up. */
.app-bottomnav{ transition:translate var(--nav-motion), opacity var(--nav-motion), visibility 0s linear 0s; }
.cf-composer{ transition:translate var(--nav-motion); }
@media (max-width:1023px) and (prefers-reduced-motion:no-preference){
  html.nav-retreated{ --nav-offset:var(--nav-bar-h); }
  /* Retreat distance: the bar's own height (100%, safe-area padding
     included) plus the dynamic-toolbar allowance (100lvh - 100svh). iOS
     Safari minimises its toolbar exactly while the member scrolls down, and
     the visible screen then reaches below the fixed-position containing
     block -- a bar moved by its own height alone stayed partly in view.
     The allowance is 0 wherever the toolbar is static (desktop), so nothing
     else moves; the first declaration is the fallback without lvh/svh. */
  html.nav-retreated .app-bottomnav{ translate:0 100%; translate:0 calc(100% + 100lvh - 100svh);
    opacity:0; visibility:hidden; pointer-events:none;
    transition:translate var(--nav-motion), opacity var(--nav-motion), visibility 0s linear var(--nav-motion-ms); }
  /* The composer clears the bar with its own bottom padding; it drops by the
     bar's height and keeps its safe-area clearance. */
  html.nav-retreated .cf-composer{ translate:0 var(--nav-offset); }
}

/* While a software keyboard is up (html.is-keyboard, set by communityKeyboard for fields in dialogs and the composer) the bottom navigation is out of the way:
   hidden, out of the focus order and without a hit area, so it can neither float above the keyboard nor take a tap meant for the dialog. Deliberately outside
   the reduced-motion split above: it is a layout state, not an effect, so it applies with or without motion preferences; the bar's own transition returns it
   when the keyboard closes, and the scroll-aware retreat is untouched. */
html.is-keyboard .app-bottomnav{ translate:0 100%; opacity:0; visibility:hidden; pointer-events:none; }

/* PHASE 2A -- the cooking confirmation reuses the purchase sheet's own
   classes (.sl-trip-*, .sl-buy-*). Only what has no counterpart there is
   added here: the per-line note in the overview, the quiet second way out,
   and the inline result under the finish. */
.cook-note{ display:block; margin-top:2px; font-size:13px; line-height:1.4; color:var(--text-secondary); }
.rd-cook-done{ margin:10px 0 0; font-size:14.5px; line-height:1.55; color:var(--text-body); }
.rd-cook-done .sl-mini{ min-height:44px; padding:0 2px; font-size:13.5px; }

/* sidebar nav — desktop */
.app-sidebar{ display:none; }

.screen-anim{ animation:screenIn 320ms var(--patient); }
/* Fix PACE Intro Screen Animation Opt-Out: no animation, no transform --
   PACE intro only, so its fixed-position atmosphere layers never get a
   transformed containing block. See render() for where this is applied. */
.screen-anim-static{ animation:none; transform:none; }
@keyframes screenIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:translateY(0); } }

/* ---------------------------------------------------------------------- *
 * Sprint 13 -- Motion: guidance (Dashboard), recognition (Recipe Detail).
 * Each fires once, in its own place; none of them persist or repeat.
 * The Mode-grid entry that used to belong here (.mode-card-in /
 * modeCardIn) was the old 2x2 grid's animation -- removed as dead code
 * once Direction A replaced that grid (Legacy Personalization Decoupling
 * audit; the old grid's own removal predates this sprint).
 * ---------------------------------------------------------------------- */
.mode-belonging-in{ animation:belongingIn 450ms var(--patient) backwards; animation-delay:900ms; }
@keyframes belongingIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:translateY(0); } }

/* ---- Cooking Memory: the finish controls ----------------------------------
   The memory offer, its confirmation and the quiet links (Rückgängig,
   Nicht mehr merken) -- small type, no card, neutral focus. Recipe Detail
   V1 owns the finish itself (.rd-finish) and the remembered line (.rd-mem). */
.cm-offer{ display:inline-flex; align-items:center; min-height:44px; padding:0; background:none; border:0; cursor:pointer;
  color:var(--text-secondary); font:inherit; font-size:13px; text-decoration:underline; text-decoration-color:rgba(245,241,236,.35); text-underline-offset:3px;
  animation:cmIn 420ms var(--patient) both; }
.cm-offer:hover{ color:var(--text-primary); }
.cm-offer[aria-disabled="true"]{ cursor:default; opacity:.7; }
.cm-saved{ display:flex; flex-wrap:wrap; align-items:center; column-gap:14px; margin:0; font-size:13px; color:var(--text-secondary); }
.cm-link{ display:inline-flex; align-items:center; min-height:44px; padding:0; background:none; border:0; cursor:pointer;
  color:var(--muted); font:inherit; font-size:12.5px; text-decoration:underline; text-underline-offset:3px; }
.cm-link:hover, .cm-link.is-strong{ color:var(--text-primary); }
.cm-link[aria-disabled="true"]{ cursor:default; opacity:.6; }
.cm-status{ margin:0; font-size:12.5px; color:var(--text-secondary); }
.cm-status.is-empty{ display:none; }
.cm-offer:focus-visible, .cm-link:focus-visible{ outline:2px solid rgba(245,241,236,.6); outline-offset:3px; border-radius:4px; }
@keyframes cmIn{ from{ opacity:0; } to{ opacity:1; } }
@media (prefers-reduced-motion: reduce){ .cm-offer{ animation:none; } }

/* dashboard -- Sprint 18.2 hierarchy: Wochenfokus (1) > free primary path (2)
   > Community (3) > PL8 teaser (4). Free and PL8 deliberately no longer share
   a treatment: the free path reads stronger through fill+accent-bar, PL8
   reads quieter through the restrained premium surface, so PL8 never
   visually outweighs the free experience. */
.dash-greeting{ font-size:13px; color:var(--text-secondary); margin-bottom:4px; }
.dash-continuity{ font-size:15px; margin-bottom:var(--s6); }
.dash-grid{ display:grid; grid-template-columns:1fr; gap:24px; }
.ritual-card{ background:linear-gradient(160deg, var(--surface-elevated) 0%, var(--surface) 100%); border:1px solid var(--hairline); border-radius:var(--radius); padding:var(--s6); cursor:pointer; }
.ritual-card h3{ font-size:18px; margin:6px 0 8px; }
.ritual-card p:not(.kicker){ font-size:14px; color:var(--text-body); line-height:1.55; }
.presence{ display:flex; align-items:center; gap:8px; margin:10px 0 22px; font-size:13px; color:var(--text-secondary); font-family:var(--font-c); }
.presence-dot{ width:7px; height:7px; border-radius:50%; background:var(--text-secondary); flex-shrink:0; animation:presencePulse 3.4s cubic-bezier(.22,.61,.36,1) infinite; }
@keyframes presencePulse{ 0%,100%{ opacity:.4; transform:scale(0.85); } 50%{ opacity:1; transform:scale(1); } }
.ritual-progress{ display:flex; gap:6px; margin-top:14px; }
.ritual-progress span{ flex:1; height:4px; border-radius:2px; background:var(--hairline); }
.ritual-progress span.done{ background:var(--magenta); }
.quicklinks{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.quicklink{ background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius); padding:16px; text-align:left; cursor:pointer; color:var(--text-primary); }
.quicklink:hover{ border-color:var(--border-strong); }
/* the primary free action: distinguished by fill + a left accent bar, not a
   tint-box -- deliberately a different pattern than the PL8 teaser below. */
.quicklink-primary{ background:var(--surface-2); border:1px solid var(--hairline); border-left:3px solid var(--magenta); padding-left:13px; }
.quicklink-primary h4{ font-weight:700; }
.quicklink .kicker{ margin-bottom:4px; }
.quicklink h4{ font-size:15px; }
.pl8-teaser-card{ border:1px solid var(--hairline); border-radius:var(--radius); padding:var(--s5); background:var(--surface-premium); cursor:pointer; }
.pl8-teaser-card:hover{ border-color:var(--border-premium); }
.pl8-teaser-card h4{ font-size:15px; margin:6px 0 6px; }
.pl8-teaser-card p{ font-size:13.5px; color:var(--text-body); line-height:1.5; }

/* recipes -- Sprint 18.2: thumbnail gradients moved off the magenta glow
   (which read as decorative noise, not food) to a restrained warm charcoal
   gradient plus a soft warm highlight, closer to gentle kitchen light than
   a colored UI accent. */
/* Sprint 19.1 -- visual hierarchy pass. Surface roles used across Recipes:
   --surface-elevated marks the one recommended/primary tile (feature tile,
   facts tile); --surface marks ordinary content tiles (recipe cards);
   everything else (fit lists, ingredients, steps, the PL8 aside) stays flat
   against the canvas and is separated by spacing and hairlines, not boxes. */
.recipe-card{ background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius); overflow:hidden; cursor:pointer; transition:border-color 200ms var(--patient); }
.recipe-card:hover{ border-color:var(--border-strong); }
.recipe-card .thumb{ height:130px; background:linear-gradient(135deg, var(--surface-elevated), var(--canvas)); position:relative; }
.recipe-card .thumb::after{ content:''; position:absolute; inset:0; background:radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,0.04), transparent 70%); }
.recipe-card .body{ padding:16px; }
.recipe-card h4{ font-size:15px; font-weight:700; margin:6px 0 6px; }
.recipe-card .meta{ font-size:12.5px; color:var(--text-secondary); }

/* ======================================================================
   RECIPE DISCOVERY V1 -- Rezepte: the whole collection, food first.
   START's object grammar, not Story's paper: on the dark canvas the visual
   is the one object (tonal lift, directional light from above, one lit top
   edge, START's plate radius); the name and the meta sit on the canvas below
   it, so the page is a calm run of dishes rather than a grid of boxed cards.

   MAGENTA ON REZEPTE (Founder direction, refinement pass): the cards rest
   neutral. Magenta is light that arrives when a card is approached -- hover,
   keyboard focus, a finger on it -- reflected into the plate and along its
   edge, never a border, fill or word colour. The one exception at rest is
   the PL8 access marker a Free member sees on a PL8 recipe: deliberate PL8
   emphasis (Constitution 2.3), small, and gone once the member has PL8.
   ====================================================================== */
.rx{ --hi:245,241,236; --lit:214,198,226; --act:226,25,181; }
.rx-h1{ font-family:var(--font-d); font-weight:500; text-transform:none; color:var(--text-primary);
  font-size:clamp(28px, 8vw, 38px); line-height:1.04; letter-spacing:-.005em; margin:8px 0 22px; }
.rx-list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:minmax(0, 1fr); gap:30px; }
.rx-item{ min-width:0; }

/* RECIPE STORE V1 (P4) -- the three quiet, restrained async states
   (catalogue loading/error/empty, Recipe body loading/error): the same
   secondary-color status-line language already used by Cooking Memory
   (.cm-status), no spinner, no new interaction pattern. */
.rx-state{ color:var(--text-secondary); font-size:14.5px; line-height:1.5; margin:0; }
.rx-retry{ all:unset; cursor:pointer; color:var(--text-primary); text-decoration:underline; text-underline-offset:2px; }
.rx-retry:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; border-radius:2px; }

/* the card: one native button, the whole card is the target */
.rx-card{ display:block; width:100%; padding:0; margin:0; background:none; border:0; border-radius:18px;
  color:inherit; font:inherit; text-align:left; cursor:pointer; -webkit-tap-highlight-color:transparent; }
/* the focus indicator stays a clear neutral ring -- the magenta light below
   is the atmosphere, never the only sign of focus */
.rx-card:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:5px; }

/* the visual: 4:3, one geometry for photograph and stand-in alike */
.rx-visual{ position:relative; display:flex; align-items:center; justify-content:center; box-sizing:border-box;
  aspect-ratio:4 / 3; padding:22px 18px; border-radius:18px; overflow:hidden; container-type:inline-size;
  background:radial-gradient(105% 96% at 50% 0%, rgba(var(--hi), .13), rgba(var(--hi), 0) 60%),
    radial-gradient(90% 80% at 10% 108%, rgba(var(--lit), .07), rgba(var(--lit), 0) 70%),
    linear-gradient(165deg, #322C38 0%, #1A161E 100%);
  box-shadow:inset 0 1px 0 rgba(var(--hi), .14), inset 0 0 0 1px rgba(var(--hi), .04),
    0 30px 52px -34px rgba(var(--lit), .2), 0 22px 40px -26px rgba(var(--act), 0);
  transition:transform 220ms var(--patient), box-shadow 340ms var(--patient); }
/* The reflected light: magenta rising from the lower right into the plate,
   a warmer top edge, and a hairline of magenta along the edge where the
   light catches it. Invisible at rest; it arrives, it does not flash. */
.rx-visual::after{ content:''; position:absolute; inset:0; z-index:1; pointer-events:none; opacity:0; border-radius:inherit;
  background:radial-gradient(78% 104% at 90% 106%, rgba(var(--act), .17), rgba(var(--act), 0) 66%),
    radial-gradient(90% 80% at 50% 0%, rgba(var(--hi), .09), rgba(var(--hi), 0) 62%);
  box-shadow:inset 0 1px 0 rgba(255, 210, 242, .24), inset 0 0 0 1px rgba(var(--act), .2);
  transition:opacity 340ms var(--patient); }

/* engaged: pointer, keyboard, finger -- lift, reflected light, a soft glow
   under the object */
.rx-card:focus-visible .rx-visual,
.rx-card.is-pressed .rx-visual{
  box-shadow:inset 0 1px 0 rgba(var(--hi), .16), inset 0 0 0 1px rgba(var(--hi), .04),
    0 30px 52px -34px rgba(var(--lit), .2), 0 22px 40px -26px rgba(var(--act), .38); }
.rx-card:focus-visible .rx-visual::after,
.rx-card.is-pressed .rx-visual::after{ opacity:1; }
.rx-card:focus-visible .rx-visual{ transform:translateY(-2px); }
@media (hover:hover){
  .rx-card:hover .rx-visual{ transform:translateY(-2px);
    box-shadow:inset 0 1px 0 rgba(var(--hi), .16), inset 0 0 0 1px rgba(var(--hi), .04),
      0 30px 52px -34px rgba(var(--lit), .2), 0 22px 40px -26px rgba(var(--act), .38); }
  .rx-card:hover .rx-visual::after{ opacity:1; }
}
.rx-card:active .rx-visual, .rx-card.is-pressed .rx-visual{ transform:scale(.985); }

/* with a photograph: it fills the frame; the plate's light stays above it */
.rx-visual.has-img{ padding:0; }
.rx-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 50%; }
.rx-visual.has-img::before{ content:''; position:absolute; inset:0; z-index:1; pointer-events:none; border-radius:inherit;
  box-shadow:inset 0 1px 0 rgba(var(--hi), .14); }

/* without one: the ingredients as type -- START's editorial stand-in */
.rx-words{ display:flex; flex-direction:column; align-items:center; gap:1px; max-width:100%; }
.rx-w{ display:block; max-width:100%; text-align:center; overflow-wrap:break-word; hyphens:manual;
  font-family:var(--font-d); font-weight:600; text-transform:uppercase; font-size:clamp(20px, 8.6cqw, 32px);
  line-height:1.06; letter-spacing:.01em; color:rgba(var(--hi), .8); opacity:calc(1 - var(--n) * .15); }

/* ---- PL8 access marker (Free member, PL8 recipe) ----
   A small lit object resting on the corner of the plate, slightly toward the
   member: a dark body with its own magenta light, a lit top edge, a magenta
   edge where the light catches, a shadow that lifts it off the plate. Lock +
   visible "PL8" -- never the lock alone. Compact: it marks the recipe, it
   does not cover the food and it carries no copy. */
.rx-lock{ position:absolute; top:12px; right:12px; z-index:2; display:inline-flex; align-items:center; gap:6px;
  height:28px; padding:0 11px 0 9px; border-radius:10px;
  font-family:var(--font-c); font-size:11px; font-weight:700; letter-spacing:.14em; line-height:1; color:#FFEAF8;
  background:radial-gradient(130% 150% at 22% -12%, rgba(var(--act), .52), rgba(var(--act), 0) 62%),
    linear-gradient(165deg, #3A2436 0%, #1C141D 100%);
  box-shadow:inset 0 1px 0 rgba(255, 214, 242, .42), inset 0 0 0 1px rgba(var(--act), .46),
    0 8px 16px -8px rgba(0, 0, 0, .72), 0 0 22px -6px rgba(var(--act), .5);
  transition:transform 220ms var(--patient), box-shadow 340ms var(--patient); }
.rx-lock-i{ flex:none; width:12px; height:12px; color:#FF8BDF; }
.rx-lock-t{ transform:translateY(.5px); }

/* A locked recipe answers a little more: the reflected light gathers toward
   the marker (upper right) instead of rising from below, and the marker
   itself brightens and comes forward -- card, light, access, one gesture.
   Desirable, plainly restricted, never disabled-looking. */
.rx-card.is-locked .rx-visual::after{
  background:radial-gradient(84% 96% at 92% -6%, rgba(var(--act), .24), rgba(var(--act), 0) 64%),
    radial-gradient(78% 104% at 90% 106%, rgba(var(--act), .1), rgba(var(--act), 0) 66%),
    radial-gradient(90% 80% at 50% 0%, rgba(var(--hi), .08), rgba(var(--hi), 0) 62%); }
.rx-card.is-locked:focus-visible .rx-visual,
.rx-card.is-locked.is-pressed .rx-visual{
  box-shadow:inset 0 1px 0 rgba(var(--hi), .16), inset 0 0 0 1px rgba(var(--hi), .04),
    0 30px 52px -34px rgba(var(--lit), .2), 0 22px 44px -24px rgba(var(--act), .5); }
.rx-card.is-locked:focus-visible .rx-lock,
.rx-card.is-locked.is-pressed .rx-lock{ transform:translateY(-1px);
  box-shadow:inset 0 1px 0 rgba(255, 224, 246, .55), inset 0 0 0 1px rgba(var(--act), .7),
    0 10px 18px -8px rgba(0, 0, 0, .75), 0 0 30px -4px rgba(var(--act), .78); }
@media (hover:hover){
  .rx-card.is-locked:hover .rx-visual{
    box-shadow:inset 0 1px 0 rgba(var(--hi), .16), inset 0 0 0 1px rgba(var(--hi), .04),
      0 30px 52px -34px rgba(var(--lit), .2), 0 22px 44px -24px rgba(var(--act), .5); }
  .rx-card.is-locked:hover .rx-lock{ transform:translateY(-1px);
    box-shadow:inset 0 1px 0 rgba(255, 224, 246, .55), inset 0 0 0 1px rgba(var(--act), .7),
      0 10px 18px -8px rgba(0, 0, 0, .75), 0 0 30px -4px rgba(var(--act), .78); }
}

/* name, then one quiet row of facts */
.rx-text{ display:flex; flex-direction:column; gap:8px; padding:14px 2px 0; }
.rx-name{ font-family:var(--font-d); font-weight:600; text-transform:uppercase; font-size:clamp(19px, 5.3vw, 21px);
  line-height:1.08; color:var(--text-primary); overflow-wrap:break-word; }
.rx-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 16px; font-size:12.5px; line-height:1.2;
  color:var(--muted); font-variant-numeric:tabular-nums; }
.rx-m{ display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.rx-m .hm-g{ flex:none; width:13px; height:13px; }

@media (min-width:640px){
  .rx-list{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:36px 24px; }
}
@media (min-width:1024px){
  .rx-h1{ font-size:44px; margin:4px 0 30px; }
  .rx-list{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:44px 28px; }
}
/* Reduced motion: the light still answers (it carries the state), but it
   appears instead of travelling, and nothing moves. */
@media (prefers-reduced-motion: reduce){
  .rx-visual, .rx-visual::after, .rx-lock{ transition:none; }
  .rx-card:hover .rx-visual, .rx-card:focus-visible .rx-visual, .rx-card:active .rx-visual,
  .rx-card.is-pressed .rx-visual, .rx-card.is-locked:hover .rx-lock,
  .rx-card.is-locked:focus-visible .rx-lock, .rx-card.is-locked.is-pressed .rx-lock{ transform:none; }
}

/* ======================================================================
   RECIPE DETAIL V1 -- GET THIS DISH COOKED.
   The expanded version of the Discovery card: the same 4:3 object on the
   dark canvas, then everything in cooking order. Spacing is the separator
   (no dividers, no tiles). Type is set for reading at arm's length.
   Magenta: none at rest. On an open recipe it is the finish -- "Fertig."
   and the light that answers it -- plus restrained response on the portion
   buttons. On a locked PL8 recipe it is the access boundary.
   ====================================================================== */
.app-content-inner.rd{ --hi:245,241,236; --lit:214,198,226; --act:226,25,181; max-width:640px; }
/* the shared back control, sized here: its icon is an unsized svg */
.rd .bt-detail-back{ display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:0; margin:0 0 12px; }
.rd .bt-detail-back svg{ flex:none; width:17px; height:17px; }

.rd-visual{ margin:0 0 20px; }
/* Detail's frame is fixed at 4:3 against a source photograph that is
   usually closer to square, so cover crops only top/bottom, never left/right
   -- there is no horizontal slack for object-position to use here. A small
   upward shift gives the dish a touch more headroom above it and trims a
   little of the empty surface below, which reads as better centred for
   food photography generally (subject sits slightly above true-centre, the
   near edge of the plate/bowl toward the bottom of frame) -- a generic
   Detail-surface default, not specific to this one Recipe. Scoped to
   .rd-visual .rx-img only: Rezepte's card crop (rx-img elsewhere) is
   untouched. */
.rd-visual .rx-img{ object-position:50% 42%; }
/* The DBG mark on its creator's own recipe images (Decision #219) -- the detail hero and the list
   card, one rule for both. Sized against the frame it sits in, not the viewport: every .rx-visual is
   a container (container-type:inline-size above), so the same percentage gives a large mark on a wide
   hero and a small one on a card without a second rule or a breakpoint. Bottom right, inside the
   frame's rounding, over the photograph's darkest corner -- the food is never covered at the centre,
   and the emblem carries its own transparency, so nothing is painted behind it. */
.creator-mark{ position:absolute; right:4.5%; bottom:4.5%; z-index:2; width:16cqw; max-width:84px;
  height:auto; aspect-ratio:1 / 1; object-fit:contain; pointer-events:none;
  filter:drop-shadow(0 2px 10px rgba(0,0,0,.45)); }
/* The hero is the surface that carries the brand: it scales with the frame and keeps a floor, so the
   mark stays legible on a narrow phone and grows on a wide desktop. */
.rd-visual .creator-mark{ min-width:44px; }
@media (max-width:480px){ .rd-visual .creator-mark{ width:19cqw; min-width:40px; } }
/* A card is a glance, not a signature. Its cap binds at every card width the grid produces, so the
   mark is effectively a fixed 46 px there: the same quiet object on every card, whether the column is
   288 px or 361 px wide, instead of one that grows heavy on a single-column phone. The percentage is
   what varies (16 % at 288 px, 13 % at 361 px), and that is the intended reading -- the food stays
   dominant. */
.rx-card .creator-mark{ right:5%; bottom:5%; max-width:46px; }
.rd-title{ font-family:var(--font-d); font-weight:600; text-transform:uppercase; font-size:clamp(30px, 8.4vw, 40px);
  line-height:1.02; margin:0; color:var(--text-primary); overflow-wrap:break-word; }
.rd-facts{ margin:12px 0 0; font-size:13.5px; line-height:1.4; color:var(--text-secondary); font-variant-numeric:tabular-nums; }
.rd-desc{ margin:14px 0 0; font-size:16px; line-height:1.6; color:var(--text-body); max-width:52ch; }

/* what CRVD already remembers: one quiet line */
.rd-mem{ display:flex; flex-wrap:wrap; align-items:center; column-gap:16px; margin:14px 0 0; }
.rd-mem-line{ margin:0; font-size:13px; color:var(--text-secondary); }

.rd-h2{ font-family:var(--font-d); font-weight:600; text-transform:uppercase; font-size:22px; line-height:1.1;
  letter-spacing:.01em; color:var(--text-primary); margin:0; }

/* ---- Zutaten + portions ---- */
.rd-ing{ margin:36px 0 0; }
.rd-ing-head{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin:0 0 10px; }
.rd-portions{ display:inline-flex; align-items:center; gap:8px; font-size:14px; color:var(--text-secondary); }
.rd-step{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:0; border-radius:50%;
  font:inherit; font-size:20px; line-height:1; color:var(--text-primary); cursor:pointer; -webkit-tap-highlight-color:transparent;
  background:radial-gradient(90% 90% at 50% 0%, rgba(var(--hi), .12), rgba(var(--hi), 0) 70%), linear-gradient(165deg, #2C2731 0%, #1B171F 100%);
  box-shadow:inset 0 1px 0 rgba(var(--hi), .14), inset 0 0 0 1px rgba(var(--hi), .05);
  transition:transform 160ms var(--patient), box-shadow 260ms var(--patient); }
@media (hover:hover){
  .rd-step:not([aria-disabled="true"]):hover{ box-shadow:inset 0 1px 0 rgba(var(--hi), .18), inset 0 0 0 1px rgba(var(--act), .32),
    0 8px 20px -12px rgba(var(--act), .55); }
}
.rd-step:not([aria-disabled="true"]):active{ transform:scale(.94); }
.rd-step[aria-disabled="true"]{ opacity:.35; cursor:default; }
.rd-step:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; }
.rd-portions-n{ min-width:1.3em; text-align:center; font-family:var(--font-d); font-weight:600; font-size:22px;
  color:var(--text-primary); font-variant-numeric:tabular-nums; }

/* amount | ingredient -- the eye runs down the amounts */
.rd-ing-list{ list-style:none; margin:0; padding:0; }
.rd-ing-list li{ display:grid; grid-template-columns:6.4em minmax(0, 1fr); column-gap:14px; padding:8px 0;
  font-size:16px; line-height:1.4; }
.rd-q{ font-weight:600; color:var(--text-primary); font-variant-numeric:tabular-nums; }
.rd-n{ color:var(--text-body); overflow-wrap:break-word; }
.rd-note-i{ display:block; margin-top:1px; font-size:13.5px; line-height:1.4; color:var(--text-secondary); overflow-wrap:break-word; }
.rd-opt{ display:inline-block; margin-left:6px; padding:0 7px; border:1px solid var(--border-default); border-radius:999px; font-size:11.5px;
  line-height:18px; letter-spacing:.02em; color:var(--text-secondary); vertical-align:1px; white-space:nowrap; }
.rd-ing-list li.is-optional .rd-n{ color:var(--text-secondary); }
.rd-ing-list li.rd-scaled-hint{ padding-top:2px; }
.rd-scaled-hint .rd-n{ font-size:13px; color:var(--text-secondary); }

/* ---- Shopping List entry point (Recipe Detail) ---- */
.rd-shop{ margin:16px 0 0; }
.rd-shop-state{ margin:0 0 10px; font-size:14px; line-height:1.4; color:var(--text-body); }
.rd-shop-row{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.rd-shop-go.is-quiet{ border-color:var(--hairline); color:var(--text-body); }
.rd-shop-go[disabled]{ opacity:.55; cursor:default; }
.rd-shop-quiet{ display:inline-flex; align-items:center; min-height:44px; padding:0 6px; border:0; background:none; color:var(--text-secondary);
  font:inherit; font-size:14px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.rd-shop-quiet:hover{ color:var(--text-primary); }
.rd-shop-quiet:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; border-radius:4px; }
.rd-shop-msg.is-err{ color:#F0A2A2; }
.rd-shop-go{ display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 22px; border-radius:999px;
  border:1px solid var(--border-default); background:transparent; color:var(--text-primary); font:inherit; font-size:15px; font-weight:600;
  cursor:pointer; -webkit-tap-highlight-color:transparent; transition:border-color 200ms var(--patient), transform 160ms var(--patient); }
@media (hover:hover){ .rd-shop-go:hover{ border-color:var(--border-strong); } }
.rd-shop-go:active{ transform:scale(.98); }
.rd-shop-go:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; }
.rd-shop-msg{ margin:10px 0 0; font-size:13.5px; line-height:1.5; color:var(--text-secondary); max-width:46ch; }
.rd-shop-msg:empty{ display:none; }
@media (max-width:479px){ .rd-shop > .rd-shop-go, .rd-shop-row > .rd-shop-go{ width:100%; } }

/* ---- "Für einen Tag vormerken" (Recipe Detail, P19.2). The Shopping entry's
   own components, one step quieter: planning is a note to self, not the
   primary action of the screen. No new token, no new button shape. ---- */
.rd-plan{ margin:12px 0 0; }
.rd-plan-state{ margin:0 0 10px; font-size:14px; line-height:1.4; color:var(--text-body); }
.rd-plan-row{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.rd-plan-go{ display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 22px; border-radius:999px;
  border:1px solid var(--hairline); background:transparent; color:var(--text-body); font:inherit; font-size:15px; font-weight:600;
  cursor:pointer; -webkit-tap-highlight-color:transparent; transition:border-color 200ms var(--patient), color 200ms var(--patient), transform 160ms var(--patient); }
@media (hover:hover){ .rd-plan-go:hover{ border-color:var(--border-default); color:var(--text-primary); } }
.rd-plan-go:active{ transform:scale(.98); }
.rd-plan-go:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; }
.rd-plan-quiet{ display:inline-flex; align-items:center; min-height:44px; padding:0 6px; border:0; background:none; color:var(--text-secondary);
  font:inherit; font-size:14px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.rd-plan-quiet:hover{ color:var(--text-primary); }
.rd-plan-quiet:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; border-radius:4px; }
@media (max-width:479px){ .rd-plan > .rd-plan-go, .rd-plan-row > .rd-plan-go{ width:100%; } }

/* ---- the day-and-servings dialog (P19.2). Lives inside the one dialog
   shell (slDialog) and borrows the stepper (.rd-step) outright. ---- */
/* Seven columns, because the week is the shape the member already reads on
   the Wochenfokus rail. The small negative inline margin buys back the same
   geometry that rail has at phone width, so a day chip keeps a 44px touch
   target instead of the 42px a 7-column grid inside the sheet's padding
   would leave. */
.wp-picks{ display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:4px; margin:16px -8px 0; }
.wp-pick{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:56px; padding:6px 0;
  border:1px solid var(--hairline); border-radius:12px; background:transparent; color:var(--text-secondary); font:inherit; cursor:pointer;
  -webkit-tap-highlight-color:transparent; transition:border-color 200ms var(--patient), color 200ms var(--patient), background-color 200ms var(--patient); }
.wp-pick-l{ font-family:var(--font-c); font-size:9.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; }
.wp-pick-d{ font-family:var(--font-d); font-weight:500; font-size:14px; color:var(--text-primary); }
@media (hover:hover){ .wp-pick:hover{ border-color:var(--border-default); color:var(--text-primary); } }
/* A day this Recipe is already on. The marker is a dot, not only a border
   tint: at this size a tinted hairline is not legible, and "already
   planned" has to be readable before the member taps. */
.wp-pick{ position:relative; }
.wp-pick.is-set::after{ content:''; position:absolute; top:6px; right:6px; width:5px; height:5px; border-radius:50%;
  background:var(--magenta-text-safe); }
.wp-pick.is-set{ border-color:rgba(var(--act), .3); color:var(--text-primary); }
.wp-pick.is-on{ border-color:rgba(var(--act), .55); background:rgba(var(--act), .1); color:var(--text-primary); }
.wp-pick:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; }
.wp-serv{ display:flex; align-items:center; gap:8px; margin:18px 0 0; padding-top:16px; border-top:1px solid var(--hairline); }
.wp-serv-k{ font-size:13px; color:var(--text-secondary); }
.wp-serv-n{ min-width:1.3em; text-align:center; font-family:var(--font-d); font-weight:600; font-size:20px; color:var(--text-primary); font-variant-numeric:tabular-nums; }
/* "Für einen Tag vormerken" is a member of the Einkauf-abschließen family (KÜCHE V5.6, Revision 4 -- the dialogs [data-kind] shopPurchase and cook):
   the sheet sits on the page canvas, the head is the title alone, the content stands in the Shopping List's own containers (.kt-panel with its
   .kt-panel-h eyebrow; .sl-trip-card for the Recipe), and the fixed action area is .sl-trip-bar with the primary .sl-trip-go and the quiet
   .sl-add-tools cancel. The shared rules below simply list planDay beside those two kinds. Only the day rail (.wp-rail, the Wochenfokus chips),
   the amount stepper and the safe area are this dialog's own; days already past are empty cells so a weekday keeps its column. */
.sl-dialog[data-kind="planDay"]{ display:flex; flex-direction:column; overflow:hidden; padding-bottom:max(var(--s6), env(safe-area-inset-bottom)); }
.sl-dialog[data-kind="planDay"] .sheet-handle{ flex:none; }
.sl-dialog[data-kind="planDay"] #sl-dlg-body{ display:flex; flex-direction:column; flex:1 1 auto; min-height:0; text-align:left; }
.sl-dialog[data-kind="planDay"] .kt-panel { margin:8px 0 0; padding:0 8px 6px; }
.sl-dialog[data-kind="planDay"] .kt-panel-h { padding-top:11px; padding-bottom:3px; }
.sl-dialog[data-kind="planDay"] .sl-trip-card{ min-height:0; padding:9px 14px; }
@media (max-width:389px){
  .sl-dialog[data-kind="planDay"] .kt-panel { padding:0 4px 6px; }
  .sl-dialog[data-kind="planDay"] .wp-rail{ gap:1px; }
}
.sl-dialog[data-kind="planDay"] .sl-dlg-scroll { margin:-4px -12px 0; padding:10px 12px 14px; }   /* room for the containers' glow inside the one scroller (as in the completion dialog) */
.sl-dialog[data-kind="planDay"] .wp-rail{ margin:0; }
.sl-dialog[data-kind="planDay"] .wp-serv{ border-top:0; padding-top:0; margin:0 0 8px; }
.sl-dialog[data-kind="planDay"] .sl-trip-hint{ margin:8px 2px 0; }
.sl-dialog[data-kind="planDay"] .sl-trip-cards{ margin-top:6px; }
.sl-dialog[data-kind="planDay"] .sl-trip-card .wp-thumb{ width:40px; height:40px; border-radius:10px; }
.sl-dialog[data-kind="planDay"] .sl-trip-card{ align-items:center; justify-content:flex-start; }
.sl-dialog[data-kind="planDay"] .wp-chosen{ margin:0; }
.sl-dialog[data-kind="planDay"] .wp-chosen-n{ font-size:16px; }
@media (max-width:359px){
  .sl-dialog[data-kind="planDay"]{ padding-left:8px; padding-right:8px; }
  .sl-dialog[data-kind="planDay"] .sl-dlg-scroll { margin:-4px -8px 0; padding:10px 8px 14px; }
  .sl-dialog[data-kind="planDay"] .kt-panel { padding:0 2px 6px; }
  .sl-dialog[data-kind="planDay"] .kt-panel-h { padding-left:8px; }
  .sl-dialog[data-kind="planDay"] .wp-rail{ gap:1px; }
  .sl-dialog[data-kind="planDay"] .wp-pick-d{ font-size:13px; }
}

/* ---- choosing the Recipe inside the same dialog (P19.4). The field is the
   product's own .cf-input; the results are rows of the same kind the
   Wochenfokus list uses, so nothing new is invented for them. ---- */
/* P19.6 -- the results are the dialog's ONE scroll region (.sl-dlg-scroll),
   not a scroller of their own inside it: a nested scroller captures the swipe
   on iOS, and a fixed 46vh cap could not know how much viewport the keyboard
   had left. The region's own flex rules come from .sl-dlg-scroll; only the
   inner breathing room is set here. */
.wp-res-box{ margin:12px -2px 0; padding:0 2px 4px; }
.wp-res{ list-style:none; margin:0; padding:0; }
/* P20 -- the ruled line between rows is gone. On a near-fullscreen list the
   pictures already give the rhythm, and a hairline every 64px is what made a
   short list read as a boxed widget rather than a catalogue. */
.wp-res-b{ display:flex; align-items:center; gap:12px; width:100%; min-height:68px; padding:8px 2px; background:none; border:0; border-radius:12px;
  text-align:left; color:inherit; font:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; }
@media (hover:hover){ .wp-res-b:hover .wp-res-n{ color:var(--text-primary); } }
.wp-res-b:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; }
.wp-res-t{ min-width:0; }
.wp-res-n{ display:block; font-size:15px; line-height:1.3; color:var(--text-primary); overflow-wrap:anywhere; }
.wp-res-m{ display:block; margin-top:2px; font-size:12.5px; color:var(--text-secondary); }
.wp-res-b.is-set .wp-res-m{ color:var(--magenta-text-safe); }
/* P19.7 -- the remainder of the catalogue, as the last row of the list rather
   than a button bolted under it: same left edge, same height, same rhythm, and
   quiet enough that it never competes with a dish. */
   P20.1 -- and a real secondary action rather than a clickable line: .sl-mini,
   the outlined pill the product already uses for every secondary action,
   centred under the list with the remainder as one quiet line beneath it.
   Nothing is sized here that .sl-mini already sizes. */
.wp-more{ display:flex; justify-content:center; margin:18px 0 6px; }
.wp-more-n{ margin-left:6px; color:var(--text-secondary); font-variant-numeric:tabular-nums; }
/* The chosen Recipe, carried into the amount step as the row it was picked
   from -- so the two steps read as one movement, not two screens. */
.wp-chosen{ display:flex; align-items:center; gap:12px; margin:14px 0 0; }
.wp-chosen-t{ min-width:0; }
/* P19.9 -- the name is content, not the dialog's heading: it dropped
   .cm-open-title, so it needs its own size and weight instead of two
   !important declarations that existed only to beat that class. Roboto rather
   than Oswald all-caps -- a dish is read as a name, and the Oswald voice now
   belongs to the one heading above, exactly as in the Küche dialogs. */
.wp-chosen-n{ display:block; margin:0; font-size:clamp(16.5px, 4.4vw, 19px); font-weight:600;
  line-height:1.25; color:var(--text-primary); overflow-wrap:anywhere; }
.wp-chosen-m{ display:block; margin-top:3px; font-size:12.5px; color:var(--text-secondary); }
/* The day, as the context line UNDER the Küche heading. .cm-open-table is the
   existing token for exactly this voice (11px, .18em, uppercase, muted) -- it
   simply changed places, from above the heading to below it. */
.wp-head-day{ margin:5px 0 0; }
.wp-chosen + .cm-open-desc{ margin-top:8px; }
/* The confirmation never scrolls away: its own zone under the one scroller.
   P19.7 -- the zone is .sl-trip-bar now, which brings the Küche foot's own
   border, background and spacing with it; the primary is .sl-trip-go (already
   full width at 52px) and the secondary a quiet .sl-mini, centred under it
   exactly as the Einkauf and Gekocht dialogs centre theirs. Nothing is sized
   here that the reference already sizes. */
.wp-foot .sl-add-tools{ display:flex; justify-content:center; margin:8px 0 0; }

/* ---- Nährwerte pro Portion (Recipe V2) ---- */
.rd-nut{ margin:36px 0 0; padding:20px 18px 16px; border-radius:16px; background:var(--surface); box-shadow:inset 0 0 0 1px var(--hairline); }
.rd-nut-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 10px; }
.rd-nut-per{ font-size:13px; color:var(--text-secondary); }
.rd-nut-main{ display:flex; align-items:baseline; gap:8px; margin:0 0 4px; }
.rd-nut-invariant{ margin:0 0 14px; font-size:12.5px; line-height:1.4; color:var(--text-secondary); }
.rd-nut-kcal{ font-family:var(--font-d); font-weight:600; font-size:40px; line-height:1; color:var(--text-primary); font-variant-numeric:tabular-nums; }
.rd-nut-unit{ font-size:14px; color:var(--text-secondary); }
.rd-nut-grid{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px 16px; margin:0; padding:14px 0 0; border-top:1px solid var(--hairline); }
.rd-nut-cell{ min-width:0; }
.rd-nut-cell dt{ font-size:12.5px; line-height:1.3; color:var(--text-secondary); overflow-wrap:break-word; }
.rd-nut-cell dd{ margin:2px 0 0; font-size:17px; font-weight:600; color:var(--text-primary); font-variant-numeric:tabular-nums; }
.rd-nut-foot{ margin:14px 0 0; font-size:12.5px; line-height:1.5; color:var(--text-secondary); }

/* ---- Zubereitung ---- */
.rd-prep{ margin:44px 0 0; }
.rd-prep .rd-h2{ margin:0 0 20px; }
.rd-steps{ list-style:none; counter-reset:rd-step; margin:0; padding:0; }
.rd-steps li{ counter-increment:rd-step; display:grid; grid-template-columns:2em minmax(0, 1fr); column-gap:12px;
  margin:0 0 24px; font-size:17px; line-height:1.62; color:var(--text-body); }
.rd-steps li::before{ content:counter(rd-step); font-family:var(--font-d); font-weight:600; font-size:28px; line-height:1;
  color:var(--text-primary); padding-top:1px; }

/* ---- the finish ---- */
.rd-finish{ position:relative; margin:40px 0 0; padding:8px 0 0; }
/* the light that answers "Fertig.": arrives once, then stays, low */
.rd-finish::before{ content:''; position:absolute; left:-24px; right:-24px; top:-40px; height:260px; pointer-events:none; opacity:0;
  background:radial-gradient(55% 60% at 22% 34%, rgba(var(--act), .15), rgba(var(--act), 0) 70%);
  transition:opacity 700ms var(--patient); }
.rd-finish.is-done::before{ opacity:1; }
.rd-done{ position:relative; display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 26px;
  border:0; border-radius:999px; cursor:pointer; font-family:var(--font-d); font-weight:600; font-size:18px; letter-spacing:.02em;
  color:var(--text-primary); -webkit-tap-highlight-color:transparent;
  background:radial-gradient(90% 120% at 50% 0%, rgba(var(--hi), .12), rgba(var(--hi), 0) 70%), linear-gradient(165deg, #2E2934 0%, #1B171F 100%);
  box-shadow:inset 0 1px 0 rgba(var(--hi), .16), inset 0 0 0 1px rgba(var(--hi), .06);
  transition:transform 160ms var(--patient), box-shadow 320ms var(--patient), color 320ms var(--patient); }
@media (hover:hover){
  .rd-finish:not(.is-done) .rd-done:hover{ box-shadow:inset 0 1px 0 rgba(var(--hi), .2), inset 0 0 0 1px rgba(var(--act), .34),
    0 10px 26px -12px rgba(var(--act), .5); }
}
.rd-finish:not(.is-done) .rd-done:active{ transform:scale(.97); }
.rd-done:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:4px; }
.rd-finish.is-done .rd-done{ cursor:default; color:#FFEAF8;
  background:radial-gradient(120% 140% at 30% 0%, rgba(var(--act), .46), rgba(var(--act), 0) 65%), linear-gradient(165deg, #3A2436 0%, #1C141D 100%);
  box-shadow:inset 0 1px 0 rgba(255, 214, 242, .42), inset 0 0 0 1px rgba(var(--act), .5), 0 0 26px -6px rgba(var(--act), .55); }
/* the chef's note: the human reward, and it stays */
.rd-note{ position:relative; margin:18px 0 0; font-family:var(--font-d); font-weight:500; text-transform:uppercase;
  font-size:clamp(20px, 5.6vw, 24px); line-height:1.2; color:var(--text-primary); max-width:22em; }
.rd-note:empty{ display:none; }
.rd-finish.is-direct{ margin-top:32px; }
.rd-finish.is-direct .rd-note{ margin-top:0; }
.rd-finish .cm-finish{ position:relative; margin-top:6px; }
.rd-finish.is-arriving .rd-note{ animation:rdNoteIn 520ms var(--patient) both; }
.rd-finish.is-arriving .cm-offer{ animation-delay:460ms; }
@keyframes rdNoteIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }

/* ---- PL8 boundary (Free member, PL8 recipe) ----
   Discovery's lock, grown into the place where the ingredients would begin:
   a dark surface lit from its upper right, a magenta edge where the light
   catches, the lock + PL8 mark lifted off it, one line, one way onward.
   PROTOTYPE UI ONLY -- the protected content is not rendered here, but it
   still ships in app.js. */
.rd-lock{ position:relative; overflow:hidden; margin:32px 0 0; padding:26px 22px 24px; border-radius:18px;
  background:radial-gradient(90% 80% at 88% -10%, rgba(var(--act), .24), rgba(var(--act), 0) 62%),
    radial-gradient(70% 90% at 0% 110%, rgba(var(--lit), .06), rgba(var(--lit), 0) 70%),
    linear-gradient(165deg, #2C2430 0%, #18141B 100%);
  box-shadow:inset 0 1px 0 rgba(255, 214, 242, .22), inset 0 0 0 1px rgba(var(--act), .22), 0 30px 60px -36px rgba(var(--act), .45); }
.rd-lock-mark{ display:inline-flex; align-items:center; gap:8px; height:36px; padding:0 14px 0 12px; border-radius:12px;
  font-family:var(--font-c); font-size:13px; font-weight:700; letter-spacing:.14em; line-height:1; color:#FFEAF8;
  background:radial-gradient(130% 150% at 22% -12%, rgba(var(--act), .55), rgba(var(--act), 0) 62%), linear-gradient(165deg, #3A2436 0%, #1C141D 100%);
  box-shadow:inset 0 1px 0 rgba(255, 214, 242, .45), inset 0 0 0 1px rgba(var(--act), .5),
    0 10px 20px -10px rgba(0, 0, 0, .75), 0 0 28px -6px rgba(var(--act), .6); }
.rd-lock-mark .rx-lock-i{ flex:none; width:15px; height:15px; color:#FF8BDF; }
.rd-lock-h{ font-family:var(--font-d); font-weight:600; text-transform:uppercase; font-size:clamp(22px, 6vw, 26px); line-height:1.1;
  color:var(--text-primary); margin:18px 0 0; }
.rd-lock-p{ font-size:15.5px; line-height:1.6; color:var(--text-body); margin:10px 0 0; max-width:40ch; }
.rd-lock-go{ display:inline-flex; align-items:center; min-height:48px; margin:22px 0 0; padding:0 24px; border:0; border-radius:999px;
  cursor:pointer; font-family:var(--font-c); font-size:15px; font-weight:600; color:var(--canvas); background:var(--magenta-brand);
  box-shadow:0 10px 28px -12px rgba(var(--act), .7), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition:transform 160ms var(--patient), box-shadow 260ms var(--patient); }
@media (hover:hover){ .rd-lock-go:hover{ transform:translateY(-1px); box-shadow:0 14px 34px -12px rgba(var(--act), .85), inset 0 1px 0 rgba(255, 255, 255, .3); } }
.rd-lock-go:active{ transform:scale(.98); }
.rd-lock-go:focus-visible{ outline:2px solid rgba(var(--hi), .9); outline-offset:4px; }

/* ---- 1440: two working columns, the same order ----
   Left: what it is and what you need. Right: how, and the finish. The
   ingredients sit beside the steps they belong to. */
@media (min-width:1024px){
  .app-content-inner.rd{ max-width:1100px; }
  .rd-grid{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.12fr); column-gap:64px; align-items:start; }
  .rd .bt-detail-back{ margin-bottom:18px; }
  .rd-title{ font-size:clamp(34px, 3vw, 44px); }
  .rd-prep{ margin-top:0; }
  .rd-prep .rd-h2{ margin-bottom:24px; }
  /* Tested both: the left column (visual + ingredients) is taller than the
     viewport, so it cannot stay in view; the preparation column is short, so
     IT stays beside the ingredients while the member scrolls down them --
     under the app's own sticky header (65px + preview banner, as the sidebar
     uses). A preparation column taller than the viewport simply scrolls. */
  .rd:not(.is-locked) .rd-cook{ position:sticky; top:calc(65px + var(--preview-banner-h) + 28px); }
  .rd.is-locked .rd-lock{ margin-top:0; padding:34px 32px 32px; }
}

@media (prefers-reduced-motion: reduce){
  .rd-step, .rd-done, .rd-finish::before, .rd-lock-go{ transition:none; }
  .rd-finish.is-arriving .rd-note, .rd-finish.is-arriving .cm-offer{ animation:none; }
  .rd-step:active, .rd-done:active, .rd-lock-go:hover, .rd-lock-go:active{ transform:none; }
}


/* PORTION DEFAULT. A compact secondary pill directly beneath the stepper and
   aligned with it: the same dark elevated surface and inset hairline as the
   stepper's own buttons, with a magenta-tinted border and icon so it reads as
   something to press -- but small, quiet and never competing with a primary
   action. 40px tall with a 44px touch target (the extra 4px sits below, where
   it cannot cover the stepper). The saved state replaces it with a plain
   indicator. A bookmark, not a heart: this is a setting, not a favourite. */
.portion-default{ display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:0 var(--s4); margin:2px 0 var(--s3); }
.portion-default:empty{ display:none; }
.portion-default-btn{ position:relative; display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 16px 0 13px;
  border:0; border-radius:999px; cursor:pointer; -webkit-tap-highlight-color:transparent;
  font-family:var(--font-c); font-size:13px; font-weight:600; letter-spacing:.01em; color:var(--text-primary);
  background:radial-gradient(90% 90% at 50% 0%, rgba(var(--hi), .10), rgba(var(--hi), 0) 70%), linear-gradient(165deg, #2C2731 0%, #1B171F 100%);
  box-shadow:inset 0 1px 0 rgba(var(--hi), .12), inset 0 0 0 1px rgba(var(--act), .38);
  transition:transform 160ms var(--patient), box-shadow 260ms var(--patient), background-color 200ms var(--patient); }
.portion-default-btn::after{ content:''; position:absolute; left:-6px; right:-6px; top:0; bottom:-4px; }
.portion-default-ico{ display:inline-flex; color:var(--magenta-text-safe); }
@media (hover:hover){
  .portion-default-btn:not([aria-disabled="true"]):hover{ box-shadow:inset 0 1px 0 rgba(var(--hi), .18), inset 0 0 0 1px rgba(var(--act), .7),
    0 8px 20px -12px rgba(var(--act), .55); }
}
.portion-default-btn:not([aria-disabled="true"]):active{ transform:scale(.96); }
.portion-default-btn:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; }
.portion-default-btn[aria-disabled="true"]{ cursor:default; box-shadow:inset 0 1px 0 rgba(var(--hi), .08), inset 0 0 0 1px rgba(var(--hi), .12); color:var(--text-secondary); }
.portion-default-btn[aria-disabled="true"] .portion-default-ico{ color:var(--text-secondary); }
.portion-default-ok{ display:inline-flex; align-items:center; gap:6px; min-height:40px; margin:0; font-family:var(--font-c); font-size:13px; color:var(--text-secondary); }
.portion-default-check{ display:inline-flex; color:var(--magenta-text-safe); }
.portion-default-err{ flex-basis:100%; margin:var(--s2) 0 var(--s2); text-align:right; font-size:12.5px; line-height:1.45; color:var(--magenta-text-safe); }

@media (prefers-reduced-motion:reduce){
  .portion-default-btn{ transition:none; }
  .portion-default-btn:not([aria-disabled="true"]):active{ transform:none; }
}

/* Sprint 20.23 -- Community's Hintergrund tab and its chapter-discovery
   styles (.community-tabs/.community-tab/.community-hintergrund/
   .community-intro-*/.community-chapters/.community-chapter-link) were
   removed entirely: Community is single-view again, the story now lives at
   its own primary nav destination. */
.compose-box{ background:var(--surface-2); border-radius:10px; padding:var(--s4); margin:0 0 var(--s6); }
/* Phase 4C -- topic select reuses the textarea's own bottom-border
   treatment for visual consistency rather than introducing a new field
   style; no per-topic color, no icon, deliberately lightweight. */
.compose-topic-select{ width:auto; max-width:100%; background:none; border:none; border-bottom:1px solid var(--hairline); border-radius:0;
  padding:2px 0 8px; margin-bottom:8px; color:var(--text-secondary); font-family:var(--font-c); font-size:16px; cursor:pointer; }
.compose-topic-select:focus{ outline:2px solid var(--magenta); outline-offset:2px; border-bottom-color:var(--magenta); }
.compose-box textarea{ width:100%; background:none; border:none; border-bottom:1px solid var(--hairline); border-radius:0; padding:4px 0 10px; color:var(--text-primary);
  font-family:var(--font-c); font-size:16px; min-height:42px; resize:vertical; }
.compose-box textarea:focus{ outline:2px solid var(--magenta); outline-offset:2px; border-bottom-color:var(--magenta); }
/* Phase 4C -- feed topic filter. Plain text buttons, one flex row; the
   only visual distinction for the active one is weight/color, reusing
   the same tokens .who/.ack.acked already use -- no per-topic color,
   no badge, no count. */
.topic-filter{ display:flex; flex-wrap:wrap; gap:14px; margin:0 0 18px; }
.topic-filter-btn{ background:none; border:none; padding:0; font-family:inherit; font-size:13px; color:var(--muted); cursor:pointer; }
.topic-filter-btn.is-active{ color:var(--text-primary); font-weight:600; }
.feed-item{ padding:20px 0; border-bottom:1px solid var(--hairline); }
.feed-item .who{ font-weight:600; font-size:14.5px; }
.feed-item .when{ font-size:12px; color:var(--muted); margin-left:8px; }
.feed-item .topic-label{ font-size:12px; color:var(--muted); margin-left:8px; }
.feed-item p{ font-size:14.5px; line-height:1.6; color:var(--text-body); margin-top:6px; }
.feed-item .ack{ margin-top:8px; font-size:12.5px; color:var(--muted); background:none; border:none; padding:0; font-family:inherit; display:block; text-align:left; }
.feed-item button.ack{ cursor:pointer; }
.feed-item .ack.acked{ color:var(--text-secondary); }
/* Direct Moderator Removal (Community Moderation Truth foundation) --
   restrained at rest, clearly destructive on hover/focus. Exact same
   token pair and transition already used for "Konto dauerhaft löschen"
   (.acct-mod-quiet .btn-quiet) -- no new color introduced. Overrides
   .btn-quiet's own :hover rule (color:var(--text-primary)) for this one
   button only, so hovering Entfernen reads as destructive, never as the
   ordinary quiet-link hover every other .btn-quiet in this row shares. */

/* ==========================================================================
   COMMUNITY — SPRINT 1 (approved direction B3.1)
   ==========================================================================
   One shared room. Foreign contributions sit on a common left axis; own
   contributions step INWARD, never across to the other side. Everything
   here is scoped to cf-* on purpose: these are conversational surfaces,
   not a reusable card system, and nothing below may be borrowed by
   another screen. Whitespace is the separator (Constitution 2.5) --
   there is not a single border or divider in this block.
   Magenta is spent exactly once, on Teilen / Anonym teilen.
   ========================================================================== */
/* The room reserves the pinned composer's measured height (see
   render()), so the last contribution's actions are always reachable
   no matter which of the composer's three states is showing. */
/* ...but it TOPS UP what the shell already reserves instead of adding a
   second reserve on top of it. Measured on a real signed-in Preview session
   at 500x477 after publishing a first contribution: .app-content was
   holding --mobile-safe-bottom (190px) for the bottom navigation while this
   room was holding another 164px for a 136px composer whose own padding
   already clears that navigation -- 354px of reservation under a 136px
   obstruction. That surplus is the empty region a member lands in after
   publishing, with the conversation's head scrolled off above it. The room
   now asks only for what the composer needs beyond the shell's own
   clearance, which is nothing while the composer is collapsed and the
   difference while it is open. */
.cf-room{ position:relative;
  padding-bottom:max(0px, calc(var(--cf-comp-h, 150px) + 28px - var(--mobile-safe-bottom))); }

/* COMMUNITY LANDING (the Table deck) fits the screen. Scoped to .cm-home, which only
   the table-selection view carries -- Tables, Conversations and PL8 are untouched.
   Measured cause of the scroll (375x812, document 868px): the shell is
   min-height:100vh while body also carries the preview banner as padding-top
   (the banner-height overshoot noted at .ap) -- 56px of scroll on its own --
   and .app-content reserves --mobile-safe-bottom (190px) for a composer this
   view does not have. The shell now ends at the visible bottom (100svh, i.e.
   with Safari's toolbar out, so it fits in both toolbar states), the bottom
   clearance is the navigation's own height plus the safe area, and the content
   is centred in what is left. The deck's stage is the one flexible part: it
   takes the height that remains (between 200px and its natural 272px), so a
   shorter screen shrinks the stage instead of pushing the navigation away;
   only a screen too short for even the minimum scrolls, which is genuine. */
@media (max-width:1023px){
  #app:has(.cm-home), .app-shell:has(.cm-home){ min-height:calc(100vh - var(--preview-banner-h)); min-height:calc(100svh - var(--preview-banner-h)); }
  .app-content:has(.cm-home){ display:flex; flex-direction:column; justify-content:center; padding-top:8px;
    padding-bottom:calc(var(--nav-bar-h) + 8px + max(8px, env(safe-area-inset-bottom))); }
  /* chrome around the stage: banner + header + padding + room head + dots + the navigation's clearance */
  .cm-home .ts-stage{ height:clamp(200px, calc(100svh - var(--preview-banner-h) - 87px - 8px - 150px - 56px - var(--nav-bar-h) - 8px - max(8px, env(safe-area-inset-bottom))), 272px); }
}
@media (max-width:1023px) and (max-height:760px){
  .cm-home .cf-head .kicker{ margin-bottom:6px; }
  .cm-home .cf-title{ margin-bottom:8px; }
  .cm-home .ct-lede{ margin-top:6px; }
  .cm-home .ts{ --ts-d:clamp(140px, 40vw, 172px); }
}

/* ---- ROOM HEAD -----------------------------------------------------
   Kicker and statement, nothing else. The presence sentence was removed
   by Founder decision and is deliberately not replaced by another
   number. */
.cf-head{ position:relative; padding-top:2px; }
.cf-head .kicker{ font-size:10px; letter-spacing:0.2em; margin:0 0 9px; }
.cf-title{ font-family:var(--font-d); font-weight:500; text-transform:none;
  font-size:clamp(27px, 7.4vw, 34px); line-height:1.04; letter-spacing:0.004em;
  color:var(--text-primary); margin:0 0 var(--s5); max-width:8.2em; }

/* THE SIGNAL — the room's belonging anchor (Constitution 1.3 allows
   compositional dominance on a community surface, never on a utility
   one). Complete and uncropped so the gap and the tangential square --
   the only things separating it from a generic open circle -- stay
   readable. The LIGHT is stronger than the LINE: what should read is a
   glow with a mark inside it, not a mark with a glow. Never attached to
   an individual contribution, and never behind contribution text. */
.cf-sig{ position:absolute; z-index:0; pointer-events:none;
  color:var(--magenta); opacity:0.15;
  width:148px; height:148px; top:-8px; right:-10px; }
.cf-sig svg{ width:100%; height:100%; display:block; }
.cf-sig::before{ content:''; position:absolute; inset:-38%; border-radius:50%;
  background:radial-gradient(closest-side,
    rgba(226,25,181,0.26) 0%, rgba(226,25,181,0.10) 44%, rgba(226,25,181,0) 78%); }
.cf-head > *:not(.cf-sig){ position:relative; z-index:1; }

/* ---- CATEGORIES — editorial word-selector, not chips ----------------
   Borrowed from Konto's Focus selector, whose own note applies verbatim:
   "boxes would make four peers look like four buttons". The underline is
   NEUTRAL, never magenta: on this screen magenta means teilen, and a
   filter is not that. 44px hit area, absorbed by a negative block margin
   so the row keeps its quiet rhythm. */
.cf-topics{ display:flex; gap:20px; align-items:baseline; margin:0 0 var(--s4);
  overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.cf-topics::-webkit-scrollbar{ display:none; }
.cf-t{ position:relative; flex:none; background:none; border:none; cursor:pointer;
  padding:13px 0 14px; margin:-6px 0; font-family:var(--font-d); font-weight:400;
  font-size:13px; letter-spacing:0.05em; text-transform:uppercase;
  color:#655E69; white-space:nowrap; min-height:44px;
  transition:color 240ms var(--patient); }
.cf-t::after{ content:''; position:absolute; left:0; right:100%; bottom:7px;
  height:1px; background:var(--text-secondary);
  transition:right 320ms var(--patient); }
.cf-t:hover{ color:var(--text-secondary); }
.cf-t.is-on{ color:var(--text-primary); font-weight:500; font-size:15px; }
.cf-t.is-on::after{ right:0; }
.cf-t:focus-visible{ outline:2px solid var(--magenta); outline-offset:4px; }

/* ---- THE CONVERSATION ----------------------------------------------
   One ground of light under the whole room, transparent at every edge
   and masked away top and bottom -- the same device as Konto's own
   region wash, and the reason the room has depth without a single
   border. Decorative only; .app-shell's overflow-x:clip is what
   guarantees it can never enlarge the document. */
.cf-feed{ position:relative; }
.cf-feed::before{ content:''; position:absolute; z-index:0; pointer-events:none;
  inset:-10px -16px -20px;
  background:
    radial-gradient(64% 44% at 58% 70%, rgba(226,25,181,0.050) 0%, rgba(226,25,181,0) 72%),
    radial-gradient(70% 40% at 26% 12%, rgba(214,198,226,0.026) 0%, rgba(214,198,226,0) 74%);
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%);
  mask-image:linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%); }
/* Whitespace is the separator (Constitution 2.5): with the surfaces made
   quieter, the gap between contributions is what now does the dividing. */
.cf-post{ position:relative; z-index:1; margin-bottom:24px; }
.cf-post:last-child{ margin-bottom:0; }

/* METADATA — one compact group, mixed case, ungapped. Uppercase with
   letter-spacing is what gave 11px text the optical density of a
   heading; without it the line recedes without becoming illegible.
   --muted, not --text-disabled: Konto's own measurement puts 10-11px at
   --text-disabled near 3.2:1 on this ground, which is below AA. Quiet is
   a decision, illegible is a defect. */
.cf-meta{ display:flex; align-items:center; gap:7px; margin:0 0 6px;
  padding-left:2px; flex-wrap:wrap; }
/* COMMUNITY EXPERIENCE 2.0 -- AUTHOR RECOGNITION. The mark was a flat 20px
   tone chip with 8px letters: present, but not a person. It is the one place
   in the Community that stands for WHO is speaking, so it now carries the
   same material every identity surface in this product carries -- the near-
   black disc with one lit edge along its top, the Konto monogram's own
   construction, at the scale a Community line can hold. 30px is also the
   smallest size at which one of the curated objects is still recognisable as
   itself rather than as a coloured dot (measured; the previously assumed 20px
   is not), so the slot is correct whether it holds letters or an object.
   The three tones and the single neutral anonymous marker are unchanged:
   both are privacy decisions, not visual ones. */
.cf-mk{ position:relative; isolation:isolate; width:30px; height:30px;
  border-radius:50%; flex:none; display:flex; overflow:hidden;
  align-items:center; justify-content:center; font-size:11px; font-weight:600;
  letter-spacing:0.02em; color:#DAD3D8;
  box-shadow:inset 0 0 0 1px rgba(245,241,236,.07); }
.cf-mk::after{ content:''; position:absolute; inset:0; border-radius:50%;
  pointer-events:none;
  background:linear-gradient(168deg, rgba(245,241,236,.16) 0%, rgba(245,241,236,.03) 36%, rgba(245,241,236,0) 64%);
  -webkit-mask-image:radial-gradient(closest-side, transparent 0 calc(100% - 1px), #000 calc(100% - 1px));
  mask-image:radial-gradient(closest-side, transparent 0 calc(100% - 1px), #000 calc(100% - 1px)); }
/* Three quiet tones, derived from the DISPLAYED name only -- a property
   of something already public. An anonymous contribution never gets one:
   one identical neutral marker for every anonymous contribution by
   anyone, so there is nothing here to correlate on. */
.cf-mk-a{ background:linear-gradient(158deg, #3A2F3E 0%, #241E29 76%); }
.cf-mk-b{ background:linear-gradient(158deg, #2E3B36 0%, #1E2724 76%); }
.cf-mk-c{ background:linear-gradient(158deg, #353343 0%, #22212C 76%); }
.cf-mk-anon{ background:linear-gradient(158deg, rgba(245,241,236,.055) 0%, rgba(245,241,236,.018) 76%);
  color:#7A7280; }
/* PERSONAL IDENTITY STAGE 2 -- the member's own object in the mark. The disc
   keeps its ground and its lit edge; the object is drawn slightly past the
   circle, exactly as the Konto stage draws it, so the artwork and not the
   container is what you recognise. Normalised geometry sits inside 85.9% of
   its canvas, so 1.14 brings it to 98% of the mark. */
.cf-mk-obj{ background:radial-gradient(closest-side, rgba(245,241,236,.07) 0%, rgba(245,241,236,.02) 64%, rgba(245,241,236,0) 100%);
  box-shadow:none; overflow:visible; }
.cf-mk-obj::after{ display:none; }
.cf-mk-img{ display:block; width:100%; height:100%; object-fit:contain;
  transform:scale(1.14); filter:drop-shadow(0 2px 4px rgba(0,0,0,.5)); }

/* WHO YOU ARE IN THIS ROOM. One line under the Community's own headline:
   the mark, the name the room knows you by, and the single control that
   dresses it. Deliberately not a card and not a settings panel -- it is a
   statement with one thing you can do to it.

   LITERALLY one line. The row's height is the mark's 40px plus 10px of air
   on each side, and nothing else may set it: a second line of copy here is
   paid for by the Tables below, which are what the member came for. The
   mark keeps its 40px -- the artwork has to stay recognisable, and shrinking
   it would buy 2px, because the 38px control is the next tallest thing in
   the row. */
.cmi{ display:flex; align-items:center; gap:var(--s4);
  margin:0 0 var(--s4); padding:10px 0;
  border-top:1px solid rgba(245,241,236,.055);
  border-bottom:1px solid rgba(245,241,236,.055); }
.cmi-mk{ width:40px; height:40px; font-size:14px; }
.cmi-n{ min-width:0; flex:1; margin:0; font-size:15px; font-weight:600;
  color:var(--text-primary); overflow-wrap:anywhere; }
.cmi-go{ flex:none; min-height:38px; padding:0 14px; border:0; border-radius:999px;
  background:rgba(245,241,236,.05); box-shadow:inset 0 0 0 1px rgba(245,241,236,.16);
  color:var(--text-secondary); font-family:var(--font-c); font-size:11px;
  font-weight:600; letter-spacing:.14em; text-transform:uppercase; cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background-color 200ms ease, box-shadow 200ms ease, color 200ms ease; }
.cmi-go:hover{ background:rgba(245,241,236,.09);
  box-shadow:inset 0 0 0 1px rgba(245,241,236,.28); color:var(--text-primary); }
.cmi-go:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
/* Desktop keeps the spacing it was approved with. The tightening above is
   paid for by a phone's initial viewport, and a desktop window does not
   have that problem -- so it does not pay that price either. */
@media (min-width:1024px){ .cmi{ max-width:38rem; margin-inline:auto;
  margin-bottom:var(--s6); padding:var(--s4) 0; } }
/* The name sits with the mark now rather than beside it as another small
   grey word: one notch up, in the product's own secondary light. */
.cf-nm{ font-size:13.5px; font-weight:500; color:var(--text-primary); }
.cf-du{ font-size:13.5px; font-weight:600; color:var(--text-primary); }
.cf-mt{ font-size:11.5px; color:var(--muted); letter-spacing:0; }

/* THE SURFACE — depth without a border, and now SIZED BY ITS CONTENT.
   Every contribution used to become a full-column bar, which at 119
   contributions read as a stack of identical dark rectangles rather than
   as people saying different-length things. width:fit-content lets a
   one-line thought stay a one-line thought while a long one still reaches
   the reading measure -- that difference is the room's rhythm.
   min-width stops a two-word contribution from becoming a speech balloon;
   max-width keeps the longest one readable. */
.cf-bubble{ position:relative; width:fit-content; max-width:100%;
  min-width:min(100%, 8.5rem);
  border-radius:4px 17px 17px 17px; padding:10px 14px;
  /* Less mass, not less size. On a 390px phone a 17px sentence fills the
     column no matter what fit-content does -- physics, and shrinking the
     text to fake rhythm would contradict "text is the hero". So the wall
     of bars is broken by taking CONTRAST out of the surface instead:
     the words keep their weight, the container loses its. */
  background:linear-gradient(178deg,
    rgba(245,241,236,0.036) 0%, rgba(245,241,236,0.015) 100%); }
.cf-bubble p{ margin:0; font-size:17px; line-height:1.55; color:var(--text-primary);
  overflow-wrap:anywhere; }

/* OWN CONTRIBUTION — Treatment II. Steps inward, never to the other
   side. The dark-magenta tone plus a ground of light that is transparent
   at every edge says "das bin ich"; it must never say "this one matters
   more", which is why it stays far below Teilen in salience and gains no
   second accent, no icon and no Signal of its own. */
.cf-post.cf-own{ margin-left:24px; }
.cf-post.cf-own .cf-bubble{ border-radius:17px 17px 4px 17px;
  background:linear-gradient(178deg,
    rgba(226,25,181,0.100) 0%, rgba(226,25,181,0.042) 100%); }
/* The atmosphere now hangs off the BUBBLE, not off the full-width post:
   with content-sized surfaces a bloom anchored to the row would float in
   empty space to the right of a short contribution. */
.cf-post.cf-own .cf-bubble::before{ content:''; position:absolute; z-index:-1;
  pointer-events:none; inset:-14px -20px -12px -22px;
  background:radial-gradient(72% 62% at 40% 52%,
    rgba(226,25,181,0.10) 0%, rgba(226,25,181,0) 72%);
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image:linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%); }
.cf-tomb .cf-bubble{ background:rgba(245,241,236,0.028); }
.cf-tomb-line{ font-size:14.5px; line-height:1.6; color:var(--muted); font-style:italic; }

/* ---- ACKNOWLEDGMENT — beta ------------------------------------------
   A state dot, a number, one word. The dot is tonal and carries state
   only: empty means you have not, filled means you have. Not a like, not
   a reaction, no picker, no pill. The full canonical sentence lives in
   the accessible name; the visible copy is the compact form.
   Acknowledged uses --text-secondary and NEVER --text-primary
   (Constitution 4.2 / R-3: "calm and human, not celebratory"). */
/* COMMUNITY EXPERIENCE 2.0 -- ACTION HIERARCHY. The row held three things at
   one weight: the acknowledgment, which is the only thing most members will
   ever do here, and the secondary actions, which are rare and consequential.
   They are separated now rather than restyled -- the acknowledgment keeps the
   left, the rare actions sit at the right edge of the measure and step down a
   step in colour, and the gap between them is what says they are different
   kinds of thing. No new control, no new word, no icon. */
.cf-act{ display:flex; align-items:center; gap:10px 18px; margin-top:6px;
  padding-left:2px; flex-wrap:wrap; }
.cf-act .cf-sec:first-of-type{ margin-left:auto; }
.cf-act .cf-sec{ color:var(--text-disabled); }
.cf-act .cf-sec:hover, .cf-act .cf-sec:focus-visible{ color:var(--text-secondary); }
/* CONVERSATION MANAGEMENT. "Gespräch löschen" first sat under the metadata
   as a bare link, then as an outlined pill with a rule above it. Both were
   the same mistake at different weights: the conversation's header was
   carrying its most irreversible action, permanently, in the place the eye
   lands after the title. It now lives behind .cm-more -- one control at the
   end of the back row, which opens the menu that holds every secondary
   action this conversation has. */
.cm-conv-nav{ display:flex; align-items:center; justify-content:space-between;
  gap:var(--s4); }
/* THE ONE WAY BACK, identical on both levels of the room. Two text controls
   of different widths and different words were doing one job, and neither
   read as a button at a glance. One icon-only control: a wide, quiet
   surface with a horizontal arrow in the room's near-white, sized by the
   tokens the header's account control already uses -- 44px of height, and
   deliberately wider than tall so a thumb reaching for the top-left corner
   finds it. What it does is in its accessible name, which names the
   destination (the Table, or the overview) rather than saying "zurück". */
.cm-navback{ display:inline-flex; align-items:center; justify-content:center;
  flex:none; width:60px; min-height:44px; margin:0; padding:0;
  border:0; border-radius:14px;
  background:rgba(245,241,236,.05);
  box-shadow:inset 0 0 0 1px rgba(245,241,236,.14);
  color:var(--text-primary); cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background-color 200ms var(--patient), box-shadow 200ms var(--patient); }
.cm-navback-i{ display:block; width:19px; height:19px; }
.cm-navback-i svg{ display:block; width:100%; height:100%; }
.cm-navback:hover{ background:rgba(245,241,236,.1);
  box-shadow:inset 0 0 0 1px rgba(245,241,236,.26); }
.cm-navback:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
/* Centred on the back control, not on the text line it used to sit beside:
   -2px is what puts the two centres on the same pixel now that the row is
   44px tall. */
.cm-more{ flex:none; position:relative; width:32px; height:32px; margin:-2px -6px 0 0;
  display:flex; align-items:center; justify-content:center;
  background:none; border:0; border-radius:50%; color:var(--muted);
  cursor:pointer; -webkit-tap-highlight-color:transparent;
  transition:color 200ms var(--patient), background-color 200ms var(--patient); }
/* 32px box, 44px target -- the same way the header's account control reaches
   past its own disc. */
.cm-more::after{ content:''; position:absolute; inset:-6px; }
.cm-more-i, .cm-more-i::before, .cm-more-i::after{ content:''; display:block;
  width:3.5px; height:3.5px; border-radius:50%; background:currentColor; }
.cm-more-i{ position:relative; }
.cm-more-i::before{ position:absolute; left:0; top:-7px; }
.cm-more-i::after{ position:absolute; left:0; top:7px; }
.cm-more:hover{ color:var(--text-primary); background:rgba(245,241,236,.06); }
.cm-more:focus-visible{ outline:2px solid var(--magenta); outline-offset:2px; }

/* THE MENU ITSELF, inside the Community dialog shell: rows, not pills. Each
   one says what it does and what it costs, because a list of verbs with no
   consequences is how people delete things by accident. */
.cm-acts{ display:flex; flex-direction:column; margin-top:var(--s4); }
.cm-act-row{ display:flex; flex-direction:column; gap:3px; width:100%;
  margin:0; padding:14px 0; min-height:44px; text-align:left;
  background:none; border:0; border-top:1px solid rgba(245,241,236,.07);
  font-family:inherit; color:var(--text-primary); cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:color 180ms var(--patient); }
.cm-act-row:last-child{ border-bottom:1px solid rgba(245,241,236,.07); }
.cm-act-l{ font-size:15px; font-weight:600; line-height:1.3; }
.cm-act-n{ font-family:var(--font-c); font-size:12.5px; line-height:1.45;
  color:var(--text-secondary); }
.cm-act-row:hover .cm-act-l{ color:var(--text-primary); }
.cm-act-row:focus-visible{ outline:2px solid var(--magenta); outline-offset:-2px; }
.cm-act-row.is-destructive .cm-act-l{ color:var(--action-destructive); }
.cm-act-row.is-static{ cursor:default; }
.cm-act-row.is-static .cm-act-l{ color:var(--text-secondary); font-weight:500; }
.cf-ack{ display:inline-flex; align-items:center; gap:10px; min-height:44px;
  margin:-9px 0; padding:0; background:none; border:none; font-family:inherit;
  color:var(--muted); text-align:left;
  transition:color 200ms var(--patient); }
button.cf-ack{ cursor:pointer; }
/* PRESS is answered before the network is: the dot compresses under the
   thumb in 90ms, which is what makes the control feel received rather
   than laggy. The confirmation impact is a one-shot animation on top
   (see communityMotion.ack). */
.cf-dot{ width:10px; height:10px; border-radius:50%; flex:none;
  transform-origin:50% 50%;
  border:1.25px solid var(--muted);
  transition:background-color 200ms var(--patient), border-color 200ms var(--patient),
             transform 90ms var(--patient); }
button.cf-ack:active .cf-dot{ transform:scale(.78); transition-duration:70ms; }
/* The count is replaced, not morphed: one number leaves, the next arrives.
   6px and 160ms -- enough to register as "that changed", not enough to
   read as a counter animating. */
@keyframes cfCountIn{ from{ opacity:0; transform:translateY(-5px); } to{ opacity:1; transform:none; } }
.cf-ackt b{ display:inline-block; }
.cf-ackt b.is-new{ animation:cfCountIn 160ms var(--patient); }
.cf-ackt{ font-size:11.5px; line-height:1; }
.cf-ackt b{ font-family:var(--font-d); font-weight:500; font-size:15px;
  font-variant-numeric:tabular-nums; letter-spacing:0.01em; margin-right:5px; }
.cf-ack.is-on{ color:var(--text-secondary); }
.cf-ack.is-on .cf-dot{ background:var(--text-secondary); border-color:var(--text-secondary); }
button.cf-ack:hover{ color:var(--text-secondary); }
.cf-ack:focus-visible{ outline:2px solid var(--magenta); outline-offset:4px; }
/* A member cannot acknowledge their own contribution: the count stays as
   information, with no control and no state dot to imply otherwise. */
.cf-ack-self{ color:var(--muted); }

/* Secondary actions sit below the contribution in rank, as asked. */
/* Contrast fix (cutover): #5C5560 measured ~2.69:1 on the canvas. --muted
   is 5.92:1 there and still reads as the quietest rank in the room. */
.cf-sec{ background:none; border:none; padding:0; font-family:inherit;
  font-size:11.5px; color:var(--muted); cursor:pointer;
  min-height:44px; margin:-9px 0; display:inline-flex; align-items:center;
  transition:color 200ms var(--patient); }
.cf-sec:hover{ color:var(--text-secondary); }
.cf-sec:focus-visible{ outline:2px solid var(--magenta); outline-offset:4px; }
.cf-sec.is-static{ cursor:default; }
.cf-sec.is-static:hover{ color:var(--text-secondary); }
.cf-sec-remove:hover, .cf-sec-remove:focus-visible{ color:var(--action-destructive); }
.cf-state{ font-size:12.5px; line-height:1.5; color:var(--muted); margin:0 0 10px; }
.cf-notice{ font-size:12.5px; line-height:1.5; color:var(--text-secondary);
  margin:0 0 var(--s4); }

/* ---- COMPOSER -------------------------------------------------------
   Pinned to the bottom of the room, ruled rather than boxed, and in its
   collapsed state one line: an invitation, not a second content block
   competing with the conversation. */
.cf-composer{ position:fixed; left:0; right:0; bottom:0; z-index:9;
  padding:18px max(16px, env(safe-area-inset-right))
          calc(66px + max(8px, env(safe-area-inset-bottom)))
          max(16px, env(safe-area-inset-left));
  /* Pixel-based, not percentage: a percentage fade scales with the
     composer's own height, so the expanded state (which is several
     hundred pixels tall) stayed translucent far enough down that the
     conversation read straight through it. A fixed 26px lead-in is
     opaque from the same place in every one of the composer's states. */
  background:linear-gradient(180deg, rgba(15,13,18,0) 0%, var(--canvas) 26px); }
.cf-comp-in{ max-width:640px; margin:0 auto;
  border-top:1px solid var(--hairline); padding-top:13px; }
.cf-composer.is-open .cf-comp-in{ max-height:72vh; overflow-y:auto; }
.cf-invite{ width:100%; display:block; text-align:left; background:none;
  border:none; padding:0; font-family:inherit; cursor:pointer; min-height:56px; }
.cf-invite-t{ display:block; font-family:var(--font-d); font-weight:400;
  font-size:15.5px; line-height:1.2; letter-spacing:0.004em;
  color:var(--text-secondary); transition:color 220ms var(--patient); }
.cf-invite:hover .cf-invite-t{ color:var(--text-primary); }
.cf-invite-s{ display:block; margin-top:4px; font-size:9px; font-weight:600;
  letter-spacing:0.2em; text-transform:uppercase; color:var(--muted); }
.cf-invite:focus-visible{ outline:2px solid var(--magenta); outline-offset:4px; }

.cf-field{ margin:0 0 var(--s4); }
.cf-lbl{ display:block; font-size:9.5px; font-weight:600; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--muted); margin:0 0 8px; }
.cf-choice{ display:flex; flex-wrap:wrap; gap:6px 18px; align-items:baseline; }
.cf-opt{ background:none; border:none; padding:11px 0 12px; margin:-6px 0;
  min-height:44px; font-family:var(--font-d); font-weight:400; font-size:13.5px;
  letter-spacing:0.04em; color:#655E69; cursor:pointer; position:relative;
  transition:color 220ms var(--patient); }
.cf-opt::after{ content:''; position:absolute; left:0; right:100%; bottom:8px;
  height:1px; background:var(--text-secondary); transition:right 300ms var(--patient); }
.cf-opt.is-on{ color:var(--text-primary); font-weight:500; }
.cf-opt.is-on::after{ right:0; }
.cf-opt:hover{ color:var(--text-secondary); }
.cf-opt:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
.cf-hint{ font-size:11.5px; line-height:1.5; color:var(--muted); margin:8px 0 0; }
.cf-input{ width:100%; background:none; border:none;
  border-bottom:1px solid var(--hairline); border-radius:0; padding:9px 0 10px;
  /* 16px, not 15: iOS Safari zooms into any focused field below 16px and
     does not zoom back out after the keyboard closes. */
  color:var(--text-primary); font-family:var(--font-c); font-size:16px; }
.cf-input::placeholder{ color:var(--muted); }
.cf-input:focus{ outline:2px solid var(--magenta); outline-offset:2px;
  border-bottom-color:var(--magenta); }
/* ---- THE WRITING AREA ------------------------------------------------
   Not a form field. The bright magenta outline stacked on a magenta
   underline read as technical validation chrome, and a fixed 66px box
   handed the member an empty rectangle before they had written anything.
   At rest there is no box at all. Focus is answered ATMOSPHERICALLY --
   a faint ground rises behind the words and one quiet baseline appears --
   and saturated magenta stays where it belongs: on Teilen. */
.cf-write{ position:relative; border-radius:10px;
  transition:background-color 260ms var(--patient); }
.cf-write::after{ content:''; position:absolute; left:0; right:0; bottom:0;
  height:1px; background:var(--hairline);
  transform:scaleX(1); transform-origin:left center;
  transition:background-color 260ms var(--patient); }
.cf-write:focus-within{ background:rgba(245,241,236,0.026); }
.cf-write:focus-within::after{ background:var(--text-secondary); }
.cf-text{ display:block; width:100%; background:none; border:none;
  border-radius:0; padding:8px 10px 10px; margin:0;
  color:var(--text-primary); font-family:var(--font-c); font-size:16px;
  line-height:1.55; resize:none; overflow:hidden;
  min-height:2.6em; max-height:32vh;
  transition:height 140ms var(--patient); }
.cf-text::placeholder{ color:var(--muted); }
/* Pointer focus is carried by the tonal ground above; keyboard focus keeps
   a real ring, because an atmospheric cue alone is not a focus indicator
   for someone navigating by Tab. */
.cf-text:focus{ outline:none; }
.cf-text:focus-visible{ outline:2px solid var(--text-secondary); outline-offset:2px; }
.cf-text:disabled{ opacity:0.45; }
.cf-comp-foot{ display:flex; align-items:center; justify-content:space-between;
  gap:var(--s4); margin-top:var(--s3); }
.cf-comp-quiet{ display:flex; align-items:center; gap:18px; }
/* THE one magenta on this screen. */
.cf-share{ flex:none; background:var(--magenta); color:var(--canvas);
  border:none; border-radius:999px; padding:13px 22px; min-height:44px;
  line-height:1.2;
  font-family:var(--font-c); font-size:13.5px; font-weight:600;
  letter-spacing:0.01em; cursor:pointer;
  transition:opacity 220ms var(--patient); }
.cf-share:hover{ opacity:0.9; }
.cf-share:disabled{ opacity:0.5; cursor:default; }
.cf-share:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
/* The guideline gate keeps its existing .compose-box block; inside the
   pinned composer it needs no second surface of its own. */
.cf-comp-in .compose-box{ background:none; padding:0; margin:0; }

/* ---- DISCOVERY ------------------------------------------------------
   The room is a conversation by default. What used to be a permanent
   four-item filter row is now one quiet control; state appears only once
   there IS state, and it appears as a sentence, not as controls. */
.sr-only{ position:absolute; width:1px; height:1px; margin:-1px; padding:0;
  overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }

.cf-bar{ display:flex; align-items:center; gap:var(--s4); flex-wrap:wrap;
  margin:0 0 var(--s4); }
.cf-disc-trigger{ display:inline-flex; align-items:center; gap:8px;
  background:none; border:none; padding:11px 0 12px; margin:-6px 0; min-height:44px;
  font-family:var(--font-c); font-size:12.5px; color:var(--muted); cursor:pointer;
  transition:color 200ms var(--patient); }
.cf-disc-trigger svg{ width:15px; height:15px; flex:none; }
.cf-disc-trigger:hover{ color:var(--text-primary); }
.cf-disc-trigger:focus-visible{ outline:2px solid var(--magenta); outline-offset:4px; }
.cf-bar-state{ flex:1 1 12rem; min-width:0; margin:0; font-size:12px;
  line-height:1.45; color:var(--text-secondary); }
.cf-bar-n{ font-family:var(--font-d); font-weight:500; font-size:14px;
  font-variant-numeric:tabular-nums; color:var(--text-primary); }

.cf-disc{ margin:0 0 var(--s5); }
.cf-disc-search{ display:flex; align-items:center; gap:10px;
  border-bottom:1px solid var(--hairline); padding-bottom:10px; margin-bottom:var(--s4); }
.cf-disc-search svg{ width:17px; height:17px; flex:none; color:var(--muted); }
.cf-search{ flex:1; min-width:0; background:none; border:none; padding:10px 0;
  min-height:44px; color:var(--text-primary); font-family:var(--font-c);
  font-size:16px; }
.cf-search::placeholder{ color:#5C5560; }
.cf-search:focus{ outline:none; }
.cf-disc-search:focus-within{ border-bottom-color:var(--text-secondary); }
/* Tags: quiet words in a soft tonal well, never coloured badges. The one
   selected state is tonal too -- categories may not spend the accent. */
.cf-tagwrap{ display:flex; flex-wrap:wrap; gap:8px; }
.cf-tag{ background:rgba(245,241,236,.035); border:none; border-radius:999px;
  padding:10px 14px; min-height:44px; font-family:var(--font-c); font-size:12.5px;
  color:var(--text-secondary); cursor:pointer;
  transition:background-color 200ms var(--patient), color 200ms var(--patient); }
.cf-tag:hover{ background:rgba(245,241,236,.065); color:var(--text-primary); }
.cf-tag:active{ transform:scale(.97); }
.cf-tag{ transition:background-color 200ms var(--patient), color 200ms var(--patient),
                    transform 90ms var(--patient); }
/* SELECTED IS UNMISTAKABLE — through tone, weight and a light edge, never
   through a colour of its own. Eight accent colours would be eight new
   accents; this is one system used harder. */
.cf-tag.is-on{ background:rgba(245,241,236,.145); color:var(--text-primary);
  font-weight:600; box-shadow:inset 0 0 0 1px rgba(245,241,236,.16); }
.cf-tag.is-on:hover{ background:rgba(245,241,236,.175); }
/* At the ceiling the unselected ones recede rather than lying about being
   available. */
.cf-tag.is-full{ opacity:.45; }
.cf-tag:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }

/* Tags on a contribution: words inside the existing meta line. */
/* 44px hit area without 44px of visual weight -- the same negative-margin
   pattern the rest of this product uses. A tag word is 14px tall on the
   line; the tappable box around it is not (Constitution 5.1). */
.cf-mtag{ background:none; border:none; padding:0; font-family:inherit;
  display:inline-flex; align-items:center; min-height:44px; margin:-15px 0;
  font-size:11.5px; color:var(--muted); cursor:pointer; text-decoration:underline;
  text-decoration-color:transparent; text-underline-offset:3px;
  transition:color 180ms var(--patient), text-decoration-color 180ms var(--patient); }
.cf-mtag:hover{ color:var(--text-secondary); text-decoration-color:currentColor; }
.cf-mtag:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
.cf-sep{ font-size:11.5px; color:#4E4853; }

.cf-more{ display:block; width:100%; margin:var(--s5) 0 0; background:none;
  border:none; padding:14px 0; min-height:48px; font-family:var(--font-d);
  font-weight:400; font-size:13px; letter-spacing:.05em; text-transform:uppercase;
  color:var(--muted); cursor:pointer; transition:color 200ms var(--patient); }
.cf-more:hover{ color:var(--text-primary); }
.cf-more:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
/* EMPTY STATES. A room with nothing in it yet should still feel like a room:
   the sentence keeps the display face, and it stands in its own space with a
   quiet rule above it rather than floating against the page. */
.cf-empty{ padding:var(--s6) 0 var(--s7); margin-top:var(--s4);
  border-top:1px solid rgba(245,241,236,.055); }
.cf-empty-l{ font-family:var(--font-d); font-weight:400; font-size:19px;
  line-height:1.3; color:var(--text-secondary); margin:0 0 8px; }
/* The quiet second line: what the emptiness means, or what ends it. Its own
   conversation gets the sentence that used to sit in the header. */
.cf-empty-s{ font-family:var(--font-c); font-size:12.5px; line-height:1.5;
  color:var(--muted); margin:0; max-width:30em; }
.cf-empty-own .cf-empty-l{ color:var(--text-primary); }

/* ---- COMPOSER META LINE ---------------------------------------------
   Three words where seven fields used to be. Each opens exactly one row
   beneath it; only one is ever open. */
/* ---- METADATA CONTROLS ----------------------------------------------
   Editorial, not pills. Three signals do the work: display type (this is
   not prose), a faint permanent underline (this line is a control), and a
   caret where a list opens. A tonal ground appears only while one is
   open, so at rest the line still weighs almost nothing. */
.cf-metabar{ display:flex; align-items:center; gap:4px; flex-wrap:wrap;
  margin-top:12px; }
.cf-ctl{ position:relative; display:inline-flex; align-items:center; gap:6px;
  background:none; border:none; cursor:pointer;
  padding:9px 8px 10px; margin:-5px 0; min-height:44px; border-radius:7px;
  font-family:var(--font-d); font-weight:400; font-size:13.5px;
  letter-spacing:0.03em; color:var(--text-secondary);
  transition:color 200ms var(--patient), background-color 220ms var(--patient); }
.cf-ctl-t{ position:relative; }
.cf-ctl-t::after{ content:''; position:absolute; left:0; right:0; bottom:-3px;
  height:1px; background:rgba(245,241,236,0.20);
  transition:background-color 220ms var(--patient); }
.cf-ctl.is-empty{ color:var(--muted); }
.cf-ctl:hover{ color:var(--text-primary); background:rgba(245,241,236,0.035); }
.cf-ctl:hover .cf-ctl-t::after{ background:rgba(245,241,236,0.42); }
.cf-ctl.is-open{ color:var(--text-primary); background:rgba(245,241,236,0.055); }
.cf-ctl.is-open .cf-ctl-t::after{ background:var(--text-secondary); }
.cf-ctl:focus-visible{ outline:2px solid var(--magenta); outline-offset:2px; }
.cf-caret{ width:0; height:0; flex:none; margin-top:1px;
  border-left:3.5px solid transparent; border-right:3.5px solid transparent;
  border-top:4px solid currentColor; opacity:.55;
  transition:transform 240ms var(--patient), opacity 200ms var(--patient); }
.cf-ctl.is-open .cf-caret{ transform:rotate(180deg); opacity:.9; }
/* The discovery layer's secondary filter keeps the old chip treatment. */
.cf-chip{ background:none; border:none; padding:10px 0 11px; margin:-6px 0;
  min-height:44px; font-family:var(--font-c); font-size:11.5px;
  color:var(--muted); cursor:pointer; position:relative;
  transition:color 200ms var(--patient); }
.cf-chip.is-set{ color:var(--text-secondary); }
.cf-chip.is-open{ color:var(--text-primary); }
.cf-chip::after{ content:''; position:absolute; left:0; right:100%; bottom:8px;
  height:1px; background:var(--text-secondary); transition:right 280ms var(--patient); }
.cf-chip.is-open::after{ right:0; }
.cf-chip:hover{ color:var(--text-primary); }
.cf-chip:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
.cf-panel{ margin-top:var(--s3); padding-top:var(--s3);
  border-top:1px solid rgba(245,241,236,.05); }

/* ---- TABLET --------------------------------------------------------- */
@media (min-width:641px){
  .cf-post.cf-own{ margin-left:48px; }
  .cf-sig{ width:176px; height:176px; }
  .cf-search{ font-size:15px; }
  .cf-bubble{ max-width:min(100%, 32rem); }
}

/* ---- DESKTOP --------------------------------------------------------
   The conversation stays deliberately narrow -- Konto's own measure --
   and the whitespace that opens on the right is not leftover space: it
   is where the Signal lives. No second content column is introduced to
   fill it. The composer stops being pinned and becomes the last act of
   the column. */
@media (min-width:1024px){
  .cf-head, .cf-topics, .cf-feed, .cf-composer .cf-comp-in{ max-width:35rem; }
  .cf-head, .cf-topics, .cf-feed{ margin-left:0; }
  .cf-title{ font-size:clamp(34px, 3.4vw, 44px); max-width:14em; }
  .cf-post.cf-own{ margin-left:96px; }
  /* Content-sized on desktop too: a 30rem ceiling inside a 35rem column
     means even the longest contribution leaves the column breathing. */
  /* 27rem inside a 35rem column: every contribution keeps a right margin,
     and a shorter one is visibly shorter rather than one of three widths. */
  .cf-bubble{ max-width:min(100%, 27rem); }
  .cf-feed::before{ inset:-18px -300px -28px -20px;
    background:
      radial-gradient(52% 56% at 76% 52%, rgba(226,25,181,0.075) 0%, rgba(226,25,181,0) 74%),
      radial-gradient(44% 32% at 12% 10%, rgba(214,198,226,0.026) 0%, rgba(214,198,226,0) 74%); }
  /* Left edge clear of the conversation column: the mark is never behind
     contribution text, and never a logo parked beside the feed. */
  .cf-sig{ width:250px; height:250px; top:300px; right:auto;
    left:calc(35rem + 3.5rem); }
  .cf-room{ padding-bottom:0; }
  .cf-bar, .cf-disc{ max-width:35rem; }
  .cf-composer{ position:static; padding:0; background:none;
    margin-top:var(--s6); }
  .cf-composer .cf-comp-in{ margin:0; }
  .cf-composer.is-open .cf-comp-in{ max-height:none; overflow:visible; }
}

.feed-item .btn-remove-post{ color:var(--text-disabled); }
.feed-item .btn-remove-post:hover,
.feed-item .btn-remove-post:focus-visible{ color:var(--action-destructive); }

/* Shared editorial body type. Used by the Story Article and, unchanged since
   Sprint 16, by the legal and community-guideline screens on the dark ground
   (.background-body is read by 50+ call sites in app.js) -- it is deliberately
   NOT Story-only and is kept here verbatim. */
.background-body{ font-size:16.5px; line-height:1.9; color:var(--text-body); margin-bottom:36px; max-width:56ch; }
.background-closing{ margin-top:32px; font-size:12.5px; color:var(--muted); font-style:italic; }


/* ======================================================================
   STORY V1 -- one editorial environment for Hub and Article.

   Environment, not a new palette: #F4EEE0 is the Reader's existing paper
   (--editorial-paper, Constitution). Story gives that material more spatial
   responsibility -- it is the ground of the whole screen at every width, not
   a panel floating on the dark canvas. It stays an environmental material:
   never an accent, never a CTA, never a status colour, never used outside
   Story.

   Tokens are rescoped once on .story (--text-primary, --text-body, --muted,
   --hairline, --magenta), so every shared component that lands here --
   .bt-detail-back, .btn-quiet, .background-body -- re-themes with no
   per-rule duplication. Inside the Reader --magenta IS editorial ink; the
   Hub's single deliberate accent restores the brand value explicitly, once
   (.story-feature-action). Constitution 2.3: one accent, one job, once per
   screen.

   No cards: entries are type, whitespace and hairlines on the paper. No
   numerals, no act markers, no per-entry arrows, no Signal.
   ====================================================================== */

/* The ground. .app-content-reader is set by render() only when
   state.screen === 'background', so this belongs to Story alone. The
   two-class selector wins over .app-content's own padding in every
   breakpoint regime without !important. */
.app-body .app-content-reader{ background:var(--editorial-paper); padding:0; }

.story{
  --story-ink-line:rgba(34,30,26,0.16);
  /* Story's surfaces are the paper lifted toward the light, never a second
     beige and never a white box: one material, two states. */
  --story-surface:#F9F4E8;
  --story-surface-lit:#FCF8F0;
  /* The featured frame: one square at every width. The square concentrates
     the image on the person -- face, upper body, gesture -- instead of
     documenting the room, and it behaves identically on 390 and 1440, so a
     photograph is judged once. The zoom tightens that square around the
     focal point; the file itself is never cut. */
  --story-feature-ratio:1/1;
  --story-feature-zoom:1.3;
  background:var(--editorial-paper);
  --text-primary:var(--editorial-ink);
  --text-body:var(--editorial-ink-secondary);
  --muted:#7A7064;
  --hairline:var(--editorial-divider);
  --magenta:var(--editorial-ink);
  color:var(--editorial-ink);
  min-height:100%;
  padding:18px max(20px, env(safe-area-inset-right)) var(--mobile-safe-bottom) max(20px, env(safe-area-inset-left));
}
/* --mobile-safe-bottom (190px) reserves room for the bottom navigation. A
   signed-out visitor arriving from the public homepage has no bottom nav, so
   that clearance was 190px of empty paper -- unnoticeable on the dark canvas,
   very visible now that paper is the ground. Same :has() idiom the welcome
   screen already uses for the same reason. Safe-area inset preserved. */
body:not(:has(.app-bottomnav)) .story{ padding-bottom:max(56px, env(safe-area-inset-bottom)); }
.story-inner{ max-width:1080px; margin:0 auto; }
/* The shared back control, given an explicit box here. Its icon is an
   unsized <svg> (viewBox only), so in a plain block it expands to the column
   -- the same defect .essen/.wt already correct on their own screens. Scoped
   to Story for the same reason they scoped theirs: Recipe Detail and the
   Guidelines use this class too and are not part of this slice. */
.story .bt-detail-back{ display:inline-flex; align-items:center; gap:7px; min-height:44px;
  padding:0; margin:0 0 16px; }
.story .bt-detail-back svg{ flex:none; width:17px; height:17px; }

/* ---- the hero: statement · photograph · featured Story ----
   One composition. On mobile it is one vertical rhythm; at desktop the
   photograph becomes the hinge between the editorial statement (left) and the
   Story it opens (right). Deliberately not three equal columns. */
.story-hero{ margin:0 0 6px; }

/* ---- masthead ---- */
.story-mast{ padding-top:8px; margin:0 0 16px; }
.story-eyebrow{ font-family:var(--font-c); font-size:11px; font-weight:700; letter-spacing:0.22em;
  text-transform:uppercase; color:var(--muted); margin:0 0 14px; }
.story-mast-title{ font-size:clamp(26px,7.2vw,34px); line-height:1.06; max-width:18ch; margin:0;
  color:var(--text-primary); }
.story-mast-intro{ font-family:var(--font-c); font-size:16px; line-height:1.6; color:var(--text-body);
  margin:14px 0 0; max-width:42ch; }

/* ---- the image slot ----
   One component for every Story image. With a real file it is the photograph;
   without one it is an intentional editorial area with print crop marks -- it
   shows the composition the future photograph will occupy and never pretends
   to be that photograph. */
/* A photograph, not a media container: no border, no card, no surrounding
   box, no tonal field behind it -- only the crop. The tinted field belongs to
   the empty state alone. The single restrained radius is the same softening
   the Product's own objects use (Start's doorway, Konto's entries), so the
   image belongs to CRVD's surfaces instead of sitting on top of them. */
.story-fig{ display:block; position:relative; overflow:hidden; }
.story-fig-img{ display:block; width:100%; height:100%; object-fit:cover; }
/* Landscape, not portrait: an editorial photograph in a composition, never an
   avatar, headshot module or profile card. 5:4 rather than 4:3 after the first
   real photograph: a portrait source needs the slightly taller frame to keep
   headroom, the gesture and the room around the subject in one image without
   turning the Hub into a portrait. One frame at every width -- cover means the
   crop is identical on 390 and 1440, so a photo is judged once. */
.story-fig--feature{ aspect-ratio:var(--story-feature-ratio); border-radius:14px; }
/* Presentation-only magnification around the image's own focal point (set
   per image, see storyImage()). This is what makes the square concentrate on
   the person: everything outside it -- ceiling, scaffolding, oven, the person
   in the foreground -- simply falls outside the frame. The file is untouched. */
.story-fig--feature .story-fig-img{ transform:scale(var(--story-feature-zoom,1)); }
.story-fig--hero, .story-fig--inline{ aspect-ratio:3/2; border-radius:14px; }
.story-fig.is-empty{ background:linear-gradient(176deg,#EFE7D6 0%,#E7DECB 100%); }
.story-fig.is-empty::before{ content:''; position:absolute; inset:14px; pointer-events:none;
  background:
    linear-gradient(var(--story-ink-line),var(--story-ink-line)) left    top/18px 1px no-repeat,
    linear-gradient(var(--story-ink-line),var(--story-ink-line)) left    top/1px 18px no-repeat,
    linear-gradient(var(--story-ink-line),var(--story-ink-line)) right   top/18px 1px no-repeat,
    linear-gradient(var(--story-ink-line),var(--story-ink-line)) right   top/1px 18px no-repeat,
    linear-gradient(var(--story-ink-line),var(--story-ink-line)) left  bottom/18px 1px no-repeat,
    linear-gradient(var(--story-ink-line),var(--story-ink-line)) left  bottom/1px 18px no-repeat,
    linear-gradient(var(--story-ink-line),var(--story-ink-line)) right bottom/18px 1px no-repeat,
    linear-gradient(var(--story-ink-line),var(--story-ink-line)) right bottom/1px 18px no-repeat; }
.story-fig-note{ position:absolute; left:28px; bottom:24px; font-family:var(--font-c); font-size:10.5px;
  font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:rgba(34,30,26,0.42); }

/* ---- the control ----
   The heading carries the button and the button stretches across its entry,
   so the whole area is tappable while the document outline stays real
   headings. Focus draws around the entry, not around the words. */
.story-open{ display:inline; background:none; border:0; margin:0; padding:0; font:inherit; color:inherit;
  letter-spacing:inherit; text-transform:inherit; text-align:left; cursor:pointer;
  transition:color 140ms var(--patient); }
.story-open::after{ content:''; position:absolute; inset:0; }
.story-open:focus-visible{ outline:2px solid var(--editorial-ink); outline-offset:4px; }
.story-feature:has(.story-open:focus-visible){ outline:2px solid var(--editorial-ink); outline-offset:8px; }
/* the entry now has its own edge, so the ring hugs the surface instead of
   floating away from it */
.story-entry:has(.story-open:focus-visible){ outline:2px solid var(--editorial-ink); outline-offset:4px; }
.story-feature:has(.story-open:focus-visible) .story-open:focus-visible,
.story-entry:has(.story-open:focus-visible) .story-open:focus-visible{ outline:none; }

.story-label{ font-family:var(--font-c); font-size:10.5px; font-weight:700; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--muted); margin:0 0 10px; }

/* ---- featured Story ---- */
.story-feature{ position:relative; margin:0 0 54px; }
.story-feature-media{ margin:0 0 16px; }
.story-feature-title{ margin:0; font-size:clamp(34px,9.6vw,46px); line-height:0.98; }
.story-feature-teaser{ font-family:var(--font-c); font-size:16.5px; line-height:1.6; color:var(--text-body);
  margin:14px 0 0; max-width:40ch; }
/* The one deliberate accent on this screen. */
.story-feature-action{ display:inline-block; margin:20px 0 0; padding-bottom:5px; font-family:var(--font-c);
  font-size:12px; font-weight:700; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--magenta-brand); border-bottom:1.5px solid var(--magenta-brand); }

/* ---- the collection: editorial surfaces on paper ----
   The same grammar the Product uses elsewhere (GROUND / SURFACE / LIGHT /
   EDGE / MOTION), spoken in paper instead of in the dark canvas:

   GROUND   the paper the whole screen sits on stays continuous -- no entry
            is a box drawn ON the page, each is a lighter sheet lying on it.
   SURFACE  one tonal lift out of --editorial-paper itself (no second beige,
            no white box): #F9F4E8, about 2% lighter than the ground.
   LIGHT    one warm radial from the top-left corner, transparent long before
            any edge -- the room's light falling on a sheet, not a gradient
            fill.
   EDGE     a single lit top edge, the paper equivalent of the 1px highlight
            Start's objects carry. No outline, no drop shadow, no ring.
   MOTION   only in answer to touch: the sheet lightens, its edge brightens,
            the title goes to full ink, and a press settles it by 0.5%.

   Typography still leads: the surface is a quiet material under it, which is
   what keeps this an editorial page rather than four UI cards. */
.story-section-label{ font-family:var(--font-c); font-size:10.5px; font-weight:700; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--muted); margin:0 0 14px; padding-top:26px;
  border-top:1px solid var(--hairline); }
.story-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.story-entry{ position:relative; isolation:isolate; padding:22px 20px 24px; border-radius:14px;
  background:
    radial-gradient(118% 92% at 0% 0%, rgba(255,251,240,0.9) 0%, rgba(255,251,240,0) 58%),
    var(--story-surface);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.72);
  transition:background-color 260ms var(--patient), box-shadow 260ms var(--patient),
    transform 200ms var(--patient); }
.story-entry-title{ margin:0; font-size:clamp(22px,5.8vw,27px); line-height:1.08; }
.story-entry-teaser{ font-family:var(--font-c); font-size:15px; line-height:1.55; color:var(--text-body);
  margin:11px 0 0; max-width:46ch; }
@media (hover:hover){
  /* the sheet answers the hand: tone, edge, ink -- no underline, no arrow,
     no second accent */
  .story-entry:hover{ background-color:var(--story-surface-lit);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.95); }
  .story-entry:hover .story-open{ color:#0F0D0B; }
  .story-feature:hover .story-feature-action{ background:var(--magenta-brand); color:var(--editorial-paper);
    padding-left:6px; padding-right:6px; }
}
.story-entry:has(.story-open:active){ transform:scale(0.995); }
.story-feature-action{ transition:background-color 160ms var(--patient), color 160ms var(--patient); }

.story-closing{ font-family:var(--font-c); font-size:13.5px; line-height:1.5; color:var(--muted);
  margin:48px 0 0; padding-top:22px; border-top:1px solid var(--hairline); }
.story-closing::before{ content:'— '; }

/* ---- Story Article: the Reader ----
   The Hub is discovery, the Article is reading, so the Article gets quieter
   rather than more decorated: the same paper, the same ink, the same
   .background-body at 16.5px/1.9 -- and none of the Hub's surfaces. Hierarchy
   comes from type, space, imagery and rhythm.

   The column is a three-track grid (margin · measure · margin) instead of a
   centred box: every block sits in the measure, and an image that wants more
   room simply takes the outer tracks. At 390 the outer tracks are zero, so
   the same rule produces a single column with no breakout and no overflow. */
.story-read{ display:grid; grid-template-columns:1fr min(640px, 100%) 1fr; max-width:1080px;
  margin:0 auto; padding-top:6px; }
.story-read > *{ grid-column:2; }

/* the opening: where you are, which Story, then reading begins */
.story-read-head{ margin:0 0 34px; }
.story-article-title{ font-size:clamp(30px,8.4vw,40px); line-height:1.02; margin:0; max-width:17ch;
  color:var(--text-primary); }
.story-lead{ font-family:var(--font-c); font-size:clamp(17.5px,4.6vw,19px); line-height:1.6;
  color:var(--text-primary); margin:20px 0 0; max-width:44ch; }

/* body rhythm -- scoped to the Reader so the legal and guideline screens,
   which share .background-body, keep the spacing they were designed with */
.story-read .background-body{ margin-bottom:28px; }
/* Consecutive paragraphs sit about half a line apart (line-height 1.9 x 16.5px
   = 31px; gap 28px - 14px = 14px), so a longform Story reads as one article
   while each paragraph stays plainly separate. The Reader is a grid, whose
   items do not collapse margins, so the tightening is applied only BETWEEN two
   paragraphs: the space before an H2, quote, image or the footer keeps its
   28px + own margin exactly as designed. */
.story-read .background-body + .background-body{ margin-top:-14px; }
.story-read .background-body:last-of-type{ margin-bottom:0; }

/* A section heading is a pause, not a new screen: a short editorial rule, a
   step up in scale, and space that binds it to the text it introduces. */
.story-h2{ font-size:clamp(18px,4.4vw,21px); line-height:1.16; margin:52px 0 18px;
  color:var(--text-primary); max-width:36ch; }
.story-h2::before{ content:''; display:block; width:34px; height:1px; margin:0 0 20px;
  background:var(--story-ink-line); }

/* A pull quote interrupts on purpose: scale and space carry it, so it needs
   no bar, no quotation marks, no card -- and no accent colour. */
.story-quote{ margin:46px 0; }
.story-quote p{ font-family:var(--font-c); font-style:italic; font-size:clamp(20px,5.2vw,24px);
  line-height:1.4; color:var(--text-primary); margin:0; max-width:30ch; }

.story-figure{ margin:38px 0; }
.story-figure--hero{ margin:0 0 38px; }
.story-fig-cap{ font-family:var(--font-c); font-size:12.5px; line-height:1.5; color:var(--muted);
  margin:10px 0 0; max-width:46ch; }

/* the continuation */
.story-foot{ margin-top:54px; padding-top:26px; border-top:1px solid var(--hairline); }
.story-next{ display:block; width:100%; padding:6px 0 4px; background:none; border:0; text-align:left;
  color:inherit; cursor:pointer; }
.story-next-k{ display:block; font-family:var(--font-c); font-size:10.5px; font-weight:700;
  letter-spacing:0.2em; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.story-next-t{ display:block; font-family:var(--font-d); text-transform:uppercase;
  font-size:clamp(22px,5.6vw,26px); line-height:1.08; color:var(--text-primary);
  transition:color 140ms var(--patient); }
@media (hover:hover){ .story-next:hover .story-next-t{ color:#0F0D0B; } }
.story-next:focus-visible{ outline:2px solid var(--editorial-ink); outline-offset:6px; }
.story-end-back{ margin:0; }
/* STORY 05 ONLY -- one quiet transition into PL8 after the article. Generous
   space above so the article's last line still ends the story; type only (no
   card, no fill, no accent colour): a short headline, one line, one action. */
.story-pl8{ margin-top:88px; }
.story-pl8-h{ font-family:var(--font-d); font-size:clamp(20px,5vw,23px); line-height:1.15; color:var(--text-primary); margin:0; }
.story-pl8-p{ font-family:var(--font-c); font-size:15px; line-height:1.55; color:var(--text-body); margin:8px 0 0; }
.story-pl8-act{ display:inline-flex; align-items:center; min-height:44px; margin:10px 0 0; padding:0; background:none; border:0;
  border-bottom:1px solid var(--story-ink-line); font-family:var(--font-c); font-size:11px; font-weight:700; letter-spacing:.2em;
  text-transform:uppercase; color:var(--text-primary); cursor:pointer; }
.story-pl8-act:focus-visible{ outline:2px solid var(--editorial-ink); outline-offset:6px; }

/* ---- 1440: an editorial composition, not the mobile column stretched ---- */
@media (min-width:1024px){
  .story{ padding:36px 56px 88px; }
  /* statement | (photograph · featured Story). The outer split is deliberately
     uneven -- the statement is the quieter half -- and the photograph sits
     between the two headlines, carrying the composition. */
  /* The square is shorter than the upright frame it replaces, so the image
     column widens slightly to keep the photograph anchoring the composition.
     Proportions only -- the composition itself is unchanged. */
  .story-hero{ display:grid; grid-template-columns:minmax(0,0.85fr) minmax(0,2.37fr); column-gap:64px;
    align-items:center; padding-top:18px; margin-bottom:76px; }
  .story-mast{ padding:0; margin:0; }
  .story-eyebrow{ margin-bottom:16px; }
  .story-mast-title{ font-size:clamp(30px,2.6vw,38px); line-height:1.04; max-width:13ch; }
  .story-mast-intro{ margin:16px 0 0; font-size:16.5px; max-width:34ch; }
  .story-feature{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); column-gap:56px;
    align-items:center; margin:0; }
  .story-feature-media{ margin:0; }
  /* Related, not competing: the featured Story is the larger voice, the
     editorial statement the environment around it. */
  .story-feature-title{ font-size:clamp(36px,3.1vw,46px); }
  .story-feature-teaser{ font-size:17px; margin-top:15px; }
  .story-section-label{ margin-bottom:20px; }
  /* Two columns, but not a 2x2 grid: the right column steps down, so the four
     surfaces read as an editorial sequence rather than four aligned modules.
     Each sheet also stops short of its column, which keeps the paper ground
     visible between and around them. */
  .story-list{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:44px; row-gap:40px; }
  .story-entry{ padding:30px 32px 34px; max-width:470px; }
  .story-entry:nth-child(2n){ margin-top:64px; }
  .story-entry:nth-child(2n+1){ justify-self:start; }
  .story-entry:nth-child(2n){ justify-self:end; }
  .story-entry-title{ font-size:clamp(26px,2.1vw,31px); }
  .story-entry-teaser{ font-size:15.5px; }
  .story-closing{ margin-top:64px; }
  /* Reading measure stays constrained -- the extra width becomes breathing
     room, an opening composition and room for imagery, never longer lines. */
  .story-read{ grid-template-columns:1fr min(640px, 100%) 1fr; padding-top:18px; }
  .story-read-head{ margin-bottom:44px; }
  .story-article-title{ font-size:clamp(36px,3.2vw,46px); }
  .story-lead{ margin-top:22px; font-size:19px; }
  .story-h2{ margin:60px 0 20px; }
  .story-quote{ margin:56px 0; }
  /* One editorial offset: the quote steps out of the measure into the left
     margin instead of being decorated. */
  .story-quote{ grid-column:1 / 3; justify-self:end; width:min(720px, 100%); }
  .story-quote p{ max-width:26ch; }
  /* Imagery may take the outer tracks; text never does. */
  .story-figure--hero, .story-figure--wide{ grid-column:1 / -1; justify-self:center;
    width:min(820px, 100%); }
  .story-foot{ margin-top:64px; }
}

/* ---- motion: arrival only, never ambient ---- */
@keyframes story-rise{ from{ opacity:0; transform:translateY(9px); } to{ opacity:1; transform:none; } }
@keyframes story-reveal{ from{ opacity:0; transform:scale(1.012); } to{ opacity:1; transform:none; } }
.story-hub .story-eyebrow{ animation:story-rise 460ms var(--patient) 40ms both; }
.story-hub .story-mast-title{ animation:story-rise 520ms var(--patient) 100ms both; }
.story-hub .story-mast-intro{ animation:story-rise 520ms var(--patient) 160ms both; }
.story-hub .story-feature-media{ animation:story-reveal 700ms var(--patient) 200ms both; }
/* The Reader settles once, at the opening only, and is then still: nothing
   animates while reading, and no image or paragraph waits for a scroll. */
.story-article .story-read-head > *{ animation:story-rise 420ms var(--patient) both; }
.story-article .story-label{ animation-delay:60ms; }
.story-article .story-article-title{ animation-delay:110ms; }
.story-article .story-lead{ animation-delay:160ms; }
@media (prefers-reduced-motion: reduce){
  .story-hub .story-eyebrow,
  .story-hub .story-mast-title,
  .story-hub .story-mast-intro,
  .story-hub .story-feature-media,
  .story-article .story-read-head > *{ animation:none; }
  /* The surfaces keep their material (tone, light, edge) -- only the movement
     goes: no transition, no press travel. Hierarchy never depended on it. */
  .story-open, .story-feature-action, .story-entry{ transition:none; }
  .story-entry:has(.story-open:active){ transform:none; }
}


/* PACE (bodytype) */
.bt-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
.bt-card{ background:var(--surface); border:1px solid var(--hairline); border-radius:var(--radius); padding:var(--s5); text-align:left; cursor:pointer; }
.bt-card:hover{ border-color:var(--border-strong); }
.bt-card.selected{ border-color:var(--magenta); background:var(--surface-premium); }
.bt-card h3{ font-size:19px; margin:6px 0 8px; }
.bt-card p{ font-size:14px; color:var(--text-body); line-height:1.55; }
.bt-detail-back{ background:none; border:none; color:var(--muted); font-size:13px; cursor:pointer; margin-bottom:var(--s4); padding:6px 0; }
.bt-trait{ margin-bottom:var(--s5); }
/* Sprint 18.2 -- trait labels are ordinary informational text (Mindset,
   Stärken, Herausforderungen), not an action -- moved off magenta onto the
   same quiet kicker treatment used everywhere else. */
.bt-trait h4{ font-size:13px; color:var(--muted); letter-spacing:0.14em; text-transform:uppercase; margin-bottom:6px; }
.bt-trait p{ font-size:14.5px; line-height:1.6; color:var(--text-body); }

/* premium */
.pl8-hero{ text-align:center; padding:var(--s6) 0; }
.pl8-hero h1{ font-size:clamp(28px,6vw,42px); margin:10px 0; }
.pl8-feature-list{ display:grid; grid-template-columns:1fr; gap:12px; margin:var(--s6) 0; text-align:left; }
.pl8-feature{ display:flex; gap:12px; align-items:flex-start; }
.pl8-feature svg{ flex-shrink:0; width:20px; height:20px; color:var(--magenta); margin-top:2px; }
.pl8-feature h4{ font-size:14.5px; margin-bottom:4px; }
.pl8-feature p{ font-size:13.5px; color:var(--text-body); line-height:1.5; }
.pl8-price-card{ background:var(--surface-premium); border:1px solid var(--border-premium); border-radius:var(--radius); padding:var(--s6); text-align:center; }

.ai-tabs{ display:flex; gap:8px; margin-bottom:var(--s5); border-bottom:1px solid var(--hairline); }
.ai-tabs button{ background:none; border:none; color:var(--muted); font-size:13.5px; font-weight:600; padding:10px 4px; margin-right:16px; cursor:pointer; border-bottom:2px solid transparent; }
.ai-tabs button.active{ color:var(--text-primary); border-bottom-color:var(--magenta); }
.ai-callout{ background:var(--surface-premium); border:1px solid var(--border-premium); border-radius:var(--radius); padding:var(--s5); margin-bottom:var(--s5); }
.ai-callout p{ font-size:13.5px; color:var(--text-body); line-height:1.55; }
.shopping-list{ list-style:none; margin:0; padding:0; }
.shopping-list li{ display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid var(--hairline); font-size:14px; }
.shopping-list input{ width:16px; height:16px; }
.mealplan-day{ display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--hairline); font-size:14px; }
.mealplan-day .d{ color:var(--text-secondary); width:80px; flex-shrink:0; }

/* account */
.account-row{ display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid var(--hairline); font-size:14.5px; gap:var(--s4); }
.account-row .v{ color:var(--text-secondary); font-size:13.5px; }
/* This specific row's value is now a full situation sentence rather than a
   short type name (Legacy Personalization Decoupling, Phase 2) -- let it
   wrap and right-align instead of forcing a single line. A dedicated class
   keeps this scoped to that one row; every other .account-row (short
   values like "Mitgliedschaft") keeps the default single-line vertical
   centering untouched. */
.account-row-wrap{ align-items:flex-start; }
.account-row-wrap .v{ text-align:right; max-width:60%; line-height:1.45; }

/* ---------------------------------------------------------------------- *
 * ACCOUNT PERSONALIZATION -- Slice 1
 *
 * The personal state surface. Deliberately NOT a card in the conventional
 * sense: no fill, no border, no radius, no shadow. A near-black tonal lift
 * that emerges from the page ground, closed by a single hairline. Reuses
 * existing tokens throughout -- no new colour is introduced by this feature.
 * ---------------------------------------------------------------------- */
/* ONE GRID. The card previously bled ±24px past every other divider via
   negative margins, so its bottom hairline sat 48px wider than the receipt's
   and the section rules -- measured 146→1294 against 170→1270. It now shares
   the content column exactly, so every line on the screen starts and ends on
   the same two edges. */
/* VISUAL PASS -- the identity plate no longer ENDS, it DISSOLVES. The ground
   moved onto its own layer so that layer can be masked away toward the bottom,
   which lets the closing hairline go entirely: the surface fades into the
   canvas instead of being ruled off it. One less horizontal band, and the
   difference between a composed plate and a boxed card. */
/* overflow:hidden is gone with the crop it used to disguise: the Signal is a
   complete symbol sitting inside the plate now, so nothing needs clipping --
   and clipping is what forced the ground to stop on a hard vertical edge. */
.acct-card{ position:relative;
  margin:0 0 var(--s7);
  padding:var(--s6) 0 var(--s8); }
/* NO RECTANGLE. Two soft radials that are already transparent at every edge,
   so the plate has no border, no corner and nothing to read as a container --
   it is light in a room, not a card on a page. The magenta bloom is anchored
   where the Signal actually sits, which is what makes the mark look like the
   source of it rather than an object placed on top of it. */
.acct-card::after{ content:''; position:absolute; inset:0 -16px; z-index:0;
  pointer-events:none;
  background:
    radial-gradient(84% 52% at 74% 76%, rgba(226,25,181,0.15) 0%, rgba(226,25,181,0) 70%),
    radial-gradient(78% 46% at 34% 22%, rgba(214,198,226,0.055) 0%, rgba(214,198,226,0) 72%);
  /* Fades at top and bottom so the light has no beginning and no end. With
     the horizontal bleed above, the plate meets the canvas on all four sides
     without a single edge -- there is no rectangle left to read as a card. */
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 16%, #000 76%, transparent 100%);
  mask-image:linear-gradient(180deg, transparent 0%, #000 16%, #000 76%, transparent 100%); }
.acct-card > *{ position:relative; z-index:2; }
/* MEASURE. The approved pitch was composed at ~390px. Applied to a 1100px
   container the type sprawled and the tonal ground spread to invisibility,
   which is what read as "flat". Constraining the copy restores the pitch's
   proportions on every viewport and leaves the right of the card as
   deliberate negative space for the Signal to occupy. */
.acct-card-inner{ position:relative; z-index:2; max-width:34rem; }

/* THE SIGNAL -- membership, never identity (Design Constitution §1.2,
   hierarchy rule LOCKED). One instance, cropped, bleeding off the right edge,
   radial-masked so it fades at its own edges, behind all content, and never
   in a CTA's visual field. Arrives AFTER the content, which is what keeps it
   atmospheric rather than structural. */
/* THE SIGNAL. Previously 45% of it sat outside the card and was destroyed by
   overflow:hidden at the far edge of an 1100px container -- it read as
   accidentally clipped, which is exactly what it was. Now sized to the card's
   own height and placed so roughly three quarters of the arc is on-surface:
   a composed fragment that leaves the frame on purpose (§5.1), occupying the
   negative space the measure constraint opens up on its right. Opacity stays
   at the specified .115. */
/* THE SIGNAL, CORRECTED (Founder direction 5). It was 420px and deliberately
   bled off the right edge; even at 86% on-surface it read as a symbol that
   had been chopped rather than one that had been placed. The direction is
   now the opposite: a COMPLETE symbol living quietly in the environment.
   Reduced to 172-200px, entirely inside the card with real margin around it,
   and the edge mask is gone -- there is no crop left to disguise. Opacity
   rises from .115 to .17 because a smaller mark at the old value would have
   disappeared; it is still far below the name, the anchor and the Focus row,
   so it gains readability without gaining rank. */
/* VISUAL PASS -- the Signal stops being something parked in leftover space
   and becomes the plate's atmospheric anchor: larger, and now EMITTING. The
   bloom behind it is what turns the right of the composition from empty into
   inhabited. It gains presence, never rank -- still the dimmest object on the
   surface, still complete and uncropped, still never an avatar. */
.acct-sig{ position:absolute; z-index:1; pointer-events:none;
  /* Centred via calc, not transform, so the entrance keyframe owns transform
     outright and the mobile override can reposition without fighting it. */
  width:clamp(190px, 19vw, 268px); height:clamp(190px, 19vw, 268px);
  top:calc(50% - clamp(95px, 9.5vw, 134px)); right:clamp(20px, 5vw, 84px);
  opacity:0; color:var(--magenta);
  animation:acctSigIn 1900ms var(--patient) 350ms forwards; }
/* A close halo, not a wide wash: the plate's own ground carries the broad
   atmosphere. Measured deliberately -- at -58% the halo reached 155px past
   the mark and pushed the document 29px wider than the viewport at 1440. */
.acct-sig::before{ content:''; position:absolute; inset:-30%; border-radius:50%;
  background:radial-gradient(closest-side,
    rgba(226,25,181,0.22) 0%, rgba(226,25,181,0.08) 44%, rgba(226,25,181,0) 78%);
  transform:translate3d(var(--sig-px,0px),
    calc(var(--sig-y,0px) * 0.5 + var(--sig-py,0px)), 0); }
/* When GSAP drives the arrival it owns opacity outright. The CSS keyframe is
   the fallback path only -- and parking the mark at rest here also fixes a
   real defect of that keyframe: innerHTML is rebuilt on every state change,
   so the Signal re-faded in each time a member touched a Focus word. */
.acct.acct-gsap .acct-sig{ animation:none; opacity:.17; }
/* DEPTH DRIFT. Two elements, two owners, deliberately: the wrapper's entrance
   keyframe owns transform outright, so the scroll-linked drift lives on the
   svg inside it and the two can never fight. JS writes only --sig-y (see
   initAccountMotion); this rule is the sole place a transform is composed.
   At rest --sig-y is 0px, so the approved composition is exactly what a
   member sees before they scroll. */
/* Three inputs, ONE composed transform, and JS writes none of it directly:
   --sig-y is the scroll-linked depth drift, --sig-px/--sig-py the pointer
   lean. Composing them here is what keeps the wrapper's transform free for
   the arrival, so the entrance and the responses can never fight. */
.acct-sig svg{ width:100%; height:100%; display:block;
  transform:translate3d(var(--sig-px, 0px),
    calc(var(--sig-y, 0px) + var(--sig-py, 0px)), 0); }
@keyframes acctSigIn{
  from{ opacity:0; transform:translate(12px,-6px) scale(.965); }
  to{ opacity:.17; transform:none; } }

/* VISUAL PASS -- editorial scale. The member's name is now unambiguously the
   largest thing on the screen; every label around it was pulled down a step
   so the contrast is carried by TYPE, before any line or container. */
.acct-name{ font-family:var(--font-d); font-weight:500;
  font-size:clamp(40px, 8.4vw, 64px); line-height:0.98;
  letter-spacing:0.004em; color:var(--text-primary); margin:0 0 12px;
  min-height:clamp(40px, 8.4vw, 64px); }
.acct-since{ font-size:10.5px; letter-spacing:0.185em; text-transform:uppercase;
  color:var(--muted); font-weight:500; margin:0 0 var(--s6);
  display:flex; align-items:center; gap:var(--s3); flex-wrap:wrap; }
/* PRODUCT-TRUTH CLOSEOUT -- account-identity metadata, deliberately NOT
   .acct-since's own uppercase/letter-spaced treatment: an email reads as
   noise once spaced out and its case is meaningful, unlike a member-since
   date. Same quiet weight and colour, normal case, its own line.
   :has() tightens the gap above ONLY when an email line actually follows,
   so a member with no email (session genuinely missing it) sees the exact
   original spacing before "Deine Woche" -- nothing shifts for that case.
   break-all is the deliberate overflow guard for a long, unbroken address on
   a narrow viewport. */
.acct-since:has(+ .acct-email){ margin-bottom:var(--s3); }
.acct-email{ font-size:12px; letter-spacing:0.01em; color:var(--muted);
  font-weight:500; margin:0 0 var(--s6); word-break:break-all; }
.acct-lbl{ font-size:10px; letter-spacing:0.2em; text-transform:uppercase;
  color:var(--muted); font-weight:600; margin:0 0 9px; }
.acct-anchor{ font-family:var(--font-d); font-weight:400;
  font-size:clamp(22px, 4.6vw, 29px); line-height:1.22;
  letter-spacing:0.002em; color:var(--text-primary); margin:0 0 4px; max-width:14em; }
.acct-anchor-empty{ color:var(--text-secondary); }
/* 44px hit area without 44px of visual weight: the negative block margin
   absorbs the extra height so spacing reads unchanged, while the tappable
   box is full size. Measured at 27px before this. */
.acct-edit{ background:none; border:none; padding:0; color:var(--muted);
  font-family:var(--font-c); font-size:12.5px; cursor:pointer;
  text-decoration:underline; text-underline-offset:3px; letter-spacing:normal;
  text-transform:none;
  display:inline-flex; align-items:center; min-height:44px; margin:-9px 0; }
.acct-edit:hover{ color:var(--text-secondary); }
/* .acct-split (the in-card horizontal rule) was removed by the visual pass:
   the identity plate is separated by space now, not by bands. */
/* CAUSE <-> EFFECT. Pointing at the adaptation that this sentence produces
   lights the sentence up, and vice versa. The cue is a hairline GROWING out
   of the label -- deliberately neutral, never magenta: on this screen magenta
   means "CRVD is adapting this", and a hover state is not that. The plate
   clips at its own edge, so the cue lives inside the type rather than in a
   margin that would be cut off. */
.acct-beat-situation{ position:relative; margin-bottom:var(--s7); }
.acct-beat-situation .acct-lbl,
.acct-domains-lead{ transition:color 300ms var(--patient); }
.acct-beat-situation .acct-lbl::after{ content:''; display:inline-block;
  vertical-align:middle; width:0; height:1px; margin-left:0;
  background:var(--border-strong);
  transition:width 320ms var(--patient), margin-left 320ms var(--patient); }
.acct-beat-situation.is-linked .acct-lbl{ color:var(--text-secondary); }
.acct-beat-situation.is-linked .acct-lbl::after{ width:26px; margin-left:10px; }
/* RECOGNITION. One beat, once, when the member has just changed their week:
   the sentence they rewrote and the adaptation it produces acknowledge each
   other. A one-shot lift, never a loop. */
.acct-beat-situation.is-recognised .acct-anchor{ animation:acctRecognise 1100ms var(--patient); }
@keyframes acctRecognise{
  0%{ opacity:1; } 22%{ opacity:.55; } 60%{ opacity:1; } 100%{ opacity:1; } }

/* The inline word-selector (.focus-sel / .focus-word / .focus-desc) is gone
   with the row it lived in: five uppercase words in a row never said what
   they were or that they could be touched. The five categories are unchanged
   and now live on the Focus card and in its selection sheet -- see the upper
   KONTO section at the foot of this file. */
/* Local Focus confirmation. Deliberately NOT an adaptation dot: Focus has no
   active consumer, so it may not use that semantic
   (PERSONALIZATION_CONTEXT_CONTRACT v1.1, Invariant 10). */
.focus-ok{ font-size:11.5px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--muted); font-weight:600; margin:var(--s2) 0 0;
  opacity:0; transition:opacity 400ms var(--patient); }
.focus-ok.is-on{ opacity:1; }

/* ADAPTATION RECEIPT. The dot means exactly one thing: CRVD is actively
   adapting this. Never a bullet, never decoration, never a status indicator.
   This is the payoff of the whole composition, so it carries the largest body
   type on the screen and the most air around it -- weight bought with type and
   space, not with a container. It stays one truthful line; nothing here scales
   with how full the section looks. */
.acct-receipt{ padding:var(--s2) 0 var(--s6); margin-bottom:var(--s6);
  border-bottom:1px solid var(--hairline); }
.acct-receipt .acct-lbl{ margin-bottom:var(--s4); }
.acct-receipt ul{ margin:0; padding:0; list-style:none; max-width:34rem; }
.acct-receipt li{ display:grid; grid-template-columns:auto 1fr; gap:14px;
  align-items:start; padding:2px 0; font-size:15px; line-height:1.58;
  color:var(--text-primary); }
/* The halo is the dot's own meaning made legible -- "actively adapting" -- not
   decoration bolted onto it, and it is deliberately static: a pulse would turn
   a semantic mark into a status light. */
.adapt-dot{ width:5px; height:5px; border-radius:50%; background:var(--magenta);
  margin-top:9px; flex:none; box-shadow:0 0 7px 1px rgba(226,25,181,0.34); }

/* ---------------------------------------------------------------------- *
 * ESSEN & KOCHEN (Slice 2) -- the deeper-personalization layer.
 *
 * Instruments, not form rows. The whole surface uses exactly three devices
 * already established on this screen: the .acct-lbl eyebrow, the editorial
 * word-selector borrowed from Focus, and open space. No control gets a box,
 * because a box around each of three would make them read as three settings
 * rather than one instrument panel. Existing tokens only; magenta appears on
 * exactly one thing at a time -- the current selection.
 * ---------------------------------------------------------------------- */
/* ENTRY POINT on Account. Full-width so it is unmistakably tappable, but
   ruled rather than boxed so it belongs to the same grid as every divider
   above it. The name carries the weight; the values underneath are the
   payload, which is why they are shown rather than a chevron. */
/* The entry point is a READOUT of the instruments behind it, not a nav row.
   Three miniature rails, each showing where that member's answer actually
   sits -- so Account carries the instrument language rather than another
   headline/copy/divider stanza, and the link states its own contents. An
   undeclared instrument shows its rail with no blade, which reads as an
   empty gauge: honest, and an invitation. */
.kitchen-entry{ display:grid; grid-template-columns:1fr auto; align-items:center;
  gap:var(--s5) var(--s7); width:100%; text-align:left; background:none;
  border:none; border-bottom:1px solid var(--hairline); cursor:pointer;
  padding:var(--s2) 0 var(--s6); margin:0 0 var(--s6); color:inherit;
  font-family:inherit; }
.kitchen-entry .acct-lbl{ display:block; grid-column:1; margin-bottom:6px; }
.kitchen-entry-text{ grid-column:1; grid-row:2; }
.kitchen-entry-name{ display:block; font-family:var(--font-d); font-weight:500;
  font-size:23px; line-height:1.2; letter-spacing:0.004em; color:var(--text-primary);
  transition:color 260ms var(--patient); }
.kitchen-entry-sub{ display:block; margin-top:7px; font-size:13.5px;
  line-height:1.5; color:var(--text-secondary); }
/* A factual body reading on the overview. Typeset, not tiled: display type
   and tabular figures give the number enough presence to be read at a
   glance, while it stays inside the domain's existing subline and never
   becomes a stat card. Quieter than the detail screen by design -- there
   the value is the protagonist, here it is a statement of where things
   stand. */
.acct-stat{ display:inline-flex; align-items:baseline; gap:4px;
  font-family:var(--font-d); font-weight:500; font-size:19px; line-height:1.2;
  color:var(--text-primary); font-variant-numeric:tabular-nums;
  margin-right:var(--s3); }
.acct-stat-u{ font-family:var(--font-c); font-size:10.5px; font-weight:500;
  letter-spacing:0.16em; text-transform:uppercase; color:var(--muted); }
.acct-stat-meta{ font-size:13px; color:var(--text-secondary); }
.kitchen-entry:hover .kitchen-entry-name{ color:var(--magenta); }

.kitchen-mini-row{ position:relative; height:9px; }
.kitchen-mini-row::before{ content:''; position:absolute; left:0; right:0; top:4px;
  height:1px; background:var(--hairline); }
.kitchen-mini-b{ position:absolute; top:0; width:2px; height:9px; margin-left:-1px;
  background:var(--magenta); border-radius:1px;
  box-shadow:0 0 6px 0 rgba(226,25,181,0.45);
  transition:left 420ms var(--patient); }
.kitchen-entry:hover .kitchen-mini-row::before{ background:var(--text-disabled); }

@media (max-width:640px){
  .kitchen-entry{ gap:var(--s4) var(--s5); }
}

.essen-title{ font-family:var(--font-d); font-weight:500; font-size:29px;
  line-height:1.14; letter-spacing:0.008em; color:var(--text-primary);
  margin:var(--s2) 0 var(--s3); max-width:15em; }
.essen-lede{ font-size:14px; line-height:1.6; color:var(--text-secondary);
  margin:0 0 var(--s8); max-width:34rem; }
.essen-loading{ font-size:14px; color:var(--muted); margin-top:var(--s7); }

/* One rule between instruments, none above the first and none below the
   last: the separation is the space, the rule only confirms it. */
.kitchen-inst{ padding:0 0 var(--s7); margin:0 0 var(--s7);
  border-bottom:1px solid var(--hairline); max-width:34rem; }
.kitchen-inst:last-of-type{ border-bottom:none; padding-bottom:var(--s5); }

/* ====================================================================== *
 * CRVD PERSONALIZATION INSTRUMENTS -- THE CALIBRATED RAIL
 *
 * One grammar, three instances. Every personalization instrument in the
 * product is built from the same four parts, in the same order:
 *
 *   READOUT   the answer, in display type, large. Rolls behind a mask when
 *             it changes -- the value is replaced, never cross-faded.
 *   RAIL      a hairline track sitting in a shallow trough. The trough is
 *             one inset highlight and one shadow, not a box: depth without
 *             a container.
 *   TICKS     calibration marks rising from the rail. Their SPACING CARRIES
 *             MEANING -- on the time instrument they sit at their true
 *             position on a 0-60 minute scale, so the rail is a measurement
 *             scale rather than four equidistant words.
 *   BLADE     a magenta indicator that travels to the active tick and
 *             settles there.
 *
 * MAGENTA, deliberately: the blade, the active tick and the bloom are the
 * CRVD identity colour used as a precision indicator (Founder direction 7).
 * They are never dots. The magenta DOT keeps its single meaning -- CRVD is
 * actively adapting this -- and lives only in the adaptation receipt. Two
 * different forms, two different places, no collision.
 *
 * Adding a fourth instrument later means choosing points and a readout.
 * It does not mean designing a new control.
 * ====================================================================== */
.kitchen-inst-head{ display:flex; align-items:flex-end;
  justify-content:space-between; gap:var(--s4); margin:0 0 var(--s5); }

/* READOUT -- masked. The box is fixed height with overflow hidden, so the
   outgoing value leaves upward while the incoming one arrives from below:
   a value is replaced, not faded. tabular-nums so 8 and 1 occupy identical
   width and nothing beside the readout can shift. */
.kitchen-read{ position:relative; overflow:hidden; height:46px; min-width:2.2em;
  display:block; }
.kitchen-read-v{ display:block; font-family:var(--font-d); font-weight:500;
  font-size:40px; line-height:46px; letter-spacing:0.01em;
  color:var(--text-primary); font-variant-numeric:tabular-nums;
  white-space:nowrap; }
.kitchen-read.is-unset .kitchen-read-v{ color:var(--text-disabled); font-weight:400; }
/* The word readouts (leftovers) carry the same weight as the numerals but
   cannot use their scale without wrapping. */
.kitchen-read.is-word{ min-width:0; }
.kitchen-read.is-word .kitchen-read-v{ font-size:26px; }
/* margin-right:auto, not space-between across three children: the unit
   belongs to the numeral it qualifies and must sit against it. Left to
   space-between it floated into the middle of the row, reading as a third
   independent element. */
.kitchen-unit{ font-family:var(--font-c); font-size:12px; font-weight:500;
  letter-spacing:0.16em; text-transform:uppercase; color:var(--muted);
  padding-bottom:9px; white-space:nowrap; margin-right:auto; margin-left:-6px; }

/* RAIL + TROUGH. 44px tall so the whole track is a comfortable touch strip,
   with the line itself optically centred inside it. */
/* Inset by half a tick box. A tick at left:0% / left:100% carries a 44px hit
   column centred on the mark, so at the raw edges those columns hung 22px
   past the content and pushed the document 15px wider than the viewport --
   measured 405 against 390. Insetting the rail by 22px puts the outermost
   hit columns flush with the content edge instead of past it, and the scale
   reads as deliberately inset rather than running off the page. */
/* touch-action:pan-y is the whole scroll-intent solution, and it is
   declarative rather than guessed: the browser keeps VERTICAL panning for
   itself, so the page still scrolls normally with a finger on the rail,
   and hands us every HORIZONTAL gesture without our ever calling
   preventDefault on a scroll. No movement thresholds, no direction
   sniffing, no scroll-blocking listener. */
.kitchen-rail{ position:relative; height:52px; margin:0 22px var(--s4);
  touch-action:pan-y; cursor:grab; }
.kitchen-rail.is-held{ cursor:grabbing; }
/* The track brightens under the hand -- the instrument acknowledges being
   held before the value has changed at all. */
.kitchen-rail.is-held::before{ background:var(--border-default); }
.kitchen-rail:hover::before{ background:var(--text-disabled); }
.kitchen-rail::before{ content:''; position:absolute; left:0; right:0; top:25px;
  height:1px; background:var(--hairline);
  transition:background-color 200ms var(--patient); }
/* The trough: one hairline of light above the track and a soft shadow below
   it. Barely visible on its own -- what it does is make the blade look like
   it is sitting IN something. */
.kitchen-rail::after{ content:''; position:absolute; left:0; right:0; top:26px;
  height:6px; pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%); }

/* TICKS. Each is a real button -- the rail is operable, not a readout with
   decoration. The visible mark is the ::after; the button itself is an
   invisible column wide enough to hit comfortably. */
/* pointer-events:none is deliberate and load-bearing. The rail owns every
   pointer gesture, so a tap and a drag are the same code path and can never
   both fire for one touch (which would have written twice). The buttons stay
   in the DOM, focusable and clickable BY KEYBOARD -- Enter/Space dispatches
   a click without any pointer event -- so the calibration marks remain the
   accessible, labelled, individually reachable control they were. */
.kitchen-tick{ position:absolute; top:0; height:52px; width:44px;
  margin-left:-22px; padding:0; border:none; background:none;
  display:block; pointer-events:none; }
.kitchen-tick::after{ content:''; position:absolute; left:50%; width:1px;
  margin-left:-0.5px; top:19px; height:7px; background:var(--text-disabled);
  transition:height 260ms var(--patient), top 260ms var(--patient),
             background-color 260ms var(--patient); }
.kitchen-tick.is-major::after{ top:16px; height:10px; background:var(--muted); }
.kitchen-rail:hover .kitchen-tick::after{ background:var(--text-secondary); }
.kitchen-tick.is-on::after{ top:13px; height:16px; background:var(--magenta); }
/* Under the hand every mark lifts slightly -- the whole scale responds, not
   just the one being aimed at. */
.kitchen-rail.is-held .kitchen-tick::after{ top:17px; height:11px; }
.kitchen-rail.is-held .kitchen-tick.is-on::after{ top:13px; height:16px; }
.kitchen-tick:focus-visible::after{ background:var(--magenta); top:13px; height:16px; }
/* Minor calibration marks between the labelled points -- texture that makes
   the rail read as a measured scale. Not operable, not tab stops. */
.kitchen-minor{ position:absolute; top:23px; width:1px; height:4px;
  background:var(--hairline); pointer-events:none; }

/* BLADE. A bar, never a dot -- the dot is spoken for. Sits astride the rail
   with a soft bloom beneath it so the active point has energy without
   anything glowing permanently. */
/* THE HANDLE. Still a blade, never a circular thumb -- but now unmistakably
   a thing to take hold of: 3px wide and 34px tall it stands clear of the
   16px marks, and it carries its own bloom so it reads as sitting ABOVE the
   scale rather than drawn onto it. The ::before is a 44px invisible grab
   column, which is what makes it catchable without making it look heavy. */
.kitchen-blade{ position:absolute; top:9px; left:0; width:3px; height:34px;
  margin-left:-1.5px; background:var(--magenta); pointer-events:none;
  border-radius:1.5px;
  box-shadow:0 0 14px 2px rgba(226,25,181,0.55), 0 0 3px 0 rgba(226,25,181,0.9);
  transition:height 180ms var(--patient), top 180ms var(--patient),
             width 180ms var(--patient), box-shadow 180ms var(--patient); }
.kitchen-blade::before{ content:''; position:absolute; top:-9px; bottom:-9px;
  left:50%; width:44px; margin-left:-22px; }
/* A soft disc of light behind the handle: local depth, so the blade looks
   lit rather than painted. Grows when held. */
.kitchen-blade::after{ content:''; position:absolute; left:50%; top:50%;
  width:34px; height:34px; margin:-17px 0 0 -17px; border-radius:50%;
  background:radial-gradient(circle, rgba(226,25,181,0.28) 0%, rgba(226,25,181,0) 70%);
  transition:transform 200ms var(--patient), opacity 200ms var(--patient); }
.kitchen-rail:hover .kitchen-blade{ height:38px; top:7px; }
.kitchen-rail.is-held .kitchen-blade{ width:4px; margin-left:-2px; height:42px; top:5px;
  box-shadow:0 0 20px 3px rgba(226,25,181,0.65), 0 0 4px 0 rgba(226,25,181,1);
  transition-duration:90ms; }
.kitchen-rail.is-held .kitchen-blade::after{ transform:scale(1.5); }
.kitchen-blade.is-hidden{ opacity:0; }

.kitchen-labels{ position:relative; height:15px; margin:0 22px var(--s4); }
.kitchen-lab{ position:absolute; transform:translateX(-50%);
  font-family:var(--font-d); font-weight:400; font-size:12.5px;
  letter-spacing:0.04em; color:var(--text-disabled); white-space:nowrap;
  transition:color 260ms var(--patient); }
/* The end labels align to the rail's ends rather than centring on them.
   Centring is fine for a digit, but "Lieber frisch" is 78px wide and half of
   it hung off the page. Aligning the outer edges also reads more precisely:
   the scale is bounded by its labels. */
.kitchen-lab:first-child{ transform:none; }
.kitchen-lab:last-child{ transform:translateX(-100%); }
.kitchen-lab.is-on{ color:var(--text-primary); font-weight:500; }

/* STEPPER -- kept alongside the rail on portions only, as the precise and
   unambiguous path (and the obvious keyboard one). Secondary to the rail by
   size and weight: the rail is the instrument, these adjust it. */
.kitchen-step{ display:flex; align-items:center; gap:var(--s3); }
.kitchen-step-btn{ width:44px; height:44px; flex:none; border-radius:50%;
  border:1px solid var(--hairline); background:none; color:var(--text-secondary);
  font-size:18px; line-height:1; cursor:pointer; display:flex;
  align-items:center; justify-content:center;
  transition:border-color 200ms var(--patient), color 200ms var(--patient),
             background-color 200ms var(--patient); }
.kitchen-step-btn:hover:not(:disabled){ color:var(--text-primary); border-color:var(--border-strong); }
.kitchen-step-btn:active:not(:disabled){ background:rgba(226,25,181,0.12);
  border-color:var(--magenta); color:var(--text-primary); transition-duration:70ms; }
.kitchen-step-btn:disabled{ opacity:.28; cursor:default; }

.kitchen-hint{ font-size:13px; line-height:1.5; color:var(--text-secondary);
  margin:0; min-height:1.5em; }
/* Reserved height, always present, so a confirmation or an error appearing
   never moves the instrument below it. */
.kitchen-msg{ font-size:11.5px; letter-spacing:0.14em; text-transform:uppercase;
  font-weight:600; margin:var(--s3) 0 0; min-height:1.2em;
  opacity:0; transition:opacity 400ms var(--patient); }
.kitchen-msg.is-ok{ opacity:1; color:var(--muted); }
.kitchen-msg.is-error{ opacity:1; color:var(--magenta); letter-spacing:0.04em;
  text-transform:none; font-size:12.5px; font-weight:400; }

.essen-foot{ font-size:12.5px; line-height:1.6; color:var(--muted);
  margin:var(--s7) 0 0; max-width:32rem; }

/* .bt-detail-back measures 43x73 here -- 1px under the touch minimum, and it
   wraps because the icon and label are inline in a narrow column. Scoped to
   this screen rather than corrected on the shared class: .bt-detail-back is
   also used by Recipe Detail and the Guidelines, and this slice is not the
   place to change how those look. */
.essen .bt-detail-back, .wt .bt-detail-back{ display:inline-flex; align-items:center; gap:6px;
  min-height:44px; padding:0; margin-bottom:var(--s5); }
.essen .bt-detail-back svg, .wt .bt-detail-back svg{ flex:none; }

@media (max-width:640px){
  /* The reserved confirmation slot plus a 48px rule gap left ~75px of dead
     space under every instrument on a 390px screen. The instruments keep
     their separation; the surplus goes. */
  .kitchen-inst{ padding-bottom:var(--s5); margin-bottom:var(--s5); }
  .essen-lede{ margin-bottom:var(--s7); }
  .essen-title{ font-size:26px; }
  .kitchen-read{ height:42px; }
  .kitchen-read-v{ font-size:34px; line-height:42px; }
  .kitchen-read.is-word .kitchen-read-v{ font-size:22px; }
}

@media (min-width:1024px){
  /* Desktop gets breathing room, not a second column: three instruments in
     two columns would read as a settings grid, which is the one thing this
     surface must not be. */
  .essen-title{ font-size:34px; }
  .kitchen-inst{ padding-bottom:var(--s8); margin-bottom:var(--s8); }
}

/* ====================================================================== *
 * P1 -- THREE-TIER ACCOUNT COMPOSITION
 *
 * The screen had nine equal eyebrow headings in identical type. Replacing
 * them with nine differently styled headings would have solved nothing, so
 * there are now exactly THREE announcements -- Du / Deine Küche / Dein Konto --
 * and they are a different typographic species from everything beneath
 * them: display face, sentence case, several steps larger. Everything that
 * used to be a chapter is now either a field label inside a tier or lives
 * behind the collapsed account area.
 *
 * Hierarchy comes from type, scale, proximity and whitespace. No cards, no
 * tiles, no containers added anywhere.
 * ====================================================================== */
/* VISUAL PASS -- THE TIER MARK IS THE QUIETEST TYPE ON THE SCREEN.
   The three announcements were previously the brightest thing a member saw,
   which is exactly what made the page read as a document with chapters. The
   relationship is now inverted: the mark is a dim label in the margin, and
   the member's own name, their own sentence and their own numbers carry the
   light. Hierarchy from type and contrast, before any rule or container. */
/* A DIFFERENT SPECIES FROM EVERY OTHER LABEL. Uppercase letter-spaced type is
   what every micro-label on this screen already is, so a tier set that way
   would just be a bigger eyebrow. The tier is therefore the one heading in
   mixed-case display type -- large enough to structure the page, dim enough
   that it never outshines the member's own words. */
.acct-tier{ font-family:var(--font-d); font-weight:500;
  font-size:clamp(26px, 5.8vw, 33px); text-transform:none;
  line-height:1.06; letter-spacing:0.012em; color:var(--text-disabled);
  margin:0 0 var(--s5); }
/* CLEANUP PASS -- the first tier keeps its level and loses its ink. Kicker,
   tier and name were three introductions in a row; the name is the one that
   says something. The heading stays in the accessibility tree so the outline
   still has three tiers, and on desktop the rail column stays reserved so all
   three tiers still share one axis. */
.acct-tier-quiet{ position:absolute; width:1px; height:1px; margin:-1px;
  padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%);
  white-space:nowrap; border:0; }
.acct-tier-block{ margin:var(--s9) 0 0; }
.acct-tier-block.acct-du{ margin-top:0; }
/* The eyebrows that survive are demoted so they cannot compete with the
   member's own words -- but only to --muted. At --text-disabled a 10px
   uppercase label measured about 3.2:1 on this ground, which is below AA for
   text that small; quiet is a design decision, illegible is a defect. */
.acct-card .acct-lbl{ color:var(--muted); }

/* ---------------------------------------------------------------------- *
 * THE TRACE -- the relationship made visible.
 *
 * One vertical line runs from the first adaptation down through the domains.
 * The magenta markers sit ON it; each domain hangs off it by a plain hairline
 * node. Cause and effect stop being two stacked sections and become one
 * connected object, which is the whole claim of this tier. It is also the
 * device that replaces the horizontal rules: the page is now organised by a
 * single vertical thread and by space, not by equal horizontal bands.
 * ---------------------------------------------------------------------- */
/* CLEANUP PASS -- FELT, NOT DIAGRAMMED. A continuous rule at hairline weight
   read as a timeline: evenly present between every node, which is what a
   process diagram looks like. The long line is now barely there -- an
   atmospheric seam rather than a connector -- and the connection gathers
   strength only AROUND the markers, where it means something. Same single
   device, a fraction of the contrast, no extra marks. */
.acct-thread{ --thread-pad:34px; --thread-x:5px;
  position:relative; padding-left:var(--thread-pad); }
/* ONE GROUND UNDER THE WHOLE REGION, and no rectangle anywhere in it. A very
   faint wash, transparent at every edge and masked away top and bottom, so
   what CRVD adapts, what it knows and the instruments themselves sit in one
   volume of light instead of three unrelated places on black. Far below the
   identity plate's strength -- the member is still the brightest thing on
   the screen. */
.acct-thread::before{ content:''; position:absolute; z-index:0;
  inset:-24px -24px -16px -16px; pointer-events:none;
  background:
    radial-gradient(66% 46% at 62% 74%, rgba(226,25,181,0.055) 0%, rgba(226,25,181,0) 72%),
    radial-gradient(70% 40% at 34% 16%, rgba(214,198,226,0.026) 0%, rgba(214,198,226,0) 74%);
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
  mask-image:linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%); }
.acct-thread > *:not(.acct-thread-line){ position:relative; z-index:1; }
.acct-thread-line{ z-index:1; }
/* The editorial statements keep their measure; the instrument surfaces below
   are free to use the width the tier actually has. */
.acct-receipt-list, .acct-nothing-yet{ max-width:34rem; }
.acct-domains{ max-width:38rem; }
.acct-thread-line{ position:absolute; left:var(--thread-x); top:9px; bottom:0;
  width:1px; transform-origin:top center;
  background:linear-gradient(180deg,
    rgba(245,241,236,0.075) 0%, rgba(245,241,236,0.020) 20%,
    rgba(245,241,236,0.013) 60%, transparent 94%); }

/* Receipt, no longer self-announcing: it sits directly under "Deine Küche",
   which is what it is. The dot keeps its single meaning, and now also keeps
   its place -- it is the point where the effect meets the trace. */
.acct-receipt-list{ list-style:none; margin:0 0 var(--s8); padding:0; }
.acct-receipt-list li{ position:relative; padding:0 0 var(--s5); }
.acct-receipt-list li:last-child{ padding-bottom:0; }
.adapt-effect{ display:block; font-family:var(--font-d); font-weight:400;
  font-size:clamp(19px, 4vw, 23px); line-height:1.26; letter-spacing:0.004em;
  color:var(--text-primary); max-width:17em; }
/* THE ORIGIN. Not a caption -- the way back to the answer that produced the
   line above it. Same fact the screen already held, finally in the order the
   relationship runs: you told CRVD something, so this changed. */
/* 44px of hit area without 44px of visual weight -- the same negative-margin
   pattern .acct-edit and .btn-quiet already use on this screen. */
.adapt-src{ background:none; border:none; padding:0; margin:4px 0 -12px;
  display:inline-flex; align-items:center; min-height:44px; cursor:pointer;
  font-family:var(--font-c); font-size:10.5px; font-weight:600;
  letter-spacing:0.185em; text-transform:uppercase; color:var(--muted);
  transition:color 260ms var(--patient); }
.adapt-src-from{ font-weight:400; letter-spacing:0.12em; margin-right:.45em;
  color:var(--text-disabled); }
.adapt-src::after{ content:''; display:inline-block; width:0; height:1px;
  margin-left:0; background:var(--border-strong);
  transition:width 320ms var(--patient), margin-left 320ms var(--patient); }
.adapt-src:hover, .adapt-src:focus-visible{ color:var(--text-secondary); }
.adapt-src:hover::after, .adapt-src:focus-visible::after{ width:22px; margin-left:10px; }
.acct-receipt-list li.is-linked .adapt-src{ color:var(--text-secondary); }
.acct-receipt-list li.is-recognised .adapt-effect{
  animation:acctRecognise 1100ms var(--patient); }

.acct-nothing-yet{ font-size:15px; line-height:1.6; color:var(--text-secondary);
  margin:0 0 var(--s8); max-width:30em; }
.acct-domains-lead{ font-size:10px; letter-spacing:0.2em; text-transform:uppercase;
  color:var(--muted); font-weight:600; margin:0 0 var(--s5); }

/* TIER 3 -- one quiet disclosure. Native <details>: keyboard-operable and
   announced by assistive technology without a line of JavaScript, and
   without adding a sixth interaction model to a screen this refactor is
   removing models from. */
/* VISUAL PASS -- the lid. The rule across the page is gone: a full-width
   hairline is precisely what made this read as one more section instead of
   a layer that is closed. What says "closed" now is a drawn mark that opens,
   and the space above it. */
.acct-admin{ margin:var(--s9) 0 0; }
.acct-admin-summary{ list-style:none; cursor:pointer;
  display:grid; grid-template-columns:1fr auto; align-items:center;
  column-gap:var(--s5); min-height:44px; padding:0; }
.acct-admin-summary::-webkit-details-marker{ display:none; }
.acct-admin-summary:focus-visible{ outline:2px solid var(--magenta); outline-offset:6px; }
.acct-tier-admin{ display:block; grid-column:1; margin:0 0 5px;
  transition:color 220ms var(--patient); }
.acct-admin-summary:hover .acct-tier-admin{ color:var(--text-secondary); }
.acct-admin-hint{ display:block; grid-column:1; font-size:14px; color:var(--muted); }
.acct-admin[open] .acct-admin-hint{ color:var(--text-disabled); }
/* A drawn plus that becomes a minus. Two 1px strokes, no glyph, no icon set:
   the same restraint as every other mark on this screen. */
.acct-admin-mark{ grid-column:2; grid-row:1 / span 2; position:relative;
  width:16px; height:16px; align-self:center; }
.sl-add-mark{ position:relative; flex:none; width:16px; height:16px; }
.acct-admin-mark::before, .acct-admin-mark::after, .sl-add-mark::before, .sl-add-mark::after{ content:''; position:absolute;
  left:0; top:7.5px; width:16px; height:1px; background:var(--text-disabled);
  transition:transform 380ms var(--patient), background 220ms var(--patient); }
.acct-admin-mark::after, .sl-add-mark::after{ transform:rotate(90deg); }
.acct-admin[open] .acct-admin-mark::after, .sl-add-more[open] .sl-add-mark::after{ transform:rotate(0deg); }
.acct-admin-summary:hover .acct-admin-mark::before,
.acct-admin-summary:hover .acct-admin-mark::after,
.sl-add-sum:hover .sl-add-mark::before,
.sl-add-sum:hover .sl-add-mark::after{ background:var(--text-secondary); }
/* Opens FROM a hidden state INTO its real resting state. The rule below adds
   nothing that has to finish: if the animation never runs, the panel is
   already visible at full height. That is deliberate -- this tier holds the
   only route to signing out. */
.acct-admin-body{ margin-top:var(--s6); }
.acct-admin[open] .acct-admin-body, .sl-add-more[open] .sl-add-body{ animation:acctLidOpen 420ms var(--patient); }
@keyframes acctLidOpen{
  from{ opacity:0; transform:translateY(-10px); }
  to{ opacity:1; transform:none; } }

/* ---------------------------------------------------------------------- *
 * THE ADMINISTRATIVE MODULES.
 *
 * Deliberately the ONE contained language on this screen. DU and CRVD & DU
 * are open, editorial and spatial because they are the member; this layer is
 * administration, and letting it be modular is what makes that difference
 * legible instead of flattening everything into one texture.
 *
 * These are not cards. The surface is lifted about two percent off the
 * canvas, has no border, no shadow and a single soft magenta breath in one
 * corner -- the same light as the identity plate, at a fraction of its
 * strength, so this layer still belongs to the same product. Hierarchy
 * inside a module comes from type and space; the response lives on the rows.
 * ---------------------------------------------------------------------- */
.acct-mods{ display:grid; gap:var(--s4); }
.acct-mod{ position:relative; overflow:hidden;
  border-radius:18px; padding:var(--s5) var(--s5) var(--s5);
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(226,25,181,0.045) 0%, rgba(226,25,181,0) 58%),
    rgba(245,241,236,0.022); }
.acct-mod-h{ font-family:var(--font-c); font-size:10px; font-weight:600;
  letter-spacing:0.2em; text-transform:uppercase; color:var(--muted);
  margin:0 0 var(--s4); }
.acct-mod-row{ margin:0; }
.acct-mod-row + .acct-mod-row{ margin-top:2px; }
/* 44px of hit area, and a real response: the row lights and steps forward. */
.acct-mod-row .btn-quiet{ display:inline-flex; align-items:center;
  min-height:44px; margin:-9px 0; text-underline-offset:4px;
  transition:color 220ms var(--patient), transform 220ms var(--patient); }
.acct-mod-row .btn-quiet:hover,
.acct-mod-row .btn-quiet:focus-visible{ color:var(--text-primary); transform:translateX(3px); }
.acct-mod-note{ font-size:13.5px; line-height:1.6; color:var(--text-secondary);
  margin:var(--s3) 0 0; }
/* Read-only state inside a module: no rules, the pair is held by alignment. */
.acct-mod .account-row{ border-bottom:none; padding:5px 0; font-size:14.5px; }
.acct-mod .account-row .v{ color:var(--text-primary);
  font-variant-numeric:tabular-nums; }
.acct-mod-sub{ margin-top:var(--s4); padding-top:var(--s4);
  border-top:1px solid rgba(245,241,236,0.06); }
/* Reachable, never promoted. */
.acct-mod-quiet{ margin-top:var(--s4); }
.acct-mod-quiet .btn-quiet{ color:var(--text-disabled); }
.acct-mod-quiet .btn-quiet:hover,
.acct-mod-quiet .btn-quiet:focus-visible{ color:var(--action-destructive); }

@media (max-width:640px){
  .acct-tier{ margin-bottom:var(--s4); }
  .acct-tier-block{ margin-top:var(--s8); }
  .acct-thread{ --thread-pad:26px; --thread-x:4px; }
  .acct-admin{ margin-top:var(--s8); }
}
/* ---------------------------------------------------------------------- *
 * DESKTOP -- CONTROLLED ASYMMETRY.
 *
 * The tier marks HANG in a left rail, right-aligned against a shared axis,
 * and the content runs in its own measure beside them. That single move is
 * what stops the desktop screen reading as a stack of centred sections: the
 * eye gets a vertical axis to follow and the content sits off it, with the
 * Signal weighting the far right of the identity plate.
 *
 * This is composition only -- it is NOT the P2 sticky architecture, which
 * stays deliberately unimplemented. Nothing here scrolls independently.
 * ---------------------------------------------------------------------- */
@media (min-width:1024px){
  .acct-tier-block{ display:grid;
    grid-template-columns:10.5rem minmax(0, 1fr); column-gap:var(--s7); }
  .acct-tier-block > .acct-tier{ grid-column:1; text-align:right;
    align-self:start; margin:0; padding-top:14px; }
  .acct-tier-block > .acct-tier-body{ grid-column:2; min-width:0; }
  .acct-du > .acct-tier{ padding-top:26px; }
  .acct-admin-summary{ grid-template-columns:10.5rem minmax(0, 1fr) auto;
    column-gap:var(--s7); align-items:start; }
  .acct-tier-admin{ grid-column:1; grid-row:1 / span 2; text-align:right;
    margin:0; padding-top:2px; }
  .acct-admin-hint{ grid-column:2; grid-row:1; }
  .acct-admin-mark{ grid-column:3; grid-row:1 / span 2; align-self:start; }
  /* DESKTOP -- the two domains sit side by side at UNEQUAL widths, sized to
     what they actually hold: three readings against one measurement. Not a
     pair of matched cards, and never height-matched -- align-items:start
     lets each surface end where its own content ends. */
  .acct-domains{ max-width:none; display:grid;
    grid-template-columns:1.42fr 0.78fr; column-gap:var(--s4);
    align-items:start; }
  .acct-domains-lead{ grid-column:1 / -1; }
  .acct-thread [data-domain="essen"]{ grid-column:1; margin-bottom:0; }
  /* The narrow surface stacks: name above measurement. Side by side inside
     296px the name column fell to about 120px and threw its arrow onto a
     line of its own. */
  /* The two-up placement only. HOW each card lays itself out at this width is
     declared with the rest of the door grammar further down this file, which
     comes after this block and would otherwise win. */
  .acct-thread [data-domain="koerper"]{ grid-column:2;
    margin-left:0; padding-left:var(--s5); margin-bottom:0;
    border-radius:16px; }
  .acct-thread .kitchen-entry-name{ font-size:27px; }
  /* The 48px column gap was costing the name the width its own arrow needs. */
  .acct-thread .kitchen-entry{ column-gap:var(--s5); }
  .dom-line{ grid-template-columns:auto clamp(80px, 10vw, 150px); }
  /* THE COLLAPSE. The reading column carries a floor of clamp(140px, 42vw,
     190px) -- added on a phone, where 42vw is about 160px and the rails need
     it. At 1024 the same expression is 430px, inside a column that is about
     250px wide, so the floor ate the whole card: "Essen & Kochen" broke one
     word per line and Körper's title collapsed to nothing behind its own
     measurement. Here the rail track is declared outright by .dom-line above,
     so the floor has no work left to do and is removed rather than guessed
     at. */
  .acct-admin-body{ margin-left:calc(10.5rem + var(--s7)); max-width:44rem; }
  /* Two columns, asymmetric on purpose and never height-matched: Aktivität
     carries the most content and gets the wider column; the modules simply
     end where their content ends. align-items:start is what keeps this from
     becoming a dashboard grid. */
  .acct-mods{ grid-template-columns:1.15fr 0.85fr; align-items:start;
    gap:var(--s4); }
}

/* ---------------------------------------------------------------------- *
 * DOMAINS REGION (Slice 3). Two deeper-personalization domains is exactly
 * where an Account screen turns into a settings list, so they are presented
 * as ONE titled region -- "Was du CRVD beigebracht hast" -- rather than two
 * rows that happen to sit together. The heading does the framing; each
 * domain then states its own contents through its own instrument readout.
 * ---------------------------------------------------------------------- */
.acct-domains{ margin:0; }
.acct-domains > .acct-lbl{ margin-bottom:var(--s4); }
.acct-domains .kitchen-entry:last-child{ margin-bottom:0; }

/* ---------------------------------------------------------------------- *
 * THE TRACE, CONTINUED -- everything that hangs off the line.
 *
 * The marker sits ON the trace; the domains hang off it by a neutral node.
 * That distinction is the semantics drawn rather than written: magenta only
 * where CRVD is actively adapting, plain hairline everywhere else.
 * ---------------------------------------------------------------------- */
.acct-thread .adapt-dot{ position:absolute;
  left:calc(var(--thread-x) - 3px - var(--thread-pad)); top:9px;
  width:7px; height:7px; margin-top:0;
  box-shadow:0 0 10px 1px rgba(226,25,181,0.40); }
/* Where the connection is actually FELT: a short brightening of the seam
   through each marker, fading out above and below it. Neutral, never
   magenta -- the marker owns the only magenta on this axis. */
.acct-receipt-list li::before{ content:''; position:absolute;
  left:calc(var(--thread-x) - var(--thread-pad)); top:-16px;
  width:1px; height:56px; pointer-events:none;
  background:linear-gradient(180deg, transparent 0%,
    rgba(245,241,236,0.16) 42%, rgba(245,241,236,0.05) 74%, transparent 100%); }

/* ====================================================================== *
 * THE PERSONALIZATION SURFACE -- the third spatial language on this screen.
 *
 * Three related languages, deliberately not one component repeated:
 *   DU          light in a room. No edge anywhere, no surface at all.
 *   DEINE KÜCHE INSTRUMENT SURFACES. Lit from the side the rails sit on,
 *               anchored to the trace by one squared-off corner, and awake
 *               to being approached.
 *   DEIN KONTO  compact modules. Even radius, even fill, static.
 *
 * What separates a Küche surface from an Account module: the light is
 * DIRECTIONAL (it gathers where the instrument is, so the rails read as part
 * of the surface rather than drawn on top of it), the shape is ASYMMETRIC
 * (the corner facing the trace is nearly square -- the surface hangs off the
 * seam), and the surface RESPONDS. An Account module does none of that,
 * because administration is not personal and should not breathe.
 *
 * P3 NOTE: each surface is its own positioned, rounded, self-contained box
 * with the domain's real values inside it. That makes it a usable ORIGIN for
 * a later expand-into-detail transition -- the surface can grow into the
 * detail screen rather than being replaced by it. Nothing here assumes that
 * yet; it just does not stand in its way.
 * ====================================================================== */
.acct-thread .kitchen-entry{ position:relative;
  border-bottom:none; margin:0 0 var(--s5);
  /* Bleeds LEFT so the surface's own content lands on exactly the same edge
     as the editorial statements above it, while the box itself stops a few
     pixels clear of the trace. The trace stays outside; the surface hangs
     off it. */
  margin-left:calc(10px - var(--thread-pad));
  padding:var(--s5) var(--s5) var(--s5) calc(var(--thread-pad) - 10px);
  border-radius:5px 22px 22px 22px;
  background:
    radial-gradient(72% 128% at 96% 46%, rgba(226,25,181,0.075) 0%, rgba(226,25,181,0) 66%),
    linear-gradient(102deg, rgba(245,241,236,0.032) 0%, rgba(245,241,236,0.015) 52%,
      rgba(245,241,236,0.006) 100%);
  box-shadow:inset 0 1px 0 rgba(245,241,236,0.045);
  transition:background 340ms var(--patient), box-shadow 340ms var(--patient),
    transform 340ms var(--patient); }
.acct-thread .kitchen-entry:last-child{ margin-bottom:0; }
/* AWAKE. The light gathers, the edge catches a little more, and the surface
   lifts by a single pixel -- calm, and unmistakably a response. */
.acct-thread .kitchen-entry:hover,
.acct-thread .kitchen-entry:focus-visible,
.acct-thread .kitchen-entry.is-linked{
  transform:translateY(-1px);
  background:
    radial-gradient(76% 132% at 96% 46%, rgba(226,25,181,0.135) 0%, rgba(226,25,181,0) 68%),
    linear-gradient(102deg, rgba(245,241,236,0.050) 0%, rgba(245,241,236,0.024) 52%,
      rgba(245,241,236,0.010) 100%);
  box-shadow:inset 0 1px 0 rgba(245,241,236,0.085),
    0 14px 34px -22px rgba(226,25,181,0.55); }
.acct-thread .kitchen-entry:active{ transform:translateY(0); opacity:.92; }

/* KÖRPER stays subordinate: a quieter ground, less light, a tighter shape.
   It is private personal context, not a second instrument panel. */
.acct-thread [data-domain="koerper"]{
  border-radius:5px 16px 16px 16px;
  background:
    radial-gradient(64% 120% at 96% 50%, rgba(226,25,181,0.030) 0%, rgba(226,25,181,0) 66%),
    linear-gradient(102deg, rgba(245,241,236,0.022) 0%, rgba(245,241,236,0.010) 60%,
      rgba(245,241,236,0.004) 100%); }
.acct-thread [data-domain="koerper"]:hover,
.acct-thread [data-domain="koerper"]:focus-visible,
.acct-thread [data-domain="koerper"].is-linked{
  background:
    radial-gradient(68% 124% at 96% 50%, rgba(226,25,181,0.065) 0%, rgba(226,25,181,0) 68%),
    linear-gradient(102deg, rgba(245,241,236,0.036) 0%, rgba(245,241,236,0.017) 60%,
      rgba(245,241,236,0.007) 100%);
  box-shadow:inset 0 1px 0 rgba(245,241,236,0.065),
    0 12px 28px -22px rgba(226,25,181,0.34); }

/* ONE INSTRUMENT, NOT TEXT PLUS A GRAPHIC.
   Each cooking answer now sits on the row of the rail that describes it,
   sharing a baseline with it: "Für 4" and its blade are one reading. The
   value is right-aligned against the rail so the pair reads as a single
   object rather than as a label and a picture that happen to be near each
   other. No headers, no legend, no box -- three readings. */
.dom-readout{ grid-column:2; grid-row:1 / span 2; display:flex;
  flex-direction:column; gap:11px; align-items:stretch; }
.dom-line{ display:grid; grid-template-columns:auto clamp(72px, 17vw, 150px);
  align-items:center; column-gap:var(--s4); }
.dom-val{ font-size:14px; line-height:1.2; color:var(--text-body);
  text-align:right; white-space:nowrap;
  transition:color 300ms var(--patient); }
.dom-val-open{ color:var(--text-disabled); }
.kitchen-entry:hover .dom-val, .kitchen-entry:focus-visible .dom-val,
.kitchen-entry.is-linked .dom-val{ color:var(--text-primary); }
.dom-line .kitchen-mini-row{ position:relative; height:13px; }
.dom-line .kitchen-mini-row::before{ content:''; position:absolute;
  left:0; right:0; top:6px; height:1px; background:var(--hairline);
  transition:background 300ms var(--patient); }
.dom-line .kitchen-mini-b{ height:13px; width:2px;
  transition:left 420ms var(--patient), height 260ms var(--patient),
    box-shadow 260ms var(--patient), top 260ms var(--patient); }
.kitchen-entry:hover .kitchen-mini-b,
.kitchen-entry:focus-visible .kitchen-mini-b,
.kitchen-entry.is-linked .kitchen-mini-b{
  height:19px; top:-3px; box-shadow:0 0 11px 1px rgba(226,25,181,0.62); }
.kitchen-entry:hover .dom-line .kitchen-mini-row::before,
.kitchen-entry.is-linked .dom-line .kitchen-mini-row::before{
  background:var(--border-strong); }

/* KÖRPER states itself in the same column, and states a fact rather than a
   position. The overview rail was removed deliberately: one mark inside the
   member's own recorded range is a movement story told by a picture, and
   this surface answers "where do I stand", not "where am I heading". */
.dom-readout-single{ justify-content:center; align-items:flex-end; gap:4px; }
.dom-measure{ display:inline-flex; align-items:baseline; gap:5px;
  font-family:var(--font-d); font-weight:500;
  font-size:clamp(26px, 6vw, 34px); line-height:1;
  color:var(--text-primary); font-variant-numeric:tabular-nums;
  transition:color 300ms var(--patient); }
.dom-measure-meta{ font-size:13px; color:var(--text-secondary); }
/* The affordance lives on the name, not in a chevron column: a settings list
   has chevrons, an editorial entry has a direction. */
.kitchen-entry-name{ display:block; }
.kitchen-entry-name::after{ content:'\2192'; display:inline-block;
  margin-left:.42em; font-size:.68em; opacity:.28;
  transition:opacity 260ms var(--patient), transform 260ms var(--patient); }
.kitchen-entry:hover .kitchen-entry-name::after,
.kitchen-entry:focus-visible .kitchen-entry-name::after,
.kitchen-entry.is-linked .kitchen-entry-name::after{
  opacity:.85; transform:translateX(5px); }
.acct-thread .kitchen-entry-name{ font-size:clamp(24px, 5.2vw, 30px); }
.acct-thread .kitchen-entry-sub{ margin-top:9px; font-size:14px; }
.acct-thread .kitchen-entry:active{ opacity:.82; }

@media (max-width:640px){
  /* MOBILE: the reading STACKS under the domain rather than squeezing into a
     second column. Side by side, a 358px row left the name about 130px and
     pushed its arrow onto a line of its own. Stacked, the name gets the full
     measure and each reading gets a full-width rail -- which reads more like
     an instrument panel here, not less. */
  /* Stacked, the instrument sits in the LOWER half of the surface, so the
     light moves with it -- the rails stay inside their own light rather than
     next to it. */
  /* The surface costs vertical room, so it gives some back: tighter padding
     and a shorter gap before the domains keep the page close to where it was
     before the surfaces existed. */
  .acct-receipt-list{ margin-bottom:var(--s7); }
  .acct-thread .kitchen-entry{ grid-template-columns:1fr; margin-bottom:var(--s5);
    padding-top:var(--s4); padding-bottom:var(--s4);
    background:
      radial-gradient(84% 62% at 78% 82%, rgba(226,25,181,0.075) 0%, rgba(226,25,181,0) 70%),
      linear-gradient(168deg, rgba(245,241,236,0.032) 0%, rgba(245,241,236,0.014) 58%,
        rgba(245,241,236,0.006) 100%); }
  .acct-thread .kitchen-entry:hover,
  .acct-thread .kitchen-entry:focus-visible,
  .acct-thread .kitchen-entry.is-linked{
    background:
      radial-gradient(88% 66% at 78% 82%, rgba(226,25,181,0.135) 0%, rgba(226,25,181,0) 72%),
      linear-gradient(168deg, rgba(245,241,236,0.050) 0%, rgba(245,241,236,0.023) 58%,
        rgba(245,241,236,0.010) 100%); }
  .acct-thread [data-domain="koerper"]{
    background:
      radial-gradient(70% 56% at 74% 84%, rgba(226,25,181,0.030) 0%, rgba(226,25,181,0) 70%),
      linear-gradient(168deg, rgba(245,241,236,0.022) 0%, rgba(245,241,236,0.010) 62%,
        rgba(245,241,236,0.004) 100%); }
  .acct-thread .kitchen-entry-text{ grid-column:1; grid-row:1; }
  .acct-thread .kitchen-entry-name{ font-size:24px; }
  .dom-readout{ grid-column:1; grid-row:2; margin-top:var(--s4); }
  .dom-line{ grid-template-columns:7.6em 1fr; column-gap:var(--s4); }
  .dom-val{ font-size:13.5px; text-align:left; }
  .dom-readout-single{ align-items:flex-start; margin-top:var(--s3); }
}
/* ====================================================================== *
 * THE MEASURE -- Weight (Slice 3).
 *
 * Same family as the calibrated rail, inverted. On the discrete rails the
 * scale stands still and the blade travels, because eight answers fit on
 * screen. Weight has 2 200 possible answers, so the relationship flips the
 * way it does on a real instrument: THE INDEX IS FIXED AND THE TAPE MOVES
 * UNDER IT. Same blade, same bloom, same trough, same drag and settle.
 *
 * The tape visibly runs past both edges of its window, which is the whole
 * affordance -- nothing that continues beyond its frame reads as static.
 * ====================================================================== */
.wt-measure{ --wt-vs:52px; margin:var(--s6) 0 var(--s7); max-width:34rem; }   /* --wt-vs: the readout's font size, one value for the number and for the room its collapsible wrapper needs */
/* Once measurements exist the hero number is already stated above, so the
   instrument stops repeating it: the same control, in a recording role
   rather than a display one. Shouting "77,9 kg" twice in a row read as a
   bug, not as emphasis. */

.wt-readout{ display:flex; align-items:baseline; gap:8px; margin:0 0 var(--s4); }
.wt-value{ font-family:var(--font-d); font-weight:500; font-size:var(--wt-vs); line-height:1;
  letter-spacing:0.01em; color:var(--text-primary); font-variant-numeric:tabular-nums; }
.wt-unit{ font-family:var(--font-c); font-size:13px; font-weight:500; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--muted); }

/* The window is the instrument's aperture. Its edges fade the tape out so
   the scale reads as continuing beyond the frame rather than being cut. */
.wt-window{ position:relative; height:76px; overflow:hidden; cursor:grab;
  touch-action:pan-y; margin:0 0 var(--s5);
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, black 11%, black 89%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0%, black 11%, black 89%, transparent 100%); }
.wt-window.is-held{ cursor:grabbing; }
.wt-tape{ position:absolute; top:0; left:0; height:76px; will-change:transform; }
.wt-mark{ position:absolute; top:30px; width:1px; height:9px; background:var(--hairline); }
.wt-mark.is-whole{ top:27px; height:12px; background:var(--text-disabled); }
.wt-mark.is-major{ top:22px; height:17px; background:var(--muted); }
.wt-num{ position:absolute; top:46px; transform:translateX(-50%);
  font-family:var(--font-d); font-weight:400; font-size:12px; letter-spacing:0.04em;
  color:var(--text-disabled); }
/* The index -- the same blade as the rails, standing still. */
.wt-index{ position:absolute; left:50%; top:14px; width:3px; height:34px; margin-left:-1.5px;
  background:var(--magenta); border-radius:1.5px; pointer-events:none;
  box-shadow:0 0 14px 2px rgba(226,25,181,0.55), 0 0 3px 0 rgba(226,25,181,0.9);
  transition:height 180ms var(--patient), top 180ms var(--patient), box-shadow 180ms var(--patient); }
.wt-index::after{ content:''; position:absolute; left:50%; top:50%;
  width:34px; height:34px; margin:-17px 0 0 -17px; border-radius:50%;
  background:radial-gradient(circle, rgba(226,25,181,0.26) 0%, rgba(226,25,181,0) 70%);
  transition:transform 200ms var(--patient); }
.wt-window:hover .wt-index{ height:38px; top:12px; }
.wt-window.is-held .wt-index{ height:44px; top:9px;
  box-shadow:0 0 20px 3px rgba(226,25,181,0.65), 0 0 4px 0 rgba(226,25,181,1);
  transition-duration:90ms; }
.wt-window.is-held .wt-index::after{ transform:scale(1.5); }

/* DORMANT vs ENGAGED. With a record above it the instrument arrives as an
   ACTION, not a display: its readout collapses to nothing so it cannot
   repeat the authoritative value as a second headline. It is still fully
   visible and fully draggable -- only the number defers. The moment the
   member engages, the readout opens and takes prominence, because from then
   on the draft is the number that matters. */
.wt-measure.is-action .wt-readout{ height:0; opacity:0; overflow:hidden;
  margin:0; transition:height 280ms var(--patient), opacity 200ms var(--patient),
  margin 280ms var(--patient); }
/* The wrapper clips while it collapses, so its open height must follow the number's own size: a fixed 46px cut the
   digits and the comma at 52px and 62px. 1.12em clears the line box and the comma's descender. */
.wt-measure.is-action.is-engaged .wt-readout{ height:calc(var(--wt-vs) * 1.12); opacity:1; margin:0 0 var(--s4); }
.wt-measure.is-action.is-engaged .wt-value{ color:var(--text-primary); }

/* PRECISION ENTRY. One calibrated trough holding the stepper, the number and
   its unit -- the same recessed ground as the rail, so typing a value reads
   as another way of driving the instrument rather than a form pasted below
   it. The <input> keeps its native semantics untouched. */
.wt-entry{ display:flex; align-items:stretch; gap:0; margin:0 0 var(--s5);
  border-top:1px solid var(--hairline); border-bottom:1px solid var(--hairline);
  background:linear-gradient(180deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0) 62%); }
.wt-step{ width:52px; flex:none; min-height:56px; background:none; border:none;
  border-right:1px solid var(--hairline); color:var(--text-secondary);
  font-size:19px; line-height:1; cursor:pointer;
  transition:color 180ms var(--patient), background-color 180ms var(--patient); }
.wt-entry .wt-step:last-child{ border-right:none; border-left:1px solid var(--hairline); }
.wt-step:hover{ color:var(--text-primary); }
.wt-step:active{ background:rgba(226,25,181,0.12); color:var(--text-primary); transition-duration:70ms; }
.wt-entry-field{ flex:1; min-width:0; display:flex; flex-direction:column;
  justify-content:center; padding:5px var(--s4) 6px; cursor:text; }
.wt-entry-lbl{ font-size:9.5px; letter-spacing:0.2em; text-transform:uppercase;
  color:var(--muted); font-weight:600; }
.wt-entry-row{ display:flex; align-items:baseline; gap:6px; }
/* The INPUT carries the 44px target itself, not just its label wrapper.
   Measured at 198x28 before this: tapping the surrounding label did focus
   it, but the control a member actually aims at was under the minimum. */
.wt-entry input{ width:100%; min-width:0; min-height:44px; background:none;
  border:none; padding:0; color:var(--text-primary); font-family:var(--font-d);
  font-weight:500; font-size:22px; line-height:44px;
  font-variant-numeric:tabular-nums; }
.wt-entry input:focus{ outline:none; }
.wt-entry-field:focus-within{ background:rgba(226,25,181,0.06); }
.wt-entry-field:focus-within .wt-entry-lbl{ color:var(--magenta); }
.wt-entry input:focus-visible{ outline:none; }
.wt-entry-unit{ font-family:var(--font-c); font-size:11px; font-weight:500;
  letter-spacing:0.16em; text-transform:uppercase; color:var(--muted); }
/* Native spinners removed: the stepper beside the field IS the spinner, and
   two of them in one trough would be one too many. */
.wt-entry input::-webkit-outer-spin-button,
.wt-entry input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.wt-entry input[type=number]{ -moz-appearance:textfield; }

/* COMMIT. A ruled action bar, not a filled slab -- the instrument stays the
   protagonist. The blade at the leading edge is the same vocabulary as the
   rail index, and it extends on hover, press and keyboard focus, so the
   control is unmistakably actionable without shouting. The word is always
   present; nothing here is an icon-only mystery. */
.wt-commit{ display:flex; align-items:center; gap:var(--s4); width:100%;
  min-height:56px; padding:0 var(--s4) 0 0; margin:0 0 var(--s2);
  background:none; border:none; border-bottom:1px solid var(--hairline);
  cursor:pointer; text-align:left; font-family:inherit; position:relative; }
.wt-commit-blade{ width:3px; height:22px; flex:none; border-radius:1.5px;
  background:var(--magenta); box-shadow:0 0 10px 1px rgba(226,25,181,0.45);
  transition:height 220ms var(--patient), box-shadow 220ms var(--patient); }
.wt-commit-label{ font-family:var(--font-d); font-weight:500; font-size:17px;
  letter-spacing:0.02em; color:var(--text-primary); flex:1;
  transition:color 200ms var(--patient); }
.wt-commit-date{ font-size:12px; color:var(--muted); white-space:nowrap; }
.wt-commit:hover .wt-commit-blade,
.wt-commit:focus-visible .wt-commit-blade{ height:34px; box-shadow:0 0 16px 2px rgba(226,25,181,0.6); }
.wt-commit:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
.wt-commit:active .wt-commit-blade{ height:40px; transition-duration:80ms; }
.wt-commit.is-pending{ cursor:default; }
.wt-commit.is-pending .wt-commit-label{ color:var(--text-secondary); }
.wt-commit:disabled{ cursor:default; }

.wt-measure .kitchen-msg{ margin-top:var(--s3); }

/* LATEST -- the answer first, then the one step before it. No verdict, no
   colour coding, no arrow: the delta is a fact stated quietly. */
.wt-latest{ margin:var(--s5) 0 0; }
.wt-latest-v{ font-family:var(--font-d); font-weight:500; font-size:56px; line-height:1;
  color:var(--text-primary); font-variant-numeric:tabular-nums; margin:0 0 6px; }
.wt-latest-u{ font-family:var(--font-c); font-size:13px; font-weight:500;
  letter-spacing:0.16em; text-transform:uppercase; color:var(--muted); margin-left:9px; }
.wt-latest-meta{ font-size:13px; color:var(--text-secondary); margin:0; }
.wt-delta{ color:var(--text-primary); font-variant-numeric:tabular-nums; }

/* THE LEDGER -- a measurement log, not a chart. There are no axes, no line
   and no area: each row states its own date and value, and carries one mark
   whose position within the member's OWN recorded range shows how that entry
   sat against the others. Calibration, not analytics. */
.wt-ledger{ margin:var(--s6) 0 0; max-width:34rem; }
.wt-ledger ul{ list-style:none; margin:var(--s4) 0 0; padding:0; }
.wt-row{ display:grid; grid-template-columns:auto 1fr auto auto; align-items:center;
  gap:var(--s4); padding:11px 0; border-bottom:1px solid var(--hairline); }
.wt-row:last-child{ border-bottom:none; }
.wt-row-date{ font-size:12.5px; color:var(--text-secondary); white-space:nowrap; }
.wt-row-scale{ position:relative; height:14px; min-width:40px; }
.wt-row-scale::before{ content:''; position:absolute; left:0; right:0; top:6px;
  height:1px; background:var(--hairline); }
.wt-row-mark{ position:absolute; top:2px; width:1px; height:9px; margin-left:-0.5px;
  background:var(--text-disabled); }
.wt-row.is-latest .wt-row-mark{ width:2px; margin-left:-1px; height:13px; top:0;
  background:var(--magenta); box-shadow:0 0 7px 0 rgba(226,25,181,0.45); }
.wt-row-kg{ font-family:var(--font-d); font-weight:400; font-size:16px;
  color:var(--text-secondary); font-variant-numeric:tabular-nums; white-space:nowrap; }
.wt-row.is-latest .wt-row-kg{ color:var(--text-primary); font-weight:500; }
/* Vertical negative margin only. A negative RIGHT margin pulled the 44px hit
   box 12px past the content column and widened the document to 394 against a
   390 viewport -- the bottom nav stretched with it. The hit area stays full
   size; it just stays inside the column. */
.wt-row-del{ width:44px; height:44px; margin:-11px 0; padding:0;
  background:none; border:none; cursor:pointer; color:var(--text-disabled);
  display:flex; align-items:center; justify-content:center;
  transition:color 200ms var(--patient); }
.wt-row-del:hover{ color:var(--magenta); }
.wt-row-del svg{ width:15px; height:15px; }

@media (max-width:640px){
  .wt-measure{ --wt-vs:44px; }
  .wt-latest-v{ font-size:46px; }
  .wt-window{ height:70px; }
  .wt-tape{ height:70px; }
}
@media (min-width:1024px){
  /* The instrument gains presence rather than width: a wider aperture shows
     more of the scale, which is the thing a bigger canvas can actually add. */
  .wt-measure, .wt-ledger{ max-width:38rem; }
  .wt-measure{ --wt-vs:62px; }
  .wt-latest-v{ font-size:68px; }
  .wt-window{ height:88px; }
  .wt-tape{ height:88px; }
  .wt-num{ top:54px; }
}

/* .btn-quiet is 27px tall by default -- measured on "Hintergrund" and
   "Community-Richtlinien". Same 44px-hit-area-without-44px-of-weight pattern
   as .acct-edit above, so the tier's visual demotion is unchanged. Scoped to
   this screen deliberately: the base class has 33 call sites across the
   product and widening the fix is a separate decision, not this pass. */
.acct .acct-admin-body .btn-quiet{
  display:inline-flex; align-items:center; min-height:44px; margin:-9px 0; }

/* The modules arrive one after another, out of the lid rather than all at
   once -- the same "animate FROM, never TO" rule as the panel itself, so a
   module whose animation never runs is simply already in place. */
.acct-admin[open] .acct-mod{ animation:acctLidOpen 460ms var(--patient) backwards; }
.acct-admin[open] .acct-mod:nth-child(2){ animation-delay:60ms; }
.acct-admin[open] .acct-mod:nth-child(3){ animation-delay:120ms; }
.acct-admin[open] .acct-mod:nth-child(4){ animation-delay:180ms; }

/* ---------------------------------------------------------------------- *
 * MOTION SYSTEM (Motion & Premium Depth pass) -- native only. Lenis was
 * evaluated for this screen and deliberately not adopted; the reasoning is
 * recorded at initAccountMotion() in app.js.
 *
 * Two mechanisms, one job each, and CSS owns every transform:
 *   .is-entering  arrival beats, applied once per VISIT (not per render)
 *   --sig-y       the Signal's depth drift, written by a rAF-coalesced read
 * (.acct-reveal, the below-the-fold scroll arrival this list once included,
 * was removed -- see the note further down, where its observer used to sit.)
 * JS writes a class or a custom property. It never writes style.transform --
 * same discipline the public site's GSAP surfaces already follow.
 * ---------------------------------------------------------------------- */
/* ARRIVAL. Content lands onto a surface that is already there: the card's
   ground, its hairlines and the section rules never animate, so nothing reads
   as a box sliding into place. The beats follow the screen's own semantic
   order -- person, situation, focus, then the adaptation as the consequence
   of the three above it. Last beat is fully in at ~960ms. */
/* FALLBACK ONLY. When GSAP is present it owns the arrival outright (see
   initAccountMotion) and .acct-gsap suppresses this path, so the two systems
   can never animate the same opacity from two directions. */
.acct.is-entering .kicker,
.acct.is-entering .acct-beat,
.acct.is-entering .acct-thread{
  opacity:0; transform:translateY(9px);
  animation:acctRise 620ms var(--patient) forwards; }
.acct.is-entering .acct-beat-person{ animation-delay:70ms; }
.acct.is-entering .acct-beat-situation{ animation-delay:150ms; }
.acct.is-entering .acct-beat-focus{ animation-delay:230ms; }
.acct.is-entering .acct-thread{ animation-delay:340ms; }
@keyframes acctRise{ to{ opacity:1; transform:none; } }

/* ESSEN & KOCHEN arrival. Same grammar as the Account beats -- content lands
   onto a stable surface, in reading order, once per visit. The instruments
   are the beats here. Deliberately NOT gated on scroll: all three sit within
   one viewport at both reference sizes, so a member would be waiting for
   controls already in front of them. */
.essen.is-entering .kicker,
.essen.is-entering .essen-title,
.essen.is-entering .essen-lede,
.essen.is-entering .kitchen-inst,
.essen.is-entering .essen-foot{
  opacity:0; transform:translateY(9px);
  animation:acctRise 620ms var(--patient) forwards; }
.essen.is-entering .essen-title{ animation-delay:60ms; }
.essen.is-entering .essen-lede{ animation-delay:120ms; }
.essen.is-entering .kitchen-inst:nth-of-type(1){ animation-delay:210ms; }
.essen.is-entering .kitchen-inst:nth-of-type(2){ animation-delay:280ms; }
.essen.is-entering .kitchen-inst:nth-of-type(3){ animation-delay:350ms; }
.essen.is-entering .essen-foot{ animation-delay:440ms; }

/* Weight uses the same arrival grammar as Essen & Kochen. */
.wt.is-entering .kicker,
.wt.is-entering .essen-title,
.wt.is-entering .essen-lede,
.wt.is-entering .wt-latest,
.wt.is-entering .wt-measure,
.wt.is-entering .wt-ledger,
.wt.is-entering .essen-foot{
  opacity:0; transform:translateY(9px);
  animation:acctRise 620ms var(--patient) forwards; }
.wt.is-entering .essen-title,
.wt.is-entering .wt-latest{ animation-delay:60ms; }
.wt.is-entering .essen-lede{ animation-delay:120ms; }
.wt.is-entering .wt-measure{ animation-delay:210ms; }
.wt.is-entering .wt-ledger{ animation-delay:300ms; }
.wt.is-entering .essen-foot{ animation-delay:400ms; }

/* The .acct-reveal scroll arrival was removed with its observer: the tier it
   gated holds the only route to signing out, and nothing that critical should
   depend on a callback firing. See initAccountMotion for the full reasoning. */

/* ---------------------------------------------------------------------- *
 * K1-D -- PERMANENT ACCOUNT DELETION SHEET.
 *
 * Built entirely from primitives this product already has: the sheet, the
 * kicker, .btn-block, and the same bordered field box the name sheet uses.
 * No danger zone, no red panel, no warning iconography -- the seriousness
 * is carried by the copy and by the fact that the member has to type their
 * password, which is exactly where it belongs. The destructive button is
 * the QUIET one and "Abbrechen" is the primary: on an irreversible action
 * the safe choice should be the one that is easiest to hit.
 * ---------------------------------------------------------------------- */
.sheet-delete{ text-align:left; }
.del-title{ font-family:var(--font-d); font-weight:500; font-size:22px;
  line-height:1.18; color:var(--text-primary); margin:0 0 10px;
  text-transform:none; }
.del-body{ font-size:14px; line-height:1.6; color:var(--text-body); margin:0 0 var(--s4); }
.del-list{ margin:0 0 var(--s4); padding:0 0 0 18px; }
.del-list li{ font-size:14px; line-height:1.6; color:var(--text-body); }
.del-note{ font-size:13px; line-height:1.55; color:var(--muted); margin:0 0 var(--s5); }
.del-error{ font-size:13.5px; line-height:1.5; color:var(--action-destructive);
  margin:var(--s3) 0 var(--s4); }
/* The destructive control: reachable, never inviting. Its border only picks
   up the destructive colour on hover/focus, so the resting sheet has no red
   in it at all. */
.del-go{ border-color:var(--hairline); color:var(--action-destructive);
  margin-bottom:10px; }
.del-go:hover:not([disabled]), .del-go:focus-visible{ border-color:var(--action-destructive); }
.del-go[disabled]{ opacity:.6; cursor:default; color:var(--muted); }
.sheet-delete .btn[disabled]{ opacity:.6; cursor:default; }
.sheet-delete .report-reason-box{ margin-bottom:var(--s2); }
/* Option A: a quiet pointer to the existing password recovery, under the
   password field. Reuses .del-note and .btn-quiet; only spacing and a 44px
   touch target are added. */
.del-pwset{ margin:0 0 var(--s4); }
.del-pwset .del-note{ margin:0 0 var(--s2); }
.del-pwset .btn-quiet{ min-height:44px; text-align:left; }

/* ---------------------------------------------------------------------- *
 * P3 -- THE TRANSITION SURFACE.
 *
 * The ONE transient node in the domain transition (see the P3 block in
 * app.js). It carries the Account surface's own ground and radius across the
 * screen swap and dissolves as the detail resolves, so opening a domain
 * reads as that surface opening rather than as a new page arriving.
 *
 * Nothing on it is interactive, it is hidden from assistive technology, and
 * xferKill() removes it on every render and on resize -- it can never
 * outlive the screen that created it.
 * ---------------------------------------------------------------------- */
.xfer-surface{ position:fixed; z-index:6; pointer-events:none;
  background-repeat:no-repeat; background-size:100% 100%;
  will-change:left, top, width, height, opacity; }
/* The detail screens sit above the transition surface, so the content is
   never veiled by the thing that is delivering it. */
.essen, .wt{ position:relative; z-index:7; }

.name-sheet-input, .report-reason-detail input[type="text"]{
  width:100%; background:none; border:none; padding:2px 0; color:var(--text-primary);
  font-family:var(--font-c); font-size:16px; }
.report-reason-detail input[type="text"]::placeholder{ color:var(--muted); }
.report-reason-detail input[type="text"]:focus-visible{ outline:2px solid var(--magenta); outline-offset:2px; }

@media (max-width:640px){
  /* The tall bottom band is deliberate negative space, not padding left over:
     it is the region the Signal occupies, and the only place on a 390px plate
     where a complete symbol can sit without crossing a line of type. */
  .acct-card{ margin-bottom:var(--s6); padding:var(--s5) 0 158px; }
  /* Anchored to the top-right corner on mobile rather than vertically
     centred: the card is tall and narrow here, so a centred symbol would
     sit behind the Focus row instead of beside the name. Complete and
     uncropped here too. Size and position are measured, not guessed -- at
     132px the ring ran straight through the situation headline. The card's
     one genuinely empty region is x248-352 / y186-290: right of "Passt
     nicht mehr?" (which ends at x100), right of the Focus eyebrow's ink,
     and above the Focus row itself (whose words start at y290). 104px fits
     that void whole, so the complete symbol sits in the composition's
     negative space instead of across its type. */
  /* Recomposed for the editorial name scale: the plate's genuinely empty
     region moved down and left when the name grew, so the mark moves with
     it. Complete and uncropped here too -- it is placed in the composition's
     negative space, never across its type. */
  .acct-sig{ width:138px; height:138px; top:auto; bottom:6px; right:0; }
}
@media (prefers-reduced-motion:reduce){
  /* A complete, composed, static screen -- not the animated one with its
     motion removed. Every beat at its final state, the Signal at its
     specified opacity, the settings tier revealed outright, and --sig-y
     pinned to 0 so no scroll position can displace the composition. */
  .acct.is-entering .kicker,
  .acct.is-entering .acct-beat,
  .acct.is-entering .acct-thread,
  .essen.is-entering .kicker,
  .essen.is-entering .essen-title,
  .essen.is-entering .essen-lede,
  .essen.is-entering .kitchen-inst,
  .essen.is-entering .essen-foot,
  .wt.is-entering .kicker,
  .wt.is-entering .essen-title,
  .wt.is-entering .essen-lede,
  .wt.is-entering .wt-latest,
  .wt.is-entering .wt-measure,
  .wt.is-entering .wt-ledger,
  .wt.is-entering .essen-foot{
    opacity:1; transform:none; animation:none; transition:none; }
  .acct-sig{ opacity:.17; animation:none; }
  .acct-sig svg{ transform:none; }
  .acct-sig::before{ transform:none; }
  .focus-ok{ transition:none; }
  /* The composition stays complete and fully legible: the trace is drawn,
     the markers are on it, the instruments show the member's real values.
     Only the movement between states is removed -- including the one-shot
     recognition beat, which is an animation and nothing else. */
  .acct-thread-line{ transform:none; }
  .acct-admin[open] .acct-admin-body, .sl-add-more[open] .sl-add-body,
  .acct-admin[open] .acct-mod{ animation:none; }
  .acct-mod-row .btn-quiet, .dom-val, .dom-measure{ transition:none; }
  .acct-beat-situation.is-recognised .acct-anchor,
  .acct-receipt-list li.is-recognised .adapt-effect{ animation:none; }
  .acct-beat-situation .acct-lbl, .acct-beat-situation .acct-lbl::after,
  .adapt-src, .adapt-src::after, .acct-admin-mark::before,
  .acct-admin-mark::after, .sl-add-mark::before, .sl-add-mark::after, .dom-line .kitchen-mini-row::before,
  .kitchen-entry-name::after{ transition:none; }
  /* Slice 2 -- the instruments stay fully functional and fully legible; only
     the movement between their states is removed. The confirmation and the
     error still appear, they simply do not fade. */
  .kitchen-tick, .kitchen-tick::after, .kitchen-lab, .kitchen-step-btn,
  .kitchen-msg, .kitchen-entry-name, .kitchen-mini-b,
  .wt-index, .wt-index::after, .wt-row-del,
  .wt-commit-blade, .wt-commit-label, .wt-step, .wt-entry-field{ transition:none; }
  /* The readout still opens on engagement -- it just does so instantly. */
  .wt-measure.is-action .wt-readout{ transition:none; }
}

/* sheets */
.sheet-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:20; display:flex; align-items:flex-end; justify-content:center; }
.sheet{ background:var(--surface-elevated); border-top-left-radius:20px; border-top-right-radius:20px; padding:var(--s6) var(--s5) max(var(--s6), env(safe-area-inset-bottom));
  width:100%; max-width:520px; text-align:center;
  /* Defensive only -- cancel/delete sheets never approach this; the
     report sheet, with six rows plus a possible detail field, is the one
     sheet that could theoretically outgrow a short mobile viewport.
     Internal scroll, never viewport-chrome clipping. */
  max-height:85vh; overflow-y:auto; }
.sheet-handle{ width:36px; height:4px; border-radius:2px; background:var(--hairline); margin:0 auto var(--s5); }

/* Phase 4B canonical design pass -- the report sheet now inherits
   CRVD.KITCHEN's existing single-choice grammar (the Recognition/PACE
   picker: .rec-item / .rec.has-selection) at compact sheet scale, rather
   than the radio-dot/divider-ladder language the previous pass invented.
   Deliberately NOT .rec-item directly -- that component's own spacing
   (var(--s8) = 64px between items) and type scale (a 20-26px headline
   plus a 15.5px body paragraph per row) are sized for a full-screen
   onboarding moment, not a compact moderation sheet. This reproduces the
   same INTERACTION language (always-reserved 2px left rule, hover
   previews it in --hairline, selection lights it in --magenta, once any
   selection exists every other row recedes to --text-secondary, no
   layout shift on selection, no font-weight change) at the sheet's own
   type scale -- same grammar, different dimensions, exactly as
   requested. */
.sheet-left{ text-align:left; }
/* .report-sheet-title / .report-sheet-instruction are the SAME role as .cm-open-title /
   .cm-open-desc -- a dialog's title and its one explaining line. They were defined separately and
   drifted one pixel and three hundredths of an em apart, which is why the Account dialogs read as a
   different design from the Kitchen ones. The definition now lives in one place (see .cm-open-title
   below); these names are kept because eight dialog bodies use them. */

/* Phase 4B, second design pass -- bordered-choice-row system, replacing
   the flat left-rule pattern the Founder rejected in live review. A
   <button> cannot legally contain a <textarea>, so each choice is now a
   plain .report-reason-box (the bordered surface) wrapping an unstyled
   .report-reason-label button plus, only for the selected "Etwas
   anderes" row, a sibling .report-reason-detail section inside that same
   box -- the expansion reads as part of that choice's own surface, not
   an element appended after the list. */
.report-reasons{ margin:var(--s4) 0; }
.report-reasons > div + div{ margin-top:6px; }
.report-reason-box{ border:1px solid var(--border-strong); border-radius:10px;
  background:none;
  transition:border-color 200ms var(--patient), background-color 200ms var(--patient); }
/* Visible but restrained -- the border is already the resting-state
   affordance (deliberately border-strong by default, not the usual
   --hairline this app's cards start from, so all six choices read as
   obviously bordered/tappable without needing hover to reveal them).
   Hover therefore adds a distinct, separate signal: a faint neutral
   wash, never magenta -- magenta is reserved for the selected state
   alone, so hover can never be mistaken for it. */
.report-reason-box:hover{ background:rgba(255,255,255,0.03); }
.report-reason-box.is-selected{ border-color:var(--magenta); background:var(--surface-selected); }
/* Recession, never elimination -- every other choice stays fully
   readable and fully selectable once one is chosen; both its border and
   its label soften a step (border-strong -> hairline, text-primary ->
   text-secondary) rather than just one, so the receded state reads
   clearly as "still here, just not the answer" instead of vanishing. */
.report-reasons.has-selection .report-reason-box:not(.is-selected){ border-color:var(--hairline); }

.report-reason-label{ display:flex; align-items:center; width:100%; min-height:44px;
  text-align:left; background:none; border:none; padding:0 var(--s3);
  font-family:var(--font-c); font-size:14.5px; line-height:1.4; color:var(--text-primary);
  cursor:pointer; transition:color 200ms var(--patient); }
.report-reason-label:focus-visible{ outline:2px solid var(--magenta); outline-offset:2px; }
.report-reasons.has-selection .report-reason-box:not(.is-selected) .report-reason-label{ color:var(--text-secondary); }

/* Quiet internal separator between the label and the detail field --
   still visually one surface (same box, same border, same radius), just
   two zones within it. */
.report-reason-detail{ border-top:1px solid var(--hairline); padding:8px var(--s3) 10px; }
.report-reason-detail textarea{ width:100%; background:none; border:none; border-radius:0;
  padding:2px 0; color:var(--text-primary); font-family:var(--font-c); font-size:16px;
  min-height:44px; resize:vertical; }
.report-reason-detail textarea::placeholder{ color:var(--muted); }
.report-reason-detail textarea:focus-visible{ outline:2px solid var(--magenta); outline-offset:2px; }

/* Actions sit directly beside the choices, not centered below a large
   empty gap. Desktop: one left-aligned row, Melden at its own intrinsic
   width, Abbrechen immediately beside it and visually subordinate
   (.btn-quiet, not a second .btn-block). Mobile: Melden goes full width,
   Abbrechen drops to its own quiet line beneath -- a pure CSS breakpoint,
   no JS viewport branch. */
.report-actions{ display:flex; align-items:center; gap:var(--s4); margin-top:var(--s4); }
@media (max-width:640px){
  .report-actions{ flex-direction:column; align-items:flex-start; gap:var(--s3); }
  .report-actions .btn-primary{ width:100%; }
}

@media (prefers-reduced-motion:reduce){
  .pub-reveal, .screen-anim, .presence-dot, .entry-signal-inner, .ceremony-signal-inner, .app-topbar-soft{ transition-duration:0.01ms !important; animation-duration:0.01ms !important; }
  .pub-section-inner.pub-reveal > *{ transition-duration:0.01ms !important; transition-delay:0ms !important; animation-duration:0.01ms !important; }
}

/* ---------- Tablet ---------- */
@media (min-width:641px){
  .app-content-inner{ max-width:600px; }
  /* .quicklinks' 3-column override was sized for the Dashboard's former
     3-item quicklink row (Rezepte/Community/PL8); with exactly 2 items
     since Dashboard Step 4, it left an empty third cell at tablet widths.
     .quicklinks has no other markup consumer in the file, so removing the
     override here is safe -- the base 2-column rule (already re-asserted
     at >=1024px) now applies unbroken from 0 up. */
  .bt-grid{ grid-template-columns:1fr 1fr; }
}

/* ---------- Desktop: sidebar navigation, wide grids, no bottom nav ---------- */
@media (min-width:1024px){
  .app-bottomnav{ display:none; }
  .app-sidebar{ display:flex; flex-direction:column; width:232px; flex-shrink:0; border-right:1px solid var(--hairline);
    padding:var(--s6) var(--s4); gap:4px; position:sticky; top:calc(65px + var(--preview-banner-h)); align-self:flex-start; height:calc(100vh - 65px - var(--preview-banner-h)); }
  .app-sidebar button{ display:flex; align-items:center; gap:12px; background:none; border:none; color:var(--muted); font-size:14px;
    padding:12px 14px; border-radius:10px; cursor:pointer; text-align:left; }
  .app-sidebar button svg{ width:19px; height:19px; }
  .app-sidebar button.active{ background:var(--surface); color:var(--text-primary); }
  .app-sidebar button.active svg{ color:var(--magenta); }
  /* PL8 stays a separate, visibly premium entry (DH-17): its own rest, a premium surface, the Signal's magenta on the icon */
  .app-sidebar button.nav-pl8{ margin-top:var(--s4); border:1px solid var(--border-premium); background:var(--surface-premium); color:var(--text-body); }
  .app-sidebar button.nav-pl8 svg{ color:var(--magenta); }
  .app-sidebar button.nav-pl8.active{ color:var(--text-primary); }
  .app-content{ padding:var(--s6) var(--s7) var(--s8); }
  .app-content-inner{ max-width:1100px; }
  .dash-grid{ grid-template-columns:2fr 1fr; align-items:start; }
  .quicklinks{ grid-template-columns:1fr 1fr; }
  .bt-grid{ grid-template-columns:1fr 1fr; max-width:760px; }
  .pl8-feature-list{ grid-template-columns:1fr 1fr; }
}

/* ---- COMMUNITY MICRO-FEEDBACK ---------------------------------------
   One question per interaction: does the member immediately know it
   landed? Answered with the smallest device that answers it -- a press
   state, a tonal change, a word, a single 260ms pulse. Not with the same
   animation everywhere. */
/* ANERKENNEN, confirmed. A single restrained ring of energy leaving the
   dot: acknowledgement received, not a score celebrated. 300ms, once,
   never on reversal. */
@keyframes cfAckPulse{
  0%   { opacity:.55; transform:translate(-50%,-50%) scale(.5); }
  70%  { opacity:.14; }
  100% { opacity:0;   transform:translate(-50%,-50%) scale(3.1); }
}
.cf-ack{ position:relative; }
.cf-ack .cf-pulse{ position:absolute; left:11px; top:50%; width:10px; height:10px;
  margin:0; border-radius:50%; pointer-events:none;
  background:radial-gradient(circle, rgba(226,25,181,.55) 0%, rgba(226,25,181,0) 70%);
  transform:translate(-50%,-50%) scale(.5); opacity:0;
  animation:cfAckPulse 300ms var(--patient); }
/* Reversal is deliberately quieter: a contraction and back to outline. */
@keyframes cfAckOff{ 0%{ transform:scale(1); } 45%{ transform:scale(.72); } 100%{ transform:scale(1); } }
.cf-dot.is-off{ animation:cfAckOff 220ms var(--patient); }

/* Press states for the rest of the room's controls. Nothing animated on
   arrival -- only in response to a finger. */
.cf-share:active{ transform:scale(.975); }
.cf-share{ transition:opacity 220ms var(--patient), transform 90ms var(--patient); }
.cf-opt:active, .cf-chip:active, .cf-t:active, .cf-disc-trigger:active,
.cf-sec:active, .cf-mtag:active{ opacity:.62; transition-duration:60ms; }
/* A report that has landed is a fact, not a control: it changes word and
   tone in place and stops being pressable. */
.cf-sec.is-static{ color:var(--text-secondary); }
/* A contribution leaving the room does so visibly rather than blinking
   out of existence. */
@keyframes cfPostOut{ to{ opacity:0; transform:translateY(-6px); } }
.cf-post.is-leaving{ animation:cfPostOut 220ms var(--patient) forwards; }

/* ======================================================================
   COMMUNITY — TISCHE
   ======================================================================
   Community Home is a place, not a dashboard. Each table states its name,
   what it is for, and the last thing said there. No post counts: a number
   tells a member nothing about whether they want to sit down, and this
   client honestly cannot know the total anyway.
   ====================================================================== */
.ct-lede{ font-size:13px; line-height:1.55; color:var(--muted); margin:8px 0 0;
  max-width:26em; }

/* THE SIGNAL, STRUCTURAL. On Home it is not decoration parked in leftover
   space: the tables begin where its light does. Larger, lower, and the
   list is deliberately laid over its lower arc so the rooms read as
   emerging from it rather than sitting beside it. Never a radial menu --
   the mark is belonging, not navigation chrome. */
.ct-home .ct-sig{ width:230px; height:230px; top:-26px; right:-56px; opacity:.14; }
.ct-tables{ list-style:none; margin:var(--s6) 0 0; padding:0; position:relative; }
.ct-tables::before{ content:''; position:absolute; z-index:0; pointer-events:none;
  inset:-40px -24px 20px -20px;
  background:radial-gradient(58% 42% at 76% 0%,
    rgba(226,25,181,0.085) 0%, rgba(226,25,181,0) 72%);
  -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 42%, transparent 92%);
  mask-image:linear-gradient(180deg, #000 0%, #000 42%, transparent 92%); }
.ct-tables > li{ position:relative; z-index:1; }
.ct-tables > li + li{ margin-top:2px; }

/* A table is a place to walk into, so its whole area is the control --
   but it is ruled by space, not boxed by a card. */
.ct-table{ display:block; width:100%; text-align:left; background:none;
  border:none; cursor:pointer; font-family:inherit;
  padding:18px 14px 20px; margin:0 -14px; border-radius:12px; min-height:44px;
  transition:background-color 240ms var(--patient); }
.ct-table:hover{ background:rgba(245,241,236,0.030); }
.ct-table:focus-visible{ outline:2px solid var(--magenta); outline-offset:-2px; }
.ct-head-row{ display:flex; align-items:baseline; gap:12px; }
.ct-name{ font-family:var(--font-d); font-weight:500; font-size:23px;
  line-height:1.15; letter-spacing:0.004em; color:var(--text-primary);
  transition:color 220ms var(--patient); }
.ct-table:hover .ct-name{ color:#FFFDFA; }
.ct-purpose{ display:block; margin-top:5px; font-size:12.5px; line-height:1.5;
  color:var(--muted); }
/* Activity, relative and wordless: three marks that fill as a table gets
   busier. Not a statistic, not a badge, not a number. */
.ct-pulse{ display:inline-flex; align-items:flex-end; gap:2px; flex:none; }
.ct-pulse i{ display:block; width:3px; border-radius:1px;
  background:rgba(245,241,236,0.16); }
.ct-pulse i:nth-child(1){ height:5px; }
.ct-pulse i:nth-child(2){ height:8px; }
.ct-pulse i:nth-child(3){ height:11px; }
.ct-pulse-1 i:nth-child(1),
.ct-pulse-2 i:nth-child(1), .ct-pulse-2 i:nth-child(2),
.ct-pulse-3 i{ background:var(--text-secondary); }
.ct-pulse-3 i:nth-child(3){ background:var(--magenta); opacity:.62; }
.ct-last{ display:block; margin-top:12px; font-size:13px; line-height:1.5;
  color:var(--text-secondary); }
.ct-last-w{ color:var(--muted); }
.ct-last-w::after{ content:' · '; color:#4E4853; }
.ct-last-empty{ color:var(--muted); font-style:italic; }

/* ---- INSIDE A TABLE ------------------------------------------------- */
/* Both Community levels open at the same height, so the one way back sits
   in the same place whichever level you are on.

   THE SPACE WAS ON THE WRONG SIDE OF IT. Measured at 375x667: 34px between
   the member header and the back control, then 2-4px between the control
   and the title it belongs above -- so the control floated away from the
   header and sat on the heading. The whitespace is redistributed, not
   added: the room's head gives back the air above (the app's own 24px
   content inset is left alone -- it is every screen's, not this one's) and
   spends it below, where a navigation row needs to separate from a title.

   Mobile: 34 + 44 + 4 = 82 before, 14 + 44 + 24 = 82 after.
   Desktop: 42 + 44 + 2 = 88 before, 20 + 44 + 24 = 88 after.
   Neither viewport grows by a pixel; the desktop composition keeps its own
   larger inset above, scaled by its own content padding. */
.ct-room-head{ padding-top:0; margin-top:-10px; }
@media (min-width:1024px){ .ct-room-head{ margin-top:-12px; } }
/* 24px under the navigation row, on both levels and from the same token.
   The conversation wraps its control with the actions menu, the Table has
   the control alone, so the margin sits on whichever of the two is the
   row. */
.cm-conv-nav,
.ct-room-head > .cm-navback{ margin-bottom:var(--s5); }
.cm-conv-head .cm-opening{ margin-top:0; }
.ct-back{ display:inline-flex; align-items:center; gap:8px; background:none;
  border:none; padding:11px 0 12px; margin:-6px 0 6px; min-height:44px;
  font-family:var(--font-c); font-size:12px; letter-spacing:0.02em;
  color:var(--muted); cursor:pointer; transition:color 200ms var(--patient); }
.ct-back:hover{ color:var(--text-primary); }
.ct-back:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
.ct-back-i{ width:7px; height:7px; flex:none; border-left:1.4px solid currentColor;
  border-bottom:1.4px solid currentColor; transform:rotate(45deg); }
.ct-room-title{ font-size:clamp(25px, 6.6vw, 31px); max-width:9em; }
/* The table a global result belongs to: a word, and the way there. */
.cf-mtable{ background:none; border:none; padding:0; font-family:inherit;
  display:inline-flex; align-items:center; min-height:44px; margin:-15px 0;
  font-size:11.5px; color:var(--text-secondary); cursor:pointer;
  text-decoration:underline; text-decoration-color:rgba(245,241,236,.22);
  text-underline-offset:3px; transition:color 180ms var(--patient); }
.cf-mtable:hover{ color:var(--text-primary); }
.cf-mtable:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }

@media (min-width:641px){
  .ct-home .ct-sig{ width:280px; height:280px; }
  .ct-name{ font-size:26px; }
}
@media (min-width:1024px){
  .ct-tables, .ct-home .cf-head{ max-width:35rem; }
  .ct-home .ct-sig{ width:300px; height:300px; top:150px; right:auto;
    left:calc(35rem + 3rem); opacity:.15; }
  .ct-tables::before{ inset:-40px -320px 20px -20px;
    background:radial-gradient(46% 52% at 88% 40%,
      rgba(226,25,181,0.085) 0%, rgba(226,25,181,0) 74%); }
  .ct-name{ font-size:28px; }
}
/* Reduced motion: the swap between house and table is a cut, not a slide.
   The View Transition path is skipped entirely by canAnimate(). */
@media (prefers-reduced-motion: reduce){
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*){
    animation:none !important; }
}

/* ======================================================================
   COMMUNITY CUTOVER — Table deck · Conversations · Dialog contract
   ======================================================================
   Community → Table → Conversation → Contribution against the real
   conversation contracts. The deck is ported from the approved Table
   Stories review (reviews/community-table-stories-clean.html); the rest
   reuses the cf-* room grammar. Magenta stays on publishing, the Signal's
   material, the selected nav and focus. */

/* ---- TABLE STORIES DECK ------------------------------------------------ */
/* PHYSICAL IPHONE POLISH. The deck used to centre a 62vw Signal at 71% of
   the stage, which puts its right edge at ~102% of the viewport on every
   phone: the locked geometry was cut by the stage clip (8px at 402, 17px at
   320). The mark now keeps a guaranteed inset (--ts-edge, which also covers
   the depth echo's few percent beyond the ring), and the diameter is scaled
   to the composition rather than to the viewport alone. */
.ts{ --ts-d:clamp(172px, 50vw, 216px);
  --ts-edge:calc(max(18px, env(safe-area-inset-right)) + var(--ts-d) * .04);
  --ts-pad:max(16px, env(safe-area-inset-left)); --ts-gap:16px; --ts-item:86.3%;
  position:relative; margin:4px 0 0; }
@media (min-width:641px){ .ts{ --ts-d:320px; } }
@media (min-width:1024px){ .ts{ --ts-d:352px; --ts-pad:0px; --ts-gap:48px; --ts-item:35rem; } }
@media (min-width:1280px){ .ts{ --ts-d:384px; } }
/* The stage follows its content: the ring plus a breath, never a fixed 150px
   of empty band above and below the table copy. 17rem is the tallest story
   (two-line name, two-line purpose, two-line preview, "Platz nehmen"). */
.ts-stage{ position:relative; overflow:hidden; height:max(calc(var(--ts-d) + 72px), 17rem);
  margin-left:calc(-1 * max(16px, env(safe-area-inset-left)));
  margin-right:calc(-1 * max(16px, env(safe-area-inset-right))); }
@media (min-width:641px){ .ts-stage{ height:calc(var(--ts-d) + 96px); } }
@media (min-width:1024px){ .ts-stage{ margin-left:0; margin-right:0; height:calc(var(--ts-d) + 96px); } }
.ts-sig{ --ts-rot:0deg; --ts-resp:0;
  position:absolute; z-index:1; pointer-events:none;
  width:var(--ts-d); height:var(--ts-d);
  left:min(calc(71% - var(--ts-d) / 2), calc(100% - var(--ts-d) - var(--ts-edge)));
  top:calc(50% - var(--ts-d) / 2); }
@media (min-width:1024px){ .ts-sig{ left:min(38rem, calc(100% - var(--ts-d) - 40px)); } }
.ts-sig > *{ position:absolute; inset:0; }
.ts-sig::before{ content:''; position:absolute; inset:-22%; border-radius:50%; opacity:calc(1 - var(--mute, 0) * .45);
  background:radial-gradient(closest-side, rgba(226,25,181,.11) 0%,
    rgba(226,25,181,.04) 46%, rgba(226,25,181,0) 78%); }
.ts-rot{ position:absolute; inset:0; transform:rotate(var(--ts-rot)); will-change:transform; }
.ts-ring{ position:absolute; inset:0; background:var(--signal-satin-gradient);
  -webkit-mask-image:var(--signal-mask-src); mask-image:var(--signal-mask-src);
  -webkit-mask-size:100% 100%; mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; }
.ts-obj .ts-ring{ opacity:calc(1 - var(--mute, 0) * .38); }
.ts-hi .ts-rot{
  -webkit-mask-image:conic-gradient(from 0deg, transparent 0deg 15deg, #000 50deg 80deg, transparent 115deg);
  mask-image:conic-gradient(from 0deg, transparent 0deg 15deg, #000 50deg 80deg, transparent 115deg); }
.ts-hi .ts-ring{ filter:brightness(1.24) saturate(1.04);
  opacity:calc(.66 + var(--ts-resp) * .2); }
.ts-shade .ts-rot{
  -webkit-mask-image:conic-gradient(from 0deg, transparent 0deg 175deg, #000 225deg 265deg, transparent 315deg);
  mask-image:conic-gradient(from 0deg, transparent 0deg 175deg, #000 225deg 265deg, transparent 315deg); }
.ts-shade .ts-ring{ background:#060408; opacity:.38; }
.ts-env .ts-ring{ background:none; opacity:.22; }
.ts-env .ts-ring::before{ content:''; position:absolute; inset:0;
  transform:rotate(calc(-1 * var(--ts-rot)));
  background:radial-gradient(72% 72% at 80% 84%, rgba(240,90,205,.9) 0%, rgba(240,90,205,0) 62%); }
.ts-depth{ inset:-12%; opacity:.34;
  background:radial-gradient(closest-side, rgba(226,25,181,0) 78%,
    rgba(226,25,181,.15) 86%, rgba(226,25,181,0) 95%);
  -webkit-mask-image:conic-gradient(from 0deg, transparent 0deg 70deg, #000 130deg 200deg, transparent 260deg);
  mask-image:conic-gradient(from 0deg, transparent 0deg 70deg, #000 130deg 200deg, transparent 260deg); }
.ts-sheen .ts-ring{ background:none; }
.ts-sheen .ts-ring::after{ content:''; position:absolute; top:-30%; bottom:-30%;
  width:34%; left:-40%; opacity:0; transform:skewX(-14deg);
  background:linear-gradient(100deg, rgba(255,255,255,0) 0%,
    rgba(255,255,255,.32) 48%, rgba(255,255,255,0) 100%); }
.ts.is-arrived .ts-sheen .ts-ring::after{ animation:tsSheen 1150ms var(--patient) 280ms 1 both; }
@keyframes tsSheen{ 0%{ left:-40%; opacity:0; } 14%{ opacity:1; } 100%{ left:104%; opacity:0; } }
.ts-track{ position:absolute; inset:0; z-index:2; display:flex; gap:var(--ts-gap);
  padding:0 var(--ts-pad); scroll-padding:0 var(--ts-pad);
  overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory;
  overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.ts-track::-webkit-scrollbar{ display:none; }
.ts-track::after{ content:''; flex:none; width:calc(100% - var(--ts-item)); }
.ts-track:focus-visible{ outline:2px solid var(--magenta); outline-offset:-2px; }
.ts-story{ flex:none; width:var(--ts-item); height:100%;
  scroll-snap-align:start; scroll-snap-stop:always;
  display:flex; align-items:center; will-change:opacity; }
.ts-copy{ width:100%; max-width:35rem; }
.ts-name{ display:block; margin:0;
  font-family:var(--font-d); font-weight:500; text-transform:none;
  font-size:clamp(28px, 8.2vw, 34px); line-height:1.06; letter-spacing:.004em;
  color:var(--text-primary); }
.ts-nb{ white-space:nowrap; }
@media (min-width:1024px){ .ts-name{ font-size:clamp(46px, 3.9vw, 56px); } }
.ts-purpose{ margin:10px 0 0; font-size:14.5px; line-height:1.5;
  color:var(--text-secondary); max-width:24em; }
/* Two lines at most: a long opening must not push "Platz nehmen" out of the
   stage it is clipped to. */
.ts-copy .ct-last{ margin-top:14px; max-width:26em;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.ts-enter{ display:inline-flex; align-items:center; gap:10px; min-height:44px;
  margin:12px 0 0; padding:0; background:none; border:0; cursor:pointer;
  font-family:var(--font-d); font-weight:500; font-size:14px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--text-primary); }
.ts-enter svg{ width:14px; height:14px; transform:rotate(180deg); color:var(--text-secondary); }
.ts-enter:focus-visible{ outline:2px solid var(--magenta); outline-offset:4px; }
.ts-nav{ display:flex; align-items:center; justify-content:center; gap:8px; margin:6px 0 0; }
.ts-dots{ display:flex; align-items:center; }
.ts-dot{ width:26px; height:44px; padding:0; border:0; background:none; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center; }
/* COMMUNITY EXPERIENCE 2.0 — WHERE YOU ARE IN THE HOUSE. Six identical dots
   said how many tables there are and almost nothing about which one you are
   at: the active one differed by opacity alone. It becomes a short mark
   instead, lit from the room's own accent, while the others stay dots. Same
   control, same targets, same count — it just answers the question it was
   there to answer. */
.ts-dot i{ display:block; width:6px; height:6px; border-radius:999px;
  background:var(--text-secondary); opacity:var(--o, .28);
  transition:width 420ms var(--patient), background-color 420ms var(--patient),
    opacity 420ms var(--patient); }
.ts-dot[aria-current="true"] i, .ts-dot.is-on i{ width:18px;
  background:var(--magenta); opacity:.85; }
@media (prefers-reduced-motion:reduce){ .ts-dot i{ transition:none; } }
.ts-dot:focus-visible{ outline:2px solid var(--magenta); outline-offset:-10px; border-radius:8px; }
.ts-step{ display:none; }
@media (min-width:1024px){
  .ts-nav{ justify-content:flex-start; gap:14px; margin-top:12px; }
  .ts-step{ display:flex; width:44px; height:44px; }
  .ts-next svg{ transform:rotate(180deg); }
  .ts-step[disabled]{ opacity:.35; cursor:default; }
}

/* ---- A TABLE ------------------------------------------------------------ */
.cm-start-row{ margin:var(--s5) 0 var(--s3); }
/* A secondary act, not the publish act: outlined and neutral. Magenta is
   spent inside the dialog, on the actual "Gespräch beginnen". */
.cm-start{ display:inline-flex; align-items:center; min-height:44px; padding:11px 20px;
  border-radius:999px; background:none; border:1px solid var(--border-strong);
  color:var(--text-primary); font-family:var(--font-c); font-size:13.5px; font-weight:600;
  cursor:pointer; transition:border-color 200ms var(--patient), background-color 200ms var(--patient); }
.cm-start:hover{ background:rgba(245,241,236,.04); border-color:var(--text-secondary); }
.cm-start:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
.cm-list{ list-style:none; margin:var(--s3) 0 0; padding:0; }
.cm-row + .cm-row{ margin-top:2px; }
/* COMMUNITY EXPERIENCE 2.0 -- THE CONVERSATION PREVIEW. It was a headline
   and a grey line on nothing: the list of things happening in a room read as
   a table of contents rather than as places you could sit down. It is a
   surface now, built from the same two gradients and the same lit top edge
   the Konto doors are built from -- near-black, directional light, no border
   and no card outline -- and it lifts very slightly when approached. The
   opening keeps the display face it already had; what arrives beside it is
   the one fact the preview was missing, how many people have answered. */
.cm-list{ list-style:none; margin:var(--s4) 0 0; padding:0; }
.cm-row + .cm-row{ margin-top:10px; }
.cm-conv{ position:relative; isolation:isolate; display:block; width:100%;
  text-align:left; border:none; cursor:pointer; font-family:inherit;
  padding:var(--s5) var(--s5) calc(var(--s5) - 2px); margin:0;
  border-radius:5px 18px 18px 18px; min-height:44px;
  background:
    radial-gradient(72% 128% at 96% 46%, rgba(226,25,181,0.055) 0%, rgba(226,25,181,0) 66%),
    linear-gradient(102deg, rgba(245,241,236,0.030) 0%, rgba(245,241,236,0.014) 52%,
      rgba(245,241,236,0.006) 100%);
  box-shadow:inset 0 1px 0 rgba(245,241,236,0.045);
  transition:background 300ms var(--patient), box-shadow 300ms var(--patient),
    transform 300ms var(--patient); }
.cm-conv:hover, .cm-conv:focus-visible{
  background:
    radial-gradient(76% 132% at 96% 46%, rgba(226,25,181,0.095) 0%, rgba(226,25,181,0) 68%),
    linear-gradient(102deg, rgba(245,241,236,0.048) 0%, rgba(245,241,236,0.022) 54%,
      rgba(245,241,236,0.009) 100%);
  box-shadow:inset 0 1px 0 rgba(245,241,236,0.075);
  transform:translateY(-1px); }
.cm-conv:active{ transform:translateY(0); opacity:.92; }
.cm-conv:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
@media (prefers-reduced-motion:reduce){
  .cm-conv{ transition:none; } .cm-conv:hover, .cm-conv:focus-visible{ transform:none; } }
/* How alive it is. A fact in the metadata line, never a badge. */
.cm-cnt{ font-size:11.5px; color:var(--text-secondary); }
.cm-row-open{ display:block; font-family:var(--font-d); font-weight:400; font-size:19px;
  line-height:1.3; letter-spacing:.004em; color:var(--text-primary); overflow-wrap:anywhere; }
.cm-row-open.is-deleted, .cm-opening.is-deleted{ font-family:var(--font-c); font-style:italic;
  font-weight:400; color:var(--text-secondary); }
.cm-row-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 7px; margin-top:8px; }
.cm-who{ display:inline-flex; align-items:center; gap:7px; }
.cm-anon-own{ font-size:11.5px; color:var(--muted); }
.cm-flag{ font-size:11.5px; color:var(--text-secondary); }
.cm-row-tomb{ padding:14px 0; }
.cm-row-tomb .cf-tomb-line{ margin:0; }
/* .cm-note is gone with the sentence it styled: "nur du siehst dieses
   Gespräch" now lives in the empty state (.cf-empty-s), beside the absence
   it was always describing. */

/* ---- A CONVERSATION ----------------------------------------------------- */
.cm-opening{ font-family:var(--font-d); font-weight:500; text-transform:none;
  font-size:clamp(24px, 6.4vw, 32px); line-height:1.12; letter-spacing:.004em;
  color:var(--text-primary); margin:2px 0 8px; max-width:22em; overflow-wrap:anywhere; }
.cm-view h1:focus{ outline:none; }
.cm-starter{ margin-bottom:0; }
.cm-posts{ margin-top:var(--s4); }
.cm-name-l{ margin-top:14px; }
.cm-msg{ font-size:13px; line-height:1.5; color:var(--text-primary); margin:10px 0 0;
  padding-left:10px; border-left:2px solid var(--action-destructive); }
.cm-msg[hidden], .cm-dlg-error[hidden]{ display:none; }
/* Contrast fix (cutover): unselected choices were #655E69 (~3:1). */
.cf-opt{ color:var(--muted); }

/* ---- ARCHIVE ------------------------------------------------------------ */
.cm-archive{ margin-top:var(--s7); max-width:35rem; }
.cm-archive-h{ font-family:var(--font-c); font-size:11px; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--muted); margin:0 0 6px; }
.cm-archive-l{ font-size:13px; line-height:1.5; color:var(--text-secondary); margin:0 0 4px; }
.cm-archive-list{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:0 22px; }
.cm-archive-link{ background:none; border:none; padding:0; min-height:44px; cursor:pointer;
  font-family:var(--font-d); font-size:15px; letter-spacing:.03em; color:var(--text-secondary);
  text-decoration:underline; text-decoration-color:rgba(245,241,236,.22); text-underline-offset:4px; }
.cm-archive-link:hover{ color:var(--text-primary); }
.cm-archive-link:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }

/* ---- PL8 THRESHOLD — the sixth position of the Table Stories -------------
   Approved in reviews/pl8-seat-threshold.html (PL8_SEAT_THRESHOLD_EXPLORATION
   §2–§5), within Design Constitution 2.6 / 3.2 (DH-14). After Table 5 the
   Signal completes its turn and the Seat is the access point. Not a Table.
   Free: lock at the Seat, bolt across the opening, cold Seat, quieter ring
   -- and the words "Zugang gesperrt". PL8 / Founder: the Seat lit, no lock.
   Every cue is neutral or the canonical Satin material: no red, no second
   accent. Community Home carries no Nebula at rest; its one field exists
   only for the 800ms entry. */
.ts-sig{ --lock:0; --bolt:0; --cold:0; --seat-lit:0; --mute:0;
  --pl8-seat-mask:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect x="173.54" y="139.50" width="14" height="14" fill="white" transform="rotate(30 180.54 146.50)"/></svg>'); }
.ts-bolt{ opacity:calc(var(--bolt) * .72); }
.ts-bolt svg{ position:absolute; inset:0; width:100%; height:100%; }
.ts-bolt path{ fill:none; stroke:var(--text-secondary); stroke-width:2.6; }
.ts-seat .ts-ring, .ts-seatcold .ts-ring{ -webkit-mask-image:var(--pl8-seat-mask); mask-image:var(--pl8-seat-mask); }
.ts-seat .ts-ring{ filter:brightness(calc(1 + var(--seat-lit) * .32)) saturate(1.05); opacity:var(--seat-lit); }
.ts-seatcold .ts-ring{ filter:brightness(.34) saturate(.5); opacity:var(--cold); }
.ts-lockpos{ position:absolute; left:77.5%; top:66%; width:11%; aspect-ratio:1 / 1;
  transform:translate(-50%, -50%) rotate(calc(-1 * var(--ts-rot))); }
.ts-lock{ display:block; width:100%; height:100%; overflow:visible; color:var(--text-primary);
  opacity:calc(var(--lock) * .94); transform:scale(calc(.84 + var(--lock) * .16)); }
.ts-dot-seat i{ border-radius:0; width:5px; height:5px; }

/* Threshold copy — neutral. Access state is carried by words, not colour. */
.th-status{ margin:0 0 10px; font-size:10px; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--text-secondary); }
.th-note{ margin:12px 0 0; font-size:13px; line-height:1.5; color:var(--muted); }
.th-more{ display:inline-flex; align-items:center; gap:8px; min-height:44px; margin:6px 0 0;
  padding:0; background:none; border:0; cursor:pointer; font-family:inherit; font-size:13px; color:var(--text-secondary); }
.th-more svg{ width:13px; height:13px; transform:rotate(180deg); }
.th-more:focus-visible{ outline:2px solid var(--magenta); outline-offset:4px; }
/* The Seat is also the control (entitled only): it covers Seat and lock. */
.th-seat{ --hit:max(56px, calc(var(--ts-d) * .22));
  position:absolute; z-index:3; width:var(--hit); height:var(--hit); padding:0; border:0;
  background:none; border-radius:50%; cursor:pointer; visibility:hidden;
  left:calc(min(calc(71% - var(--ts-d) / 2), calc(100% - var(--ts-d) - var(--ts-edge))) + var(--ts-d) * .849 - var(--hit) / 2);
  top:calc(50% - var(--ts-d) / 2 + var(--ts-d) * .701 - var(--hit) / 2); }
@media (min-width:1024px){ .th-seat{ left:calc(min(38rem, calc(100% - var(--ts-d) - 40px)) + var(--ts-d) * .849 - var(--hit) / 2); } }
.ts.at-th .th-seat{ visibility:visible; }
.th-seat:focus-visible{ outline:2px solid var(--magenta); outline-offset:0; }

/* ---- PL8 ENTRY — the Round 5 cinematic transit ----------------------------
   Design Constitution 3.2 / 3.3 / 2.6 (DH-15); layers and light values from
   reviews/pl8-seat-threshold.html. A fixed layer below the topbar and bottom
   nav, created only for the entitled entry and removed when PL8 is painted.
   The Signal copy is transformed as one object; its layers are the stage
   Signal's own plus the review's energy and Nebula light. Nebula stays light:
   no text, control, border or surface colour. */
.p8-transit{ position:fixed; inset:0; z-index:9; pointer-events:none; overflow:hidden; }
.p8-transit-in{ position:absolute; inset:0;
  -webkit-mask-image:radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), #000 0, #000 max(0px, calc(var(--ir, 0px) - 28px)), transparent var(--ir, 0px));
  mask-image:radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), #000 0, #000 max(0px, calc(var(--ir, 0px) - 28px)), transparent var(--ir, 0px)); }
.p8-transit-in > .app-content{ position:absolute; margin:0; will-change:transform; }
.p8-transit .ts-sig{ left:var(--tl); top:var(--tt); width:var(--tw); height:var(--tw);
  transform:translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--tsc, 1)); will-change:transform; }
.p8-transit .ts-sig::before{ opacity:calc(var(--tring, 1) * .8); }
.p8-transit .ts-body{ opacity:var(--tring, 1); }
.p8-transit .ts-body > *{ position:absolute; inset:0; }
.p8-transit .ts-sig > .ts-halo2{ inset:-22%; border-radius:50%;
  opacity:calc((var(--energ, 0) + var(--depthx, 0) * .5) * var(--tring, 1) * .8);
  background:radial-gradient(closest-side, rgba(226,25,181,.2) 0%, rgba(226,25,181,.08) 46%, rgba(226,25,181,0) 78%); }
.p8-transit .ts-sig > .ts-well{ inset:7%; border-radius:50%; opacity:var(--well, 0);
  background:radial-gradient(closest-side, rgba(9,7,11,.96) 0%, rgba(9,7,11,.72) 62%, rgba(9,7,11,0) 100%); }
.p8-transit .ts-energy .ts-rot{
  -webkit-mask-image:conic-gradient(from calc((120 - var(--spread, 0) - 14) * 1deg), transparent 0deg, #000 14deg, #000 calc((var(--spread, 0) * 2 + 14) * 1deg), transparent calc((var(--spread, 0) * 2 + 28) * 1deg));
  mask-image:conic-gradient(from calc((120 - var(--spread, 0) - 14) * 1deg), transparent 0deg, #000 14deg, #000 calc((var(--spread, 0) * 2 + 14) * 1deg), transparent calc((var(--spread, 0) * 2 + 28) * 1deg)); }
.p8-transit .ts-energy .ts-ring{ filter:brightness(1.3) saturate(1.05); opacity:var(--energy, 0); }
.p8-transit .ts-seatpool i{ position:absolute; left:90.27%; top:73.25%; width:36%; height:36%;
  transform:translate(-50%, -50%); border-radius:50%; opacity:var(--pool, 0);
  background:radial-gradient(closest-side, rgba(226,25,181,.34) 0%, rgba(226,25,181,.12) 46%, rgba(226,25,181,0) 100%); }
.p8-transit .ts-sheen .ts-ring::after{ animation:none; }
.p8-transit .ts-sheen2 .ts-ring{ background:none; }
.p8-transit .ts-sheen2 .ts-ring::after{ content:''; position:absolute; top:-30%; bottom:-30%;
  width:34%; left:calc(-40% + var(--sh2, 0) * 144%); opacity:var(--sh2o, 0); transform:skewX(-14deg);
  background:linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.32) 48%, rgba(255,255,255,0) 100%); }
/* Nebula — depth inside the opening (it briefly outlasts the ring), the
   light source behind the Seat, reflection, inner edge, refraction. */
.p8-transit .ts-sig > .ts-ndepth{ inset:7%; border-radius:50%; overflow:hidden;
  opacity:calc(var(--ndepth, 0) * var(--ndt, 1) * .7); }
.p8-transit .ts-ndepth i{ position:absolute; inset:0; display:block; border-radius:50%; }
.p8-transit .ts-ndepth .nd-far{ transform:scale(var(--npar, 1));
  background:radial-gradient(circle at var(--ndx, 74%) var(--ndy, 70%), rgba(72,56,190,.36) 0%, rgba(44,34,130,.20) 24%, rgba(18,14,44,.10) 46%, rgba(18,14,44,0) 70%); }
.p8-transit .ts-ndepth .nd-haze{ inset:-10%;
  background:radial-gradient(60% 50% at 36% 32%, rgba(118,98,255,.12) 0%, rgba(118,98,255,0) 70%),
    radial-gradient(44% 40% at 66% 70%, rgba(72,56,190,.14) 0%, rgba(72,56,190,0) 70%); }
.p8-transit .ts-ndepth .nd-rim{ background:radial-gradient(closest-side, rgba(226,25,181,0) 72%, rgba(226,25,181,.12) 93%, rgba(226,25,181,0) 100%); }
.p8-transit .ts-sig > .ts-nkey{ inset:auto; left:90.27%; top:73.25%; width:30%; height:30%;
  transform:translate(-50%, -50%); border-radius:50%; opacity:var(--nkey, 0);
  background:radial-gradient(closest-side, rgba(150,132,255,.40) 0%, rgba(118,98,255,.16) 38%, rgba(118,98,255,0) 100%); }
.p8-transit .ts-nrefl{ opacity:var(--nrefl, 0); mix-blend-mode:screen; filter:blur(calc(var(--vel, 0) * 1.4px)); }
.p8-transit .ts-nrefl .ts-rot{
  -webkit-mask-image:conic-gradient(from 0deg, transparent 0deg, #000 20deg, transparent 50deg, transparent 92deg, rgba(0,0,0,.75) 118deg, transparent 148deg, transparent 196deg, #000 226deg, transparent 258deg, transparent 298deg, rgba(0,0,0,.65) 322deg, transparent 350deg);
  mask-image:conic-gradient(from 0deg, transparent 0deg, #000 20deg, transparent 50deg, transparent 92deg, rgba(0,0,0,.75) 118deg, transparent 148deg, transparent 196deg, #000 226deg, transparent 258deg, transparent 298deg, rgba(0,0,0,.65) 322deg, transparent 350deg); }
.p8-transit .ts-nrefl .ts-ring{ background:none; }
.p8-transit .ts-nrefl .ts-ring::before{ content:''; position:absolute; inset:0; transform:rotate(calc(-1 * var(--ts-rot)));
  background:radial-gradient(54% 54% at var(--nlx, 88%) var(--nly, 80%), rgba(196,184,255,.95) 0%, rgba(132,112,255,.5) 34%, rgba(118,98,255,0) 72%); }
.p8-transit .ts-nrim{ opacity:var(--nrim, 0); mix-blend-mode:screen;
  -webkit-mask-image:radial-gradient(closest-side, transparent 85%, #000 86.5%, rgba(0,0,0,.45) 89.5%, transparent 92.5%);
  mask-image:radial-gradient(closest-side, transparent 85%, #000 86.5%, rgba(0,0,0,.45) 89.5%, transparent 92.5%); }
.p8-transit .ts-nrim .ts-ring{ background:#9684FF; }
.p8-transit .ts-nfringe{ opacity:var(--nfringe, 0); transform:scale(1.016); mix-blend-mode:screen; }
.p8-transit .ts-nfringe .ts-ring{ background:#7662FF; }
@media (prefers-reduced-motion: reduce){ .p8-transit{ display:none; } }

/* ---- PL8 NEBULA -- one value for the whole PL8 experience (Design Constitution 2.6, DH-16) --
   A closest-side radial field that reaches zero inside its own bounds: never a wash, never an edge, never
   interface colour. Used by the Community stage (.p8-light) and the Landing Page (.pa-nebula); nowhere else. */
:root{ --nebula-field:radial-gradient(closest-side, rgba(132,96,255,.22) 0%, rgba(132,96,255,.09) 46%, rgba(132,96,255,0) 100%); }

/* ---- PL8 COMMUNITY — the stage and Testküche -----------------------------
   Inside PL8 exactly one contained Nebula field sits behind the Signal, and
   only on belonging moments (the Testküche root, the 2. Fassung, Erprobt) --
   never behind reading or writing surfaces, never in a control, border or
   state. Magenta stays the Signal's; every Testküche control is neutral. */

/* The stage: the Signal as the anchor of PL8 (Constitution 1.3: dominant
   only where the surface is about belonging). Larger than on any utility
   surface, always whole -- the Seat, its meaning, is never cropped -- and
   tucked up beside the short back link so the Testküche stays close to the
   top. The light field is a closest-side ellipse that reaches zero inside
   the stage, so nothing lights the text below it. */
.p8-stage{ --ts-d:clamp(196px, 54vw, 236px); position:relative; pointer-events:none;
  height:calc(var(--ts-d) + 8px); margin:-30px 0 4px; }
.p8-light{ position:absolute; top:0; bottom:0; right:calc(var(--ts-d) * -.35); width:calc(var(--ts-d) * 1.9); max-width:calc(100% + var(--ts-d) * .35);
  background:var(--nebula-field); }
.p8-stage .p8-sig{ left:auto; right:4px; top:4px; }
.p8-stage.is-return{ --ts-d:clamp(148px, 40vw, 176px); margin-top:-24px; }
.p8-stage.is-locked .p8-light{ opacity:.6; }
@media (min-width:1024px){
  .p8-stage{ --ts-d:260px; max-width:38rem; margin-top:-20px; }
  .p8-light{ right:-40px; max-width:none; }
  .p8-stage.is-return{ --ts-d:190px; }
}
@media (min-width:1280px){
  /* Desktop: the Signal stands beside the reading column instead of above it. */
  .tk .p8-head{ position:relative; }
  .tk .p8-stage.is-root{ --ts-d:300px; position:absolute; top:10px; left:calc(36rem + 3rem); width:420px; height:340px; max-width:none; margin:0; }
  .tk .p8-stage.is-root .p8-sig{ right:auto; left:calc(50% - var(--ts-d) / 2); top:calc(50% - var(--ts-d) / 2); }
  .tk .p8-stage.is-root .p8-light{ right:auto; left:0; width:100%; }
}
.p8-access{ max-width:35rem; margin:var(--s5) 0 0; font-size:13px; line-height:1.55; color:var(--text-secondary); }
.p8-access p + p{ margin-top:8px; }

/* Testküche — editorial rhythm: rules, type size and space; no cards, no
   dashboard, no progress. Reading width stays one calm column. */
.tk > *{ max-width:36rem; }
.tk .p8-head > *:not(.p8-stage){ max-width:36rem; }
.tk .cf-title{ max-width:15em; }
.tk-lede{ font-size:15px; line-height:1.55; color:var(--text-secondary); margin:12px 0 0; max-width:32em; }
.tk-label{ font-size:10px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin:44px 0 14px; }
.tk-state{ font-size:11px; font-weight:600; letter-spacing:.22em; text-transform:uppercase; color:var(--text-primary); margin:34px 0 0; }
.p8-head .tk-state{ margin:6px 0 10px; }
.tk-stage{ font-size:10px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--text-secondary); margin:0 0 8px; }
.tk-h2{ font-family:var(--font-d); font-weight:500; text-transform:none; color:var(--text-primary); font-size:clamp(22px, 6vw, 27px); line-height:1.12; margin:0; }
.tk-p{ font-size:15px; line-height:1.6; color:var(--text-secondary); margin:10px 0 0; }
.tk-meta{ font-size:12.5px; line-height:1.5; color:var(--muted); margin:10px 0 0; }
.tk-small{ font-size:12.5px; line-height:1.5; color:var(--muted); margin:36px 0 0; }
.tk-dish{ margin:22px 0 0; padding:16px 0 0; border-top:1px solid var(--hairline); }
.tk-quote{ font-family:var(--font-d); font-weight:400; text-transform:none; color:var(--text-primary);
  font-size:clamp(24px, 6.6vw, 31px); line-height:1.18; margin:10px 0 0; max-width:22em; }
.tk-quote.is-flush{ margin-top:0; }
.tk-quote-by{ font-size:12.5px; color:var(--muted); margin:10px 0 0; }
.tk-rule{ border:0; border-top:1px solid var(--hairline); margin:32px 0 0; }
.tk-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 22px; margin:18px 0 0; }
.tk-actions.is-tight{ margin-top:4px; }
.tk-actions .ts-enter, .tk-actions .th-more{ margin:0; }
.tk-inline{ background:none; border:0; padding:0; min-height:0; font:inherit; color:var(--text-primary);
  text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.tk-inline:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }

/* People — initials only: no links, no counts, no status. */
.tk-i{ flex:none; width:30px; height:30px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--hairline); color:var(--text-secondary); font-size:10.5px; font-weight:600; letter-spacing:.04em; box-sizing:border-box; }
.tk-i.is-you{ color:var(--text-primary); border-color:rgba(245,241,236,.42); }
.tk-i.is-anon{ border-style:dashed; }
.tk-people{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:16px 0 0; }
.tk-people-t{ font-size:12px; color:var(--muted); margin-left:4px; }
.tk-person{ display:grid; grid-template-columns:52px 1fr; gap:14px; align-items:center; margin:22px 0 0; }
.tk-person .tk-i{ width:52px; height:52px; font-size:15px; }
.tk-person-n{ font-family:var(--font-d); font-weight:500; font-size:21px; line-height:1.1; color:var(--text-primary); margin:0; }
.tk-person-c{ font-size:13px; line-height:1.45; color:var(--text-secondary); margin:3px 0 0; }
.tk-voice{ display:flex; align-items:center; gap:10px; font-size:12.5px; color:var(--muted); margin:6px 0 12px; }
.tk-voice .tk-i{ width:26px; height:26px; font-size:9.5px; }
.tk-said{ margin-top:14px; }

/* Lists, the lifecycle, findings */
.tk-list{ list-style:none; margin:0; padding:0; counter-reset:tk; }
.tk-list li{ position:relative; padding:0 0 14px 30px; font-size:15px; line-height:1.55; color:var(--text-secondary); counter-increment:tk; }
.tk-list li::before{ content:counter(tk); position:absolute; left:0; top:0; font-family:var(--font-d); font-size:15px; color:var(--muted); }
.tk-list b{ color:var(--text-primary); font-weight:600; }
.tk-seq{ list-style:none; margin:0; padding:0; border-top:1px solid var(--hairline); }
.tk-seq-i{ display:grid; grid-template-columns:6.5rem 1fr; gap:14px; padding:14px 0; border-bottom:1px solid var(--hairline); }
.tk-seq-k{ font-size:10px; font-weight:600; letter-spacing:.16em; line-height:1.4; text-transform:uppercase; color:var(--muted); margin:4px 0 0; }
.tk-seq-t{ font-family:var(--font-d); font-weight:500; font-size:18px; line-height:1.2; color:var(--text-secondary); margin:0; }
.tk-seq-s{ font-size:13.5px; line-height:1.5; color:var(--muted); margin:4px 0 0; }
.tk-seq-i.is-now .tk-seq-k, .tk-seq-i.is-now .tk-seq-t{ color:var(--text-primary); }
.tk-seq-i.is-now .tk-seq-s{ color:var(--text-secondary); }
.tk-seq-i.is-past .tk-seq-t{ color:var(--muted); }
@media (max-width:359px){ .tk-seq-i{ grid-template-columns:1fr; gap:2px; } }
.tk-find{ list-style:none; margin:0; padding:0; }
.tk-find li{ padding:22px 0; border-top:1px solid var(--hairline); }
.tk-find li:last-child{ border-bottom:1px solid var(--hairline); }
.tk-find-n{ font-size:10px; font-weight:600; letter-spacing:.2em; color:var(--muted); margin:0 0 8px; }
.tk-find-q{ font-family:var(--font-d); font-weight:500; font-size:clamp(21px, 5.8vw, 25px); line-height:1.18; color:var(--text-primary); margin:0; }
.tk-find-t{ font-size:14.5px; line-height:1.55; color:var(--text-secondary); margin:8px 0 0; }
.tk-from{ font-size:13px; line-height:1.5; color:var(--muted); margin:12px 0 0; padding-left:12px; border-left:1px solid var(--hairline); }
.tk-from.is-yours{ color:var(--text-primary); border-left-color:rgba(245,241,236,.55); }
.tk-since{ font-family:var(--font-d); font-weight:400; font-size:clamp(19px, 5.2vw, 22px); line-height:1.25; color:var(--text-secondary); margin:0 0 10px; }
.tk-credits{ font-size:15px; line-height:1.8; color:var(--text-secondary); margin:0; }

/* Kitchen notes — the sentence carries the note; metadata stays below it. */
.tk-notes{ list-style:none; margin:0; padding:0; border-top:1px solid var(--hairline); }
.tk-note{ display:grid; grid-template-columns:30px 1fr; gap:12px; padding:16px 0; border-bottom:1px solid var(--hairline); }
.tk-note-m{ font-size:11.5px; color:var(--muted); margin:0 0 4px; }
.tk-note-t{ font-size:15px; line-height:1.55; color:var(--text-primary); margin:0; }
.tk-note-t.is-quiet{ color:var(--muted); font-size:14px; }
.tk-note-c{ font-size:13.5px; line-height:1.5; color:var(--text-secondary); margin:6px 0 0; }
.tk-note-w{ font-size:12px; color:var(--muted); margin:6px 0 0; }
.tk-answer{ grid-column:2; margin:12px 0 0; padding:0 0 0 14px; border-left:1px solid rgba(245,241,236,.22); }
.tk-foryou, .tk-watch{ margin:24px 0 0; padding:16px 0 16px 16px; border-left:1px solid rgba(245,241,236,.3); }
.tk-foryou-k{ font-size:10px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--text-secondary); margin:0 0 8px; }
.tk-foryou-k em{ font-style:normal; font-weight:500; letter-spacing:.02em; text-transform:none; color:var(--muted); margin-left:8px; }
.tk-foryou .tk-actions{ margin-top:8px; }
.tk-entry{ display:block; width:100%; text-align:left; background:none; border:0; padding:22px 0; cursor:pointer;
  border-top:1px solid var(--hairline); border-bottom:1px solid var(--hairline); color:inherit; font:inherit; }
.tk-entry:focus-visible{ outline:2px solid var(--magenta); outline-offset:4px; }
.tk-entry-t{ display:block; font-family:var(--font-d); font-weight:500; font-size:clamp(22px, 6vw, 27px); line-height:1.12; color:var(--text-primary); }
.tk-entry-s{ display:block; font-size:14.5px; line-height:1.55; color:var(--text-secondary); margin:8px 0 0; }
.tk-entry-go{ display:inline-flex; align-items:center; gap:10px; margin:14px 0 0; font-family:var(--font-d); font-weight:500;
  font-size:14px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-primary); }
.tk-entry-go svg{ width:14px; height:14px; transform:rotate(180deg); color:var(--text-secondary); }

/* The recipe — still a cooking product: readable without Community chrome. */
.tk-sub{ font-size:13px; font-weight:600; color:var(--text-primary); margin:24px 0 6px; }
.tk-ingr{ list-style:none; margin:0; padding:0; columns:2; column-gap:22px; }
.tk-ingr li{ font-size:15px; line-height:1.85; color:var(--text-secondary); break-inside:avoid; }
.tk-ingr b{ color:var(--text-primary); font-weight:600; }
.tk-tag{ display:inline-block; font-size:9.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--text-secondary);
  border:1px solid var(--hairline); border-radius:999px; padding:1px 7px; margin-left:4px; vertical-align:1px; white-space:nowrap; line-height:1.5; }

/* Zurück aus deiner Küche — one thought per screen, one thumb. */
.tk .cf-title.tk-ask{ font-size:clamp(28px, 8vw, 36px); line-height:1.1; max-width:14em; }
.tk-talk{ animation:tkStep 240ms cubic-bezier(.22,.61,.36,1) both; }
@keyframes tkStep{ from{ opacity:0; } to{ opacity:1; } }
.tk-ask-h{ font-family:var(--font-d); font-weight:500; text-transform:none; color:var(--text-primary); font-size:clamp(24px, 6.6vw, 30px); line-height:1.12; margin:30px 0 0; }
.tk-ask-s{ font-size:14.5px; line-height:1.55; color:var(--text-secondary); margin:10px 0 0; max-width:30em; }
.tk-q{ font-size:14px; color:var(--text-primary); margin:24px 0 10px; }
.tk-choices{ display:flex; flex-direction:column; align-items:stretch; gap:10px; margin:24px 0 0; max-width:24rem; }
.tk-choice, .tk-chip{ border:1px solid var(--hairline); background:none; color:var(--text-primary); font:inherit; cursor:pointer;
  border-radius:999px; transition:background-color 160ms ease, border-color 160ms ease; }
.tk-choice{ min-height:54px; padding:0 20px; text-align:left; font-size:16px; }
.tk-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 0; }
.tk-chip{ min-height:44px; padding:0 16px; font-size:14px; color:var(--text-secondary); }
.tk-chip:disabled{ opacity:.4; cursor:default; }
.tk-choice[aria-pressed="true"], .tk-chip[aria-pressed="true"]{ color:var(--text-primary); border-color:rgba(245,241,236,.55); background:rgba(245,241,236,.1); }
.tk-choice:focus-visible, .tk-chip:focus-visible{ outline:2px solid var(--magenta); outline-offset:2px; }
@media (hover:hover){ .tk-choice:hover, .tk-chip:hover{ border-color:rgba(245,241,236,.32); } }
.tk-text{ display:block; width:100%; box-sizing:border-box; min-height:96px; resize:vertical; margin:22px 0 0; border:0; border-radius:16px;
  background:rgba(245,241,236,.07); color:var(--text-primary); font:inherit; font-size:16px; line-height:1.5; padding:12px 14px; }
.tk-text:focus{ outline:none; background:rgba(245,241,236,.1); }
.tk-text:focus-visible{ box-shadow:inset 0 0 0 1px rgba(245,241,236,.35); }

/* Deine Küchen — a quiet memory, not a dashboard. */
.tk-mems{ list-style:none; margin:30px 0 0; padding:0; }
.tk-mem{ padding:24px 0; border-top:1px solid var(--hairline); }
.tk-mem:last-child{ border-bottom:1px solid var(--hairline); }
.tk-mem-k{ font-size:10px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin:0 0 8px; }
.tk-mem-p{ font-size:15px; line-height:1.55; color:var(--text-secondary); margin:8px 0 0; }
.tk-mem-q{ font-size:14.5px; line-height:1.55; color:var(--text-primary); margin:10px 0 0; }
.tk-mem-now{ display:grid; grid-template-columns:4rem 1fr; gap:10px; margin:16px 0 0; }
.tk-mem-now span{ font-size:10px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--text-secondary); margin-top:4px; }
.tk-mem-now p{ font-size:15px; line-height:1.5; color:var(--text-primary); margin:0; }
.tk-mem-then{ font-size:13.5px; line-height:1.5; color:var(--muted); margin:6px 0 0 calc(4rem + 10px); }

/* Local development review control — never Product UI, never deployed data. */
.tk-dev{ margin:48px 0 0; padding:12px 14px; border:1px dashed rgba(245,241,236,.22); border-radius:10px; font-size:12px; color:var(--muted); }
.tk-dev summary{ cursor:pointer; min-height:32px; display:flex; align-items:center; }
.tk-dev p{ margin:6px 0 10px; line-height:1.5; }
.tk-dev-row{ display:flex; flex-wrap:wrap; gap:6px; }
.tk-dev-row button{ min-height:32px; padding:0 10px; border-radius:6px; border:1px solid rgba(245,241,236,.18); background:none; color:var(--text-secondary); font:inherit; cursor:pointer; }
.tk-dev-row button[aria-pressed="true"]{ background:rgba(245,241,236,.12); color:var(--text-primary); }

@media (prefers-reduced-motion: reduce){
  .tk-talk{ animation:none; }
  .tk-choice, .tk-chip{ transition:none; }
}



@media (min-width:1024px){
    /* COMMUNITY EXPERIENCE 2.0 -- DESKTOP COMPOSITION. The measure was right
     and its POSITION was not: 35rem pinned to the left of a 1100px column
     left roughly half the screen empty on one side, which is what made a
     deliberate reading width read as an unfinished layout. The measure grows
     a little (38rem still sits inside the comfortable range for 17px prose)
     and, more importantly, the whole conversation now sits on one centred
     axis -- head, thread and composer together -- so the space around it is
     margin rather than a void. */
  /* The composer was named in that paragraph and missing from this
     selector. Measured on a signed-in Preview session at 1440px: head and
     thread on a 608px column at x=532, composer on a 560px column at
     x=286 -- the exact two-axis composition the comment above says was
     being removed. It joins them. */
  .cm-start-row, .cm-list, .cm-conv-head, .cm-posts,
  .cm-composer .cf-comp-in{ max-width:38rem;
    margin-inline:auto; }
  /* ...and the Table's own head with them. It sat on the old left axis while
     the list beneath it had moved to the centred one, which is the kind of
     two-axis composition that reads as unfinished rather than as deliberate. */
  .cm-table .ct-room-head, .cm-table .cf-empty{ max-width:38rem; margin-inline:auto; }
  .cm-opening{ font-size:clamp(32px, 3vw, 40px); }
}

/* ---- DIALOG CONTRACT ---------------------------------------------------- */
.sheet-backdrop.is-dialog .sheet{ max-height:85vh; max-height:85dvh; overscroll-behavior:contain; }
/* P19.7 -- a modal's dimmed area is not a window onto the page. The sheet has
   contained its own overscroll since the contract was written, but a drag that
   STARTED on the backdrop still scrolled the screen behind it, so a dialog that
   leaves a strip above itself -- which, with the software keyboard up, is every
   dialog -- could be pushed around by a thumb that missed. touch-action is
   resolved from the touched element upwards, so the sheet takes its own back
   and nothing inside a dialog loses a scroll, a stepper or a text field. One
   rule, in the contract both the Küche and the planning dialogs read from,
   rather than one copy per data-kind. */
.sheet-backdrop.is-dialog{ overscroll-behavior:contain; touch-action:none; }
.sheet-backdrop.is-dialog .sheet{ touch-action:auto; }
@media (min-width:768px){
  .sheet-backdrop.is-dialog{ align-items:center; padding:24px; }
  .sheet-backdrop.is-dialog .sheet{ border-radius:20px; padding:var(--s6); }
  .sheet-backdrop.is-dialog .sheet-handle{ display:none; }
}
.cm-dialog{ position:relative; isolation:isolate; }
.cm-dialog:focus{ outline:none; }
.cm-field{ margin-top:var(--s4); }

/* ---- GESPRÄCH BEGINNEN — sitting down at a Table -------------------------
   Not a form. The Table is named first, the opening is written in the
   typography it will carry in the conversation list, attribution is one
   tonal line, and the only Magenta is the start action once there is
   something to start. Near-black tonal ground, no field boxes, no cards. */
.cm-dialog[data-kind="startConversation"]{
  background:linear-gradient(180deg, #1B171E 0%, #141116 42%, #110F13 100%);
  box-shadow:inset 0 1px 0 rgba(245,241,236,.07); }
.cm-dialog[data-kind="startConversation"] .sheet-handle{ background:rgba(245,241,236,.16); margin-bottom:var(--s4); }
.cm-open-top{ display:flex; align-items:center; justify-content:space-between; gap:var(--s3); margin:0 0 4px; }
/* The Table is the context of the whole act: it wraps, never truncates. */
.cm-open-table{ margin:0; min-width:0; font-family:var(--font-c); font-size:11px; font-weight:600;
  line-height:1.45; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.cm-open-cancel{ flex:none; background:none; border:none; padding:0 4px; margin-right:-4px;
  min-height:44px; min-width:44px; font-family:var(--font-c); font-size:13px;
  color:var(--text-secondary); cursor:pointer; transition:color 200ms var(--patient); }
.cm-open-cancel:hover{ color:var(--text-primary); }
.cm-open-cancel:focus-visible{ outline:2px solid var(--magenta); outline-offset:2px; border-radius:6px; }
.cm-open-title, .report-sheet-title{ font-family:var(--font-d); font-weight:700; text-transform:uppercase;
  font-size:18px; line-height:1.15; letter-spacing:.04em; color:var(--text-primary); margin:0; }
.cm-open-desc, .report-sheet-instruction{ font-size:13.5px; line-height:1.5; color:var(--text-secondary); margin:6px 0 0; max-width:30em; }
/* THE WRITING SURFACE. "No box at all" was right for a screen and wrong for
   a dialog: on a sheet the member has just opened, display type with nothing
   under it reads as a heading addressed TO them, and the first question on a
   real iPhone was where to type. It takes the material the contribution
   bubble already uses -- a quiet fill, a soft radius, a lift on focus -- so
   "write here" is said by the same surface in both places. No border, no
   accent frame; Magenta still belongs to the action. */
.cm-open-write{ position:relative; margin-top:var(--s4);
  padding:12px 16px 8px; border-radius:18px;
  background:rgba(245,241,236,.07);
  transition:background-color 220ms var(--patient); }
.cm-open-write:hover{ background:rgba(245,241,236,.085); }
.cm-open-write:focus-within{ background:rgba(245,241,236,.1); }
/* Keyboard navigation alone gets a neutral ring (html.kbd-nav, see app.js)
   -- never on touch or mouse. */
html.kbd-nav .cm-open-write:focus-within{ outline:2px solid var(--text-secondary);
  outline-offset:2px; }
/* overflow-y:auto by default: if the grow step has not run yet (a reopened
   draft, a rotation) the opening scrolls rather than hiding words under its
   baseline. growStartInput() turns it off once the text fits. */
.cm-open-input{ display:block; width:100%; box-sizing:border-box; resize:none; overflow-y:auto;
  background:none; border:none; border-radius:0; margin:0; padding:0;
  min-height:calc(2 * 1.25em); max-height:40vh; max-height:40dvh;
  font-family:var(--font-d); font-weight:400; font-size:clamp(22px, 6.4vw, 26px);
  line-height:1.25; letter-spacing:.004em; color:var(--text-primary); overflow-wrap:anywhere; }
.cm-open-input::placeholder{ color:var(--muted); }
.cm-open-input:focus{ outline:none; }
.cm-open-input:focus-visible{ outline:none; }
.cm-open-input:disabled{ opacity:.55; }
/* Inside the surface, bottom right: part of the field, not a stray number
   under it. */
.cm-open-count{ margin:4px 0 0; text-align:right; font-size:11.5px; color:var(--muted);
  font-variant-numeric:tabular-nums; }
.cm-open-count.is-near{ color:var(--text-primary); }
.cm-open-attr{ display:flex; flex-wrap:wrap; align-items:baseline; gap:0 16px; margin-top:var(--s4); }
.cm-open-lead{ font-size:12.5px; line-height:1.4; color:var(--text-secondary); }
.cm-open-choice{ gap:0 16px; }
.cm-dialog .cm-open-hint{ margin:2px 0 0; color:var(--muted); }
.cm-open-name{ margin-top:var(--s4); }
.cm-open-name .cm-open-lead{ display:block; }
.cm-open-foot{ margin-top:var(--s4); display:flex; justify-content:flex-end; }
.cm-open-go{ min-width:12rem; }
/* An inert start is not yet the moment Magenta marks: tonal until the
   opening has words, then the one accent. The state change is also the
   control becoming operable, never colour alone. */
.cm-dialog .cm-open-go[disabled]{ background:rgba(245,241,236,.08); color:var(--text-secondary); opacity:1; }
.cm-dialog .cm-open-go[aria-busy="true"]{ background:var(--magenta); color:var(--canvas); opacity:.7; }
@media (max-width:640px){ .cm-open-foot .cm-open-go{ width:100%; } }

/* ---- CONTRIBUTION COMPOSER — the writing bubble -------------------------
   Joining a conversation, not completing a form: one rounded, borderless,
   tonal writing surface is the whole invitation, with no ruled lines above
   or below it. The text is written inside that same surface, which grows
   with it. Attribution and actions are secondary and appear under the
   bubble only while writing. Magenta stays on Beitragen, and only once
   there is something to contribute. Same grammar for the first
   contribution and every later one. */
.cm-composer .cf-comp-in{ border-top:none; padding-top:0; }
.cm-composer:focus{ outline:none; }
.cm-bubble{ position:relative; border-radius:22px; padding:0 16px; cursor:text;
  background:rgba(245,241,236,.07);
  transition:background-color 220ms var(--patient), box-shadow 220ms var(--patient); }
.cm-bubble:hover{ background:rgba(245,241,236,.085); }
/* Active is a state of the surface itself: it lifts in tone. No border, no
   accent frame -- Magenta stays on Beitragen. */
.cm-bubble:focus-within{ background:rgba(245,241,236,.1); }
/* Keyboard navigation alone gets a neutral focus ring (html.kbd-nav, see
   app.js); touch and mouse typing never do. */
html.kbd-nav .cm-bubble:focus-within{ outline:2px solid var(--text-secondary); outline-offset:2px; }
/* 16px stays: the iOS focus-zoom threshold. Height is set by autoGrowCompose. */
.cm-composer .cm-bubble-input{ padding:10px 0; min-height:44px; line-height:1.5; font-size:16px; }
.cm-composer .cm-bubble-input::placeholder{ color:var(--text-secondary); }
.cm-composer .cm-bubble-input:focus-visible{ outline:none; }
/* ONE COMPOSER, TWO PARTS. The configuration used to float under the bubble
   at its own indent (4px against the bubble's 16px), so the attribution row,
   the hint and the footer read as three loose lines on the page rather than
   as the inside of the thing being written in. It now shares the bubble's
   indent and sits under one hairline: the bubble, then what it will be
   posted as. */
.cm-comp-more{ margin-top:12px; padding:12px 16px 0;
  border-top:1px solid rgba(245,241,236,.07); }
.cm-comp-more[hidden]{ display:none; }
/* Lead, then the two options: separated by room and by the fact that one of
   them is visibly chosen (.cf-opt.is-on keeps the room's own underline).
   Nothing is printed between them. */
.cm-composer .cm-comp-attr{ margin-top:0; gap:2px 14px; align-items:center; }
.cm-composer .cm-comp-attr .cm-open-lead{ font-size:11.5px; }
.cm-composer .cm-comp-attr .cm-open-choice{ gap:2px 14px; align-items:center; }
.cm-composer .cm-comp-attr .cf-opt{ font-size:13px; }
.cm-composer .cm-comp-hint{ margin:6px 0 0; color:var(--muted); }
.cm-composer .cm-comp-name{ margin-top:12px; }
/* Five regions, five edges: the title and who began it, then the
   conversation or its empty state, then the surface being written in, then
   how it will be attributed, then the two actions. Each hairline marks one
   of those joins -- nothing decorative, nothing that costs height. */
.cm-composer .cf-comp-foot{ margin-top:12px; padding-top:12px;
  border-top:1px solid rgba(245,241,236,.07); }
/* QUIET IS NOT THE SAME AS OFF. Both footer actions were --muted at 11.5px,
   which on a real iPhone beside a magenta button read as disabled rather
   than as secondary. They take the room's near-white foreground and the
   faint underline this product already uses to say "this line is a control"
   (.cf-mtable, the metadata controls). Rank is still carried the way it
   should be -- by type size and by the single filled shape -- not by making
   the alternatives hard to read.

   Two groups: Richtlinien on the left, belonging to the room and never
   behind a menu; Abbrechen beside Beitragen on the right, because those two
   decide this contribution. They wrap onto their own lines on a narrow
   screen instead of crowding. No box on either, and the row's height is
   still whatever the 44px submit button needs. */
.cm-foot{ flex-wrap:wrap; gap:8px var(--s4); }
.cm-foot-pair{ display:inline-flex; align-items:center; gap:10px;
  margin-left:auto; }
/* ONE SHAPE, TWO ANSWERS. Abbrechen and Beitragen are the same button and
   differ only in colour: a neutral material surface against the single
   magenta. Nothing here changes the geometry .cf-share already sets, so the
   row is still 44px and the pair still wraps on a narrow screen. */
.cm-composer .cm-comp-alt{ background:rgba(245,241,236,.1); color:var(--text-primary);
  box-shadow:inset 0 0 0 1px rgba(245,241,236,.14); }
.cm-composer .cm-comp-alt:hover{ background:rgba(245,241,236,.16); opacity:1; }
.cm-composer .cm-comp-alt:focus-visible{ outline:2px solid var(--text-secondary); outline-offset:3px; }
.cm-composer .cm-foot-link{ font-size:12.5px; color:var(--text-primary);
  text-decoration:underline; text-decoration-color:rgba(245,241,236,.26);
  text-underline-offset:3px;
  transition:color 200ms var(--patient), text-decoration-color 200ms var(--patient); }
.cm-composer .cm-foot-link:hover,
.cm-composer .cm-foot-link:focus-visible{ color:var(--text-primary);
  text-decoration-color:rgba(245,241,236,.6); }
/* The conversation head's own padding is gone: .ct-room-head carries the
   10px for both levels now, which is what keeps the way back in one place. */
/* THE NAME IN THE IDENTITY SHEET. */
.av-name{ margin:var(--s4) 0 var(--s5); }
.av-name .cf-input{ margin-top:6px; }
.av-name-h{ margin:6px 0 0; }
.cm-composer .cm-comp-go[disabled]{ background:rgba(245,241,236,.08); color:var(--text-secondary); opacity:1; }
.cm-composer .cm-comp-go[aria-busy="true"]{ background:var(--magenta); color:var(--canvas); opacity:.7; }

/* ---- KEYBOARD-AWARE WRITING SURFACES -----------------------------------
   html.is-keyboard and the --kb-* variables exist only while a Community
   text field has focus AND a software keyboard covers part of the screen
   (communityKeyboard in app.js). The surface is then laid out against the
   visible viewport: its lower edge on the keyboard, its height capped to
   what is visible. Without the class nothing here applies, so the approved
   composition is untouched the moment the keyboard is gone. */
html.is-keyboard .sheet-backdrop.is-dialog{ top:var(--kb-top, 0px); bottom:auto; height:var(--kb-vh, 100%); }
/* The fixed preview banner sits above every surface; the visible height it
   leaves is what the sheet may use. --preview-banner-h is 0 once the banner
   is retired, so this needs no follow-up then. */
html.is-keyboard .sheet-backdrop.is-dialog .sheet{
  max-height:calc(var(--kb-vh, 100vh) - var(--preview-banner-h, 0px) - 12px); }
@media (min-width:768px){
  html.is-keyboard .sheet-backdrop.is-dialog .sheet{
    max-height:calc(var(--kb-vh, 100vh) - var(--preview-banner-h, 0px) - 60px); }
}
@media (max-width:1023px){
  /* The bottom navigation is behind the keyboard: no clearance for it. */
  html.is-keyboard .cf-composer{ bottom:var(--kb-inset, 0px); padding-bottom:12px; }
  html.is-keyboard .cf-composer.is-open .cf-comp-in{
    max-height:calc(var(--kb-vh, 100vh) - var(--preview-banner-h, 0px) - 48px); }

  /* ---- WRITING STATE ---------------------------------------------------
     With the keyboard up, the screen is roughly half of what it was and all
     of it has to hold one sentence being written. So the composer gives back
     the air it keeps when there is room, and nothing else: no control is
     removed, no label that carries meaning disappears, and the attribution
     selector keeps both options and the sentence that says who will be seen.
     Everything here is bounded by html.is-keyboard, so the approved
     composition returns exactly when the keyboard goes. */
  html.is-keyboard .cm-comp-more{ margin-top:10px; }
  html.is-keyboard .cm-open-attr{ display:flex; align-items:center;
    gap:10px; flex-wrap:wrap; margin:0; }
  /* The lead reads "Wie du erscheinst" — what the two options already say in
     full. It is the one thing that can go, and it goes to the accessible
     name rather than being deleted: the radiogroup still announces it. */
  html.is-keyboard .cm-open-attr .cm-open-lead{
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
  html.is-keyboard .cm-comp-hint{ margin:6px 0 0; font-size:11.5px; line-height:1.35;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  html.is-keyboard .cf-comp-foot{ margin-top:10px; }
  html.is-keyboard .cm-open-name{ margin-top:10px; }

  /* ---- THE CONVERSATION DIALOG, writing state -------------------------
     Same bargain. The head keeps its title and its kicker (they say where
     you are and what you are doing); the explanatory line steps aside, and
     the body scrolls inside the sheet rather than pushing the actions out of
     reach — the sheet's own max-height is already bound to the visible
     viewport above. */
  html.is-keyboard .sheet-ka .ka-head{ padding-bottom:var(--s4); }
  html.is-keyboard .sheet-ka .report-sheet-instruction,
  html.is-keyboard .sheet-cm .ka-head .del-body{ display:none; }
  /* Measured, not assumed: the title renders at 18px here, so the 19px this
     rule first carried would have made the head BIGGER in the state that has
     least room. It comes down a step instead. */
  html.is-keyboard .sheet-ka .report-sheet-title{ font-size:16.5px; }
  html.is-keyboard .cm-dialog .cm-open-attr{ margin-top:var(--s4); }
  html.is-keyboard .cm-dialog .report-actions,
  html.is-keyboard .cm-dialog .cm-dlg-actions{ margin-top:var(--s4); }

  /* ---- THE ACTION STAYS PUT (physical iPhone finding, 2026-12-01) -------
     The sheet's height has been bound to the visible viewport since this
     architecture was written, and .sheet scrolls -- but the start action
     scrolled with everything else, so with the keyboard up the member had
     to scroll, or dismiss the keyboard, to reach the button they were
     typing towards. The sheet becomes head / body / foot: the body is the
     only part that scrolls, and the foot keeps its place at the bottom of
     whatever the visible viewport is. No height is assumed anywhere -- the
     numbers still come from visualViewport through --kb-vh and --kb-top,
     which already exclude Safari's chrome and the keyboard's accessory
     bar. Bounded by html.is-keyboard, so the dialog is exactly itself
     again the moment the keyboard goes. */
  html.is-keyboard .cm-dialog[data-kind="startConversation"]{
    display:flex; flex-direction:column; overflow:hidden; }
  html.is-keyboard .cm-dialog[data-kind="startConversation"] > .sheet-handle,
  html.is-keyboard .cm-dialog[data-kind="startConversation"] > .cm-open-head,
  html.is-keyboard .cm-dialog[data-kind="startConversation"] > .cm-open-foot{ flex:none; }
  html.is-keyboard .cm-dialog[data-kind="startConversation"] > .cm-open-body{
    flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch; }
  html.is-keyboard .cm-dialog[data-kind="startConversation"] > .cm-open-foot{
    margin-top:12px; padding-top:12px;
    border-top:1px solid rgba(245,241,236,.07); }
}
.cm-dlg-state{ margin-top:var(--s4); }
/* An error is text first: readable colour, a rule beside it, role=alert.
   Never colour alone. */
.cm-dlg-error{ font-size:13.5px; line-height:1.5; color:var(--text-primary); margin:var(--s4) 0 0;
  padding:6px 0 6px 12px; border-left:2px solid var(--action-destructive-on-surface); }
.cm-dlg-actions{ margin-top:var(--s5); display:flex; flex-direction:column; gap:10px; }
/* COMMUNITY EXPERIENCE 2.0 -- the two ways out of a destructive dialog.
   The way out stays the larger, filled control, because a dialog about
   deleting something should make it easy not to. What it no longer is, is
   MAGENTA: the product's scarcest accent was being spent on "Abbrechen",
   which does nothing, while the irreversible action beside it wore the same
   colour. Now the way out is neutral light-on-dark and the destructive action
   is the only marked thing in the dialog -- in the destructive tone, outlined
   rather than filled, so it reads as deliberate rather than inviting. */
.cm-destructive{ background:transparent; border:1px solid rgba(224, 123, 151, .34);
  color:var(--action-destructive-on-surface); }
.cm-destructive:hover:not([disabled]), .cm-destructive:focus-visible{
  border-color:var(--action-destructive-on-surface);
  background:rgba(224, 123, 151, .08); }
.cm-keep{ background:rgba(245,241,236,.93); color:#14111A; border:0; }
.cm-keep:hover:not([disabled]){ background:#FFFFFF; transform:translateY(-1px); }
.cm-keep:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
/* The Konto head inside a Community dialog: the same pool of light, the same
   visible close, the same measure. Only the two title classes differ from the
   Konto sheets, because this dialogue's words are its own. */
.sheet-cm .ka-head .del-title{ margin:0 0 8px; }
.sheet-cm .ka-head .del-body{ margin:0; font-size:13.5px; line-height:1.55;
  color:var(--text-secondary); max-width:38ch; }
.cm-dialog .btn[disabled], .cm-dialog .cf-share[disabled], .cm-dialog .btn-quiet[disabled]{ opacity:.55; cursor:default; }
.cm-dialog .cf-hint{ color:var(--text-secondary); }
.cm-dialog .btn-quiet{ min-height:44px; color:var(--text-secondary); }
/* A dialog's primary and secondary actions stand 52px tall -- the height the Kitchen dialogs set
   through .sl-trip-go and .sl-add-go. Everywhere else .btn stops at its screen height of 46px, so a
   Community or Account dialog sat 6px shorter, and a ghost beside a primary was a pixel taller than
   it. Scoped away from .sl-dialog: the reference already has the height and is not restyled here. */
.cm-dialog:not(.sl-dialog) .btn{ min-height:52px; }
.cm-dialog .compose-box{ background:none; padding:0; margin:var(--s4) 0 0; }
.sheet .del-error{ color:var(--action-destructive-on-surface); }
@media (max-width:640px){
  .report-actions .cf-share{ width:100%; }
}
/* Dialogs carry no Nebula in any context: reading and writing surfaces stay
   free of it (Design Constitution 2.6). The former PL8 dialog light was
   removed with the PL8 Community shell; data-material stays inert. */

@media (prefers-reduced-motion: reduce){
  .ts.is-arrived .ts-sheen .ts-ring::after{ animation:none; }
  .cf-post.is-leaving{ animation:none; opacity:.4; }
  .cf-ackt b.is-new, .cf-dot.is-off{ animation:none; }
}

/* ---- START — the member home (Start Home V3.1) ---------------------------
   V3.1: fewer things at once. Metadata becomes a glyph and a number (the
   CRVD ring glyphs, homeGlyph), a peeking recipe shows only its name, the
   week is an object of seven places, PL8 is set apart by material.

   One page, not a stack of modules. Start answers, in one movement: what is
   today, what can I cook, where do I continue, what is being said, and — very
   quietly, near the end — PL8. Density over whitespace: one shared vertical
   rhythm (--hm-gap), no section surfaces, no explanations the member does not
   need. Type carries the page: the recipe name is the largest object on
   Start, the ingredients are the editorial material that stands in for
   photography (cropped at the edge, layered, moving with the finger and the
   scroll), and every doorway is one line. Konto/Community grammar throughout.
   Magenta: the Signal and the PL8 threshold's own action only. Nebula: one
   contained field behind the Signal inside the compact PL8 object (§2.6,
   DH-16). Native CSS/JS; none of the motion under reduced motion. */
.home{ --hm-g:max(16px, env(safe-area-inset-left)); --hm-gap:32px; position:relative; }
/* P20.2 -- the opening view's atmosphere: the Recipe Start is already naming,
   behind the greeting and the hero. Full-bleed past the content gutter, and
   it ends in the canvas rather than at an edge, so there is no card, no frame
   and no seam -- the screen stays one surface.
   Readability is budgeted, not hoped for: the image runs at 46% and the scrim
   over it never falls below 62% of the canvas, so the photograph contributes
   at most about 17% of any pixel the type sits on -- enough to feel, far too
   little to lift a near-black ground into the range of near-white type. The
   scrim deepens downward and ends in the canvas itself, so the band has no
   lower edge. Everything above -- .hm-top and .hm-flow -- is lifted one
   layer, so no text ever renders inside the image's stacking context. */
.hm-atmo{ position:absolute; top:0; left:calc(-1 * var(--hm-g)); right:calc(-1 * var(--hm-g));
  height:min(64vh, 560px); z-index:0; overflow:hidden; pointer-events:none; }
.hm-atmo img{ display:block; width:100%; height:100%; object-fit:cover; object-position:50% 38%;
  opacity:.46; filter:saturate(.9) contrast(1.04); }
.hm-atmo::after{ content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(15,13,18,.62) 0%, rgba(15,13,18,.70) 40%,
    rgba(15,13,18,.90) 74%, var(--canvas) 100%); }
.home > .hm-top, .home > .hm-flow, .home > .pn-update{ position:relative; z-index:1; }
.hm-k{ display:block; font-family:var(--font-c); font-size:10px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); }
.hm-k em{ font-style:normal; font-weight:500; letter-spacing:.02em; text-transform:none; margin-left:8px; }
.hm-text{ display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:0; background:none; border:0; cursor:pointer;
  font-family:var(--font-d); font-weight:500; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-secondary); }
.hm-text svg, .hm-arrow svg{ width:12px; height:12px; transform:rotate(180deg); }
/* QUIET DIRECTION (V3.6). Ordinary navigation on Start is one plain chevron: a
   direction, not a symbol. THE SIGNAL (ring, opening, seat) belongs to identity
   and interaction objects -- PL8, the Tables, the Recipe memory -- and never
   to "next". 44px target, neutral, brightens and steps a hair forward when the
   row is touched, hovered or focused. */
.hm-arw{ flex:none; display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; color:var(--text-secondary);
  transition:color 220ms ease, transform 300ms var(--patient); }
.hm-arw svg{ display:block; width:22px; height:22px; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.hm-arw.is-mini{ width:14px; height:14px; }
.hm-arw.is-mini svg{ width:14px; height:14px; stroke-width:1.9; }
[data-ot].is-pressed .hm-arw, [data-ot]:focus-visible .hm-arw{ color:var(--text-primary); transform:translateX(2px); }
@media (hover:hover){ [data-ot]:hover .hm-arw{ color:var(--text-primary); transform:translateX(2px); } }
.hm-hero-meta .hm-arw, .hm-cont .hm-arw:not(.is-mini), .hm-focus .hm-arw{ margin-right:-13px; }
@media (hover:hover){ .hm-text:hover{ color:var(--text-primary); } }
.home button:focus-visible, .hm-rail:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; border-radius:6px; }

/* Top: one line for the day and the week, then the greeting — no larger than
   it needs to be, because the recipe below is the object that matters. */
/* P20.1 -- THE WAY INTO THE WOCHENFOKUS, AS ONE OBJECT, FIRST ON THE SCREEN.
   The date keeps the voice it already had (.hm-date), the place it opens is
   named in the product's display face, and the week's standing is one quiet
   line beneath. No meter, no ring, no icon: the sentence is the indicator.
   A single hairline separates it from the greeting, which stays the opening
   of the page and keeps the Recipe below it as the largest object on Start.
   NOTE -- .hm-topline, .hm-weekbtn, .hm-mark, .hm-weekpanel*, .hm-week*,
   .hm-rhythm, .hm-day*, .hm-focus* and .hm-weekplan below are no longer
   rendered: the collapsed week object they styled was replaced by this entry.
   They are held rather than deleted until the Founder has accepted the new
   composition on the device; nothing else references them. */
.hm-wf{ display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%;
  margin:0 0 18px; padding:2px 0 16px; border:0; border-bottom:1px solid var(--hairline);
  background:none; color:inherit; font:inherit; text-align:left; cursor:pointer;
  -webkit-tap-highlight-color:transparent; }
.hm-wf-t{ display:flex; flex-direction:column; gap:5px; min-width:0; }
.hm-wf-h{ display:block; font-family:var(--font-d); font-weight:700; font-size:clamp(18px, 5vw, 21px);
  line-height:1.1; letter-spacing:.04em; text-transform:uppercase; color:var(--text-primary); }
.hm-wf-s{ display:block; font-size:13px; line-height:1.35; color:var(--text-secondary); }
@media (hover:hover){ .hm-wf:hover .hm-wf-s{ color:var(--text-body); } }
.hm-wf:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; border-radius:6px; }

/* ====================================================================== *
 * MEMBER HOME 2.0 -- ZUSTANDSKARTEN UND DAS GERICHT IM HERO
 * ----------------------------------------------------------------------
 * Wochenfokus und Küche sind Karten derselben Familie wie die vier Ziele
 * am Fuß von Start (.hm-dest), und doch nicht dasselbe Maß: 104px statt
 * 84, weil sie einen Zustand UND eine Erklärzeile tragen. Eine Familie,
 * zwei Höhen -- gleiche Geometrie heißt nicht gleiches Aussehen.
 * ====================================================================== */
.hm-dest.hm-state{ min-height:104px; margin-top:18px; }
.hm-state .hm-dest-line{ font-size:16px; }
.hm-dest-sub{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  margin-top:4px; font-size:12px; line-height:1.3; color:var(--muted); }
/* Die Woche IST die Marke: sieben Striche, heute hell, markiert magenta. */
.hm-wk{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; gap:3px; }
.hm-wk i{ display:block; width:3px; height:12px; border-radius:2px; background:#3A333C;
  transition:height 260ms var(--patient), background-color 260ms var(--patient); }
.hm-wk i.is-today{ background:rgba(var(--hi), .55); height:17px; }
.hm-wk i.is-on{ background:var(--magenta); height:26px; }
.hm-wk i.is-on.is-today{ box-shadow:0 0 0 1px rgba(var(--hi), .35); }
.hm-state--wf .hm-dest-glow{ inset:-16px -24px;
  background:radial-gradient(closest-side, rgba(var(--lit), .20) 0%, rgba(var(--lit), .07) 52%, rgba(var(--lit), 0) 100%); }
.hm-state--kq .hm-dest-glow{ inset:-16px -24px;
  background:radial-gradient(closest-side, rgba(var(--hi), .10) 0%, rgba(var(--hi), .03) 52%, rgba(var(--hi), 0) 100%); }
/* FOUNDER-REVIEW AM GERÄT (2026-11-23): Zutatenzeile, Zeit und ANSEHEN
   gehören zum Rezept -- die Küche nicht. Der Fuß des Heros bleibt als ein
   Block zusammen (14px / 16px innen, unverändert), und darunter steht
   bewusst mehr Luft als zwischen den Zeilen eines Objekts: 28px statt der
   18px, die eine Zustandskarte sonst von ihrem Vorgänger trennen. Die Küche
   liest damit als eigenes Ziel, nicht als Zeile des Rezepts. */
.hm-dest.hm-state--kq{ margin-top:28px; }

/* ---- Der Hero, wenn das Gericht ihn trägt (B2) ---- */
.hm-hero:has(.hm-hero-stage:not(.is-noshot)){ display:block; }
.hm-hero-stage{ display:block; }
.hm-hero-stage:not(.is-noshot){ position:relative; }
.hm-hero-shot{ display:block; position:relative; margin:0 calc(-1 * var(--hm-g)); aspect-ratio:3/2;
  overflow:hidden; background:var(--surface); }
.hm-hero-shot img{ display:block; width:100%; height:100%; object-fit:cover; object-position:50% 42%; }
.hm-hero-shot::after{ content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(15,13,18,.42) 0%, rgba(15,13,18,0) 26%,
    rgba(15,13,18,.62) 58%, rgba(15,13,18,.93) 84%, var(--canvas) 100%); }
/* Kicker und Name liegen im abgedunkelten Fuß des Bildes -- der Verlauf ist
   der Kontrast, nicht ein Kasten. Der Name eine Stufe kleiner als auf dem
   Canvas, damit er über dem Bild lesbar bleibt. */
.hm-hero-stage:not(.is-noshot) .hm-hero-main{ position:absolute; z-index:2; left:0; right:0; bottom:14px; }
.hm-hero-stage:not(.is-noshot) .hm-hero-name{ font-size:clamp(27px, 7.6vw, 33px); margin-top:8px; }
.hm-hero-stage:not(.is-noshot) .hm-hero-proof{ color:rgba(var(--hi), .78); }
/* Kein Bild: nichts wird ersetzt, der Hero steht wie vorher auf der
   Atmosphäre (B1). */
.hm-hero-stage.is-noshot .hm-hero-shot{ display:none; }
/* DIE KOMPAKTE BÜHNE (Founder-Entscheidung 2026-11-24). Der Hero endet mit
   seiner Komposition: Bild, Kicker, Name, ein Satz. Zutatenwörter, Zeit und
   die ANSEHEN-Kapsel sind fort, und mit ihnen der Fuß, der sie trug -- es
   bleibt kein leerer Behälter und kein Abstand zurück, weil der Hero jetzt
   nur noch die Bühne IST. Die Richtung ist ein Zeichen in ihrer unteren
   rechten Ecke, in derselben Ringsprache wie die Kapseln der Karten, nur
   ohne Wort: dunkle Füllung (es liegt auf einem Foto), eine Haarlinie,
   derselbe Chevron. Der Haupttext hält rechts so viel Platz frei, dass auch
   ein langer Name nie darunter läuft -- deshalb ein Innenabstand, keine
   Überlappung, die man nur auf einem Testgerät bemerkt. */
.hm-hero.has-go{ display:block; }
.hm-hero.has-go .hm-hero-main{ padding-right:56px; }
.hm-hero-go{ position:absolute; z-index:2; right:0; bottom:14px;
  box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  border:1px solid rgba(245,241,236,.24); background:rgba(15,13,18,.42); color:var(--text-primary);
  transition:background-color 200ms ease, border-color 200ms ease; }
.hm-hero-go svg{ display:block; width:15px; height:15px;
  stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
[data-ot].is-pressed .hm-hero-go, [data-ot]:focus-visible .hm-hero-go{
  background:rgba(245,241,236,.14); border-color:rgba(245,241,236,.38); }
@media (hover:hover){ [data-ot]:hover .hm-hero-go{
  background:rgba(245,241,236,.14); border-color:rgba(245,241,236,.38); } }
/* Das Schloss steht jetzt neben dem Kicker statt in der Metazeile. */
.hm-hero .hm-k b{ margin-left:9px; font-family:var(--font-c); font-size:9px; font-weight:600;
  letter-spacing:.16em; color:rgba(var(--hi), .72); }

/* ---- Die Küche auf Start ----------------------------------------------- *
 * .hm-kueche is .hm-cont with no additions of its own beyond the space above
 * it: the row IS the existing object, which is the whole point. Empty until
 * the state is known, so the slot never reserves height for nothing. */
#hmKueche:empty{ display:none; }


/* ---- Die Einstieg-Zeile, einmalig -------------------------------------- *
 * Two lines on a hairline, with its two exits. It is not a card and not a
 * banner: no fill, no border, no icon, no close cross -- the member either
 * takes the two minutes or says no, and both end it for good. */
.hm-intro{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
  margin:20px 0 0; padding:14px 0 0; border-top:1px solid var(--hairline); }
.hm-intro-p{ margin:0; max-width:21em; font-size:13.5px; line-height:1.45; color:var(--text-secondary); }
.hm-intro-a{ flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:2px; }
.hm-intro-go, .hm-intro-no{ min-height:44px; padding:0; border:0; background:none; font:inherit; cursor:pointer;
  -webkit-tap-highlight-color:transparent; }
.hm-intro-go{ font-size:13.5px; font-weight:500; color:var(--text-primary);
  text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.hm-intro-no{ font-size:12.5px; color:var(--muted); white-space:nowrap; }
@media (hover:hover){ .hm-intro-no:hover{ color:var(--text-secondary); } }
.hm-intro-go:focus-visible, .hm-intro-no:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; border-radius:6px; }

.hm-topline{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:40px; }
.hm-top .hm-date{ margin:0 0 9px; }
.hm-date{ margin:0; font-family:var(--font-c); font-size:10.5px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.hm-weekbtn{ display:inline-grid; grid-template-columns:repeat(7, 12px); gap:4px; align-items:center; height:44px; min-width:44px; padding:0 2px;
  background:none; border:0; cursor:pointer; }
/* Each day is the CRVD ring (see homeDayGlyph): open, faint ahead, filled
   where the member took part. The week reads as a rhythm, not a chart. */
.hm-mark{ display:block; width:12px; height:12px; color:rgba(245,241,236,.32); transition:opacity 300ms ease; }
.hm-mark .hm-dg{ display:block; width:100%; height:100%; }
.hm-mark .hm-dg path{ stroke-width:1.75; }
.hm-mark.is-today .hm-dg path{ stroke-width:2.1; }
.hm-mark.is-on{ color:rgba(245,241,236,.94); }
.hm-mark.is-ahead{ color:rgba(245,241,236,.14); }
.hm-mark.is-today{ color:var(--text-primary); }
.hm-weekbtn[aria-expanded="true"] .hm-mark{ opacity:.4; }
/* The week is a rhythm collapsed, a sentence expanded. Nothing of the
   expanded state is shown while it is closed. */
.hm-weekpanel{ display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows 360ms cubic-bezier(.22,.61,.36,1), opacity 240ms ease; }
.hm-weekpanel.is-open{ grid-template-rows:1fr; opacity:1; }
.hm-weekpanel-in{ min-height:0; overflow:hidden; }
/* The open week is one object: a quiet matte surface holding the seven
   places, one sentence, and the next useful thing (Wochenfokus). */
.hm-week{ margin:6px 0 14px; padding:14px 16px 4px; border-radius:18px;
  background:linear-gradient(180deg, rgba(245,241,236,.04), rgba(245,241,236,.015)); box-shadow:inset 0 0 0 1px rgba(245,241,236,.07); }
.hm-week-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.hm-rhythm{ list-style:none; display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); max-width:440px; margin:16px -4px 0; padding:0; }
.hm-day{ display:flex; flex-direction:column; align-items:center; gap:8px; color:rgba(245,241,236,.32); }
.hm-day .hm-dg{ display:block; width:30px; height:30px; }
.hm-day .hm-dg path{ stroke-width:1.15; }
.hm-day.is-on{ color:rgba(245,241,236,.94); }
.hm-day.is-ahead{ color:rgba(245,241,236,.13); }
.hm-day.is-today{ color:var(--text-primary); }
.hm-day.is-today .hm-dg-ring{ stroke-width:1.6; }
.hm-day-l{ font-family:var(--font-c); font-size:9.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.hm-day.is-today .hm-day-l{ color:var(--text-primary); }
.hm-weekline{ font-family:var(--font-d); font-weight:400; font-size:19px; line-height:1.25; color:var(--text-primary); margin:16px 0 0; max-width:20em; }
/* P19.4 -- planning, named beside the marking sentence and never merged into
   it: one quiet line, silent when there is nothing planned. */
.hm-weekplan{ margin:6px 0 0; font-size:12.5px; line-height:1.4; color:var(--muted); }
.hm-weeknote{ font-size:11px; color:var(--muted); margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* Wochenfokus: the next useful thing in the week, inside the same object. */
.hm-focus{ display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:60px; margin:14px 0 0; padding:6px 0;
  background:none; border:0; border-top:1px solid rgba(245,241,236,.07); color:inherit; font:inherit; text-align:left; cursor:pointer; }
.hm-focus-t{ display:block; min-width:0; }
.hm-focus-line{ display:block; font-size:14px; line-height:1.4; color:var(--text-body); margin-top:3px; }
/* Reveal: the seven places arrive one after another, then the words. */
.hm-weekpanel .hm-day .hm-dg{ transform:scale(.35); opacity:0;
  transition:transform 560ms cubic-bezier(.22,.61,.36,1) calc(90ms + var(--i) * 50ms), opacity 380ms ease calc(90ms + var(--i) * 50ms); }
.hm-weekpanel .hm-day-l, .hm-weekpanel .hm-weekline, .hm-weekpanel .hm-weeknote, .hm-weekpanel .hm-focus{ opacity:0; transform:translateY(6px);
  transition:opacity 420ms ease 420ms, transform 560ms cubic-bezier(.22,.61,.36,1) 420ms; }
.hm-weekpanel.is-open .hm-day .hm-dg, .hm-weekpanel.is-open .hm-day-l, .hm-weekpanel.is-open .hm-weekline,
.hm-weekpanel.is-open .hm-weeknote, .hm-weekpanel.is-open .hm-focus{ opacity:1; transform:none; }
.hm-title{ font-family:var(--font-d); font-weight:500; text-transform:none; color:var(--text-primary);
  font-size:clamp(28px, 8vw, 38px); line-height:1.04; letter-spacing:-.005em; margin:8px 0 0; }

/* Today: the recipe owns the first viewport. The name is the largest type on
   the page; the ingredients stand beside it as a cropped column of material,
   drifting a little as the page scrolls. */
.hm-hero{ position:relative; display:grid; grid-template-columns:minmax(0, 1fr) auto; column-gap:14px; align-items:start;
  width:100%; margin:18px 0 0; padding:0; text-align:left; background:none; border:0; color:inherit; font:inherit; cursor:pointer; }
.hm-hero-main{ display:block; min-width:0; }
.hm-hero-name{ display:block; font-family:var(--font-d); font-weight:600; text-transform:uppercase; color:var(--text-primary);
  font-size:clamp(34px, 9.8vw, 46px); line-height:1.02; letter-spacing:.005em; margin-top:7px; }
/* Rotation brings names the composition was not first drawn for: a name
   with a very long word sets a step smaller so the word fits whole; only a
   word that still cannot fit may break (never automatic hyphenation, which
   split short words like "Bacon" to fill lines). */
.hm-hero-name, .hm-slide-name{ overflow-wrap:break-word; }
/* P19.6 -- a long German compound used to break where the line ran out, not
   where the word does: "LINSENBRATLING / E". The step down above already
   happens and still was not enough, because the hero's name column shares its
   row with the display words. German hyphenation puts the break at a real
   boundary instead -- "LINSEN- / BRATLINGE" -- and the old objection to it is
   kept by the limits: a word must be at least ten characters before it may be
   hyphenated at all, so short names like "Bacon" are never split to fill a
   line. break-word stays underneath as the last resort for a word no
   dictionary can divide. No size, clamp, line-height or layout is changed. */
.hm-hero-name{ hyphens:auto; -webkit-hyphens:auto;
  hyphenate-limit-chars:10 5 4; -webkit-hyphenate-limit-before:5; -webkit-hyphenate-limit-after:4; }
.hm-hero-name.is-long{ font-size:clamp(30px, 8.6vw, 40px); }
.hm-hero.is-quiet .hm-hero-name{ text-transform:none; font-weight:500; font-size:clamp(26px, 7.4vw, 34px); }
/* P19.4 -- the hero's kicker says whose answer this is. A plan the member
   made is theirs, so its kicker is one step brighter -- the same way Cooking
   Memory's own row is distinguished (.hm-cont.is-mem); a suggestion stays the
   muted editorial label it has always been. Brightness, never hue: Start adds
   no Magenta (§2.3). The composition, type and geometry are unchanged -- only
   who is speaking is now legible. */
.hm-hero.is-planned .hm-k{ color:var(--text-secondary); }
.hm-hero.is-planned.is-quiet{ cursor:default; }
.hm-hero.is-planned.is-quiet .hm-hero-name{ text-transform:uppercase; font-weight:600; font-size:clamp(30px, 8.6vw, 40px); }
/* Start's "Heute" while the catalogue is on its way: the slot keeps the Recipe's footprint, two soft bars, no text, no motion. */
.hm-hero.is-pending{ cursor:default; min-height:232px; }
.hm-skel{ display:block; height:.9em; width:78%; max-width:340px; border-radius:6px; background:rgba(var(--hi), .08); }
.hm-skel.hm-skel-s{ height:12px; width:46%; margin-top:14px; }
.hm-hero-proof{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  font-size:14px; line-height:1.45; color:var(--text-body); margin:9px 0 0; max-width:28em; }
.hm-hero-meta{ grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:12px; margin:8px 0 0; }
/* Practical metadata: a glyph and a number, quieter than any sentence. */
.hm-meta{ display:inline-flex; align-items:center; gap:5px; font-size:12px; line-height:1; letter-spacing:.02em; color:var(--muted); font-variant-numeric:tabular-nums; white-space:nowrap; }
.hm-meta .hm-g{ flex:none; width:13px; height:13px; }
.hm-meta b{ margin-left:7px; font-family:var(--font-c); font-size:9.5px; font-weight:600; letter-spacing:.16em; color:var(--text-secondary); }
/* Die Zutatenspalte des Heros (.hm-hero-ing) ist mit der kompakten Bühne
   entfallen -- samt ihrer Drift über den ersten Bildschirm. Der Karussell-
   Teller unten benutzt .hm-slide-words und ist davon unberührt. */
/* Shared by both Start slots (hero thumbnail, carousel plate); each parent
   sizes and positions it, this only ever sets how the photograph itself
   fills that box -- the same object-fit:cover contract as .rx-img. */
.hm-visual-img{ display:block; object-fit:cover; object-position:50% 50%; }
/* The continuation belongs to today, so it hangs directly off the recipe. */
.hm-cont{ display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; min-height:52px; margin:12px 0 0; padding:0;
  background:none; border:0; border-top:1px solid var(--hairline); color:var(--text-primary); font:inherit; text-align:left; cursor:pointer; }
/* Where it lives above what it is: the area word ("Community", "PL8") is
   the one brighter part of the label, so the destination reads at a glance
   without a heading. Two lines inside the same 52px row. */
.hm-cont-t{ display:flex; flex-direction:column; align-items:flex-start; gap:3px; min-width:0; }
.hm-cont-k{ flex:none; font-family:var(--font-c); font-size:9.5px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
.hm-cont-name{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; line-height:1.25; color:var(--text-primary); }
.hm-cx{ color:var(--text-secondary); }
/* Cooking Memory's own quiet third line: what the recipe says about keeping
   it -- never a claim that anything is left. */
.hm-cont-sub{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; line-height:1.3; color:var(--muted); }
/* P19.4 -- today's further plans, and the way into planning, in the same row
   object the continuation already uses. A plan the member made is theirs, so
   its kicker is one step brighter than a destination's; a plan that cannot be
   opened is not a button at all and says why. */
.hm-cont.is-plan .hm-cont-k{ color:var(--text-secondary); }
.hm-cont.is-plan.is-gone{ cursor:default; }
.hm-cont.is-plan.is-gone .hm-cont-k{ color:var(--muted); }
.hm-cont.is-plan.is-gone .hm-cont-name{ color:var(--text-body); }
.hm-cont.is-plan.is-door .hm-cont-k{ color:var(--muted); }
/* Destination capsule (homeGoCapsule): the row's action, named. Neutral
   contrast and geometry only -- a clear secondary action, never a CTA. The
   whole row stays the tap target; the capsule is what the eye finds. */
.hm-go{ flex:none; display:inline-flex; align-items:center; gap:6px; height:36px; padding:0 11px 0 14px; border-radius:999px;
  border:1px solid rgba(245,241,236,.24); background:rgba(245,241,236,.05); color:var(--text-primary);
  font-family:var(--font-c); font-size:10px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; white-space:nowrap;
  transition:background-color 200ms ease, border-color 200ms ease; }
[data-ot].is-pressed .hm-go, [data-ot]:focus-visible .hm-go{ background:rgba(245,241,236,.1); border-color:rgba(245,241,236,.38); }
@media (hover:hover){ [data-ot]:hover .hm-go{ background:rgba(245,241,236,.1); border-color:rgba(245,241,236,.38); } }
.hm-go-btn{ flex:none; display:inline-flex; align-items:center; min-height:44px; padding:0; background:none; border:0; cursor:pointer; }
.hm-cx-sep{ color:var(--muted); }

/* Discovery: one recipe owns the swipe, the next one is only a promise. */
.hm-discover{ margin:var(--hm-gap) 0 0; }
.hm-discover-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.hm-arrows{ display:none; gap:8px; }
@media (hover:hover) and (pointer:fine){ .hm-arrows{ display:flex; } }
/* Rail arrows scroll, they do not open anything: plain chevrons, no ring. */
.hm-arrow{ width:44px; height:44px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
  background:none; border:0; color:var(--text-primary); transition:opacity 200ms ease, background-color 200ms ease; }
@media (hover:hover){ .hm-arrow:not(:disabled):hover{ background:rgba(245,241,236,.06); } }
.hm-arrow:not(.is-next) svg{ transform:none; }
.hm-arrow:disabled{ opacity:.28; cursor:default; }
.hm-tabs{ display:flex; gap:20px; min-width:0; overflow-x:auto; scrollbar-width:none; }
.hm-tabs::-webkit-scrollbar, .hm-rail::-webkit-scrollbar{ display:none; }
.hm-tab{ position:relative; flex:none; min-height:44px; padding:0; background:none; border:0; cursor:pointer; font:inherit; font-size:13px; color:var(--muted); transition:color 220ms ease; }
.hm-tab::after{ content:''; position:absolute; left:0; right:0; bottom:7px; height:1.5px; background:var(--text-primary);
  transform:scaleX(0); transform-origin:0 50%; transition:transform 320ms cubic-bezier(.22,.61,.36,1); }
.hm-tab[aria-pressed="true"]{ color:var(--text-primary); }
.hm-tab[aria-pressed="true"]::after{ transform:scaleX(1); }
.hm-rail{ list-style:none; display:flex; gap:12px; margin:6px calc(-1 * var(--hm-g)) 0; padding:0 var(--hm-g) 8px;
  background:radial-gradient(46% 60% at 40% 46%, rgba(var(--act), .05), rgba(var(--act), 0) 70%);
  overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:var(--hm-g); scrollbar-width:none; }
/* overflow-y:hidden is load-bearing: overflow-x:auto alone computes Y to
   auto, and the 6px disclosure shift of a peeking plate made the rail 2px
   vertically scrollable -- enough for iOS to let the finger drag and
   rubber-band the whole rail up and down. Hidden, vertical intent passes to
   the page and the rail stays on its axis. scroll-snap-stop:always makes a
   fling stop at the next recipe instead of skipping several. */
.hm-slide{ flex:0 0 78%; scroll-snap-align:start; scroll-snap-stop:always; --p:0; --pa:0; --k:0; }
.hm-slide.is-door{ flex-basis:38%; }
.hm-slide-btn{ position:relative; display:flex; flex-direction:column; width:100%; height:100%; padding:0; text-align:left; cursor:pointer;
  background:none; border:0; color:inherit; font:inherit; }
/* The plate: the one surface on Start, because the recipe needs one -- an
   OBJECT lit by the room, in the grammar Konto's Küche entries use (light
   belongs to the object; directional light, one lit top edge, a glow under it
   rather than a shadow). Scroll-linked focus, no timers: --pa (0 at rest, 1
   away from it) and --p (signed) are written per frame by homeRailPaint, so the
   plate at rest has the most presence -- light from above, a brighter edge, a
   fuller glow, full scale -- and its neighbours recede calmly (a hair smaller
   and lower, dimmer, the light leaning back toward the one in focus).
   MAGENTA'S ONE JOB ON START (--act): ACTIVE RESPONSE. The brand colour is not
   a decoration and not a state of the card; it is ONE LIGHT travelling through
   the row -- Konto's own treatment (a radial at .075-.15, a bloom beneath).
   --k (homeRailPaint) is each plate's share of it by true distance from the
   focus: full on the plate in focus, about half a step out on the next one,
   a whisper beyond. A receiver's light leans toward the source (--p). It is
   light, depth and reflection, never a fill, border or word colour. The
   plate stays dark; the words stay neutral. When the scroll stops, everything
   has already settled: there is nothing left to animate. The plate is its own container (cqw), so its words size to THEIR
   plate on any viewport with no per-recipe offsets. */
.hm-slide-btn{ transition:translate 340ms var(--patient); }
.hm-slide-words{ position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; box-sizing:border-box;
  height:150px; padding:28px 16px 14px; border-radius:18px; overflow:hidden; container-type:inline-size;
  background:radial-gradient(105% 96% at calc(50% - var(--p) * 24%) 0%, rgba(var(--hi), calc(.15 - var(--pa) * .06)), rgba(var(--hi), 0) 60%),
    radial-gradient(74% 108% at calc(90% - var(--p) * 55%) 100%, rgba(var(--act), calc(var(--k) * .135)), rgba(var(--act), 0) 66%),
    radial-gradient(90% 80% at 10% 108%, rgba(var(--lit), .07), rgba(var(--lit), 0) 70%),
    linear-gradient(165deg, #322C38 0%, #1A161E 100%);
  box-shadow:inset 0 1px 0 rgba(var(--hi), calc(.15 - var(--pa) * .07)), inset 0 0 0 1px rgba(var(--hi), .04),
    0 34px 58px -34px rgba(var(--lit), calc(.22 - var(--pa) * .08)),
    0 22px 40px -26px rgba(var(--act), calc(var(--k) * .42));
  scale:calc(1 - var(--pa) * .02); translate:0 calc(var(--pa) * 3px); transform-origin:50% 100%;
  filter:brightness(calc(1 - var(--pa) * .12)); }
/* Awake to being approached (Konto's Küche entries do the same): the light
   gathers at the top and the plate lifts two pixels. Pointer and keyboard. On
   the plate in focus the response also deepens its Magenta light a touch --
   the same material, so focus + hover never over-brightens. */
.hm-slide-words::after{ content:''; position:absolute; inset:0; pointer-events:none; opacity:0; transition:opacity 340ms var(--patient);
  background:radial-gradient(90% 80% at 50% 0%, rgba(var(--hi), calc(.11 - (1 - var(--pa)) * .06)), rgba(var(--hi), 0) 62%),
    radial-gradient(74% 108% at 90% 100%, rgba(var(--act), calc((1 - var(--pa)) * .05)), rgba(var(--act), 0) 66%); }
.hm-slide-btn:focus-visible .hm-slide-words::after{ opacity:1; }
@media (hover:hover){ .hm-slide-btn:hover{ translate:0 -2px; } .hm-slide-btn:hover .hm-slide-words::after{ opacity:1; } }
/* With a photograph: the same plate -- same size, radius, lift, glow -- with
   the photo filling it edge to edge instead of the resting gradient (still
   painted, just no longer visible beneath an opaque image) and one thin
   inset highlight standing in for it, so the plate still reads as lit
   ("the plate's light stays above it", rx-visual.has-img's own rule). The
   hover/focus glow above (::after) is unaffected -- it already paints above
   any plate content. */
.hm-slide-words.has-img{ padding:0; }
.hm-slide-words.has-img::before{ content:''; position:absolute; inset:0; z-index:1; pointer-events:none; border-radius:inherit;
  box-shadow:inset 0 1px 0 rgba(var(--hi), .14); }
/* Teaser, not discovery: a restrained blur (smallest value that reads as
   intentional rather than a loading state -- 2px) so the dish, its colours
   and the bowl are still plainly recognisable, with just enough softness to
   leave a reason to open the Recipe for the sharp version. Scoped to the
   image itself, inside .hm-slide-words' own overflow:hidden -- .hm-slide-n
   and .hm-slide-text live outside this element entirely (siblings in
   homeSlidesHtml, not descendants) and are never touched. blur() samples
   past the element's own edge as transparent, which would otherwise show as
   a faint soft fringe at the plate's rounded corners; scaling the image up
   slightly pushes that fringe outside the clipped frame before it can be
   seen, with no visible zoom at this size. The fixed 150px plate height
   forces a much narrower vertical slice of a square photograph than
   Detail's 4:3 gets, so the same upward shift that centres Detail needs to
   go further here to keep the food mass in frame rather than the emptier
   lower bowl -- a generic Start-teaser default, not specific to this one
   Recipe. */
.hm-slide-words.has-img .hm-visual-img{ position:absolute; inset:0; width:100%; height:100%;
  object-position:50% 38%; filter:blur(2px); transform:scale(1.04); }
/* The words are the plate's identity: a centered stack, large and editorial,
   composed inside the plate -- never offset, never clipped, never dependent on
   overflow. One ingredient word each; the size follows the plate width and a
   hyphenated compound may break at its hyphen. The first word carries most,
   the rest recede; the plate out of focus recedes a touch more. Secondary to
   the recipe name below, but plainly readable. */
.hm-slide-words .hm-w{ display:block; max-width:100%; text-align:center; overflow-wrap:break-word; hyphens:manual;
  font-family:var(--font-d); font-weight:600; text-transform:uppercase; font-size:clamp(21px, 10.8cqw, 33px); line-height:1.04; letter-spacing:.01em;
  color:rgba(var(--hi), .8); opacity:calc((1 - var(--n) * .14) * (1 - var(--pa) * .1)); }
.hm-slide-n{ position:absolute; top:12px; right:14px; font-family:var(--font-c); font-size:10.5px; letter-spacing:.12em; color:var(--muted); }
.hm-slide-text{ display:flex; flex-direction:column; gap:6px; padding:11px 2px 2px; transform:translateX(calc(var(--p) * 18px)); }
.hm-slide-name{ font-family:var(--font-d); font-weight:600; text-transform:uppercase; font-size:19px; line-height:1.05; color:var(--text-primary);
  opacity:calc(1 - var(--pa) * .55); }
/* What only the recipe at rest shows: gone on a peeking plate, arriving
   with the swipe (--pa 1 -> 0). */
.hm-slide-more{ display:flex; align-items:center; gap:12px; min-width:0; min-height:14px;
  opacity:calc(1 - var(--pa) * 1.8); transform:translateY(calc(var(--pa) * 6px)); }
.hm-slide-why{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; color:var(--text-secondary); }
.hm-slide.is-door .hm-slide-btn{ align-items:center; justify-content:center; gap:8px; height:150px; border-radius:18px; border:1px solid rgba(245,241,236,.1); }
.hm-slide.is-door .hm-arw{ width:24px; height:24px; }
.hm-door{ font-family:var(--font-d); font-weight:500; font-size:15px; letter-spacing:.12em; text-transform:uppercase; color:var(--text-primary); text-align:center; }

/* Community: a voice passing through Start. One quote, one line under it,
   one way in — the Community itself owns the depth. */
.hm-pulse{ margin:var(--hm-gap) 0 0; }
.hm-pulse-quote{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; width:100%; min-height:44px; margin:-3px 0 -9px; padding:9px 0;
  background:none; border:0; text-align:left; cursor:pointer; font-family:var(--font-d); font-weight:400; text-transform:none;
  font-size:clamp(19px, 5.6vw, 23px); line-height:1.2; color:var(--text-primary); }
.hm-pulse-foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:2px 0 0; }
.hm-pulse-meta{ font-size:12px; color:var(--muted); margin:0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hm-pulse-quiet{ font-size:14.5px; line-height:1.5; color:var(--text-secondary); margin:6px 0 0; }

/* PL8: a compact premium object, set apart from Start by material, not by
   size. Its own Nebula surface (depth field from the Signal's side, a key
   light, one reflected top edge -- §2.6 / DH-16 values), the PL8 identity in
   the Nebula reflection tone, and one Magenta action. Neutral until reached;
   the environment resolves once, then stays still. */
.hm-p8{ margin:var(--hm-gap) 0 0; }
/* Geometrie kommt aus der .hm-dest-Regel oben -- hier nur, was PL8 ist. */
.hm-p8-btn{ background:#0E0C14; box-shadow:inset 0 0 0 1px rgba(150,132,255,.12);
  transition:box-shadow 1200ms cubic-bezier(.22,.61,.36,1); }
.hm-p8-env{ position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.3;
  background:
    radial-gradient(150px 120px at 42px 50%, rgba(72,56,190,.58) 0%, rgba(44,34,130,.34) 42%, rgba(18,14,44,0) 100%),
    radial-gradient(240px 90px at 88% 130%, rgba(118,98,255,.18) 0%, rgba(118,98,255,0) 70%),
    linear-gradient(100deg, #120E2C 0%, #100D1F 50%, #0E0C14 100%);
  transition:opacity 1400ms cubic-bezier(.22,.61,.36,1), filter 340ms var(--patient); }
.hm-p8-env::before{ content:''; position:absolute; left:0; right:0; top:0; height:1px;
  background:linear-gradient(90deg, rgba(196,184,255,0) 0%, rgba(196,184,255,.62) 14%, rgba(132,112,255,.24) 58%, rgba(132,112,255,0) 100%);
  opacity:0; transform:scaleX(.25); transform-origin:0 50%;
  transition:opacity 900ms ease 250ms, transform 1500ms cubic-bezier(.22,.61,.36,1) 250ms; }
.hm-p8-btn::after{ display:none; }
.hm-p8.is-lit .hm-p8-env{ opacity:1; }
.hm-p8.is-lit .hm-p8-env::before{ opacity:1; transform:none; }
.hm-p8.is-lit .hm-p8-btn{ box-shadow:inset 0 0 0 1px rgba(150,132,255,.24); }
.hm-p8-stage{ position:relative; display:block; width:46px; height:46px; }
/* The contained Nebula field behind the Signal, plus its key light. */
.hm-p8-light{ position:absolute; left:50%; top:50%; width:200px; height:200px; margin:-100px 0 0 -100px; pointer-events:none;
  background:radial-gradient(closest-side, rgba(132,96,255,.22) 0%, rgba(132,96,255,.09) 46%, rgba(132,96,255,0) 100%);
  opacity:0; transform:scale(.8); transition:opacity 1400ms cubic-bezier(.22,.61,.36,1), transform 1400ms cubic-bezier(.22,.61,.36,1); }
.hm-p8-stage::after{ content:''; position:absolute; left:3px; top:1px; width:24px; height:20px; border-radius:50%; pointer-events:none;
  background:radial-gradient(closest-side, rgba(150,132,255,.40), rgba(150,132,255,0)); opacity:0; transition:opacity 1400ms ease 300ms; }
.hm-p8.is-lit .hm-p8-light{ opacity:1; transform:none; }
.hm-p8.is-lit .hm-p8-stage::after{ opacity:1; }
.hm-p8 .hm-p8-sig{ --ts-d:44px; position:absolute; left:1px; right:auto; top:1px; width:44px; height:44px; }
.hm-p8-body{ display:block; min-width:0; }
.hm-p8 .hm-k{ color:#C4B8FF; }
.hm-p8-sub{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:12px; line-height:1.35; color:rgba(245,241,236,.66); margin-top:3px; }
.hm-p8-go{ flex:none; display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:36px; padding:0 10px 0 12px; border-radius:999px;
  border:1px solid rgba(226,25,181,.6); background:rgba(226,25,181,.12); color:var(--magenta);
  font-family:var(--font-c); font-size:10px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; white-space:nowrap;
  transition:background-color 240ms ease; }
.hm-p8-go svg{ width:11px; height:11px; transform:rotate(180deg); }
@media (hover:hover){ .hm-p8-btn:hover .hm-p8-go{ background:rgba(226,25,181,.22); } .hm-p8.is-lit .hm-p8-btn:hover .hm-p8-light{ transform:scale(1.07); } .hm-p8-btn:hover .hm-p8-env{ filter:brightness(1.12); } }
.hm-p8-btn:focus-visible .hm-p8-env, .hm-p8-btn.is-pressed .hm-p8-env, .hm-p8-btn:active .hm-p8-env{ filter:brightness(1.18); }
.hm-p8-btn.is-pressed .hm-p8-go, .hm-p8-btn:active .hm-p8-go{ background:rgba(226,25,181,.24); }

/* PL8 on Start -- the access state, carried by The Signal itself (the PL8
   threshold's own language: bolt across the opening, cold Seat, a small lock at
   the Seat, a quieter ring -- and, entitled, the Seat lit and no lock). The
   class is set from the real entitlement (pl8AccessState) when the banner is
   built; nothing here decides access. LOCKED is present but not yet revealed;
   INTERACTION (hover / focus / press) lets part of what is behind it show --
   never the entitled look; OPEN is the resolved Signal with a contained bloom.
   The Nebula stays inside the object in every state, and nothing loops. The
   access variables are typed so they can settle over time, not snap. */
@property --mute{ syntax:'<number>'; inherits:true; initial-value:0; }
@property --lock{ syntax:'<number>'; inherits:true; initial-value:0; }
@property --bolt{ syntax:'<number>'; inherits:true; initial-value:0; }
@property --cold{ syntax:'<number>'; inherits:true; initial-value:0; }
@property --seat-lit{ syntax:'<number>'; inherits:true; initial-value:0; }
.hm-p8-sig{ transition:--mute 520ms var(--patient), --lock 520ms var(--patient), --bolt 520ms var(--patient), --cold 520ms var(--patient), --seat-lit 520ms var(--patient), filter 520ms var(--patient); }
.hm-p8.is-locked .hm-p8-sig{ --mute:1; --lock:1; --bolt:1; --cold:1; filter:brightness(.9) saturate(.8); }
.hm-p8.is-open .hm-p8-sig{ --seat-lit:1; filter:drop-shadow(0 0 9px rgba(226,25,181,.32)); }
.hm-p8.is-lit.is-locked .hm-p8-env{ opacity:.7; }
.hm-p8.is-lit.is-locked .hm-p8-light{ opacity:.55; }
.hm-p8.is-lit.is-locked .hm-p8-stage::after{ opacity:.5; }
.hm-p8.is-locked .hm-p8-btn:focus-visible .hm-p8-sig, .hm-p8.is-locked .hm-p8-btn:active .hm-p8-sig{ --mute:.4; --lock:.65; --bolt:.35; --cold:.55; filter:none; }
.hm-p8.is-locked .hm-p8-btn:focus-visible .hm-p8-env, .hm-p8.is-locked .hm-p8-btn:active .hm-p8-env{ filter:brightness(1.45); }
@media (hover:hover){
  .hm-p8.is-locked .hm-p8-btn:hover .hm-p8-sig{ --mute:.4; --lock:.65; --bolt:.35; --cold:.55; filter:none; }
  .hm-p8.is-locked .hm-p8-btn:hover .hm-p8-env{ filter:brightness(1.45); }
}

/* ---- Chapters: one page, three spatial moments (V3.5, corrected V3.6) ----
   TODAY, DISCOVER and BEYOND TODAY are one continuous page. Chapters are
   separated by space, and by LIGHT that belongs to the objects in them -- never
   by a container fill. (V3.5/V3.6 first drew DISCOVER as one dark well; it read
   as a black block. Konto's depth is light on objects and fades into the page;
   Start follows that, see "V3.6 -- the light Start sits in" below.) Within a
   chapter things sit close (--hm-in); between chapters the page breathes. No
   Nebula, no Magenta: only PL8 is lit in colour. */
.home{ --hm-in:22px; --lit:214,198,226; --hi:245,241,236; --act:226,25,181; }
.hm-well{ margin:28px 0 0; padding:40px 0 46px; }
.hm-well .hm-discover{ margin-top:0; }
.hm-well .hm-pulse{ margin-top:36px; }
.hm-beyond .hm-p8{ margin-top:12px; }
/* Ein Stapel, ein Takt. Die erste Karte beginnt am Kapitelrand, nicht
   12px darunter -- der Abstand zwischen den Karten ist nicht der Abstand
   zum Kapitel darüber. */
.hm-beyond .hm-dest{ margin-top:12px; }
.hm-beyond > :first-child{ margin-top:0; }

/* ====================================================================== *
 * VIER ZIELE, EIN OBJEKT (Founder-Entscheidung, Konzept A)
 * ----------------------------------------------------------------------
 * Community, PL8, Story und Einstieg waren drei verschiedene Bauteile: eine
 * flache 52px-Zeile, zwei Karten mit 18px-Radius und eine Haarlinie. Darum
 * las sich der untere Teil von Start ungleich -- nicht wegen der Abstände.
 *
 * Sie teilen jetzt EINE Geometrie: Marke, Kicker + Zeile, Kapsel, gleiche
 * Spalten, gleiche Höhe, gleicher Radius. PL8 darf anders AUSSEHEN, aber
 * nicht größer sein -- deshalb steht .hm-p8-btn in derselben Regel.
 *
 * Die Identität sitzt allein im Licht der Marke und im Material, nie in der
 * Form: PL8 behält Nebel und Magenta, Story das warme Licht von links,
 * Community dasselbe Licht in Kühl (--lit, die Farbe der Tische), der
 * Einstieg gar keines -- seine Marke ist der Weg selbst.
 *
 * Kein Schatten, kein Glas. Die eine Tiefe ist die Lichtkante oben, das
 * Bauteil, das .hm-p8-env::before auf Start schon zeichnet.
 * ====================================================================== */
.hm-dest, .hm-p8-btn{ position:relative; isolation:isolate; display:grid;
  grid-template-columns:46px minmax(0, 1fr) auto; column-gap:11px; align-items:center;
  width:100%; min-height:84px; padding:13px; border:0; border-radius:18px; overflow:hidden;
  color:inherit; font:inherit; text-align:left; cursor:pointer;
  -webkit-tap-highlight-color:transparent; }
.hm-dest{ background:#17141B; box-shadow:inset 0 0 0 1px rgba(var(--hi), .07);
  transition:background-color 220ms var(--patient), box-shadow 300ms var(--patient); }
/* Die Lichtkante: 1px, von links hell, nach rechts aus. */
.hm-dest::after{ content:''; position:absolute; left:14px; right:14px; top:0; height:1px; pointer-events:none;
  background:linear-gradient(90deg, rgba(var(--hi), 0) 0%, rgba(var(--hi), .30) 18%, rgba(var(--hi), .07) 62%, rgba(var(--hi), 0) 100%); }
/* Rückmeldung ist Oberfläche, nicht Bewegung: die Karte hebt sich tonal und
   der Ring zieht an. Kein Stauchen -- Founder-Entscheidung. */
.hm-dest.is-pressed, .hm-dest:active{ background-color:#211D27; box-shadow:inset 0 0 0 1px rgba(var(--hi), .14); }
/* Der Fokusring ist der von Start -- magenta, 3px abgesetzt (.home
   button:focus-visible). Diese Regel ändert daran nur eines: sie nimmt den
   Radius 6px zurück, den die Hausregel mitbringt. Ohne sie springen die
   Ecken der Karte beim Tabben von 18px auf 6px, gemessen. */
.home .hm-dest:focus-visible, .home .hm-p8-btn:focus-visible{
  outline:2px solid var(--magenta); outline-offset:3px; border-radius:18px; }
@media (hover:hover){ .hm-dest:hover{ background-color:#1C1922; } }

.hm-dest-mark{ position:relative; display:block; width:46px; height:46px; }
.hm-dest-mark svg{ position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); display:block; }
.hm-dest-glow{ position:absolute; z-index:-1; pointer-events:none; border-radius:50%; }
.hm-dest-body{ display:block; min-width:0; }
/* Der Kicker bleibt eine Zeile: im Kartenformat teilt er sich die Breite mit
   Marke und Kapsel, und "Community · Am Tisch" ist der längste von vieren.
   Darum ist auch die Kapsel hier eine Spur enger gesetzt als in den Zeilen
   darüber -- dieselbe Kapsel, nur im Takt der Karte. */
.hm-dest .hm-k, .hm-p8 .hm-k, .hm-hero .hm-k{ font-size:9px; letter-spacing:.13em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* EINE KAPSEL FÜR ALLE VIER. Breite, Höhe, Radius, Innenabstand und die
   Stellung von Wort und Pfeil kommen aus dieser einen Regel -- nicht aus
   vier Einzelwerten. Das Maß ist das längste Wort der vier ("Entdecken",
   gleich lang wie PL8s "Eintreten" im offenen Zustand): gemessen 60,5px
   Satzbreite, plus Pfeil und Innenabstand ergibt 104px. Die Typografie wird
   dafür nicht enger gesetzt; die kürzeren Wörter stehen mittig. */
.hm-dest .hm-go, .hm-p8-go, .hm-hero .hm-go{ box-sizing:border-box; min-width:104px; height:36px;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:0 10px; border-radius:999px; font-size:9px; letter-spacing:.12em; }
.hm-dest .hm-go .hm-arw, .hm-dest .hm-go .hm-arw svg, .hm-hero .hm-go .hm-arw,
.hm-hero .hm-go .hm-arw svg, .hm-p8-go svg{ width:12px; height:12px; }
.hm-dest-line, .hm-p8-line{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  margin-top:6px; font-family:var(--font-d); font-weight:500; font-size:17px; line-height:1.18;
  letter-spacing:.005em; text-transform:none; color:rgba(var(--hi), .92);
  transition:color 300ms var(--patient); }
.hm-dest.is-pressed .hm-dest-line, .hm-dest:active .hm-dest-line, .hm-dest:focus-visible .hm-dest-line{ color:var(--text-primary); }
@media (hover:hover){ .hm-dest:hover .hm-dest-line{ color:var(--text-primary); } }
/* Bis 380px passen Marke, Kicker und ein benannter Weg nicht in eine Zeile --
   gemessen an "Community · Am Tisch" und "Zu den Tischen", dem längsten Paar
   von vieren. Dort bleibt die Kapsel als Ziel-Marke stehen, ohne Wort: die
   ganze Karte ist ohnehin das Ziel, und der Kicker nennt den Ort bereits.
   Ab 390px (iPhone 12 und aufwärts) steht das Wort wieder da. */
@media (max-width:380px){
  .hm-dest .hm-go, .hm-p8-go, .hm-hero .hm-go{ min-width:0; width:36px; padding:0; }
  .hm-go-l{ display:none; }
}

/* Community: dasselbe kühle Licht, das die Tische auf Start schon tragen. */
.hm-dest--com .hm-dest-glow{ inset:-16px -24px;
  background:radial-gradient(closest-side, rgba(var(--lit), .20) 0%, rgba(var(--lit), .07) 52%, rgba(var(--lit), 0) 100%); }
/* Story: das warme Licht von links, jetzt in der Marke gebündelt. */
.hm-dest--story{ --arc:46px; background:linear-gradient(165deg, #25212B 0%, #17141B 100%); }
.hm-dest--story .hm-dest-glow{ inset:-18px -26px -18px -20px; border-radius:46%; opacity:.9;
  background:
    radial-gradient(circle calc(var(--arc) * 1.05) at calc(var(--arc) * .5) 58%, rgba(84,66,74,0) 0 62%, rgba(214,188,176,.34) 65%, rgba(122,98,108,.2) 76%, rgba(112,90,100,0) 100%),
    radial-gradient(70% 120% at 0% 0%, rgba(228,204,192,.26), rgba(228,204,192,0) 68%); }
.hm-dest--story .hm-dest-mark svg{ color:rgba(228,204,192,.9); }
/* Einstieg: kein Licht. Vier Knoten auf einem Weg, der letzte gefüllt. */
.hm-dest--ein .hm-dest-mark svg{ color:rgba(var(--hi), .72); }
/* ---- V3.6 -- the light Start sits in (one grammar with Konto and Community) -
   GROUND: the dark canvas is continuous; nothing on Start is a darker box.
   SURFACE: an object separates from the ground by tonal lift + directional
   light + one lit top edge (Konto's Küche entries; the plate; the Story
   doorway). LIGHT: belongs to an object or a composition and is transparent
   before it reaches any edge (Konto's .acct-card::after); on Free Start it is
   the warm neutral (--lit) Konto's second radial uses -- Magenta stays where
   an object is identity (Konto's Signal, PL8's action), Nebula stays PL8's.
   EDGE: a 1px lit top edge on objects; no outlines except a doorway hairline.
   MOTION: only in answer to real interaction (scroll focus, hover, touch),
   short, settled, absent under reduced motion. SIGNAL: identity and
   interaction only, never direction. Start is the editorial dialect: light
   pools behind compositions and objects that respond to the swipe; Konto is
   the calm dialect (settings, static); Community is the conversational one. */

/* TODAY sits in a lit space: a pool behind the recipe and greeting, a quieter
   reflection where the ingredient column stands, a floor of light under the
   hero. Masked on all four sides so the light has no beginning and no end. */
.hm-a{ position:relative; isolation:isolate; }
.hm-a::before{ content:''; position:absolute; z-index:-1; pointer-events:none;
  inset:-150px calc(-1 * var(--hm-g)) -34px;
  background:
    radial-gradient(72% 50% at 24% 36%, rgba(var(--lit), .17) 0%, rgba(var(--lit), .05) 46%, rgba(var(--lit), 0) 74%),
    radial-gradient(46% 44% at 86% 32%, rgba(var(--hi), .10) 0%, rgba(var(--hi), 0) 72%),
    radial-gradient(66% 24% at 38% 96%, rgba(var(--lit), .10) 0%, rgba(var(--lit), 0) 74%);
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite:intersect; }

/* DISCOVER: the light of the shelves -- a pool behind the plates, one where
   the eye lands after them, a floor reflection; all masked on four sides. */
.hm-well{ position:relative; isolation:isolate; }
.hm-well::before{ content:''; position:absolute; z-index:-1; pointer-events:none;
  inset:-70px calc(-1 * var(--hm-g)) -50px;
  background:
    radial-gradient(56% 46% at 30% 38%, rgba(var(--lit), .21) 0%, rgba(var(--lit), .07) 50%, rgba(var(--lit), 0) 76%),
    radial-gradient(40% 40% at 82% 30%, rgba(var(--hi), .12) 0%, rgba(var(--hi), 0) 74%),
    radial-gradient(52% 26% at 26% 92%, rgba(var(--lit), .12) 0%, rgba(var(--lit), 0) 76%);
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-composite:intersect; }
/* Community / Am Tisch: the same room, a change of mode -- objects (the
   shelves) give way to a voice. It is ruled the way Community rules its tables
   (a hairline that fades out, no box), lit by the same neutral pool, and it is
   still until approached. Approaching the voice or its doorway -- pointer,
   focus or touch -- lets a little of Konto's/Community's Magenta belonging
   light rise toward the destination (.hm-pulse-lit, the ct-tables radial's
   dialect): a conversation opening, never a second resting accent. The
   carousel keeps the only Magenta at rest. No card. */
.hm-pulse{ position:relative; isolation:isolate; }
.hm-pulse::before{ content:''; position:absolute; z-index:-1; pointer-events:none; inset:-46px -32px -30px;
  background:radial-gradient(64% 62% at 24% 46%, rgba(var(--lit), .17) 0%, rgba(var(--lit), .05) 52%, rgba(var(--lit), 0) 78%);
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite:intersect; }
.hm-pulse::after{ content:''; position:absolute; left:0; right:0; top:-20px; height:1px; pointer-events:none;
  background:linear-gradient(90deg, rgba(var(--hi), .14), rgba(var(--hi), .05) 46%, rgba(var(--hi), 0) 82%); }
.hm-pulse-lit{ position:absolute; z-index:-1; pointer-events:none; inset:-40px -40px -34px -10px; opacity:0;
  background:radial-gradient(52% 64% at 84% 68%, rgba(var(--act), .115) 0%, rgba(var(--act), .035) 52%, rgba(var(--act), 0) 78%);
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-composite:intersect; transition:opacity 420ms var(--patient); }
.hm-pulse:has(:focus-visible) .hm-pulse-lit, .hm-pulse:has(.is-pressed) .hm-pulse-lit{ opacity:1; }
@media (hover:hover){ .hm-pulse:has(.hm-pulse-quote:hover, .hm-go-btn:hover) .hm-pulse-lit{ opacity:1; } }
.hm-well .hm-cont{ background:radial-gradient(64% 50% at 0% 50%, rgba(var(--lit), .07) 0%, rgba(var(--lit), 0) 100%); }

/* Cooking Memory on Start: a remembered state, not a notification -- the same
   row and hairline as every continuation, lifted quietly from the left. */
.hm-cont.is-mem{ background:radial-gradient(64% 50% at 0% 50%, rgba(var(--lit), .085) 0%, rgba(var(--lit), 0) 100%); }
.hm-cont.is-mem .hm-cont-k{ color:var(--text-secondary); }
.hm-cont.is-mem .hm-cont-sub{ color:var(--muted); }

@media (min-width:1024px){
  /* A wider room behind the hero and the shelves on desktop. */
  .hm-a::before{ inset:-170px -48px -40px; }
  .hm-well::before{ inset:-80px -48px -60px; }
  .hm-pulse::before{ inset:-50px -48px -34px; }
}

/* Arrival — once, and then the page is still. The recipe name rises; the
   week settles last. */
@keyframes hmRise{ from{ opacity:0; transform:translateY(12px); } }
@keyframes hmMarkIn{ from{ transform:scale(.3); opacity:0; } }
.home.is-arriving .hm-title{ animation:hmRise 560ms cubic-bezier(.22,.61,.36,1) 40ms both; }
.home.is-arriving .hm-hero-main{ animation:hmRise 640ms cubic-bezier(.22,.61,.36,1) 130ms both; }
.home.is-arriving .hm-cont, .home.is-arriving .hm-dest--com, .home.is-arriving .hm-b{ animation:hmRise 640ms cubic-bezier(.22,.61,.36,1) 360ms both; }
.home.is-arriving .hm-mark.is-on{ animation:hmMarkIn 480ms cubic-bezier(.22,.61,.36,1) calc(420ms + var(--i) * 45ms) both; }
/* The voice from the Tables enters when it is reached, not on load. */
.hm-pulse .hm-pulse-quote, .hm-pulse .hm-pulse-foot, .hm-pulse .hm-pulse-quiet{ opacity:0; transform:translateY(10px);
  transition:opacity 700ms ease, transform 700ms cubic-bezier(.22,.61,.36,1); }
.hm-pulse .hm-pulse-foot{ transition-delay:120ms; }
.hm-pulse.is-in .hm-pulse-quote, .hm-pulse.is-in .hm-pulse-foot, .hm-pulse.is-in .hm-pulse-quiet{ opacity:1; transform:none; }

@media (min-width:641px){
  .hm-slide{ flex-basis:300px; }
  .hm-slide.is-door{ flex-basis:170px; }
}
@media (min-width:1024px){
  .home{ --hm-gap:48px; }
  /* The chapters stack on the continuous page; BEYOND pairs PL8 and Story. */
  .hm-well{ margin:40px 0 0; padding:52px 0 56px; }
  .hm-well .hm-c{ max-width:calc(50% - 24px); }
  /* BEYOND: two bounded objects, stacked -- PL8 the deeper, larger one, Story
     the quieter sibling of the same family. Both keep their Nebula / light
     INSIDE their own edge (overflow:hidden). The last row resolves into the
     page through its margin-bottom. Text columns align (154px). */
  .hm-beyond{ display:block; margin:24px 0 40px; }
  .hm-beyond .hm-p8{ margin:0; }
  /* Derselbe Stapel wie mobil, nur größer: eine Geometrie für alle vier. */
  .hm-dest, .hm-p8-btn{ grid-template-columns:96px minmax(0, 1fr) auto; column-gap:28px;
    padding:20px 24px; min-height:118px; border-radius:20px; }
  .home .hm-dest:focus-visible, .home .hm-p8-btn:focus-visible{ border-radius:20px; }
  .hm-dest-mark{ width:96px; height:96px; }
  .hm-dest-mark svg{ transform:translate(-50%, -50%) scale(1.7); }
  .hm-dest--story{ --arc:92px; }
  .hm-dest-glow{ inset:-30px -40px; }
  .hm-p8-env{ background:
    radial-gradient(340px 230px at 122px 50%, rgba(72,56,190,.56) 0%, rgba(44,34,130,.3) 46%, rgba(18,14,44,0) 100%),
    radial-gradient(46% 130% at 44% 62%, rgba(86,68,214,.16) 0%, rgba(86,68,214,0) 72%),
    radial-gradient(38% 120% at 90% 36%, rgba(96,78,224,.08) 0%, rgba(96,78,224,0) 74%),
    radial-gradient(420px 150px at 78% 118%, rgba(118,98,255,.16) 0%, rgba(118,98,255,0) 70%),
    linear-gradient(100deg, #140F31 0%, #110E24 50%, #0F0D18 100%); }
  .hm-p8-stage{ width:96px; height:96px; }
  .hm-p8 .hm-p8-sig{ --ts-d:88px; left:4px; top:4px; width:88px; height:88px; }
  .hm-p8-light{ width:300px; height:300px; margin:-150px 0 0 -150px; }
  .hm-p8-stage{ width:96px; height:96px; }
  .hm-p8 .hm-p8-sig{ --ts-d:92px; width:92px; height:92px; left:2px; top:2px; }
  .hm-p8-stage::after{ left:8px; top:4px; width:36px; height:28px; }
  .hm-dest-line, .hm-p8-line{ font-size:24px; line-height:1.14; margin-top:8px; }
  /* Auch hier eine Kapsel für alle vier -- PL8 bekommt keine eigene Breite. */
  .hm-dest .hm-go, .hm-p8-go, .hm-hero .hm-go{ min-width:124px; height:42px; padding:0 14px; font-size:10.5px; }
  .hm-title{ font-size:44px; }
  .hm-hero{ column-gap:40px; margin-top:22px; }
  .hm-hero-name, .hm-hero-name.is-long{ font-size:60px; }
  .hm-hero-proof, .hm-cont, .hm-hero-meta{ max-width:46ch; }
  .hm-slide{ flex-basis:calc((100% - 2 * 12px) / 3.2); }
  /* Several plates are fully in view here: swipe disclosure is a phone
     mechanism, so every visible recipe shows its reason and time. */
  .hm-slide-more{ opacity:1; transform:none; }
  .hm-slide-name{ opacity:calc(1 - var(--pa) * .12); transform:none; }
  .hm-slide.is-door{ flex-basis:190px; }
  /* Auf dem Desktop wäre 3:2 der Spaltenbreite ein 656px hohes Bild --
     dort bestimmt die Höhe die Komposition, nicht das Seitenverhältnis. */
  .hm-hero-shot{ aspect-ratio:auto; height:min(42vh, 380px); }
  .hm-dest, .hm-p8-btn{ padding:18px 20px; min-height:106px; }
  .hm-dest-line, .hm-p8-line{ font-size:19px; }
}
@media (prefers-reduced-motion: reduce){
  .home.is-arriving .hm-title, .home.is-arriving .hm-hero-main,
  .home.is-arriving .hm-cont, .home.is-arriving .hm-dest--com, .home.is-arriving .hm-b, .home.is-arriving .hm-mark.is-on{ animation:none; }
  .hm-weekpanel, .hm-p8-light, .hm-p8-btn, .hm-p8-env, .hm-p8-env::before, .hm-p8-stage::after, .hm-tab, .hm-tab::after, .hm-dest, .hm-mark,
  .hm-arw, .hm-slide-btn, .hm-slide-words::after, .hm-pulse-lit{ transition:none; }
  .hm-p8-sig, .hm-p8-env{ transition:none; }
  [data-ot].is-pressed .hm-arw, [data-ot]:focus-visible .hm-arw{ transform:none; }
  .hm-slide-words{ scale:none; translate:none; }
  .hm-slide-btn:hover{ translate:none; }
  .hm-weekpanel .hm-day .hm-dg, .hm-weekpanel .hm-day-l, .hm-weekpanel .hm-weekline, .hm-weekpanel .hm-weeknote, .hm-weekpanel .hm-focus{ transition:none; transform:none; opacity:1; }
  .hm-slide-text, .hm-slide-more{ transform:none; }
  .hm-slide-more{ opacity:1; }
  .hm-hero-go{ transition:none; }
  .hm-pulse .hm-pulse-quote, .hm-pulse .hm-pulse-foot, .hm-pulse .hm-pulse-quiet{ opacity:1; transform:none; transition:none; }
}

/* ---- WOCHENFOKUS (START V3.6.1) ------------------------------------------
   One weekly object, not seven form rows: seven day states share ONE quiet
   surface (the Story material family: warm-neutral dark, light from the left,
   one lit top edge). The day itself is the control; there is no repeated
   button. Ring = the Signal's open-ring vocabulary as a day STATE, never
   seven Signals. Magenta has one job here: today, once marked, and the
   member's own approach (hover / focus / press); every other marked day
   settles into neutral light. Motion is state feedback only. */
.wf{ --lit:214,198,226; --hi:245,241,236; --act:226,25,181; }
.wf-h1{ font-size:24px; margin:0 0 12px; }
.wf-support{ color:var(--text-body); font-size:14.5px; line-height:1.6; margin:0 0 24px; }
.wf-week{ list-style:none; margin:0; padding:20px 6px 14px; display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); border-radius:18px; position:relative; isolation:isolate; overflow:hidden;
  background:radial-gradient(90% 120% at 10% 0%, rgba(var(--lit), .085) 0%, rgba(var(--lit), 0) 70%), linear-gradient(165deg, #25212B 0%, #17141B 100%);
  box-shadow:inset 0 1px 0 rgba(var(--hi), .09), inset 0 0 0 1px rgba(var(--hi), .05); }
.wf-day{ display:flex; justify-content:center; min-width:0; }
.wf-day-btn, .wf-day-ro{ display:flex; flex-direction:column; align-items:center; gap:9px; width:100%; min-height:76px; padding:4px 0 2px; margin:0; background:none; border:0; color:inherit; font:inherit; }
.wf-day-btn{ cursor:pointer; border-radius:14px; -webkit-tap-highlight-color:transparent; }
.wf-day-btn:focus-visible{ outline:2px solid var(--magenta); outline-offset:1px; }
.wf-g{ display:block; width:clamp(32px, 9.4vw, 44px); aspect-ratio:1; color:rgba(var(--hi), .3); transition:color 320ms var(--patient), filter 320ms var(--patient); }
.wf-ring{ transition:stroke-width 320ms var(--patient); }
.wf-chk{ opacity:0; transition:opacity 320ms var(--patient); }
.wf-day.is-on .wf-chk{ opacity:1; }
.wf-day.is-past .wf-g{ color:rgba(var(--hi), .15); }
.wf-day.is-past.is-on .wf-g, .wf-day.is-future.is-on .wf-g{ color:rgba(var(--hi), .82); }
.wf-day.is-today .wf-g{ color:rgba(var(--hi), .94); }
.wf-day.is-today .wf-ring{ stroke-width:1.5; }
.wf-day.is-today.is-on .wf-g{ color:var(--magenta); filter:drop-shadow(0 0 7px rgba(var(--act), .34)); }
.wf-day-btn:focus-visible .wf-g, .wf-day-btn:active .wf-g{ color:rgba(var(--act), .86); }
@media (hover:hover){ .wf-day-btn:hover .wf-g{ color:rgba(var(--act), .86); } }
.wf-day-l{ font-family:var(--font-c); font-size:9.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.wf-day.is-today .wf-day-l{ color:var(--text-primary); }
.wf-day.is-past .wf-day-l{ opacity:.7; }
.wf-day.is-pending .wf-g{ color:rgba(var(--hi), .11); }
.wf-day.is-busy{ opacity:.7; }
/* P17.2 -- THE TIMELINE. The seven days already sat on one card; what was
   missing was the thread between them, which is what made marked, open and
   today read as three brightness levels rather than three states. The rail
   is drawn by the week card itself (no new element, no new markup) and uses
   the same --hi it already carries. Depth and surface are untouched: this
   is the member app's own card, with a line through it. */
.wf-week{ --wf-rail:38px; }
.wf-week::before{ content:''; position:absolute; z-index:0; pointer-events:none;
  left:calc(100% / 14); right:calc(100% / 14); top:calc(20px + var(--wf-rail));
  height:1px; background:rgba(var(--hi), .10); }
.wf-day{ position:relative; z-index:1; }
/* The three states, told apart by more than brightness: an open day is a
   ring on the page's own ground, a marked day sits on a filled disc, today
   carries the accent halo it already had. */
.wf-day-btn .wf-g, .wf-day-ro .wf-g{ border-radius:999px; background:#17141B; }
.wf-day.is-on .wf-g{ background:rgba(var(--act), .10); }
.wf-day.is-today .wf-g{ box-shadow:0 0 0 2px rgba(var(--act), .34); }

/* P17.2 -- the week in one line. Two parts on one row: what is marked, and
   how many. No bar, no ring, no percentage. */
.wf-sum{ display:flex; align-items:baseline; justify-content:space-between; gap:12px;
  margin:12px 2px 0; font-size:13.5px; color:var(--text-secondary); }
.wf-sum-l{ min-width:0; }
.wf-sum-n{ flex:none; font-variant-numeric:tabular-nums; color:var(--text-body); }

/* P17.2 -- "Was koche ich heute?" reuses .wf-cal-btn outright; only the
   question above the recipe name is new. */
.wf-cook{ margin-top:20px; padding-top:18px; border-top:1px solid var(--hairline); }
.wf-cook-q{ display:block; font-size:15px; color:var(--text-primary); }
.wf-cook .wf-cal-k{ display:block; margin-top:3px; }

.wf-msg{ min-height:0; margin:10px 2px 0; font-size:12.5px; color:var(--text-secondary); }
.wf-msg:empty{ display:none; }
/* The contextual surface: a calm acknowledgement, never a reward. */
.wf-today{ position:relative; isolation:isolate; overflow:hidden; margin:12px 0 0; padding:20px 22px 22px; border-radius:18px;
  background:radial-gradient(70% 130% at 0% 50%, rgba(var(--lit), .085) 0%, rgba(var(--lit), 0) 72%), linear-gradient(165deg, #25212B 0%, #17141B 100%);
  box-shadow:inset 0 1px 0 rgba(var(--hi), .09), inset 0 0 0 1px rgba(var(--hi), .05); animation:wfIn 260ms var(--patient) both; }
.wf-today.is-marked::after{ content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(48% 110% at 100% 50%, rgba(var(--act), .075) 0%, rgba(var(--act), 0) 72%); }
.wf-today-k{ margin:0; font-family:var(--font-c); font-size:9.5px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.wf-today-h{ margin:8px 0 0; font-family:var(--font-d); font-weight:500; text-transform:none; font-size:clamp(22px, 6.4vw, 28px); line-height:1.12; color:var(--text-primary); }
.wf-today-p{ margin:8px 0 0; font-size:14px; line-height:1.5; color:var(--text-secondary); max-width:30em; }
.wf-today.is-quiet .wf-today-h{ color:var(--text-secondary); }
.wf-skel{ height:1em; border-radius:6px; background:rgba(var(--hi), .05); color:transparent; }
.wf-link{ background:none; border:0; padding:0; font:inherit; color:var(--text-primary); text-decoration:underline; text-decoration-color:rgba(var(--hi), .3); text-underline-offset:3px; cursor:pointer; }
@keyframes wfIn{ from{ opacity:0; transform:translateY(4px); } }
/* Optional calendar hand-off: secondary, neutral, one honest action. */
.wf-cal{ margin-top:22px; }
/* P19.6 -- the calendar export keeps every bit of its function and stops
   competing with planning for the same attention: set apart above a hairline,
   as the screen's closing utility rather than a second offer of equal weight.
   Placement is unchanged -- it is already last; only its standing is. */
.wf-cal.is-util{ margin-top:26px; padding-top:18px; border-top:1px solid var(--hairline); }
.wf-cal.is-util .wf-cal-btn{ min-height:48px; }
.wf-cal.is-util .hm-go{ opacity:.75; }
.wf-cal.is-util .wf-note{ margin-top:6px; }
.wf-cal-btn{ display:flex; align-items:center; justify-content:space-between; gap:12px 16px; flex-wrap:wrap; width:100%; min-height:52px; padding:0; background:none; border:0; text-align:left; color:inherit; font:inherit; cursor:pointer; }
.wf-cal-btn:focus-visible{ outline:2px solid var(--magenta); outline-offset:4px; border-radius:10px; }
.wf-cal-k{ font-size:13px; color:var(--text-secondary); }
.wf-note{ margin:8px 0 0; font-size:12px; line-height:1.5; color:var(--muted); max-width:34em; }

/* ---- "Vorgemerkt" (P19.2, rebuilt P19.4) -- where a week gets planned.
   P19.2 listed only the days that held something, so there was no way to
   start from a day. P19.4 gives planning its OWN dated day row: visibly not
   the Signal ring above it, which keeps marking entirely to itself. It
   reuses the screen's own rhythm (the .wf-day-l label type, the .hm-go
   capsule, the hairline) and introduces no new token. ---- */
.wp{ margin:26px 0 0; padding-top:20px; border-top:1px solid var(--hairline); }
.wp-h{ margin:0; font-family:var(--font-c); font-size:9.5px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.wp-switch{ display:flex; gap:7px; margin:12px 0 0; }
.wp-sw{ display:inline-flex; align-items:center; gap:7px; min-height:40px; padding:0 14px; border:1px solid var(--hairline); border-radius:999px;
  background:transparent; color:var(--text-secondary); font:inherit; font-size:13.5px; cursor:pointer; -webkit-tap-highlight-color:transparent;
  transition:border-color 200ms var(--patient), color 200ms var(--patient), background-color 200ms var(--patient); }
@media (hover:hover){ .wp-sw:hover{ border-color:var(--border-default); color:var(--text-primary); } }
.wp-sw.is-on{ border-color:rgba(var(--act), .45); background:rgba(var(--act), .09); color:var(--text-primary); }
.wp-sw:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; }
.wp-sw-n{ font-variant-numeric:tabular-nums; font-size:12px; color:var(--text-secondary); }
.wp-sw.is-on .wp-sw-n{ color:var(--text-primary); }
.wp-state{ margin:14px 0 0; font-size:13.5px; line-height:1.55; color:var(--text-secondary); max-width:40em; }
.wp-state.is-quiet{ color:var(--muted); font-size:12.5px; }
/* The planning day row: seven dated chips, three-pixel gaps so a chip still
   clears 44px at 320px width. The chips are .wp-pick -- the same component
   the dialog uses -- so a day reads the same wherever it is chosen. */
.wp-rail{ display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:3px; margin:12px 0 0; }
.wp-pick.is-past{ opacity:.55; }
.wp-pick.is-today .wp-pick-l{ color:var(--magenta-text-safe); }
/* P19.6 -- the open day has to be unmistakable, because it is now the only
   thing naming the list below it. Weight and a lit edge, within the accent the
   chip already used: no new colour, no new token. */
/* The "holds something" dot sits under the date here, not in the corner: the
   rail's label fills the chip's width, and in the corner the dot landed on the
   last letter of HEUTE. */
.wp-rail .wp-pick{ padding-bottom:13px; }
.wp-rail .wp-pick.is-set::after{ top:auto; right:auto; bottom:6px; left:50%; translate:-50% 0; width:4px; height:4px; }
.wp-rail .wp-pick.is-on{ border-color:rgba(var(--act), .7); background:rgba(var(--act), .14); }
.wp-rail .wp-pick.is-on .wp-pick-d{ font-weight:600; }
.wp-rail .wp-pick.is-on .wp-pick-l{ color:var(--text-primary); }
.wp-rail .wp-pick.is-today.is-on .wp-pick-l{ color:var(--magenta-text-safe); }
/* P19.6 -- the day heading is gone (the lit rail chip above names the day);
   what is left is the list and the one way to add to it. */
.wp-day-open{ margin-top:10px; }
.wp-day + .wp-day{ margin-top:4px; }
.wp-rows{ list-style:none; margin:0; padding:0; }
.wp-row{ display:flex; align-items:center; gap:6px; border-bottom:1px solid var(--hairline); }
.wp-row:last-child{ border-bottom:0; }
.wp-row.is-past{ opacity:.6; }
.wp-row.is-busy{ opacity:.5; }
.wp-row-go{ display:flex; align-items:center; gap:12px; flex:1; min-width:0; min-height:64px; padding:0 2px;
  background:none; border:0; text-align:left; color:inherit; font:inherit; cursor:pointer; }
.wp-row-go.is-flat{ cursor:default; }
.wp-row-go:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; border-radius:10px; }
.wp-row-t{ min-width:0; }
.wp-row-n{ display:block; font-size:15px; line-height:1.3; color:var(--text-primary); overflow-wrap:anywhere; }
.wp-row-m{ display:block; margin-top:2px; font-size:12.5px; color:var(--text-secondary); }
.wp-row.is-gone .wp-row-n{ color:var(--text-body); }
.wp-row.is-gone .wp-row-m{ color:var(--muted); }
.wp-row-x{ display:inline-flex; align-items:center; justify-content:center; flex:none; width:44px; height:44px; padding:0; border:0; border-radius:50%;
  background:none; color:var(--muted); cursor:pointer; -webkit-tap-highlight-color:transparent; transition:color 200ms var(--patient); }
@media (hover:hover){ .wp-row-x:hover{ color:var(--text-primary); } }
.wp-row-x:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; }
.wp-row-x[disabled]{ opacity:.4; cursor:default; }
/* The amount of a plan, changed where the plan is -- the same 44px circle as
   the removal, one step quieter in weight. */
.wp-row-s{ display:inline-flex; align-items:center; justify-content:center; flex:none; width:44px; height:44px; padding:0; border:0; border-radius:50%;
  background:none; color:var(--muted); cursor:pointer; -webkit-tap-highlight-color:transparent; transition:color 200ms var(--patient); }
@media (hover:hover){ .wp-row-s:hover{ color:var(--text-primary); } }
.wp-row-s:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; }
.wp-row-s[disabled]{ opacity:.4; cursor:default; }
/* P19.6 -- THE PRIMARY ACTION, AND THE EMPTY STATE, AS ONE ROW.
   It was an outlined pill the width of its own label, sitting under a sentence
   that said the day was empty -- so the sentence carried the meaning and the
   action looked secondary. Now it is a full-width row in the rhythm of the
   planned rows above it, with the plus in the place a picture would be: an
   empty day shows one row that says what to do, and a day with plans shows the
   same row after them. No new container, no card, no dashed border. */
.wp-add{ display:flex; align-items:center; gap:12px; width:100%; min-height:64px; margin:0; padding:0 2px; border:0;
  border-top:1px solid var(--hairline); background:none; color:var(--text-primary); font:inherit; font-size:15px; text-align:left;
  cursor:pointer; -webkit-tap-highlight-color:transparent; transition:color 200ms var(--patient); }
.wp-rows + .wp-add{ border-top:1px solid var(--hairline); }
.wp-day-open > .wp-add:first-child{ border-top:0; }
.wp-add-g{ display:inline-flex; align-items:center; justify-content:center; flex:none; width:52px; height:52px; border-radius:13px;
  background:rgba(var(--hi), .05); box-shadow:inset 0 0 0 1px var(--hairline); color:var(--text-secondary);
  transition:color 200ms var(--patient), box-shadow 200ms var(--patient); }
@media (hover:hover){ .wp-add:hover .wp-add-g{ color:var(--text-primary); box-shadow:inset 0 0 0 1px var(--border-default); } }
.wp-add:active{ opacity:.8; }
.wp-add:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; border-radius:12px; }
/* The Recipe's own picture, at the one size both the planned row and the
   picker use. It is a quiet object: no shadow, no lift, no press state -- the
   row around it carries those. */
.wp-thumb{ display:block; flex:none; width:52px; height:52px; border-radius:13px; overflow:hidden; background:rgba(var(--hi), .05);
  box-shadow:inset 0 0 0 1px var(--hairline); }
.wp-thumb img{ display:block; width:100%; height:100%; object-fit:cover; }
.wp-row.is-gone .wp-thumb, .wp-thumb.is-plain{ background:rgba(var(--hi), .04); }
.wp-msg{ margin:12px 2px 0; font-size:12.5px; color:var(--text-secondary); }
.wp-msg:empty{ display:none; }
@media (max-width:359px){ .wp-switch{ flex-wrap:wrap; } }
/* P19.8 -- .wf-cook.is-gone is gone with the row it styled: the Wochenfokus
   shortcut no longer exists, so a plan that cannot be opened is named where it
   lives, in the "Vorgemerkt" list (.wp-row.is-gone, above). The base .wf-cook
   rules stay -- the public Product Story panel renders its own copy of that
   row and is not part of this change. */
/* The compact START week while the private state is not known yet: neutral, never a false "empty". */
.hm-mark.is-pending, .hm-day.is-pending{ color:rgba(245,241,236,.14); }
@media (prefers-reduced-motion: reduce){
  .wf-g, .wf-ring, .wf-chk{ transition:none; }
  .wf-today{ animation:none; }
}


/* ======================================================================
   SHOPPING LIST V1 (Phase 16). Same tokens and rhythm as Recipe Detail:
   one calm column on a phone, a list plus a quiet rail from 1024px. No
   score, no ring, no category chrome -- the list is alphabetical.
   ====================================================================== */
.app-content-inner.sl{ --hi:245,241,236; --lit:214,198,226; --act:226,25,181; max-width:640px; }
/* The back link is a row of its own. Inline-flex let the inline-grid
   switch share its line: the switch then started at the end of the link
   instead of at the content's left edge, and its taller box crowded the
   link. fit-content keeps the hit area on the label. */
.sl .bt-detail-back{ display:flex; width:fit-content; align-items:center; gap:7px; min-height:44px; padding:0; margin:0 0 12px; }
.sl .bt-detail-back svg{ flex:none; width:17px; height:17px; }
.sl-h1{ margin:0 !important; overflow-wrap:break-word; }
.sl-meta{ margin:8px 0 0; font-size:14px; color:var(--text-secondary); font-variant-numeric:tabular-nums; }
.sl-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:20px 0 0; }
.sl-plan{ display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 24px; border:0; border-radius:999px;
  background:var(--magenta); color:var(--canvas); font:inherit; font-size:15px; font-weight:700; cursor:pointer; -webkit-tap-highlight-color:transparent;
  transition:transform 160ms var(--patient), opacity 200ms var(--patient); }
.sl-plan:active{ transform:scale(.98); }
.sl-plan[disabled]{ background:rgba(245,241,236,.08); color:var(--text-secondary); cursor:default; transform:none; }
.sl-plan:focus-visible{ outline:2px solid rgba(var(--hi), .9); outline-offset:4px; }
/* UX Phase 1: planning a shopping trip is a convenience, not the list's own
   job -- it keeps its place and its target size, and gives up the accent. */
.sl-plan.is-secondary{ background:none; color:var(--text-primary); box-shadow:inset 0 0 0 1px var(--border-default); font-weight:600; }
.sl-plan.is-secondary:hover{ box-shadow:inset 0 0 0 1px var(--border-strong); }
.sl-plan.is-secondary[disabled]{ background:none; color:var(--text-secondary); box-shadow:inset 0 0 0 1px var(--hairline); }
.sl-dialog .cm-open-title{ margin-top:14px; }
.sl-plan-h{ font-size:13.5px; line-height:1.4; color:var(--text-secondary); }
@media (max-width:479px){ .sl-plan{ width:100%; } }

.sl-grid{ margin:24px 0 0; }
.sl-rail{ margin:36px 0 0; }
@media (min-width:1024px){
  .app-content-inner.sl{ max-width:1000px; }
  .sl-grid{ display:grid; grid-template-columns:minmax(0, 1fr) 280px; column-gap:56px; align-items:start; }
  .sl-rail{ margin-top:0; position:sticky; top:calc(65px + var(--preview-banner-h) + 28px); }
  .sl .bt-detail-back{ margin-bottom:18px; }
}

.sl-add-row{ display:flex; gap:8px; align-items:stretch; }
/* Optional quantity and unit: a second, quieter line -- the name alone stays a
   complete item, so these never look required. */
.sl-add-q{ display:flex; gap:8px; align-items:stretch; }
.sl-add-qi{ flex:0 1 8em; min-width:0; min-height:44px; font-variant-numeric:tabular-nums; }
.sl-add-ui{ flex:1 1 auto; min-width:0; min-height:44px; }
.sl-add-i{ flex:1 1 auto; min-width:0; min-height:48px; }
.sl-add-go{ flex:none; width:100%; min-height:48px; }
.sl-add-go[disabled]{ opacity:.5; cursor:default; }
.sl-add-go:focus-visible{ outline:2px solid var(--magenta); outline-offset:2px; }
.sl-msg{ margin:0 0 14px; font-size:14px; line-height:1.5; color:var(--text-secondary); }
.sl-msg.is-err{ color:#F0A2A2; }

.sl-list{ list-style:none; margin:0; padding:0; }
.sl-item{ display:grid; grid-template-columns:48px minmax(0, 1fr) auto; column-gap:6px; align-items:start; padding:2px 0; border-bottom:1px solid var(--hairline); }
.sl-item.is-manual .sl-body{ align-self:center; padding:12px 0; }
.sl-check{ position:relative; width:48px; height:48px; padding:0; border:0; background:none; cursor:pointer; display:flex; align-items:center; justify-content:center; -webkit-tap-highlight-color:transparent; }
.sl-check::before{ content:''; display:block; width:24px; height:24px; border-radius:8px; border:1.5px solid var(--border-default); box-sizing:border-box;
  transition:background 160ms var(--patient), border-color 160ms var(--patient); }
.sl-check .sl-tick{ position:absolute; width:16px; height:16px; color:var(--canvas); opacity:0; }
.sl-check.is-on::before{ background:var(--magenta); border-color:var(--magenta); }
.sl-check.is-on .sl-tick{ opacity:1; }
.sl-check:focus-visible{ outline:2px solid rgba(var(--hi), .9); outline-offset:-4px; border-radius:12px; }
.sl-body{ min-width:0; padding:12px 0; text-align:left; }
.sl-toggle{ display:grid; grid-template-columns:5.6em minmax(0, 1fr); column-gap:12px; align-items:baseline; width:100%; margin:0; border:0; background:none; font:inherit;
  color:inherit; cursor:pointer; min-height:48px; box-sizing:border-box; }
.sl-toggle:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; border-radius:6px; }
.sl-q{ font-size:16px; font-weight:600; color:var(--text-primary); font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.sl-n{ font-size:16px; line-height:1.4; color:var(--text-body); overflow-wrap:anywhere; }
.sl-sub{ grid-column:2; display:flex; flex-wrap:wrap; gap:2px 10px; margin-top:3px; font-size:13.5px; line-height:1.4; color:var(--text-secondary); }
.sl-src{ overflow-wrap:anywhere; }
.sl-opt-tag{ display:inline-block; padding:0 7px; border:1px solid var(--border-default); border-radius:999px; font-size:11.5px; line-height:18px; letter-spacing:.02em; white-space:nowrap; }
.sl-x{ align-self:center; min-height:44px; padding:0 8px; border:0; background:none; color:var(--text-secondary); font:inherit; font-size:13.5px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.sl-x:hover{ color:var(--text-primary); }
.sl-x:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; border-radius:4px; }
/* A manual item carries an optional quantity in the same column as a Recipe
   row's, so the list reads as one list. Tapping it opens the correction. */
.sl-man-body{ display:grid; grid-template-columns:5.6em minmax(0, 1fr); column-gap:12px; align-items:baseline; width:100%; margin:0; border:0; background:none; font:inherit;
  color:inherit; cursor:pointer; min-height:48px; box-sizing:border-box; }
.sl-man-body:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; border-radius:6px; }
.sl-q.is-none{ font-weight:400; font-size:13.5px; color:var(--text-secondary); }
.sl-item.is-edit{ grid-template-columns:minmax(0, 1fr); padding:10px 0 12px; }
.sl-man-top{ padding:0 0 4px; }
.sl-man-edit{ flex-wrap:wrap; }
.sl-man-q{ flex:0 1 7em; min-width:0; }
.sl-man-u{ flex:1 1 8em; min-width:0; min-height:44px; }
.sl-man-ok{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; flex:none; border:1px solid var(--magenta); border-radius:50%;
  background:var(--magenta); color:var(--canvas); cursor:pointer; }
.sl-man-ok .sl-tick{ width:18px; height:18px; }
.sl-man-ok:focus-visible{ outline:2px solid rgba(var(--hi), .9); outline-offset:3px; }
.sl-man-hint{ margin:6px 0 0; font-size:13px; line-height:1.45; color:var(--text-secondary); }
.sl-item.is-done .sl-q, .sl-item.is-done .sl-n{ color:var(--text-secondary); text-decoration:line-through; text-decoration-color:rgba(167,159,164,.55); }

.sl-detail{ grid-column:2 / -1; padding:0 0 14px; }
.sl-srcs{ list-style:none; margin:0; padding:0; font-size:14px; line-height:1.45; color:var(--text-body); }
.sl-srcs li{ padding:3px 0; overflow-wrap:anywhere; }
.sl-srcs-n{ color:var(--text-primary); }
.sl-srcs-note{ display:block; color:var(--text-secondary); font-size:13.5px; }
.sl-target{ margin:12px 0 0; }
.sl-target-l{ display:block; font-size:13px; color:var(--text-secondary); margin:0 0 6px; }
.sl-target-row{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; }
.sl-target-i{ width:6.5em; min-height:44px; text-align:right; font-variant-numeric:tabular-nums; }
.sl-target-u{ font-size:15px; color:var(--text-body); }
.sl-target-h{ margin:8px 0 0; font-size:12.5px; color:var(--text-secondary); }
.sl-mini{ display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 16px; border:1px solid var(--border-default); border-radius:999px; background:transparent;
  color:var(--text-primary); font:inherit; font-size:14px; font-weight:600; cursor:pointer; }
.sl-mini.is-destructive{ border-color:var(--action-destructive-on-surface); color:var(--action-destructive-on-surface); }
.sl-mini.is-quiet{ border-color:transparent; color:var(--text-secondary); text-decoration:underline; text-underline-offset:3px; font-weight:500; padding:0 8px; }
.sl-mini:hover{ border-color:var(--border-strong); }
.sl-mini:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; }

.sl-alldone{ margin:8px 0 0; font-family:var(--font-d); font-weight:500; text-transform:uppercase; font-size:22px; color:var(--text-primary); }
/* Staple awareness: the inline "Hast du das zu Hause?" under a staple row; wraps on a narrow screen, 44px targets like every .sl-mini */
.sl-home{ grid-column:2 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; padding:0 0 10px; }
.sl-home-q{ flex:1 1 100%; font-size:13.5px; line-height:1.4; color:var(--text-secondary); }
.sl-home.is-unsure .sl-home-q{ color:var(--text-body); }
.sl-home-a{ display:flex; flex-wrap:wrap; gap:6px; }
.sl-home-b{ padding:0 14px; }
.sl-home-row{ grid-template-columns:minmax(0, 1fr) auto; align-items:center; padding-left:2px; }
.sl-home-row .sl-body{ display:grid; grid-template-columns:5.6em minmax(0, 1fr); column-gap:12px; align-items:baseline; }
.sl-done{ margin:24px 0 0; }
.sl-done-h{ display:inline-flex; align-items:center; gap:10px; min-height:48px; padding:0; border:0; background:none; color:var(--text-secondary);
  font:inherit; font-size:15px; font-weight:600; cursor:pointer; }
.sl-done-h::after{ content:''; width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin:-3px 0 0 2px; transition:transform 160ms var(--patient); }
.sl-done-h[aria-expanded="true"]::after{ transform:rotate(-135deg); margin-top:3px; }
.sl-done-h:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; border-radius:6px; }
.sl-done-n{ font-variant-numeric:tabular-nums; }

.sl-empty{ margin:12px 0 0; padding:28px 22px; }
.sl-empty-h{ margin:0; font-family:var(--font-d); font-weight:600; text-transform:uppercase; font-size:clamp(22px, 6vw, 26px); line-height:1.1; color:var(--text-primary); }
.sl-empty-p{ margin:10px 0 20px; font-size:15.5px; line-height:1.6; color:var(--text-body); max-width:38ch; }
/* The action keeps its weight; the explanation stands quietly beside it. */
.sl-empty-act{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 20px; }
.sl-empty-how{ min-height:44px; padding:0; border:0; background:none; font:inherit; font-size:13.5px;
  color:var(--text-secondary); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
@media (hover:hover){ .sl-empty-how:hover{ color:var(--text-primary); } }
.sl-empty-how:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; border-radius:6px; }

.sl-h2{ margin:0 0 6px; font-family:var(--font-d); font-weight:600; text-transform:uppercase; font-size:18px; letter-spacing:.01em; color:var(--text-primary); }
.sl-rec-list{ list-style:none; margin:0; padding:0; }
.sl-rec-list li{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:2px 0; border-bottom:1px solid var(--hairline); }
.sl-rec-t{ min-width:0; display:flex; flex-direction:column; align-items:flex-start; padding:0 0 8px; }
.sl-rec-n{ display:inline-flex; align-items:center; min-height:44px; box-sizing:border-box; padding:6px 0 2px; color:var(--text-primary); text-decoration:none; overflow-wrap:anywhere; font-size:15px; }
.sl-rec-n:hover{ text-decoration:underline; }
.sl-rec-s{ margin:0; font-size:13px; color:var(--text-secondary); }
.sl-clear{ margin:18px 0 0; }
.sl-clear-q{ margin:0 0 8px; font-size:14px; color:var(--text-body); }
.sl-clear-row{ display:flex; gap:8px; }

/* dialogs */
.sl-opt-list{ list-style:none; margin:14px 0 0; padding:0; }
.sl-opt{ display:flex; align-items:center; gap:14px; min-height:52px; padding:4px 0; cursor:pointer; }
.sl-opt-i{ flex:none; width:24px; height:24px; margin:0; accent-color:var(--magenta); }
.sl-opt-t{ display:flex; flex-direction:column; min-width:0; }
.sl-opt-n{ font-size:16px; color:var(--text-primary); overflow-wrap:anywhere; }
.sl-opt-q{ font-size:13.5px; color:var(--text-secondary); }
.sl-plan-f{ display:grid; grid-template-columns:minmax(0, 1.4fr) minmax(0, 1fr); gap:12px; margin:16px 0 0; }
.sl-plan-c .cf-input{ width:100%; min-height:48px; box-sizing:border-box; }
.sl-plan-l{ display:block; font-size:13px; color:var(--text-secondary); margin:0 0 6px; }
.sl-dialog .sl-plan-h{ margin:10px 0 0; min-height:1.4em; color:#F0A2A2; }
.sl-plan-note{ margin:6px 0 0; font-size:13px; line-height:1.5; color:var(--text-secondary); }
@media (max-width:359px){ .sl-plan-f{ grid-template-columns:1fr; } }
@media (prefers-reduced-motion: reduce){ .sl-plan, .sl-check::before, .sl-done-h::after{ transition:none; } }

/* Retail package OPTIONS in the expanded item detail (Phase 18a): quiet, informational, no table. */
.sl-ro{ margin:12px 0 0; padding:12px 0 0; border-top:1px solid var(--hairline); }
.sl-ro-h{ margin:0 0 4px; font-size:13px; font-weight:600; letter-spacing:.02em; color:var(--text-secondary); }
.sl-ro-list{ list-style:none; margin:0; padding:0; }
.sl-ro-list li{ display:flex; flex-direction:column; padding:6px 0; }
.sl-ro-l{ font-size:15px; line-height:1.35; color:var(--text-primary); overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.sl-ro-s{ font-size:13px; line-height:1.4; color:var(--text-secondary); overflow-wrap:anywhere; }
.sl-ro-n{ margin:4px 0 0; font-size:12.5px; color:var(--text-secondary); }

/* Purchase Confirmation (Phase 19): quiet, optional, supermarket-friendly. No score, no accounting chrome. */
.sl-buy-open{ display:inline-flex; align-items:center; min-height:48px; padding:0 8px; border:0; background:none; color:var(--text-primary); font:inherit; font-size:15px; font-weight:600;
  text-decoration:underline; text-underline-offset:4px; text-decoration-color:var(--border-default); cursor:pointer; }
.sl-buy-open:hover{ text-decoration-color:var(--border-strong); }
.sl-buy-open:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; border-radius:6px; }
.sl-buy-note{ margin:10px 0 0; font-size:13.5px; line-height:1.4; color:var(--text-secondary); }
.sl-buy-h{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 12px; }
.sl-buy-n{ font-size:16px; font-weight:600; color:var(--text-primary); overflow-wrap:anywhere; }
.sl-buy-in{ display:flex; align-items:center; gap:10px; margin:10px 0 0; }
.sl-buy-l{ font-size:13px; color:var(--text-secondary); }
.sl .sl-buy-i, .sl-dialog .sl-buy-i{ width:7em; min-height:48px; box-sizing:border-box; padding:0 12px; border:1px solid var(--border-default); border-radius:10px; background:var(--surface-2); color:var(--text-primary); font:inherit; font-size:16px; text-align:right; font-variant-numeric:tabular-nums; }
.sl .sl-buy-i:focus, .sl-dialog .sl-buy-i:focus{ outline:2px solid rgba(var(--hi), .85); outline-offset:1px; border-color:transparent; }
.sl-buy-u{ font-size:15px; color:var(--text-body); }
.sl-buy-ca{ display:flex; align-items:center; gap:10px; min-height:44px; font-size:14px; color:var(--text-body); cursor:pointer; }
.sl-buy-ca input{ width:22px; height:22px; accent-color:var(--magenta); }
.sl-buy-act{ display:flex; flex-wrap:wrap; gap:4px 8px; margin:4px 0 0; }
.sl-buy-err{ margin:4px 0 0; font-size:13.5px; color:#F0A2A2; }

/* EINKAUF ABSCHLIESSEN -- one review for the whole trip (household inventory, Phase 1). Rows are 44px+ targets; the confirmation bar stays in
   reach at the bottom of the sheet; nothing here is colour-coded beyond the existing magenta primary button. */
.sl-trip-list{ list-style:none; margin:16px 0 0; padding:0; }
.sl-trip-row{ padding:14px 0; border-top:1px solid var(--hairline); }
.sl-trip-row.is-off .sl-trip-name{ color:var(--text-secondary); text-decoration:line-through; text-decoration-color:var(--border-strong); }
.sl-trip-pick{ display:flex; align-items:center; gap:12px; min-height:44px; cursor:pointer; }
.sl-trip-pick input{ width:22px; height:22px; flex:none; accent-color:var(--magenta); }
.sl-trip-name{ font-size:16px; font-weight:600; color:var(--text-primary); overflow-wrap:anywhere; }
.sl-trip-qty{ flex-wrap:wrap; margin:6px 0 0 34px; }
.sl-trip-ca{ margin-left:2px; }
.sl-trip-empty{ margin:16px 0 0 !important; font-size:15px !important; color:var(--text-body) !important; }
.sl-trip-hint{ margin:2px 0 0 34px; font-size:13px; line-height:1.4; color:var(--text-secondary); font-variant-numeric:tabular-nums; }
.sl-trip-row .sl-buy-err{ margin-left:34px; }
.sl-trip-again{ margin:18px 0 0; padding:14px 0 0; border-top:1px solid var(--hairline); }
.sl-trip-sub{ margin:0; font-size:16px; font-weight:600; color:var(--text-primary); }
.sl-trip-again-p{ margin:4px 0 0 !important; }
.sl-trip-skip{ margin:16px 0 0; border-top:1px solid var(--hairline); padding:6px 0 0; }
.sl-trip-skip summary{ min-height:44px; display:flex; align-items:center; font-size:14px; color:var(--text-secondary); cursor:pointer; }
.sl-trip-skip ul{ list-style:none; margin:0; padding:0 0 6px; }
.sl-trip-skip li, .sl-trip-done li{ display:flex; flex-direction:column; gap:1px; padding:7px 0; }
.sl-trip-skip .sl-trip-name{ font-size:15px; font-weight:500; color:var(--text-body); }
.sl-trip-why{ font-size:13px; color:var(--text-secondary); }
.sl-trip-done{ list-style:none; margin:16px 0 0; padding:0; }
.sl-trip-done li{ flex-direction:row; justify-content:space-between; align-items:baseline; gap:12px; border-top:1px solid var(--hairline); padding:12px 0; }
.sl-trip-q{ font-size:15px; color:var(--text-primary); font-variant-numeric:tabular-nums; white-space:nowrap; }
/* Purchase dialog: the action area is a footer on the dialog's own elevated surface, outside the scrolling content. The sheet's bottom padding already
   carries the safe area, so the footer adds none. */
.sl-trip-bar, .sl-dlg-foot{ flex:none; margin:12px 0 0; padding:12px 0 0; border-top:1px solid var(--hairline); background:var(--surface-elevated); }
/* ---- ADD DIALOG ZONES (Experience V5) ----------------------------------
   Four zones, one scroller. Head, the field being typed and the action area
   are flex:none, so they keep their place however little room the keyboard
   leaves; .sl-dlg-scroll is the single flexible region. Nothing here assumes
   a keyboard height -- the sheet is already sized to the visual viewport by
   the dialog contract (html.is-keyboard, --kb-vh). */
.sl-dlg-head{ flex:none; }
.sl-dlg-fix{ flex:none; padding:0 0 10px; }
.sl-dialog[data-kind="kitchenAddItem"] .sl-add-form,
.sl-dialog[data-kind="kitchenAddPantry"] .sl-add-form{ display:flex; flex-direction:column;
  flex:1 1 auto; min-height:0; }
/* The actions keep one row at the very bottom of the foot, below the quantity. */
.sl-add-act{ display:flex; align-items:center; gap:8px; margin:10px 0 0; }
.sl-add-act .sl-add-go{ flex:1 1 auto; width:auto; }
.sl-add-act .sl-add-tools{ flex:none; }
.sl-add-foot .kt-qty{ margin:0; }
.sl-add-foot .sl-buy-ca{ min-height:40px; }
.sl-add-foot .pan-add-preview, .sl-add-foot .sl-man-hint{ margin:4px 0 0; }
.sl-trip-go{ width:100%; min-height:52px; }
.sl-trip-go[disabled]{ opacity:.5; cursor:default; }
.sl-in-pantry{ color:var(--text-body); }
.sl-moved{ color:var(--text-secondary); }

/* UX Phase 1 -- confirm by exception. The proposed amounts are a summary
   first; the editable rows appear only when the Member wants to correct
   something. Package steps are typing shortcuts, so they look like quiet
   controls, never like data. */
.sl-trip-sum{ list-style:none; margin:16px 0 0; padding:0; }
.sl-trip-sum-row{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:11px 0; border-top:1px solid var(--hairline); }
.sl-trip-sum-row.is-off .sl-trip-name{ color:var(--text-secondary); text-decoration:line-through; text-decoration-color:var(--border-strong); }
.sl-trip-sum-row.is-off .sl-trip-q{ color:var(--text-secondary); }
.sl-trip-sum .sl-trip-name{ font-weight:500; }
.sl-trip-edit-row{ margin:10px 0 0; }
.sl-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 0 34px; }
.sl-chip{ display:inline-flex; align-items:center; min-height:44px; padding:0 14px; border:1px solid var(--hairline); border-radius:999px;
  background:none; color:var(--text-body); font:inherit; font-size:14px; cursor:pointer; font-variant-numeric:tabular-nums;
  transition:border-color 160ms var(--patient), color 160ms var(--patient); }
.sl-chip:hover{ border-color:var(--border-strong); color:var(--text-primary); }
.sl-chip.is-on{ border-color:var(--magenta); color:var(--text-primary); }
.sl-chip[disabled]{ opacity:.45; cursor:default; }
.sl-chip:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; }
/* The completed transfer, said once on the list instead of on a second screen. */

/* Vorrat / Pantry (Phase 20): quiet, Member-confirmed. No expiry, no scores, no categories. */
.sl-pan-items{ margin-top:12px; }
.sl-pan-row{ padding:6px 0; border-bottom:1px solid var(--hairline); }
.sl-pan-qty{ font-size:16px; font-weight:600; color:var(--text-primary); font-variant-numeric:tabular-nums; }
/* UX Phase 1 -- one line per position: the quantity itself is the control
   that opens the correction, and the secondary way out stays subordinate. */
.sl-pan-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; }
.sl-pan-top .sl-buy-n{ font-size:16px; color:var(--text-primary); overflow-wrap:anywhere; }
.sl-pan-qty-btn{ display:inline-flex; align-items:center; min-height:44px; padding:0 10px; margin-right:-10px; border:0; border-radius:10px;
  background:none; color:var(--text-primary); font:inherit; font-size:16px; font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap;
  cursor:pointer; transition:background-color 160ms var(--patient); }
.sl-pan-qty-btn:hover{ background:rgba(var(--hi), .06); }
.sl-pan-qty-btn:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; }
.sl-pan-act{ display:flex; align-items:center; gap:14px; margin:-6px 0 4px; }
.sl-pan-act .sl-mini{ min-height:44px; padding:0 2px; font-size:13px; }
.sl-pan-row.is-edit{ padding:10px 0 12px; }
.sl-pan-edit{ flex-wrap:wrap; }
.sl-man-edit{ margin:6px 0 0; }
.sl-man-urow{ display:flex; align-items:center; gap:10px; margin:8px 0 0; }
.sl-man-urow .sl-man-u{ flex:1 1 auto; min-width:0; min-height:44px; }
/* V5.1: the label takes the full width, so input, unit, confirm and cancel fit one row at 375px. */
.sl-pan-edit .sl-buy-l{ flex:0 0 100%; margin:0; }
/* V5.1: precision switch and the way out share one row; both keep 44px. */
.sl-pan-foot{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0 12px; }
.sl-pan-foot .sl-pan-act{ margin:0; }
.sl-pan-ok{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; flex:none; border:1px solid var(--magenta); border-radius:50%;
  background:var(--magenta); color:var(--canvas); cursor:pointer; }
.sl-pan-ok .sl-tick{ width:18px; height:18px; }
.sl-pan-ok:focus-visible{ outline:2px solid rgba(var(--hi), .9); outline-offset:3px; }

/* Pantry -> Recipe matching (Phase 23): factual, quiet. No scores, no percentages, no badges, no warning styling. */
.pm-cta{ margin:20px 0 4px; }
.pm-go{ max-width:100%; text-align:center; }
.pm{ margin:20px 0 8px; padding:18px 16px 8px; border-radius:18px; background:var(--surface); box-shadow:inset 0 0 0 1px var(--hairline); }
.pm-top{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px; }
.pm-h{ margin:0; font-family:var(--font-d); font-weight:600; text-transform:uppercase; font-size:clamp(20px, 5.5vw, 24px); line-height:1.1; color:var(--text-primary); overflow-wrap:anywhere; min-width:0; }
.pm-note, .pm-empty{ margin:10px 0 0; font-size:14.5px; line-height:1.55; color:var(--text-body); }
.pm-empty{ padding:6px 0 14px; max-width:46ch; }
.pm-list{ list-style:none; margin:8px 0 0; padding:0; }
.pm-card{ padding:14px 0 10px; border-top:1px solid var(--hairline); min-width:0; }
.pm-head{ display:flex; flex-direction:column; align-items:flex-start; gap:3px; width:100%; min-height:44px; padding:0; margin:0; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.pm-head:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; border-radius:6px; }
.pm-name{ font-size:17px; font-weight:600; line-height:1.3; color:var(--text-primary); overflow-wrap:anywhere; max-width:100%; }
.pm-facts{ font-size:13.5px; color:var(--text-secondary); overflow-wrap:anywhere; }
.pm-line{ font-size:15px; color:var(--text-body); }
.pm-status{ font-size:15px; font-weight:600; color:var(--text-primary); overflow-wrap:anywhere; }
.pm-age{ margin:6px 0 0; font-size:13px; color:var(--text-secondary); }
.pm-serv{ display:flex; flex-wrap:wrap; align-items:center; gap:2px 8px; margin:8px 0 0; font-size:14px; color:var(--text-secondary); }
.pm-serv-k{ font-size:14px; }
.pm-serv-busy{ font-size:13px; color:var(--text-secondary); }
.pm-ings{ list-style:none; margin:10px 0 0; padding:0; }
.pm-ing{ display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:1px 12px; padding:9px 0; border-top:1px solid var(--hairline); }
.pm-ing:first-child{ border-top:0; }
.pm-ing-n{ font-size:15px; color:var(--text-primary); overflow-wrap:anywhere; min-width:0; }
.pm-ing-s{ font-size:13.5px; color:var(--text-secondary); text-align:right; white-space:nowrap; }
.pm-ing.is-missing .pm-ing-s, .pm-ing.is-incompatible .pm-ing-s{ color:var(--text-body); }
.pm-ing-d{ grid-column:1 / -1; font-size:13px; line-height:1.4; color:var(--text-secondary); font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.pm-act{ margin:6px 0 0; }
.rd-pm{ margin:24px 0 0; }
.rd-pm-h{ margin:0; font-family:var(--font-d); font-weight:600; text-transform:uppercase; font-size:18px; line-height:1.1; color:var(--text-primary); }
.rd-pm-p{ margin:8px 0 0; font-size:13.5px; line-height:1.5; color:var(--text-secondary); max-width:46ch; }
@media (max-width:359px){ .pm{ padding:16px 12px 6px; } .pm-ing-s{ white-space:normal; } }
.pm .rx-retry{ display:inline-flex; align-items:center; min-height:44px; padding:0 4px; }

/* Manual Pantry entry (Phase 25B): one quiet add form on the Vorrat surface; explicit ADD with a preview. */
.pan-add-cta{ margin:16px 0 0; }
.sl-add-form .sl-buy-l{ display:block; margin:10px 0 4px; }
.sl-add-form .cf-input, .sl-add-foot .cf-input{ box-sizing:border-box; min-height:48px; padding:0 12px; border:1px solid var(--border-default); border-radius:10px; background:var(--surface-2); color:var(--text-primary); font:inherit; font-size:16px; }
.sl-add-form .cf-input:focus, .sl-add-foot .cf-input:focus{ outline:2px solid var(--magenta); outline-offset:1px; border-color:var(--magenta); }
/* P19.9 -- the planning search is no longer a boxed .cf-input imitating a
   field; it IS the Küche's field (.kq-f / .kq-cap / .kq-i, defined once, below)
   with its caption inside and its own focus ring. The two P19.6 rules that
   boxed .cf-input for this dialog are gone with the element they styled.
   Community still keeps the bare, underlined .cf-input, untouched. */
.sl-add-form .pan-add-sel, .sl-add-foot .pan-add-sel{ width:100%; max-width:100%; text-overflow:ellipsis; }
.sl-add-form .pan-add-qi{ width:100%; }
.pan-add-row{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:0 12px; }
.pan-add-q, .pan-add-u{ min-width:0; }
.pan-add-preview{ margin:8px 0 0; font-size:14px; line-height:1.45; color:var(--text-body); font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
/* Searchable ingredient selector: a field, at most eight results, and the
   chosen food collapsed to one line with its canonical unit. */
.pan-add-results{ list-style:none; margin:8px 0 0; padding:0; max-height:280px; overflow-y:auto; }
.pan-add-opt{ display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:48px; padding:0 12px; border:0;
  border-radius:12px; background:none; color:var(--text-body); font:inherit; font-size:15px; text-align:left; cursor:pointer; }
.pan-add-opt:hover{ background:rgba(var(--hi), .06); color:var(--text-primary); }
.pan-add-opt.is-on{ background:rgba(var(--hi), .08); color:var(--text-primary); }
.pan-add-opt:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:-2px; }
.pan-add-opt-u{ flex:none; font-size:13px; color:var(--text-secondary); font-variant-numeric:tabular-nums; }
.pan-add-chosen{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px; min-height:48px; }
.pan-add-chosen-n{ font-size:16px; font-weight:600; color:var(--text-primary); overflow-wrap:anywhere; }
.pan-add-fixed-unit{ min-height:48px; display:flex; align-items:center; padding:0 4px; margin:0; font-size:15px; color:var(--text-body); }

/* Release watch notice (docs/02-Infrastructure-Architecture/release-and-update-contract.md): minimal, non-modal,
   sits under the preview banner so it never covers navigation; shown only when a newer deployed build is confirmed. */
#crvd-update{ position:fixed; z-index:60; left:50%; transform:translateX(-50%);
  top:calc(var(--preview-banner-h) + 8px); max-width:min(92vw, 420px);
  display:flex; align-items:center; gap:12px; padding:8px 8px 8px 14px;
  background:var(--surface-elevated); color:var(--text-primary);
  border:1px solid var(--border-default); border-radius:var(--radius);
  font-family:var(--font-c); font-size:14px; }
/* The one action in the only toast the product has. Same pill, same 44px floor and same focus ring
   as the Kitchen dialogs' .sl-mini -- a notification is not a reason for a smaller target. */
#crvd-update button{ display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  font-family:var(--font-c); font-weight:600; font-size:14px; border-radius:999px;
  border:1px solid var(--border-interactive); background:none; color:var(--text-primary);
  padding:0 16px; cursor:pointer; }
#crvd-update button:focus-visible{ outline:2px solid var(--border-interactive); outline-offset:2px; }
/* ==========================================================================
   PL8 PREMIUM LANDING PAGE (pa-) and PL8 PREMIUM COMMUNITY OVERVIEW (pb-)
   Design Revision 3, Founder-approved. Composition only: tokens, typography, the Signal mask and the
   PL8 stage (Nebula, Community page only) are the product's own. p8s-* is the status vocabulary
   (HEUTE = filled dot, IM AUFBAU = half dot, VISION = dashed ring), differentiated by shape, never by
   a new colour. Source of truth for the markup: screenPremium() and screenPl8Overview() in app.js.
   ========================================================================== */
/* PL8 design prototype -- isolated and temporary. Reuses the product's tokens (styles.css), shell and PL8 stage;
   everything below is new composition only. Prefixes: st (status), pa (page A), pb (page B). */
.pa, .pb{ --hi:245,241,236; --lit:214,198,226; --act:226,25,181; }
.pa *, .pb *{ box-sizing:border-box; }
.pa button, .pb button{ font-family:inherit; }
.pa button:focus-visible, .pb button:focus-visible, .pa a:focus-visible, .pb a:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; }
/* ---------------------------------------------------------------- STATUS SYSTEM
   One vocabulary on both pages. Differentiated by shape, never by a new colour:
   HEUTE = filled dot, IM AUFBAU = half-filled dot, VISION = dashed ring + dashed frames. */
.p8s{ display:inline-flex; align-items:center; gap:8px; font-size:11px; font-weight:600; letter-spacing:.14em; line-height:1;
  text-transform:uppercase; color:var(--text-primary); white-space:nowrap; }
.p8s::before{ content:''; width:9px; height:9px; border-radius:50%; flex:none; }
.p8s-now::before{ background:var(--magenta); }
.p8s-build::before{ border:1.5px solid var(--magenta); background:linear-gradient(90deg, var(--magenta) 50%, transparent 50%); }
.p8s-vision{ color:var(--text-secondary); }
.p8s-vision::before{ border:1.5px dashed var(--text-secondary); }
.p8s-chip{ padding:8px 13px; border:1px solid var(--hairline); border-radius:999px; }
.p8s-chip.p8s-vision{ border-style:dashed; border-color:#4a3f47; }
/* ---------------------------------------------------------------- PAGE A */
.pa{ max-width:1040px; margin:0 auto; padding:0 0 var(--s8); }
.pa-hero{ position:relative; padding-top:var(--s2); }
.pa-hero-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-right:-16px; min-height:210px; }
.pa-pl8-t{ font-family:var(--font-d); font-weight:700; font-size:clamp(76px, 22vw, 120px); line-height:.9; letter-spacing:.01em; color:var(--text-primary); margin:10px 0 0; }
.pa-sigbox{ position:relative; flex:none; width:236px; height:236px; margin-right:-58px; pointer-events:none; }
.pa-nebula{ position:absolute; inset:-32%; background:var(--nebula-field); }
.pa-signal{ position:absolute; inset:0; pointer-events:none;
  background:var(--signal-satin-gradient); -webkit-mask:var(--signal-mask-src) center/contain no-repeat; mask:var(--signal-mask-src) center/contain no-repeat; opacity:.95; }
.pa-hero-copy{ position:relative; padding-top:22px; }
.pa-eyebrow{ display:flex; align-items:center; gap:10px; font-size:12px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin:0; }
.pa-eyebrow::before{ content:''; width:22px; height:1px; background:var(--magenta); }
.pa-h1{ font-family:var(--font-d); font-weight:700; text-transform:uppercase; font-size:clamp(34px, 9.4vw, 60px); line-height:1.12;
  letter-spacing:.004em; color:var(--text-primary); margin:16px 0 18px; }
.pa-muted{ color:var(--text-secondary); }
.pa-lede{ font-size:16px; line-height:1.65; color:var(--text-body); max-width:46ch; margin:0; }
.pa-legend{ display:grid; gap:12px; margin:30px 0 0; padding:20px 0 0; border-top:1px solid var(--hairline); }
.pa-legend-row{ display:grid; grid-template-columns:116px 1fr; gap:14px; align-items:center; font-size:13.5px; line-height:1.45; color:var(--text-secondary); }
.pa-legend-row .p8s{ font-size:10.5px; letter-spacing:.13em; }
.pa-sec{ margin-top:80px; }
.pa-num{ font-family:var(--font-d); font-weight:600; font-size:13px; letter-spacing:.2em; color:var(--magenta-text-safe); margin:0; }
.pa-h2{ font-family:var(--font-d); font-weight:700; text-transform:uppercase; font-size:clamp(26px, 6.8vw, 42px); line-height:1.08; color:var(--text-primary); margin:10px 0 14px; max-width:16em; }
.pa-lead{ font-size:16px; line-height:1.65; color:var(--text-body); max-width:48ch; margin:0; }
.pa-secmeta{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin:0 0 16px; }
.pa-fine{ font-size:13px; line-height:1.55; color:var(--muted); margin:18px 0 0; max-width:52ch; }
.pa-link{ display:flex; align-items:center; justify-content:space-between; gap:18px; width:100%; min-height:84px; margin-top:28px; padding:20px; text-align:left;
  background:var(--surface); border:1px solid var(--hairline); border-radius:16px; color:inherit; cursor:pointer; transition:border-color 200ms var(--patient); }
.pa-link:hover{ border-color:rgba(var(--act), .5); }
.pa-link-t{ display:block; font-family:var(--font-d); font-weight:600; font-size:24px; line-height:1.15; color:var(--text-primary); }
.pa-link-s{ display:block; font-size:13.5px; line-height:1.5; color:var(--text-secondary); margin-top:6px; }
.pa-link svg{ width:22px; height:22px; flex:none; color:var(--magenta-text-safe); transform:rotate(180deg); }
.pa-vision{ position:relative; }
.pa-vision > *{ position:relative; z-index:1; }
.pa-vision > .pa-vis-sig{ position:absolute; z-index:0; right:-96px; top:-40px; width:230px; height:230px; pointer-events:none;
  background:var(--signal-satin-gradient); -webkit-mask:var(--signal-mask-src) center/contain no-repeat; mask:var(--signal-mask-src) center/contain no-repeat; opacity:.28; }
.pa-statement{ font-family:var(--font-d); font-weight:700; text-transform:uppercase; font-size:clamp(30px, 8.6vw, 54px); line-height:1.06; color:var(--text-primary); margin:6px 0 22px; }
.pa-actions{ display:flex; flex-direction:column; align-items:center; gap:10px; margin-top:30px; }
.pa-actions .btn{ min-height:48px; min-width:240px; }
.pa-quiet{ background:none; border:0; min-height:44px; padding:0 8px; color:var(--text-secondary); font-size:14px; cursor:pointer; text-decoration:underline; text-underline-offset:5px; text-decoration-color:var(--border-strong); }
.pa-quiet:hover{ color:var(--text-primary); }
@media (min-width:760px){
.pa-legend-row{ grid-template-columns:132px 1fr; }
}
@media (min-width:1024px){
.pa{ padding:var(--s5) 0 var(--s8); }
.pa-hero{ display:grid; grid-template-columns:1.1fr .9fr; grid-template-rows:auto 1fr; column-gap:56px; align-items:center; min-height:560px; padding-top:0; }
.pa-hero-top{ display:contents; }
.pa-pl8{ grid-column:1; grid-row:1; align-self:end; }
.pa-sigbox{ grid-column:2; grid-row:1 / span 2; width:min(100%, 440px); height:auto; aspect-ratio:1; justify-self:end; margin-right:0; }
.pa-hero-copy{ grid-column:1; grid-row:2; padding-top:14px; align-self:start; }
.pa-sec{ margin-top:112px; }
.pa-actions{ flex-direction:row; justify-content:center; gap:22px; }
}
/* ---------------------------------------------------------------- PAGE B (inside Community: the product's own
   PL8 stage, Nebula light and room grammar are reused as they are) */
.pb.tk > *{ max-width:40rem; }
.pb-state{ display:flex; align-items:center; gap:10px; margin:22px 0 0; font-size:13.5px; line-height:1.5; color:var(--text-secondary); }
.pb-sec{ margin-top:64px; }
.pb-eyebrow{ font-size:10.5px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin:0 0 12px; }
.pb-h2{ font-family:var(--font-d); font-weight:500; text-transform:none; font-size:clamp(26px, 6.6vw, 34px); line-height:1.14; color:var(--text-primary); margin:0 0 12px; max-width:16em; }
.pb-p{ font-size:15.5px; line-height:1.65; color:var(--text-body); margin:0 0 14px; max-width:36em; }
.pb-p.is-quiet{ color:var(--text-secondary); font-size:14px; }
.pb-steps{ list-style:none; margin:26px 0 0; padding:0; border-top:1px solid var(--hairline); }
.pb-step{ position:relative; border-bottom:1px solid var(--hairline); padding-left:46px; }
.pb-step-n{ position:absolute; left:0; top:12px; width:30px; height:30px; border-radius:50%; border:1px solid var(--border-strong); display:grid; place-items:center;
  font-family:var(--font-d); font-weight:500; font-size:15px; color:var(--text-secondary); transition:border-color 200ms var(--patient), color 200ms var(--patient); }
.pb-step-btn{ display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:54px; padding:8px 0; background:none; border:0; color:inherit; text-align:left; cursor:pointer; }
.pb-step-t{ font-family:var(--font-d); font-weight:500; font-size:21px; line-height:1.2; color:var(--text-primary); }
.pb-step-btn svg{ width:20px; height:20px; flex:none; color:var(--text-secondary); transform:rotate(-90deg); transition:transform 220ms var(--patient); }
.pb-step-btn[aria-expanded="true"] svg{ transform:rotate(90deg); }
.pb-step:has(.pb-step-btn[aria-expanded="true"]) .pb-step-n{ border-color:var(--magenta); color:var(--text-primary); }
.pb-step-body{ padding:0 0 22px; font-size:15px; line-height:1.62; color:var(--text-body); max-width:34em; }
.pb-step-body[hidden]{ display:none; }
.pb-step-body p{ margin:0 0 10px; }
.pb-outcomes{ display:grid; gap:10px; margin:14px 0 0; padding:0; list-style:none; }
.pb-outcomes li{ padding:12px 0 0; border-top:1px solid var(--hairline); }
.pb-outcomes b{ display:block; font-size:11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--text-primary); margin-bottom:4px; }
.pb-outcomes span{ font-size:14px; line-height:1.55; color:var(--text-secondary); }
.pb-rows{ margin:24px 0 0; padding:0; border-top:1px solid var(--hairline); }
.pb-rows > div{ display:grid; gap:6px; padding:18px 0; border-bottom:1px solid var(--hairline); }
.pb-rows dt{ font-family:var(--font-d); font-weight:500; font-size:20px; line-height:1.2; color:var(--text-primary); }
.pb-rows dd{ margin:0; font-size:14.5px; line-height:1.58; color:var(--text-secondary); max-width:34em; }
.pb-asks{ margin:26px 0 0; padding:0; list-style:none; display:grid; gap:0; border-left:2px solid var(--magenta); }
.pb-asks li{ padding:6px 0 6px 18px; font-family:var(--font-d); font-weight:500; font-size:clamp(19px, 5vw, 22px); line-height:1.25; color:var(--text-primary); }
.pb-asks li small{ display:block; font-family:var(--font-c); font-weight:400; font-size:12.5px; color:var(--muted); margin-top:3px; }
.pb-fig{ margin:30px 0 0; padding:20px 16px 16px; border:1px dashed rgba(var(--act), .5); border-radius:16px; background:radial-gradient(120% 90% at 100% 0%, rgba(var(--act), .06), rgba(var(--act), 0) 60%); }
.pb-fig svg{ display:block; width:100%; height:auto; color:var(--text-secondary); }
.pb-fig figcaption{ margin:14px 0 0; font-size:12px; line-height:1.5; color:var(--muted); }
.pb-fig figcaption .p8s{ display:flex; margin:0 0 6px; }
.pb-status{ margin-top:64px; padding:22px 0 0 18px; border-left:2px solid var(--magenta); }
.pb-status .pb-h2{ margin-top:10px; }
.pb-end{ margin-top:72px; padding:48px 0 0; border-top:1px solid var(--hairline); }
.pb-end .pb-h2{ max-width:13em; }
.pb-actions{ display:flex; flex-direction:column; align-items:flex-start; gap:6px; margin-top:24px; }
.pb-actions .btn{ min-height:48px; }
.pb-quiet{ background:none; border:0; min-height:44px; padding:0; color:var(--text-secondary); font-size:14px; cursor:pointer; text-decoration:underline; text-underline-offset:5px; text-decoration-color:var(--border-strong); text-align:left; }
.pb-quiet:hover{ color:var(--text-primary); }
@media (min-width:1024px){
.pb-sec{ margin-top:80px; }
}
@media (prefers-reduced-motion:reduce){
.pa-link, .pb-step-n, .pb-step-btn svg{ transition:none; }
}

.pa-accent{ color:var(--magenta-text-safe); }
.pa-pace{ list-style:none; margin:30px 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.pa-pace li{ display:grid; gap:12px; align-content:start; padding:18px 14px 16px; border:1px solid var(--hairline); border-radius:16px; background:var(--surface); }
.pa-pace-sym{ display:block; width:60px; height:60px; color:var(--text-primary); }
.pa-pace-sym svg{ display:block; width:100%; height:100%; overflow:visible; fill:none; stroke:currentColor; stroke-width:14; }
.pa-pace-n{ font-family:var(--font-d); font-weight:600; font-size:22px; line-height:1.1; letter-spacing:.02em; text-transform:uppercase; color:var(--text-primary); }
.pa-pace-t{ font-family:var(--font-d); font-weight:500; font-size:17px; line-height:1.25; color:var(--text-primary); }
.pa-chain{ list-style:none; margin:34px 0 0; padding:0 0 0 30px; position:relative; counter-reset:c; }
.pa-chain::before{ content:''; position:absolute; left:9px; top:10px; bottom:30px; width:2px; background:linear-gradient(var(--magenta) 0 52%, rgba(var(--act), .35) 52% 100%); }
.pa-chain li{ position:relative; display:grid; gap:6px; padding:0 0 28px; }
.pa-chain li::before{ content:''; position:absolute; left:-30px; top:4px; width:20px; height:20px; border-radius:50%; background:var(--bg, #0b0a0c); border:2px solid var(--magenta); }
.pa-chain li:nth-child(n+4)::before{ border-style:dashed; border-color:var(--text-secondary); }
.pa-chain-k{ font-family:var(--font-d); font-weight:600; font-size:22px; line-height:1.15; color:var(--text-primary); }
.pa-chain-d{ font-size:14.5px; line-height:1.55; color:var(--text-body); max-width:40ch; }
.pa-chain li .p8s{ margin-top:4px; }
.pa-fig{ margin:32px 0 0; padding:20px 14px 16px; border:1px dashed rgba(var(--act), .5); border-radius:18px; background:radial-gradient(120% 90% at 100% 0%, rgba(var(--act), .07), rgba(var(--act), 0) 60%); }
.pa-fig svg{ display:block; width:100%; height:auto; }
.pa-fig figcaption{ margin:14px 0 0; font-size:12px; line-height:1.5; color:var(--muted); }
.pa-fig figcaption .p8s{ display:flex; margin:0 0 6px; }
.pa-fig-loop svg{ max-width:380px; margin:0 auto; color:var(--text-secondary); }
.pa-loop-arc{ fill:none; stroke:currentColor; stroke-width:1.5; stroke-dasharray:5 5; opacity:.7; }
.pa-loop-arc.is-now{ stroke:var(--magenta); stroke-dasharray:none; opacity:1; }
.pa-loop-node rect{ fill:var(--surface); stroke:var(--border-strong); stroke-width:1.2; stroke-dasharray:4 4; transition:stroke 200ms var(--patient), fill 200ms var(--patient); }
.pa-loop-node.is-now rect{ stroke-dasharray:none; stroke:var(--magenta); }
.pa-loop-node.is-active rect{ stroke:var(--magenta); stroke-width:2; stroke-dasharray:none; fill:var(--surface-selected); }
.pa-loop-n{ font-size:10px; font-weight:600; letter-spacing:.14em; fill:var(--text-secondary); }
.pa-loop-l{ font-family:var(--font-d); font-weight:600; font-size:15px; letter-spacing:.06em; fill:var(--text-primary); }
.pa-loop-c1{ font-family:var(--font-d); font-weight:600; font-size:17px; fill:var(--text-primary); }
.pa-fig-radar{ padding-top:16px; }
.pa-seg{ display:inline-grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border:1px solid var(--hairline); border-radius:999px; background:var(--surface); margin:0 auto 6px; position:relative; left:50%; transform:translateX(-50%); }
.pa-seg-b{ min-height:44px; min-width:92px; padding:0 18px; border:0; border-radius:999px; background:none; color:var(--text-secondary); font-size:13px; font-weight:600; letter-spacing:.06em; cursor:pointer; }
.pa-seg-b[aria-pressed="true"]{ background:var(--surface-selected); color:var(--text-primary); box-shadow:inset 0 0 0 1px var(--magenta); }
.pa-fig-radar svg{ max-width:420px; margin:0 auto; }
.pa-radar-ring{ fill:none; stroke:var(--hairline); stroke-width:1; }
.pa-radar-axis{ stroke:var(--hairline); stroke-width:1; }
.pa-radar-band{ fill:rgba(var(--act), .07); stroke:rgba(var(--act), .5); stroke-width:1; stroke-dasharray:3 4; }
.pa-radar-poly{ fill:rgba(var(--hi), .08); stroke:rgba(var(--hi), .85); stroke-width:1.6; stroke-linejoin:round; }
.pa-radar-set[hidden]{ display:none; }
.pa-m{ fill:var(--text-secondary); stroke:none; }
.pa-m.is-d{ fill:none; stroke:var(--text-primary); stroke-width:1.8; stroke-linejoin:round; }
.pa-m.is-t{ fill:var(--magenta); }
.pa-radar-l{ font-family:var(--font-c); font-size:11.5px; fill:var(--text-body); }
.pa-radar-k{ font-size:9.5px; font-weight:600; letter-spacing:.2em; fill:var(--text-secondary); }
.pa-radar-big{ font-family:var(--font-d); font-weight:700; font-size:26px; fill:var(--text-primary); }
.pa-radar-s{ font-size:10.5px; fill:var(--text-secondary); }
.pa-key{ list-style:none; margin:10px 0 0; padding:0; display:flex; flex-wrap:wrap; justify-content:center; gap:8px 16px; font-size:12.5px; color:var(--text-secondary); }
.pa-key li{ display:flex; align-items:center; gap:7px; }
.pa-key svg{ width:13px; height:13px; flex:none; fill:var(--text-secondary); }
.pa-key li:nth-child(2) svg{ fill:none; stroke:var(--text-primary); stroke-width:1.6; }
.pa-key li:nth-child(3) svg{ fill:var(--magenta); }
.pa-rules{ list-style:none; margin:26px 0 0; padding:0; border-top:1px solid var(--hairline); }
.pa-rules li{ display:grid; gap:3px; padding:14px 0; border-bottom:1px solid var(--hairline); }
.pa-rules b{ font-family:var(--font-d); font-weight:600; font-size:18px; color:var(--text-primary); }
.pa-rules span{ font-size:14px; line-height:1.55; color:var(--text-secondary); }
.pa-fig-con{ padding:18px 10px 14px; }
.pa-fig-con svg{ max-width:420px; margin:0 auto; }
.pa-con-ring{ fill:none; stroke:rgba(var(--act), .55); stroke-width:1.4; stroke-dasharray:5 6; }
.pa-con-line{ stroke:var(--border-strong); stroke-width:1.3; }
.pa-con-node rect{ fill:var(--surface); stroke:var(--magenta); stroke-width:1.3; }
.pa-con-node text{ font-family:var(--font-d); font-weight:500; font-size:14.5px; fill:var(--text-primary); }
.pa-con-c{ font-family:var(--font-d); font-weight:700; font-size:22px; letter-spacing:.04em; fill:var(--text-primary); }
.pa-con-c2{ font-size:11px; fill:var(--text-secondary); }
.pa-moments{ list-style:none; margin:30px 0 0; padding:0; border-top:1px solid var(--hairline); }
.pa-moments li{ display:grid; gap:4px; padding:16px 0 16px 16px; border-bottom:1px solid var(--hairline); border-left:2px dashed rgba(var(--act), .6); }
.pa-moments b{ font-family:var(--font-d); font-weight:600; font-size:19px; line-height:1.2; color:var(--text-primary); }
.pa-moments span{ font-size:14.5px; line-height:1.55; color:var(--text-secondary); max-width:46ch; }
@media (min-width:760px){
.pa-pace{ grid-template-columns:repeat(4, 1fr); }
.pa-chain{ padding-left:0; display:grid; grid-template-columns:repeat(5, 1fr); gap:18px; margin-top:44px; }
.pa-chain::before{ left:0; right:0; top:10px; bottom:auto; width:auto; height:2px; background:linear-gradient(90deg, var(--magenta) 0 52%, rgba(var(--act), .35) 52% 100%); }
.pa-chain li{ padding:34px 0 0; }
.pa-chain li::before{ left:0; top:1px; }
.pa-moments{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; border-top:0; }
.pa-moments li{ border-bottom:0; padding:4px 0 4px 16px; }
}
@media (min-width:1024px){
.pa-loopgrid{ }
.pa-fig{ padding:28px 28px 22px; max-width:640px; }
.pa-fig-loop svg, .pa-fig-radar svg{ max-width:460px; }
.pa-fig-con svg{ max-width:520px; }
}
@media (prefers-reduced-motion:reduce){
.pa-loop-node rect{ transition:none; }
}

.pa-r3 .pa-sec{ margin-top:84px; }
.pa-r3 .pa-num{ font-size:12px; letter-spacing:.22em; text-transform:uppercase; }
.pa-r3 .pa-h2{ font-size:clamp(32px, 9vw, 56px); line-height:1.04; max-width:13em; margin:12px 0 18px; }
.pa-r3 .pa-lead{ max-width:44ch; }
.pa-lead-2{ margin-top:28px !important; }
.pa-h3{ font-family:var(--font-d); font-weight:600; font-size:clamp(22px, 5.6vw, 28px); line-height:1.15; color:var(--text-primary); margin:44px 0 16px; text-transform:none; }
.pa-promise{ font-family:var(--font-d); font-weight:700; text-transform:uppercase; font-size:clamp(20px, 5.6vw, 30px); line-height:1.15; letter-spacing:.02em; color:var(--text-primary); margin:2px 0 20px; display:flex; flex-wrap:wrap; gap:0 .35em; align-items:baseline; }
.pa-promise span{ color:var(--magenta-text-safe); }
.pa-r3 .pa-lede{ font-size:16.5px; }
.pa-r3 .pa-legend{ margin-top:28px; gap:10px; }
.pa-r3 .pa-hero-copy{ padding-top:18px; }
.pa-r3 .pa-pace{ margin-top:28px; }
.pa-r3 .pa-pace li{ background:transparent; border:0; border-top:1px solid var(--hairline); border-radius:0; padding:18px 0 4px; }
.pa-r3 .pa-pace-sym{ width:72px; height:72px; }
.pa-lead-phase{ margin-top:18px !important; color:var(--text-primary); }
.pa-r3 .pa-pace-t{ font-size:16px; color:var(--text-body); font-weight:400; font-family:var(--font-c); line-height:1.35; }
.pa-r3 .pa-chain{ margin-top:22px; }
.pa-chain-d{ max-width:34ch; }
.pa-chain .p8s{ margin-top:6px; }
/* Nutrition Signal stage */
.pa-stage{ position:relative; overflow:hidden; border-radius:24px; border:1px solid var(--hairline); padding:34px 20px 26px;
  background:radial-gradient(90% 60% at 80% 12%, rgba(var(--act), .20), rgba(var(--act), 0) 62%), radial-gradient(70% 50% at 8% 100%, rgba(var(--act), .09), rgba(var(--act), 0) 70%), var(--surface); }
.pa-stage .pa-h2{ margin-top:10px; }
.pa-stage .pa-fig{ margin:30px 0 0; padding:6px 0 0; border:0; background:none; }
.pa-stage .pa-fig-radar svg{ max-width:470px; }
.pa-stage .pa-rules{ margin-top:22px; }
.pa-split-t .pa-fine{ margin-top:20px; }
/* Loop: stations list instead of tabs */
.pa-loopgrid{ display:grid; gap:6px; }
.pa-r3 .pa-fig-loop{ margin:28px 0 0; }
.pa-stations{ list-style:none; margin:18px 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.pa-stations li{ display:grid; gap:4px; align-content:start; padding:14px 0 0; border-top:1px solid var(--hairline); }
.pa-stations i{ font-style:normal; font-size:10.5px; letter-spacing:.16em; color:var(--text-secondary); }
.pa-stations b{ font-family:var(--font-d); font-weight:600; font-size:20px; color:var(--text-primary); line-height:1.1; }
.pa-stations span:not(.st){ font-size:13.5px; line-height:1.45; color:var(--text-secondary); }
.pa-stations .p8s{ margin-top:6px; }
/* Recipe-adaptation examples */
.pa-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.pa-chip{ min-height:44px; padding:0 16px; border-radius:999px; border:1px solid var(--hairline); background:var(--surface); color:var(--text-body); font-size:14px; font-weight:600; cursor:pointer;
  transition:border-color 200ms var(--patient), background-color 200ms var(--patient); }
.pa-chip:hover{ border-color:var(--border-strong); }
.pa-chip[aria-selected="true"]{ border-color:var(--magenta); background:var(--surface-selected); color:var(--text-primary); }
.pa-delta{ margin-top:16px; display:grid; gap:0; border:1px dashed rgba(var(--act), .55); border-radius:18px; overflow:hidden;
  background:radial-gradient(120% 90% at 100% 0%, rgba(var(--act), .07), rgba(var(--act), 0) 60%); }
.pa-delta[hidden]{ display:none; }
.pa-delta > div{ padding:18px 20px; }
.pa-delta > div + div{ border-top:1px solid var(--hairline); }
.pa-delta span{ display:block; font-size:10.5px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--text-secondary); margin-bottom:6px; }
.pa-delta p{ margin:0; font-family:var(--font-d); font-weight:500; font-size:clamp(19px, 5vw, 23px); line-height:1.25; color:var(--text-primary); }
.pa-delta .is-pl8 span{ color:var(--magenta-text-safe); }
.pa-delta > div:last-child p{ font-family:var(--font-c); font-weight:400; font-size:15px; color:var(--text-body); }
.pa-delta > div:last-child p::before{ content:'… '; }
/* Connected everyday */
.pa-freerow{ list-style:none; margin:28px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.pa-freerow li{ display:flex; align-items:center; gap:10px; min-height:44px; padding:0 14px 0 12px; border:1px solid var(--hairline); border-radius:999px; font-size:14px; color:var(--text-primary); background:var(--surface); }
.pa-freerow .p8s{ font-size:10px; }
.pa-con-spoke{ stroke:rgba(var(--act), .6); stroke-width:1.2; stroke-dasharray:4 5; }
.pa-con-core{ fill:var(--surface); stroke:var(--magenta); stroke-width:1.5; stroke-dasharray:3 4; }
.pa-r3 .pa-fig-con .pa-con-c{ font-size:21px; }
.pa-r3 .pa-fig-con{ margin-top:30px; }
/* Community teaser + closing */
.pa-comm{ position:relative; }
.pa-comm > *{ position:relative; z-index:1; }
.pa-comm > .pa-nebula{ position:absolute; z-index:0; inset:auto; right:-170px; top:-90px; width:360px; height:360px; opacity:.7; pointer-events:none; }
.pa-comm > .pa-vis-sig{ position:absolute; z-index:0; right:-110px; top:-30px; width:240px; height:240px; opacity:.22; pointer-events:none;
  background:var(--signal-satin-gradient); -webkit-mask:var(--signal-mask-src) center/contain no-repeat; mask:var(--signal-mask-src) center/contain no-repeat; }
.pa-comm .pa-statement{ font-size:clamp(32px, 9vw, 56px); margin:6px 0 22px; }
.pa-status3{ display:grid; gap:0; border-top:1px solid var(--hairline); }
.pa-status3 > div{ padding:18px 0; border-bottom:1px solid var(--hairline); }
.pa-status3 ul{ list-style:none; margin:12px 0 0; padding:0; display:grid; gap:6px; }
.pa-status3 li{ font-size:14.5px; line-height:1.45; color:var(--text-body); }
.pa-closing .pa-statement{ font-size:clamp(34px, 10vw, 66px); }
@media (min-width:760px){
.pa-stations{ grid-template-columns:repeat(4, 1fr); gap:20px; }
.pa-delta{ grid-template-columns:1fr 1.2fr 1fr; }
.pa-delta > div + div{ border-top:0; border-left:1px solid var(--hairline); }
.pa-status3{ grid-template-columns:repeat(3, 1fr); border-top:0; gap:28px; }
.pa-status3 > div{ border-bottom:0; border-top:1px solid var(--hairline); }
}
@media (min-width:1024px){
.pa-r3 .pa-sec{ margin-top:128px; }
.pa-r3 .pa-h2{ font-size:clamp(44px, 4.6vw, 64px); }
.pa-promise{ font-size:34px; }
.pa-stage{ padding:64px 56px; border-radius:32px; }
.pa-split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.pa-stage .pa-fig{ margin:0; }
.pa-stage .pa-fig-radar svg{ max-width:520px; }
.pa-loopgrid{ grid-template-columns:minmax(0, 460px) 1fr; gap:56px; align-items:center; }
.pa-r3 .pa-fig-loop{ margin:34px 0 0; max-width:none; }
.pa-stations{ grid-template-columns:1fr 1fr; margin-top:34px; }
.pa-r3 .pa-fig-con{ max-width:620px; }
.pa-r3 .pa-pace-sym{ width:88px; height:88px; }
}

.pb-r3 .pb-big{ font-size:clamp(30px, 8.4vw, 44px); line-height:1.08; max-width:12em; }
.pb-state-inline{ margin:0 0 6px; align-items:flex-start; }
.pb-state-inline .p8s{ margin-top:4px; }
.pb-formats{ list-style:none; margin:22px 0 0; padding:0; display:grid; gap:0; }
.pb-formats li{ display:grid; gap:4px; padding:18px 0 18px 18px; border-left:2px dashed rgba(var(--act), .6); }
.pb-formats li + li{ border-top:1px solid var(--hairline); border-top-left-radius:0; }
.pb-formats b{ font-family:var(--font-d); font-weight:500; font-size:clamp(22px, 6vw, 26px); line-height:1.15; color:var(--text-primary); }
.pb-formats span{ font-size:14.5px; line-height:1.55; color:var(--text-secondary); max-width:36em; }
.pb-link{ margin-top:22px; max-width:30rem; }
/* Nutrition Signal on small screens: the visual comes right after the headline, the rules after it. */
.pa-split{ display:flex; flex-direction:column; }
.pa-split-t{ display:contents; }
.pa-split .pa-fig-radar{ order:1; }
.pa-split .pa-rules, .pa-split .pa-split-t > .pa-fine{ order:2; }
@media (min-width:1024px){
.pa-split{ display:grid; }
.pa-split-t{ display:block; }
.pa-split .pa-fig-radar, .pa-split .pa-rules, .pa-split .pa-split-t > .pa-fine{ order:0; }
}
/* Phase 2A: the one cooking action sits right after the description; nothing is drawn while 'consume' is unavailable. */
.cook-today{ margin:16px 0 0; }
.cook-today:empty{ display:none; }
/* V5.7: directly under the recipe title -- a prominent 48px pill ("Heute gekocht · für N Portionen"), full width on a phone, with the persistent
   last-cooked line beneath it. The facts that follow keep their rhythm. */
.cook-today:not(:empty) + .rd-facts{ margin-top:16px; }
.cook-go{ border-color:var(--border-strong); font-size:16px; line-height:1.2; text-align:center; }
.cook-go .cook-go-for{ font-weight:500; color:var(--text-secondary); white-space:pre; }   /* pre: the leading space survives the flex container */
@media (max-width:479px){ .cook-today > .cook-go{ width:100%; } }
@media (max-width:359px){ .cook-go{ padding:0 14px; font-size:15px; } }
.cook-last{ display:flex; align-items:center; gap:7px; margin:10px 0 0; font-size:13.5px; line-height:1.4; color:var(--text-secondary); }
.cook-last-ck{ display:inline-flex; flex:none; color:var(--text-body); }
/* V5.8: the cooking dialog follows the V5.6 completion dialog (four zones; the shared rules above carry it). What is specific to cooking: the sentences above the
   containers (they are not row hints, so no row indent), the notes inside a container, and the footer's second row -- the way to confirm without a deduction is an
   outlined secondary action beside the quiet "Abbrechen", clearly below the one primary confirmation. */
.cook-miss{ color:var(--text-body); }
.sl-dialog[data-kind="cook"] .cm-open-desc{ margin:0 0 4px; max-width:none; }
.sl-dialog[data-kind="cook"] .sl-trip-hint{ margin:0 0 8px; }
.sl-dialog[data-kind="cook"] .sl-trip-sec{ margin-top:12px; }
.sl-dialog[data-kind="cook"] .sl-trip-card .cook-note{ font-size:13px; }
.sl-dialog[data-kind="cook"] .cook-resolve-go{ flex:0 0 auto; white-space:nowrap; }
.sl-dialog[data-kind="cook"] .sl-trip-bar .sl-trip-go{ line-height:1.2; padding:10px 16px; text-wrap:balance; }   /* the one primary action: short text, a longer one wraps evenly */
.sl-dialog[data-kind="cook"] .sl-trip-bar .cook-tools{ flex-wrap:nowrap; align-items:center; gap:8px; margin-top:8px; }
.sl-dialog[data-kind="cook"] .sl-trip-bar .cook-tools .cook-alt{ flex:1 1 0; min-width:0; padding:0 12px; font-size:14.5px; color:var(--text-body); }   /* the secondary action: outlined, never wider than it needs to be */
.sl-dialog[data-kind="cook"] .sl-trip-bar .cook-tools .is-quiet{ flex:none; }   /* the quiet cancel keeps its own width */
.sl-dialog[data-kind="cook"] .cook-repeat{ margin:0 0 6px; font-size:13.5px; color:var(--text-body); }
/* keyboard up (the quantity control is being used): only the heading, the active container and "Fertig" stay -- the explanations wait for the overview */
html.is-keyboard .sl-dialog[data-kind="cook"] .cm-open-desc, html.is-keyboard .sl-dialog[data-kind="cook"] .cook-repeat{ display:none; }
html.is-keyboard .sl-dialog[data-kind="cook"] .sl-trip-card.is-active .sl-trip-orig{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }   /* the stock line stays, on one row */
/* Kitchen UX V1: a prominent switch with a subtle count, a contextual way back, one primary action, secondary management in "Mehr". */
.kt-switch{ display:grid; width:100%; max-width:440px; box-sizing:border-box; }
.kt-tab{ min-width:0; display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.kt-n{ min-width:20px; padding:0 6px; box-sizing:border-box; border-radius:999px; background:rgba(245,241,236,.1); color:var(--text-secondary); font-size:12px; font-weight:600; line-height:20px; text-align:center; font-variant-numeric:tabular-nums; }
.kt-tab[aria-current="page"] .kt-n{ color:var(--text-primary); }
.kt-back{ display:inline-flex; align-items:center; gap:6px; min-height:44px; margin:0 0 4px; padding:0; border:0; background:none; color:var(--muted); font-size:14px; cursor:pointer; }
.kt-back:focus-visible{ outline:2px solid rgba(245,241,236,.85); outline-offset:2px; border-radius:6px; }
.sl-grid.is-single{ display:block; }
@media (min-width:1024px){ .sl-grid.is-single{ display:block; } }
.sl-man-new{ margin:6px 0 0; }
/* ---- KÜCHE SECTION CONTAINERS (Experience V5.1) -------------------------
   The Account module surface (.acct-mod), reused as the Küche's section
   container: the open list, "Erledigt", the Vorrat and the "Mehr" area. No
   border, no shadow, one soft Magenta breath in the corner -- the same light
   as the identity plate, at a fraction of its strength, so both screens
   belong to the same product as Account and Körper.

   The CONTAINER is the premium object. The rows inside it keep exactly the
   density they had (48/56px), and there is deliberately no card per
   ingredient: a list of thirty items has to stay a list. The inset is 12px,
   not the Account module's 24px, because a row here carries a name and a
   quantity that must not start wrapping on a 375px screen. */
.kt-panel, .sl-empty{ position:relative;
  /* Experience V5 -- Expressive Premium. The surface is lit rather than tinted: the
     vertical ground is the "Gespräch beginnen" recipe already in this stylesheet, the
     1px top edge catches the light, and the corner breath is the Signal's magenta at a
     fraction of its strength. No border, no outline; depth comes from the edge and one
     soft drop, never from a frame. Section headings carry NO magenta rule -- magenta is
     reserved for action, selection, focus and feedback. */
  background:
    radial-gradient(130% 150% at 88% -10%, rgba(226,25,181,0.085) 0%, rgba(226,25,181,0) 56%),
    linear-gradient(180deg, #1B171E 0%, #141116 62%, #110F13 100%);
  box-shadow:inset 0 1px 0 rgba(245,241,236,0.07), 0 10px 28px -16px rgba(0,0,0,0.9);
  border-radius:18px; }
.kt-panel{ margin:8px 0 0; padding:2px 14px; }
/* The section's own quiet name and count. Eyebrow weight, never louder than the screen. */
.kt-panel-h{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin:0; padding:15px 2px 7px; font-family:var(--font-c); font-size:10px; font-weight:600;
  letter-spacing:0.2em; text-transform:uppercase; color:var(--text-secondary); }
.kt-panel-h .kt-n{ font-size:11px; letter-spacing:0.08em; color:var(--muted);
  font-variant-numeric:tabular-nums; }
/* The last row's rule would draw against the container's lower edge. */
.kt-panel-list .sl-list > li:last-child,
.kt-panel-list .sl-list > li:last-child.sl-pan-row{ border-bottom:none; }
.sl-done.kt-panel{ margin-top:16px; padding:0 14px 2px; }
@media (max-width:389px){
  .kt-panel, .sl-done.kt-panel{ padding-left:11px; padding-right:11px; }
  .sl-empty{ padding:24px 16px; }
}

/* ---- QUANTITY TROUGH (Experience V5.2) ---------------------------------
   The Körper instrument's precision entry (.wt-entry), brought to the Küche:
   one calibrated trough holding the step controls, the number and its unit.
   Typing stays the precise path; the steps are the one-handed path. Nothing
   here saves -- the trough edits a draft, and a separate, explicit action
   commits it (Küche rule: never on blur). */
.kt-qty{ display:flex; align-items:stretch; margin:6px 0 0; border-radius:12px;
  background:rgba(38,33,41,0.55); overflow:hidden;
  border-top:1px solid rgba(46,39,45,0.9); border-bottom:1px solid rgba(46,39,45,0.9); }
.kt-step{ width:52px; flex:none; min-height:56px; padding:0; border:none; background:none;
  color:var(--text-secondary); font:inherit; font-size:22px; font-weight:300; line-height:1;
  cursor:pointer; transition:background 70ms var(--patient), color 70ms var(--patient); }
.kt-step:first-child{ border-right:1px solid rgba(46,39,45,0.9); }
.kt-step:last-child{ border-left:1px solid rgba(46,39,45,0.9); }
.kt-step:active{ background:rgba(226,25,181,0.12); color:var(--text-primary); }
.kt-step:focus-visible{ outline:2px solid var(--magenta); outline-offset:-3px; }
.kt-step[disabled]{ opacity:.35; cursor:default; }
.kt-qty-f{ flex:1; min-width:0; display:flex; flex-direction:column; justify-content:center;
  padding:6px 12px; transition:background 160ms var(--patient); }
.kt-qty-f:focus-within{ background:rgba(226,25,181,0.06); }
.kt-qty-l{ display:block; font-size:9.5px; letter-spacing:0.2em; text-transform:uppercase;
  color:var(--muted); transition:color 160ms var(--patient); }
.kt-qty-f:focus-within .kt-qty-l{ color:var(--magenta-text-safe); }
.kt-qty-r{ display:flex; align-items:baseline; gap:6px; }
.kt-qty-i{ width:100%; min-width:0; min-height:30px; padding:0; border:0; background:none;
  color:var(--text-primary); font-family:var(--font-c); font-size:19px; font-weight:600;
  font-variant-numeric:tabular-nums; }
.kt-qty-i:focus{ outline:none; }
.kt-qty-u{ flex:none; font-family:var(--font-c); font-size:11px; font-weight:500;
  letter-spacing:0.14em; text-transform:uppercase; color:var(--muted); }
/* The explicit commit. Word always present, blade answers hover, focus and press. */
.kt-save{ display:flex; align-items:center; gap:var(--s4); width:100%; min-height:56px;
  margin:0; padding:0 14px 0 0; border:0; border-bottom:1px solid rgba(46,39,45,0.9);
  background:none; text-align:left; font-family:inherit; cursor:pointer; }
.kt-save-b{ width:3px; height:22px; flex:none; border-radius:1.5px; background:var(--magenta);
  box-shadow:0 0 10px 1px rgba(226,25,181,0.45);
  transition:height 220ms var(--patient), box-shadow 220ms var(--patient); }
.kt-save:hover .kt-save-b, .kt-save:focus-visible .kt-save-b{ height:34px;
  box-shadow:0 0 16px 2px rgba(226,25,181,0.6); }
.kt-save:active .kt-save-b{ height:40px; transition-duration:80ms; }
.kt-save:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
.kt-save-l{ flex:1; font-family:var(--font-d); font-weight:500; font-size:17px;
  letter-spacing:0.02em; color:var(--text-primary); }
.kt-save-d{ flex:none; font-size:12px; color:var(--muted); white-space:nowrap;
  font-variant-numeric:tabular-nums; }
.kt-save[disabled]{ cursor:default; }
.kt-save[disabled] .kt-save-b{ background:var(--text-disabled); box-shadow:none; height:22px; }
.kt-save[disabled] .kt-save-l{ color:var(--text-secondary); }
.kt-qty-h{ margin:8px 0 0; font-size:12.5px; line-height:1.45; color:var(--text-secondary); }
@media (prefers-reduced-motion:reduce){
  .kt-save-b, .kt-qty-f, .kt-qty-l, .kt-step{ transition:none; }
}

/* ---- ACTIVE ITEM (Experience V5) ---------------------------------------
   The one row the Member has opened says so from its leading edge: the same
   3px magenta blade the Körper instrument uses for its commit action, plus a
   shallow magenta fall behind the row. It costs no height and replaces no
   semantics -- aria-expanded is unchanged and remains the accessible signal. */
.sl-item.is-open, .sl-pan-row.is-edit{ position:relative;
  margin:0 -14px; padding:0 14px;
  background:linear-gradient(180deg, rgba(226,25,181,0.055) 0%, rgba(226,25,181,0) 72%); }
.sl-item.is-open::before, .sl-pan-row.is-edit::before{ content:''; position:absolute;
  left:0; top:6px; bottom:6px; width:3px; border-radius:0 2px 2px 0;
  background:var(--magenta); box-shadow:0 0 12px 1px rgba(226,25,181,0.5); }
@media (max-width:389px){
  .sl-item.is-open, .sl-pan-row.is-edit{ margin:0 -11px; padding:0 11px; }
}
/* Press feedback, one vocabulary for every row and step control (.wt-step:active). */
.sl-body:active, .sl-pan-main:active, .sl-check:active{ background:rgba(226,25,181,0.12); }
@media (prefers-reduced-motion:reduce){
  .sl-item.is-open, .sl-pan-row.is-edit{ background:none; }
}

/* Kitchen Experience V2: compact rows, one toolbar row, no visible duplicate heading, tighter head on small screens. */
.sl-bar{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:6px 0 0; }
.sl-addbtn{ display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 14px; border:1px solid var(--border-default); border-radius:999px; background:none;
  color:var(--text-primary); font:inherit; font-size:15px; font-weight:600; cursor:pointer; }
.sl-addbtn:hover:not([disabled]){ border-color:var(--border-strong); }
.sl-addbtn[disabled]{ opacity:.5; cursor:default; }
.sl-addbtn:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; }
.sl-bar .sl-plan{ flex:1 1 auto; width:auto; min-height:44px; padding:0 12px; font-size:15px; }

/* ---- KITCHEN V5.7 -----------------------------------------------------------------------------------
   THE COMPLETION, ONCE. It used to sit in .sl-bar above the list, which meant the one Magenta action of
   the screen was off-screen for the whole of a long list. It now stands at the END of the list and is
   pinned there while the list is still scrolling: one element, never two, and nothing at all while
   nothing is checked (slBodyHtml renders it only for nBuy > 0).

   Position: sticky, not fixed -- a fixed bar would be the permanent action bar this screen does not want.
   A bottom-sticky element only travels while its containing block reaches below it, so .sl-main carries
   exactly the clearance the bar needs; at the end of the list the bar's own place and its sticky place
   coincide and it settles without a jump. .app-content's blanket --mobile-safe-bottom would otherwise
   stack on top of that and strand the bar above a block of empty scroll.

   It clears the fixed bottom navigation and follows that bar's retreat through --nav-offset, exactly as
   .cf-composer does: while the Member scrolls down the navigation leaves and the action moves with it, so
   there is one moving thing on the screen and not two. Under reduced motion the navigation never retreats
   and neither does this. */
.sl-finish{ position:sticky; z-index:9; margin:20px 0 0; padding:20px 0 0;
  bottom:calc(var(--nav-bar-h) + 8px + max(8px, env(safe-area-inset-bottom)));
  background:linear-gradient(to bottom, rgba(15,13,18,0) 0%, var(--canvas) 34%);
  transition:translate var(--nav-motion); }
.sl-finish .sl-plan{ width:100%; }
@media (max-width:1023px){
  .sl-main:has(.sl-finish){ padding-bottom:calc(var(--nav-bar-h) + 8px + max(8px, env(safe-area-inset-bottom))); }
  .app-content:has(.sl-finish){ padding-bottom:0; }
}
@media (max-width:1023px) and (prefers-reduced-motion:no-preference){
  html.nav-retreated .sl-finish{ translate:0 var(--nav-offset); }
}
/* no bottom navigation here, so nothing to clear and nothing to pin against; the action keeps the width it
   had in .sl-bar rather than stretching across the whole desktop column */
@media (min-width:1024px){
  .sl-finish{ position:static; display:flex; padding:0; background:none; }
  .sl-finish .sl-plan{ width:auto; }
}

/* THE SLOT A CHECKED ROW LEAVES BEHIND. The acknowledgement used to be a line above the list, which the
   Member could not see once they had scrolled into it. It is now the row's own place, held for one line so
   nothing below jumps up under the finger, and it carries the way back. One at a time. */
/* 49px, which is what an ordinary row measures here: the slot is held at exactly the height it had, so the
   rows below do not shift by even a few pixels under the finger (border-box, padding included). The
   take-back control itself keeps its 44px. */
.sl-undo{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:53px; }
.sl-undo-t{ display:flex; align-items:center; gap:10px; min-width:0; font-size:14.5px; line-height:1.4;
  color:var(--text-secondary); overflow-wrap:anywhere; }
.sl-undo-i{ flex:none; width:24px; height:24px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%; background:rgba(226,25,181,.14); color:var(--magenta-text-safe); }
.sl-undo-i svg{ width:15px; height:15px; }
.sl-undo-b{ flex:none; display:inline-flex; align-items:center; min-height:44px; padding:0 2px; border:0;
  background:none; color:var(--text-primary); font:inherit; font-size:14px; font-weight:600; cursor:pointer;
  text-decoration:underline; text-underline-offset:3px; }
.sl-undo-b:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; }

/* THE CONFIRMATION INSIDE BOTH ADD DIALOGS. It lives where the suggestions live, so the next item's first
   keystroke takes its place -- temporary without a timer. The count appears from the second item. */
.kq-ok{ display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px;
  margin:10px 0 0; padding:0 2px; }
.kq-ok-t{ display:flex; align-items:center; gap:9px; min-width:0; font-size:14.5px; line-height:1.4;
  color:var(--text-body); overflow-wrap:anywhere; }
.kq-ok-i{ flex:none; width:24px; height:24px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%; background:rgba(226,25,181,.14); color:var(--magenta-text-safe); }
.kq-ok-i svg{ width:15px; height:15px; }
.kq-ok-n{ flex:none; font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums; }
.sl-grid.is-single{ margin-top:6px; }
.sl-add-tools{ display:flex; flex-wrap:wrap; gap:4px 8px; }
.sl .kt-switch{ margin-bottom:8px; }
.sl-sub-d{ margin:0 0 8px; }
.sl-man-rm{ margin:2px 0 0; }
.sl-pan-row{ padding:0; }
.sl-pan-row.is-edit{ padding:0 0 12px; }
.sl-pan-main{ display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:56px; margin:0; padding:0; border:0; background:none; color:var(--text-primary);
  font:inherit; text-align:left; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.sl-pan-main:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; border-radius:6px; }
.sl-pan-name{ min-width:0; font-size:16px; overflow-wrap:anywhere; }
.sl-pan-q{ flex:none; font-size:16px; font-weight:600; font-variant-numeric:tabular-nums; }
.sl-pan-detail{ padding:0 0 4px; }
.sl-pan-name-f{ margin:0 0 8px; }
@media (max-width:1023px){ .app-content:has(> .app-content-inner.sl){ padding-top:var(--s4); } }

/* Kitchen Experience V3: purchase dialog as a column (scrolling content + fixed footer), add-item as a card with labelled boxed fields. */
.sl-dialog[data-kind="shopPurchase"], .sl-dialog[data-kind="kitchenAddItem"], .sl-dialog[data-kind="kitchenAddPantry"], .sl-dialog[data-kind="cook"]{ display:flex; flex-direction:column; overflow:hidden; }
.sl-dialog[data-kind="shopPurchase"] .sheet-handle, .sl-dialog[data-kind="kitchenAddItem"] .sheet-handle, .sl-dialog[data-kind="kitchenAddPantry"] .sheet-handle, .sl-dialog[data-kind="cook"] .sheet-handle{ flex:none; }
.sl-dialog[data-kind="shopPurchase"] #sl-dlg-body, .sl-dialog[data-kind="kitchenAddItem"] #sl-dlg-body, .sl-dialog[data-kind="kitchenAddPantry"] #sl-dlg-body, .sl-dialog[data-kind="cook"] #sl-dlg-body{ display:flex; flex-direction:column; flex:1 1 auto; min-height:0; }
/* P19.6 -- the planning sheet takes the SAME column geometry: a fixed head,
   one scroll region, a fixed foot. It is written as its own rule rather than
   added to the four selector lists above, because those lists are what the
   Küche gates read to prove the Küche dialogs still have it -- a longer list
   would have left the rule correct and the proof unable to find it. */
.sl-dialog[data-kind="planAdd"], .sl-dialog[data-kind="planAdjust"]{ display:flex; flex-direction:column; overflow:hidden; }
/* P20 -- CHOOSING A RECIPE IS A SCREEN, NOT A SHEET. Measured before changing
   anything: the picker stood 443px tall in an 852px viewport -- 52% -- bottom
   anchored, with 20px top corners, 32px of card padding, the week still lit
   behind a 60% scrim, and a 36x4 grey bar floating 24px above the heading,
   attached to nothing. That bar is the "unexplained marker": .sheet-handle,
   the grab affordance every bottom sheet in the product carries. Three of the
   four are what a popup IS, so no amount of heading, icon or field work could
   have changed the impression -- P19.6 through P19.9 corrected the contents of
   a shape that was itself the problem.
   The shape changes here and nothing else: the SAME dialog, the same four
   zones, the same open/close, focus trap, escape and backdrop containment.
   It fills the phone, on the page's own canvas rather than a lifted card
   colour, with no corners, no scrim showing, no handle. The top padding clears
   the Preview banner, which paints above every surface. Phones only -- from
   768px the existing centred dialog is untouched, and so is every other
   data-kind. */
@media (max-width:767px){
  .sheet-backdrop.is-dialog .sl-dialog[data-kind="planAdd"],
  .sheet-backdrop.is-dialog .sl-dialog[data-kind="planAdjust"]{
    height:100%; max-height:none; border-radius:0; background:var(--canvas);
    padding:calc(var(--preview-banner-h, 0px) + 18px) 20px max(14px, env(safe-area-inset-bottom)); }
  .sl-dialog[data-kind="planAdd"] .sheet-handle,
  .sl-dialog[data-kind="planAdjust"] .sheet-handle{ display:none; }
  /* P20.2 -- THE PAGE SHOWED THROUGH BECAUSE THE BACKDROP ITSELF WAS SHRUNK.
     With the keyboard up the dialog contract resizes the BACKDROP to the
     reported visual viewport (top:--kb-top, height:--kb-vh) and then clamps
     the sheet to --kb-vh minus the banner minus 12. Every one of those numbers
     comes from what iOS says is visible -- and on the device, with the form
     accessory bar in play, it does not match what is actually visible. Any
     difference, in either direction, becomes a strip of the Wochenfokus
     showing between the dialog and the keyboard, which is exactly what the
     Founder's screenshot shows below "Noch 57 Rezepte".
     So the full-screen dialog stops relying on those numbers being right for
     the thing that has to cover the page. The backdrop goes back to the whole
     layout viewport and is painted in the canvas, so the worst a mismatch can
     produce is more canvas. Only the SHEET follows the visual viewport, laid
     against its top edge -- and it now gets ALL of --kb-vh, because the clamp
     that was costing it 40px is what left the gap in the first place. The
     banner clearance moves back into the sheet's own padding, where it is
     reserved once instead of twice. */
  .sheet-backdrop.is-dialog.is-full{ background:var(--canvas); }
  html.is-keyboard .sheet-backdrop.is-dialog.is-full{ top:0; bottom:0; height:auto; align-items:flex-start; }
  html.is-keyboard .sheet-backdrop.is-dialog.is-full .sheet{
    max-height:none; height:var(--kb-vh, 100%); margin-top:var(--kb-top, 0px);
    padding-top:calc(var(--preview-banner-h, 0px) + 8px); padding-bottom:8px; }
}
/* The stepper's divider belongs to the Rezept-Detail dialog that shares this
   class; in the full-screen flow it is one more line that fences content in. */
.sl-dialog[data-kind="planAdd"] .wp-serv,
.sl-dialog[data-kind="planAdjust"] .wp-serv{ border-top:0; padding-top:0; margin-top:22px; }
/* The action zone carries a lifted card colour, which on a card is invisible
   and on the canvas is a pale slab at the bottom of the screen. It keeps its
   place and its hairline -- it simply stands on the same surface as the rest. */
@media (max-width:767px){
  .sl-dialog[data-kind="planAdd"] .sl-dlg-foot,
  .sl-dialog[data-kind="planAdjust"] .sl-dlg-foot{ background:transparent; }
}
.sl-dialog[data-kind="planAdd"] .sheet-handle, .sl-dialog[data-kind="planAdjust"] .sheet-handle{ flex:none; }
.sl-dialog[data-kind="planAdd"] #sl-dlg-body, .sl-dialog[data-kind="planAdjust"] #sl-dlg-body{ display:flex; flex-direction:column; flex:1 1 auto; min-height:0; }
.sl-dlg-scroll{ flex:1 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.sl-dlg-scroll .cm-open-cancel{ margin-right:0; }
.sl-trip-bar .sl-msg{ margin:0 0 10px; }
.sl-trip-askrow{ display:flex; align-items:center; justify-content:space-between; gap:8px 12px; margin:16px 0 0; }
.sl-trip-ask{ margin:0; font-size:16px; font-weight:600; color:var(--text-primary); }
.sl-trip-askrow + .sl-trip-sum, .sl-trip-askrow + .sl-trip-list{ margin-top:8px; }
.sl-add-form .sl-man-sug{ margin:6px 0 0; }
.sl-add-q{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(116px, 42%); gap:0 8px; align-items:stretch; margin:0; }
.sl-add-qf, .sl-add-uf{ min-width:0; }
.sl-add-foot{ display:block; }
/* Reduced height (software keyboard): the dialog gives its room to the one scroll region -- no handle, tighter padding, and the footer stays one row. */
html.is-keyboard .sl-dialog[data-kind="kitchenAddItem"] .sheet-handle, html.is-keyboard .sl-dialog[data-kind="kitchenAddPantry"] .sheet-handle,
html.is-keyboard .sl-dialog[data-kind="shopPurchase"] .sheet-handle, html.is-keyboard .sl-dialog[data-kind="cook"] .sheet-handle{ display:none; }
html.is-keyboard .sl-dialog[data-kind="kitchenAddItem"], html.is-keyboard .sl-dialog[data-kind="kitchenAddPantry"], html.is-keyboard .sl-dialog[data-kind="shopPurchase"], html.is-keyboard .sl-dialog[data-kind="cook"]{
  padding-top:var(--s4); padding-bottom:var(--s4); }
/* P19.6 -- reduced height, same four zones, a little tighter: no handle, and
   the sheet's own padding gives its room to the one scroll region. */
html.is-keyboard .sl-dialog[data-kind="planAdd"] .sheet-handle, html.is-keyboard .sl-dialog[data-kind="planAdjust"] .sheet-handle{ display:none; }
html.is-keyboard .sl-dialog[data-kind="planAdd"], html.is-keyboard .sl-dialog[data-kind="planAdjust"]{ padding-top:var(--s4); padding-bottom:var(--s4); }
/* P19.7 -- measured on the device, not simulated. With the software keyboard up
   iOS Safari leaves this sheet roughly 320 CSS px, and the fixed head was taking
   about half of it: two result rows were reachable where the member expects a
   list. The separations tighten and the rows stand at a list height rather than
   a card height. Same four zones, same single scroll region; only the proportion
   changes, and only while the keyboard is up.
   The heading STAYS -- Küche V5.5 settled that a dialog does not drop its header
   when the keyboard comes up, and that rule is read across the whole stylesheet,
   not per dialog. So the head is compacted, never cut.
   P19.9 -- same budget, new head. The heading and its day line are now one
   block with the 44x44 close icon beside both: .kq-head becomes display:contents
   so heading, day and icon share one grid, the heading steps down to 18px (the
   shopPurchase/cook dialogs already step theirs to 20px), and the icon spans
   both rows so it keeps its full target. Where display:contents is not honoured
   the head simply falls back to the Küche's own flex row -- smaller, never
   broken. The field keeps its 52px Küche box; only the separations tighten. */
html.is-keyboard .sl-dialog[data-kind="planAdd"] .sl-dlg-head{
  display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center; column-gap:8px; }
html.is-keyboard .sl-dialog[data-kind="planAdd"] .kq-head{ display:contents; }
html.is-keyboard .sl-dialog[data-kind="planAdd"] .cm-open-title{ grid-area:1 / 1; align-self:end; font-size:18px; }
html.is-keyboard .sl-dialog[data-kind="planAdd"] .kq-x{ grid-area:1 / 2 / 3 / 3; }
html.is-keyboard .sl-dialog[data-kind="planAdd"] .wp-head-day{ grid-area:2 / 1; align-self:start; margin:1px 0 0; }
html.is-keyboard .sl-dialog[data-kind="planAdd"] .sl-dlg-fix{ padding-bottom:6px; }
html.is-keyboard .sl-dialog[data-kind="planAdd"] .sl-dlg-fix .kq-f{ margin-top:7px; }
html.is-keyboard .sl-dialog[data-kind="planAdd"] .wp-res-box{ margin-top:0; }
html.is-keyboard .sl-dialog[data-kind="planAdd"] .wp-res-b{ min-height:52px; padding:5px 2px; }
html.is-keyboard .sl-dialog[data-kind="planAdd"] .wp-thumb,
html.is-keyboard .sl-dialog[data-kind="planAdd"] .wp-add-g{ width:40px; height:40px; border-radius:10px; }
html.is-keyboard .sl-dialog[data-kind="planAdd"] .wp-more{ margin:12px 0 4px; gap:4px; }
html.is-keyboard .sl-dialog[data-kind="kitchenAddItem"] .sl-dlg-foot, html.is-keyboard .sl-dialog[data-kind="kitchenAddPantry"] .sl-dlg-foot{ margin-top:8px; padding-top:8px; }
.sl-add-form .sl-buy-err{ margin:8px 0 0; }
/* One scroll region per dialog: the suggestion list is part of it, never a scroller of its own (a nested scroller inside the dialog scroller captures the
   Member's swipe on iOS). The list is at most eight rows, so the dialog scroll region carries it. */
.sl-dlg-scroll .pan-add-results{ max-height:none; overflow:visible; }

/* ---- KÜCHE IPHONE CORRECTIONS (V5.3) ---------------------------------------------------------------------------------------
   Add dialogs: the foot is a block again (its action row is .sl-add-act); the quantity trough takes the width and the unit a fixed, narrow column, both at the
   trough's height. With the keyboard up the field's label is for assistive technology only -- the placeholder names it. */
.sl-add-foot .sl-add-ui, .sl-add-foot .pan-add-sel, .sl-add-foot .pan-add-fixed-unit{ min-height:48px; }
.sl-add-foot .sl-add-uf{ display:flex; align-items:stretch; }
.sl-add-foot .sl-add-uf > select, .sl-add-foot .sl-add-uf > .pan-add-fixed-unit{ width:100%; }
/* Pantry row editor: the row's own padding is restored (a later rule had zeroed it while the active-row margin stayed, which pushed the name and the stand
   against the edges), the stand is shown once, and the precision switch and the commit share a row. */
.sl-pan-row.is-edit{ padding:0 14px 10px; }
@media (max-width:389px){ .sl-pan-row.is-edit{ padding:0 11px 10px; } }
.sl-pan-main.is-open .sl-pan-q{ display:none; }
.sl-pan-main.is-own{ cursor:default; }
.sl-pan-ni{ width:100%; min-width:0; min-height:56px; padding:0; border:0; border-bottom:1px solid var(--hairline); border-radius:0; background:none; color:var(--text-primary); font:inherit; font-size:16px; }
.sl-pan-ni:focus{ outline:none; border-bottom-color:var(--magenta); }
.sl-pan-detail{ padding:0 0 2px; }
.sl-pan-detail .kt-qty{ margin:2px 0 0; }
.sl-pan-save-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin:6px 0 0; }
.kt-save-c{ flex:none; width:auto; min-height:44px; padding:0 24px; font-size:15px; }
.kt-save-c[disabled]{ opacity:.45; cursor:default; }
.sl-pan-detail .sl-man-hint{ margin:2px 0 0; font-size:12.5px; }
.sl-pan-act .sl-mini.is-remove{ color:var(--action-destructive-on-surface); }
/* Recipe suggestions from the Vorrat: the heading and a compact close control share one row, and the cards follow at once. */
.pm-top{ flex-wrap:nowrap; align-items:center; }
.pm-h{ font-size:clamp(17px, 4.8vw, 21px); }
.pm-x{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; flex:none; margin:-8px -10px -8px 0; padding:0; border:0; border-radius:50%;
  background:none; color:var(--text-secondary); cursor:pointer; }
.pm-x:hover{ color:var(--text-primary); background:rgba(var(--hi), .06); }
.pm-x:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; }
.pm-top + .pm-list{ margin-top:4px; }
/* Shopping list: the Recipes on the list stand as a plain section, and "Liste leeren" closes the screen as a neutral, outlined secondary action. */
.sl-recipes{ margin:28px 0 0; }
.sl-clear{ margin:28px 0 8px; }
.sl-clear-btn{ color:var(--text-secondary); }
/* Keyboard up: the same four zones, a little tighter -- rows of the suggestion list keep their 44px, the gaps between the zones shrink. */
html.is-keyboard .sl-dialog[data-kind="kitchenAddItem"] .sl-dlg-fix, html.is-keyboard .sl-dialog[data-kind="kitchenAddPantry"] .sl-dlg-fix{ padding-bottom:6px; }
html.is-keyboard .sl-dialog[data-kind="kitchenAddItem"] .sl-add-act, html.is-keyboard .sl-dialog[data-kind="kitchenAddPantry"] .sl-add-act{ margin-top:6px; }
html.is-keyboard .sl-dlg-scroll .pan-add-opt{ min-height:44px; }
html.is-keyboard .sl-man-sug .sl-man-hint{ display:none; }   /* the offer was asked for with a tap; its explanatory line comes back with the keyboard's absence */

/* ---- KÜCHE V5.4: add dialogs in two steps, compact quantity entry, inline existing-item line, plain purchase confirmation ------------------------
   Initial entry is a compact number field beside a fully visible unit (the premium stepper stays for editing an existing quantity). */
.sl-add-qf .sl-add-qi{ text-align:left; }
.sl-add-foot .sl-add-uf > select{ padding-right:30px; text-overflow:clip; }
.sl-add-foot .pan-add-fixed-unit{ margin:0; padding:0 14px; border:1px solid var(--border-default); border-radius:10px; background:var(--surface-2); align-items:center; }
/* "Bereits im Vorrat: Mehl · 4.970 g  Menge anpassen" -- one line that wraps, not a block */
.pan-add-have{ margin:6px 0 0; font-size:14px; line-height:1.4; color:var(--text-body); }
.pan-add-have b{ font-weight:600; color:var(--text-primary); font-variant-numeric:tabular-nums; }
.pan-add-have .sl-mini{ min-height:44px; vertical-align:middle; }
/* purchase confirmation: the count line, the summary, one action */
.sl-trip-sum-row .sl-trip-q{ font-variant-numeric:tabular-nums; }
.sl-add-form .sl-add-qf .sl-add-qi{ min-height:48px; }

/* ---- KÜCHE V5.5: one continuous item-entry form ---------------------------------------------------------------------------------------
   Header (title + close), name field, quantity and unit in one row, primary action, secondary. Fields are 52px high with their caption inside, so the caption
   stays visible once a value is entered; the unit column is 112px (labels fully visible). The header stays with the keyboard up; the suggestions give way when
   quantity or unit has focus (.is-qf, set only by those fields). */
.kq-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.sl-dialog .kq-head .cm-open-title{ margin:0; font-size:clamp(20px, 6vw, 24px); }
.kq-x, .kq-clr{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; flex:none; padding:0; border:0; border-radius:50%;
  background:none; color:var(--text-secondary); cursor:pointer; }
.kq-x{ margin-right:-10px; }
.kq-x:hover, .kq-clr:hover{ color:var(--text-primary); background:rgba(var(--hi), .06); }
.kq-x:focus-visible, .kq-clr:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:2px; }
.kq-f{ position:relative; box-sizing:border-box; height:52px; margin:8px 0 0; border:1px solid var(--border-default); border-radius:12px; background:var(--surface-2); }
.kq-f:focus-within{ border-color:var(--magenta); outline:2px solid var(--magenta); outline-offset:1px; }
.kq-cap{ position:absolute; left:12px; top:6px; right:12px; z-index:1; font-size:11px; line-height:1; color:var(--text-secondary); pointer-events:none; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.kq-i{ display:block; box-sizing:border-box; width:100%; height:100%; min-width:0; padding:20px 12px 4px; border:0; border-radius:12px; background:none; color:var(--text-primary);
  font:inherit; font-size:16px; line-height:1.2; outline:none; -webkit-appearance:none; appearance:none; }
.kq-i::placeholder{ color:var(--text-secondary); opacity:.7; }
.kq-sel{ padding-right:30px; text-overflow:clip; }
.kq-unit::after{ content:''; position:absolute; right:14px; bottom:19px; width:7px; height:7px; border-right:1.5px solid var(--text-secondary); border-bottom:1.5px solid var(--text-secondary);
  transform:rotate(45deg); pointer-events:none; }
.kq-unit:has(.kq-val)::after{ display:none; }
.kq-val{ box-sizing:border-box; height:100%; padding:20px 12px 4px; font-size:16px; line-height:1.2; color:var(--text-primary); }
.kq-name:has(.kq-clr) .kq-i{ padding-right:96px; }
.kq-check{ position:absolute; right:50px; bottom:0; height:30px; display:inline-flex; align-items:center; color:var(--magenta-text-safe); pointer-events:none; }
.kq-clr{ position:absolute; right:2px; top:4px; }
.kq-qty .kq-i{ padding-right:54px; font-variant-numeric:tabular-nums; }
.kq-ca{ position:absolute; right:0; top:4px; display:inline-flex; align-items:center; justify-content:center; min-width:48px; height:44px; font-size:13px; color:var(--text-secondary); cursor:pointer; }
.kq-ca input{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.kq-ca:has(input:checked){ color:var(--text-primary); font-weight:600; }
.kq-ca:has(input:focus-visible){ outline:2px solid rgba(var(--hi), .85); outline-offset:-2px; border-radius:10px; }
.sl-add-q{ grid-template-columns:minmax(0, 1fr) 112px; gap:0 8px; }
.sl-add-q .kq-f{ margin-top:0; }
.sl-add-foot .sl-add-uf, .sl-add-foot .sl-add-qf{ display:block; }
.sl-add-foot .sl-add-go{ min-height:52px; }
.sl-add-foot .add-close{ min-height:44px; padding:0 14px; }
.sl-add-foot .pan-add-preview:empty{ display:none; }
.sl-add-foot .pan-add-preview{ margin:6px 0 0; }
.sl-add-foot #sl-add-err:empty, .sl-add-foot #pan-add-err:empty{ display:none; }
.sl-dlg-fix{ padding:0 0 6px; }
.pan-add-have .sl-mini{ min-height:44px; }
/* with the keyboard up the suggestions make room for quantity and unit while those are being entered */
html.is-keyboard .sl-dialog.is-qf .sl-dlg-scroll{ display:none; }
@media (max-width:359px){ .sl-dialog[data-kind="kitchenAddItem"], .sl-dialog[data-kind="kitchenAddPantry"]{ padding-left:12px; padding-right:12px; } }

/* ---- KÜCHE V5.6: completion dialog, Revision 4 -------------------------------------------------------------------------------------------
   The purchase dialog sits on the page canvas (very dark, no purple/grey step between the dialog and its containers). Every item is a container:
   a faint magenta glow, a softly lit upper border, a restrained corner highlight. The active container (quantity editing) is lit more strongly and carries
   the 3px magenta blade; the others stay passive. The heading and the actions are fixed, the item area is the one scroller. */
.sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"], [data-kind="planDay"]){ background:var(--canvas); }
.sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"], [data-kind="planDay"]) .sl-dlg-head{ padding:0; }
.sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"], [data-kind="planDay"]) .cm-open-title{ margin:6px 0 4px; text-align:left; }
.sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-dlg-scroll{ margin:-4px -12px 0; padding:10px 12px 14px; }   /* room for the containers' glow inside the one scroller */
.sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"], [data-kind="planDay"]) .sl-trip-bar{ background:var(--canvas); border-top-color:rgba(245,241,236,0.08); }
.sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"], [data-kind="planDay"]) .sl-trip-bar .sl-add-tools{ display:flex; justify-content:center; margin:6px 0 0; }
.sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"], [data-kind="planDay"]) .sl-trip-bar .sl-add-tools .sl-mini{ min-height:44px; }
.sl-trip-sec{ margin:14px 0 0; }
.sl-trip-sec:first-child{ margin-top:6px; }
.sl-trip-sech{ display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; }
.sl-trip-sh{ margin:0; font-family:var(--font-c); font-size:15px; font-weight:600; letter-spacing:normal; text-transform:none; color:var(--text-secondary); }
.sl-trip-sec > .sl-trip-sh{ margin:0 0 8px; }
.sl-trip-cards{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.sl-trip-card{ position:relative; display:flex; align-items:baseline; justify-content:space-between; gap:12px; box-sizing:border-box; min-height:52px; padding:14px 16px;
  border-radius:14px; border:1px solid rgba(245,241,236,0.07); border-top-color:rgba(226,25,181,0.30);
  background:radial-gradient(110% 140% at 100% 0%, rgba(226,25,181,0.10) 0%, rgba(226,25,181,0) 58%), rgba(245,241,236,0.03);
  box-shadow:0 0 18px rgba(226,25,181,0.07); }
.sl-trip-card .sl-trip-name{ flex:1 1 auto; min-width:0; font-size:16px; font-weight:500; color:var(--text-primary); overflow-wrap:anywhere; }
/* The resolution offer on an unassigned item. .sl-trip-card is a baseline row, so without this the
   action competes with the name for the same line and squeezes it to one letter per line on a phone.
   The card wraps, the label keeps the full width, and the offer sits under it. */
.sl-trip-card:has(.sl-trip-resolve), .sl-trip-card:has(.sl-man-link){ flex-wrap:wrap; align-items:center; }
.sl-trip-card .sl-trip-pick{ flex:1 1 100%; min-width:0; }
.sl-trip-resolve, .sl-trip-card .sl-man-link{ flex:1 1 100%; margin:10px 0 0 34px; }
.sl-trip-resolve .sl-mini{ width:100%; }
@media (min-width:600px){
  .sl-trip-resolve{ flex:0 0 auto; width:auto; margin-left:34px; }
  .sl-trip-resolve .sl-mini{ width:auto; }
}
.sl-trip-card .sl-trip-q{ flex:none; max-width:55%; font-size:15px; color:var(--text-primary); font-variant-numeric:tabular-nums; white-space:normal; text-align:right; }
.sl-trip-card .sl-trip-pick{ flex:1; min-width:0; align-items:center; gap:12px; min-height:44px; margin:-8px 0; }
.sl-trip-card .sl-trip-pick .sl-trip-name{ flex:1; }
.sl-trip-cardbtn{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; width:calc(100% + 32px); min-height:52px; margin:-14px -16px; padding:14px 16px; border:0; border-radius:14px;
  background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.sl-trip-cardbtn:focus-visible{ outline:2px solid var(--magenta); outline-offset:-2px; }
.sl-trip-cards.is-editing .sl-trip-card.is-passive{ box-shadow:none; background:rgba(245,241,236,0.025); border-top-color:rgba(245,241,236,0.10); }
.sl-trip-cards.is-editing .sl-trip-card.is-passive:hover{ border-color:rgba(226,25,181,0.35); }
.sl-trip-card.is-off .sl-trip-name, .sl-trip-card.is-off .sl-trip-q{ color:var(--text-secondary); }
.sl-trip-card.is-active{ flex-direction:column; align-items:stretch; gap:0; padding:14px 16px 12px 20px; border-color:rgba(226,25,181,0.55);
  background:radial-gradient(110% 130% at 100% 0%, rgba(226,25,181,0.20) 0%, rgba(226,25,181,0) 60%), rgba(245,241,236,0.04);
  box-shadow:0 0 20px rgba(226,25,181,0.18); }
.sl-trip-card.is-active::before{ content:''; position:absolute; left:0; top:14px; bottom:14px; width:3px; border-radius:1.5px; background:var(--magenta);
  box-shadow:0 0 12px 1px rgba(226,25,181,0.55); }
.sl-trip-act-h{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.sl-trip-card.is-active .kt-qty{ margin:10px 0 0; background:rgba(15,13,18,0.7); }
.sl-trip-orig{ margin:8px 0 0; font-size:13px; line-height:1.4; color:var(--text-secondary); font-variant-numeric:tabular-nums; }
.sl-trip-card.is-active .sl-chips{ margin:8px 0 0; }
.sl-trip-opts{ display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 0; }
.sl-trip-opt{ display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px 0 12px; box-sizing:border-box; border:1px solid rgba(245,241,236,0.14); border-radius:22px;
  font-size:14px; color:var(--text-body); cursor:pointer; }
.sl-trip-opt input{ width:18px; height:18px; flex:none; margin:0; accent-color:var(--magenta); }
.sl-trip-opt:has(input:checked){ border-color:rgba(226,25,181,0.5); background:var(--surface-selected); color:var(--text-primary); }
.sl-trip-opt:has(input:disabled){ opacity:.5; cursor:default; }
.sl-trip-opt:has(input:focus-visible){ outline:2px solid var(--magenta); outline-offset:2px; }
.sl-trip-card.is-active .sl-trip-orig{ margin:6px 0 0; }
/* Keyboard up: the dialog gives its room to the one list. The active container is compact (no package shortcuts, tighter control), and the two actions share one
   row, so the quantity control, "Fertig" and the heading all stay in view. Nothing inside a container scrolls; only the list does. */
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]){ padding-top:12px; padding-bottom:10px; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .cm-open-title{ margin:0 0 2px; font-size:20px; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-card.is-active{ padding:10px 14px 8px 18px; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-card.is-active::before{ top:10px; bottom:10px; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-card.is-active .kt-qty{ margin:6px 0 0; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-card.is-active .kt-step{ min-height:48px; }
html.is-keyboard .sl-dialog[data-kind="shopPurchase"] .sl-trip-card.is-active .sl-chips{ display:none; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-card.is-active .sl-trip-act-h .sl-trip-name{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-card.is-active .sl-trip-orig{ margin:4px 0 0; line-height:1.2; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-card.is-active .sl-trip-opt{ min-height:44px; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-card.is-active .sl-trip-opts{ margin-top:6px; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-bar{ display:flex; flex-wrap:wrap; align-items:center; gap:0 8px; margin-top:6px; padding-top:8px; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-bar .sl-msg{ flex:0 0 100%; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-bar .sl-trip-go{ flex:1 1 0; width:auto; min-height:48px; }
html.is-keyboard .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]) .sl-trip-bar .sl-add-tools{ flex:none; margin:0; }
.sl-trip-card.is-active .sl-buy-err{ margin:6px 0 0; }
.sl-trip-ok{ position:relative; padding-left:14px; }
.sl-trip-ok::before{ content:''; position:absolute; left:0; top:4px; bottom:4px; width:3px; border-radius:1.5px; background:var(--magenta); opacity:.75;
  box-shadow:0 0 10px 0 rgba(226,25,181,0.35); }
.sl-dialog[data-kind="shopPurchase"] .sl-trip-skip{ margin:14px 0 0; border-top:0; }
.sl-dialog[data-kind="shopPurchase"] .sl-trip-skip summary{ color:var(--text-secondary); }
@media (max-width:359px){ .sl-dialog:is([data-kind="shopPurchase"], [data-kind="cook"]){ padding-left:16px; padding-right:16px; } .sl-trip-card{ padding:12px 14px; } .sl-trip-cardbtn{ width:calc(100% + 28px); margin:-12px -14px; padding:12px 14px; } }
@media (prefers-reduced-motion:reduce){ .sl-trip-card, .sl-trip-card *{ transition:none !important; animation:none !important; } }


/* ====================================================================== *
   P6 -- PUBLIC PRODUCT SURFACES (hero preview · Dein Food · PACE · PL8)
   WS01/P6, Founder-approved scoped preview implementation of the P5
   direction. Additive only: nothing above this banner is modified, and
   every rule here is scoped to a P6 class or to the public page.

   THE MATERIAL. One dark-glass recipe, used selectively -- never over the
   dish itself, never as a photographic filter. The alpha is not a taste
   decision: measured against the composited surface, a 0.58 fill over
   bright food photography drops body text to 3.13:1 and secondary text to
   2.15:1, both below AA. Over photography the fill is therefore
   --glass-fill-strong (0.74 -> 8.14:1 for --text-primary, 5.16:1 for
   --text-body) and nothing below --text-body is permitted on it. Magenta
   reaches 2.42:1 there and is edge light only, never small text on glass.
 * ====================================================================== */
:root{
  --glass-fill:rgba(22,18,26,0.58);
  --glass-fill-strong:rgba(22,18,26,0.74);
  --glass-blur:blur(18px) saturate(115%);
  --glass-border:rgba(245,241,236,0.13);
  --glass-shadow:0 32px 64px -28px rgba(0,0,0,0.85), 0 2px 6px -2px rgba(0,0,0,0.6);
  --glass-edge:rgba(226,25,181,0.34);
  --glass-radius:16px;
  --glass-premium:rgba(36,22,32,0.66);
}

.pub-food-step,
.pub-pace-tile,
.pub-pace-card{
  position:relative; overflow:hidden; border-radius:var(--glass-radius);
  background:var(--glass-fill); border:1px solid var(--glass-border);
  box-shadow:var(--glass-shadow);
  -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur); }
/* Specular: a narrow run of light along the top edge, not a sheen across
   the face. It is what gives the sheet a thickness. */
.pub-food-step::before,
.pub-pace-tile::before,
.pub-pace-card::before{
  content:''; position:absolute; left:0; right:0; top:0; height:56%; z-index:1; pointer-events:none;
  background:linear-gradient(176deg, rgba(255,255,255,0.085) 0%, rgba(255,255,255,0.015) 26%, rgba(255,255,255,0) 100%); }
/* Over photography the fill is raised and the type floor is --text-body. */
.pub-food-step,
.pub-pace-card{ background:var(--glass-fill-strong); }
/* Without backdrop-filter the sheet is not glass, so it stops pretending
   to be: a near-opaque fill keeps every contrast ratio above, or better
   than, the measured ones. Also the right hook for a future low-power
   fallback. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .pub-food-step,
  .pub-pace-tile,
  .pub-pace-card{ background:rgba(22,18,26,0.93); }
}

/* Seven Wochenfokus markers, one shape for every surface that shows them. */
.wk-dot{ display:block; width:var(--wk, 20px); height:var(--wk, 20px); border-radius:999px;
  border:1px solid rgba(245,241,236,0.40); }
.wk-dot.is-on{ background:var(--magenta); border-color:var(--magenta); }

  right:clamp(24px, 5.5vw, 84px); bottom:clamp(72px, 13vh, 150px);
  width:318px; padding:16px 18px; box-sizing:border-box; }

/* ---------------------------------------------------------------------- *
   DEIN FOOD -- one photograph as the scene, four surfaces laid into it.
   Desktop: a two-column composition, the surfaces staggered across three
   depths (alpha, shadow and a small vertical offset carry the depth, not
   absolute pixel coordinates, so it holds at every width).
 * ---------------------------------------------------------------------- */
.pub-section.pub-food{ padding-top:clamp(96px,14vh,168px); padding-bottom:clamp(56px,8vh,96px);
  overflow:hidden; }
.pub-food-media{ position:absolute; right:0; top:0; bottom:0; width:min(64%, 1000px); z-index:0; overflow:hidden; }
.pub-food-photo{ position:absolute; inset:0;
  background-size:cover; background-position:44% 42%; }
/* Image delivery: the section's photographs are requested when it is about to scroll into view (initPublicImages adds
   .is-img-seen), not with the page. Phones get the 1200px variant. The small Rezept tile reuses the scene's own file --
   already requested, so it is free (a separate thumbnail would be a second download). */
.pub-food.is-img-seen .pub-food-photo,
.pub-food.is-img-seen .pub-food-shot{ background-image:url('assets/images/recipe-chicken-korma-performance-plate.webp'); }
@media (max-width:640px){
  .pub-food.is-img-seen .pub-food-photo,
  .pub-food.is-img-seen .pub-food-shot{ background-image:url('assets/images/m/recipe-chicken-korma-performance-plate.webp'); }
}
.pub-food-scrim{ position:absolute; inset:0;
  background:
    linear-gradient(96deg, var(--canvas) 0%, rgba(15,13,18,0.90) 16%, rgba(15,13,18,0.34) 44%, rgba(15,13,18,0.10) 72%, rgba(15,13,18,0.46) 100%),
    linear-gradient(0deg, var(--canvas) 0%, rgba(15,13,18,0.40) 14%, rgba(15,13,18,0) 34%),
    linear-gradient(180deg, rgba(15,13,18,0.80) 0%, rgba(15,13,18,0) 22%); }
.pub-food-inner{ position:relative; z-index:2; max-width:1240px; margin:0 auto;
  display:grid; grid-template-columns:minmax(280px, 372px) 1fr; gap:clamp(28px,4vw,64px); align-items:start; }
.pub-food-h{ margin:14px 0 18px; font-size:clamp(30px,3.6vw,50px); line-height:0.94; }
.pub-food-lede{ margin:0 0 24px; font-size:clamp(15px,1.15vw,16.5px); line-height:1.6; color:var(--text-body); }
.pub-food-actions{ justify-content:flex-start; }
.pub-food-steps{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px 22px; }
.pub-food-step{ padding:0; }
.pub-food-step .pub-food-body{ padding:16px 18px; }
/* Three depths. 01 is the trigger and sits in front; 04 is the last
   consequence and sits furthest back. */
.pub-food-step-1{ grid-column:1; z-index:3; }
.pub-food-step-2{ grid-column:2; margin-top:-30px; z-index:2; }
.pub-food-step-3{ grid-column:1; margin-top:14px; z-index:2; }
/* Depth is carried by shadow and edge light only. Thinning the fill over
   a photograph is what breaks the contrast floor, so the fill never moves:
   04 is the last consequence in the chain and reads as furthest back
   because its shadow is shallow and its edge is faint, not because the
   type behind it shows through. */
.pub-food-step-4{ grid-column:2; margin-top:-10px; z-index:1;
  box-shadow:0 18px 40px -22px rgba(0,0,0,0.70); }
/* P15 -- the same edge system as the phone, so the four layers read as one
   set at every width: one neutral frame, the magenta accent always on the
   left, depth from the shadow alone. Surface 4 used to drop to 0.08 here,
   which made the deepest layer look like a different component rather than
   the same one further back. */
.pub-food-step{ border-color:rgba(245,241,236,0.16);
  border-left:2px solid rgba(226,25,181,0.42); }
.pub-food-shot{ display:block; width:100%; height:132px;
  background-size:cover; background-position:50% 48%; }
.pub-food-label{ margin:0 0 8px; font-family:var(--font-d); font-size:9.5px; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--text-secondary); }
/* P15 -- the function name is the same colour on all four surfaces. Only
   Rezept used to be magenta, which read as a hierarchy that is not there. */
.pub-food-title{ margin:0 0 4px; font-family:var(--font-d); font-size:17px; color:var(--text-primary); }
.pub-food-meta{ margin:0; font-size:12px; color:var(--text-body); }
.pub-food-text{ margin:0 0 14px; font-size:13px; line-height:1.55; color:var(--text-primary); }
/* P18 -- the surface carries the product's own mark now, so the row is a
   list of wfGlyph() rings at card scale rather than a row of dots. The
   member card's own container styling is stripped here: on a floating glass
   card it would be a surface inside a surface. */
.pub-food-days{ display:flex; gap:7px; margin-bottom:10px; list-style:none; padding:0;
  border-radius:0; background:none; box-shadow:none; isolation:auto; overflow:visible; }
.pub-food-days .wf-day{ display:block; }
.pub-food-days .wf-g{ width:20px; }
/* --muted would be 2.15:1 here. On glass over photography the floor is
   --text-body, which measures 5.16:1 against the composited surface. */
.pub-food-fine{ margin:0; font-size:10.5px; color:var(--text-body); opacity:0.86; }
/* P15 parity -- one fact line, two cuts. Desktop shows the full one the
   Recipe Detail shows; the phone surface shows the short one and the panel
   carries the rest. Never two different claims, only two lengths. */
.pub-food-meta.is-short{ display:none; }
.pub-food-meta.is-full{ display:block; }
.pub-food-fine.is-full{ display:block; }
.pub-food-list{ margin:0; padding:0; list-style:none; }
.pub-food-list li{ display:flex; align-items:center; gap:10px; margin-bottom:9px; }
.pub-food-list li:last-child{ margin-bottom:0; }
.pub-food-box{ flex:0 0 auto; width:15px; height:15px; border-radius:4px; border:1px solid rgba(245,241,236,0.40); }
.pub-food-box.is-on{ background:var(--magenta); border-color:var(--magenta); }
/* P15 -- the member app's own row order: quantity, then name. It used to be
   name-left / quantity-right here, which is the one row in the product that
   does NOT look like that. */
.pub-food-item{ font-size:13px; color:var(--text-primary); min-width:0; }
.pub-food-qty{ flex:0 0 auto; font-size:12px; color:var(--text-body);
  font-variant-numeric:tabular-nums; min-width:52px; }
.pub-food-amount{ display:flex; align-items:baseline; gap:8px; margin:0 0 7px; }
.pub-food-amount-n{ font-family:var(--font-d); font-size:22px; color:var(--text-primary); }
.pub-food-amount-l{ font-size:12px; color:var(--text-body); }
/* The 62% stock bar that stood here is gone (P15): the Vorrat has no
   target, no capacity and no percentage -- only an absolute amount and an
   optional "ungefähr". A bar implied a capability the product does not
   have. */
.pub-food-note{ grid-column:1 / -1; margin:26px 0 0; font-size:11px; color:var(--muted); }
/* P8 -- phone-only parts. Above the breakpoint they do not exist, so the
   desktop composition is exactly the one P6 shipped. */
.pub-food-open,
.pub-food-peek,
.pub-food-more,
.pub-food-veil,
.pub-food-panel,
.pub-food-panel-cta{ display:none; }

/* ---------------------------------------------------------------------- *
   PACE -- the four real situations, selectable.
 * ---------------------------------------------------------------------- */
/* PACE hands over to FREI, which is a peak section and brings its own
   large top padding. Doubling both reads as a dead stretch rather than a
   pause, so this side gives way. */
.pub-section.pub-pace{ padding-top:clamp(64px,9vh,112px); padding-bottom:clamp(48px,7vh,88px); }
.pub-pace-inner{ max-width:1240px; margin:0 auto; }
.pub-pace-head{ max-width:760px; margin-bottom:clamp(24px,3vh,40px); }
.pub-pace-h{ margin:14px 0 16px; font-size:clamp(30px,3.6vw,50px); line-height:0.94; }
.pub-pace-grid{ display:flex; gap:14px; align-items:stretch; }
.pub-pace-tile{ flex:1 1 0; min-width:0; min-height:196px; padding:18px 18px 20px; box-sizing:border-box;
  text-align:left; color:inherit; font:inherit; cursor:pointer;
  transition:flex-grow 300ms cubic-bezier(.22,.61,.36,1), transform 220ms cubic-bezier(.22,.61,.36,1),
             border-color 220ms linear, box-shadow 220ms linear, background-color 220ms linear; }
.pub-pace-shot{ position:absolute; inset:0; z-index:0; background-size:cover; background-position:50% 50%;
  opacity:0.09; transition:opacity 300ms linear; }
.pub-pace-tile > *:not(.pub-pace-shot){ position:relative; z-index:2; }
.pub-pace-tile:hover{ transform:translateY(-4px); border-color:rgba(245,241,236,0.26);
  box-shadow:0 42px 74px -26px rgba(0,0,0,0.92), 0 0 0 1px rgba(226,25,181,0.10); }
.pub-pace-tile:hover .pub-pace-shot{ opacity:0.15; }
.pub-pace-tile:focus-visible{ outline:2px solid var(--magenta-text-safe); outline-offset:3px; }
.pub-pace-tile.is-sel{ flex-grow:1.9; background:rgba(22,18,26,0.68); border-color:var(--glass-edge);
  box-shadow:0 42px 74px -26px rgba(0,0,0,0.92), 0 0 0 1px rgba(226,25,181,0.18), 0 0 26px -6px rgba(226,25,181,0.22); }
.pub-pace-tile.is-sel:hover{ transform:none; }
.pub-pace-tile.is-sel .pub-pace-shot{ opacity:0.22; }
.pub-pace-sym{ display:block; width:44px; height:44px; color:var(--text-secondary); transition:color 220ms linear; }
.pub-pace-sym svg{ display:block; width:44px; height:44px; }
.pub-pace-tile.is-sel .pub-pace-sym{ color:var(--magenta-text-safe); }
.pub-pace-name{ display:block; margin-top:14px; font-family:var(--font-d); font-weight:600; font-size:19px;
  letter-spacing:0.1em; text-transform:uppercase; color:var(--text-primary); }
.pub-pace-claim{ display:block; margin-top:6px; font-size:12.5px; line-height:1.5; color:var(--text-body); }
.pub-pace-more{ display:block; max-height:0; opacity:0; overflow:hidden;
  transition:max-height 300ms cubic-bezier(.22,.61,.36,1), opacity 200ms linear 80ms; }
.pub-pace-tile.is-sel .pub-pace-more{ max-height:160px; opacity:1; }
.pub-pace-desc{ display:block; margin-top:10px; font-size:12px; line-height:1.6; color:var(--text-body); }

/* The panel keeps its cinematic proportion even for the one situation whose
   recipe has no photograph yet: a tonal wash makes that state read as
   deliberate rather than as a failed image load. Nothing is substituted. */
.pub-pace-preview{ position:relative; margin-top:16px; min-height:388px; border-radius:var(--glass-radius);
  overflow:hidden; border:1px solid var(--glass-border);
  background:radial-gradient(74% 92% at 78% 22%, rgba(226,25,181,0.11) 0%, rgba(30,27,34,0) 66%), var(--surface); }
.pub-pace-photos{ position:absolute; inset:0; }
.pub-pace-photo{ position:absolute; inset:0; background-size:cover; background-position:50% 48%;
  opacity:0; transition:opacity 260ms linear; }
.pub-pace-photo.is-on{ opacity:0.9; }
.pub-pace-scrim{ position:absolute; inset:0;
  background:linear-gradient(94deg, rgba(15,13,18,0.94) 0%, rgba(15,13,18,0.82) 36%, rgba(15,13,18,0.24) 70%, rgba(15,13,18,0.52) 100%); }
.pub-pace-body{ position:relative; z-index:2; padding:28px 30px; max-width:560px; }
.pub-pace-eyebrow{ margin:0 0 14px; font-family:var(--font-d); font-size:10px; letter-spacing:0.22em;
  text-transform:uppercase; color:var(--magenta-text-safe); }
.pub-pace-claim-lg{ margin:0 0 10px; font-family:var(--font-d); font-weight:500; font-size:clamp(22px,2.2vw,30px);
  line-height:1.08; color:var(--text-primary); }
.pub-pace-desc-lg{ margin:0 0 22px; font-size:13.5px; line-height:1.65; color:var(--text-body); }
.pub-pace-card{ padding:14px 16px; max-width:360px; }
.pub-pace-card-label{ margin:0 0 4px; font-family:var(--font-d); font-size:10px; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--text-secondary); }
.pub-pace-card-name{ margin:0 0 6px; font-family:var(--font-d); font-size:17px; color:var(--text-primary); }
.pub-pace-card-proof{ margin:0; font-size:12.5px; line-height:1.5; color:var(--text-body); }
.pub-pace-card-note{ margin:8px 0 0; font-size:10.5px; color:var(--muted); }
.pub-pace-card-note:empty{ display:none; }
.pub-pace-note{ margin:22px 0 0; font-size:11px; line-height:1.65; color:var(--muted); max-width:860px; }
.pub-pace-note strong{ color:var(--text-body); font-weight:600; }

/* Image delivery: requested when the section is about to scroll into view (.is-img-seen). The tile shots (9-22% opacity)
   deliberately use the SAME file as the preview photograph of that situation: it is requested anyway, so the shot costs no
   second download (a separate thumbnail measured +180 KB net). Phones get the 1200px variant, wider screens the original. */
.pub-pace.is-img-seen .pub-pace-shot-week_interrupted,
.pub-pace.is-img-seen .pub-pace-photo-week_interrupted{ background-image:url('assets/images/recipe-blackened-salmon-bowl.webp'); }
.pub-pace.is-img-seen .pub-pace-shot-week_short_horizon,
.pub-pace.is-img-seen .pub-pace-photo-week_short_horizon{ background-image:url('assets/images/recipe-chickpea-energy-bowl.webp'); }
.pub-pace.is-img-seen .pub-pace-shot-week_open,
.pub-pace.is-img-seen .pub-pace-photo-week_open{ background-image:url('assets/images/recipe-miso-greens-bowl.jpg'); }
@media (max-width:640px){
  .pub-pace.is-img-seen .pub-pace-shot-week_interrupted,
  .pub-pace.is-img-seen .pub-pace-photo-week_interrupted{ background-image:url('assets/images/m/recipe-blackened-salmon-bowl.webp'); }
  .pub-pace.is-img-seen .pub-pace-shot-week_short_horizon,
  .pub-pace.is-img-seen .pub-pace-photo-week_short_horizon{ background-image:url('assets/images/m/recipe-chickpea-energy-bowl.webp'); }
  .pub-pace.is-img-seen .pub-pace-shot-week_open,
  .pub-pace.is-img-seen .pub-pace-photo-week_open{ background-image:url('assets/images/m/recipe-miso-greens-bowl.webp'); }
}
/* week_fixed resolves to smoky-lentil-stew, for which no photograph ships.
   Nothing is substituted: the tile and the preview stay tonal and the
   preview says so in copy (data-pace-imgnote). */
.pub-pace-shot-week_fixed{ background-image:none;
  background:radial-gradient(70% 60% at 30% 20%, rgba(226,25,181,0.10) 0%, rgba(15,13,18,0) 72%); opacity:1; }
.pub-pace-tile.is-sel .pub-pace-shot-week_fixed,
.pub-pace-tile:hover .pub-pace-shot-week_fixed{ opacity:1; }

/* ---------------------------------------------------------------------- *
   PL8 -- the one surface in the Free experience that is not glass.
   Reflective instead of translucent: that is what separates it, without
   inventing a second design system. --surface-premium already exists; the
   light, the edge and the whitespace are what is added. Copy, markup and
   the existing reveal choreography are untouched.
 * ---------------------------------------------------------------------- */
#pub-frei .pub-beat-quiet{ position:relative; overflow:hidden; box-sizing:border-box;
  max-width:none; padding:clamp(26px,3.4vw,40px) clamp(24px,3.2vw,40px);
  border-radius:18px; background:var(--surface-premium);
  box-shadow:0 40px 80px -30px rgba(0,0,0,0.92), inset 0 1px 0 0 rgba(255,255,255,0.055); }
#pub-frei .pub-beat-quiet::before{ content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(72% 118% at 86% -12%, rgba(226,25,181,0.17) 0%, rgba(36,22,32,0) 58%),
    linear-gradient(176deg, rgba(255,255,255,0.058) 0%, rgba(255,255,255,0.012) 22%, rgba(255,255,255,0) 46%); }
#pub-frei .pub-beat-quiet::after{ content:''; position:absolute; left:0; right:0; top:0; height:1px; z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg, rgba(245,241,236,0) 0%, rgba(245,241,236,0.22) 28%, rgba(226,25,181,0.44) 64%, rgba(245,241,236,0) 100%); }
#pub-frei .pub-beat-quiet > *{ position:relative; z-index:2; }
#pub-frei .pub-beat-quiet .pub-h-sub{ max-width:16em; letter-spacing:0.005em; }
#pub-frei .pub-beat-quiet .pub-aside{ max-width:34em; }

/* ---------------------------------------------------------------------- *
   RESPONSIVE. The composition is adapted, not shrunk: below 860px the
   photograph stops being a column and becomes a sticky anchor, and the
   four surfaces take their turn in front of it as they pass.
 * ---------------------------------------------------------------------- */
@media (max-width:1100px){
  .pub-pace-tile{ min-height:176px; padding:16px; }
  .pub-pace-name{ font-size:17px; }
  .pub-pace-preview{ min-height:380px; }
}

@media (max-width:860px){
  /* P9 hid the Held Stage here with #pub-held{display:none}. P13.4
     removed the component outright, at every width, so there is nothing
     left to hide -- the rule went with it. */

  /* ------------------------------------------------------------------ *
     DEIN FOOD on a phone (P8, from P7 Variant B). One photograph is the
     whole scene; the four surfaces float over it at three depths and one
     of them expands into a panel on tap. This replaces P6's sticky
     sequence -- there is no vertical card stack here any more.
     The depth is carried by shadow, edge light and size. The fill never
     moves off --glass-fill-strong, because over this photograph anything
     thinner drops body copy under AA (measured: 0.58 -> 3.13:1).
   * ------------------------------------------------------------------ */
  .pub-section.pub-food{ padding:0; overflow:clip; display:block;
    min-height:min(104svh, 900px); }
  .pub-food-media{ position:absolute; inset:0; right:auto; bottom:auto; width:100%; height:100%; }
  .pub-food-photo{ background-position:50% 44%; }
  .pub-food-scrim{ background:linear-gradient(180deg,
      rgba(15,13,18,0.90) 0%, rgba(15,13,18,0.32) 15%, rgba(15,13,18,0.02) 33%,
      rgba(15,13,18,0.06) 54%, rgba(15,13,18,0.44) 78%, rgba(15,13,18,0.80) 100%); }
  .pub-food-inner{ position:static; display:block; padding:0; }
  .pub-food-head{ position:absolute; z-index:4;
    left:max(20px, env(safe-area-inset-left)); right:max(20px, env(safe-area-inset-right));
    top:clamp(26px, 5svh, 56px); }
  .pub-food-h{ font-size:clamp(27px, 7.8vw, 34px); margin:10px 0 0;
    text-shadow:0 1px 4px rgba(10,7,12,0.78); }
  .pub-food-head .kicker{ text-shadow:0 1px 3px rgba(10,7,12,0.85); }
  /* The lede and the mid-page CTA belong to the desktop reading. On the
     phone the surfaces themselves carry the story and the page already
     has three other routes to registration. */
  .pub-food-lede, .pub-food-actions{ display:none; }

  .pub-food-steps{ display:block; }
  .pub-food-step{ position:absolute; z-index:20; margin:0; padding:0; text-align:left;
    transition:transform 260ms cubic-bezier(.22,.61,.36,1), box-shadow 260ms linear; }
  .pub-food-step .pub-food-body{ padding:11px 13px; }
  /* Three depths, shadow and edge only. */
  .pub-food-step-1{ left:5%; bottom:13%; width:min(218px, 60%); z-index:30;
    display:flex; align-items:center; gap:11px; padding:10px 12px; box-sizing:border-box;
    box-shadow:0 40px 74px -26px rgba(0,0,0,0.92), 0 2px 6px -2px rgba(0,0,0,0.6); }
  .pub-food-step-2{ right:5%; left:auto; top:28%; width:min(172px, 47%); z-index:20;
    box-shadow:0 28px 56px -28px rgba(0,0,0,0.84); }
  .pub-food-step-3{ right:5%; left:auto; top:47%; width:min(182px, 49%); z-index:20;
    box-shadow:0 28px 56px -28px rgba(0,0,0,0.84); }
  .pub-food-step-4{ left:5%; right:auto; top:38%; width:min(152px, 42%); z-index:10;
    box-shadow:0 16px 36px -22px rgba(0,0,0,0.70); }

  /* The resting state of each surface: enough to recognise the function,
     never so much that the photograph disappears. The full text is in the
     panel -- same markup, nothing duplicated. */
  .pub-food-step .pub-food-body{ min-width:0; }
  .pub-food-step-1 .pub-food-shot{ flex:0 0 auto; width:56px; height:44px; border-radius:8px; }
  .pub-food-step-1 .pub-food-body{ padding:0; }
  .pub-food-step-1 .pub-food-title{ font-size:15px; margin-bottom:2px; }
  .pub-food-step-1 .pub-food-meta{ font-size:10.5px; }
  .pub-food-step-2 .pub-food-text,
  .pub-food-step-2 .pub-food-fine,
  .pub-food-step-4 .pub-food-text,
  .pub-food-step-4 .pub-food-fine{ display:none; }
  .pub-food-step-2 .pub-food-days{ --wk:9px; gap:5px; margin-bottom:7px; }
  .pub-food-step .pub-food-peek{ display:block; margin:0; font-size:10.5px; color:var(--text-body); }
  .pub-food-meta.is-short{ display:block; }
  .pub-food-meta.is-full{ display:none; }
  .pub-food-step .pub-food-fine.is-full{ display:none; }
  .pub-food-step-3 .pub-food-list li:nth-child(n+3){ display:none; }
  .pub-food-step-3 .pub-food-list li{ margin-bottom:5px; gap:7px; }
  .pub-food-step-3 .pub-food-item{ font-size:12px; }
  .pub-food-step-3 .pub-food-qty{ font-size:11px; min-width:42px; }
  .pub-food-step-4 .pub-food-amount{ margin:0; }
  .pub-food-step-4 .pub-food-amount-n{ font-size:19px; }
  .pub-food-step-4 .pub-food-amount-l{ font-size:10.5px; }
  .pub-food-label{ font-size:8.5px; margin-bottom:6px; }

  /* The one control. It covers its surface, carries the accessible name
     and is the only thing a pointer or a keyboard ever reaches. */
  .pub-food-open{ display:block; position:absolute; inset:0; z-index:3;
    width:100%; height:100%; min-height:44px; padding:0; margin:0;
    background:none; border:0; cursor:pointer; }
  .pub-food-open:focus-visible{ outline:2px solid var(--magenta-text-safe); outline-offset:3px; border-radius:var(--glass-radius); }

  /* Veil: between the photograph and the surfaces. They recede behind it
     without their own glass getting thinner. */
  /* FIXED, not absolute. Anchored to the section, the panel's lower edge
     sits below the fold whenever the member taps while the section is only
     part-way up the screen -- which is most of the time. Anchored to the
     viewport it is always whole and always in reach of a thumb. Nothing on
     this page transforms an ancestor of #pub-food, so the containing block
     really is the viewport (the known trap documented around the hero's
     fixed Signal). */
  .pub-food-veil{ display:block; position:fixed; inset:0; z-index:40;
    background:rgba(15,13,18,0.58); opacity:0; pointer-events:none;
    transition:opacity 280ms linear; }
  .pub-overlays.is-open .pub-food-veil{ opacity:1; pointer-events:auto; }

  .pub-food-panel{ display:block; position:fixed; z-index:50; box-sizing:border-box;
    left:max(16px, env(safe-area-inset-left)); right:max(16px, env(safe-area-inset-right));
    bottom:max(18px, env(safe-area-inset-bottom));
    /* P15 -- the height follows the pane now. It used to be one fixed
       318px for all four, which is why a short pane had dead space and a
       long one had nothing to say. The cap keeps the sheet clear of the
       navigation and of the top of the screen on the smallest phone; past
       it the open pane scrolls rather than the sheet growing. */
    height:auto; max-height:min(72svh, 620px);
    padding:18px; border-radius:var(--glass-radius);
    background:var(--glass-fill-strong); border:1px solid rgba(226,25,181,0.30);
    -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur);
    box-shadow:0 48px 90px -26px rgba(0,0,0,0.94), 0 0 0 1px rgba(226,25,181,0.16), 0 0 30px -8px rgba(226,25,181,0.20);
    opacity:0; transform:scale(0.94); pointer-events:none;
    transition:opacity 200ms linear, transform 280ms cubic-bezier(.22,.61,.36,1); }
  .pub-overlays.is-open .pub-food-panel{ opacity:1; transform:scale(1); pointer-events:auto; }
  .pub-food-panel::before{ content:''; position:absolute; left:0; right:0; top:0; height:56%; z-index:1;
    pointer-events:none;
    background:linear-gradient(176deg, rgba(255,255,255,0.085) 0%, rgba(255,255,255,0.015) 26%, rgba(255,255,255,0) 100%); }
  @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
    .pub-food-panel{ background:rgba(22,18,26,0.95); }
  }
  .pub-food-close{ position:absolute; right:8px; top:8px; z-index:5; width:44px; height:44px;
    padding:0; background:none; border:0; cursor:pointer; color:rgba(245,241,236,0.80);
    display:flex; align-items:center; justify-content:center; }
  .pub-food-close:focus-visible{ outline:2px solid var(--magenta-text-safe); outline-offset:2px; border-radius:8px; }
  /* The panes sit in normal flow so the sheet can take their height. Only
     the open one is in the box at all: display:none rather than a fade,
     because switching panes while the sheet is open is a cut in the member
     app too, and a cross-fade between two different structures reads as a
     glitch. The sheet's own open/close transition is untouched. */
  .pub-food-pane{ display:none; z-index:2; min-width:0; }
  .pub-food-panel[data-open="1"] .pub-food-pane[data-pane="1"],
  .pub-food-panel[data-open="2"] .pub-food-pane[data-pane="2"],
  .pub-food-panel[data-open="3"] .pub-food-pane[data-pane="3"],
  .pub-food-panel[data-open="4"] .pub-food-pane[data-pane="4"]{
    display:block; max-height:calc(72svh - 36px); overflow-y:auto; -webkit-overflow-scrolling:touch; }
  .pub-food-pane > :first-child{ margin-top:0; }
  .pub-food-pane > :last-child{ margin-bottom:0; }
  .pub-food-pane .pub-food-label{ color:var(--text-primary); }
  .pub-food-pane .pub-food-fine{ display:block; margin:13px 0 0; font-size:12.5px; line-height:1.45;
    color:var(--text-body); opacity:1; padding-top:11px;
    border-top:1px solid rgba(245,241,236,0.10); }
  /* The pane's own kicker, at the app's .kicker setting rather than the
     surface's tighter one -- 0.2em at 9px was the "unnecessarily
     letter-spaced label" of the review. */
  .pub-food-pane .pub-food-label{ font-family:var(--font-c); font-size:11px; font-weight:600;
    letter-spacing:0.14em; color:var(--text-body); margin-bottom:10px; }
  .pub-food-pane-shot{ width:84px; height:64px; border-radius:9px; float:right; margin:0 0 8px 12px;
    background-image:url('assets/images/recipe-chicken-korma-performance-plate.webp');
    background-size:cover; background-position:50% 50%; }

  /* ---- The member app's own components, rebuilt from its own markup ----
     .pf-title/.pf-facts follow Recipe Detail's rd-title + rdFacts(); .pf-step
     is its portions stepper; .pf-week/.pf-day/.pf-today are the Wochenfokus
     strip and its "Heute" card; .pf-panel/.pf-panel-h/.pf-n are the
     kt-panel list container with its count; .pf-row is the sl-item row
     (quantity BEFORE name, pantry stock as a detail line); .pf-prow is the
     sl-pan-row (name left, amount right). Approved tokens only. */
  /* CONTRAST, measured against the panel's own composited ground
     (--glass-fill-strong over the brightest photograph, rgb(77,71,71)):
     --text-primary 8.14:1, --text-body 5.16:1, --text-secondary 3.55:1,
     --muted 2.80:1. The member app sets its metadata in --text-secondary,
     but it does that on flat dark screens; here the same token would fail
     AA at 12-13px. Every metadata line in this sheet therefore sits on
     --text-body, the documented floor on glass, and the hierarchy is
     carried by size and weight instead of by a fourth grey.
/* P16 -- the scale is the member app's own, one step down for the sheet.
     Measured against it, P15's panel type was systematically small and
     light: quantities at 12.5px where sl-q is 16px/600, names at 13px where
     sl-n is 16px, the pantry note at 10.5px where sl-sub is 13.5px. The
     hierarchy is now the product's: the quantity carries the weight, the
     name carries the size, metadata sits one step under both. */
  .pf-title{ margin:0 0 2px; font-family:var(--font-d); font-weight:600; font-size:21px;
    line-height:1.12; text-transform:uppercase; color:var(--text-primary); }
  .pf-sfx{ display:block; font-size:13px; letter-spacing:0.01em; color:var(--text-body); }
  .pf-facts{ margin:0 0 9px; font-size:13px; line-height:1.4; color:var(--text-body);
    font-variant-numeric:tabular-nums; }
  .pf-desc{ margin:0 0 13px; font-size:13.5px; line-height:1.5; color:var(--text-body); }
  .pf-step{ display:flex; align-items:center; gap:10px; clear:both; }
  /* 44px: the stepper is the one control in these panels a thumb actually
     aims at, so it gets the full target rather than the visual size. */
  .pf-step-b{ width:44px; height:44px; border-radius:999px; padding:0;
    border:1px solid rgba(245,241,236,0.18); background:transparent;
    color:var(--text-primary); font-size:17px; line-height:1; cursor:pointer; }
  .pf-step-b:focus-visible{ outline:2px solid var(--magenta-text-safe); outline-offset:2px; }
  .pf-step-n{ min-width:26px; text-align:center; font-size:16px; font-weight:600;
    font-variant-numeric:tabular-nums; color:var(--text-primary); }
  .pf-step-l{ font-size:13.5px; color:var(--text-body); }

  /* ---- P18: THE AUTHENTICATED WOCHENFOKUS, IN THIS CONTEXT ----------
     The panel now renders the member screen's own component -- .wf-week,
     .wf-day, .wf-day-btn, .wf-day-l, .wf-sum, .wf-today, .wf-cook -- so
     every rule those already carry (the glyph's state colours, the check
     that fades in, the label's tracking, the Oswald headline that is not
     uppercase) applies here unchanged and cannot drift from the product.
     What follows adapts only the SURFACE and the SCALE. Nothing below
     changes a member rule: every selector is inside .pub-food-pane. */
  .pub-food-pane .wf-week{ padding:4px 0 2px; border-radius:0; background:none;
    box-shadow:none; isolation:auto; overflow:visible; column-gap:2px; }
  /* The rail the member card draws behind its days, at this scale. */
  .pub-food-pane .wf-week::before{ content:''; position:absolute; z-index:0; pointer-events:none;
    left:calc(100% / 14); right:calc(100% / 14); top:20px; height:1px;
    background:rgba(245,241,236,0.12); }
  .pub-food-pane .wf-day{ position:relative; z-index:1; }
  .pub-food-pane .wf-day-btn{ min-height:44px; gap:6px; padding:2px 0 0; }
  /* 44px of mark is right on a full screen; in a 358px sheet it is not. */
  .pub-food-pane .wf-g{ width:26px; background:rgba(22,18,26,0.55); }
  .pub-food-pane .wf-day.is-on .wf-g{ background:rgba(226,25,181,0.10); }
  .pub-food-pane .wf-day.is-today .wf-g{ box-shadow:0 0 0 2px rgba(226,25,181,0.34); }
  .pub-food-pane .wf-day-l{ font-size:9px; color:var(--text-body); }
  .pub-food-pane .wf-day.is-today .wf-day-l{ color:var(--text-primary); }
  .pub-food-pane .wf-sum{ margin:10px 0 0; font-size:12.5px; color:var(--text-body); }
  .pub-food-pane .wf-sum-n{ color:var(--text-body); }
  /* The Today card keeps its shape and its type; on glass it loses the
     member card's two gradients, which would be a surface inside a
     surface, and keeps a plain hairline instead. */
  .pub-food-pane .wf-today{ margin:12px 0 0; padding:13px 14px; border-radius:12px;
    background:rgba(245,241,236,0.03); box-shadow:none; animation:none;
    border:1px solid rgba(245,241,236,0.12); }
  .pub-food-pane .wf-today::after{ display:none; }
  .pub-food-pane .wf-today-k{ color:var(--text-body); }
  .pub-food-pane .wf-today-h{ font-size:19px; margin:6px 0 0; }
  .pub-food-pane .wf-today-p{ margin:6px 0 0; font-size:13px; color:var(--text-body); }
  /* The recipe step: the member row's stacked shape, without its capsule --
     nothing here is operable. */
  .pub-food-pane .wf-cook{ margin-top:12px; padding-top:11px;
    border-top:1px solid rgba(245,241,236,0.10); }
  .pub-food-pane .wf-cook-q{ margin:0; font-size:14px; color:var(--text-primary); }
  .pub-food-pane .wf-cook .wf-cal-k{ margin:3px 0 0; font-size:13px; color:var(--text-body); }
  .pf-week li{ flex:1; min-width:0; }
  .pf-day{ width:100%; min-height:44px; padding:7px 0 6px; border-radius:9px;
    border:1px solid rgba(245,241,236,0.14); background:transparent; cursor:pointer;
    display:flex; flex-direction:column; align-items:center; gap:5px; color:var(--text-body); }
  .pf-day.is-on{ border-color:rgba(79,168,118,0.50); background:rgba(79,168,118,0.14); color:var(--text-primary); }
  .pf-day.is-today{ border-color:var(--magenta-text-safe); }
  .pf-day:focus-visible{ outline:2px solid var(--magenta-text-safe); outline-offset:2px; }
  .pf-dot{ width:6px; height:6px; border-radius:999px; background:currentColor; opacity:0.5; }
  .pf-day.is-on .pf-dot{ opacity:1; background:var(--presence-active); }
  .pf-day-l{ font-size:9.5px; letter-spacing:0.06em; }
  .pf-today{ border:1px solid rgba(245,241,236,0.12); border-radius:12px; padding:12px 13px;
    background:rgba(245,241,236,0.03); }
  .pf-today.is-marked{ border-color:rgba(79,168,118,0.34); }
  /* wf-today's own setting: Oswald at weight 500 with text-transform:none,
     which is the one place in the app where the display face is NOT
     uppercase. P15 set it in Roboto 600 and lost that. */
  .pf-today-k{ margin:0 0 6px; font-size:9.5px; font-weight:600; letter-spacing:0.18em;
    text-transform:uppercase; color:var(--text-body); }
  .pf-today-h{ margin:0 0 6px; font-family:var(--font-d); font-size:19px; font-weight:500;
    line-height:1.2; text-transform:none; color:var(--text-primary); }
  .pf-today-p{ margin:0; font-size:13px; line-height:1.45; color:var(--text-body); }

  .pf-panel{ border:1px solid rgba(245,241,236,0.12); border-radius:12px;
    background:rgba(245,241,236,0.03); overflow:hidden; }
  /* kt-panel-h verbatim: 10px/600 at 0.2em, and the count pushed to the
     right edge rather than sitting against the label. */
  .pf-panel-h{ margin:0; padding:12px 13px 8px; font-size:10px; font-weight:600;
    letter-spacing:0.2em; text-transform:uppercase; color:var(--text-body);
    display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .pf-n{ display:inline-flex; min-width:20px; height:18px; padding:0 6px; border-radius:999px;
    background:rgba(245,241,236,0.10); color:var(--text-body);
    font-size:11px; font-weight:600; letter-spacing:0.08em; font-variant-numeric:tabular-nums;
    align-items:center; justify-content:center; }
  .pf-list{ list-style:none; margin:0; padding:0; }
  .pf-row{ display:flex; align-items:baseline; flex-wrap:wrap; gap:9px; padding:8px 13px; }
  .pf-row + .pf-row{ border-top:1px solid rgba(245,241,236,0.07); }
  .pf-box{ flex:0 0 auto; width:15px; height:15px; border-radius:4px;
    border:1px solid rgba(245,241,236,0.30); align-self:center; }
  /* sl-q / sl-n: the quantity is the bold one, the name is the same size in
     --text-body. sl-sub's 13.5px for the pantry note, in its own colour --
     the green tint P15 gave it exists nowhere in the product. */
  .pf-q{ flex:0 0 auto; min-width:5.2em; font-size:15px; font-weight:600;
    font-variant-numeric:tabular-nums; color:var(--text-primary); overflow-wrap:anywhere; }
  .pf-name{ flex:1 1 auto; min-width:0; font-size:15px; line-height:1.35;
    color:var(--text-body); overflow-wrap:anywhere; }
  .pf-stock{ flex:0 0 100%; margin-left:24px; font-size:13px; line-height:1.4; color:var(--text-body); }
  .pf-more{ margin:0; padding:9px 13px 11px; border-top:1px solid rgba(245,241,236,0.07);
    font-size:13px; color:var(--text-body); }
  /* sl-pan-row: name left in --text-primary, the amount right and bold. */
  .pf-prow{ display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 12px; padding:10px 13px; }
  .pf-prow + .pf-prow{ border-top:1px solid rgba(245,241,236,0.07); }
  .pf-pn{ flex:1 1 auto; min-width:0; font-size:15px; color:var(--text-primary); overflow-wrap:anywhere; }
  .pf-pq{ flex:0 0 auto; font-size:15px; font-weight:600; font-variant-numeric:tabular-nums;
    color:var(--text-primary); }
  .pf-pd{ flex:0 0 100%; font-size:13px; color:var(--text-body); }

  .pub-food-note{ position:absolute; z-index:6; margin:0; text-align:center;
    left:max(20px, env(safe-area-inset-left)); right:max(20px, env(safe-area-inset-right));
    bottom:clamp(16px, 3svh, 28px); font-size:9.5px; color:rgba(245,241,236,0.62);
    text-shadow:0 1px 3px rgba(10,7,12,0.9); transition:opacity 200ms linear; }
  .pub-food.is-food-open .pub-food-note{ opacity:0; }

  /* -- PACE: one column, the chosen one open -- */
  .pub-pace-grid{ flex-direction:column; gap:10px; }
  .pub-pace-tile{ flex:0 0 auto; min-height:0; padding:14px 16px; }
  .pub-pace-tile.is-sel{ flex-grow:0; }
  .pub-pace-sym{ position:absolute; right:14px; top:14px; width:30px; height:30px; }
  .pub-pace-sym svg{ width:30px; height:30px; }
  .pub-pace-name{ margin-top:0; font-size:16px; padding-right:40px; }
  .pub-pace-claim{ margin-top:5px; padding-right:40px; }
  .pub-pace-more{ max-height:0; }
  .pub-pace-tile.is-sel .pub-pace-more{ max-height:200px; }
  .pub-pace-preview{ min-height:0; margin-top:14px; }
  .pub-pace-body{ padding:22px 20px; max-width:none; }
  .pub-pace-scrim{ background:linear-gradient(180deg,
      rgba(15,13,18,0.52) 0%, rgba(15,13,18,0.74) 34%, rgba(15,13,18,0.92) 72%, rgba(15,13,18,0.96) 100%); }
  .pub-pace-card{ max-width:none; }
  .pub-pace-h{ font-size:clamp(28px,8.4vw,36px); }
}

@media (max-width:640px){
  /* The hero's product strip: one line under the primary action, never
     competing with the headline. The hero gains exactly the room it needs. */
  /* The strip reserves exactly its own height. Any more and the copy column
     is pushed up out of the handover band and onto the bright part of the
     dish, which is a readability regression, not a composition. */
  /* P13.1 -- die 84px reservierten die entfernte Produktkarte. Ohne sie
     gewinnt die Fotografie den Raum zurück. */
  .pub-section.pub-hero{ padding-bottom:clamp(24px, 4vh, 48px); }
}

/* The seven markers are what make the strip read as the product rather than
   as a recipe card, so they stay on a 390px phone (7x9px + 6x4px = 87px).
   They only go on the genuinely narrow end. */
@media (max-width:360px){
}
@media (max-width:420px){
  .pub-food-days{ --wk:26px; gap:5px; }
}

/* Motion. Two curves and nothing else; every state survives without them. */
@media (prefers-reduced-motion:reduce){
  .pub-pace-tile,
  .pub-pace-shot,
  .pub-pace-more,
  .pub-pace-photo,
  .pub-food-step,
  .pub-food-veil,
  .pub-food-panel,
  .pub-food-pane,
  .pub-food-note{ transition:none !important; }
  .pub-pace-tile:hover{ transform:none; }
  .pub-food-panel{ transform:none; }
}

/* ====================================================================== *
   P9 -- MOBILE REFINEMENT (Founder review on device)
   Refinement of the P8 baseline, not a redesign. Everything here is
   scoped to the phone/tablet range; the desktop composition is untouched.
 * ====================================================================== */

/* ---------------------------------------------------------------------- *
   1 · HERO -- a stable band for the type, not a darker picture.
   The rotation runs four photographs with very different brightness, so
   readability cannot depend on which one is showing. The fix is a
   plateau in the lower half, where the copy actually sits, with a fast
   falloff upward: the dish keeps the top of the frame completely
   untreated. Darkening the whole image would flatten exactly the thing
   the hero exists for.
 * ---------------------------------------------------------------------- */
@media (max-width:640px){
  /* The plateau is sized by measurement, not by eye. The headline block
     sits between 41% and 59% of the frame height from the bottom, and its
     lower two lines are the magenta ones. Against the brightest photograph
     in the rotation (#E8DCC8 highlights) magenta #E534BD composites to
     2.43:1 at alpha 0.72 and 3.76:1 at 0.86 -- as large text it needs 3:1,
     so the plateau has to still be 0.86 where the magenta ends, at 52%.
     Above that it falls away fast and the dish keeps the top third
     untouched. White never comes near the limit: 12.6:1 on the plateau,
     6.5:1 where it has already fallen to 0.65. */
  .hero-veil{
    background:
      linear-gradient(0deg,
        var(--canvas) 0%, rgba(15,13,18,0.96) 12%, rgba(15,13,18,0.92) 32%,
        rgba(15,13,18,0.86) 52%, rgba(15,13,18,0.56) 62%, rgba(15,13,18,0.20) 72%,
        rgba(15,13,18,0) 82%),
      linear-gradient(180deg, rgba(15,13,18,0.60) 0%, rgba(15,13,18,0.18) 10%, rgba(15,13,18,0) 21%); }
  /* Glyph-level, which costs the photograph nothing: the accent carries a
     slightly deeper shadow than its white neighbours because it starts
     from a far smaller margin. */
  .pub-hero .hero-accent{ text-shadow:0 1px 4px rgba(10,7,12,0.82), 0 0 2px rgba(10,7,12,0.55); }

  /* Less of everything, so the headline can be the one loud thing. */
  .pub-hero .hero-brand-wordmark{ margin-bottom:14px; }
  /* P13.1 -- +13% (38px -> 43px). Die Breite bleibt auto: zwei feste
     Kanten hätten die Wortmarke in eine Box gezwungen, deren Verhältnis
     (2,21) nicht ihrem eigenen (2,08) entspricht. */
  .pub-hero .hero-brand-wordmark svg{ width:auto; height:43px; }
  .pub-hero .kicker{ font-size:9.5px; letter-spacing:0.22em; margin-bottom:12px; }
  .pub-hero h1{ font-size:clamp(34px, 10.4vw, 42px); line-height:0.92; margin-bottom:14px; }

  /* CTA hierarchy: one primary, full width, unmissable. The secondary
     drops its border and becomes the quiet text route it always was --
     two equally framed pills read as a choice between equals, which is
     not what this is. */
  .pub-hero .actions{ display:flex; flex-direction:column; align-items:stretch; gap:10px; }
  .pub-hero .actions .btn-primary{ width:100%; padding:15px 24px; font-size:16px; }
  .pub-hero .actions .btn-ghost{ width:auto; align-self:flex-start;
    padding:6px 0; border:0; background:none; font-size:14px;
    color:var(--text-primary); text-decoration:underline; text-underline-offset:4px;
    text-decoration-color:rgba(245,241,236,0.42); }
  .pub-hero .reassurance{ margin-top:12px; font-size:11.5px; }
  .pub-hero .pub-hero-presence{ margin-top:8px; }
}

/* ---------------------------------------------------------------------- *
   2+4 · DEIN FOOD -- the entry stops being a cut.
   The section used to begin with the photograph at full strength against
   a flat canvas above it, which read as a cropped rectangle dropped into
   the page. Now the scrim starts AT canvas and resolves over the first
   fifth, and ends the same way at the foot, so neither boundary has an
   edge. Same photograph, same surfaces -- only the seams go.
 * ---------------------------------------------------------------------- */
@media (max-width:860px){
  .pub-section.pub-food{ min-height:min(110svh, 940px); }
  .pub-food-scrim{ background:linear-gradient(180deg,
      var(--canvas) 0%, rgba(15,13,18,0.88) 7%, rgba(15,13,18,0.30) 19%,
      rgba(15,13,18,0.02) 34%, rgba(15,13,18,0.06) 54%,
      rgba(15,13,18,0.46) 78%, rgba(15,13,18,0.86) 92%, var(--canvas) 100%); }
  /* The heading needs air above it now that nothing precedes it but a
     fade -- it was sitting directly under the nav. */
  .pub-food-head{ top:clamp(54px, 10svh, 96px); }
  .pub-food-step-2{ top:31%; }
  .pub-food-step-4{ top:41%; }
  .pub-food-step-3{ top:50%; }

  /* The close button sat on top of the first shopping row's quantity --
     a 44px target covering "600 g", so tapping the amount closed the
     panel. The corner is now reserved for the control alone. */
  .pub-food-pane{ top:48px; }
  .pub-food-close{ right:6px; top:6px; }

  /* PACE and FREI pick up the dark the food section hands over, instead
     of starting a new rectangle. */
  .pub-section.pub-pace{ background:linear-gradient(180deg,
      var(--canvas) 0%, rgba(30,27,34,0.42) 24%, rgba(30,27,34,0.42) 72%, var(--canvas) 100%); }
  #pub-frei{ background:linear-gradient(180deg,
      var(--canvas) 0%, rgba(36,22,32,0.22) 46%, var(--canvas) 100%); }
}

/* ---------------------------------------------------------------------- *
   5 · PL8 -- the reveal still plays, it just no longer waits.
   The timing change is in initPublicFinaleReveals; what belongs here is
   the floor: without GSAP, under reduced motion, or before any trigger
   fires, the content is simply visible. It never depended on the
   animation to exist, and now it does not depend on scroll distance
   either -- the section's own padding is what used to stretch it.
 * ---------------------------------------------------------------------- */
@media (max-width:860px){
  #pub-frei.pub-section.pub-peak{ min-height:0;
    padding-top:clamp(72px,11vh,132px); padding-bottom:clamp(72px,11vh,132px); }
  #pub-frei .pub-beat-gap{ height:clamp(28px,4vh,52px); }
  .pub-section.pub-finale{ padding-top:clamp(84px,12vh,148px); padding-bottom:clamp(84px,12vh,148px); }
}
@media (prefers-reduced-motion:reduce){
  #pub-frei .pub-beat-quiet{ opacity:0.88; }
}

/* ---------------------------------------------------------------------- *
   6 · PACE -- the ring was sitting on top of its own label.
   P6 gave the phone `.pub-pace-sym{position:absolute}`, but the later
   `.pub-pace-tile > *:not(.pub-pace-shot){position:relative}` is one class
   more specific and silently won: the ring stayed in flow while
   `.pub-pace-name{margin-top:0}` pulled the label up over it. Measured
   before the fix -- ring 27..57 x 292..322, label 41..349 x 308..332, a
   real overlap on every one of the four tiles. Same intent as P6, stated
   specifically enough to apply.
 * ---------------------------------------------------------------------- */
@media (max-width:860px){
  .pub-pace-tile .pub-pace-sym{ position:absolute; right:14px; top:14px;
    width:30px; height:30px; z-index:3; }
  .pub-pace-tile .pub-pace-sym svg{ width:30px; height:30px; }
}

/* ====================================================================== *
   P10 -- MOBILE EXPERIENCE 3.0
 * ====================================================================== */

/* ---------------------------------------------------------------------- *
   Der Overlay-Host. Er liegt am Seitenende, außerhalb jeder Sektion, und
   ist damit die Lösung des Stapel-/Clipping-Problems statt eines weiteren
   Pflasters: kein Abschnitt kann über ihn malen, kein overflow:clip kann
   ihn beschneiden. Ohne offenes Panel ist er vollständig durchlässig.
 * ---------------------------------------------------------------------- */
.pub-overlays{ position:relative; z-index:60; }
.pub-overlays:not(.is-open){ pointer-events:none; }
.pub-food-veil, .pub-food-panel{ display:none; }

@media (max-width:860px){
  .pub-overlays .pub-food-veil{ display:block; position:fixed; inset:0; z-index:1;
    background:rgba(15,13,18,0.58); opacity:0; pointer-events:none;
    transition:opacity 280ms linear; }
  .pub-overlays.is-open .pub-food-veil{ opacity:1; pointer-events:auto; }
  .pub-overlays .pub-food-panel{ display:block; z-index:2; }

  /* ---- Öffnungs-Affordanz ----
     Die Flächen sahen aus wie Anzeige, nicht wie Bedienelement. Drei
     zurückhaltende Signale statt einer zweiten Icon-Reihe: eine magenta
     Kante an der Führungsseite, ein Chevron in der Ecke und ein echter
     Druckzustand. */
  /* P15 -- ONE edge system. Measured before this change, the four surfaces
     carried three different neutral frames (0.20 / 0.13 / 0.09) and two of
     them had no left border at all, because the "leading side" idea and the
     depth staggering were both being expressed through the border. Depth is
     the shadow's job and always was; the border is now one value on all
     four, with the magenta accent always on the left. */
  .pub-food-step{ border-color:rgba(245,241,236,0.16);
    border-left:2px solid rgba(226,25,181,0.42); }
  .pub-food-more{ display:flex; position:absolute; z-index:3; right:11px; bottom:10px;
    width:22px; height:22px; border-radius:999px;
    display:flex; align-items:center; justify-content:center;
    color:var(--magenta-text-safe); background:rgba(226,25,181,0.14);
    border:1px solid rgba(226,25,181,0.34); }
  .pub-food-step-1 .pub-food-more{ right:11px; bottom:11px; }
  .pub-food-step:has(.pub-food-open:active){ transform:scale(0.985); }
  .pub-food-step:has(.pub-food-open:focus-visible){ border-color:var(--magenta-text-safe); }
  /* Die Beschriftung ist jetzt der Funktionsname, nicht eine Nummer. */
  .pub-food-label{ color:var(--text-primary); letter-spacing:0.18em; font-size:9px; }
  .pub-food-body{ padding-right:34px; }

  /* ---- CTA-Hierarchie: ein lauter Ruf pro Bildschirm ----
     Die Sticky-Navigation trägt auf dem Telefon permanent ein magentafarbenes
     „Kostenlos mitmachen". Ein zweiter, gleich lauter Button in Free/PL8
     konkurriert mit ihm statt ihn zu verstärken; er wird zur ruhigen
     Variante. Hero und Finale behalten ihren Primärruf -- der eine eröffnet,
     der andere schließt. */
  #pub-frei .pub-actions-mid .btn-primary{ background:transparent; color:var(--text-primary);
    border:1px solid rgba(245,241,236,0.38); font-weight:500; }

  /* ---- PACE: Luft zwischen den Sätzen ---- */
  .pub-pace-tile{ padding:16px 18px; }
  .pub-pace-claim{ margin-top:7px; line-height:1.55; }
  .pub-pace-tile.is-sel .pub-pace-more{ max-height:240px; }
  .pub-pace-desc{ margin-top:13px; line-height:1.7; }
  .pub-pace-body{ padding:24px 20px; }
  .pub-pace-claim-lg{ margin-bottom:12px; }
  .pub-pace-desc-lg{ margin-bottom:24px; line-height:1.75; }
  .pub-pace-card{ padding:16px; }
  .pub-pace-card-name{ margin-bottom:8px; }
  .pub-pace-card-proof{ line-height:1.6; }
  .pub-pace-card-note{ margin-top:10px; }

  /* ---- Übergang in das Finale ----
     Free/PL8 und das Finale stießen als zwei Rechtecke aneinander. Das
     Finale hebt jetzt aus derselben Dunkelheit an, in die Free ausläuft. */
  .pub-section.pub-finale{ background:linear-gradient(180deg,
      var(--canvas) 0%, rgba(30,27,34,0.34) 30%, rgba(30,27,34,0.20) 64%, var(--canvas) 100%); }
}

@media (prefers-reduced-motion:reduce){
  .pub-overlays .pub-food-veil,
  .pub-overlays .pub-food-panel{ transition:none !important; }
}

/* ====================================================================== *
   P11 -- PL8 PREMIUM + MOBILE CTA
 * ====================================================================== */

/* ---------------------------------------------------------------------- *
   Genau ein Primärruf im Blick. Solange der Hero zu sehen ist, hat der
   Header keinen -- der Hero trägt ihn, in voller Breite und mit seiner
   Reassurance darunter. Sobald der Hero weg ist, kommt der des Headers
   zurück und bleibt bis zum Seitenende erreichbar. Oberhalb 860px bleibt
   alles wie es war.
 * ---------------------------------------------------------------------- */


/* Der Chevron saß in der schmalen Vorrat-Fläche auf „Basmatireis"
   (gemessen: Chevron 138..160, Text 83..139). Er sitzt jetzt oben rechts,
   wo in allen vier Flächen nur die kurze Beschriftung steht. */
@media (max-width:860px){
  .pub-food-more{ top:10px; bottom:auto; right:10px; }
  .pub-food-step-1 .pub-food-more{ top:10px; bottom:auto; right:10px; }
  .pub-food-label{ padding-right:30px; }
  .pub-food-body{ padding-right:0; }
  .pub-food-step-1 .pub-food-body{ padding-right:26px; }
}

/* P11 -- PL8 ist jetzt der lange Abschnitt; Free/PL8 braucht daneben
   weniger eigenes Polster, damit die Sektion nicht ausufert. */
@media (max-width:860px){
  #pub-frei.pub-section.pub-peak{ padding-top:clamp(56px,8vh,96px); padding-bottom:clamp(56px,8vh,96px); }
  #pub-frei .pub-beat-gap{ height:clamp(20px,3vh,36px); }
}

/* ====================================================================== *
   P12 -- PL8 auf der freigegebenen Palette, und eine Navigation, die
   trägt statt zu schweben.

   Zur Farbe: Es gibt kein freigegebenes PL8-Blau. Was das Repository
   kennt, ist --surface-premium #241620 („PL8 surfaces -- restrained, not
   neon"), Magenta für PL8-Betonung und die .p8s-Statusmarken der
   Member-App, die magenta und neutral sind. Die Design Constitution §2.6
   (LOCKED) nennt Nebula als ausschließliche visuelle Signatur von PL8 --
   und verbietet sie zugleich „anywhere in the general Free Experience",
   also genau hier. Also: kein Blau, kein Nebula-Feld. Premium entsteht
   aus dem eigenen Material, aus Tiefe und aus Interaktion.
 * ====================================================================== */

#pub-frei .pub-beat-quiet.pl8{
  position:relative; overflow:hidden; box-sizing:border-box; max-width:none;
  padding:0; border-radius:22px; opacity:1;
  background:
    linear-gradient(168deg, #2A1926 0%, #241620 42%, #1A1018 100%);
  border:1px solid rgba(245,241,236,0.10);
  box-shadow:0 52px 96px -34px rgba(0,0,0,0.95), inset 0 1px 0 0 rgba(255,255,255,0.055); }
#pub-frei .pub-beat-quiet.pl8::before,
#pub-frei .pub-beat-quiet.pl8::after{ content:none; }
/* Ein Lichtanlauf, kein Farbfeld: die Kante oben fängt Licht, darunter
   sitzt eine gerichtete Aufhellung. Beides neutral, kein zweiter Akzent. */
.pl8-light{ position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    linear-gradient(176deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.014) 22%, rgba(255,255,255,0) 44%),
    radial-gradient(58% 42% at 82% 6%, rgba(226,25,181,0.16) 0%, rgba(226,25,181,0.04) 44%, rgba(226,25,181,0) 72%); }
#pub-frei .pub-beat-quiet.pl8 > .pl8-inner{ position:relative; z-index:2;
  padding:clamp(24px,4.4vw,40px); }

.pl8-eyebrow{ display:flex; align-items:center; gap:10px; margin:0 0 20px; }
.pl8-mark{ font-family:var(--font-d); font-size:13px; letter-spacing:0.3em;
  text-transform:uppercase; color:var(--text-primary); }
.pl8-of{ position:relative; padding-left:11px; font-family:var(--font-d); font-size:8.5px;
  letter-spacing:0.22em; text-transform:uppercase; color:var(--magenta-text-safe); }
.pl8-of::before{ content:''; position:absolute; left:0; top:50%; width:1px; height:12px;
  margin-top:-6px; background:rgba(245,241,236,0.24); }
.pl8-h{ margin:0 0 14px; font-family:var(--font-d); font-weight:600; text-transform:uppercase;
  font-size:clamp(27px,6.6vw,42px); line-height:0.98; color:var(--text-primary); }
.pl8-h-accent{ color:var(--magenta-text-safe); }
.pl8-lede{ margin:0 0 24px; font-size:clamp(13.5px,1.1vw,15.5px); line-height:1.62;
  color:var(--text-body); max-width:40em; }

/* ---- Drei Module, eines offen ---- */
.pl8-mods{ margin:0 0 24px; }
.pl8-mod{ border-radius:14px; overflow:hidden; margin-bottom:10px;
  background:rgba(14,9,13,0.46); border:1px solid rgba(245,241,236,0.10);
  transition:border-color 240ms linear, background-color 240ms linear, box-shadow 240ms linear; }
.pl8-mod:last-child{ margin-bottom:0; }
.pl8-mod.is-open{ background:rgba(14,9,13,0.60); border-color:rgba(226,25,181,0.34);
  box-shadow:0 26px 52px -26px rgba(0,0,0,0.9), 0 0 0 1px rgba(226,25,181,0.12); }
.pl8-mod-h{ margin:0; font-size:inherit; font-weight:inherit; text-transform:none; letter-spacing:normal; }
.pl8-mod-btn{ display:flex; align-items:center; gap:12px; width:100%; min-height:56px;
  padding:14px 16px; background:none; border:0; cursor:pointer; text-align:left;
  color:inherit; font:inherit; }
.pl8-mod-btn:focus-visible{ outline:2px solid var(--magenta-text-safe); outline-offset:-3px; border-radius:14px; }
.pl8-mod-n{ flex:1; min-width:0; font-family:var(--font-d); font-size:clamp(15px,1.3vw,17px);
  color:var(--text-primary); }
.pl8-mod-s{ flex:0 0 auto; font-family:var(--font-d); font-size:8.5px; letter-spacing:0.16em;
  text-transform:uppercase; padding:3px 9px; border-radius:999px; white-space:nowrap; }
.pl8-s-now{ color:var(--text-primary); background:rgba(226,25,181,0.22); border:1px solid rgba(226,25,181,0.44); }
.pl8-s-build{ color:var(--text-body); background:rgba(226,25,181,0.10); border:1px solid rgba(226,25,181,0.30); }
.pl8-s-vision{ color:var(--text-secondary); background:transparent; border:1px dashed rgba(245,241,236,0.30); }
/* Das Plus wird zum Minus -- zwei Striche, kein Icon-Set. */
.pl8-mod-x{ position:relative; flex:0 0 auto; width:16px; height:16px; }
.pl8-mod-x::before, .pl8-mod-x::after{ content:''; position:absolute; left:0; top:7.5px;
  width:16px; height:1.5px; border-radius:1px; background:var(--text-secondary);
  transition:transform 260ms cubic-bezier(.22,.61,.36,1), background-color 240ms linear; }
.pl8-mod-x::after{ transform:rotate(90deg); }
.pl8-mod.is-open .pl8-mod-x::before,
.pl8-mod.is-open .pl8-mod-x::after{ background:var(--magenta-text-safe); }
.pl8-mod.is-open .pl8-mod-x::after{ transform:rotate(0deg); }
.pl8-mod-b{ display:grid; grid-template-rows:0fr;
  transition:grid-template-rows 300ms cubic-bezier(.22,.61,.36,1); }
.pl8-mod.is-open .pl8-mod-b{ grid-template-rows:1fr; }
.pl8-mod-i{ overflow:hidden; }
.pl8-mod.is-open .pl8-mod-i{ padding:0 16px 16px; }
.pl8-row{ display:block; margin:0 0 12px; opacity:0; transform:translateY(6px);
  transition:opacity 220ms linear, transform 260ms cubic-bezier(.22,.61,.36,1); }
.pl8-row:last-child{ margin-bottom:0; }
.pl8-mod.is-open .pl8-row{ opacity:1; transform:none; }
.pl8-mod.is-open .pl8-row:nth-child(2){ transition-delay:50ms; }
.pl8-mod.is-open .pl8-row:nth-child(3){ transition-delay:100ms; }
.pl8-row b{ display:block; font-family:var(--font-d); font-weight:500; font-size:13.5px;
  color:var(--text-primary); margin-bottom:3px; }
.pl8-row span{ display:block; font-size:12px; line-height:1.6; color:var(--text-body); }
.pl8-tag{ display:inline-block; margin-left:4px; font-style:normal; font-family:var(--font-d);
  font-size:8px; letter-spacing:0.14em; text-transform:uppercase; padding:2px 7px; border-radius:999px;
  vertical-align:1px; }

/* ---- Nutrition Signal ---- */
.pl8-sig{ margin:0 0 24px; padding:20px 18px; border-radius:16px;
  background:rgba(14,9,13,0.46); border:1px solid rgba(245,241,236,0.10); }
.pl8-sig-cap{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.pl8-sig-k{ flex:1; font-family:var(--font-d); font-size:13px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--text-primary); }
.pl8-sig-stage{ position:relative; width:min(220px,74%); margin:0 auto 14px; }
.pl8-sig-svg{ width:100%; height:auto; display:block; }
.pl8-poly{ fill:rgba(226,25,181,0.18); stroke:var(--magenta-text-safe); stroke-width:1.6;
  stroke-linejoin:round; transition:opacity 300ms linear; }
.pl8-poly-woche{ opacity:0; }
.pl8-sig[data-span="woche"] .pl8-poly-tag{ opacity:0; }
.pl8-sig[data-span="woche"] .pl8-poly-woche{ opacity:1; }
.pl8-sig-mid{ position:absolute; left:0; right:0; top:50%; transform:translateY(-50%);
  text-align:center; pointer-events:none; }
.pl8-sig-mid b{ display:block; font-family:var(--font-d); font-weight:500; font-size:26px;
  line-height:1; color:var(--text-primary); }
.pl8-sig-mid span{ display:block; margin-top:4px; font-size:10px; color:var(--text-secondary); }
.pl8-sw{ display:flex; gap:0; width:fit-content; margin:0 auto 12px; padding:3px;
  border-radius:999px; background:rgba(14,9,13,0.6); border:1px solid rgba(245,241,236,0.12); }
.pl8-sw-b{ min-height:34px; padding:0 18px; border:0; border-radius:999px; cursor:pointer;
  background:none; color:var(--text-secondary); font-family:var(--font-d); font-size:12px;
  letter-spacing:0.1em; transition:background-color 220ms linear, color 220ms linear; }
.pl8-sw-b.is-on{ background:rgba(226,25,181,0.26); color:var(--text-primary); }
.pl8-sw-b:focus-visible{ outline:2px solid var(--magenta-text-safe); outline-offset:2px; }
.pl8-sig-fine{ margin:0; font-size:10.5px; line-height:1.6; color:var(--muted); text-align:center; }

.pl8-close{ margin:0 0 6px; font-family:var(--font-d); font-weight:500;
  font-size:clamp(18px,2vw,23px); line-height:1.2; color:var(--text-primary); }
.pl8-fine{ margin:0; font-size:10.5px; line-height:1.6; color:var(--muted); }

@media (prefers-reduced-motion:reduce){
  .pl8-mod, .pl8-mod-b, .pl8-row, .pl8-mod-x::before, .pl8-mod-x::after,
  .pl8-poly, .pl8-sw-b, .pub-nav{ transition:none !important; }
}

/* ====================================================================== *
   P12.1 -- ein Hero ohne Beiwerk, EINE Schaltfläche, leichte Navigation
 * ====================================================================== */

/* ---------------------------------------------------------------------- *
   Ein Primärruf zur Zeit. Die Header-Instanz ist ausgeblendet, solange die
   Aktionszeile des Heros zu sehen ist, und erscheint, sobald sie geht --
   nicht erst, wenn der ganze Hero weg ist.
 * ---------------------------------------------------------------------- */
@media (max-width:860px){
  .pub-nav.is-hero-visible .pub-nav-cta{ display:none; }

  /* ---- Leichte Navigation ----
     Die große dunkle Leiste aus P12 ist weg. Lesbarkeit über hellen
     Fotos trägt jetzt die Schaltfläche selbst: eine kleine getönte
     Fläche am Element, kein zweites Rechteck über dem Bild. */
  .pub-nav{ padding-top:12px; padding-bottom:12px;
    background:linear-gradient(to bottom, rgba(16,14,19,0.72) 0%, rgba(16,14,19,0.28) 56%, rgba(16,14,19,0) 100%); }
  .pub-nav .btn{ padding:9px 17px; font-size:12.5px; }
  .pub-nav .btn-ghost{
    background:rgba(16,13,19,0.56); border-color:rgba(245,241,236,0.30);
    -webkit-backdrop-filter:blur(12px) saturate(115%); backdrop-filter:blur(12px) saturate(115%);
    text-shadow:0 1px 2px rgba(10,7,12,0.7); }
  @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
    .pub-nav .btn-ghost{ background:rgba(16,13,19,0.86); }
  }
}


/* ======================================================================== *
 * EINSTIEG -- "So funktioniert CRVD.KITCHEN"
 *
 * The one member screen that is a scrolling editorial document rather than a
 * one-viewport screen, and the only one with ScrollTrigger (app.js,
 * initJourney). Everything below is scoped to .jy.
 *
 * Visibility is the default here, deliberately: not one rule sets opacity:0
 * or hides a stage. Only GSAP hides, at runtime, inside its availability
 * check -- so no JavaScript, no GSAP, or prefers-reduced-motion all leave the
 * explanation complete and readable. That is why there is no reduced-motion
 * override in this block: there is nothing to override.
 * ======================================================================== */
/* DIE RINNE IST DIE DER HÜLLE, NICHT 20px. .app-content polstert mit
   max(16px, env(safe-area-inset-*)); der Reader schnitt mit 20px an und ragte
   damit 4px über den Viewport. Gemessen bei 375: Insel rechts bis 379, Leiste
   -4 bis 379. Zwei seitenrichtige Variablen treffen die Polsterung exakt --
   auch im Querformat, wo links und rechts verschieden sind.

   UND .jy KLAMMERT NICHT MEHR. `overflow:hidden` hat zweierlei zerstört:
   es hat jeden Anschnitt an der eigenen Kante abgeschnitten (sichtbar als
   16px Luft mit harter Kante statt Anschnitt) und es hat die klebende Leiste
   getötet -- hidden macht .jy zum Scroll-Container, und position:sticky klebt
   am nächsten Scroll-Container, der hier nie scrollt. Gemessen: die Leiste
   stand bei scrollY 900 auf top -733. Der Schutz gegen ein zu breites
   Dokument sitzt ohnehin eine Ebene höher auf .app-content (overflow-x:clip,
   das keinen Scroll-Container aufmacht). */
.jy{ --jy-gl:max(16px, env(safe-area-inset-left)); --jy-gr:max(16px, env(safe-area-inset-right));
  max-width:430px; margin:0 auto; padding-bottom:76px; position:relative; }

/* Die Topbar ist selbst sticky und 87px hoch (24 + 38 + 24 + 1), auf jeder
   Breite dieselbe. Ohne diesen Versatz klebte die Reader-Leiste bei 28px --
   also mitten in der Topbar, die bis 115 reicht. */
.jy-bar{ position:sticky; top:calc(var(--preview-banner-h, 0px) + 87px); z-index:12;
  background:rgba(15,13,18,.93); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--hairline);
  margin-left:calc(-1 * var(--jy-gl)); margin-right:calc(-1 * var(--jy-gr)); }
.jy-bar-in{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:48px; padding:0 var(--jy-gr) 0 var(--jy-gl); }
/* The Reader's own back control, laid flat into the bar: it is a block with a
   large glyph where the Story uses it, and this is a 48px row. */
.jy-bar .bt-detail-back{ display:inline-flex; align-items:center; gap:7px; margin:0; padding:0;
  min-height:44px; font-size:13.5px; color:var(--text-secondary); white-space:nowrap; }
.jy-bar .bt-detail-back svg{ width:16px; height:16px; flex:none; }
/* Four stages, four marks. Orientation, not animation: it runs in both the
   GSAP and the plain-scroll path. */
.jy-ticks{ display:flex; align-items:center; gap:5px; }
.jy-tick{ width:16px; height:2px; border-radius:2px; background:var(--hairline);
  transition:background-color 320ms var(--patient); }
.jy-tick.is-on{ background:var(--magenta); }

/* ---- Eröffnung: ein Bild, dann sofort die Überschrift ---- */
.jy-open{ position:relative; }
.jy-shot{ position:relative; margin:0 calc(-1 * var(--jy-gr)) 0 26%; aspect-ratio:1/1;
  overflow:hidden; border-radius:18px 0 0 18px; background:var(--surface); }
.jy-shot img{ display:block; width:100%; height:100%; object-fit:cover; object-position:52% 46%; }
.jy-shot::after{ content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(202deg, rgba(15,13,18,0) 30%, rgba(15,13,18,.74) 76%, var(--canvas) 100%); }
.jy-open-t{ position:relative; margin-top:-104px; }
.jy-hl{ margin:12px 0 0; font-family:var(--font-d); font-weight:500;
  font-size:clamp(32px, 9.2vw, 40px); line-height:1.02; letter-spacing:-.01em; color:var(--text-primary); }
/* The mask has to clear the umlaut. Oswald sets the diaeresis of Ä above the
   cap height, and a line box cut at cap height leaves two dashes floating
   over the headline -- visible on "VIER FLÄCHEN." before this. overflow
   clips to the padding box, so the padding is the room; the negative margin
   gives the layout back. */
.jy-ln{ display:block; overflow:hidden; padding-top:.16em; margin-top:-.16em; }
.jy-ln i{ display:block; font-style:normal; }
.jy-hl em{ font-style:normal; color:var(--muted); }
.jy-lead{ margin:16px 0 0; font-size:15px; line-height:1.6; color:var(--text-secondary); max-width:24em; }
.jy-rule{ height:1px; margin:36px 0 0; background:var(--hairline); }
/* No photograph: the page begins with type. Nothing is substituted. */
.jy.is-noimg .jy-shot, .jy.is-noimg .jy-plate{ display:none; }
.jy.is-noimg .jy-open-t{ margin-top:40px; }

/* ---- Etappe ---- */
.jy-stage{ position:relative; padding:50px 0 0; }
/* The folio replaces the progress line the earlier drafts had: a magazine
   page number, almost in the ground, drifting 14px slower than the content. */
.jy-folio{ position:absolute; top:28px; right:0; font-family:var(--font-d); font-weight:600;
  font-size:76px; line-height:1; letter-spacing:-.02em; color:#211C26;
  pointer-events:none; user-select:none; -webkit-user-select:none; }
.jy-k{ display:block; font-size:10px; font-weight:600; letter-spacing:.22em;
  text-transform:uppercase; color:var(--muted); }
/* All four stages share one size: they are peers, and the rhythm comes from
   the islands, not from arbitrary type scales. */
.jy-verb{ margin:10px 0 0; font-family:var(--font-d); font-weight:600;
  font-size:clamp(42px, 12.2vw, 52px); line-height:.98; letter-spacing:.01em;
  text-transform:uppercase; color:var(--text-primary); overflow:hidden;
  padding-top:.16em; margin-top:calc(10px - .16em); }
.jy-verb i{ display:block; font-style:normal; }
.jy-say{ margin:15px 0 0; font-size:14.5px; line-height:1.6; color:var(--text-secondary); max-width:23em; }
.jy-say b{ font-weight:600; color:var(--text-body); }

/* The product excerpt as a bleeding island: a surface that leaves the column
   and is cut by the screen edge. No border, no card, no shadow. */
.jy-isle{ margin:24px 0 0; background:var(--surface); padding:18px; }
.jy-isle.jy-right{ margin-right:calc(-1 * var(--jy-gr)); border-radius:16px 0 0 16px; }
.jy-isle.jy-left{ margin-left:calc(-1 * var(--jy-gl)); border-radius:0 16px 16px 0; }
.jy-isle.jy-full{ margin-left:calc(-1 * var(--jy-gl)); margin-right:calc(-1 * var(--jy-gr)); border-radius:0; }
.jy-isle-cook{ padding:20px 18px; }
.jy-cap{ display:block; margin:11px 0 0; font-size:10px; font-weight:600; letter-spacing:.16em;
  text-transform:uppercase; color:#6f656c; }
.jy-isle.jy-right ~ .jy-cap{ text-align:right; padding-right:2px; }

/* The bridge: the same photograph a third time, small, so the opening image
   and the row are visibly one dish. */
.jy-echo{ display:flex; align-items:center; gap:9px; margin:12px 0 0; }
.jy-echo-i{ flex:none; width:26px; height:26px; border-radius:7px; overflow:hidden; opacity:.9; }
.jy-echo-i img{ display:block; width:100%; height:100%; object-fit:cover; }
.jy-echo span{ font-size:12.5px; line-height:1.45; color:var(--muted); }
.jy.is-noimg .jy-echo{ display:none; }

/* Authentic product patterns, at the sizes they have in the product. */
.jy-rx{ display:flex; align-items:center; gap:13px; }
.jy-th{ flex:none; width:52px; height:52px; border-radius:13px; overflow:hidden; background:var(--surface-2); }
.jy-th img{ display:block; width:100%; height:100%; object-fit:cover; }
.jy-rx-n{ display:block; font-size:14.5px; line-height:1.25; color:var(--text-primary); }
.jy-rx-m{ display:block; margin-top:3px; font-size:12px; color:var(--muted); }
.jy-days{ display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:6px; }
.jy-day{ height:48px; border:1px solid var(--hairline); border-radius:10px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; }
.jy-day span{ font-size:10px; color:#6f656c; }
.jy-day.is-on{ border-color:var(--magenta); background:rgba(226,25,181,.1); }
.jy-day.is-on span{ color:var(--text-primary); }
.jy-li{ display:flex; align-items:center; justify-content:space-between; min-height:40px;
  border-bottom:1px solid var(--hairline); }
.jy-li:last-child{ border-bottom:0; }
.jy-li b{ font-weight:400; font-size:14px; color:var(--text-primary); }
.jy-li s{ color:#6f656c; }
.jy-li i{ font-style:normal; font-size:12.5px; color:var(--muted); }
.jy-buy{ display:flex; align-items:center; justify-content:center; min-height:46px; margin-top:12px;
  border-radius:999px; background:var(--magenta); color:#0F0D12; font-size:13.5px; font-weight:600; }
.jy-cooked{ display:flex; align-items:center; justify-content:center; min-height:52px;
  border-radius:999px; border:1px solid var(--border-default); font-size:14px; color:var(--text-primary); }
.jy-conf{ margin:12px 0 0; }
.jy-cl{ display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:34px; border-bottom:1px solid var(--hairline); font-size:13px; }
.jy-cl:last-child{ border-bottom:0; }
.jy-cl b{ font-weight:400; color:var(--text-primary); }
.jy-cl i{ font-style:normal; font-size:12px; color:var(--muted); text-align:right; }
.jy-cl i.is-no{ color:#6f656c; }

/* Der zweite Food-Moment: dasselbe Gericht, jetzt auf dem Tisch. */
.jy-plate{ position:relative; margin:24px calc(-1 * var(--jy-gr)) 0 24%; aspect-ratio:4/3;
  overflow:hidden; border-radius:16px 0 0 16px; background:var(--surface); }
.jy-plate img{ display:block; width:100%; height:100%; object-fit:cover; object-position:50% 58%; }
.jy-plate::after{ content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(15,13,18,.20) 0%, rgba(15,13,18,0) 40%); }

/* ---- Schluss und Rückwege ---- */
.jy-end{ padding:62px 0 0; }
.jy-end-h{ margin:0; font-family:var(--font-d); font-weight:500;
  font-size:clamp(32px, 9.2vw, 40px); line-height:1.04; letter-spacing:-.01em;
  color:var(--text-primary); overflow:hidden; padding-top:.16em; margin-top:-.16em; }
.jy-end-h i{ display:block; font-style:normal; }
.jy-end p{ margin:16px 0 0; font-size:14.5px; line-height:1.6; color:var(--muted); max-width:24em; }
.jy-exit{ margin:28px 0 0; padding:22px 0 0; border-top:1px solid var(--hairline); }
.jy-way{ display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%;
  min-height:60px; margin:6px 0 0; padding:12px 0; border:0; border-bottom:1px solid var(--hairline);
  background:none; color:inherit; font:inherit; text-align:left; cursor:pointer;
  -webkit-tap-highlight-color:transparent; }
.jy-way:last-of-type{ border-bottom:0; }
.jy-way-n{ display:block; font-size:15px; color:var(--text-primary); }
.jy-way-s{ display:block; margin-top:3px; font-size:12.5px; color:var(--muted); }
.jy-way:focus-visible{ outline:2px solid rgba(var(--hi), .85); outline-offset:3px; border-radius:6px; }

/* The Einstieg's own Hub row: the only entry above the narrative. */
.story-entry--einstieg .story-entry-teaser{ max-width:34ch; }

@media (min-width:768px){
  .jy{ max-width:560px; }
  .jy-shot{ margin-left:34%; }
  .jy-plate{ margin-left:32%; }
}

/* ======================================================================
 * KONTO 2.0 -- the account as a personal room
 * (Founder-approved direction A with B's placement, 2026-11-25)
 *
 * Scoped to .acct, .essen, .wt and the Konto hub dialog. Nothing here
 * reaches Start, Community or the global system: every selector begins at
 * one of those four roots, and the two Start helpers this reuses
 * (.hm-dest-mark, .hm-go) are only ever addressed through .acct.
 *
 * THE DIALECT. The V3.6 grammar already names Konto as one of three --
 * Start the editorial one, Community the conversational one, Konto the
 * calm one -- but Konto was the only screen that never declared the light
 * triad and hard-coded the same three colours instead. It declares them
 * now, so the two washes that were already here read from the screen's own
 * scope. Nothing rendered changes by that move.
 *
 * Calm is made by two means and no more: the ground sits one step below the
 * canvas, and the doors are a shade darker and quieter than Start's. Konto
 * is not a darker copy of Start -- its objects hang off the trace, its
 * right-hand column holds the member's own readings instead of a capsule,
 * and only one object on the screen carries a capsule at all.
 * ====================================================================== */

/* ---- 1 · THE ROOM ---------------------------------------------------- */
.acct{ --hi:245,241,236; --lit:214,198,226; --act:226,25,181;
  --kd-face:#15121B; --kd-face-hi:#1B1724; --kd-face-hover:#191520;
  position:relative; isolation:isolate; }
/* The ground, one step below the canvas. Not a panel: a wash with no edge
   anywhere -- it fades in under the topbar and out again before the screen
   ends, and it bleeds sideways into the clip .app-content already owns, so
   it can never widen the document (see the GLOBAL VIEWPORT FIX note). */
/* The wash fades at the TOP and the BOTTOM, and until now it was a solid fill
   sideways. On a phone that is invisible: the element bleeds 32px past a
   content box that clips it, so there is no horizontal edge to see. On a wide
   window the content column is far narrower than the area around it, so the
   same solid fill drew two hard vertical lines down the page -- the rectangle
   in the Founder's desktop screenshot. It fades sideways now as well, in
   pixels rather than per cent so the phone keeps exactly the ground it had:
   34px of fade against a 32px bleed means the opaque part still begins at the
   content edge. */
.acct::before{ content:''; position:absolute; z-index:-2; pointer-events:none;
  inset:-28px -32px -56px;
  background:linear-gradient(90deg, rgba(9,7,12,0) 0, #09070C 34px,
    #09070C calc(100% - 34px), rgba(9,7,12,0) 100%);
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 7%, #000 88%, transparent 100%);
  mask-image:linear-gradient(180deg, transparent 0%, #000 7%, #000 88%, transparent 100%); }
@media (min-width:1024px){
  /* Wide enough that a 34px fade would still read as an edge. */
  .acct::before{ inset:-28px -140px -56px;
    background:linear-gradient(90deg, rgba(9,7,12,0) 0, #09070C 150px,
      #09070C calc(100% - 150px), rgba(9,7,12,0) 100%); }
}

/* ---- 2 · THE MARK COLUMN ---------------------------------------------
   The one element of the doorway grammar the two domain surfaces lacked.
   Everything else about those surfaces is deliberately untouched: the
   asymmetric corner that hangs them off the trace, the directional light,
   the lift on approach and the linked state are already the composition
   this screen wants, and replacing them with a generic card would be a
   downgrade dressed as consistency. */
.acct .hm-dest-mark{ width:46px; height:46px; }
.acct-thread .kitchen-entry.acct-door{
  grid-template-columns:46px minmax(0, 1fr) auto; column-gap:var(--s4); }
.acct-thread .kitchen-entry.acct-door > .hm-dest-mark{ grid-column:1; grid-row:1; }
.acct-thread .kitchen-entry.acct-door .kitchen-entry-text{ grid-column:2; grid-row:1; }
.acct-thread .kitchen-entry.acct-door .dom-readout{ grid-column:3; grid-row:1;
  /* THE RAILS HAD BEEN COLLAPSING TO ZERO WIDTH ON A PHONE. Measured on the
     official Preview at 500px, and reproduced with the pre-2.0 grid in place,
     so it is not this pass's doing: .dom-line's rail track lost its whole size
     whenever the reading column was sized by content alone, which left each
     value right-aligned against nothing and the blade stacked on the edge.
     A floor on the reading column is the smallest fix that restores it -- the
     rail keeps its declared track, all three readings keep one length, and the
     blade has somewhere to sit again. Viewport-relative, so the domain name
     beside it keeps its measure on a narrow phone. */
  min-width:clamp(140px, 42vw, 190px); }
/* ON DESKTOP THE TWO DOORS STAND SIDE BY SIDE, and in a column of about 250px
   that floor is ruinous: 42vw is 430px at 1024, so the reading column alone
   demanded more than the whole card. The grid honoured it, the title column
   collapsed to nothing, and both cards broke -- "Essen & Kochen" one word per
   line, "Körper" printed behind its own measurement. That is the single cause
   of both desktop defects.
   So at this width the pair uses the SAME arrangement the phone uses, for the
   same reason: mark and title on one row, the reading on its own row beneath,
   each with its own area. The floor goes with it, because .dom-line declares
   the rail track outright here and nothing is left for it to protect. These
   rules sit after the door grammar above deliberately -- the two-up placement
   is declared in the earlier 1024 block, the layout is declared here, and the
   later one is the one that wins. */
@media (min-width:1024px){
  .acct-thread .kitchen-entry.acct-door{
    grid-template-columns:34px minmax(0, 1fr); column-gap:var(--s3); row-gap:0; }
  .acct-thread .kitchen-entry.acct-door > .hm-dest-mark{
    grid-column:1; grid-row:1 / span 2; align-self:start;
    width:34px; height:34px; }
  .acct-thread .kitchen-entry.acct-door > .hm-dest-mark svg{ width:22px; height:22px; }
  .acct-thread .kitchen-entry.acct-door .kitchen-entry-text{ grid-column:2; grid-row:1; }
  .acct-thread .kitchen-entry.acct-door .dom-readout{
    grid-column:2; grid-row:2; min-width:0; margin-top:14px; align-items:stretch; }
  .acct-thread .kitchen-entry.acct-door .dom-readout-single{
    justify-content:flex-start; align-items:flex-start; gap:5px; }
  .acct-thread [data-domain="koerper"] .dom-measure{ flex-wrap:wrap; }
  .acct-thread [data-domain="koerper"] .dom-measure-meta{ line-height:1.35; }
}
.acct .acct-door .hm-dest-mark svg{ color:rgba(var(--lit), .88);
  transition:color 300ms var(--patient); }
.acct .acct-door:hover .hm-dest-mark svg,
.acct .acct-door:focus-visible .hm-dest-mark svg,
.acct .acct-door.is-linked .hm-dest-mark svg{ color:rgba(var(--hi), .95); }
/* Each mark stands in its own light, the way Start's do. Körper's is the
   quieter of the two, because that domain is subordinate here. */
.acct .acct-door .hm-dest-glow{ inset:-15px -21px;
  background:radial-gradient(closest-side, rgba(var(--lit), .17) 0%,
    rgba(var(--lit), .055) 52%, rgba(var(--lit), 0) 100%); }
.acct .acct-door-koerper .hm-dest-glow{ inset:-13px -18px;
  background:radial-gradient(closest-side, rgba(var(--lit), .10) 0%, rgba(var(--lit), 0) 72%); }
/* ON A PHONE THE READING MOVES UNDER THE NAME. Three answers, a rail each and
   a domain name will not share one row at 390px -- "Reste lieber frisch" alone
   is a third of the width -- and forcing them to is what squeezed the rails to
   nothing in the first place. Stacked, the name keeps one line, each reading
   keeps a rail long enough to mean something, and the mark spans both rows so
   the object still reads as one door. No value, no rail and no blade changes:
   only where the column sits. */
/* The line sits at 520px, which is where the measurement says the side-by-side
   row stops working: below it the domain name is left with under 160px and
   breaks across three lines. */
@media (max-width:519px){
  .acct-thread .kitchen-entry.acct-door{
    grid-template-columns:34px minmax(0, 1fr); column-gap:var(--s3); row-gap:0; }
  .acct-thread .kitchen-entry.acct-door > .hm-dest-mark{
    grid-column:1; grid-row:1 / span 2; align-self:start;
    width:34px; height:34px; }
  .acct-thread .kitchen-entry.acct-door .hm-dest-mark svg{ width:22px; height:22px; }
  .acct-thread .kitchen-entry.acct-door .kitchen-entry-text{ grid-column:2; grid-row:1; }
  .acct-thread .kitchen-entry.acct-door .dom-readout{
    grid-column:2; grid-row:2; min-width:0; margin-top:14px; }
}

/* ---- 3 · THE DOOR TO THE HUB ------------------------------------------
   Start's object, in Konto's dialect, and the only object on this screen
   that carries a go-capsule -- because it is the only one that leads
   somewhere the member cannot already read from where they stand. It sits
   directly under the identity block, which is the whole point: the
   administrative layer used to be a lid at the foot of a long scroll. */
.acct .acct-door-hub{ position:relative; isolation:isolate; display:grid;
  grid-template-columns:46px minmax(0, 1fr) auto; column-gap:var(--s3);
  align-items:center; width:100%; min-height:96px; margin:0;
  padding:15px 15px 15px 14px; border:0; border-radius:18px; overflow:hidden;
  background:linear-gradient(162deg, #221E2A 0%, #15121B 72%);
  box-shadow:inset 0 0 0 1px rgba(var(--hi), .075);
  color:inherit; font:inherit; text-align:left; cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background-color 220ms var(--patient), box-shadow 300ms var(--patient); }
/* The lit top edge: 1px, bright from the left, out to the right. The same
   component Start's doorways draw, at the same values. */
.acct .acct-door-hub::after{ content:''; position:absolute; left:14px; right:14px; top:0;
  height:1px; pointer-events:none;
  background:linear-gradient(90deg, rgba(var(--hi), 0) 0%, rgba(var(--hi), .30) 18%,
    rgba(var(--hi), .07) 62%, rgba(var(--hi), 0) 100%); }
/* Response is surface, not movement: the door lifts tonally and its ring
   draws in. No squash, no travel -- the same decision Start's doorways carry. */
.acct .acct-door-hub:active{ background-color:var(--kd-face-hi);
  box-shadow:inset 0 0 0 1px rgba(var(--hi), .15); }
@media (hover:hover){
  .acct .acct-door-hub:hover{ background-color:var(--kd-face-hover);
    box-shadow:inset 0 0 0 1px rgba(var(--hi), .13); }
  .acct .acct-door-hub:hover .acct-door-line{ color:var(--text-primary); }
}
.acct .acct-door-hub:focus-visible{ outline:2px solid var(--magenta);
  outline-offset:3px; border-radius:18px; }
.acct .acct-door-hub .hm-dest-mark svg{ color:rgba(228,204,192,.9); }
/* The warm light of the Story doorway, gathered in the mark -- Konto's door
   is about the member's own account, so it takes the warm neutral rather
   than the cool one the two domains share. */
.acct .acct-door-hub .hm-dest-glow{ inset:-17px -25px -17px -19px; border-radius:46%;
  background:
    radial-gradient(70% 120% at 10% 10%, rgba(228,204,192,.25), rgba(228,204,192,0) 68%),
    radial-gradient(closest-side, rgba(var(--act), .13) 0%, rgba(var(--act), 0) 74%); }
.acct .acct-door-body{ display:block; min-width:0; }
.acct .acct-door-hub .hm-k{ display:block; font-size:9px; letter-spacing:.13em;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.acct-door-line{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; margin-top:6px; font-family:var(--font-d); font-weight:500;
  font-size:17px; line-height:1.18; letter-spacing:.005em;
  color:rgba(var(--hi), .92); transition:color 300ms var(--patient); }
.acct-door-sub{ display:block; margin-top:5px; font-size:12px; line-height:1.4;
  color:var(--muted); }
/* One capsule, the measure Start already set: 104px, sized to its longest
   word. The capsule's own hover/focus lighting rides on [data-ot], which the
   door carries, so no script is needed for it here. */
.acct .hm-go{ box-sizing:border-box; min-width:104px; height:36px;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:0 10px; border-radius:999px; font-size:9px; letter-spacing:.12em; }
.acct .hm-go .hm-arw, .acct .hm-go .hm-arw svg{ width:12px; height:12px; }
/* The same 380px line Start draws: above it the capsule keeps its word, below
   it the capsule IS the mark and the door's own kicker names the place. */
@media (max-width:379px){
  .acct .acct-door-hub{ grid-template-columns:40px minmax(0, 1fr) auto; column-gap:11px; }
  .acct .acct-door-hub .hm-dest-mark{ width:40px; height:40px; }
  .acct .hm-go{ min-width:0; width:36px; padding:0; }
  .acct .hm-go-l{ display:none; }
  /* The sub stays: it is the only place the five groups are named, and the
     door is wide enough for it once the capsule gives up its word. */
  .acct-door-sub{ font-size:11.5px; }
}
@media (prefers-reduced-motion:reduce){
  .acct .acct-door-hub, .acct-door-line,
  .acct .acct-door .hm-dest-mark svg{ transition:none; }
}
/* Desktop: the door is not a tier, so it has no mark in the left rail -- it
   simply stands on the content axis the three tiers share. */
@media (min-width:1024px){
  /* ALIGNMENT. The screen's desktop grammar is one editorial grid: a 10.5rem
     label column, then the content. The hub door carried that indent but its
     own 36rem measure, which at 1024 is wider than the column the rest of the
     screen lives in -- so it alone ran past every other section's right edge,
     and the composition read as fragmented. It keeps the measure where there
     is room for it and otherwise ends where its neighbours end. */
  .acct .acct-door-hub{ margin-left:calc(10.5rem + var(--s7));
    max-width:min(36rem, calc(100% - 10.5rem - var(--s7))); min-height:104px; }
}

/* ---- 4 · THE KONTO HUB ------------------------------------------------
   A dedicated surface, not a settings popup. On a phone it fills the screen
   on the page's own canvas -- the same full-screen dialog treatment the
   planning dialogs established, reused rather than reinvented. From 768px
   it is the centred dialog every other kind gets, one measure wider.
   Everything structural about it (Escape, the trap, focus return, the
   history entry) belongs to dlgShell and is untouched here. */
.sheet-konto{ --hi:245,241,236; --lit:214,198,226; --act:226,25,181; }
@media (max-width:767px){
  .sheet-backdrop.is-dialog .sheet-konto{
    height:100%; max-height:none; max-width:none; border-radius:0;
    background:#0A080E;
    padding:calc(var(--preview-banner-h, 0px) + 14px) 20px max(24px, env(safe-area-inset-bottom)); }
  .sheet-konto .sheet-handle{ display:none; }
}
@media (min-width:768px){
  .sheet-backdrop.is-dialog .sheet-konto{ max-width:46rem; background:#15121B;
    padding:var(--s6) var(--s6) var(--s7); }
}
.kh{ position:relative; }
.kh-head{ position:relative; padding:0 46px var(--s6) 0; }
.kh-head .kicker{ margin:0 0 10px; }
.kh-title{ font-family:var(--font-d); font-weight:500; text-transform:none;
  font-size:clamp(28px, 7vw, 38px); line-height:1.04; letter-spacing:.006em;
  color:var(--text-primary); margin:0 0 10px; }
.kh-lede{ margin:0; font-size:14.5px; line-height:1.6; color:var(--text-secondary);
  max-width:38ch; }
.kh-close{ position:absolute; top:-4px; right:-4px; width:40px; height:40px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%; border:1px solid var(--hairline); background:none;
  color:var(--text-secondary); cursor:pointer;
  transition:color 200ms ease, border-color 200ms ease; }
.kh-close svg{ width:17px; height:17px; }
.kh-close:hover{ color:var(--text-primary); border-color:var(--border-strong); }
.kh-close:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }

/* FIVE GROUPS, in the Founder's order. Each is a titled region, not a tile:
   the heading says what the group is, and what is inside it is either a
   destination or a stated fact. No card, no rule across the surface. */
.kh-groups{ display:grid; grid-template-columns:1fr; gap:var(--s7); }
.kh-g{ position:relative; }
.kh-g-h{ font-family:var(--font-d); font-weight:500; text-transform:none;
  font-size:19px; line-height:1.1; letter-spacing:.012em;
  color:rgba(var(--hi), .46); margin:0 0 var(--s3); }
.kh-g .account-row{ font-size:14px; }
.kh-note{ margin:10px 0 0; font-size:12.5px; line-height:1.6; color:var(--muted);
  max-width:46ch; }
.kh-note-lead{ margin-top:0; color:var(--text-secondary); font-size:14px; }
/* A row is a door at the smallest rank this product draws one: the name, what
   it is, and the direction. Full-width target, 44px minimum, hairline under. */
.kh-row{ display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center;
  gap:var(--s4); width:100%; min-height:48px; padding:12px 0; border:0;
  border-bottom:1px solid var(--hairline); background:none; color:inherit;
  font:inherit; text-align:left; cursor:pointer;
  -webkit-tap-highlight-color:transparent; }
.kh-row:disabled{ opacity:.55; cursor:default; }
/* An action row has no arrow, so its single column takes the whole width. */
.kh-row-act{ grid-template-columns:minmax(0, 1fr); }
.kh-row-act .kh-row-n{ color:var(--text-secondary); text-decoration:underline;
  text-underline-offset:4px; text-decoration-color:var(--text-disabled); }
.kh-row-act:hover:not(:disabled) .kh-row-n,
.kh-row-act:focus-visible .kh-row-n{ text-decoration-color:var(--border-strong); }
.kh-row-t{ display:block; min-width:0; }
.kh-row-n{ display:block; font-size:15px; line-height:1.35; color:var(--text-body);
  transition:color 220ms var(--patient); }
.kh-row-s{ display:block; margin-top:3px; font-size:12px; line-height:1.45;
  color:var(--text-disabled); }
.kh-row-a{ display:inline-flex; width:17px; height:17px; color:var(--text-disabled);
  transition:color 220ms var(--patient), transform 220ms var(--patient); }
.kh-row-a svg{ width:100%; height:100%; }
.kh-row:hover:not(:disabled) .kh-row-n,
.kh-row:focus-visible .kh-row-n{ color:var(--text-primary); }
.kh-row:hover:not(:disabled) .kh-row-a,
.kh-row:focus-visible .kh-row-a{ color:var(--text-secondary); transform:translateX(2px); }
.kh-row:focus-visible{ outline:2px solid var(--magenta); outline-offset:2px; border-radius:6px; }
@media (prefers-reduced-motion:reduce){
  .kh-row-n, .kh-row-a{ transition:none; }
  .kh-row:hover:not(:disabled) .kh-row-a, .kh-row:focus-visible .kh-row-a{ transform:none; }
}
/* Moderation keeps the gate it always had: an ordinary Member never reaches
   this markup at all. Set apart inside its group because it is work done on
   behalf of the house, not a setting of the member's own. */
.kh-sub{ margin-top:var(--s4); padding:14px 15px 4px; border-radius:var(--radius);
  background:rgba(226,25,181,.05); box-shadow:inset 0 0 0 1px rgba(226,25,181,.16); }
.kh-sub .account-row{ border-bottom-color:rgba(226,25,181,.18); }
.kh-sub .kh-row{ border-bottom:0; }

/* DELETION. Not a danger zone shouting at a member on their own account, and
   not a row among the destinations either: its own region below everything,
   separated by space and one seam, in the quietest type on the surface. The
   whole explanation lives behind it, in the sheet it opens. */
.kh-danger{ margin-top:var(--s8); padding-top:var(--s5);
  border-top:1px solid var(--hairline); }
.kh-del{ display:inline-block; padding:8px 0; border:0; background:none;
  font:inherit; font-size:13px; color:var(--text-disabled); cursor:pointer;
  text-decoration:underline; text-underline-offset:4px;
  transition:color 200ms ease; }
.kh-del:hover, .kh-del:focus-visible{ color:var(--action-destructive-on-surface); }
.kh-del:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; border-radius:4px; }
@media (min-width:768px){
  .kh-groups{ grid-template-columns:1fr 1fr; column-gap:var(--s7); row-gap:var(--s7); }
  .kh-g:first-child{ grid-column:1 / -1; }
}

/* ---- 4b · THE AVATAR LIBRARY ------------------------------------------
   The Konto dialog, carrying objects instead of sentences. Everything
   structural is .sheet-ka's; this adds the preview, the grids and the two
   states a tile can be in. Scoped to .sheet-avatars throughout. */
.sheet-avatars .ka-head{ padding-bottom:var(--s4); }
/* THE PREVIEW follows the pending choice, never the database. */
.av-now{ display:grid; grid-template-columns:64px minmax(0, 1fr); gap:14px;
  align-items:center; padding:12px 14px; margin:0 0 var(--s5);
  border-radius:16px; background:#181320; box-shadow:inset 0 0 0 1px rgba(var(--hi), .07); }
.av-now-i{ position:relative; width:64px; height:64px; border-radius:50%; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(158deg, #272230 0%, #16131C 76%);
  box-shadow:inset 0 0 0 1px rgba(var(--hi), .10); }
.av-now-i img{ display:block; width:100%; height:100%; object-fit:contain; }
.av-now-t{ font-family:var(--font-d); font-weight:500; font-size:22px;
  letter-spacing:.06em; color:var(--text-primary); }
.av-now-b{ display:block; min-width:0; }
.av-now-l{ display:block; font-size:9px; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--muted); }
.av-now-v{ display:block; margin-top:4px; font-family:var(--font-d); font-weight:500;
  font-size:16px; letter-spacing:.03em; color:var(--text-primary); }
.av-now-s{ display:block; margin-top:2px; font-size:11.5px; color:var(--muted); }

.av-grp{ margin:0 0 var(--s6); }
.av-grp-h{ display:flex; align-items:baseline; gap:9px; margin-bottom:3px; }
.av-grp-n{ font-family:var(--font-d); font-weight:500; font-size:15px;
  letter-spacing:.07em; text-transform:uppercase; color:var(--text-primary); }
/* Restrained recognition: a tag the size of a word, never a badge, never a lock
   on every tile. */
.av-grp-t{ font-family:var(--font-c); font-size:8px; font-weight:700; letter-spacing:.14em;
  color:var(--magenta-text-safe); border:1px solid rgba(226,25,181,.35);
  border-radius:999px; padding:1px 6px; }
.av-grp-l{ margin:0 0 var(--s4); font-size:12px; line-height:1.5; color:var(--muted); }
.av-grp-pl8{ margin:var(--s3) 0 0; font-size:12px; line-height:1.55; color:var(--text-secondary); }
.av-grp-pl8 .btn-quiet{ font-size:12px; min-height:0; }

.av-grid{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:9px; }
@media (min-width:560px){ .av-grid{ grid-template-columns:repeat(6, minmax(0, 1fr)); } }
.av-tile{ position:relative; padding:5px; border:0; border-radius:14px;
  background:#181320; box-shadow:inset 0 0 0 1px rgba(var(--hi), .06);
  cursor:pointer; -webkit-tap-highlight-color:transparent;
  transition:background-color 200ms var(--patient), box-shadow 200ms var(--patient); }
.av-tile img{ display:block; width:100%; aspect-ratio:1/1; height:auto;
  border-radius:50%; object-fit:contain; }
@media (hover:hover){ .av-tile:hover{ background-color:#1D1727;
  box-shadow:inset 0 0 0 1px rgba(var(--hi), .13); } }
.av-tile:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; border-radius:14px; }
/* The selected object: the ring and the check the Konto dialogs already use. */
.av-tile.is-on{ background:#1E1324; box-shadow:inset 0 0 0 1px rgba(var(--act), .6); }
.av-tile.is-on::after{ content:''; position:absolute; right:-3px; bottom:-3px;
  width:17px; height:17px; border-radius:50%; background:var(--magenta);
  box-shadow:0 0 0 2.5px #120F17; }
.av-tile.is-on::before{ content:''; position:absolute; right:-3px; bottom:-3px; z-index:2;
  width:17px; height:17px; background-color:#120F17;
  -webkit-mask:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12.5 9.8 17.3 19 7.4"/></svg>') center/11px no-repeat;
  mask:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12.5 9.8 17.3 19 7.4"/></svg>') center/11px no-repeat; }
/* Not reachable, but fully visible: the collection is discoverable, and the
   objects keep their material. Dimmed by a step, never greyed out. */
.av-tile.is-locked{ cursor:default; }
.av-tile.is-locked img{ opacity:.62; }
.av-grp.is-locked .av-grp-n{ color:var(--text-secondary); }

/* The monogram is an option of its own, never a reset button. */
.av-grp-mono .av-grp-h{ margin-bottom:var(--s3); }
.av-mono{ display:flex; align-items:center; gap:13px; width:100%; min-height:62px;
  padding:10px 14px 10px 10px; border:0; border-radius:14px; background:#181320;
  box-shadow:inset 0 0 0 1px rgba(var(--hi), .06); color:inherit; font:inherit;
  text-align:left; cursor:pointer; -webkit-tap-highlight-color:transparent;
  transition:background-color 200ms var(--patient), box-shadow 200ms var(--patient); }
.av-mono-i{ flex:none; width:42px; height:42px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(158deg, #272230 0%, #16131C 76%);
  box-shadow:inset 0 0 0 1px rgba(var(--hi), .10);
  font-family:var(--font-d); font-weight:500; font-size:16px; letter-spacing:.06em;
  color:var(--text-primary); }
.av-mono-t{ font-size:14px; color:var(--text-body); }
@media (hover:hover){ .av-mono:hover{ background-color:#1D1727; } }
.av-mono:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; border-radius:14px; }
.av-mono.is-on{ background:#1E1324; box-shadow:inset 0 0 0 1px rgba(var(--act), .55); }
.av-mono.is-on .av-mono-t{ color:var(--text-primary); }
.sheet-avatars .preview-note{ margin-top:var(--s4); }
@media (prefers-reduced-motion:reduce){ .av-tile, .av-mono{ transition:none; } }

/* ---- 5 · THE TWO DOMAIN SCREENS --------------------------------------
   Essen & Kochen and Körper are Konto seen closer, so they stand on Konto's
   ground and declare Konto's light. Their instruments, their copy, their
   controls and their consent surfaces are untouched: only the room they
   stand in changed. */
.essen, .wt{ --hi:245,241,236; --lit:214,198,226; --act:226,25,181;
  position:relative; isolation:isolate; }
.essen::before, .wt::before{ content:''; position:absolute; z-index:-2;
  pointer-events:none; inset:-28px -32px -56px; background:#09070C;
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 7%, #000 88%, transparent 100%);
  mask-image:linear-gradient(180deg, transparent 0%, #000 7%, #000 88%, transparent 100%); }
/* One pool of light where the screen opens, at Konto's strength rather than
   Start's: the title and the first instrument sit in it, and it is gone
   before the foot of the screen. */
.essen::after, .wt::after{ content:''; position:absolute; z-index:-1;
  pointer-events:none; inset:-40px -28px 58%;
  background:
    radial-gradient(66% 44% at 76% 26%, rgba(var(--act), .075) 0%, rgba(var(--act), 0) 72%),
    radial-gradient(58% 38% at 20% 18%, rgba(var(--lit), .038) 0%, rgba(var(--lit), 0) 74%);
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 24%, #000 72%, transparent 100%);
  mask-image:linear-gradient(180deg, transparent 0%, #000 24%, #000 72%, transparent 100%); }

/* ======================================================================
 * KONTO 2.0 -- THE UPPER SCREEN (Founder visual refinement, 2026-11-27)
 *
 * The first viewport was three stacked blocks of text on near-black: a name,
 * a sentence with an underlined phrase beneath it, and five uppercase words
 * in a row. Nothing on it was an object, and nothing said what could be
 * changed. It now opens with the member themselves as a mark, and the two
 * things they can actually adjust are two surfaces of the same family as the
 * door below them -- a mark in its own column, their own answer in full, and
 * a named way in. Same facts, same destinations, same writers.
 * ====================================================================== */

/* ---- 1 · THE PERSON --------------------------------------------------- */
.acct-id{ margin-bottom:var(--s7); }
/* The monogram. Initials, in display type, on the product's own disc -- not
   an avatar, not an upload, and deliberately not the Signal, which stays
   behind the plate as belonging (Constitution §1.2, LOCKED). */
/* PERSONAL IDENTITY STAGE. The disc stops being the object and becomes the
   ground the object stands on: the member's artwork is the eyecatcher, the
   circle behind it is atmosphere. The wrapper is the stage (object plus its
   invitation); the disc is the ground. */
.acct-mono{ position:relative; display:inline-flex; flex-direction:column;
  align-items:center; gap:10px; margin:0 0 var(--s5); }
.acct-mono-disc{ position:relative; isolation:isolate; display:flex;
  align-items:center; justify-content:center; width:64px; height:64px;
  border-radius:50%; overflow:hidden;
  background:linear-gradient(158deg, #272230 0%, #16131C 76%);
  box-shadow:inset 0 0 0 1px rgba(var(--hi), .10); }
/* One lit edge along the top of the disc, the same component every surface
   on this screen draws, bent to a circle. */
.acct-mono-disc::after{ content:''; position:absolute; inset:0; border-radius:50%;
  pointer-events:none;
  background:linear-gradient(168deg, rgba(var(--hi), .22) 0%, rgba(var(--hi), .04) 34%, rgba(var(--hi), 0) 62%);
  -webkit-mask-image:radial-gradient(closest-side, transparent 0 calc(100% - 1.2px), #000 calc(100% - 1.2px));
  mask-image:radial-gradient(closest-side, transparent 0 calc(100% - 1.2px), #000 calc(100% - 1.2px)); }
/* A close magenta bloom, at the Signal's own restraint: the mark is lit, not
   coloured. Never brighter than the member's name above it. */
.acct-mono-disc::before{ content:''; position:absolute; z-index:-1; inset:-40%;
  pointer-events:none; border-radius:50%;
  background:radial-gradient(closest-side, rgba(var(--act), .20) 0%, rgba(var(--act), 0) 72%); }
.acct-mono-t{ font-family:var(--font-d); font-weight:500; font-size:24px;
  line-height:1; letter-spacing:.06em; color:var(--text-primary); }
.acct-mono-btn{ padding:0; border:0; background:none; cursor:pointer;
  -webkit-tap-highlight-color:transparent; font:inherit; color:inherit; }
.acct-mono-img{ display:block; width:100%; height:100%; object-fit:contain; }
.acct-mono-edit{ position:absolute; right:-1px; bottom:-1px; z-index:2;
  width:24px; height:24px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; background:#1C1824; color:var(--text-secondary);
  box-shadow:0 0 0 2px var(--kd-ground, #0B090E), inset 0 0 0 1px rgba(var(--hi), .16);
  transition:color 200ms ease, background-color 200ms ease; }
.acct-mono-edit svg{ width:12px; height:12px; }
/* The invitation. Body case, no tracking, no capsule: a member who does not
   know an object can be chosen learns it here, and nobody reads it as a
   second button competing with "Namen ändern". */
.acct-mono-cap{ display:block; font-size:12px; line-height:1.3;
  color:var(--text-disabled); text-align:center; white-space:nowrap;
  transition:color 220ms var(--patient); }
.acct-mono-btn:hover .acct-mono-disc{ box-shadow:inset 0 0 0 1px rgba(var(--hi), .2); }
.acct-mono-btn:hover .acct-mono-edit{ color:var(--text-primary); background:#241E2D; }
.acct-mono-btn:hover .acct-mono-cap{ color:var(--text-secondary); }
.acct-mono-btn:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px;
  border-radius:14px; }
@media (min-width:560px){ .acct-mono-edit{ width:27px; height:27px; } .acct-mono-edit svg{ width:13px; height:13px; } }
@media (prefers-reduced-motion:reduce){ .acct-mono-disc, .acct-mono-edit, .acct-mono-cap{ transition:none; } }
.acct-mono-i{ display:flex; color:rgba(var(--hi), .6); }
.acct-mono-i svg{ width:28px; height:28px; display:block; }

.acct-id .acct-name{ margin:0 0 var(--s3); }
/* Membership and address, finally one line of metadata instead of two
   statements -- same two facts, same quiet weight, aligned on one baseline.
   The address keeps its own case and spacing, because case is meaningful in
   an address and a member-since date's is not. */
.acct-meta{ display:flex; flex-wrap:wrap; align-items:baseline; gap:3px var(--s3);
  margin:0 0 var(--s4); }
.acct-id .acct-since{ display:inline; margin:0; }
.acct-id .acct-email{ margin:0; }
.acct-meta-sep{ display:none; width:3px; height:3px; border-radius:50%;
  background:var(--text-disabled); align-self:center; }
/* Changing the name is a control now, not an underlined phrase inside an
   uppercase label: a real target, with the mark that says what it does. */
.acct-name-edit{ display:inline-flex; align-items:center; gap:8px;
  min-height:40px; padding:0 14px 0 11px; border:0; border-radius:999px;
  background:rgba(var(--hi), .05); box-shadow:inset 0 0 0 1px rgba(var(--hi), .16);
  color:var(--text-secondary); font-family:var(--font-c); font-size:11px;
  font-weight:600; letter-spacing:.14em; text-transform:uppercase; cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background-color 200ms ease, box-shadow 200ms ease, color 200ms ease; }
.acct-name-edit svg{ width:15px; height:15px; flex:none; }
.acct-name-edit:hover{ background:rgba(var(--hi), .09);
  box-shadow:inset 0 0 0 1px rgba(var(--hi), .28); color:var(--text-primary); }
.acct-name-edit:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }
/* PERSONAL IDENTITY HERO. The mark stops being a small disc above a name and
   becomes the screen's second subject, beside it. It sits RIGHT: the name is
   still what you read first, the object holds the outer margin the way an
   editorial page holds an image, and it lands at the same corner of the screen
   the member header wears it in -- so the two are plainly the same thing.
   Nothing else about the beat changes: same markup, same single control, same
   name-editing button, same destination. */
/* ---- THE IDENTITY STAGE (Personal Identity 1.0) ----------------------
   Four things, in one order, and the order is the composition: the object,
   the name, the membership, the two ways to change them. What was restless
   before was four voices at one volume -- an oversized name, a bright mark,
   an address and a brand symbol all claiming the top of the screen. Three of
   them step back. The address left the stage entirely (it is account
   information, and it lives in the hub now), the name comes down a step, the
   Signal dims to a brand layer, and the circle behind the object stops being
   a container so the artwork itself can be the thing you look at. */
.acct-id{ display:grid; grid-template-columns:minmax(0, 1fr) auto;
  column-gap:var(--s4); align-items:start; }
.acct-id > .acct-mono{ grid-column:2; grid-row:1; margin:0; }
.acct-id-t{ grid-column:1; grid-row:1; min-width:0; }

/* THE OBJECT IS THE EYECATCHER, not the disc it stands on. The ground keeps
   its lit edge and its gradient, both far quieter, and the artwork is drawn
   slightly PAST it -- normalised geometry sits inside 85.9% of its canvas, so
   1.18 puts the object's own circle just over the disc's edge. The circle
   reads as light behind an object instead of a frame around a picture, and
   nothing is cropped: this container does not clip. */
 /* 140 rather than 150: the difference is what lets "Am Tisch seit September
    2026" stay one line beside it on a 390px phone, and the object loses
    nothing a member would notice. */
.acct-id .acct-mono-disc{ width:140px; height:140px; overflow:visible;
  background:radial-gradient(closest-side, rgba(var(--hi), .055) 0%, rgba(var(--hi), .018) 62%, rgba(var(--hi), 0) 100%);
  box-shadow:none; }
.acct-id .acct-mono-disc::after{
  background:linear-gradient(168deg, rgba(var(--hi), .13) 0%, rgba(var(--hi), .02) 38%, rgba(var(--hi), 0) 64%); }
/* A close bloom, pulled right in: at this size anything wider reads as a ring
   around the object, which is the one thing the two identity marks must never
   do to each other. */
.acct-id .acct-mono-disc::before{ inset:-8%;
  background:radial-gradient(closest-side, rgba(var(--act), .11) 0%, rgba(var(--act), 0) 78%); }
.acct-id .acct-mono-img{ transform:scale(1.18);
  filter:drop-shadow(0 8px 16px rgba(0, 0, 0, .55)); }
/* The badge sits ON the object rather than beside it -- at 7.5% in from the
   disc's lower-left corner, which is where the object's own silhouette passes
   at this scale, so it reads as attached to the thing it edits. Whole, too:
   this container does not clip. */
.acct-id .acct-mono-edit{ right:auto; left:7.5%; bottom:7.5%; }
.acct-id .acct-mono-t{ font-size:46px; }
.acct-id .acct-mono-i svg{ width:52px; height:52px; }

/* THE NAME comes down a step. It is still the condensed display face and
   still the largest type in the block -- it simply stops being larger than
   the person it names. Long names get a tighter measure, never a smaller
   face. */
.acct-id .acct-name{ font-size:clamp(27px, 7.1vw, 34px); line-height:1.04;
  min-height:0; margin:2px 0 var(--s3); overflow-wrap:anywhere; }
/* MEMBERSHIP RECOGNITION as an editorial subline: a sentence, in body case,
   on the baseline the rest of the screen uses. Not a label. */
.acct-id .acct-since{ display:block; margin:0 0 var(--s4);
  font-family:var(--font-b); font-size:13.5px; line-height:1.45;
  letter-spacing:0; text-transform:none; color:var(--text-secondary); }

@media (min-width:560px){
  .acct-mono-t{ font-size:28px; }
  .acct-mono-i svg{ width:33px; height:33px; }
  .acct-meta-sep{ display:block; }
  .acct-id{ column-gap:var(--s6); }
  .acct-id .acct-mono-disc{ width:176px; height:176px; }
  .acct-id .acct-mono-t{ font-size:54px; }
  .acct-id .acct-mono-i svg{ width:60px; height:60px; }
  .acct-id .acct-name{ font-size:clamp(34px, 4.4vw, 44px); }
  .acct-id .acct-since{ font-size:14px; }
}
@media (min-width:1024px){
  .acct-id{ column-gap:var(--s7); align-items:center; }
  .acct-id .acct-mono-disc{ width:208px; height:208px; }
  .acct-id .acct-mono-t{ font-size:64px; }
  .acct-id .acct-mono-i svg{ width:72px; height:72px; }
  .acct-id .acct-name{ font-size:48px; }
}
/* Below 360px the two columns stop being two columns rather than crush the
   name: the object goes above it, still large, still the first thing read. */
@media (max-width:359px){
  .acct-id{ grid-template-columns:minmax(0, 1fr); }
  .acct-id > .acct-mono{ grid-column:1; grid-row:1; justify-self:start;
    margin:0 0 var(--s4); }
  .acct-id-t{ grid-column:1; grid-row:2; }
  .acct-id .acct-mono-disc{ width:124px; height:124px; }
  .acct-id .acct-mono-t{ font-size:38px; }
  .acct-id .acct-mono-i svg{ width:44px; height:44px; }
  .acct-id .acct-name{ font-size:30px; }
}

/* ---- 2 · THE TWO ADJUSTABLE SURFACES ----------------------------------
   One family with the door below them, one rank quieter: the door leads out
   of this screen, these two state the member's own answer and open the sheet
   that changes it. Same geometry, same lit edge, same press response. */
.acct-surface{ position:relative; isolation:isolate; display:grid;
  grid-template-columns:44px minmax(0, 1fr) auto; column-gap:var(--s3);
  align-items:center; width:100%; min-height:84px; margin:0 0 10px;
  padding:14px; border:0; border-radius:16px; overflow:hidden;
  background:#141019; box-shadow:inset 0 0 0 1px rgba(var(--hi), .055);
  color:inherit; font:inherit; text-align:left; cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background-color 220ms var(--patient), box-shadow 300ms var(--patient); }
.acct-surface::after{ content:''; position:absolute; left:13px; right:13px; top:0;
  height:1px; pointer-events:none;
  background:linear-gradient(90deg, rgba(var(--hi), 0) 0%, rgba(var(--hi), .24) 18%,
    rgba(var(--hi), .06) 62%, rgba(var(--hi), 0) 100%); }
.acct-surface:active{ background-color:#1A1522; box-shadow:inset 0 0 0 1px rgba(var(--hi), .13); }
@media (hover:hover){
  .acct-surface:hover{ background-color:#181320; box-shadow:inset 0 0 0 1px rgba(var(--hi), .11); }
  .acct-surface:hover .acct-anchor, .acct-surface:hover .acct-focus-name{ color:var(--text-primary); }
}
.acct-surface:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; border-radius:16px; }
/* The mark sits in its own light, cool for the week and magenta-lit for the
   Focus the member has actually chosen -- the one place on this pair where
   the brand accent earns its appearance. */
.acct-surface-mark{ position:relative; display:flex; align-items:center;
  justify-content:center; width:44px; height:44px; color:rgba(var(--lit), .88); }
.acct-surface-mark::before{ content:''; position:absolute; z-index:-1; inset:-13px -17px;
  border-radius:50%; pointer-events:none;
  background:radial-gradient(closest-side, rgba(var(--lit), .15) 0%, rgba(var(--lit), 0) 74%); }
.acct-surface-mark svg{ display:block; }
.acct-surface-focus.is-set .acct-surface-mark{ color:var(--magenta-text-safe); }
.acct-surface-focus.is-set .acct-surface-mark::before{
  background:radial-gradient(closest-side, rgba(var(--act), .22) 0%, rgba(var(--act), 0) 74%); }
.acct-surface-body{ display:block; min-width:0; }
.acct-surface .acct-lbl{ display:block; margin:0 0 7px; font-size:9px; letter-spacing:.17em; }
.acct-surface .acct-anchor{ display:block; margin:0; max-width:none;
  font-size:clamp(16.5px, 4.1vw, 20px); line-height:1.24;
  color:rgba(var(--hi), .92); transition:color 300ms var(--patient); }
.acct-focus-name{ display:block; font-family:var(--font-d); font-weight:500;
  font-size:19px; line-height:1.1; letter-spacing:.05em; text-transform:uppercase;
  color:rgba(var(--hi), .92); transition:color 300ms var(--patient); }
.acct-surface-focus:not(.is-set) .acct-focus-name{ color:var(--text-secondary); }
.acct-focus-desc{ display:block; margin-top:6px; font-size:12.5px; line-height:1.45;
  color:var(--muted); }
/* The confirmation keeps its words and its manners; it just belongs to the
   card now. */
.acct-surface-focus + .focus-ok{ margin:2px 0 0; }
/* On a phone the capsule gives up its word to these two. The door below keeps
   its "Öffnen" because its line is three words; here the line is the member's
   own sentence, and measured at 390px the word left it 158px to live in --
   three lines for a sentence that fits in two. The kicker names the surface,
   the whole surface is the control, and the capsule stays as its mark. */
@media (max-width:519px){
  .acct-surface .hm-go{ min-width:0; width:36px; padding:0; }
  .acct-surface .hm-go-l{ display:none; }
}
@media (max-width:379px){
  .acct-surface{ grid-template-columns:38px minmax(0, 1fr) auto; column-gap:11px; }
  .acct-surface-mark{ width:38px; height:38px; }
  .acct-focus-desc{ display:none; }
}

/* THE SIGNAL, REPLACED IN THE NEW COMPOSITION. It was centred on a card whose
   content used to be three long text blocks; with the upper screen made of
   objects instead, that anchor left it floating in the padding below them,
   reading as a stray ring rather than atmosphere. It keeps everything the
   Founder's own direction fixed about it -- a COMPLETE symbol, uncropped,
   with real margin, at its specified .17 -- and simply sits where this
   composition leaves room: the top right, behind the member's own name,
   clear of the monogram on the left and of every action. */
.acct .acct-card{ padding-bottom:var(--s6); }
/* PERSONAL IDENTITY moved the member's own object into the top right, which is
   where the mark had been sitting -- two circles in one corner, and the one
   that means belonging reading as a ring drawn around the one that means a
   person. They are different things (Constitution §1.2, LOCKED), so they no
   longer share a corner: the mark goes behind the NAME, at the left, large and
   dim, and the object keeps the right to itself. Same complete, uncropped
   symbol, same .17, same geometry -- only the anchor moves. Left stays at 0:
   the plate has no horizontal padding of its own, so a negative left would put
   the halo past the viewport on a phone (see the old-Safari note at the top of
   this file, where that was measured). */
/* THE SIGNAL as a brand LAYER. It stays where it belongs -- behind the
   member's own name -- but it stops competing with it: smaller, its halo
   pulled in, and dimmed on the svg rather than on the wrapper, because the
   wrapper's opacity is owned by the arrival (CSS keyframe or GSAP, depending
   on the path) and must not be fought over. The two multiply, so .17 x .58 is
   what reaches the screen. Geometry, colour and completeness are untouched;
   no new variant exists. */
.acct .acct-sig{ top:-4px; bottom:auto; left:0; right:auto;
  width:clamp(132px, 33vw, 196px); height:clamp(132px, 33vw, 196px); }
.acct .acct-sig svg{ opacity:.58; }
.acct .acct-sig::before{ inset:-14%;
  background:radial-gradient(closest-side, rgba(226,25,181,0.13) 0%, rgba(226,25,181,0.04) 48%, rgba(226,25,181,0) 80%); }
@media (min-width:560px){
  .acct .acct-sig{ top:clamp(-10px, -1vw, 0px); }
}
@media (min-width:1024px){
  .acct .acct-sig{ width:236px; height:236px; top:-12px; }
}
@media (prefers-reduced-motion:reduce){
  .acct-surface, .acct-surface .acct-anchor, .acct-focus-name,
  .acct-name-edit{ transition:none; }
}
@media (min-width:1024px){
  .acct-surface{ max-width:36rem; }
}

/* ---- 3 · THE KONTO DIALOGS --------------------------------------------
   Deine Woche, Worauf es hinausläuft and Dein Name are the upper screen seen
   closer, so they are made of the same things: a darker ground than the rest
   of the product's sheets, the screen's own light triad, one directed pool at
   the head, a mark per option, and selection carried by a lit object rather
   than by a 1px box.
   EVERYTHING IS SCOPED TO .sheet-ka. The shared dialog grammar
   (.report-reason-box / .report-reason-label / .report-actions) keeps its own
   appearance everywhere else in the product -- these rules only reach the
   three sheets that carry the class, and the shell, the history entry, the
   focus trap and the keyboard model are dlgShell's, untouched. */
.sheet-ka{ --hi:245,241,236; --lit:214,198,226; --act:226,25,181;
  position:relative; isolation:isolate; background:#120F17;
  box-shadow:inset 0 1px 0 0 rgba(var(--hi), .07), 0 -24px 60px rgba(0,0,0,.5); }
/* One pool of light at the head, at Konto's strength: the surface is lit
   where the member starts reading and plain where they choose. */
.sheet-ka::before{ content:''; position:absolute; z-index:-1; inset:0 0 58% 0;
  pointer-events:none;
  background:
    radial-gradient(64% 72% at 82% 10%, rgba(var(--act), .13) 0%, rgba(var(--act), 0) 72%),
    radial-gradient(56% 64% at 14% 4%, rgba(var(--lit), .05) 0%, rgba(var(--lit), 0) 74%);
  -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 52%, transparent 100%);
  mask-image:linear-gradient(180deg, #000 0%, #000 52%, transparent 100%); }
.sheet-ka .sheet-handle{ background:rgba(var(--hi), .14); margin-bottom:var(--s4); }

.ka-head{ position:relative; padding:0 46px var(--s5) 0; }
.ka-head .kicker{ margin:0 0 8px; }
.sheet-ka .report-sheet-title{ margin:0 0 8px; }
.sheet-ka .report-sheet-instruction{ margin:0; font-size:13.5px; line-height:1.55;
  color:var(--text-secondary); max-width:36ch; }
/* The close control is visible, in the corner, and the size of a real target
   -- the three sheets used to be dismissable only by "Abbrechen", by Escape
   or by a tap on the backdrop. */
.ka-close{ position:absolute; top:-6px; right:-4px; width:40px; height:40px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%; border:1px solid var(--hairline); background:none;
  color:var(--text-secondary); cursor:pointer;
  transition:color 200ms ease, border-color 200ms ease, background-color 200ms ease; }
.ka-close svg{ width:17px; height:17px; }
.ka-close:hover{ color:var(--text-primary); border-color:var(--border-strong);
  background:rgba(var(--hi), .05); }
.ka-close:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px; }

/* THE CHOICE, as an object. Same roles as the shared grammar -- resting,
   hovered, selected, receded -- carried by ground, edge and light instead of
   by a border colour, so a choice here looks like the surfaces it came from. */
.ka-list{ margin:var(--s5) 0 0; }
.ka-list > div + div{ margin-top:8px; }
.sheet-ka .ka-box{ position:relative; isolation:isolate; border:0; border-radius:14px;
  overflow:hidden; background:#181320;
  box-shadow:inset 0 0 0 1px rgba(var(--hi), .06);
  transition:background-color 200ms var(--patient), box-shadow 200ms var(--patient); }
.sheet-ka .ka-box::after{ content:''; position:absolute; left:12px; right:12px; top:0;
  height:1px; pointer-events:none;
  background:linear-gradient(90deg, rgba(var(--hi), 0) 0%, rgba(var(--hi), .22) 18%,
    rgba(var(--hi), .05) 62%, rgba(var(--hi), 0) 100%); }
@media (hover:hover){
  .sheet-ka .ka-box:hover{ background-color:#1D1727; box-shadow:inset 0 0 0 1px rgba(var(--hi), .12); }
}
/* Selected: a magenta ring, a magenta-lit ground and the mark in brand --
   one accent, three places it is already allowed to appear. */
.sheet-ka .ka-box.is-selected{ background-color:#1E1324;
  box-shadow:inset 0 0 0 1px rgba(var(--act), .55), 0 10px 26px -20px rgba(226,25,181,.6); }
.sheet-ka .ka-box.is-selected::before{ content:''; position:absolute; z-index:-1; inset:0;
  pointer-events:none;
  background:radial-gradient(72% 150% at 6% 50%, rgba(var(--act), .17) 0%, rgba(var(--act), 0) 70%); }
/* Receded, never disabled: one step quieter, fully readable, fully tappable. */
.sheet-ka .report-reasons.has-selection .ka-box:not(.is-selected){ background:#15111C;
  box-shadow:inset 0 0 0 1px rgba(var(--hi), .045); }

.sheet-ka .ka-row{ display:grid; grid-template-columns:34px minmax(0, 1fr) 20px;
  align-items:center; column-gap:var(--s3); width:100%; min-height:58px;
  padding:13px var(--s4) 13px 13px; color:var(--text-primary); }
.ka-mark{ display:flex; align-items:center; justify-content:center;
  width:34px; height:34px; color:rgba(var(--hi), .52);
  transition:color 200ms var(--patient); }
.ka-mark svg{ width:23px; height:23px; display:block; }
.ka-box.is-selected .ka-mark{ color:var(--magenta-text-safe); }
.ka-row-t{ display:block; min-width:0; font-size:14.5px; line-height:1.4; }
/* The selected state is not carried by colour alone: a check sits in its own
   column, which stays reserved so nothing shifts when the choice moves. */
.sheet-ka .ka-row::after{ content:''; width:18px; height:18px; opacity:0;
  background-color:var(--magenta-text-safe);
  -webkit-mask:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 12.6 9.6 17.7 19.5 7.2"/></svg>') center/contain no-repeat;
  mask:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 12.6 9.6 17.7 19.5 7.2"/></svg>') center/contain no-repeat;
  transition:opacity 180ms var(--patient); }
.sheet-ka .ka-box.is-selected .ka-row::after{ opacity:1; }
.sheet-ka .report-reasons.has-selection .ka-box:not(.is-selected) .report-reason-label{
  color:var(--text-body); }
/* Focus ring on the object, not inside it. */
.sheet-ka .ka-row:focus-visible{ outline:2px solid var(--magenta); outline-offset:3px;
  border-radius:14px; }

/* The Focus rows carry a name and its existing description. */
.fx-n{ display:block; font-family:var(--font-d); font-weight:500; font-size:16px;
  line-height:1.1; letter-spacing:.05em; text-transform:uppercase; }
.fx-d{ display:block; margin-top:4px; font-size:12.5px; line-height:1.45;
  color:var(--muted); }
.sheet-ka .fx-row{ min-height:64px; }
.ka-note{ margin:var(--s4) 0 0; font-size:12px; line-height:1.5; color:var(--muted); }

/* The name field, in the product's own material rather than a bordered box
   inside a bordered box. */
.ka-field{ display:block; margin:var(--s5) 0 0; padding:12px 14px 13px;
  border-radius:14px; background:#181320;
  box-shadow:inset 0 0 0 1px rgba(var(--hi), .06);
  transition:box-shadow 200ms var(--patient); }
.ka-field:focus-within{ box-shadow:inset 0 0 0 1px rgba(var(--act), .5); }
.ka-field-l{ display:block; font-family:var(--font-c); font-size:9px; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin-bottom:5px; }
.ka-field input{ display:block; width:100%; border:0; background:none; padding:0;
  font-family:var(--font-d); font-weight:500; font-size:22px; line-height:1.2;
  letter-spacing:.004em; color:var(--text-primary); }
.ka-field input::placeholder{ color:var(--text-disabled); font-weight:400; }
.ka-field input:focus{ outline:none; }
/* A credential field carries its own show/hide control at the right edge. */
.ka-field.ka-pw{ position:relative; padding-right:104px; }
.ka-field.ka-pw + .ka-field.ka-pw{ margin-top:var(--s3); }
.ka-eye{ position:absolute; right:8px; top:50%; transform:translateY(-50%);
  min-height:44px; min-width:84px; padding:0 12px; border:0; border-radius:12px; background:none;
  font-family:var(--font-c); font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted); cursor:pointer; }
.ka-eye:hover{ color:var(--text-primary); }
.ka-eye:focus-visible{ outline:2px solid rgba(var(--act), .8); outline-offset:-2px; }
.ka-eye[disabled]{ opacity:.5; cursor:default; }

.sheet-ka .report-actions{ margin-top:var(--s6); }
@media (max-width:379px){
  .sheet-ka .ka-row{ grid-template-columns:30px minmax(0, 1fr) 18px; column-gap:11px; }
  .ka-mark{ width:30px; height:30px; }
  .ka-mark svg{ width:21px; height:21px; }
}
@media (prefers-reduced-motion:reduce){
  .ka-mark, .sheet-ka .ka-box, .sheet-ka .ka-row::after, .ka-field{ transition:none; }
}
