/* Durchreiche — one stylesheet, no build step.
   Design "Nachtschicht" (Küchenpass), built after the mockup in
   docs/design/kuechenpass/1-nachtschicht/ (decisions 2026-12-01/02): a tiled
   kitchen wall, a dark enamel shelf with a steel edge and a heat lamp, and
   every form and inquiry on a paper ticket clamped into a steel rail.
   Material (tiles, rail, screws, paper, tape) lives in img/, fonts in fonts/
   (self-hosted, licences next to the files).
   Themes: dark ("night") is the default; light ("Licht an") overrides
   variables only. The light values are listed twice on purpose, once for
   <html data-theme="light"> and once for "the system is light and the choice
   does not say dark"; change both. Every rule that differs between the two
   themes reads a variable, so the blocks below are the only theme switch.
   Layout follows the Every Layout primitives of the mockup
   (docs/design/kuechenpass/every-layout.md). Viewport queries remain only for
   preferences and for the phone size set of the image material. */

/* ---------- Fonts (SIL OFL 1.1; see fonts/README.md) ---------- */
@font-face{font-family:"IBM Plex Sans";src:url("fonts/plex/IBMPlexSansVar-Roman-Latin1.853330eba469.woff2") format("woff2");font-weight:100 700;font-stretch:85% 100%;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Serif";src:url("fonts/plex/IBMPlexSerifVar-Roman-Latin1.16c47e9b154e.woff2") format("woff2");font-weight:100 700;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("fonts/plex/IBMPlexMonoVar-Roman-Latin1.2d5fa5d9fd59.woff2") format("woff2");font-weight:100 700;font-style:normal;font-display:swap}
@font-face{font-family:"Big Shoulders Display";src:url("fonts/big-shoulders/BigShouldersDisplay-Black.a0bb3b20cfc8.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:"Snark";src:url("fonts/snark/Snark-Regular.subset.6b03007f0ae3.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}

/* =====================================================================
   DESIGN TOKENS (names as in the mockup). Night is the default.
   ===================================================================== */
:root{
  color-scheme:dark;
  /* Wall and text on the wall */
  --wall-bg:#0a1512; --wall-img:url("img/fliesen-dunkel.bb3ca0eff087.webp");
  --ink:#f3eee2; --ink-on:#0c1614; --mut:#bfccc5;
  --sh:rgba(0,0,0,.55);
  /* Shelf (header) */
  --enamel-a:#1c2724; --enamel-b:#111916; --head-ink:#f1ebdd;
  /* Heat lamp and action */
  --heat:#ff7a1f; --heat2:#ffd596;
  --cta:#ff6a1f; --cta-hi:#ff8b3d; --cta-edge:#9a3606; --cta-ink:#190a00;
  --focus:#ffd596;              /* focus ring: pale amber at night (≥ 3:1 on tiles, lamp glow and enamel), dark orange in daylight */
  /* Paper and ticket ink */
  --paper:#fbfaf6; --canary:#ffe45c;
  --pi:#16181a; --pi-2:#30343a; --pi-3:#3b4046; --pi-rule:rgba(0,0,0,.28);
  --tape-ink:#1c1c1c;
  --pen:#2b2724; --marker:#d4281c;
  --err:#8f1209;                /* errors on paper: ≥ 7:1 on white and yellow */

  /* Type */
  --f-text:"IBM Plex Sans",system-ui,sans-serif;
  --f-label:"IBM Plex Sans",system-ui,sans-serif;
  --f-display:"Big Shoulders Display","Arial Narrow",sans-serif;
  --f-mono:"IBM Plex Mono",ui-monospace,monospace;
  --f-marker:"Snark","Marker Felt",sans-serif;
  --f-serif:"IBM Plex Serif",Georgia,serif;
  --plex-text:.5; --plex-label:.474; --plex-wdth:91%;
  --fs-3xs:.68rem; --fs-2xs:.76rem; --fs-xs:.8rem; --fs-s:.9rem; --fs-m:1rem; --fs-l:1.1rem;
  --fs-xl:1.3rem; --fs-2xl:1.42rem; --fs-3xl:1.75rem;
  --fs-page:clamp(2.6rem,8vw,6rem);
  --fs-hero:clamp(3.2rem,9.4vw,8.4rem);
  --track-label:.03em; --track-label-sm:.04em; --track-lead:.015em;

  /* Space */
  --sp-1:.25rem; --sp-2:.5rem; --sp-3:.75rem; --sp-4:1rem; --sp-5:1.5rem; --sp-6:2rem; --sp-7:3rem;
  --gutter:1.25rem; --maxw:78rem;

  /* Radius, shadow */
  --r-0:0; --r-btn:8px; --r-pill:99px;
  --sh-btn:0 10px 18px var(--sh);
  --sh-btn-paper:0 5px 9px rgba(60,40,0,.22);
  --sh-text-shelf:0 1px 0 rgba(0,0,0,.5);

  /* Buttons: one shape, variants only by colour, weight and size */
  --btn-font:var(--f-label); --btn-weight:700; --btn-weight-light:640;
  --btn-track:var(--track-label); --btn-track-sm:var(--track-label-sm);
  --btn-fs:var(--fs-l); --btn-fs-sm:var(--fs-s);
  --btn-h:48px; --btn-h-sm:38px; --btn-hit:44px;
  --btn-px:1.3rem; --btn-px-sm:.8rem;
  --btn-r:var(--r-btn); --btn-bw:2px;
  --btn-edge:4px; --btn-edge-sm:3px; --btn-press:3px;
  --btn-shadow:var(--sh-btn);
  --btn-pri-a:var(--cta-hi); --btn-pri-b:var(--cta); --btn-pri-ink:var(--cta-ink); --btn-pri-edge:var(--cta-edge); --btn-pri-hi:rgba(255,255,255,.45);
  --btn-sec-a:#fffaf0; --btn-sec-b:var(--ink); --btn-sec-ink:var(--ink-on); --btn-sec-edge:#8f8879; --btn-sec-hi:rgba(255,255,255,.7); --btn-sec-wt:var(--btn-weight);
  --btn-quiet-ink:var(--ink); --btn-quiet-line:var(--ink); --btn-quiet-bg:rgba(0,0,0,.25); --btn-quiet-edge:rgba(0,0,0,.45); --btn-quiet-hi:rgba(255,255,255,.1); --btn-quiet-wt:var(--btn-weight-light);
  --btn-danger-a:#c8372b; --btn-danger-b:#a8231a; --btn-danger-ink:#fff; --btn-danger-edge:#5c0f09;

  /* Theme-dependent material and effects */
  --shelf-edge:linear-gradient(180deg,#070908 0,#070908 .8px,#e9e2d8 1.2px,#c3c1bc 2.2px,#a3a3a0 3.6px,#878987 5px,#717472 6.5px,#5d5f5c 7.8px,#5b4636 9px,#a8632c 10px,#ffa553 11px);
  --heat-bar-shadow:0 0 10px 2px var(--heat),0 6px 44px 10px rgba(255,122,31,.55);
  --glow-bg:radial-gradient(ellipse 62% 46% at 50% 6%,rgba(255,150,60,.5),rgba(255,120,40,.14) 55%,transparent 75%),linear-gradient(180deg,transparent 30%,rgba(0,0,0,.45) 100%);
  --wall-text-shadow:0 1px 2px #000,0 0 5px rgba(0,0,0,.9),0 0 16px rgba(0,0,0,.6);
  --say-shadow:var(--wall-text-shadow),0 0 30px rgba(0,0,0,.6),0 0 60px rgba(0,0,0,.45);
  --title-shadow:0 3px 18px rgba(0,0,0,.5);
  --say-dash-shadow:0 0 10px rgba(255,122,31,.7);
  --halo-title:none; --halo-text:none;

  /* Rail: clamp profile from Katharina's image (material/metall) */
  --rh:70px; --in:12px; --leg:8px; --bh:22px; --cw:12px; --sw:16px;
  --rail-img:url("img/leiste-dunkel.c119aa4f7665.webp"); --back-img:url("img/schenkel-dunkel.3c7e03fe23fb.webp");
  --screw-l:url("img/schraube-links-dunkel.25d5a42d0e34.webp"); --screw-r:url("img/schraube-rechts-dunkel.554135d95ccb.webp");
  --ball:radial-gradient(circle 6px at 8px 6px,#a7a198 0,#837e76 2.4px,#55524c 4.2px,#2d2b28 5.3px,rgba(10,10,9,.95) 5.9px,transparent 6.2px);
  --ball-hi:radial-gradient(circle 2.2px at 6.6px 8.4px,rgba(255,240,220,.95),rgba(255,240,220,0));
  --ball-rim:radial-gradient(ellipse 4px 1.2px at 8px 11px,rgba(255,236,190,.55),transparent);
  --press:radial-gradient(ellipse 7.5px 3px at 8.8px 12.3px,rgba(0,0,0,.7),rgba(0,0,0,.28) 60%,transparent);
  --cap:linear-gradient(180deg,#45474a 0,#2f3134 30%,#202224 70%,#121314 100%);

  /* Paper, tear edge, ink and tape (material/papier, material/kreppband) */
  --papier:url("img/papier-fasern.5696fd4e84b0.webp"); --papier-gr:192px 192px; --papier-st:.38;
  --krepp:url("img/kreppband.7a312e5295c9.webp");
  --riss-maske:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='7'%3E%3Cpath d='M0 0H120V5.83L117.49 3.33L114.09 5.72L110.04 3.75L107.91 6.28L104.55 3.91L101.55 6.31L97.45 4.98L95.1 6.57L91.23 3.89L87.07 6.26L84.91 4.16L82.77 6.49L78.9 3.49L77.3 6.22L75.37 5.1L72.16 5.98L70.2 3.7L66.53 5.45L64.51 2.95L60.92 5.35L56.94 2.56L54.61 4.84L52.45 4.16L50.82 4.73L47.73 4.16L44.71 5.01L42.47 3.47L39.65 5.39L37.76 3.66L33.81 5.37L30.53 4.27L26.47 5.82L23.66 3.67L21.99 6.04L17.99 3.85L14.47 5.89L10.42 4.88L6.75 5.91L3.22 4.65L0 5.83Z'/%3E%3C/svg%3E");
  --riss-saum:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='7'%3E%3Cpath fill='white' fill-opacity='.35' d='M0 5.48L3.22 3.22L6.75 5.5L10.42 4.17L14.47 4.85L17.99 2.45L21.99 5.34L23.66 2.27L26.47 4.86L30.53 3.59L33.81 4.69L37.76 3.15L39.65 4.99L42.47 2.99L44.71 3.88L47.73 2.66L50.82 4.24L52.45 3.81L54.61 3.36L56.94 1.61L60.92 4.56L64.51 2.36L66.53 4.44L70.2 2.41L72.16 5.14L75.37 4.29L77.3 5.85L78.9 2.09L82.77 6.15L84.91 3.26L87.07 4.95L91.23 3.43L95.1 5.39L97.45 3.54L101.55 5.25L104.55 2.66L107.91 5.85L110.04 2.93L114.09 5.25L117.49 2.01L120 5.48L120 5.83L117.49 3.33L114.09 5.72L110.04 3.75L107.91 6.28L104.55 3.91L101.55 6.31L97.45 4.98L95.1 6.57L91.23 3.89L87.07 6.26L84.91 4.16L82.77 6.49L78.9 3.49L77.3 6.22L75.37 5.1L72.16 5.98L70.2 3.7L66.53 5.45L64.51 2.95L60.92 5.35L56.94 2.56L54.61 4.84L52.45 4.16L50.82 4.73L47.73 4.16L44.71 5.01L42.47 3.47L39.65 5.39L37.76 3.66L33.81 5.37L30.53 4.27L26.47 5.82L23.66 3.67L21.99 6.04L17.99 3.85L14.47 5.89L10.42 4.88L6.75 5.91L3.22 4.65L0 5.83Z'/%3E%3C/svg%3E");
  --krepp-kante:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 100' preserveAspectRatio='none'%3E%3ClinearGradient id='g' x2='0' y2='1'%3E%3Cstop offset='0' stop-opacity='.6'/%3E%3Cstop offset='.05' stop-opacity='.93'/%3E%3Cstop offset='.1'/%3E%3Cstop offset='.9'/%3E%3Cstop offset='.95' stop-opacity='.93'/%3E%3Cstop offset='1' stop-opacity='.6'/%3E%3C/linearGradient%3E%3Cpath fill='url%28%23g%29' d='M0 0.94 L12.56 0.46 L26.54 0.47 L37.58 0.38 L49.4 0.44 L60.76 0.95 L72.65 0.7 L85.44 1.19 L91.49 0.77 L105.11 0.97 L114.11 0.57 L127.68 0.38 L139.53 1.06 L145.95 0.59 L153.7 0.79 L162 1.1 L175.32 0.58 L188.37 0.36 L194.25 0.9 L206.44 1.04 L220.37 1.07 L227.76 0.97 L240 0.94 L240 99.62 L233.91 99.46 L228.76 99.12 L216.57 98.88 L208.55 99.44 L200.82 99.5 L192.25 99.33 L182.07 99.22 L169.76 99.06 L155.86 99.67 L143.98 99.3 L136.17 99.29 L130.65 99.37 L123.41 98.91 L114.5 99.18 L107.83 99.47 L95.35 99.28 L86.71 98.98 L78.19 99.12 L67.4 99.47 L56.72 99.48 L46.93 99.01 L32.95 99.25 L26.77 98.82 L15.74 99.27 L9.45 99.56 L0 99.62Z'/%3E%3C/svg%3E");
  --krepp-l1:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 52' preserveAspectRatio='none'%3E%3Cpath fill-opacity='.45' d='M16 0L9.05 0 L8.26 2.44 L7.09 4.49 L8.38 6.07 L7.81 8.31 L7.8 10.65 L7.58 13.16 L7.05 14.25 L8.58 16.74 L8.65 17.72 L7.23 18.8 L8.68 21.02 L8.47 22.81 L6.93 24.49 L6.48 25.97 L7.51 27.18 L6.68 28.56 L6.48 30.55 L5.98 31.97 L6.28 34.44 L7.91 35.7 L7.97 37.6 L5.99 39.67 L5.83 42.15 L6.16 44.3 L5.99 45.67 L6.88 48.09 L4.81 50.59 L5.96 51.91 L5.55 52 L16 52Z'/%3E%3Cpath d='M16 0L9.8 0 L9.66 2.44 L8.63 4.49 L9.44 6.07 L8.67 8.31 L8.4 10.65 L8.57 13.16 L8.57 14.25 L9.47 16.74 L9.65 17.72 L8.35 18.8 L9.44 21.02 L9.09 22.81 L8 24.49 L8.05 25.97 L8.97 27.18 L7.51 28.56 L7.84 30.55 L7.4 31.97 L7.42 34.44 L8.81 35.7 L8.69 37.6 L7.26 39.67 L7.08 42.15 L6.89 44.3 L6.64 45.67 L7.5 48.09 L6.23 50.59 L7.44 51.91 L6.61 52 L16 52Z'/%3E%3C/svg%3E");
  --krepp-r1:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 52' preserveAspectRatio='none'%3E%3Cpath fill-opacity='.45' d='M0 0L11.03 0 L9.88 1.37 L10.26 3.75 L10.72 5.3 L11.24 6.61 L8.95 8.37 L9.93 9.51 L10.66 11.84 L8.52 13.77 L9.87 15.74 L9.45 18.27 L8.3 20.19 L9.6 22.73 L8.93 24.42 L9.9 26.12 L9.33 28.7 L9.63 31.21 L8.61 33.06 L7.3 35.21 L7.36 37.09 L7.62 39.01 L8.92 40.96 L8.92 42.45 L7.87 44.44 L8.56 46.92 L7.26 48.63 L7.8 50.27 L7.01 52 L0 52Z'/%3E%3Cpath d='M0 0L10.22 0 L8.59 1.37 L9.62 3.75 L9.42 5.3 L9.86 6.61 L8.3 8.37 L9.43 9.51 L9.15 11.84 L7.82 13.77 L8.78 15.74 L8.63 18.27 L7.65 20.19 L8.82 22.73 L8.34 24.42 L8.47 26.12 L7.98 28.7 L8.27 31.21 L7.95 33.06 L6.44 35.21 L6.75 37.09 L6.18 39.01 L7.35 40.96 L7.37 42.45 L6.44 44.44 L7.39 46.92 L6.21 48.63 L7.17 50.27 L6.48 52 L0 52Z'/%3E%3C/svg%3E");
  --krepp-l2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 52' preserveAspectRatio='none'%3E%3Cpath fill-opacity='.45' d='M16 0L5.12 0 L2.26 1.64 L6.13 3.02 L2.13 4.58 L3.5 7.14 L4.67 9.44 L6.39 10.36 L5.79 12.34 L6.8 13.36 L5.45 15.81 L5.03 17.69 L7.46 19.69 L7.64 21.88 L5.41 23.9 L5.56 25.94 L9.2 28.31 L6.09 29.86 L6.75 31.49 L6.99 32.91 L6.24 34.45 L10.23 35.68 L6.65 36.84 L9.06 38.11 L7.03 40.11 L7.52 41.96 L10.75 44 L8.75 46.47 L11.01 48.44 L9.18 50.81 L10.67 52 L16 52Z'/%3E%3Cpath d='M16 0L6.51 0 L3.77 1.64 L6.69 3.02 L3.72 4.58 L4.16 7.14 L5.37 9.44 L7.78 10.36 L7.22 12.34 L7.53 13.36 L6.07 15.81 L5.86 17.69 L9 19.69 L9.21 21.88 L6.26 23.9 L6.96 25.94 L10.06 28.31 L7.04 29.86 L7.81 31.49 L7.99 32.91 L7.56 34.45 L11.08 35.68 L8.18 36.84 L10.62 38.11 L8.51 40.11 L8.85 41.96 L11.3 44 L9.33 46.47 L12.4 48.44 L10.1 50.81 L11.28 52 L16 52Z'/%3E%3C/svg%3E");
  --krepp-r2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 52' preserveAspectRatio='none'%3E%3Cpath fill-opacity='.45' d='M0 0L6.04 0 L7.06 2.44 L8.35 5.03 L8.09 7.26 L7.22 9.69 L6.69 12.04 L9.41 13.41 L6.52 14.4 L10.01 16.96 L7.67 19.23 L8.14 20.58 L11.05 22.01 L11.11 23.94 L8.71 25.33 L11.43 26.36 L11.15 28.49 L11.58 29.79 L8.79 30.96 L9.58 33.2 L11.86 35.22 L11.63 36.38 L10.18 38.24 L11.57 39.67 L12.47 41.2 L12.5 42.28 L10.45 43.27 L12.34 45.4 L12.95 47.04 L10.39 48.28 L12.65 49.27 L10.58 50.85 L11.97 52 L0 52Z'/%3E%3Cpath d='M0 0L4.52 0 L6.42 2.44 L6.81 5.03 L7.08 7.26 L5.67 9.69 L5.55 12.04 L8.61 13.41 L5.85 14.4 L8.8 16.96 L7.04 19.23 L6.96 20.58 L9.87 22.01 L9.55 23.94 L7.85 25.33 L9.88 26.36 L9.81 28.49 L10.59 29.79 L7.58 30.96 L7.99 33.2 L10.86 35.22 L10.32 36.38 L9.04 38.24 L10.98 39.67 L11.62 41.2 L11.03 42.28 L9.08 43.27 L11.16 45.4 L11.97 47.04 L9.49 48.28 L11.69 49.27 L9.48 50.85 L10.49 52 L0 52Z'/%3E%3C/svg%3E");
  --krepp-l3:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 52' preserveAspectRatio='none'%3E%3Cpath fill-opacity='.45' d='M16 0L8.09 0 L9.76 0.97 L7.93 2.56 L8.34 5.06 L8.74 6.23 L9.44 7.31 L9.81 9.12 L8.54 11.09 L8.73 13.38 L6.08 15.2 L8.13 16.91 L7.98 19.27 L8.11 21.63 L8.31 23.09 L6.63 24.93 L7.37 27.5 L6 28.61 L4.83 31.1 L4.93 32.41 L6.88 34.5 L4.66 37.07 L6.24 38.19 L4.17 40.11 L6.23 41.55 L6.32 42.91 L4.02 43.92 L5.47 45.27 L5.99 47.27 L6.14 48.68 L5.69 50.41 L4.25 51.55 L5.46 52 L16 52Z'/%3E%3Cpath d='M16 0L9.55 0 L11.31 0.97 L8.91 2.56 L9 5.06 L10.09 6.23 L10.59 7.31 L10.37 9.12 L9.58 11.09 L9.91 13.38 L7.43 15.2 L9.32 16.91 L8.83 19.27 L8.7 21.63 L8.87 23.09 L7.26 24.93 L8.32 27.5 L6.93 28.61 L6.34 31.1 L5.98 32.41 L8.29 34.5 L5.9 37.07 L7.51 38.19 L5.59 40.11 L7.68 41.55 L7.58 42.91 L5.07 43.92 L6.91 45.27 L6.77 47.27 L6.93 48.68 L6.32 50.41 L4.97 51.55 L6.09 52 L16 52Z'/%3E%3C/svg%3E");
  --krepp-r3:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 52' preserveAspectRatio='none'%3E%3Cpath fill-opacity='.45' d='M0 0L7.19 0 L8.44 1.99 L7.17 3.14 L8.7 5.58 L7.45 6.53 L7.65 7.93 L7.07 9.31 L9.57 11.71 L7.89 13.32 L9.87 14.55 L8.1 15.99 L8.38 17.72 L9.27 19.46 L8.97 20.8 L9.72 22.44 L10.78 23.6 L9.24 25.83 L8.75 27.19 L10.58 28.73 L10.88 31.24 L11.16 33.35 L10.03 35.63 L9.7 36.98 L9.04 38 L9.75 39.3 L10.8 41.43 L11.74 42.72 L11.83 44.43 L8.98 45.36 L10.84 46.62 L9.38 48.82 L9.74 50.13 L11.69 51.3 L10.55 52 L0 52Z'/%3E%3Cpath d='M0 0L5.78 0 L7.76 1.99 L5.76 3.14 L7.78 5.58 L5.95 6.53 L6.64 7.93 L6.27 9.31 L8.78 11.71 L7.01 13.32 L8.4 14.55 L7.09 15.99 L7.52 17.72 L7.71 19.46 L7.61 20.8 L9.16 22.44 L9.73 23.6 L7.71 25.83 L7.81 27.19 L10.08 28.73 L9.76 31.24 L9.85 33.35 L8.7 35.63 L8.48 36.98 L8.09 38 L8.78 39.3 L10.17 41.43 L10.21 42.72 L10.24 44.43 L8.35 45.36 L10.19 46.62 L8.85 48.82 L8.84 50.13 L10.36 51.3 L9.64 52 L0 52Z'/%3E%3C/svg%3E");
  --ink-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='70'%3E%3Cfilter id='t' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.03 .45' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  1 0 0 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='.88 .88 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23t%29'/%3E%3C/svg%3E");
  --marker-stroke:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath fill='%23ff6a1f' fill-opacity='.82' d='M4 5.5L40 4.2L97 2.6L99.5 6L97.6 8.4L99.2 11.8L96.4 15.2L52 16.4L3.6 18.2L1.4 15.6L3 12.6L.6 9.4L2.6 7.4Z'/%3E%3Cpath fill='%23ff6a1f' fill-opacity='.2' d='M6 7L95 4.6L95.4 7.2L6.2 9.6Z'/%3E%3C/svg%3E");
}
/* "Licht an" — copy 1 of 2: the choice says light */
:root[data-theme="light"]{
  color-scheme:light;
  --wall-bg:#e8dfcd; --wall-img:url("img/fliesen-hell.36b5dad0998c.webp");
  --ink:#12201b; --ink-on:#fff; --mut:#2f3e38; --sh:rgba(20,40,32,.32);
  --enamel-a:#203a32; --enamel-b:#152821;
  --focus:#a83800;
  --btn-sec-a:#2c3d36; --btn-sec-b:var(--ink); --btn-sec-ink:#fff; --btn-sec-edge:#03100b; --btn-sec-hi:rgba(255,255,255,.16); --btn-sec-wt:var(--btn-weight-light);
  --btn-quiet-ink:var(--ink); --btn-quiet-line:var(--ink); --btn-quiet-bg:rgba(255,255,255,.5); --btn-quiet-edge:var(--ink); --btn-quiet-hi:rgba(255,255,255,.6); --btn-quiet-wt:var(--btn-weight);
  --shelf-edge:linear-gradient(180deg,#0b0e0d 0,#0b0e0d .8px,#fbfcfc 1.2px,#e6eaec 2.2px,#cfd5d8 3.6px,#b4bbbf 5px,#9aa2a6 6.5px,#8a8783 7.8px,#7a6656 9px,#c07a40 10px,#ffb36a 11px);
  --heat-bar-shadow:0 0 8px 1px var(--heat),0 6px 36px 8px rgba(255,122,31,.4);
  --glow-bg:radial-gradient(ellipse 62% 46% at 50% 6%,rgba(255,140,50,.32),rgba(255,120,40,.08) 55%,transparent 75%);
  --wall-text-shadow:none; --say-shadow:none; --title-shadow:none; --say-dash-shadow:none;
  --halo-title:drop-shadow(0 0 .03em rgb(241,234,220)) drop-shadow(0 0 .1em rgba(241,234,220,.9)) drop-shadow(0 0 .3em rgba(241,234,220,.7));
  --halo-text:drop-shadow(0 0 1.5px rgb(241,234,220)) drop-shadow(0 0 5px rgba(241,234,220,.9)) drop-shadow(0 0 14px rgba(241,234,220,.7));
  --rail-img:url("img/leiste-hell.a180c2cf6674.webp"); --back-img:url("img/schenkel-hell.b464b9cdc600.webp");
  --screw-l:url("img/schraube-links-hell.a04d4f55da44.webp"); --screw-r:url("img/schraube-rechts-hell.d49d265deb1e.webp");
  --ball:radial-gradient(circle 6px at 8px 6px,#d3d8d9 0,#acb2b4 2.4px,#737a7d 4.2px,#454b4e 5.3px,rgba(20,23,24,.9) 5.9px,transparent 6.2px);
  --ball-hi:radial-gradient(circle 2.2px at 6.6px 8.4px,rgba(255,255,255,.95),rgba(255,255,255,0));
  --ball-rim:radial-gradient(ellipse 4px 1.2px at 8px 11px,rgba(255,250,225,.6),transparent);
  --press:radial-gradient(ellipse 7.5px 3px at 8.8px 12.3px,rgba(20,30,25,.55),rgba(20,30,25,.2) 60%,transparent);
  --cap:linear-gradient(180deg,#5b5f62 0,#45494c 30%,#34373a 70%,#222527 100%);
}
/* copy 2 of 2: the system is light and the choice does not say dark */
@media (prefers-color-scheme:light){
  :root:not([data-theme="dark"]){
    color-scheme:light;
    --wall-bg:#e8dfcd; --wall-img:url("img/fliesen-hell.36b5dad0998c.webp");
    --ink:#12201b; --ink-on:#fff; --mut:#2f3e38; --sh:rgba(20,40,32,.32);
    --enamel-a:#203a32; --enamel-b:#152821;
    --focus:#a83800;
    --btn-sec-a:#2c3d36; --btn-sec-b:var(--ink); --btn-sec-ink:#fff; --btn-sec-edge:#03100b; --btn-sec-hi:rgba(255,255,255,.16); --btn-sec-wt:var(--btn-weight-light);
    --btn-quiet-ink:var(--ink); --btn-quiet-line:var(--ink); --btn-quiet-bg:rgba(255,255,255,.5); --btn-quiet-edge:var(--ink); --btn-quiet-hi:rgba(255,255,255,.6); --btn-quiet-wt:var(--btn-weight);
    --shelf-edge:linear-gradient(180deg,#0b0e0d 0,#0b0e0d .8px,#fbfcfc 1.2px,#e6eaec 2.2px,#cfd5d8 3.6px,#b4bbbf 5px,#9aa2a6 6.5px,#8a8783 7.8px,#7a6656 9px,#c07a40 10px,#ffb36a 11px);
    --heat-bar-shadow:0 0 8px 1px var(--heat),0 6px 36px 8px rgba(255,122,31,.4);
    --glow-bg:radial-gradient(ellipse 62% 46% at 50% 6%,rgba(255,140,50,.32),rgba(255,120,40,.08) 55%,transparent 75%);
    --wall-text-shadow:none; --say-shadow:none; --title-shadow:none; --say-dash-shadow:none;
    --halo-title:drop-shadow(0 0 .03em rgb(241,234,220)) drop-shadow(0 0 .1em rgba(241,234,220,.9)) drop-shadow(0 0 .3em rgba(241,234,220,.7));
    --halo-text:drop-shadow(0 0 1.5px rgb(241,234,220)) drop-shadow(0 0 5px rgba(241,234,220,.9)) drop-shadow(0 0 14px rgba(241,234,220,.7));
    --rail-img:url("img/leiste-hell.a180c2cf6674.webp"); --back-img:url("img/schenkel-hell.b464b9cdc600.webp");
    --screw-l:url("img/schraube-links-hell.a04d4f55da44.webp"); --screw-r:url("img/schraube-rechts-hell.d49d265deb1e.webp");
    --ball:radial-gradient(circle 6px at 8px 6px,#d3d8d9 0,#acb2b4 2.4px,#737a7d 4.2px,#454b4e 5.3px,rgba(20,23,24,.9) 5.9px,transparent 6.2px);
    --ball-hi:radial-gradient(circle 2.2px at 6.6px 8.4px,rgba(255,255,255,.95),rgba(255,255,255,0));
    --ball-rim:radial-gradient(ellipse 4px 1.2px at 8px 11px,rgba(255,250,225,.6),transparent);
    --press:radial-gradient(ellipse 7.5px 3px at 8.8px 12.3px,rgba(20,30,25,.55),rgba(20,30,25,.2) 60%,transparent);
    --cap:linear-gradient(180deg,#5b5f62 0,#45494c 30%,#34373a 70%,#222527 100%);
  }
}
/* Telephone size set of the rail: two tuned sets for the image strips
   (profile 70/52 px, paper in the slot 12/9, screws 16/13). */
@media (max-width:600px){:root{--rh:52px; --in:9px; --leg:6px; --bh:16px; --cw:10px; --sw:13px}}

/* Contexts only reset button colours: light on dark on the shelf, ticket ink on paper. */
.shelf,.bar{--focus:#ffd596; --btn-quiet-ink:var(--head-ink); --btn-quiet-wt:var(--btn-weight-light); --btn-quiet-line:rgba(241,235,221,.55); --btn-quiet-bg:rgba(0,0,0,.22); --btn-quiet-edge:rgba(0,0,0,.6); --btn-quiet-hi:rgba(255,255,255,.1)}
.bon,.slip,.account-menu-panel{--focus:var(--pi); --btn-shadow:var(--sh-btn-paper); --mut:var(--pi-3);
  --btn-sec-a:#33373c; --btn-sec-b:var(--pi); --btn-sec-ink:#fff; --btn-sec-edge:#000; --btn-sec-hi:rgba(255,255,255,.18); --btn-sec-wt:var(--btn-weight-light);
  --btn-quiet-ink:var(--pi); --btn-quiet-line:var(--pi); --btn-quiet-bg:rgba(255,255,255,.35); --btn-quiet-edge:var(--pi); --btn-quiet-hi:rgba(255,255,255,.6); --btn-quiet-wt:var(--btn-weight)}
:is(.bon,.slip,.account-menu-panel) .btn--quiet{--btn-shadow:var(--sh-btn-paper)}

/* =====================================================================
   LAYOUT PRIMITIVES (Every Layout)
   ===================================================================== */
.center{box-sizing:content-box; max-inline-size:var(--center-max,calc(var(--maxw) - 2 * var(--gutter))); margin-inline:auto; padding-inline:var(--gutter)}
.stack{display:flex; flex-direction:column; justify-content:flex-start}
.stack>*{margin-block:0}
.stack>*+*{margin-block-start:var(--space,var(--sp-5))}
.cluster{display:flex; flex-wrap:wrap; gap:var(--space,var(--sp-4)); justify-content:var(--justify,flex-start); align-items:var(--align,center)}
.with-sidebar{display:flex; flex-wrap:wrap; gap:var(--space-y,var(--space,var(--sp-5))) var(--space,var(--sp-5)); align-items:var(--align,stretch)}
.with-sidebar>.sidebar{flex-basis:var(--side-width,20rem); flex-grow:1}
.with-sidebar>.not-sidebar{flex-basis:0; flex-grow:999999; min-inline-size:min(var(--content-min,50%),100%)}
.switcher{--switch:clamp(0px,(var(--threshold,30rem) - 100%) * 99999,99999px); display:flex; flex-wrap:wrap; gap:var(--space,var(--sp-5)); align-items:var(--align,stretch)}
.switcher>*{flex-grow:1; flex-basis:var(--switch); min-inline-size:0}
.grid{display:grid; gap:var(--space,var(--sp-4)); grid-template-columns:repeat(var(--fill,auto-fit),minmax(min(var(--minimum,17rem),100%),1fr))}
.container{container-type:inline-size}

/* =====================================================================
   BASE
   ===================================================================== */
*,*::before,*::after{box-sizing:border-box}
html{font-size:106.25%; -webkit-text-size-adjust:100%; overflow-x:clip}
body{margin:0; min-height:100vh; position:relative; overflow-x:clip; padding-bottom:4rem;
  color:var(--ink); font-family:var(--f-text); line-height:1.5; font-size-adjust:var(--plex-text);
  background:var(--wall-img) 50% 0/336px auto var(--wall-bg); -webkit-font-smoothing:antialiased}
h1,h2,h3,p,dl,dd,ul,figure,fieldset{margin:0}
ul{padding:0; list-style:none}
fieldset{border:0; padding:0; min-inline-size:0}
legend{padding:0}
button,input,textarea,select{font:inherit; color:inherit}
img,svg{display:block}
a{color:inherit; text-underline-offset:.15em}
strong{font-weight:600}
[hidden]{display:none!important}
:focus{outline:none}
:focus-visible{outline:3px solid var(--focus); outline-offset:3px}
:is(.bon,.slip,.account-menu-panel) :focus-visible{outline-color:var(--pi)}
.icon{width:1rem; height:1rem; flex:none; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round}
main{position:relative; z-index:1; overflow-x:clip}
.visually-hidden{position:absolute!important; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
.skip-link{position:absolute; left:var(--sp-2); top:-100px; z-index:20; padding:var(--sp-2) var(--sp-3); background:var(--paper); color:var(--pi); font-weight:600; border-radius:var(--r-btn)}
.skip-link:focus{top:var(--sp-2)}
.muted{color:var(--mut)}
.link{color:inherit; text-decoration:underline; text-decoration-thickness:2px; text-decoration-color:var(--cta)}
:is(.bon,.slip,.account-menu-panel) .link{text-decoration-color:currentColor}

/* =====================================================================
   BUTTONS (one shape after "Anfrage durchreichen")
   ===================================================================== */
.btn,.btn--primary{--_wt:var(--btn-weight); --_a:var(--btn-pri-a); --_b:var(--btn-pri-b); --_ink:var(--btn-pri-ink); --_edge:var(--btn-pri-edge); --_hi:var(--btn-pri-hi); --_line:transparent}
.btn,:is(.seg,.theme-toggle) :is(a,button){--btn-face:linear-gradient(180deg,var(--_a) 0,color-mix(in oklab,var(--_a) 40%,var(--_b)) 47%,var(--_b) 49%,var(--_b) 78%,color-mix(in oklab,var(--_b) 88%,#000) 100%)}
.btn{--_e:var(--btn-edge); --_px:var(--btn-px); --_bw:0px; position:relative; display:inline-flex; align-items:center; justify-content:center; gap:var(--sp-2);
  min-height:var(--btn-h); padding-inline:calc(var(--_px) - var(--_bw));
  font:var(--_wt) var(--btn-fs)/1.15 var(--btn-font); font-stretch:var(--plex-wdth); font-size-adjust:var(--plex-label); letter-spacing:var(--btn-track);
  color:var(--_ink); text-align:center; text-decoration:none; cursor:pointer; text-wrap:balance; padding-block:.35rem;
  background:var(--btn-face) border-box; border:var(--_bw) solid var(--_line); border-radius:var(--btn-r);
  box-shadow:inset 0 1px 0 var(--_hi),0 var(--_e) 0 var(--_edge),var(--btn-shadow)}
.btn:active{transform:translateY(var(--btn-press)); box-shadow:0 calc(var(--_e) - var(--btn-press)) 0 var(--_edge)}
.btn[disabled]{opacity:.6; cursor:not-allowed; transform:none}
.btn--secondary{--_wt:var(--btn-sec-wt); --_a:var(--btn-sec-a); --_b:var(--btn-sec-b); --_ink:var(--btn-sec-ink); --_edge:var(--btn-sec-edge); --_hi:var(--btn-sec-hi); --_line:transparent}
.btn--quiet{--_wt:var(--btn-quiet-wt); --_a:var(--btn-quiet-bg); --_b:var(--btn-quiet-bg); --_ink:var(--btn-quiet-ink); --_edge:var(--btn-quiet-edge); --_hi:var(--btn-quiet-hi); --_line:var(--btn-quiet-line); --_bw:var(--btn-bw); --btn-shadow:0 0 transparent}
.btn--danger{--_a:var(--btn-danger-a); --_b:var(--btn-danger-b); --_ink:var(--btn-danger-ink); --_edge:var(--btn-danger-edge); --_hi:rgba(255,255,255,.3); --_wt:var(--btn-weight-light)}
.btn--sm{--_e:var(--btn-edge-sm); --_px:var(--btn-px-sm); --btn-press:2px; min-height:var(--btn-h-sm); font-size:var(--btn-fs-sm); letter-spacing:var(--btn-track-sm)}
.btn--sm::after{content:""; position:absolute; left:calc(-1 * var(--_bw)); right:calc(-1 * var(--_bw)); top:50%; height:var(--btn-hit); transform:translateY(-50%)}
.btn--block{display:flex; inline-size:100%}
.btn .icon{width:1.05em; height:1.05em; stroke-width:2.2}
.btn .busy{display:none}
.htmx-request .btn .busy,.btn.htmx-request .busy,form.htmx-request .btn .busy{display:inline}
.htmx-request .btn .idle,.btn.htmx-request .idle,form.htmx-request .btn .idle{display:none}
/* Segmented choice (list filter, theme): border, radius, type and height of the buttons;
   the chosen one is the secondary button. */
:is(.seg,.theme-toggle){display:inline-flex; max-inline-size:100%; border:var(--btn-bw) solid var(--btn-quiet-line); border-radius:var(--btn-r); overflow:hidden; background:var(--btn-quiet-bg); box-shadow:0 var(--btn-edge) 0 var(--btn-quiet-edge)}
:is(.seg,.theme-toggle) :is(a,button){display:inline-flex; align-items:center; justify-content:center; font:var(--btn-quiet-wt) var(--btn-fs)/1.15 var(--btn-font); font-stretch:var(--plex-wdth); font-size-adjust:var(--plex-label); letter-spacing:var(--btn-track);
  background:none; border:0; color:var(--btn-quiet-ink); padding:0 var(--sp-4); cursor:pointer; text-decoration:none; white-space:nowrap; min-height:calc(var(--btn-h) - 2 * var(--btn-bw))}
:is(.seg,.theme-toggle) :is(a[aria-current],button[aria-pressed="true"]){font-weight:var(--btn-sec-wt); --_a:var(--btn-sec-a); --_b:var(--btn-sec-b); background:var(--btn-face); color:var(--btn-sec-ink); box-shadow:inset 0 1px 0 var(--btn-sec-hi)}
/* The ring sits inside the segment, so it takes the segment's own text colour (≥ 4.5:1 on either state). */
:is(.seg,.theme-toggle) :is(a,button):focus-visible{outline-color:currentColor; outline-offset:-5px}
:is(.seg--sm,.theme-toggle) :is(a,button){font-size:var(--btn-fs-sm); min-height:calc(var(--btn-h-sm) - 2 * var(--btn-bw) + 6px); padding:0 var(--sp-3)}
@media (forced-colors:active){
  .btn{border:var(--btn-bw) solid ButtonText} :is(.seg,.theme-toggle){border-color:ButtonText}
  .btn:active{transform:none}
  :is(.seg,.theme-toggle) :is(a[aria-current],button[aria-pressed="true"]){forced-color-adjust:none; background:Highlight; color:HighlightText}
}

/* =====================================================================
   SHELF (header): dark enamel, steel front edge, heat lamp below
   ===================================================================== */
.shelf{position:relative; z-index:10; color:var(--head-ink);
  background:
    linear-gradient(180deg,rgba(255,255,255,.075) 0,rgba(255,255,255,.04) 36%,rgba(255,255,255,0) 37.5%,rgba(0,0,0,0) 62%,rgba(0,0,0,.2) 100%),
    linear-gradient(180deg,var(--enamel-a),var(--enamel-b));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
.shelf::after{content:""; position:absolute; left:0; right:0; top:100%; height:11px; pointer-events:none; background:var(--shelf-edge);
  box-shadow:0 1px 0 rgba(0,0,0,.45),0 4px 5px -2px rgba(0,0,0,.4),0 14px 22px var(--sh)}
.shelf .in{--space:.3rem 1.2rem; padding-block:.6rem}
.logo{display:inline-flex; align-items:center; min-height:44px; font-family:var(--f-display); font-weight:900; font-size:var(--fs-3xl); font-size-adjust:none; line-height:1; text-transform:uppercase; letter-spacing:.02em; text-decoration:none; margin-inline-end:auto; text-shadow:0 1px 0 rgba(0,0,0,.55)}
.site-nav{--space:.2rem 1.2rem}
.site-nav a{display:inline-flex; align-items:center; min-height:44px; text-decoration:none; font-weight:560; letter-spacing:var(--track-label); padding:0 .1rem; text-shadow:var(--sh-text-shelf)}
.site-nav a[aria-current]{box-shadow:inset 0 -3px 0 currentColor}
@media (forced-colors:active){.site-nav a[aria-current]{text-decoration:underline 3px; text-underline-offset:.35em}}
.site-nav a:hover{box-shadow:inset 0 -3px 0 rgba(241,235,221,.45)}
.header-tools{--space:.6rem}
/* Narrow: the navigation takes a row of its own under logo and tools; the call to action keeps its plus. */
@media (max-width:40rem){
  .site-nav{order:3; flex-basis:100%; margin-top:-.3rem}
  .header-cta span{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
  .header-cta{--_px:.7rem}
}
/* Heat lamp under the shelf and its glow on the wall */
.heat{position:relative; z-index:6; height:0}
.heat i{position:absolute; left:50%; top:12px; width:min(64rem,86vw); height:9px; transform:translateX(-50%); border-radius:0 0 5px 5px;
  background:linear-gradient(180deg,#1a1d1e,#33383a); box-shadow:0 2px 3px rgba(0,0,0,.6)}
.heat i::after{content:""; position:absolute; left:14px; right:14px; bottom:1px; height:4px; border-radius:3px;
  background:linear-gradient(180deg,var(--heat),var(--heat2) 50%,var(--heat)); box-shadow:var(--heat-bar-shadow)}
.glow{position:absolute; left:0; right:0; top:0; height:150vh; pointer-events:none; z-index:0; background:var(--glow-bg)}

/* Account menu: the initials open a paper slip with name, theme and sign-out. */
/* The slip anchors to the shelf's content box, not to the initials, so it stays on screen however the tools wrap. */
.shelf .in{position:relative}
.account-menu{position:static}
.account-menu summary{display:flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; cursor:pointer; list-style:none; border-radius:50%}
.account-menu summary::-webkit-details-marker{display:none}
.account-menu summary .avatar{width:2.1rem; height:2.1rem; font-size:.78rem; color:var(--head-ink); background:rgba(0,0,0,.25); border:2px solid rgba(241,235,221,.7); box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 3px 0 rgba(0,0,0,.6)}
.account-menu summary:hover .avatar,.account-menu[open] summary .avatar{background:var(--head-ink); color:var(--enamel-b)}
.account-menu summary:focus-visible{outline-offset:0}
.account-menu .account-menu-panel{position:absolute; right:var(--gutter); top:calc(100% + 14px); z-index:12; width:max-content; min-width:min(15rem,calc(100% - 2 * var(--gutter))); max-width:min(24rem,calc(100% - 2 * var(--gutter)));
  display:grid; gap:var(--sp-2); padding:1.1rem 1rem 1rem; transform:rotate(-.6deg); font-size:var(--fs-s)}
.account-full-name{font-weight:600; overflow-wrap:anywhere; line-height:1.4}
.account-full-name .muted{font-weight:400; font-size:var(--fs-xs); font-family:var(--f-mono); font-size-adjust:none}
/* Narrow (or a large default font): the slip spans the whole shelf width. */
@media (max-width:40rem){.account-menu .account-menu-panel{left:var(--gutter); width:auto; max-width:none}}
.menu-theme .theme-toggle{flex-wrap:wrap}
.menu-theme{display:grid; gap:var(--sp-1); padding-block:var(--sp-2); border-block:1px solid var(--pi-rule)}
.menu-label{font:500 var(--fs-2xs) var(--f-mono); color:var(--pi-3)}
.account-menu-panel form{display:block}
.account-menu-panel>a{display:flex; align-items:center; min-height:44px; font-weight:600; text-decoration:underline; text-decoration-thickness:2px}

/* Theme choice (needs JavaScript; base.html marks <html class="js"> before first paint) */
:root:not(.js) :is(.theme-toggle,.menu-theme,.page-tools){display:none}
.page-tools{display:flex; justify-content:center; margin-top:var(--sp-6)}

/* =====================================================================
   RAIL: clamp profile, slotted screws; tickets are pushed in from below
   ===================================================================== */
.hang{position:relative; isolation:isolate; padding-top:calc(var(--rh) - var(--in))}
.hang::before,.hang::after{content:""; position:absolute; left:calc(-1 * var(--gutter)); right:calc(-1 * var(--gutter)); pointer-events:none;
  --ends:
    linear-gradient(90deg,rgba(255,255,255,.22) 0,rgba(255,255,255,.05) 3px,rgba(0,0,0,.25) calc(var(--cw) - 1px),rgba(0,0,0,.75) var(--cw)) left/var(--cw) 100% no-repeat,
    linear-gradient(270deg,rgba(255,255,255,.22) 0,rgba(255,255,255,.05) 3px,rgba(0,0,0,.25) calc(var(--cw) - 1px),rgba(0,0,0,.75) var(--cw)) right/var(--cw) 100% no-repeat,
    var(--cap) left/var(--cw) 100% no-repeat, var(--cap) right/var(--cw) 100% no-repeat}
.hang::before{top:0; height:var(--rh); z-index:3; border-radius:5px 5px 3px 3px;
  background:var(--ends),var(--rail-img) var(--cw) 0/auto 100% repeat-x;
  box-shadow:0 -1px 0 rgba(0,0,0,.35),0 1px 0 rgba(0,0,0,.6),0 3px 4px -1px rgba(0,0,0,.5),0 9px 10px -6px rgba(0,0,0,.4),0 18px 22px -8px var(--sh)}
.hang::after{top:calc(var(--rh) - 14px); height:calc(14px + var(--leg)); z-index:-1; border-radius:0 0 3px 3px;
  background:var(--ends),var(--back-img) var(--cw) 100%/auto var(--bh) repeat-x;
  box-shadow:0 1px 0 rgba(0,0,0,.45),0 4px 5px -2px rgba(0,0,0,.4),0 12px 16px -6px var(--sh)}
.drop{position:relative; display:block; filter:drop-shadow(0 2px 1px rgba(0,0,0,.35)) drop-shadow(0 16px 12px var(--sh));
  --t:.56s; --d:calc(.15s + min(var(--i,0),8) * 80ms)}
/* Steel balls in the slot, lying on the paper */
.drop::after{content:""; position:absolute; z-index:1; top:var(--in); height:16px; left:0; right:0; pointer-events:none;
  background:
    var(--ball-hi) 18% -5px/16px 16px no-repeat, var(--ball-rim) 18% -5px/16px 16px no-repeat, var(--ball) 18% -5px/16px 16px no-repeat, var(--press) 18% -5px/16px 16px no-repeat,
    var(--ball-hi) 82% -5px/16px 16px no-repeat, var(--ball-rim) 82% -5px/16px 16px no-repeat, var(--ball) 82% -5px/16px 16px no-repeat, var(--press) 82% -5px/16px 16px no-repeat;
  animation:kugeln var(--t) var(--d) both}
.drop::before{content:""; position:absolute; z-index:1; top:var(--in); left:0; right:0; height:14px; pointer-events:none; opacity:0;
  background:linear-gradient(180deg,rgba(0,0,0,.7),rgba(0,0,0,.25) 35%,rgba(0,0,0,0)); animation:schlitz var(--t) var(--d) both}
/* Slotted screws: Katharina's image, left as is (−6°), right mirrored (30°) */
.schraube{position:absolute; z-index:4; pointer-events:none; --iw:calc(var(--sw) * 2.8555);
  --cx:calc(-1 * var(--gutter) + var(--cw) + 8px + var(--sw) / 2);
  width:var(--iw); height:var(--iw); top:calc(var(--rh) * .43 - var(--iw) / 2);
  background:var(--screw-l) center/100% 100% no-repeat}
.schraube.l{left:calc(var(--cx) - var(--iw) / 2)}
.schraube.r{right:calc(var(--cx) - var(--iw) / 2); background-image:var(--screw-r)}
/* In the list every li is a .hang; only the first ticket of each row draws the rail, across the whole page width. */
.rail>li.hang::before,.rail>li.hang::after{right:auto; width:calc(100cqw + 2 * var(--gutter))}
.rail>li .schraube.r{right:auto; left:calc(100cqw - var(--cx) - var(--iw) / 2)}
@container (min-width:34rem){.rail>li.hang:nth-child(n)::before,.rail>li.hang:nth-child(n)::after{content:none} .rail>li.hang:nth-child(2n+1)::before,.rail>li.hang:nth-child(2n+1)::after{content:""}
  .rail>li.hang:nth-child(n) .schraube{display:none} .rail>li.hang:nth-child(2n+1) .schraube{display:block}}
@container (min-width:51rem){.rail>li.hang:nth-child(n)::before,.rail>li.hang:nth-child(n)::after{content:none} .rail>li.hang:nth-child(3n+1)::before,.rail>li.hang:nth-child(3n+1)::after{content:""}
  .rail>li.hang:nth-child(n) .schraube{display:none} .rail>li.hang:nth-child(3n+1) .schraube{display:block}}
@container (min-width:68rem){.rail>li.hang:nth-child(n)::before,.rail>li.hang:nth-child(n)::after{content:none} .rail>li.hang:nth-child(4n+1)::before,.rail>li.hang:nth-child(4n+1)::after{content:""}
  .rail>li.hang:nth-child(n) .schraube{display:none} .rail>li.hang:nth-child(4n+1) .schraube{display:block}}

/* Clamping in: the ticket comes up from below, overshoots 4 px into the profile and settles.
   prefers-reduced-motion switches every animation off (end position at once). */
.hang .bon{transform-origin:50% 0; animation:einklemmen var(--t,.56s) var(--d,.15s) backwards}
@keyframes einklemmen{
  0%{transform:translateY(64px) rotate(var(--a,2.4deg)); opacity:0; animation-timing-function:cubic-bezier(.12,.75,.3,1)}
  14%{opacity:1}
  78%{transform:translateY(-4px) rotate(calc(var(--r,0deg) * .3)); animation-timing-function:cubic-bezier(.6,0,1,1)}
  100%{transform:translateY(0) rotate(var(--r,0deg)); opacity:1}}
@keyframes schlitz{0%,70%{opacity:0} 80%{opacity:1} 100%{opacity:0}}
@keyframes kugeln{0%,70%{transform:none} 78%{transform:translateY(-1px)} 100%{transform:none}}

/* =====================================================================
   PAPER: ticket (.bon) and loose slips (.slip); fibre texture 0.38, torn edge
   ===================================================================== */
.bon,.slip,.account-menu-panel{--p:var(--paper); position:relative; isolation:isolate; color:var(--pi); background:var(--p)}
.bon::after,.slip::after,.account-menu-panel::after{content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:var(--papier) 0 0/var(--papier-gr); mix-blend-mode:hard-light; opacity:var(--papier-st)}
.bon{display:block; padding:2.4rem 1.1rem 2rem; font-size:.93rem; line-height:1.4; overflow-wrap:anywhere;
  background:
    var(--riss-saum) var(--riss-x,0px) 100%/120px 7px repeat-x,
    linear-gradient(180deg,rgba(0,0,0,.34) 0,rgba(0,0,0,.08) 20px,transparent 40px),
    radial-gradient(150% 62% at var(--lx,38%) 108%,rgba(255,255,255,.3),rgba(255,255,255,.17) 38%,rgba(255,255,255,.06) 68%,transparent 92%),
    var(--p);
  -webkit-mask:linear-gradient(#000 0 0) 0 0/100% calc(100% - 6px) no-repeat,var(--riss-maske) var(--riss-x,0px) 100%/120px 7px repeat-x;
          mask:linear-gradient(#000 0 0) 0 0/100% calc(100% - 6px) no-repeat,var(--riss-maske) var(--riss-x,0px) 100%/120px 7px repeat-x}
@media (max-width:600px){.bon{padding-block:2.2rem 1.8rem}}
.bon.direkt{--p:var(--canary)}
.rail li:nth-child(5n+2) .bon{--riss-x:-47px; --lx:62%} .rail li:nth-child(5n+3) .bon{--riss-x:-83px; --lx:30%}
.rail li:nth-child(5n+4) .bon{--riss-x:-19px; --lx:55%} .rail li:nth-child(5n) .bon{--riss-x:-101px; --lx:45%}
.drop:nth-of-type(2) .bon{--riss-x:-64px; --lx:34%}
.slip,.account-menu-panel{padding:1rem 1.1rem; box-shadow:0 1px 1px rgba(0,0,0,.18),0 3px 4px -1px rgba(0,0,0,.12),4px 12px 14px -8px var(--sh)}

.bon .hd{display:grid; grid-template-columns:auto 1fr; align-items:end; gap:.1rem .8rem; padding-bottom:.45rem; border-bottom:4px solid var(--pi)}
.bon .hd--plain{display:flex; justify-content:space-between; align-items:end; gap:.8rem; border-bottom-width:2px; font:500 .78rem var(--f-mono); font-size-adjust:none}
.bon .no{grid-row:span 2; font-family:var(--f-display); font-weight:900; font-size:3.5rem; font-size-adjust:none; line-height:.8; letter-spacing:-.01em}
.bon .no small{display:block; font:500 var(--fs-3xs) var(--f-mono); letter-spacing:0; margin-bottom:.35rem}
.bon .src{justify-self:end; font:700 var(--fs-xs)/1 var(--f-label); font-stretch:var(--plex-wdth); font-size-adjust:var(--plex-label); letter-spacing:var(--track-label-sm); padding:.28rem .5rem; border:2px solid var(--pi); white-space:nowrap}
.bon.direkt .src{background:var(--pi); color:var(--p)}
.bon .age{justify-self:end; font:400 .78rem var(--f-mono); font-size-adjust:none}
.bon :is(h1,h2){font-family:var(--f-label); font-weight:700; font-stretch:var(--plex-wdth); font-size-adjust:var(--plex-label); font-size:var(--fs-2xl); line-height:1.08; margin:.75rem 0 .35rem; text-wrap:balance}
.bon h3{font:600 var(--fs-m)/1.3 var(--f-label); margin:0}
.bon .tech{font:500 .78rem var(--f-mono); font-size-adjust:none; margin:0 0 .7rem; color:var(--pi-2)}
.facts{margin:0; font-family:var(--f-mono); font-size:var(--fs-xs); font-size-adjust:none}
.facts div{display:flex; justify-content:space-between; gap:1rem; padding:.3rem 0; border-top:1px solid var(--pi-rule)}
.facts dt{color:var(--pi-3); white-space:nowrap} .facts dd{margin:0; font-weight:600; text-align:right}
.bon .ft{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.5rem; border-top:1px solid var(--pi-rule); padding-top:.5rem; margin-top:.7rem; min-height:2.6rem}
.bon .ft--vermerk{padding-top:1.2rem; margin-top:var(--sp-4); justify-content:center}
.sub{font:500 var(--fs-2xs) var(--f-mono); font-size-adjust:none; color:var(--pi-3); margin:1rem 0 .3rem}
.bon .sub{font:500 var(--fs-2xs) var(--f-mono); font-size-adjust:none; color:var(--pi-3); margin:1.1rem 0 .3rem; text-wrap:auto}
.bon .hd--plain .sub{margin:0}
.acts{--space:var(--sp-2); --align:stretch; margin-block-start:.7rem}
.tag{display:inline-flex; align-items:center; gap:.3rem; font:700 var(--fs-2xs) var(--f-label); font-stretch:var(--plex-wdth); font-size-adjust:var(--plex-label); letter-spacing:var(--track-label-sm); border:1.5px solid var(--pi); padding:.12rem .45rem; border-radius:var(--r-pill); max-inline-size:100%}
.tag .icon{width:.85rem; height:.85rem}
/* A stretched link makes the whole ticket in the list clickable. */
.bon h2 a{text-decoration:none}
.bon h2 a::after{content:""; position:absolute; inset:0}
.bon h2 a:focus-visible{outline:none}
/* The ticket is masked (torn edge), so an outline on it would be clipped: the ring goes on the unmasked .drop. */
.drop:has(.bon h2 a:focus-visible){outline:3px solid var(--focus); outline-offset:3px}
.bon h2 a:hover{text-decoration:underline; text-decoration-thickness:2px}

/* Felt pen: ink that soaks into the paper (multiply, density mask, soft edge). Snark is hard
   to read, so it only carries short notes that are never needed to use the page. */
.mk{font-family:var(--f-marker); font-size:var(--fs-xl); font-size-adjust:.66; line-height:1.25; color:var(--pen); transform:rotate(-2deg); display:inline-block;
  mix-blend-mode:multiply; filter:blur(.3px);
  -webkit-mask:var(--ink-mask) 0 0/140px 70px; mask:var(--ink-mask) 0 0/140px 70px}
.mk .w{display:inline-block; transform:translateY(var(--wy,0)) rotate(var(--wr,0deg))}
.mk.vermerk{display:block; width:fit-content; margin-inline:auto; text-align:center; white-space:nowrap; font-size:clamp(1.05rem,.62rem + 2.2vw,1.3rem); line-height:1.4; padding:.5em .7em; margin-block:-.5em}
.mk .akz{position:relative; display:inline-block; left:.27em; text-transform:uppercase}
.mk .akz::before{content:""; position:absolute; z-index:-1; left:-.3em; right:-.4em; top:.22em; height:.68em; background:var(--marker-stroke) 0 0/100% 100% no-repeat; transform:rotate(-1.6deg)}

/* Fields on paper */
.field{display:grid; gap:.15rem; margin-top:.8rem}
.field>label,.field>legend,.bon label.lbl{display:block; font:500 var(--fs-2xs) var(--f-mono); font-size-adjust:none; margin:0 0 .15rem}
.hint{font-size:var(--fs-xs); color:var(--mut); line-height:1.4}
.field>label+.hint{margin-bottom:.2rem}
:is(.bon,.slip,.account-menu-panel) :is(input[type=text],input[type=email],input[type=number],input:not([type]),textarea){
  font:600 var(--fs-m) var(--f-text); font-size-adjust:var(--plex-text); inline-size:100%; min-height:46px; padding:.55rem .6rem;
  background:rgba(255,255,255,.55); border:2px solid var(--pi); border-radius:var(--r-0); color:var(--pi)}
:is(.bon,.slip,.account-menu-panel) :is(input,textarea):focus{outline:3px solid var(--pi); outline-offset:2px; background:#fff}
:is(.bon,.slip,.account-menu-panel) textarea{resize:vertical; font-weight:400; line-height:1.55}
::placeholder{color:var(--pi-3); opacity:1}
.has-error :is(input,textarea){border-color:var(--err); border-width:3px}
.field-error{display:flex; gap:var(--sp-1); align-items:center; color:var(--err); font-size:var(--fs-xs); font-weight:600; margin-top:var(--sp-1)}
@media (forced-colors:active){:is(.bon,.slip,.account-menu-panel) :is(input,textarea):focus{outline:2px solid Highlight}}
.bon form{display:grid; grid-template-columns:minmax(0,1fr)}
.bon .btn--block{margin-top:var(--sp-4)}
.bon .lede{margin:.4rem 0 0}
.bon p+p{margin-top:.5rem}
/* Choice tiles (radio groups) and member chips: ink outline, the chosen one inked in */
.tiles{display:flex; flex-wrap:wrap; gap:var(--sp-2)}
.tiles--wide{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(11rem,100%),1fr))}
.tile{position:relative; display:grid; align-content:center; gap:2px; min-height:44px; padding:.45rem .75rem; cursor:pointer; border:2px solid var(--pi); background:rgba(255,255,255,.35)}
.tile input,.chip input{position:absolute; opacity:0; pointer-events:none}
.tile-title{font-weight:600; font-size:var(--fs-s)}
.tile-hint{font-size:var(--fs-xs); color:var(--pi-3); line-height:1.35; padding-right:1.2rem}
.tile-check{position:absolute; top:.55rem; right:.5rem; display:none}
.tile:has(input:checked){background:var(--pi); color:var(--p)}
.tile:has(input:checked) .tile-hint{color:inherit}
.tile:has(input:checked) .tile-check{display:block}
.tile:hover{box-shadow:inset 0 0 0 1px var(--pi)}
.tile:has(input:focus-visible),.chip:has(input:focus-visible){outline:3px solid var(--pi); outline-offset:2px}
.chips{display:flex; flex-wrap:wrap; gap:var(--sp-2)}
.chip{position:relative; display:inline-flex; align-items:center; gap:var(--sp-2); min-height:44px; padding:0 .8rem 0 .3rem; border:2px solid var(--pi); border-radius:var(--r-pill); cursor:pointer; font-size:var(--fs-s); font-weight:500; background:rgba(255,255,255,.35)}
.chip .muted{color:inherit}
.chip-check{display:none; width:.9rem; height:.9rem}
.chip:has(input:checked){background:var(--pi); color:var(--p)}
.chip:has(input:checked) .avatar{background:var(--p); color:var(--pi)}
.chip:has(input:checked) .chip-check{display:block}
@media (forced-colors:active){
  .tile:has(input:checked),.chip:has(input:checked){forced-color-adjust:none; background:Highlight; border-color:Highlight; color:HighlightText}
  .tile:has(input:focus-visible),.chip:has(input:focus-visible){outline-color:CanvasText}
}
.avatar{display:inline-grid; place-items:center; flex:none; width:1.7rem; height:1.7rem; border-radius:50%; background:var(--pi); color:var(--p,var(--paper)); font:600 .66rem/1 var(--f-label); font-size-adjust:none; letter-spacing:.03em}
.chips-field[data-collapsed]{display:none}
.audience{display:grid; gap:var(--sp-2); margin-top:var(--sp-5); padding-top:var(--sp-4); border-top:4px solid var(--pi)}
.audience>.field:first-child{margin-top:0}
.audience-summary{display:flex; gap:var(--sp-2); align-items:start; font-size:var(--fs-s); font-weight:500}
.audience-summary .icon{margin-top:.2rem}
.is-secret{font-weight:700}

/* =====================================================================
   PAGES
   ===================================================================== */
/* Page head on the wall: big title left, tools right */
.lhead{--space:1rem 1.5rem; --align:end; padding-block:3.4rem 1.8rem}
.lhead h1{font-family:var(--f-display); font-weight:900; text-transform:uppercase; font-size:var(--fs-page); font-size-adjust:none; line-height:.82; margin:0; overflow-wrap:anywhere;
  text-shadow:var(--title-shadow); filter:var(--halo-title)}
.lhead p{margin:.7rem 0 0; color:var(--mut); font-weight:500; font-size:1.05rem; max-inline-size:40rem; text-shadow:var(--wall-text-shadow); filter:var(--halo-text)}
.lhead .sp{--space:.7rem; margin-inline-start:auto}
.lhead--sm h1{font-size:clamp(2.2rem,6vw,4.2rem)}

/* Flashes: a paper slip on the wall */
.flashes{display:grid; gap:var(--sp-3); margin-block:var(--sp-5) 0; justify-items:start}
.flash{display:flex; align-items:start; gap:var(--sp-3); max-inline-size:40rem; font-weight:500; transform:rotate(-.5deg)}
.flash p{flex:1; margin:0}
.flash>.icon{margin-top:.2rem; width:1.1rem; height:1.1rem; stroke-width:2.2}
.flash-error{box-shadow:inset 6px 0 0 var(--marker),0 1px 1px rgba(0,0,0,.18),4px 12px 14px -8px var(--sh); padding-inline-start:1.4rem}
.flash-error>.icon{color:var(--err)}
.flash-close{display:grid; place-items:center; width:44px; height:44px; margin:-.7rem -.8rem -.7rem 0; background:none; border:0; cursor:pointer; color:var(--pi)}
.form-errors{margin-bottom:var(--sp-5)}

/* List */
.rail{--minimum:17rem; --fill:auto-fill; --space:2.8rem 0; list-style:none; margin:0; padding:0}
.rail li{padding-inline:.7rem}
.rail .bon{transform-origin:50% 0; transform:rotate(var(--r,0deg)); transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
.rail li:nth-child(4n+1){--r:-.4deg; --a:2.6deg} .rail li:nth-child(4n+2){--r:.3deg; --a:-2.2deg} .rail li:nth-child(4n+3){--r:-.25deg; --a:2deg} .rail li:nth-child(4n){--r:.45deg; --a:-2.8deg}
.rail .bon:is(:hover,:focus-within){transform:rotate(0) translateY(3px)}
/* Legend: painter's tape with felt pen; a snippet of paper in the ticket colour on the left end.
   The meaning is in the words, the colour is only an example. */
.legend{--space:1.7rem 2.4rem; --align:stretch; margin:2.4rem 0 1rem; padding:0; list-style:none}
.legend li{position:relative; isolation:isolate; filter:drop-shadow(0 3px 3px var(--sh))}
.legend li:nth-child(odd){transform:rotate(-1.3deg)} .legend li:nth-child(even){transform:rotate(.9deg)}
.legend .tape{position:relative; z-index:1; font-size:.98rem; padding-inline-start:4.1rem}
@media (max-width:600px){.legend .tape{font-size:.9rem; padding-inline:3.7rem .9rem}}
.legend li:nth-child(odd) .tape{--krepp-l:var(--krepp-l3); --krepp-r:var(--krepp-r1); --kx:-83px; --ky:-5px}
.legend li:nth-child(even) .tape{--krepp-l:var(--krepp-l1); --krepp-r:var(--krepp-r2); --kx:-173px; --ky:-17px; --krepp-hauch:rgba(214,186,112,.08)}
.schnipsel{position:absolute; z-index:2; left:1.05rem; top:.3rem; width:2.4rem; height:calc(100% - .45rem); transform:rotate(-2.2deg);
  filter:drop-shadow(0 0 .4px rgba(0,0,0,.45)) drop-shadow(0 .5px .6px rgba(0,0,0,.2))}
.schnipsel i{position:absolute; inset:0; isolation:isolate; --p:var(--paper);
  background:linear-gradient(var(--pi) 0 0) .35rem calc(100% - 1.75rem)/48% 3px no-repeat,
    linear-gradient(var(--pi-rule) 0 0) .35rem calc(100% - 1.25rem)/66% 2px no-repeat,
    linear-gradient(var(--pi-rule) 0 0) .35rem calc(100% - .85rem)/40% 2px no-repeat,var(--p);
  -webkit-mask:linear-gradient(#000 0 0) 0 0/100% calc(100% - 6px) no-repeat,var(--riss-maske) var(--riss-x,0px) 100%/120px 7px repeat-x;
  mask:linear-gradient(#000 0 0) 0 0/100% calc(100% - 6px) no-repeat,var(--riss-maske) var(--riss-x,0px) 100%/120px 7px repeat-x}
.schnipsel i::after{content:""; position:absolute; inset:0; z-index:-1; background:var(--papier) 0 0/var(--papier-gr); mix-blend-mode:hard-light; opacity:var(--papier-st)}
.schnipsel.gelb{transform:rotate(1.6deg)} .schnipsel.gelb i{--p:var(--canary); --riss-x:-61px}

/* Painter's tape (material/kreppband): long edges machine-cut, short ends torn */
.tape{font-family:var(--f-marker); font-size:1.02rem; font-size-adjust:.66; line-height:1.35; color:var(--tape-ink); padding:.75rem 1.1rem .7rem;
  background:var(--krepp-licht,linear-gradient(transparent,transparent)),linear-gradient(var(--krepp-hauch,transparent) 0 0),var(--krepp) var(--kx,0px) var(--ky,0px)/128px 32px;
  -webkit-mask:var(--krepp-kante) var(--kx,0px) 0/240px 100% repeat-x,var(--krepp-l,var(--krepp-l1)) 0 0/16px 100% no-repeat,var(--krepp-r,var(--krepp-r1)) 100% 0/16px 100% no-repeat,linear-gradient(#000 0 0) 16px 0/calc(100% - 32px) 100% no-repeat;
  mask:var(--krepp-kante) var(--kx,0px) 0/240px 100% repeat-x,var(--krepp-l,var(--krepp-l1)) 0 0/16px 100% no-repeat,var(--krepp-r,var(--krepp-r1)) 100% 0/16px 100% no-repeat,linear-gradient(#000 0 0) 16px 0/calc(100% - 32px) 100% no-repeat;
  -webkit-mask-composite:source-in,source-over,source-over; mask-composite:intersect,add,add}
.tapes{--space:.9rem 1.1rem; --align:stretch; margin:2rem 0 0; padding:0; list-style:none}
.tapes li:nth-child(3n+1) .tape{--krepp-l:var(--krepp-l1); --krepp-r:var(--krepp-r1)}
.tapes li:nth-child(3n+2) .tape{--krepp-l:var(--krepp-l2); --krepp-r:var(--krepp-r2); --kx:-47px; --ky:-11px;
  --krepp-hauch:rgba(255,252,240,.09); --krepp-licht:linear-gradient(90deg,transparent calc(100% - 34px),rgba(255,255,255,.13) calc(100% - 8px),rgba(0,0,0,.05))}
.tapes li:nth-child(3n) .tape{--krepp-l:var(--krepp-l3); --krepp-r:var(--krepp-r3); --kx:-131px; --ky:-21px; --krepp-hauch:rgba(214,186,112,.1)}
.tapes li:nth-child(1){transform:rotate(-1.6deg)} .tapes li:nth-child(2){transform:rotate(1.1deg)} .tapes li:nth-child(3){transform:rotate(-.6deg)}
.tapes li{filter:drop-shadow(0 3px 3px var(--sh))}

/* Empty list: a slip with one sentence and one button */
.empty{display:grid; justify-items:start; gap:var(--sp-4); max-inline-size:28rem; margin-block:var(--sp-5); transform:rotate(-.8deg); padding:1.4rem 1.3rem}
.empty p{font-size:var(--fs-l); font-weight:500; text-wrap:balance}

/* Detail: ticket with the facts, ticket with the original text */
.back{display:inline-flex; align-items:center; min-height:44px; margin:2.6rem 0 1.4rem; font-weight:600; letter-spacing:var(--track-label); text-decoration:none; border-bottom:2px solid var(--cta);
  text-shadow:var(--wall-text-shadow); filter:var(--halo-text)}
.desk{--threshold:50.4rem; --space:2.4rem 2.6rem; --align:flex-start; padding-bottom:2rem}
.desk--detail>.drop:nth-of-type(1){flex:0 1 max(24rem,var(--switch))}
.desk--detail>.drop:nth-of-type(2){flex-grow:999}
.desk .drop+.drop{--i:1; --a:-2.2deg}
.desk .bon{padding:2.6rem 1.4rem 2.3rem; font-size:1rem}
@media (max-width:600px){.desk .bon{padding:2.3rem 1.1rem 2rem}}
.desk .bon h1{font-size:1.9rem; margin-top:.9rem}
.desk .bon .no{font-size:4.4rem}
.desk .facts{font-size:.88rem}
.contact{overflow-wrap:anywhere}
.secret{display:flex; gap:var(--sp-2); align-items:start; font-weight:600; padding:.5rem .6rem; border:2px dashed var(--pi)}
.secret .icon{margin-top:.2rem}
.by{display:flex; align-items:center; gap:var(--sp-3); font-size:var(--fs-s)}
.orig .text{white-space:pre-wrap; margin:.6rem 0 0; font:400 1rem/1.55 var(--f-serif); font-size-adjust:none; max-inline-size:72ch}
.orig .empty-note{margin-top:.6rem; color:var(--pi-3)}

/* Form: original text on the left ticket, the facts on the right one */
.desk--form{--threshold:56rem}
.bon .paste-field textarea{min-height:min(26rem,60vh); max-height:70vh; field-sizing:content; font:400 1rem/1.55 var(--f-serif); font-size-adjust:none}
.field-row{display:flex; flex-wrap:wrap; gap:0 var(--sp-4)}
.field-row>*{flex:1 1 11rem}
.form-facts h2{margin-top:.6rem}
.bar{position:sticky; bottom:calc(var(--sp-3) + env(safe-area-inset-bottom)); z-index:5; margin-top:var(--sp-5);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:var(--sp-2) var(--sp-3); padding:.6rem .6rem .6rem 1rem;
  color:var(--head-ink); border-radius:6px;
  background:linear-gradient(180deg,rgba(255,255,255,.075) 0,rgba(255,255,255,.04) 36%,rgba(255,255,255,0) 37.5%,rgba(0,0,0,0) 62%,rgba(0,0,0,.2) 100%),linear-gradient(180deg,var(--enamel-a),var(--enamel-b));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 -3px 0 #0b0e0d,0 14px 22px var(--sh)}
.bar .actions{--space:var(--sp-2); margin-inline-start:auto}
.sticky-summary{flex:1 1 9rem; min-inline-size:0; overflow-wrap:anywhere; line-height:1.35; font-size:var(--fs-s); font-weight:500}
.sticky-summary.is-secret{color:var(--heat2)}
.confirm>summary{list-style:none; width:fit-content}
.confirm>summary::-webkit-details-marker{display:none}
.confirm[open]>summary{display:none}
.confirm form{display:grid; gap:var(--sp-2); max-inline-size:22rem; font-size:var(--fs-s)}
.confirm-delete{margin-top:var(--sp-6); width:fit-content}
.confirm-delete form{padding:1rem 1.1rem}

/* Invites */
.desk--invites>.drop:nth-of-type(1){flex:0 1 max(26rem,var(--switch))}
.desk--invites>.drop:nth-of-type(2){flex-grow:999}
.fresh{display:grid; gap:var(--sp-3); margin-top:var(--sp-5); padding-top:var(--sp-4); border-top:4px solid var(--pi)}
.fresh h2{display:flex; align-items:center; gap:var(--sp-2); font-size:var(--fs-xl); margin:0}
.link-field{font:500 var(--fs-s) var(--f-mono)!important; font-size-adjust:none!important}
.actions{--space:var(--sp-2)}
.rows{display:grid; margin-top:.6rem}
.row{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:var(--sp-2) var(--sp-3); padding:.6rem 0; border-top:1px solid var(--pi-rule)}
.row>div:first-child{flex:1 1 10rem; min-inline-size:0}
.row-title{font-weight:600; overflow-wrap:anywhere}
.row-meta{font:400 var(--fs-xs) var(--f-mono); font-size-adjust:none; color:var(--pi-3); overflow-wrap:anywhere}
.row.is-new{animation:fade-new 1.4s ease-out}
@keyframes fade-new{from{background:rgba(255,106,31,.25)} to{background:transparent}}

/* Sign-in and invitation: one ticket on the rail, centred; the invitation puts its ticket next to the big headline */
.auth-hang{display:flex; justify-content:center; margin-top:3.2rem}
.auth-hang>.drop{inline-size:min(25rem,100%)}
.auth-foot{text-align:center; color:var(--mut); margin-top:var(--sp-5); text-shadow:var(--wall-text-shadow); filter:var(--halo-text)}
.hatch-body{display:grid; gap:0}
.hatch-body.htmx-swapping,.hatch-body.htmx-settling{opacity:.4; transition:opacity 150ms ease}
.hatch-body h1,.hatch-body h2{margin-top:.2rem}
.with-icon{display:flex; align-items:center; gap:var(--sp-2)}
.hero{--side-width:22.5rem; --content-min:24.4rem; --space:3.5rem; --space-y:.7rem; --align:flex-start; flex-direction:row-reverse; justify-content:flex-end; padding-bottom:2rem; margin-top:3.2rem}
.hero .txt{padding-top:4.4rem}
h1.big{font-family:var(--f-display); font-weight:900; text-transform:uppercase; font-size:var(--fs-hero); font-size-adjust:none; line-height:.875; letter-spacing:.005em; margin:0; text-wrap:balance;
  text-shadow:var(--title-shadow); filter:var(--halo-title)}
h1.big .ln{display:block; margin-inline-start:calc(var(--lsb,.04) * -1em)}
@container (min-width:50.4rem){h1.big .ln-r{display:inline} h1.big .ln-d{display:inline; margin-inline-start:0}}
h1.big .ln-z{--lsb:.018}
.say{--say-lsb:.075; margin:1.5rem 0 0; margin-inline-start:calc(var(--say-lsb) * -1em); color:var(--ink);
  font:600 clamp(1.3rem,1rem + 1.4vw,1.5rem)/1.25 var(--f-label); font-stretch:var(--plex-wdth); font-size-adjust:var(--plex-label);
  max-inline-size:23em; text-wrap:balance; letter-spacing:var(--track-lead); text-shadow:var(--say-shadow); filter:var(--halo-text)}
.say::before{content:""; display:block; width:2.4rem; height:4px; margin:0 0 .8rem calc(var(--say-lsb) * 1em); background:var(--heat); border-radius:var(--r-pill); box-shadow:var(--say-dash-shadow)}
.inviter{display:flex; align-items:center; gap:var(--sp-3); margin-top:.75rem}
.inviter h2{margin:0}
.inviter .avatar{width:2.4rem; height:2.4rem; font-size:.85rem}

/* Errors (404, 500) */
.oops h1{font-family:var(--f-display); font-weight:900; text-transform:uppercase; font-size:2.6rem; font-size-adjust:none; line-height:.9; margin:.6rem 0 .5rem}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important; transition:none!important}}
