/* The app's stylesheet (ADR-043), section by section: rules of equal specificity win by their order, so every file keeps
   its place in this list. Every colour, size, radius, blur, spacing, tracking, leading, time and easing is a token of
   tokens.css; no value is written outside them. A function a comment names (fit(), kshape() …) is the app's, in src/. *//* General Sans, the app's own type (ADR-043): the four weights the stylesheet uses, the woff2 files as Fontshare serves
   them, unchanged and never subset. Its licence and the rule for its files: src/fonts/LICENSES.md */
@font-face {
  font-family: "General Sans";
  src: url("/assets/GeneralSans-300-ulp9itO8.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/assets/GeneralSans-400-BeAhF2WT.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/assets/GeneralSans-500-DvEF04Ne.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/assets/GeneralSans-600-DFLbTJgb.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Noto Sans, the paper's type of an e-mail as it landed (--paper-font): Google Fonts' latin subset, one variable file,
   declared per weight with its range as Google declares it. Its licence: src/fonts/LICENSES.md */
@font-face {
  font-family: "Noto Sans";
  src: url("/assets/NotoSans-latin-avyUD5lZ.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/assets/NotoSans-latin-avyUD5lZ.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans";
  src: url("/assets/NotoSans-latin-avyUD5lZ.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* Noto Serif, a font of the page frame (ADR-034) that the «Layout» pane shows in its own type: Google Fonts' latin
   subset, one variable file, declared per weight with its range as Google declares it. The column takes the frame's other
   fonts from the api (src/builder/frameFonts.ts). Its licence: src/fonts/LICENSES.md */
@font-face {
  font-family: "Noto Serif";
  src: url("/assets/NotoSerif-latin-DStRPlTg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Serif";
  src: url("/assets/NotoSerif-latin-DStRPlTg.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-stretch: 100%;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* ============================================================== tokens */
@property --p {
  syntax: "<number>";
  initial-value: 0;
  inherits: false;
}
:root {
  color-scheme: dark; /* the form controls, the date picker and the scrollbar are drawn for the dark */
  --sand: #e9e8e6;
  --ink: #1c1b19;
  --accent: #f04e23;
  --white: #ffffff;
  --muted: #6a6864; /* --muted: the quietest ink on paper, 4.7:1 under a popover's shadow */
  /* one type scale, one radius scale, six blurs: every size in the file is one of these */
  --f-xs: 11px;
  --f-sm: 12.5px;
  --f-md: 14px;
  --f-lg: 15.5px;
  --f-xl: 19px;
  --f-2xl: 26px;
  --f-hero: 46px;
  --f-tab: 11px; /* --f-tab: the words of the phone's tab bar, which keep their size when the phone's type grows */
  --f-num-sm: 25px;
  --f-num: 42px;
  --f-num-lg: 66px;
  --r-xs: 4px;
  --r-2xs: 2px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;
  /* the tracking and the leading: the hero and the numbers are tight, the caps and the code open; leading from the numbers'
     .95 to the answer's 1.72 */
  --ls-num: -0.05em;
  --ls-hero: -0.035em;
  --ls-tight: -0.02em;
  --ls-0: 0;
  --ls-caps: 0.1em;
  --ls-code: 0.5em;
  --lh-num: 0.95;
  --lh-1: 1;
  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-ui: 1.5;
  --lh-text: 1.62;
  --lh-read: 1.72;
  /* one spacing scale for every padding, margin and gap; 1 px is the hairline. The layout's own lengths: the chrome at the
     top, down to under the path, and the composer's room at the bottom of a screen */
  --s-1: 1px;
  --s-2: 2px;
  --s-4: 4px;
  --s-6: 6px;
  --s-8: 8px;
  --s-10: 10px;
  --s-12: 12px;
  --s-14: 14px;
  --s-16: 16px;
  --s-18: 18px;
  --s-20: 20px;
  --s-24: 24px;
  --s-28: 28px;
  --s-32: 32px;
  --s-40: 40px;
  --s-48: 48px;
  --s-64: 64px;
  --chrome-top: 148px;
  --chrome-foot: 160px;
  /* the window's own edges: the notch and the home bar of a phone (viewport-fit=cover), 0 elsewhere; --kb the keyboard over the
     window's foot, set from the visual viewport (src/shell/phone.ts). The upright frame (src/band/fit.ts): the band fills the
     room from --band-top to --band-foot above the foot, the card lies --card-b above the foot, --card-h high. The phone's tab
     bar is --tabbar high, and what stands on it, the composer, stands --dock-b above the foot; held sideways, the path ends
     --corner-w before the window's edge, where the corner begins (the stylesheet's «the phone and the tablet») */
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --kb: 0px;
  --band-top: 140px;
  --band-foot: 340px;
  --band-left: 0px;
  --band-right: 0px;
  --card-h: 0px;
  --card-b: 118px;
  --tabbar: 60px;
  --dock-b: var(--s-20);
  --corner-w: 144px;
  /* the card beside the selected folder: its width, and the scale it stands at (the controller places it by both) */
  --card-w: 262px;
  --card-scale: 0.86;
  --blur-chrome: blur(24px) saturate(160%);
  --blur-glass: blur(12px) saturate(120%);
  --blur-smoke: blur(6px) saturate(160%); /* --blur-smoke: soft enough that the page's lines still show through the smoke */
  --blur-room: blur(10px);
  --blur-glow: blur(
    8px
  ); /* --blur-glow: the soft light under the fan of Vorlagen */
  --blur-room-far: blur(
    12px
  ); /* the room behind the chat, the room behind the flat screens */
  --room-signin: blur(8px) brightness(0.5) saturate(0.85);
  --room-code: blur(3px) brightness(0.66) saturate(0.95); /* the room behind the sign-in and behind the second factor */
  --stage: #141311;
  --text: var(--sand);
  --dim: rgba(233, 232, 230, 0.72);
  --text-3: rgba(233, 232, 230, 0.55);
  --faint: rgba(
    233,
    232,
    230,
    0.36
  ); /* --dim: 4.5:1 over the room's lit folder; --text-3: the quietest text, 5:1 on the ground and on the smoke; --faint: lines and dots, never text */
  /* the alpha ladders: white on the dark (fills, lines, rims, the drawings of the Layout pane), ink on glass and paper, black
     for the room's shadows; the dark ground itself for a mask and a scrim. A step nobody could tell from its neighbour is one step */
  --white-05: rgba(255, 255, 255, 0.05);
  --white-08: rgba(255, 255, 255, 0.08);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-14: rgba(255, 255, 255, 0.14);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-30: rgba(255, 255, 255, 0.3);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-55: rgba(255, 255, 255, 0.55);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-85: rgba(255, 255, 255, 0.85);
  --ink-06: rgba(28, 27, 25, 0.06);
  --ink-12: rgba(28, 27, 25, 0.12);
  --ink-30: rgba(28, 27, 25, 0.3);
  --ink-22: rgba(28, 27, 25, 0.22);
  --black: #000;
  --black-30: rgba(0, 0, 0, 0.3);
  --black-35: rgba(0, 0, 0, 0.35);
  --black-40: rgba(0, 0, 0, 0.4);
  --black-50: rgba(0, 0, 0, 0.5);
  --black-60: rgba(0, 0, 0, 0.6);
  --stage-40: rgba(20, 19, 17, 0.4);
  --stage-70: rgba(20, 19, 17, 0.7);
  --line: var(--white-10);
  --line2: var(--white-20);
  --sans:
    "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --paper-font: "Noto Sans", system-ui, sans-serif;
  /* one motion dialect: the band writes these at boot from its own numbers (bandMotion() in src/motion/motion.ts):
     --e the settle, --e3 the spring, --e2 the opening's in-out; --ts the time the settle takes, --tb the time the spring rings. Until then: */
  --e: cubic-bezier(0.22, 1, 0.36, 1);
  --e2: cubic-bezier(0.65, 0, 0.35, 1);
  --e3: cubic-bezier(0.34, 1.4, 0.44, 1);
  --t1: 0.16s;
  --t2: 0.3s;
  --t3: 0.55s;
  --t4: 0.85s;
  --ts: var(--t3);
  --tb: var(--t3);
  --tn: 50ms; /* --tn: the stagger, the n-th of a list waits n times it */
  --tp: 2.8s; /* the pulse of a pin */
  /* a question flying into its folder: how much it shrinks on the way, and its fade in the mouth */
  --fly-shrink: 0.55;
  --fly-fade: 150ms;
  /* the layers, bottom to top. Back, mid, front: the page's room, its light and grain, and the app; and inside a part, the
     index card's sheet, its rim and its tabs, the path's bar over its crumbs. Then the card beside the folder in the stage,
     and the fixed chrome: the hint, the composer, the travelling question, what opens from them, the rail, the scrim, and
     over the scrim the path, the brand, the corner and the avatar's list; over all of it the sheets' mask, the toast, the
     tooltip and the boot cover */
  --z-back: 0;
  --z-mid: 1;
  --z-front: 2;
  --z-card: 50;
  --z-pane: 70; /* the «Layout» pane beside the pages */
  --z-pop: 12; /* a popover at a section, over the pages */
  --z-hint: 85;
  --z-composer: 86;
  --z-flyer: 87;
  --z-bar: 88; /* the dock of a page: the builder's, the Durchlauf's */
  --z-bar-pop: 89;
  --z-rail: 90;
  --z-scrim: 91;
  --z-path: 92;
  --z-corner: 93;
  --z-mask: 150;
  --z-toast: 180;
  --z-tip: 200;
  --z-boot: 300;
  --sh1: 0 2px 6px var(--black-30);
  --sh2: 0 10px 24px var(--black-40), 0 2px 6px var(--black-30);
  --sh3: 0 28px 60px var(--black-50), 0 8px 18px var(--black-35);
  --sh4: 0 50px 100px var(--black-60), 0 16px 34px var(--black-40);
  /* the glass of the folder, as CSS */
  --glass: linear-gradient(
    135deg,
    rgba(236, 235, 233, 0.88) 0%,
    rgba(224, 223, 220, 0.88) 52%,
    rgba(206, 205, 201, 0.88) 100%
  ); /* over the darkest ground still 180 at its far corner, so --ink-dim reads on all of it */
  --glass-rim: inset 0 0 0 1.5px var(--white-85);
  --ink-line: var(--ink-12);
  --ink-dim: #413f3b; /* --ink-dim: the quietest ink on the glass, 4.5:1 on its far corner over the darkest ground, a citation slip on it included */
  --ink-faint: rgba(
    28,
    27,
    25,
    0.42
  ); /* --ink-faint: a line on the glass, never text: the dashed line under a field of the Angaben */
  /* the colour roles: five scales on the 12 steps of Radix Colors (1-2 ground, 3-5 fills, 6-8 lines, 9-10 solid, 11-12 text), each with one job
     · sand, the neutral: ground, smoke, glass, text (--sand, --ink, --stage). Most of every view is sand.
     · accent, the brand (Radix tomato moved onto #F04E23): step 9 says «act here» or «this waits for you», and nothing else. Ink on it,
       4.8:1; white on it is 3.6:1, too low for text. On the dark, small marks take step 11: a saturated hue vibrates on a dark ground.
     · clay, the brand's hue at low chroma: what is selected, current or yours, and the actions of the second rank (.pill.tonal).
     · ok, warn, err (Radix jade, amber, ruby): passed, uncertain, failed. Small marks only, each with a word or an icon, never the colour alone.
     Focus is a neutral ring. Shadows are the room's, never a glow of the orange. The selected folder of the band, its small glass
     twin and the dot of the brand are the accent too. */
  --accent-10: #fd623b;
  --accent-11: #ff987a;
  --accent-a4: rgba(240, 78, 35, 0.2);
  --on-accent: var(--ink);
  --clay-a5: rgba(248, 152, 124, 0.21);
  --clay-a7: rgba(252, 163, 132, 0.34);
  --clay-a8: rgba(252, 163, 132, 0.5);
  --clay-5: #46322a;
  --clay-11: #d0a99b;
  --clay-12: #fceae3;
  --clay-l3: #f9eee9;
  --clay-l4: #f5e4de;
  --clay-l5: #f1dcd4;
  --clay-l9: #b27f6b;
  --clay-l12: #3a2118;
  --ok-a3: rgba(2, 249, 153, 0.13);
  --ok-a6: rgba(52, 255, 194, 0.29);
  --ok-9: #29a383;
  --ok-11: #1fd8a4;
  --ok-l3: #e6f7ed;
  --warn-a3: rgba(250, 130, 0, 0.13);
  --warn-a6: rgba(253, 155, 0, 0.32);
  --warn-11: #ffca16;
  --err-a3: rgba(255, 35, 93, 0.17);
  --err-a6: rgba(255, 68, 118, 0.4);
  --err-9: #e54666;
  --err-11: #ff949d;
  --err-l3: #feeaed;
  --err-l6: #f8bfc8;
  --err-l11: #ca244d;
  /* a flag on paper: «Text unsicher», «Teilweise gelesen» on a source's card */
  --warn-l3: rgba(255, 197, 61, 0.2);
  --warn-l6: rgba(226, 163, 54, 0.55);
  --warn-l12: #4f3422;
  /* where you are: the rail's bar, the path's bar, the dot of the Verlauf with its halo */
  --here: var(--accent-11);
  --here-a3: rgba(255, 152, 122, 0.16);
  --sel-bg: var(--clay-a5);
  --sel-ring: var(--clay-a8);
  --sel-text: var(--clay-12);
  --focus: #eeeeec;
  /* the office's objects: paper, its lines, the paper tones of what belongs to the run, the small glass folder in its three kinds */
  --paper-sheet: linear-gradient(175deg, var(--white), #dcdad6);
  --paper-slip: linear-gradient(175deg, var(--white), #efeeeb);
  --paper-warm: #fbf8f5;
  --paper-line: #c6c3be;
  --paper-mark: #9ba2a8;
  --paper-dash: #d6d3ce;
  --paper-wait: repeating-linear-gradient(
    135deg,
    #fafaf9 0 12px,
    #f3f2f0 12px 24px
  );
  /* the page as it prints (ADR-034): its padding, at 3.75 px a millimetre, upright, on its side and on the phone, its sides
     apart, which the frame's side margins move; the frame's main colour and table head, which the page frame sets on each
     page; its rules, rows, stripes and meta text; a field, a block, an attribute line and a highlight in the text */
  --mm: 3.75px;
  --page-x: 68px;
  --page-x-land: 64px;
  --page-x-narrow: 26px;
  --page-pad: 60px var(--page-x) 54px;
  --page-pad-land: 46px var(--page-x-land) 42px;
  --page-pad-narrow: 34px var(--page-x-narrow) 30px;
  --pp: var(--ink);
  --pth: #e8edf3;
  --prule: #c9cfd8;
  --prow: #e2e6ec;
  --pzebra: #f4f6f9;
  --pmeta: #5a6472;
  --fld: #eaf0f7;
  --fld-line: #9fb4cc;
  --blk: #f3f0e9;
  --blk-line: #c9b98e;
  --attr: #eceae6;
  --hl: #ffe8a3;
  --chip: #f2f0ed;
  --chip-line: #e1ded9;
  /* a test run's mark across the middle of each page, as its PDF prints it: its weight, how faint, its turn */
  --mark-weight: 700;
  --mark-fade: 0.08;
  --mark-turn: -30deg;
  /* the side of the Freigabe beside its pages; a badge at a button's corner, half outside it */
  --apr-side: 300px;
  --bdg-out: calc(-1 * var(--s-6));
  --gf-back: linear-gradient(
    160deg,
    rgba(236, 235, 233, 0.62),
    rgba(196, 194, 190, 0.4)
  );
  --gf-front: linear-gradient(
    160deg,
    rgba(240, 239, 237, 0.86),
    rgba(206, 204, 200, 0.7)
  );
  --gf-tab: linear-gradient(
    180deg,
    rgba(242, 241, 239, 0.9),
    rgba(226, 225, 222, 0.85)
  );
  --gf-acc-back: linear-gradient(
    160deg,
    rgba(244, 110, 72, 0.9),
    rgba(196, 54, 18, 0.8)
  );
  --gf-acc-front: linear-gradient(
    160deg,
    rgba(246, 120, 84, 0.96),
    rgba(222, 69, 32, 0.9)
  );
  --gf-acc-tab: linear-gradient(
    180deg,
    rgba(248, 132, 98, 0.95),
    rgba(236, 90, 52, 0.9)
  );
  --gf-ink-back: linear-gradient(
    160deg,
    rgba(74, 72, 68, 0.72),
    rgba(34, 33, 31, 0.62)
  );
  --gf-ink-front: linear-gradient(
    160deg,
    rgba(84, 82, 78, 0.92),
    rgba(44, 42, 39, 0.86)
  );
  --gf-ink-tab: linear-gradient(
    180deg,
    rgba(92, 90, 86, 0.92),
    rgba(70, 68, 64, 0.88)
  );
  --idx-tab: rgba(240, 239, 237, 0.95);
  --idx-card: linear-gradient(
    160deg,
    var(--idx-tab),
    rgba(206, 204, 200, 0.85)
  );
  /* a book's spine */
  --spine: linear-gradient(
    90deg,
    rgba(236, 235, 233, 0.92),
    rgba(206, 205, 201, 0.78)
  );
  /* a failed source's glass, hatched */
  --glass-dead: repeating-linear-gradient(
    135deg,
    rgba(236, 235, 233, 0.88) 0 8px,
    rgba(210, 209, 205, 0.88) 8px 16px
  );
  /* the smoke's tint, the published card's tint; the room's light: the warm cone from above, the accent pool on the floor */
  --smoke-tint: linear-gradient(
    160deg,
    rgba(46, 44, 41, 0.34),
    rgba(28, 27, 25, 0.36)
  );
  --pub-tint: linear-gradient(
    160deg,
    rgba(46, 44, 41, 0.5),
    rgba(28, 27, 25, 0.55)
  );
  /* the shade, a glass's dimming as a layer under its background (the stylesheet's «the shade»): as dark as the smoke's brightness(.18), a title card tag's (.5) and the top scrim's (.2) */
  --shade-smoke: rgba(0, 0, 0, 0.82);
  --shade-tag: var(--black-50);
  --shade-scrim: rgba(0, 0, 0, 0.8);
  --warm-24: rgba(255, 228, 210, 0.24);
  --warm-06: rgba(255, 228, 210, 0.06);
  --floor: rgba(240, 78, 35, 0.26);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}
html {
  scrollbar-gutter: stable;
} /* a classic scrollbar never changes the viewport's width: the view transition from the chat back to the dashboard runs */
body {
  font-family: var(--sans);
  font-size: var(--f-md);
  line-height: var(--lh-ui);
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background: var(--stage);
  overflow-x: hidden;
}
body.locked {
  overflow: hidden;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: var(--ls-tight);
}
h1 {
  font-size: var(--f-2xl);
}
h2 {
  font-size: var(--f-xl);
}
h3 {
  font-size: var(--f-lg);
}
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
}
input,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
:is(.card, .fcard, .page, .srccard, .fsheet, .tsheet, .bslip) :focus-visible {
  outline-color: var(--ink);
} /* on glass and paper */
::selection {
  background: var(--clay-a7);
  color: inherit;
}
/* a card that acts shows the focus of its button out of sight; that button and the live region take no room */
[data-hit] {
  cursor: pointer;
}
[data-hit]:has(> .cardact:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
:is(.srccard, .fsheet, .tsheet, .bslip, .page [data-hit]):has(
  > .cardact:focus-visible
) {
  outline-color: var(--ink);
}
.vh,
.cardact {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
[role="dialog"][tabindex="-1"]:focus-visible {
  outline: none;
} /* a dialog takes the focus to be read out; its controls show theirs */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-thumb {
  background: var(--white-14);
  border-radius: var(--r-pill);
}
::-webkit-scrollbar-track {
  background: transparent;
}
/* only the window shows a scrollbar: every pane, sheet, popover and text field inside the page scrolls without one */
body * {
  scrollbar-width: none;
}
body *::-webkit-scrollbar {
  display: none;
}
/* ============================================================== layers
   the room with the 3D stage in it (fixed, scaled to cover), the spotlight and the grain, the app; the chrome, the sheets,
   the boot cover over it: the --z- tokens */
/* the room holds the stage. The stage keeps the band's own scale and crop (fit()); the room is dollied and dimmed around
   it, so the room never leaves: a little behind the chat, more behind the flat screens. */
.room {
  position: fixed;
  inset: 0;
  z-index: var(--z-back);
  transform-origin: 50% 58%;
  transition:
    transform var(--t4) var(--e),
    filter var(--t4) var(--e);
}
html.vt-screen .room {
  transition: none;
} /* on a screen change the view transition crossfades the room; a CSS transition would be captured at its first frame */
.room.s-chat {
  transform: scale(1.22) translateY(3%);
  filter: var(--blur-room) brightness(0.36) saturate(0.8);
}
.room.far {
  transform: scale(1.3) translateY(6%);
  filter: var(--blur-room-far) brightness(0.26) saturate(0.7);
}
.stage {
  position: fixed;
  left: 0;
  top: 0;
  width: 1444px;
  height: 744px;
  transform-origin: 0 0;
  overflow: hidden;
  background: var(--stage);
}
canvas.gl {
  position: absolute;
  left: 0;
  top: 0;
  width: 1444px;
  height: 744px;
  display: block;
  cursor: grab;
}
canvas.gl:active {
  cursor: grabbing;
}
.orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition:
    opacity var(--t2) var(--e),
    visibility var(--t2) var(--e);
}
.room:not(.s-dashboard) :is(.orbit, .orbitctl),
body.opening :is(.orbit, .orbitctl),
body.listing .orbitctl {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
} /* hidden once faded out, so they take no focus: off the dashboard and while a folder opens; while the path's list is open the handle and the order wait, as the band's keys do, and the list never covers them */
/* the handle on the arc and the band's order above it are one group: it stands where the band stands, at the handle's point
   on the arc. The handle carries the selected folder's first letter, or the month of its last change; dragged along the arc it
   moves the band. The order, by name or by date, stands straight above the handle and rides with it. Both are chrome: the smoke */
.orbitctl {
  transition:
    opacity var(--t2) var(--e),
    visibility var(--t2) var(--e);
}
.arcctl {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
} /* translate: the handle's point on the arc, set each frame */
.arcctl {
  --ks: max(1, calc(1 / var(--k, 1)));
} /* the handle and the order are chrome: where the stage is drawn smaller than 1, they keep their own size */
.knob {
  position: absolute;
  left: -17px;
  top: -17px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: grab;
  touch-action: none;
  transform: scale(var(--ks));
  --lift: var(--sh2);
  transition:
    opacity var(--t2) var(--e),
    scale var(--tb) var(--e3);
}
.knob b {
  font-size: var(--f-lg);
  font-weight: 600;
  line-height: var(--lh-1);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.knob.held {
  scale: 1.12;
}
@media (hover: hover) {
.knob:hover {
  scale: 1.12;
}
}
@media (hover: none) {
.knob:active {
  scale: 1.12;
}
}
.knob.held {
  cursor: grabbing;
}
.sortby {
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  white-space: nowrap;
  display: flex;
  gap: var(--s-2);
  padding: var(--s-4);
  border-radius: var(--r-pill);
  transform: scale(var(--ks));
  transform-origin: 50% 100%;
  --lift: var(--sh2);
}
.sortby button {
  padding: var(--s-6) var(--s-12);
  border-radius: var(--r-pill);
  font-size: var(--f-xs);
  font-weight: 500;
  color: var(--text-3);
  transition:
    color var(--t2) var(--e),
    background var(--t2) var(--e);
}
@media (hover: hover) {
.sortby button:hover {
  color: var(--dim);
  background: var(--white-05);
}
}
@media (hover: none) {
.sortby button:active {
  color: var(--dim);
  background: var(--white-05);
}
}
/* the spotlight: one cone of light from above on the column in the middle, and its pool on the floor */
.spot {
  position: fixed;
  inset: 0;
  z-index: var(--z-mid);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t4) var(--e);
  background:
    radial-gradient(
      44% 70% at 50% -10%,
      var(--warm-24),
      var(--warm-06) 55%,
      transparent 72%
    ),
    radial-gradient(30% 9% at 50% 103%, var(--floor), transparent 75%);
}
.spot.on {
  opacity: 1;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: var(--z-mid);
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(var(--white-05) 1px, transparent 1px);
  background-size: 3px 3px;
}
/* the rail's column: on every screen but the dashboard the rail stands at the left edge and the screen begins beside it.
   Everything that centres, the shell, the composer, the run dock, the toast, centres in the width that is left. */
body {
  --rail: 0px;
}
body:not(.locked) {
  --rail: 108px;
}
#app {
  position: relative;
  z-index: var(--z-front);
  padding-left: var(--rail);
}
.shell {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding: var(--chrome-top) var(--s-28) var(--chrome-foot);
}
/* the Durchlauf's column budget: the pages centre between the Layout pane at the left and the Interpretation at the right,
   each reserving its width and a gap of 20 px while it is open; one of the two is open at a time */
.shell.run {
  max-width: none;
  padding-left: calc(var(--s-28) + var(--pl, 0px));
  padding-right: calc(var(--s-28) + var(--pr, 0px));
  transition: padding var(--t3) var(--e);
}
body.layout {
  --pl: 294px;
}
body.interp-open {
  --pr: 392px;
}
@media (max-width: 1180px) {
  body.layout {
    --pl: 0px;
  }
  body.interp-open {
    --pr: 0px;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes pop {
  from {
    transform: scale(0.94);
  }
} /* the transform only: opacity never rides the spring, it fades beside it */
.in {
  animation: rise var(--t3) var(--e) backwards;
  animation-delay: calc(var(--n, 0) * var(--tn));
}
/* ================================================================ chrome */
.brand {
  position: fixed;
  left: 26px;
  top: 21px;
  z-index: var(--z-corner);
  display: flex;
  align-items: center;
  gap: var(--s-10);
  text-decoration: none;
  color: var(--text);
}
.brand .mark {
  width: 28px;
  height: 28px;
}
.brand .word {
  font-size: var(--f-xl);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-1);
  display: flex;
  align-items: baseline;
}
.brand .word i {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 0.06em;
  transform: translateY(-0.02em);
}
.brand .app {
  margin-left: var(--s-10);
  padding-left: var(--s-12);
  border-left: 1px solid var(--line2);
  font-size: var(--f-sm);
  color: var(--text-3);
  line-height: var(--lh-tight);
}
/* the rail: the five screens as five objects. On the dashboard it lies at the top where a dock would; when a folder
   opens it glides to the left edge and stands up (view transition «rail»). The one that is on is lit. */
.rail {
  position: fixed;
  left: 22px;
  top: 50%;
  transform: translateY(round(-50%, 1px));
  z-index: var(--z-rail);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  padding: var(--s-10) var(--s-8);
  border-radius: var(--r-xl);
  --lift: var(--sh3);
} /* centred to a whole pixel, as all chrome that travels in a view transition: at an odd height it would stand half a pixel off, and the transition's picture of it jumps by that half */
.rail .ro {
  position: relative;
  width: 48px;
  height: 52px;
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  transition:
    background var(--t1) var(--e),
    transform var(--tb) var(--e3);
}
.rail .ro > * {
  opacity: 0.55;
  transition: opacity var(--t1) var(--e);
} /* an object that is not on waits in its own grey; its badge, what waits for you, stays whole */
.rail .ro > .bdg,
.rail .ro.on > * {
  opacity: 1;
}
@media (hover: hover) {
.rail .ro:hover > * {
  opacity: 1;
}
}
@media (hover: none) {
.rail .ro:active > * {
  opacity: 1;
}
}
@media (hover: hover) {
.rail .ro:hover {
  background: var(--white-08);
  transform: translateX(3px);
}
}
@media (hover: none) {
.rail .ro:active {
  background: var(--white-08);
  transform: translateX(3px);
}
}
.rail .ro.on::before {
  content: "";
  position: absolute;
  left: -13px;
  top: calc(50% - 11px);
  width: 4px;
  height: 22px;
  border-radius: var(--r-xs);
  background: var(--here);
}
.rail .ro .ob,
.rail .ro .gf {
  transition:
    transform var(--tb) var(--e3),
    opacity var(--t1) var(--e);
}
@media (hover: hover) {
.rail .ro:hover .ob,
.rail .ro:hover .gf {
  transform: translateY(-2px) rotate(-4deg);
}
}
@media (hover: none) {
.rail .ro:active .ob,
.rail .ro:active .gf {
  transform: translateY(-2px) rotate(-4deg);
}
}
.rail .sep {
  height: 1px;
  margin: var(--s-4) var(--s-10);
  background: var(--line2);
}
.rail .bdg,
.rv .bdg {
  position: absolute;
  right: 5px;
  top: 5px;
  min-width: 16px;
  height: 16px;
  padding: 0 var(--s-4);
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--f-xs);
  font-weight: 600;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px var(--ink);
} /* what waits for the user, counted in the accent: on a rail's object, and on «Review» in a Durchlauf's dock */
body.opening .rail {
  opacity: 0.6;
}
.locked .rail {
  top: 16px;
  left: 50%;
  transform: translateX(round(-50%, 1px));
  flex-direction: row;
  gap: var(--s-4);
  padding: var(--s-6) var(--s-8);
  border-radius: var(--r-pill);
} /* body.locked: the dashboard */
.locked .rail .ro {
  width: 46px;
  height: 42px;
  border-radius: var(--r-pill);
}
.locked .rail .ro.on::before {
  left: calc(50% - 11px);
  top: auto;
  bottom: -9px;
  width: 22px;
  height: 4px;
}
@media (hover: hover) {
.locked .rail .ro:hover {
  transform: translateY(-2px);
}
}
@media (hover: none) {
.locked .rail .ro:active {
  transform: translateY(-2px);
}
}
.locked .rail .sep {
  width: 1px;
  height: auto;
  margin: var(--s-6) var(--s-6);
  align-self: stretch;
}
.corner {
  position: fixed;
  right: 26px;
  top: 16px;
  z-index: var(--z-corner);
  display: flex;
  align-items: center;
  gap: var(--s-8);
}
/* the top of a scrolled screen: what scrolls under the brand, the corner and the path passes behind a soft smoke down to the
   path's foot, whole but for its last 12 px, so the three stay readable and a page beside the path is dimmed as it is under
   it. On the dashboard nothing scrolls. */
.scrim {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--chrome-top) - var(--s-12));
  z-index: var(--z-scrim);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t2) var(--e);
  background: linear-gradient(var(--stage-70), transparent);
  backdrop-filter: var(--blur-room) brightness(0.2);
  -webkit-backdrop-filter: var(--blur-room) brightness(0.2);
  -webkit-mask-image: linear-gradient(
    var(--black) calc(100% - var(--s-12)),
    transparent
  );
  mask-image: linear-gradient(
    var(--black) calc(100% - var(--s-12)),
    transparent
  );
} /* dimmed like the smoke, so the corner's second line keeps 4.5:1 over white paper */
body.scrolled:not(.locked) .scrim {
  opacity: 1;
}
.me {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: var(--f-sm);
  font-weight: 600;
  background: var(--glass);
  color: var(--ink);
  box-shadow: var(--glass-rim), var(--sh2);
}
.me .ini::before {
  content: attr(data-i);
}
.corner .sysflag {
  position: absolute;
  right: 0;
  top: calc(100% + var(--s-8));
} /* a Störung: under the corner, clear of the rail and the path */
.whoami {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: var(--lh-tight);
  margin-right: var(--s-4);
}
.whoami b {
  font-size: var(--f-sm);
  font-weight: 600;
}
.whoami span {
  font-size: var(--f-xs);
  color: var(--text-3);
}

/* the tooltip: one for the page, outside #app and over every layer (src/ui/tip.ts). It slides in 5 px
   from its control; tipPlace() sets its side (data-side) and its place, each to a whole pixel */
.tip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-tip);
  font-size: var(--f-xs);
  font-weight: 400;
  line-height: var(--lh-ui);
  letter-spacing: var(--ls-0);
  white-space: nowrap;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: var(--s-6) var(--s-12);
  border-radius: var(--r-pill);
  background: var(--stage);
  border: 1px solid var(--line2);
  color: var(--text);
  box-shadow: var(--sh2);
  opacity: 0;
  translate: 0 -5px;
  pointer-events: none;
  transition:
    opacity var(--t1) var(--e),
    translate var(--t1) var(--e);
}
.tip[data-side="t"] {
  translate: 0 5px;
}
.tip[data-side="r"] {
  translate: -5px 0;
}
.tip.on {
  opacity: 1;
  translate: 0 0;
}
/* ============================================================ controls */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-10);
  padding: var(--s-10) var(--s-18);
  border-radius: var(--r-pill);
  font-size: var(--f-sm);
  font-weight: 500;
  background: var(--white-05);
  border: 1px solid var(--line);
  color: var(--text);
  white-space: nowrap;
  backdrop-filter: var(--blur-chrome);
  -webkit-backdrop-filter: var(--blur-chrome);
  transition:
    background var(--t1) var(--e),
    transform var(--tb) var(--e3),
    border-color var(--t1) var(--e),
    box-shadow var(--t2) var(--e);
}
@media (hover: hover) {
button.pill:hover {
  background: var(--white-14);
  transform: translateY(-2px);
  box-shadow: var(--sh2);
}
}
@media (hover: none) {
button.pill:active {
  background: var(--white-14);
  transform: translateY(-2px);
  box-shadow: var(--sh2);
}
} /* a pill that is no control, a value, does not lift */
button.pill:active {
  transform: translateY(0) scale(0.97);
}
.pill.sm {
  padding: var(--s-8) var(--s-14);
  font-size: var(--f-sm);
  gap: var(--s-8);
}
.pill.ic {
  padding: var(--s-10);
  width: 40px;
  height: 40px;
  justify-content: center;
}
.pill.ic.sm {
  padding: var(--s-8);
  width: 32px;
  height: 32px;
}
.pill.on {
  background: var(--sand);
  color: var(--ink);
  border-color: transparent;
} /* on: a switch, «Layout», Inkognito, a shown change, a share, a dock tool with its popover open */
.pill.acc {
  background: var(--accent);
  border-color: transparent;
  color: var(--on-accent);
  box-shadow: 0 8px 22px var(--black-35);
}
@media (hover: hover) {
.pill.acc:hover {
  background: var(--accent-10);
  box-shadow: 0 12px 28px var(--black-40);
}
}
@media (hover: none) {
.pill.acc:active {
  background: var(--accent-10);
  box-shadow: 0 12px 28px var(--black-40);
}
}
.composer:has(textarea:placeholder-shown) .pill.acc {
  background: var(--white-08);
  color: var(--text-3);
  box-shadow: inset 0 0 0 1px var(--line2);
} /* send while there is no question: neutral, never a dim orange */
.pill.tonal {
  background: var(--clay-a5);
  border-color: transparent;
  color: var(--clay-12);
  box-shadow: inset 0 0 0 1px var(--clay-a7);
} /* the second rank: several equal actions at once */
@media (hover: hover) {
.pill.tonal:hover {
  background: var(--clay-a7);
}
}
@media (hover: none) {
.pill.tonal:active {
  background: var(--clay-a7);
}
}
svg.ico-lead {
  margin-left: calc(var(--s-2) * -1);
}
svg.ico-trail {
  margin-right: calc(var(--s-2) * -1);
} /* an icon at the edge of a control's words, or at the head of a card or a sheet: 2 px given back on that side, as a chip does at its object (edges()) */
.row {
  display: flex;
  gap: var(--s-10);
  flex-wrap: wrap;
  align-items: center;
}
.sp {
  flex: 1;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-4) var(--s-10);
  border-radius: var(--r-pill);
  font-size: var(--f-xs);
  font-weight: 500;
  background: var(--white-05);
  border: 1px solid var(--line);
  color: var(--dim);
  white-space: nowrap;
}
.tag.ok,
.card.smoke .tag.ok {
  color: var(--ok-11);
  border-color: var(--ok-a6);
  background: var(--ok-a3);
}
.tag.warn {
  color: var(--warn-11);
  border-color: var(--warn-a6);
  background: var(--warn-a3);
}
.tag.err {
  color: var(--err-11);
  border-color: var(--err-a6);
  background: var(--err-a3);
}
.tag.state,
.tag.attn,
.card.smoke .tag.state {
  border-color: var(--line2);
  background: var(--white-05);
} /* the state of a thing: neutral, a firmer rim than a label */
.tag.attn::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
button.tag,
a.tag {
  cursor: pointer;
  transition:
    background var(--t1) var(--e),
    border-color var(--t1) var(--e),
    transform var(--tb) var(--e3);
} /* a tag that acts is a control: it lights under the pointer, gives when pressed, shows its focus; a tag that only says something does not */
a.tag {
  text-decoration: none;
} /* a tag that is a link, the Statusseite's public page: it reads as every tag */
@media (hover: hover) {
button.tag:hover,
a.tag:hover {
  background: var(--white-14);
  border-color: var(--line2);
}
}
@media (hover: none) {
button.tag:active,
a.tag:active {
  background: var(--white-14);
  border-color: var(--line2);
}
}
button.tag:active,
a.tag:active {
  transform: scale(0.97);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  display: inline-block;
  background: var(--faint);
}
.dot.ok,
.card.smoke .dot.ok {
  background: var(--sand);
}
.dot.hollow,
.card.smoke .dot.hollow {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--sand);
} /* a kind, not a state: a shape */
.num {
  font-size: var(--f-num);
  line-height: var(--lh-num);
  font-weight: 600;
  letter-spacing: var(--ls-num);
  font-variant-numeric: tabular-nums;
}
.num.lg {
  font-size: var(--f-num-lg);
}
.num.sm {
  font-size: var(--f-num-sm);
}
.lbl {
  font-size: var(--f-sm);
  color: var(--text-3);
}
.mini {
  font-size: var(--f-xs);
  color: var(--text-3);
}
.hd {
  display: flex;
  align-items: center;
  gap: var(--s-10);
  margin-bottom: var(--s-16);
}
.card > .hd > :is(.pill, .tag) {
  margin-block: calc(var(--s-8) * -1);
} /* a button or a tag at a card's head stands on the title's line and does not make the row taller: cards side by side keep their titles and their icons in one line */
.av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--f-sm);
  font-weight: 600;
  flex: none;
  background: var(--glass);
  color: var(--ink);
  box-shadow: var(--glass-rim), var(--sh1);
} /* a picture of a person, no control: it does not lift */

/* a card is an object: light frosted glass, ink on it */
.card {
  position: relative;
  background: var(--glass);
  border-radius: var(--r-xl);
  padding: var(--s-24);
  color: var(--ink);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: var(--glass-rim), var(--sh3);
}
.card.tight {
  padding: var(--s-18);
  border-radius: var(--r-lg);
}
.card.pub {
  background: var(--pub-tint);
  color: var(--text);
  box-shadow:
    inset 0 0 0 1px var(--white-20),
    var(--sh3);
}
.card.pub .lbl,
.card.pub .mini {
  color: var(--dim);
}
.card .lbl,
.card .mini {
  color: var(--ink-dim);
}
.card .tag,
.srccard .tag {
  background: var(--ink-06);
  border-color: var(--ink-12);
  color: var(--ink-dim);
}
@media (hover: hover) {
.card .pill:hover {
  background: var(--ink-12);
}
}
@media (hover: none) {
.card .pill:active {
  background: var(--ink-12);
}
}
.card .pill.acc {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
}
.card .dot {
  background: var(--ink-22);
}
.card .dot.ok {
  background: var(--ink);
}
.card .dot.hollow {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.card .av {
  background: var(--ink-06);
  box-shadow: inset 0 0 0 1px var(--ink-12);
}
.card .av.lead,
.kcard .av.lead {
  box-shadow:
    inset 0 0 0 1.5px var(--ink),
    0 0 0 3px var(--ink-12);
}
.av.lead {
  margin-bottom: 0;
} /* a Leitung's picture is no lead paragraph: it stands in the row with the others */
.line {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  padding: var(--s-12) 0;
  border-top: 1px solid var(--line);
  flex-wrap: nowrap;
  transition: padding-left var(--t2) var(--e);
}
@media (hover: hover) {
.line:hover {
  padding-left: var(--s-6);
}
}
@media (hover: none) {
.line:active {
  padding-left: var(--s-6);
}
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--s-16);
} /* auto-fit: the tiles fill the row, no empty place at its end */
.tiles:has(> :nth-child(6):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
} /* six tiles: two rows of three, never four and two */
.two {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: var(--s-20);
  align-items: start;
}
.two > * {
  min-width: 0;
}
.shell > .two {
  width: min(940px, 100%);
  margin-inline: auto;
} /* directly on a screen, the library's: in the title card's column */
@media (max-width: 1040px) {
  .two {
    grid-template-columns: 1fr;
  }
}
/* ======================================================= OFFICE PARTS ==
   Three objects the office is made of: a sheet of paper, a small folder of
   glass, and a pile of paper. Everything that is not the 3D band is drawn
   with them. */
.pp {
  position: relative;
  height: 74px;
  border-radius: var(--r-sm);
  padding: var(--s-10) var(--s-8);
  overflow: hidden;
  background: var(--paper-sheet);
  box-shadow: var(--sh2);
  transition: transform var(--tb) var(--e3);
}
.pp i,
.gf .pg i,
.gen .thumb i {
  display: block;
  height: 2px;
  background: var(--paper-line);
  margin-bottom: var(--s-4);
  border-radius: var(--r-xs);
}
.pp i.h {
  background: var(--ink);
  height: 3.4px;
  width: 62%;
  margin-bottom: var(--s-6);
}
.pp .cor {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 17px solid var(--paper-line);
  border-left: 17px solid transparent;
} /* the folded corner of a page to write: the door «Dokument erstellen» */
.pp .bdg {
  position: absolute;
  right: 6px;
  bottom: 5px;
  width: 18px;
  height: 18px;
  border-radius: var(--r-xs);
  display: grid;
  place-items: center;
  background: var(--ink-12);
  color: var(--ink);
}
/* the small glass folder: one sheet folded at the bottom, the pages inside, the pocket with its tab in front */
.gf {
  position: relative;
  width: 64px;
  height: 88px;
  flex: none;
  filter: drop-shadow(0 10px 16px var(--black-40));
}
.gf .bk {
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
  background: var(--gf-back);
  box-shadow: inset 0 0 0 1px var(--white-70);
}
.gf .pg {
  position: absolute;
  left: 11px;
  right: 13px;
  top: 9px;
  height: 52px;
  border-radius: var(--r-xs);
  background: var(--white);
  box-shadow: 0 2px 5px var(--black-30);
  padding: var(--s-6) var(--s-6);
}
.gf .pg i.h {
  background: var(--paper-mark);
  height: 3px;
  width: 60%;
  margin-bottom: var(--s-4);
}
.gf .pg.b {
  left: 15px;
  right: 9px;
  top: 12px;
  transform: rotate(3deg);
}
.gf .fr {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  border-radius: var(--r-md);
  background: var(--gf-front);
  box-shadow: inset 0 0 0 1px var(--white-85);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.gf .fr::before {
  content: "";
  position: absolute;
  left: 30%;
  width: 40%;
  top: -9px;
  height: 14px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: var(--gf-tab);
  box-shadow: inset 0 1px 0 var(--white-85);
}
.gf.acc .bk {
  background: var(--gf-acc-back);
}
.gf.acc .fr {
  background: var(--gf-acc-front);
  color: var(--white);
}
.gf.acc .fr::before {
  background: var(--gf-acc-tab);
}
.gf.ink .pg {
  display: none;
} /* Inkognito: an empty folder of smoke, nothing is kept in it */
.gf.ink:not(.acc) .bk {
  background: var(--gf-ink-back);
  box-shadow: inset 0 0 0 1px var(--white-30);
}
.gf.ink:not(.acc) .fr {
  background: var(--gf-ink-front);
  box-shadow: inset 0 0 0 1px var(--white-30);
  color: var(--sand);
}
.gf.ink:not(.acc) .fr::before {
  background: var(--gf-ink-tab);
}
.gf.sm {
  width: 44px;
  height: 60px;
}
.gf.sm .pg {
  left: 8px;
  right: 9px;
  top: 6px;
  height: 34px;
  padding: var(--s-4) var(--s-4);
}
.gf.sm .pg.b {
  left: 10px;
  right: 7px;
  top: 8px;
}
/* a pile of paper says how much the model may read */
.ministack {
  display: flex;
  align-items: center;
}
.minidoc {
  width: 15px;
  height: 20px;
  border-radius: var(--r-xs);
  margin-left: calc(var(--s-6) * -1);
  flex: none;
  background: var(--paper-sheet);
  box-shadow: 0 2px 7px var(--black-50);
  border: 0.5px solid var(--white-70);
  transition: transform var(--tb) var(--e3);
}
.minidoc:first-child {
  margin-left: 0;
  transform: rotate(-7deg);
}
.minidoc:nth-child(2) {
  transform: rotate(-2deg) translateY(-1px);
}
.minidoc:nth-child(3) {
  transform: rotate(3deg);
}
.minidoc:nth-child(4) {
  transform: rotate(8deg) translateY(-1px);
}
/* a citation's page: a small sheet of paper with its lines */
.pgm {
  width: 21px;
  height: 27px;
  border-radius: var(--r-xs);
  flex: none;
  padding: var(--s-4) var(--s-4);
  overflow: hidden;
  background: var(--paper-sheet);
  box-shadow: 0 3px 8px var(--black-40);
}
.pgm i {
  display: block;
  height: 1.6px;
  background: var(--paper-line);
  margin-bottom: var(--s-2);
  border-radius: var(--r-xs);
}
.pgm i.h {
  background: var(--ink);
  width: 72%;
  height: 2.4px;
  margin-bottom: var(--s-4);
}
/* the objects of the rail: a glass folder, a paper with a bubble, a pile, a page with a pin, an index card */
.ob {
  position: relative;
  width: 26px;
  height: 30px;
  flex: none;
  display: block;
}
.ob i {
  position: absolute;
  display: block;
}
.ob .p {
  left: 4px;
  top: 2px;
  width: 18px;
  height: 24px;
  border-radius: var(--r-xs);
  background: var(--paper-sheet);
  box-shadow: 0 2px 6px var(--black-40);
}
.ob .p::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 5px;
  height: 2px;
  border-radius: var(--r-xs);
  background: var(--ink);
  box-shadow:
    0 5px 0 var(--paper-line),
    0 10px 0 var(--paper-line),
    0 15px 0 var(--paper-line);
}
.ob.o-pen .p::before {
  background: var(--paper-line);
}
.ob.o-bub .b {
  right: -3px;
  bottom: -1px;
  width: 14px;
  height: 12px;
  border-radius: var(--r-sm) var(--r-sm) var(--r-sm) var(--r-xs);
  background: var(--paper-line);
}
.ob.o-pile i {
  left: 4px;
  top: 4px;
  width: 17px;
  height: 22px;
  border-radius: var(--r-xs);
  background: var(--paper-sheet);
  box-shadow: 0 2px 6px var(--black-50);
  border: 0.5px solid var(--white-70);
}
.ob.o-pile i:nth-child(1) {
  transform: rotate(-9deg) translateX(-3px);
}
.ob.o-pile i:nth-child(2) {
  transform: rotate(-1deg);
}
.ob.o-pile i:nth-child(3) {
  transform: rotate(8deg) translateX(3px);
}
.ob.o-pen .n {
  left: 0;
  top: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper-line);
  box-shadow: 0 0 0 2px var(--stage);
}
.ob.o-bub {
  translate: -2px 0;
}
.ob.o-pen {
  translate: 1px 2px;
} /* the bubble at the lower right and the pin at the upper left pull the drawing off its cell: it moves by half of that, so the paper and its mark stand centred to the eye */
.ob.o-idx .c {
  left: 1px;
  top: 9px;
  width: 24px;
  height: 18px;
  border-radius: var(--r-xs);
  background: var(--idx-card);
  box-shadow: 0 2px 6px var(--black-40);
}
.ob.o-idx .c::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 5px;
  height: 2px;
  border-radius: var(--r-xs);
  background: var(--paper-mark);
  box-shadow: 0 4px 0 var(--paper-line);
}
.ob.o-idx .t {
  left: 3px;
  top: 4px;
  width: 11px;
  height: 7px;
  border-radius: var(--r-xs) var(--r-xs) 0 0;
  background: var(--idx-tab);
}
.gf.xs {
  width: 26px;
  height: 36px;
  filter: drop-shadow(0 4px 6px var(--black-50));
}
.gf.xs .bk {
  border-radius: var(--r-xs);
}
.gf.xs .fr {
  border-radius: var(--r-xs);
}
.gf.xs .fr::before {
  top: -5px;
  height: 8px;
  border-radius: var(--r-xs) var(--r-xs) 0 0;
}
.gf.xs .pg {
  left: 5px;
  right: 5px;
  top: 4px;
  height: 20px;
  padding: var(--s-4) var(--s-2);
  border-radius: var(--r-xs);
}
.gf.xs .pg i {
  height: 1.5px;
  margin-bottom: var(--s-2);
}
.gf.xs .pg i.h {
  height: 2px;
  margin-bottom: var(--s-2);
}
.gf.xs .pg.b {
  left: 6px;
  right: 4px;
  top: 5px;
}
/* ===================================================== THE DASHBOARD ===
   The 3D band fills the room. Around it: the path under the rail, the card
   beside the selected folder, the composer at the bottom. The card and the
   hint leave when a folder opens; the path stays on every screen of a Bereich. */
/* the path: one crumb per level, in the rail's own pill under it. The place picked on each level down to the band's, then
   the levels below, dimmed; a crumb carries the count of its twins. The rail's bar marks where you are, it travels with the lift.
   On every screen of a Bereich it stands in the same place, centred beside the rail's column, and over the scrim */
.path {
  position: fixed;
  left: calc(50% + var(--rail) / 2);
  top: 84px;
  transform: translateX(round(-50%, 1px));
  z-index: var(--z-path);
  display: flex;
  align-items: center;
  gap: var(--s-1);
  padding: var(--s-6) var(--s-6);
  border-radius: var(--r-pill);
  --lift: var(--sh3);
}
body:not(.locked) .path {
  --lift: var(--sh1);
} /* at the top of a screen that scrolls: a short shadow, so a page passing under it keeps its contrast */
.path .sep {
  font-style: normal;
  color: var(--text-3);
  padding: 0 var(--s-4);
  font-size: var(--f-md);
}
.crumb {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-8);
  padding: var(--s-8) var(--s-12);
  border-radius: var(--r-pill);
  color: var(--dim);
  white-space: nowrap;
  transition:
    color var(--t2) var(--e),
    background var(--t2) var(--e);
}
.crumb i.d {
  position: absolute;
  left: calc(50% - 11px);
  bottom: -9px;
  width: 22px;
  height: 4px;
  pointer-events: none;
} /* the anchor of the bar under the crumb; nothing to see */
.crumb svg {
  flex: none;
  opacity: 0.8;
}
.crumb b {
  font-size: var(--f-sm);
  font-weight: 500;
}
.crumb .n {
  font-size: var(--f-xs);
  font-variant-numeric: tabular-nums;
  padding: var(--s-1) var(--s-6);
  border-radius: var(--r-pill);
  background: var(--white-08);
}
.ktab:focus-visible {
  color: var(--text);
  background: var(--white-05);
}
@media (hover: hover) {
.crumb:hover,
.ktab:hover {
  color: var(--text);
  background: var(--white-05);
}
}
@media (hover: none) {
.crumb:active,
.ktab:active {
  color: var(--text);
  background: var(--white-05);
}
}
.crow:focus-visible {
  background: var(--white-08);
  color: var(--text);
}
@media (hover: hover) {
.crow:hover {
  background: var(--white-08);
  color: var(--text);
}
}
@media (hover: none) {
.crow:active {
  background: var(--white-08);
  color: var(--text);
}
}
.rail .ro.on,
.sortby button.on,
.crumb.on,
.crow.on {
  background: var(--sel-bg);
  box-shadow: inset 0 0 0 1px var(--sel-ring);
  color: var(--sel-text);
} /* selected: the rail's object that is on, and lit like it the order, the crumb and the row */
.crumb.below {
  color: var(--text-3);
}
.crumb.below svg {
  opacity: 0.5;
} /* a level below: the quietest text, never under 4.5:1 */
.crumb .n svg:last-child {
  margin: 0 calc(var(--s-4) * -1) 0 var(--s-1);
  vertical-align: -2px;
  transition: transform var(--t2) var(--e);
} /* the chevron: this crumb opens its level's list */
.crumb .n svg:first-child:not(:last-child) {
  margin: 0 var(--s-4) 0 calc(var(--s-2) * -1);
  vertical-align: -2px;
} /* the search glyph: the band shows a search, the count is of its hits */
.crumb .n svg:only-child {
  margin: 0 calc(var(--s-2) * -1);
} /* the chevron alone, without a count: in the middle of its round */
.crumb.open {
  color: var(--text);
  background: var(--white-10);
}
.crumb.open .n svg:last-child {
  transform: rotate(180deg);
}
/* the path's list: a crumb with twins opens the Bereiche of its level under it, in the smoke of the path. The picked one is
   the accent folder, as in the band; --x, --y and --ox are set from the crumb's place (placeList() in
   src/dashboard/PathList.tsx) */
.crumbs {
  position: fixed;
  left: var(--x, 50%);
  top: var(--y, 140px);
  z-index: var(--z-bar-pop);
  width: 340px;
  max-width: calc(100vw - 24px);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  transform-origin: var(--ox, 40px) 0;
  animation:
    pop var(--tb) var(--e3) backwards,
    fade var(--t2) var(--e) backwards;
  transition: opacity var(--t2) var(--e);
  --lift: var(--sh4);
}
.crumbs.out {
  opacity: 0;
  pointer-events: none;
}
.crumbs .ch {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  padding: var(--s-6) var(--s-10) var(--s-10);
  font-size: var(--f-xs);
  color: var(--text-3);
}
.crumbs .ch span {
  flex: 1;
}
.crumbs .cf {
  display: block;
  width: 100%;
  margin: 0 0 var(--s-6);
  padding: var(--s-8) var(--s-14);
  border-radius: var(--r-pill);
  background: var(--white-08);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  font-size: var(--f-sm);
  outline: none;
  transition: border-color var(--t2) var(--e);
}
.crumbs .cf::placeholder {
  color: var(--text-3);
}
.crumbs .cf:focus {
  border-color: var(--white-40);
}
.crumbs .cl {
  position: relative;
  max-height: min(432px, calc(100vh - 330px));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--white-20) transparent;
}
.crumbs .ctabs {
  display: flex;
  gap: var(--s-4);
  padding: 0 0 var(--s-8);
} /* the unit's shelves: icon and count, the list's own shelf named */
.ctab {
  display: inline-flex;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-6) var(--s-10);
  border-radius: var(--r-pill);
  font-size: var(--f-xs);
  color: var(--text-3);
  background: var(--white-05);
  border: 1px solid var(--line);
  transition:
    color var(--t2) var(--e),
    background var(--t2) var(--e),
    border-color var(--t2) var(--e);
}
.ctab b {
  font-weight: 500;
  white-space: nowrap;
} /* the lit tab names its shelf, the closed Dossiers «Geschlossen»: five tabs fit the list */
.ctab .n {
  font-variant-numeric: tabular-nums;
}
.ctab:focus-visible {
  color: var(--text);
  background: var(--white-10);
}
@media (hover: hover) {
.ctab:hover {
  color: var(--text);
  background: var(--white-10);
}
}
@media (hover: none) {
.ctab:active {
  color: var(--text);
  background: var(--white-10);
}
}

.crumbs .ch .pill.ic.sm {
  width: 26px;
  height: 26px;
  padding: var(--s-6);
  margin: calc(var(--s-6) * -1) calc(var(--s-10) * -1) calc(var(--s-6) * -1)
    var(--s-2);
} /* «Neues Dossier»: a Bereich opened by hand in this unit */
/* a Bereich to open: the small glass folder drawn as its outline, as the dashed book copies a FoxKI-Bibliothek */
.gf.add {
  filter: none;
}
.gf.add .pg,
.gf.add .fr::before {
  display: none;
}
.gf.add .bk,
.gf.add .fr {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line2);
}
.gf.add .fr {
  color: var(--dim);
}
.crow:focus-visible .gf.add .fr {
  color: var(--text);
}
@media (hover: hover) {
.crow:hover .gf.add .fr {
  color: var(--text);
}
}
@media (hover: none) {
.crow:active .gf.add .fr {
  color: var(--text);
}
}
.crow {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  width: 100%;
  padding: var(--s-6) var(--s-10);
  border-radius: var(--r-md);
  color: var(--dim);
  transition:
    background var(--t1) var(--e),
    color var(--t1) var(--e);
}
.crow .gf {
  transition: transform var(--tb) var(--e3);
}
.crow:focus-visible .gf {
  transform: translateY(-2px) rotate(-4deg);
}
@media (hover: hover) {
.crow:hover .gf {
  transform: translateY(-2px) rotate(-4deg);
}
}
@media (hover: none) {
.crow:active .gf {
  transform: translateY(-2px) rotate(-4deg);
}
}
.crow .ct {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.crow .ct b {
  font-size: var(--f-md);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crow .ct span {
  font-size: var(--f-xs);
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crow .cp {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-size: var(--f-xs);
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.crow .oq {
  min-width: 18px;
  padding: var(--s-1) var(--s-6);
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--f-xs);
  font-weight: 600;
  text-align: center;
} /* open interview questions, as on the folder's label */
.crow.on :is(.ct span, .cp) {
  color: var(--dim);
} /* the quiet lines keep 4.5:1 on the clay of a lit row */
.path .dd {
  position: absolute;
  left: 0;
  top: 0;
  z-index: var(--z-front);
  width: 22px;
  height: 4px;
  border-radius: var(--r-xs);
  pointer-events: none;
  background: var(--here);
  translate: var(--dx, 0px) var(--dy, 0px);
} /* where you are: the lift moves it along the crumbs, --dx and --dy set each frame */
body.opening .hint {
  opacity: 0;
  transform: translate(round(-50%, 1px), 24px);
} /* the composer stays: one element on the dashboard and in the chat */
body.opening .cardwrap {
  opacity: 0 !important;
}

/* the card beside the selected folder: the same glass as the folder, flat and square to the window, its top at the folder's top */
.cardwrap {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--card-w);
  z-index: var(--z-card);
  pointer-events: none;
  transition: opacity var(--t2) var(--e);
}
.fcard {
  position: relative;
  border-radius: var(--r-lg);
  padding: var(--s-16) var(--s-18) var(--s-14);
  color: var(--ink);
  pointer-events: auto;
  overflow: hidden;
  transform: scale(var(--card-scale));
  transform-origin: 0 0;
  background: var(--glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: var(--glass-rim), var(--sh3);
  --fk: max(1, 1 / (0.86 * var(--k, 1)));
} /* the stage's scale --k times 0.86 draws its text; below 1 the small text is set larger by what they take, so it renders at its size */
/* the content crossfades in the settle's time: the new content fades in over the old, which lies absolute and fades out, while the box grows or shrinks to the new content */
.fcard .fc {
  position: relative;
  transition: opacity var(--ts) var(--e);
}
.fcard .fc > * {
  position: relative;
}
.fcard .fc.in {
  animation: fade var(--ts) var(--e);
} /* an animation, not a transition: the layer is new to the document and has no earlier style to transition from */
.fcard .fc.old {
  position: absolute;
  top: 16px;
  left: 18px;
  right: 18px;
  opacity: 0;
} /* at the card's padding, where the new content stands: the crossfade never shifts the text */
.fcard.tr {
  transition: height var(--ts) var(--e);
}
.fcard .fhd {
  display: flex;
  align-items: flex-start;
  gap: var(--s-10);
}
.fcard .kt {
  width: 32px;
  height: 32px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  flex: none;
  background: var(--ink);
  color: var(--sand);
}
.fcard h3 {
  font-size: var(--f-lg);
  line-height: var(--lh-tight);
}
.fcard .sb {
  font-size: calc(var(--f-xs) * var(--fk));
  color: var(--ink-dim);
  margin-top: var(--s-4);
}
.fcard .big {
  display: flex;
  align-items: baseline;
  gap: var(--s-8);
  margin: var(--s-14) 0 var(--s-8);
}
.fcard .big b {
  font-size: var(--f-num);
  font-weight: 300;
  letter-spacing: var(--ls-num);
  line-height: var(--lh-num);
  font-variant-numeric: tabular-nums;
}
.fcard .big span {
  font-size: calc(var(--f-xs) * var(--fk));
  color: var(--ink-dim);
}
.fcard .mix {
  display: flex;
  gap: var(--s-4);
  height: 6px;
  margin-bottom: var(--s-12);
}
.fcard .mix i {
  display: block;
  border-radius: var(--r-pill);
  background: var(--ink);
  min-width: 3px;
  flex: var(--c);
  opacity: calc(0.86 - var(--n) * 0.2);
} /* --c: the kind's count; each kind a step lighter */
.fcard .run {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  padding: var(--s-8) var(--s-10);
  border-radius: var(--r-md);
  margin-bottom: var(--s-10);
  font-size: calc(var(--f-xs) * var(--fk));
  font-weight: 600;
  background: var(--ink-06);
  border: 1px solid var(--ink-12);
  color: var(--ink);
}
.fcard .run::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: auto;
  flex: none;
} /* it waits for the user */
.fcard .run.shut {
  font-weight: 500;
}
.fcard .run.shut::after {
  display: none;
} /* a closed Dossier waits for nothing */
.fcard .run.err {
  font-weight: 500;
}
.fcard .run.err::after {
  display: none;
} /* a tenant's budget: the state is its words and colour */
.fcard .run.err {
  background: var(--err-l3);
  border-color: var(--err-l6);
  color: var(--err-l11);
}
.fcard .rch {
  font-size: calc(var(--f-xs) * var(--fk));
  line-height: var(--lh-ui);
  color: var(--ink-dim);
  margin: calc(var(--s-2) * -1) 0 var(--s-12);
}
.fcard .cs {
  display: flex;
  gap: var(--s-6);
  flex-wrap: wrap;
  margin-bottom: var(--s-12);
}
.fcard .cs .c {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-6) var(--s-10);
  border-radius: var(--r-pill);
  font-size: calc(var(--f-xs) * var(--fk));
  font-weight: 600;
  background: var(--ink-06);
  border: 1px solid var(--ink-12);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition:
    background var(--t1) var(--e2),
    transform var(--tb) var(--e3);
}
@media (hover: hover) {
.fcard .cs .c:hover,
.fcard .sv:hover {
  background: var(--ink-12);
  transform: translateY(-1px);
}
}
@media (hover: none) {
.fcard .cs .c:active,
.fcard .sv:active {
  background: var(--ink-12);
  transform: translateY(-1px);
}
}
.fcard .go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  width: 100%;
  padding: var(--s-10);
  border-radius: var(--r-md);
  font-size: calc(var(--f-sm) * var(--fk));
  font-weight: 600;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 22px var(--black-35);
  transition:
    transform var(--tb) var(--e3),
    box-shadow var(--t2) var(--e);
}
@media (hover: hover) {
.fcard .go:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px var(--black-40);
}
}
@media (hover: none) {
.fcard .go:active {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px var(--black-40);
}
}
/* a unit's shelves under «Öffnen»: what lies below it, each a way one level down */
.fcard .shv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
  margin-top: var(--s-12);
  padding-top: var(--s-12);
  border-top: 1px solid var(--ink-12);
}
.fcard .sv {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  padding: var(--s-8) var(--s-8);
  border-radius: var(--r-md);
  font-size: calc(var(--f-xs) * var(--fk));
  color: var(--ink);
  background: var(--ink-06);
  border: 1px solid var(--ink-12);
  transition:
    background var(--t1) var(--e2),
    transform var(--tb) var(--e3);
}
.fcard .sv:last-child:nth-child(odd) {
  grid-column: 1/-1;
} /* an odd last shelf fills its row, as a lone one does */
.fcard .sv b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.fcard .sv span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hint {
  position: fixed;
  left: 50%;
  bottom: 8px;
  transform: translateX(round(-50%, 1px));
  z-index: var(--z-hint);
  display: flex;
  gap: var(--s-6);
  align-items: center;
  color: var(--text-3);
  font-size: var(--f-sm);
  letter-spacing: var(--ls-0);
  white-space: nowrap;
  transition:
    opacity var(--t3) var(--e),
    transform var(--t3) var(--e);
}
.hint .key {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 var(--s-6);
  border-radius: var(--r-sm);
  font-size: var(--f-xs);
  background: var(--white-08);
  border: 1px solid var(--line);
}

/* the composer carries everything the chat can do; on the dashboard the selected folder is where the question goes */
.composer {
  position: fixed;
  left: calc(50% + var(--rail) / 2);
  bottom: 22px;
  transform: translateX(round(-50%, 1px));
  z-index: var(--z-composer);
  width: min(
    860px,
    calc(100vw - var(--rail) - 52px)
  ); /* it stands right of the rail: the rail's width is not the composer's */
  border-radius: var(--r-xl);
  padding: var(--s-14) var(--s-14) var(--s-12) var(--s-20);
  transition:
    border-color var(--t2) var(--e),
    background var(--t2) var(--e),
    box-shadow var(--t2) var(--e),
    opacity var(--t3) var(--e),
    transform var(--t3) var(--e);
  --lift: var(--sh3);
}
.composer.dash {
  bottom: 30px;
  width: min(860px, calc(100vw - 52px));
  display: flex;
  align-items: center;
  gap: var(--s-10);
  padding: var(--s-10) var(--s-10) var(--s-10) var(--s-10);
  border-radius: var(--r-pill);
}
.composer.dash textarea {
  flex: 1;
  min-height: 24px;
  height: 24px;
  padding: 0 var(--s-4);
  line-height: var(--s-24);
  overflow: hidden;
}
.composer.dash .cbar {
  margin-top: 0;
  flex-wrap: nowrap;
}
.composer:focus-within {
  border-color: var(--white-40);
  --lift: var(--sh3);
}
.composer textarea {
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 44px;
  resize: none;
  padding: var(--s-2) 0;
  outline: none;
}
.composer textarea::placeholder {
  color: var(--text-3);
}
.cbar {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  margin-top: var(--s-8);
  flex-wrap: wrap;
}
.stackchip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-12);
  padding: var(--s-6) var(--s-14) var(--s-6) var(--s-10);
  border-radius: var(--r-pill);
  background: var(--white-08);
  border: 1px solid var(--line);
  font-size: var(--f-sm);
  font-weight: 500;
  transition:
    background var(--t1) var(--e),
    transform var(--tb) var(--e3),
    border-color var(--t1) var(--e);
}
@media (hover: hover) {
.stackchip:hover {
  background: var(--white-14);
  transform: translateY(-2px);
}
}
@media (hover: none) {
.stackchip:active {
  background: var(--white-14);
  transform: translateY(-2px);
}
}
@media (hover: hover) {
.stackchip:hover .minidoc:first-child {
  transform: rotate(-13deg) translateX(-2px);
}
}
@media (hover: none) {
.stackchip:active .minidoc:first-child {
  transform: rotate(-13deg) translateX(-2px);
}
}
@media (hover: hover) {
.stackchip:hover .minidoc:nth-child(4) {
  transform: rotate(14deg) translateX(2px);
}
}
@media (hover: none) {
.stackchip:active .minidoc:nth-child(4) {
  transform: rotate(14deg) translateX(2px);
}
}
.target {
  display: inline-flex;
  align-items: center;
  gap: var(--s-10);
  padding: var(--s-6) var(--s-14) var(--s-6) var(--s-6);
  border-radius: var(--r-pill);
  font-size: var(--f-sm);
  font-weight: 500;
  background: var(--white-08);
  border: 1px solid var(--line);
}
.target .gf {
  filter: none;
}
/* the sent question: a bubble like the one it becomes in the chat; it leaves the textarea and shrinks into the folder */
.flyer {
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-flyer);
  pointer-events: none;
  width: max-content;
  max-width: min(654px, calc(100vw - 100px));
  border-radius: var(--r-lg) var(--r-lg) var(--r-sm) var(--r-lg);
  padding: var(--s-14) var(--s-18);
  font-size: var(--f-md);
  line-height: var(--lh-text);
  overflow-wrap: anywhere;
  background: var(--clay-5);
  color: var(--clay-12);
  box-shadow:
    inset 0 0 0 1px var(--clay-a7),
    0 10px 26px var(--black-35);
  will-change: transform, opacity;
}
/* ======================================================== THE CHAT =====
   In the light. A title card names the Bereich in one line of light type,
   its facts hang under it as tags, the two doors stand at its right as
   sheets. The question is a slip; the answer is a typed sheet of light
   glass with its slips of paper clipped to it. The composer floats free. */
.opening-in {
  animation: openfold var(--t4) var(--e) backwards;
}
@keyframes openfold {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(46px);
  }
}
.mid {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tcard {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--s-28);
  width: min(940px, 100%);
  margin: 0 auto var(--s-28);
} /* it arrives with the screen's view transition, not on its own; the small line, the name and the tags stand in the same place on every screen */
.tcard .ov {
  font-size: var(--f-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--dim);
  display: flex;
  gap: var(--s-10);
  align-items: center;
  margin-bottom: var(--s-10);
  flex-wrap: wrap;
}
.tcard .ov .tag {
  text-transform: none;
  letter-spacing: var(--ls-0);
  font-size: var(--f-xs);
}

.tcard .tag {
  backdrop-filter: var(--blur-smoke) brightness(0.5);
  -webkit-backdrop-filter: var(--blur-smoke) brightness(0.5);
} /* the room's lit folder behind a tag is dimmed, so its text keeps 4.5:1 */
.tcard h1,
.sih {
  font-size: var(--f-hero);
  font-weight: 300;
  letter-spacing: var(--ls-hero);
  line-height: var(--lh-num);
  color: var(--text);
}
.tcard h1 b {
  font-weight: 500;
}
.tcard .objs {
  margin-left: auto;
  display: flex;
  gap: var(--s-14);
  align-items: flex-end;
  align-self: flex-end;
  flex: none;
} /* taller objects, the chat's doors, reach below the tags */
.tcard .under {
  display: flex;
  gap: var(--s-8);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--s-14);
}
/* the two things a Bereich is for, as two sheets standing at the title card: ask it, or write a document from it */
.sheetdoor {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-8);
  min-width: 98px;
  white-space: nowrap;
  color: var(--text);
  text-align: center;
  transition: transform var(--tb) var(--e3);
}
.sheetdoor .pp {
  width: 66px;
  height: 84px;
  padding: var(--s-10) var(--s-10);
  transform: rotate(-2.5deg);
}
.sheetdoor.alt .pp {
  transform: rotate(2.5deg);
}
@media (hover: hover) {
.sheetdoor:hover {
  transform: translateY(-6px);
}
}
@media (hover: none) {
.sheetdoor:active {
  transform: translateY(-6px);
}
}
@media (hover: hover) {
.sheetdoor:hover .pp {
  transform: rotate(0);
}
}
@media (hover: none) {
.sheetdoor:active .pp {
  transform: rotate(0);
}
}
.sheetdoor b {
  font-size: var(--f-sm);
  font-weight: 600;
  display: block;
  line-height: var(--lh-tight);
}
.sheetdoor em {
  font-size: var(--f-xs);
  color: var(--text-3);
  font-style: normal;
  display: block;
}
/* the chat column fills the window from the title card down to the composer, which sits in the shell's bottom padding; so a short chat needs no scroll and the title card stays below the fixed chrome */
.talk {
  width: min(940px, 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100vh - var(--chrome-top) - 336px);
  padding-bottom: var(--s-20);
}
.msgs {
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}
.msg {
  border-radius: var(--r-lg);
  padding: var(--s-14) var(--s-18);
  font-size: var(--f-md);
  line-height: var(--lh-text);
  max-width: 76%;
  overflow-wrap: anywhere;
  animation: rise var(--t3) var(--e) backwards;
  animation-delay: calc(var(--n, 0) * var(--tn));
}
.msg.user {
  align-self: flex-end;
  max-width: 62%;
  background: var(--clay-5);
  color: var(--clay-12);
  border-radius: var(--r-md) var(--r-md) var(--r-xs) var(--r-md);
  box-shadow:
    inset 0 0 0 1px var(--clay-a7),
    0 10px 26px var(--black-35);
}
.msg.bot {
  align-self: stretch;
  max-width: 100%;
  padding: var(--s-24) var(--s-28) var(--s-20);
  border-radius: var(--r-lg);
  font-size: var(--f-lg);
  line-height: var(--lh-read);
  background: var(--glass);
  color: var(--ink);
  box-shadow: var(--glass-rim), var(--sh3);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
}
.citedoc {
  display: inline-flex;
  align-items: center;
  gap: var(--s-10);
  padding: var(--s-6) var(--s-14) var(--s-6) var(--s-8);
  border-radius: var(--r-md);
  margin: var(--s-10) var(--s-8) 0 0;
  background: var(--ink-06);
  border: 1px solid var(--ink-12);
  color: var(--ink);
  font-size: var(--f-xs);
  line-height: var(--lh-snug);
  transition:
    background var(--t1) var(--e),
    transform var(--tb) var(--e3);
}
@media (hover: hover) {
.citedoc:hover {
  background: var(--ink-12);
  transform: translateY(-2px);
}
}
@media (hover: none) {
.citedoc:active {
  background: var(--ink-12);
  transform: translateY(-2px);
}
}
.citedoc .lo {
  color: var(--ink-dim);
}
.citedoc b {
  display: inline-block;
  max-width: 34ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: top;
} /* the whole name, so a date is never cut into a wrong one; the tooltip holds the file name */
/* a Gelöschte Quelle: the slip's outline only, dashed, and it opens nothing */
.citedoc.gone {
  border-style: dashed;
  background: transparent;
  color: var(--ink-dim);
  cursor: default;
}
@media (hover: hover) {
.citedoc.gone:hover {
  transform: none;
  background: transparent;
}
}
@media (hover: none) {
.citedoc.gone:active {
  transform: none;
  background: transparent;
}
}
.cites {
  display: flex;
  flex-wrap: wrap;
}
/* a slip in a popover of the smoke: the smoke's tones */
.sheetpop .citedoc {
  background: var(--white-05);
  border-color: var(--line);
  color: var(--text);
  margin: var(--s-8) var(--s-8) 0 0;
}
@media (hover: hover) {
.sheetpop .citedoc:hover {
  background: var(--white-14);
}
}
@media (hover: none) {
.sheetpop .citedoc:active {
  background: var(--white-14);
}
}
.sheetpop .citedoc .lo {
  color: var(--dim);
}
.sheetpop .citedoc.gone {
  background: transparent;
  color: var(--text-3);
}
.empty {
  padding: var(--s-12) var(--s-10);
  color: var(--dim);
  font-size: var(--f-sm);
} /* nothing to list: one quiet line where the list would stand; --dim, 4.5:1 on the room's lit folder too */
.msgs .empty {
  padding: var(--s-32) 0 var(--s-64);
  text-align: center;
}
/* the Angaben of a Dossier, opened large like everything else */
.factgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: var(--s-14);
}
.factbig {
  position: relative;
  padding: var(--s-16) var(--s-18);
  border-radius: var(--r-lg);
  background: var(--glass);
  color: var(--ink);
  box-shadow: var(--glass-rim);
  animation: rise var(--t3) var(--e) backwards;
  animation-delay: calc(var(--n, 0) * var(--tn));
}
.factbig .k {
  font-size: var(--f-xs);
  color: var(--ink-dim);
  display: block;
  margin-bottom: var(--s-6);
}
.factbig b {
  font-size: var(--f-lg);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
}
.factbig .k.from {
  margin: var(--s-6) 0 0;
} /* a value from above the Dossier names where it comes from */
/* a value a Durchlauf proposed: its tag beside it, «Übernehmen» after the tag, both in the ink of the paper card */
.factbig .tag,
.factbig .pill {
  background: var(--ink-06);
  border-color: var(--ink-22);
  color: var(--ink);
  margin-left: var(--s-8);
}
@media (hover: hover) {
.factbig button.pill:hover {
  background: var(--ink-12);
}
}
@media (hover: none) {
.factbig button.pill:active {
  background: var(--ink-12);
}
}
/* a field of the Dossier, typed in place: it reads as its value, a dashed line shows under the pointer and while it is typed */
.factbig .fin {
  display: block;
  width: 100%;
  font: inherit;
  font-size: var(--f-lg);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 1px dashed transparent;
  padding: 0;
  margin: 0;
  outline: none;
  transition: border-color var(--t2) var(--e);
}
.factbig .fin:focus {
  border-bottom-color: var(--ink-faint);
}
@media (hover: hover) {
.factbig .fin:hover {
  border-bottom-color: var(--ink-faint);
}
}
@media (hover: none) {
.factbig .fin:active {
  border-bottom-color: var(--ink-faint);
}
}
.factbig .fin::placeholder {
  color: var(--ink-dim);
  font-weight: 400;
}
/* «Neues Dossier»: the name first, the fields two to a row */
.nspf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--s-16);
}
.nspf .fld2:first-child {
  grid-column: 1/-1;
}
.sheet .warnbox {
  margin-top: var(--s-14);
  align-items: center;
}
.aprside .fld2 {
  align-self: stretch;
  padding-top: 0;
  border-top: 0;
}
.aprside .keep {
  gap: var(--s-12);
  flex-wrap: nowrap;
} /* the Aufbewahrungsfrist as a number */

/* the overlays: large, and only when asked for */
.ovhd {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  margin-bottom: var(--s-24);
}
.card .val {
  font-size: var(--f-lg);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
}
/* the sources of a Bereich: a page of paper with its name, its size and its state, on light glass; failed, hatched */
.srcgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  gap: var(--s-16);
}
.srcgrid > .empty {
  grid-column: 1/-1;
} /* a group without a source says so across its row */
.srccard {
  position: relative;
  border-radius: var(--r-lg);
  padding: var(--s-12);
  cursor: pointer;
  color: var(--ink);
  background: var(--glass);
  box-shadow: var(--glass-rim);
  animation: rise var(--t3) var(--e) backwards;
  animation-delay: calc(var(--n, 0) * var(--tn));
  transition:
    transform var(--tb) var(--e3),
    box-shadow var(--t2) var(--e);
}
@media (hover: hover) {
.srccard:hover {
  transform: translateY(-7px);
  box-shadow: var(--glass-rim), var(--sh3);
}
}
@media (hover: none) {
.srccard:active {
  transform: translateY(-7px);
  box-shadow: var(--glass-rim), var(--sh3);
}
}
.srccard.on {
  box-shadow:
    inset 0 0 0 2px var(--clay-l9),
    var(--sh2);
}
.srccard:not(.on, .dead, .look, .busy) {
  opacity: 0.6;
} /* in the Quellenauswahl a source not ticked is dimmed; in a list every source is itself */
.srccard.dead {
  background: var(--glass-dead);
}
.srccard.dead .srcpage {
  opacity: 0.42;
} /* failed: its page is dimmed, its name and its reason read */
@media (hover: hover) {
.srccard.dead:hover {
  transform: translateY(-3px);
}
}
@media (hover: none) {
.srccard.dead:active {
  transform: translateY(-3px);
}
}
.srccard.busy .srcpage .badge {
  background: var(--ink);
} /* the loader draws in sand */
.srcpage {
  position: relative;
  height: 92px;
  border-radius: var(--r-sm);
  margin-bottom: var(--s-12);
  padding: var(--s-10) var(--s-10);
  overflow: hidden;
  background: var(--paper-sheet);
  box-shadow: var(--sh2);
  transition: transform var(--tb) var(--e3);
}
@media (hover: hover) {
.srccard:hover .srcpage {
  transform: translateY(-3px) rotate(-1.4deg);
}
}
@media (hover: none) {
.srccard:active .srcpage {
  transform: translateY(-3px) rotate(-1.4deg);
}
}
.srcpage i {
  display: block;
  height: 2.2px;
  background: var(--paper-line);
  margin-bottom: var(--s-4);
  border-radius: var(--r-xs);
}
.srcpage i.h {
  background: var(--ink);
  height: 3.6px;
  width: 66%;
  margin-bottom: var(--s-8);
}
.srcpage .badge {
  position: absolute;
  right: 7px;
  bottom: 6px;
  width: 19px;
  height: 19px;
  border-radius: var(--r-xs);
  display: grid;
  place-items: center;
  background: var(--ink-12);
  color: var(--ink);
}
.srccard.on .srcpage .badge {
  background: var(--clay-l12);
  color: var(--clay-l3);
}
.srcnm {
  font-size: var(--f-xs);
  font-weight: 500;
  line-height: var(--lh-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.srccard .mini {
  color: var(--ink-dim);
}
.srccard .tag.err {
  color: var(--err-l11);
  border-color: var(--err-l6);
  background: var(--err-l3);
}
/* a flag on paper: on a source's card, and «Zurückgezogen» on the fan of the «Dokumente» */
.srccard .tag.warn,
.fsheet .tags .tag.warn {
  color: var(--warn-l12);
  border-color: var(--warn-l6);
  background: var(--warn-l3);
}
.drop {
  border: 2px dashed var(--line2);
  border-radius: var(--r-lg);
  padding: var(--s-32);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-20);
  text-align: center;
  transition:
    border-color var(--t2) var(--e),
    background var(--t2) var(--e);
}
@media (hover: hover) {
.drop:hover {
  border-color: var(--white-40);
  background: var(--white-05);
}
}
@media (hover: none) {
.drop:active {
  border-color: var(--white-40);
  background: var(--white-05);
}
}
.srccard > .row {
  gap: var(--s-8);
  margin-top: var(--s-10);
}
.srccard > .row .pill {
  margin-top: 0;
}
/* the paper pill on a source's card: a FoxKI-Quelle's switch and «Verlinken» */
.srccard .pill {
  background: var(--white);
  color: var(--ink);
  border-color: var(--chip-line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin-top: var(--s-10);
}
.srccard .pill.on {
  background: var(--ink);
  color: var(--sand);
  border-color: transparent;
}
/* the FoxKI-Quelle a sheet links, as its one card */
.srcgrid.fq1 {
  grid-template-columns: repeat(auto-fill, minmax(150px, 180px));
  margin-bottom: var(--s-10);
}
.drop.over {
  border-color: var(--clay-a8);
  background: var(--clay-a5);
}
/* the source, opened: the original on the left, the text on the right */
.srcv .ovhd {
  margin-bottom: var(--s-12);
}
.srcv .ovhd h2 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.srcfacts {
  gap: var(--s-8);
  margin-bottom: var(--s-24);
}
.srcbody {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-28);
  align-items: start;
}
.srcbody.flow {
  grid-template-columns: 200px minmax(0, 1fr);
}
.srcpane .lbl {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  font-size: var(--f-xs);
  color: var(--text-3);
  margin-bottom: var(--s-10);
}
/* a PDF and an image as the browser shows them */
.opdf {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--white);
}
.oimg {
  display: flex;
  justify-content: center;
}
.oimg img {
  max-width: 100%;
  max-height: 520px;
  border-radius: var(--r-sm);
  box-shadow: var(--sh3);
}
.otile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-8);
}
.otile .srcpage {
  width: 150px;
  height: 190px;
  margin-bottom: var(--s-6);
}
.otile b {
  font-size: var(--f-sm);
  overflow-wrap: anywhere;
}
.otile p {
  line-height: var(--lh-ui);
}
.stext {
  position: relative;
  max-height: 520px;
  overflow: auto;
  border-radius: var(--r-lg);
  padding: var(--s-24) var(--s-24);
  background: var(--glass);
  color: var(--ink);
  box-shadow: var(--glass-rim);
  line-height: var(--lh-text);
}
.stext .sp {
  padding: var(--s-4) var(--s-8);
  margin: 0 calc(var(--s-8) * -1) var(--s-6);
  border-radius: var(--r-sm);
  transition:
    background var(--t1) var(--e),
    box-shadow var(--t1) var(--e);
}
.stext .sp.hit {
  background: var(--clay-l4);
  box-shadow: inset 0 0 0 1.5px var(--clay-l9);
}
/* the head of an e-mail: who wrote it to whom, when, about what, with which attachments */
.stext .sp.hd {
  font-size: var(--f-sm);
  color: var(--ink-dim);
}
/* the page a passage of a page format stands on, and how far the reading came */
.stext .spg {
  display: flex;
  align-items: center;
  gap: var(--s-10);
  font-size: var(--f-xs);
  color: var(--ink-dim);
  margin: var(--s-14) 0 var(--s-6);
}
.stext .spg:first-child {
  margin-top: 0;
}
.stext .spg::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ink-line);
}
.stext p {
  margin: 0 0 var(--s-6);
}
.stext p:last-child {
  margin-bottom: 0;
}
.stext table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--f-sm);
}
.stext th,
.stext td {
  text-align: left;
  border-bottom: 1px solid var(--ink-line);
  padding: var(--s-4) var(--s-8);
}
.srcfail {
  display: flex;
  gap: var(--s-24);
  align-items: center;
  padding: var(--s-6) 0;
}
.srcfail .srccard {
  width: 150px;
  flex: none;
  cursor: default;
  animation: none;
}
.srcfail b {
  font-size: var(--f-lg);
}
.srcfail p {
  margin-top: var(--s-6);
}
@media (max-width: 900px) {
  .srcbody,
  .srcbody.flow {
    grid-template-columns: 1fr;
  }
}
.gens {
  position: relative;
  padding-left: var(--s-32);
}
.gens::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: currentColor;
  opacity: 0.18;
}
.gen {
  position: relative;
  padding: var(--s-14) 0;
  display: flex;
  align-items: center;
  gap: var(--s-14);
  flex-wrap: wrap;
  animation: rise var(--t3) var(--e) backwards;
  animation-delay: calc(var(--n, 0) * var(--tn));
}
.gen::before {
  content: "";
  position: absolute;
  left: -28px;
  top: calc(50% - 5px);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid currentColor;
  opacity: 0.35;
  transition:
    background var(--t2) var(--e),
    border-color var(--t2) var(--e),
    opacity var(--t2) var(--e),
    box-shadow var(--t2) var(--e);
}
.gen.now::before {
  border-color: var(--here);
  background: var(--here);
  opacity: 1;
  box-shadow: 0 0 0 5px var(--here-a3);
}
.gen .thumb {
  width: 44px;
  height: 58px;
  border-radius: var(--r-xs);
  background: var(--paper-sheet);
  flex: none;
  box-shadow: var(--sh2);
  padding: var(--s-8) var(--s-6);
  transition: transform var(--tb) var(--e3);
}
@media (hover: hover) {
.gen:hover .thumb {
  transform: translateY(-4px) rotate(-2deg);
}
}
@media (hover: none) {
.gen:active .thumb {
  transform: translateY(-4px) rotate(-2deg);
}
}
.gen.open {
  cursor: pointer;
}
/* the administration area: a choice in the working version is dashed, not offered yet; an invitation not yet accepted is an
   outline with an envelope; the versions of the instructions carry two acts; what a version changed shows word by word */
.pill.fresh,
.card.smoke .pill.fresh,
.kcard .pill.fresh {
  border-style: dashed;
  border-color: var(--white-40);
}
.av.inv {
  background: transparent;
  box-shadow: none;
  border: 1.5px dashed var(--line2);
  color: var(--dim);
}

.dot.dash {
  background: transparent;
  border: 1.3px dashed var(--sand);
}
.vlog .ivd {
  margin-bottom: var(--s-10);
}
.vlog .ivd b {
  display: block;
  font-weight: 500;
  color: var(--text);
}
.vlog .ivd p {
  line-height: var(--lh-ui);
  margin-top: var(--s-2);
}
.vlog del {
  color: var(--text-3);
  text-decoration: line-through;
  text-decoration-color: var(--err-9);
}
.vlog ins {
  text-decoration: none;
  color: var(--text);
  background: var(--ok-a3);
  box-shadow: inset 0 -1.5px 0 var(--ok-9);
  border-radius: var(--r-2xs);
}
.side .warnbox {
  margin: var(--s-4) 0 var(--s-8);
}
/* the session. Before the sign-in the room waits behind frosted glass: the band stands at Mein Bereich, where the sign-in
   leads, far and out of focus, so no label reads through; the second factor brings it nearer, and the home takes the glass
   away. The way in stands where the path will stand, its steps as crumbs, the home at its end. The sheet stands in the
   light, its title in the title card's type. The avatar's list hangs under the avatar */
.room.s-signin {
  transform: scale(1.05) translateY(2%);
  filter: var(--room-signin);
}
.room.s-signin.si-code {
  transform: scale(1.02) translateY(1%);
  filter: var(--room-code);
}
.siway .crumb {
  cursor: default;
}
.shell.signin {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--chrome-top) - var(--s-4)) var(--s-16)
    calc(var(--s-48) * 2);
}
.shell.signin .sheet {
  width: min(460px, 100%);
  max-height: none;
  padding: var(--s-40) var(--s-32) var(--s-32);
}
.shell.signin .under {
  display: flex;
  gap: var(--s-8);
  margin-top: var(--s-14);
}
.shell.signin .lead {
  font-size: var(--f-md);
  line-height: var(--lh-ui);
  margin: var(--s-14) 0 var(--s-24);
}
.bin.code {
  font-size: var(--f-xl);
  letter-spacing: var(--ls-code);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
button.me {
  cursor: pointer;
  transition:
    transform var(--tb) var(--e3),
    box-shadow var(--t2) var(--e);
}
button.me.open {
  transform: translateY(-2px);
  box-shadow:
    var(--glass-rim),
    var(--sh2),
    0 0 0 3px var(--white-14);
}
@media (hover: hover) {
button.me:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--glass-rim),
    var(--sh2),
    0 0 0 3px var(--white-14);
}
}
@media (hover: none) {
button.me:active {
  transform: translateY(-2px);
  box-shadow:
    var(--glass-rim),
    var(--sh2),
    0 0 0 3px var(--white-14);
}
}
.crumbs.mlist {
  left: auto;
  right: 22px;
  top: 64px;
  z-index: var(--z-corner);
  transform-origin: calc(100% - 22px) 0;
} /* the corner's list, over the path's end */
/* the profile. The avatar is its object: lit with the ring of where you are while the profile is on show, and its initials
   stand large at the title card. A membership is a smoke card, its fields under it. The password's three points tick as
   they are met. The code to scan is ink on white; the
   emergency codes are set in columns. The strip under «Bewegung» shows the motion in force: it glides, or under less motion
   it stands */
button.me.on {
  box-shadow:
    var(--glass-rim),
    var(--sh2),
    0 0 0 2px var(--here);
}
.tcard .av.xl {
  width: 84px;
  height: 84px;
  font-size: var(--f-2xl);
  font-weight: 500;
  letter-spacing: var(--ls-tight);
}
.kcard .mship + .mship {
  margin-top: var(--s-16);
}
.kcard .mship + .note {
  margin-top: var(--s-14);
}
.mship > .row {
  gap: var(--s-14);
}
.mship > .row b {
  font-size: var(--f-md);
}
.mf {
  margin-top: var(--s-16);
  padding-top: var(--s-14);
  border-top: 1px solid var(--line);
}
.mf .lbl {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  margin-bottom: var(--s-10);
  color: var(--text);
}
.mf .lbl b {
  font-weight: 600;
}
.card.smoke .av {
  background: var(--glass);
  color: var(--ink);
  box-shadow: var(--glass-rim), var(--sh1);
} /* the initials on the smoke: the light glass of a person's picture */
.line .pk {
  width: 72px;
  flex: none;
}
.line .side {
  max-width: 220px;
  text-align: right;
}
.line.nrow {
  flex-wrap: wrap;
}
.line.nrow .nm {
  min-width: 260px;
}
.line.nrow .row {
  gap: var(--s-6);
}
.pwrules {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  margin: var(--s-14) 0;
}
.pwrules .row {
  gap: var(--s-10);
  font-size: var(--f-sm);
  color: var(--text-3);
}
.pwrules .row .dot {
  margin: 0 var(--s-2);
}
.pwrules .row.ok {
  color: var(--text);
}
.mfqr {
  gap: var(--s-20);
  align-items: flex-start;
  margin-bottom: var(--s-14);
}
.qr {
  width: 148px;
  height: 148px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
}
.qr path {
  fill: currentColor;
}
.mkey {
  font-size: var(--f-md);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--ls-caps);
  margin-top: var(--s-6);
}
.codes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-10) var(--s-24);
  padding: var(--s-18) var(--s-20);
  border-radius: var(--r-md);
  border: 1px solid var(--line2);
  font-size: var(--f-md);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--ls-caps);
}
/* on the page of an invitation's link the sheet is the sign-in's, narrower: each code stays on its line */
.shell.signin .codes {
  letter-spacing: var(--ls-0);
}
.mdemo {
  position: relative;
  height: 6px;
  margin: var(--s-8) 0 var(--s-20);
  border-radius: var(--r-pill);
  background: var(--white-10);
}
.mdemo i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sand);
  animation: mslide var(--t4) var(--e2) infinite alternate;
}
@keyframes mslide {
  to {
    left: calc(100% - 14px);
  }
}
.kcard > .row + .note {
  margin-top: var(--s-14);
}
.mlist .msep {
  display: block;
  height: 1px;
  background: var(--line2);
  margin: var(--s-6) var(--s-8);
}
.crow .mico {
  width: 26px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--dim);
}
.bootx {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-18);
  font-size: var(--f-sm);
  color: var(--text-3);
}
.kcard .two > div > .card + .card {
  margin-top: var(--s-16);
}
@media (width > 1040px) {
  .kcard .two.iv {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
} /* the Anweisungen: the versions and what they changed get the room the instruction lines leave empty */
.ftmap {
  margin-bottom: var(--s-14);
}
.ftr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 220px;
  gap: var(--s-12);
  align-items: center;
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line);
}
.ftr b {
  font-size: var(--f-sm);
  font-weight: 500;
}
.ftr .mini {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
select.bin {
  padding: var(--s-8) var(--s-10);
  resize: none;
}
.gen .thumb i.h {
  background: var(--ink);
  width: 60%;
  height: 3px;
  margin-bottom: var(--s-6);
}

/* a source as an object (ADR-033): the card's arrow opens it; a citation is a slip that opens it at its passage; a deleted
   source leaves a dashed slip with its name, a Gelöschte Quelle */
.tag.ic {
  padding: var(--s-4) var(--s-6);
}
.srcopen {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink-12);
  box-shadow: var(--sh1);
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity var(--t2) var(--e),
    transform var(--tb) var(--e3),
    background var(--t1) var(--e),
    color var(--t1) var(--e);
}
.srcopen:focus-visible {
  opacity: 1;
  transform: none;
}
@media (hover: hover) {
.srccard:hover .srcopen {
  opacity: 1;
  transform: none;
}
}
@media (hover: none) {
.srccard:active .srcopen {
  opacity: 1;
  transform: none;
}
}
@media (hover: hover) {
.srcopen:hover {
  background: var(--ink);
  color: var(--white);
}
}
@media (hover: none) {
.srcopen:active {
  background: var(--ink);
  color: var(--white);
}
}
/* a section at work: the loader and what it does */
.zone .writing {
  gap: var(--s-12);
  color: var(--muted);
  font-size: var(--f-sm);
}
.row.prep {
  flex-wrap: nowrap;
  gap: var(--s-12);
}
/* the Vorbereitung: what a section reads, as a pile of paper on the page, in the paper tones of a run thing */
.srcchip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-10);
  flex: none;
  padding: var(--s-6) var(--s-12) var(--s-6) var(--s-8);
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: var(--f-sm);
  font-weight: 500;
  background: var(--chip);
  border: 1px solid var(--chip-line);
  color: var(--ink);
  transition:
    background var(--t1) var(--e),
    transform var(--tb) var(--e3);
}
@media (hover: hover) {
.srcchip:hover {
  background: var(--sand);
  transform: translateY(-2px);
}
}
@media (hover: none) {
.srcchip:active {
  background: var(--sand);
  transform: translateY(-2px);
}
}
.srcchip .minidoc {
  box-shadow: 0 1px 4px var(--black-30);
  border-color: var(--paper-dash);
}
/* the source, opened: the original on the left, the text on the right, the cited passage marked in clay in both */
@media (max-width: 900px) {
  .srcbody,
  .srcbody.flow {
    grid-template-columns: 1fr;
  }
}
/* ===================================================== DOCUMENTS VIEW ==
   The templates as a fan of paper, the chosen one upright in the light,
   the others receding behind it; the earlier runs lie in a tray, the
   libraries stand as books at its end. The sheets of the tray come with their screens. */
.fan {
  position: relative;
  height: 396px;
  perspective: 1500px;
  perspective-origin: 50% 28%;
  margin: var(--s-4) 0 var(--s-8);
}
.fanlight {
  position: absolute;
  left: calc(50% - 280px);
  bottom: -2px;
  width: 560px;
  height: 64px;
  border-radius: 50%;
  pointer-events: none;
  transform: translateX(calc(var(--fx, 0px) * 0.5));
  transition: transform var(--tb) var(--e3);
  background: radial-gradient(closest-side, var(--warm-24), transparent);
  filter: var(--blur-glow);
}
/* --i: the sheet's place from the chosen one, signed; --ai: the same unsigned; --fx: the shift that centres the whole spread */
.fsheet {
  --z-sheet: calc(10 - var(--ai));
  z-index: var(--z-sheet);
  position: absolute;
  left: calc(50% - 115px);
  bottom: 26px;
  width: 230px;
  height: 322px;
  border-radius: var(--r-sm);
  padding: var(--s-24) var(--s-20) var(--s-18);
  color: var(--ink);
  cursor: pointer;
  background: var(--paper-sheet);
  box-shadow: var(--sh3);
  transform-origin: 50% 100%;
  display: flex;
  flex-direction: column;
  transform: translateX(calc(var(--i) * 205px + var(--fx, 0px)))
    translateZ(calc(var(--ai) * -150px)) rotateY(calc(var(--i) * -12deg))
    rotateZ(calc(var(--i) * 1.4deg));
  filter: brightness(calc(1 - var(--ai) * 0.14));
  transition:
    transform var(--tb) var(--e3),
    box-shadow var(--t3) var(--e),
    filter var(--t3) var(--e);
}
@media (hover: hover) {
.fsheet:hover {
  filter: brightness(1);
}
}
@media (hover: none) {
.fsheet:active {
  filter: brightness(1);
}
}
.fsheet.on {
  box-shadow:
    var(--sh4),
    0 0 0 2px var(--clay-l9);
}
.fsheet .ls {
  height: 122px;
  margin-bottom: var(--s-16);
  overflow: hidden;
}
.fsheet .ls i {
  display: block;
  height: 3px;
  border-radius: var(--r-xs);
  background: var(--paper-line);
  margin-bottom: var(--s-8);
}
.fsheet .ls i.h {
  height: 7px;
  width: 54%;
  background: var(--ink);
  margin-bottom: var(--s-12);
}
.fsheet .ls i.s {
  width: 72%;
}
.fsheet .ls i.m {
  width: 92%;
}
.fsheet .ls i.l {
  width: 60%;
}
.fsheet b {
  font-size: var(--f-lg);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  display: block;
}
.fsheet .tags {
  display: flex;
  gap: var(--s-6);
  margin-top: var(--s-10);
  flex-wrap: wrap;
}
.fsheet .tags .tag {
  background: var(--ink-06);
  border-color: var(--ink-12);
  color: var(--ink-dim);
  font-size: var(--f-xs);
  padding: var(--s-4) var(--s-8);
}
.fsheet .from {
  margin-top: auto;
  font-size: var(--f-xs);
  color: var(--ink-dim);
}
.fsheet .tab {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: calc(var(--s-4) + var(--s-1)) var(--s-10);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: var(--clay-l5);
  color: var(--clay-l12);
  font-size: var(--f-xs);
  font-weight: 600;
  letter-spacing: var(--ls-0);
}
.startrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s-14);
  margin: 0 0 var(--s-32);
  animation: rise var(--t4) var(--e) backwards;
}
.tray {
  position: relative;
  padding: var(--s-32) var(--s-32) var(--s-24);
  border-radius: var(--r-xl);
  color: var(--text);
  animation: rise var(--t4) var(--e) backwards;
  --lift: var(--sh3), inset 0 16px 34px var(--black-50);
}
.tray::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 20px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--white-10), transparent);
}
.tray .thd {
  display: flex;
  align-items: center;
  gap: var(--s-10);
  margin-bottom: var(--s-20);
  color: var(--dim);
  font-size: var(--f-sm);
}
.tray .thd b {
  color: var(--text);
  font-size: var(--f-md);
  letter-spacing: var(--ls-tight);
}
.tray .sheets {
  display: flex;
  gap: var(--s-28);
  align-items: flex-end;
  padding: var(--s-10) 0 var(--s-4);
} /* the first sheet under the head's icon, the last book under its line's end */
.tsheet {
  position: relative;
  width: 148px;
  flex: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: var(--s-10);
  transition: transform var(--tb) var(--e3);
}
@media (hover: hover) {
.tsheet:hover {
  transform: translateY(-6px);
}
}
@media (hover: none) {
.tsheet:active {
  transform: translateY(-6px);
}
}
.tsheet .pp {
  height: 104px;
  border-radius: var(--r-sm);
  padding: var(--s-12) var(--s-12);
  transform: none;
  overflow: visible;
}
.tsheet .pp i {
  height: 2.4px;
  margin-bottom: var(--s-4);
}
.tsheet .pp i.h {
  height: 4px;
  margin-bottom: var(--s-8);
}
.tsheet b {
  font-size: var(--f-sm);
  letter-spacing: var(--ls-tight);
  display: block;
  line-height: var(--lh-tight);
}
.tsheet .mini {
  display: block;
  line-height: var(--lh-snug);
}
.tsheet.now .pp {
  box-shadow:
    var(--sh2),
    0 0 0 2px var(--clay-l9);
}
.tsheet .pinq {
  position: absolute;
  right: -9px;
  top: -9px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-size: var(--f-xs);
  font-weight: 600;
  box-shadow: var(--sh1);
  animation: ping var(--tp) var(--e2) infinite;
} /* the open questions of a Durchlauf in its interview */
.books {
  display: flex;
  gap: var(--s-6);
  align-items: flex-end;
  margin-left: auto;
  padding: 0 0 var(--s-6) var(--s-20);
  flex: none;
}
.book {
  width: 30px;
  height: 104px;
  border-radius: var(--r-xs) var(--r-xs) var(--r-xs) var(--r-xs);
  color: var(--ink);
  font-size: var(--f-xs);
  font-weight: 600;
  white-space: nowrap;
  display: grid;
  place-items: center;
  background: var(--spine);
  box-shadow: var(--glass-rim), var(--sh2);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: transform var(--tb) var(--e3);
}
.bookb {
  display: block;
  transition: transform var(--tb) var(--e3);
} /* a book is a button: it opens its library; the button stands straight, so its tooltip reads */
@media (hover: hover) {
.bookb:hover {
  transform: translateY(-6px);
}
}
@media (hover: none) {
.bookb:active {
  transform: translateY(-6px);
}
}
.bookb .book {
  height: auto;
  min-height: 104px;
  padding: var(--s-10) 0;
} /* the spine grows with its title */
.bookb:nth-child(2) .book {
  min-height: 94px;
}
.book.add {
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line2);
  color: var(--dim);
  transform: none;
  writing-mode: horizontal-tb;
}
@media (hover: hover) {
.bookb:hover .book.add {
  color: var(--text);
}
}
@media (hover: none) {
.bookb:active .book.add {
  color: var(--text);
}
}
.startrow .sep {
  width: 1px;
  height: 26px;
  background: var(--line2);
} /* between the start and the Vorlage's two buttons */
.fsheet .tags .tag.state {
  border-color: var(--ink-30);
  color: var(--ink);
}
/* ========================================================= THE DOCUMENT
   The document: one column of white pages, as they print, with the page frame on them;
   a section shows its handles when you touch it; its popover at the card; a
   field's label, a choice selected, the smoke and the shade; the dock and the
   popover above it; the editor of a section's text; the pages as they export. */
.docwrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0 0 calc(var(--s-40) + var(--room, 0px));
  perspective: 2200px;
  transition: padding-bottom var(--t2) var(--e);
}
.docwrap:has(.sheetpop) {
  transition: none;
} /* --room: the page gives way below its end while a popover needs it; it glides back once the popover closes */
.page {
  position: relative;
  width: min(788px, 100%);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: var(--page-pad);
  font-family: var(--pf, var(--paper-font));
  font-size: var(--f-md);
  line-height: var(--plh);
  box-shadow: var(--sh4);
  animation: pagein var(--t4) var(--e) backwards;
}
@keyframes pagein {
  from {
    opacity: 0;
    transform: rotateX(6deg) translateY(40px);
  }
}
@media (max-width: 720px) {
  .page {
    padding: var(--page-pad-narrow);
  }
}
.page.marked::after {
  content: attr(data-mark);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--phf, var(--paper-font));
  font-size: var(--f-hero);
  font-weight: var(--mark-weight);
  letter-spacing: var(--ls-caps);
  color: var(--ink);
  opacity: var(--mark-fade);
  transform: rotate(var(--mark-turn));
  pointer-events: none;
} /* a Probelauf's page: its mark across the middle, under nothing a press reaches, as its PDF prints it */
.pgsep {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  width: min(788px, 100%);
  padding: var(--s-10) 0;
  color: var(--text-3);
  font-size: var(--f-xs);
}
.pgsep::before,
.pgsep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line2);
}
.page .ph {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-14);
  font-size: var(--f-xs);
  color: var(--pmeta);
  border-bottom: 1.5px solid var(--pp);
  padding-bottom: var(--s-10);
  margin-bottom: var(--s-32);
}
.page .ph.hf.a-2 {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-6);
}
.page .pf {
  display: flex;
  justify-content: space-between;
  font-size: var(--f-xs);
  color: var(--pmeta);
  border-top: 1px solid var(--prule);
  padding-top: var(--s-10);
  margin-top: var(--s-40);
}
.page .plogo {
  width: 23px;
  height: 23px;
  flex: none;
}
.zone {
  position: relative;
  border-radius: var(--r-sm);
  padding: var(--s-10) var(--s-14);
  margin: 0 calc(var(--s-14) * -1) var(--s-6);
  transition:
    background var(--t2) var(--e2),
    box-shadow var(--t2) var(--e);
}
@media (hover: hover) {
.zone:hover {
  background: var(--paper-warm);
}
}
@media (hover: none) {
.zone:active {
  background: var(--paper-warm);
}
}
.zone.open {
  background: var(--paper-warm);
  box-shadow: 0 0 0 1.5px var(--clay-l9);
}
.zone h4 {
  font-family: inherit;
  font-size: var(--f-lg);
  font-weight: 700;
  color: var(--pp);
  margin: 0 0 var(--s-10);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--prule);
  letter-spacing: var(--ls-0);
}
.page.ss-0 .zone h4 {
  border-bottom: 0;
  padding-bottom: 0;
}
.page.ss-2 .zone h4 {
  background: var(--pp);
  color: var(--white);
  padding: var(--s-6) var(--s-10);
  border-radius: var(--r-xs);
  border-bottom: 0;
}
.page.ss-3 .zone {
  border: 1px solid var(--prule);
  margin-bottom: var(--s-12);
  padding: calc(var(--s-10) - var(--s-1)) calc(var(--s-14) - var(--s-1));
} /* the rim inside the section's padding: its words stand in the page's column, as in every other style */
.page.ss-4 .zone h4::before {
  content: counter(sec) ". ";
  counter-increment: sec;
}
.page {
  counter-reset: sec;
}
.zone p {
  margin: 0 0 var(--s-10);
}
.zone p:last-child {
  margin-bottom: 0;
}
.zone ol,
.zone ul {
  margin: 0 0 var(--s-10);
  padding-left: var(--s-24);
}
.zone table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 var(--s-10);
  font-size: var(--f-sm);
}
.zone th {
  background: var(--pth);
  text-align: left;
  font-weight: 600;
  padding: var(--s-6) var(--s-10);
  border-bottom: 1px solid var(--prule);
}
.zone td {
  padding: var(--s-6) var(--s-10);
  border-bottom: 1px solid var(--prow);
}
.page.tb-1 .zone td,
.page.tb-1 .zone th {
  border: 1px solid var(--prule);
}
.page.tb-2 .zone tr:nth-child(even) td {
  background: var(--pzebra);
}
.page.tb-2 .zone td {
  border-bottom: 0;
}
.page.tb-3 .zone th {
  background: var(--pp);
  color: var(--white);
}
.page.tb-4 .zone td,
.page.tb-4 .zone th {
  border: 0;
  background: none;
}
.zone .fld {
  background: var(--fld);
  border-bottom: 1px solid var(--fld-line);
  padding: 0 var(--s-4);
  border-radius: var(--r-xs);
}
.zone .blk {
  background: var(--blk);
  border-left: 2px solid var(--blk-line);
  padding: var(--s-1) var(--s-8);
  display: inline-block;
}
/* a paragraph's attribute line (ADR-034): alignment, and an indent in three steps of 10 mm, the page drawn at 3.75 px a mm */
.zone .rechts {
  text-align: right;
}
.zone .mitte {
  text-align: center;
}
.zone .blocksatz {
  text-align: justify;
}
.zone .einzug-1 {
  margin-left: calc(var(--mm) * 10);
}
.zone .einzug-2 {
  margin-left: calc(var(--mm) * 20);
}
.zone .einzug-3 {
  margin-left: calc(var(--mm) * 30);
}
.zone mark {
  background: var(--hl);
  color: inherit;
  border-radius: var(--r-xs);
  padding: 0 var(--s-2);
}
.zone .tools {
  position: absolute;
  top: 8px;
  right: -50px;
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity var(--t2) var(--e),
    transform var(--t2) var(--e);
}
.zone:focus-within .tools,
.zone.open .tools {
  opacity: 1;
  transform: translateX(0);
}
@media (hover: hover) {
.zone:hover .tools {
  opacity: 1;
  transform: translateX(0);
}
}
@media (hover: none) {
.zone:active .tools {
  opacity: 1;
  transform: translateX(0);
}
} /* the handles show under the pointer and while the section holds the focus */
@media (max-width: 900px) {
  .zone .tools {
    position: static;
    display: inline-flex;
    vertical-align: top;
    flex-direction: row;
    opacity: 1;
    transform: none;
    margin: 0 0 var(--s-8);
  }
} /* in one row over the title */
/* a section's pin: the count of what the interview still asks there, at the card's left edge */
.pin {
  position: absolute;
  left: -40px;
  top: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: var(--f-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--sh1);
  animation: ping var(--tp) var(--e2) infinite;
  transition: transform var(--tb) var(--e3);
}
@media (hover: hover) {
.pin:hover {
  transform: scale(1.14);
}
}
@media (hover: none) {
.pin:active {
  transform: scale(1.14);
}
}
/* a pin of a reopened interview whose questions are answered: nothing waits there, so no accent and no pulse */
.pin.done {
  background: var(--chip);
  color: var(--ink);
  box-shadow:
    var(--sh1),
    inset 0 0 0 1px var(--chip-line);
  animation: none;
}
.docwrap:has(.sheetpop) .zone:not(:has(> .sheetpop)) > .pin {
  visibility: hidden;
} /* a popover is open: only its own section's pin stays, the others would peek out at its edge; hidden, they take no focus */
@keyframes ping {
  0%,
  100% {
    box-shadow:
      var(--sh1),
      0 0 0 4px var(--accent-a4);
  } /* the pulse of what waits: a ring of the accent widens and fades; the shadow is the room's */
  50% {
    box-shadow:
      var(--sh1),
      0 0 0 12px transparent;
  }
}
@media (max-width: 900px) {
  .pin {
    position: static;
    display: inline-grid;
    vertical-align: top;
    margin: 0 var(--s-8) var(--s-8) 0;
  }
}
.th {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink-12);
  box-shadow: var(--sh1);
  transition:
    background var(--t1) var(--e),
    color var(--t1) var(--e),
    transform var(--tb) var(--e3);
}
@media (hover: hover) {
.th:hover {
  background: var(--ink);
  color: var(--white);
  transform: scale(1.1);
}
}
@media (hover: none) {
.th:active {
  background: var(--ink);
  color: var(--white);
  transform: scale(1.1);
}
}
.zone.wait {
  background: var(--paper-wait);
  color: var(--muted);
  outline: 1px dashed var(--paper-dash);
  outline-offset: -1px;
} /* an outline, not a border: the title and the pin stand where they stand in a written section */
.page.ss-3 .zone.wait {
  outline: 0;
} /* a boxed section keeps its own rim while it waits */
.zone.wait h4 {
  color: var(--muted);
  border-bottom-color: var(--paper-dash);
}
/* the popover of a section: it opens at the section's own spot, spanning it below the title, in smoke glass the white page
   shows through. Its glass is the smoke, the dock's own material (.smoke); its shadow is the short one, so a line of the page
   just under it keeps 4.5:1 */
.sheetpop {
  position: absolute;
  right: -14px;
  left: -14px;
  top: 52px;
  z-index: var(--z-pop);
  border-radius: var(--r-lg);
  padding: var(--s-18);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--f-sm);
  line-height: var(--lh-ui);
  max-height: min(520px, calc(100vh - var(--chrome-top) - 160px));
  overflow: auto;
  animation:
    pop var(--tb) var(--e3) backwards,
    fade var(--t2) var(--e) backwards;
  --lift: var(--sh2);
} /* the chrome at the top, down to under the path; the section's head above it, 52 px; the dock with its gaps below, 108 px */
.fld2 {
  padding: var(--s-10) 0;
  border-top: 1px solid var(--line);
}
.fld2 label {
  display: block;
  font-size: var(--f-xs);
  color: var(--text-3);
  margin-bottom: var(--s-8);
}
.stm {
  border-top: 1px solid var(--line);
  padding: var(--s-12) 0;
  font-size: var(--f-sm);
  line-height: var(--lh-ui);
}
.stm .hd {
  gap: var(--s-8);
  margin-bottom: var(--s-6);
}
.stm .txt {
  flex: 1;
  font-size: var(--f-sm);
}
/* the pane at the right of the pages, where a Durchlauf's Interpretation stands and «Beim Import nicht übernommen»; in a
   narrow window under the pages */
.interp {
  position: fixed;
  right: 26px;
  top: calc(var(--chrome-top) - var(--s-8));
  width: 372px;
  max-height: calc(100vh - var(--chrome-top) - 96px);
  overflow: auto;
  z-index: var(--z-pane);
  border-radius: var(--r-xl);
  padding: var(--s-20);
  animation: slidein var(--t4) var(--e) backwards;
  --lift: var(--sh4);
}
.interp.smoke {
  border-color: var(--line2);
} /* belongs to the run, never to the document: the rim says so, the glass is the same */
@keyframes slidein {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
}
@media (max-width: 1180px) {
  .interp {
    position: static;
    width: auto;
    max-width: 788px;
    margin: 0 auto var(--s-24);
    max-height: none;
  }
}
/* a proposal of the Interpretation: its number, its title and its count of statements; chosen, it opens to them */
.prop {
  border-radius: var(--r-lg);
  padding: var(--s-14) var(--s-16);
  margin-bottom: var(--s-10);
  cursor: pointer;
  background: var(--white-05);
  border: 1px solid var(--line2);
  transition:
    background var(--t2) var(--e),
    transform var(--tb) var(--e3),
    border-color var(--t2) var(--e);
}
@media (hover: hover) {
.prop:hover {
  background: var(--white-14);
  transform: translateX(3px);
}
}
@media (hover: none) {
.prop:active {
  background: var(--white-14);
  transform: translateX(3px);
}
}
.pill.opt.on,
.ctab.on,
.prop.on {
  background: var(--sel-bg);
  border-color: var(--sel-ring);
  color: var(--sel-text);
} /* a choice among several (.opt) is selected in clay; a switch that is on is not a choice */
.prop .row {
  gap: var(--s-10);
}
.prop .num {
  opacity: 0.4;
}
.prop.on .num {
  opacity: 1;
}
.prop .gist {
  flex: 1;
  font-size: var(--f-sm);
  font-weight: 500;
}
.stm .g {
  color: var(--dim);
}
.interp .who {
  margin-bottom: var(--s-12);
}
.interp .who .av {
  width: 30px;
  height: 30px;
  font-size: var(--f-xs);
}
.interp .who b {
  font-size: var(--f-sm);
  font-weight: 600;
}
/* the draft of «Anpassen» and «Selbst schreiben»: the statements made fields, each fact a line with its removal */
.interp .draft .basis {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.interp .draft .basis .row {
  gap: var(--s-8);
}

/* the smoke: the one material of all chrome, the rail, the path, the composer, the tray, the panes, the sheets, the
   section popovers, the dock, the toast and the Administration's box. Dark smoke the screen shows through, a slight lift
   towards the light at the top left and a rim, so it reads as glass, not as a slab.
   Three numbers make it: the blur radius (--blur-smoke) decides how much of what lies behind still shows, a wide blur
   turns white paper and its text into one flat grey whatever the tint; the brightness dims what passes through, and the
   tint is its floor: together they keep the glass at 39 to 46 over white paper, dark enough for --text-3 at 4.5:1, and
   at the dark room's own 12 to 20 over the room. --lift is the element's own drop shadow */
.smoke {
  background: var(--smoke-tint);
  border: 1px solid var(--white-20);
  box-shadow:
    inset 0 1px 0 var(--white-30),
    var(--lift, var(--sh4));
  backdrop-filter: var(--blur-smoke) brightness(0.18);
  -webkit-backdrop-filter: var(--blur-smoke) brightness(0.18);
}
/* the shade: in Firefox and Safari (html.shade, set from the engine at boot) a glass that dims carries its dimming as a
   solid black layer under its background, as dark as its brightness() dims, and keeps only its blur: the smoke, a title
   card's tag and the top scrim. Black under the glass's own colours gives what the dimmed backdrop gives, so the glass
   looks as in Chrome, and its colour holds where these engines paint no backdrop-filter: in the pictures of a view
   transition (src/shell/viewTransitions.ts) and in their headless screenshots. A tag's fill is its background
   colour, and no layer lies under a background colour: there the black lies over the fill, screened, which keeps the
   fill's colour and adds only the black's cover */
html.shade .smoke {
  background-color: var(--shade-smoke);
  backdrop-filter: var(--blur-smoke);
  -webkit-backdrop-filter: var(--blur-smoke);
}
html.shade .tcard .tag {
  background-image: linear-gradient(var(--shade-tag), var(--shade-tag));
  background-blend-mode: screen;
  backdrop-filter: var(--blur-smoke);
  -webkit-backdrop-filter: var(--blur-smoke);
}
html.shade .scrim {
  background-color: var(--shade-scrim);
  backdrop-filter: var(--blur-room);
  -webkit-backdrop-filter: var(--blur-room);
}
.rundock {
  position: fixed;
  left: calc(50% + (var(--rail) + var(--pl, 0px) - var(--pr, 0px)) / 2);
  bottom: 20px;
  translate: round(-50%, 1px) 0;
  z-index: var(--z-bar);
  display: flex;
  align-items: center;
  gap: var(--s-8);
  padding: var(--s-10) var(--s-12);
  border-radius: var(--r-pill);
  --lift: var(--sh1);
  max-width: calc(100vw - 28px);
  animation: rise var(--t4) var(--e) backwards;
  animation-delay: var(--t1);
  transition: left var(--t3) var(--e);
} /* centred under the pages, between the side panes that are open, by translate, as the popover is: the transform of «rise» does not undo it */
.rundock .sep,
.dpop .sep {
  width: 1px;
  align-self: stretch;
  background: var(--line2);
  margin: var(--s-6) var(--s-4);
}
.rundock .stepnow {
  font-size: var(--f-sm);
  font-weight: 600;
  white-space: nowrap;
  margin: 0 var(--s-4) 0 var(--s-6);
} /* the step, as a word at the head of the dock; the actions themselves are the buttons */
.rv {
  position: relative;
}
.rv .bdg {
  right: var(--bdg-out);
  top: var(--bdg-out);
} /* the suggestions that wait for the user on «Review», the rail's badge (chrome.css) at the button's corner */
.dpop .rv .bdg {
  position: static;
  box-shadow: none;
} /* under the phone's «Mehr» the count follows the word */
.dpop .lvl {
  display: flex;
  gap: var(--s-6);
  padding: 0 var(--s-4);
}
/* while a section is open, the dock holds the editor's tools; a tool with choices opens them in a popover that rises
   above the dock, in the dock's own smoke */
.dpop {
  position: fixed;
  left: calc(50% + (var(--rail) + var(--pl, 0px) - var(--pr, 0px)) / 2);
  bottom: 84px;
  translate: round(-50%, 1px) 0;
  z-index: var(--z-bar-pop);
  width: min(480px, calc(100vw - 28px));
  max-height: 52vh;
  overflow: auto;
  border-radius: var(--r-lg);
  padding: var(--s-10);
  color: var(--text);
  font-size: var(--f-sm);
  --lift: var(--sh2);
  animation:
    pop var(--tb) var(--e3) backwards,
    fade var(--t2) var(--e) backwards;
}
.dpop.slim {
  width: auto;
}
.dpop .row {
  gap: var(--s-6);
  flex-wrap: nowrap;
}
.dpop .lvl i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
}
.dpop .lvl i.on {
  background: var(--sand);
}
.dlib {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  font-size: var(--f-xs);
  color: var(--text-3);
  padding: var(--s-10) var(--s-8) var(--s-4);
}
.dlib:first-child {
  padding-top: var(--s-2);
}
.dpop .crow {
  padding: var(--s-4) var(--s-6);
  gap: var(--s-8);
} /* a field or a block to insert: a row of the path's list */
.page .ph .who {
  flex: 1;
  margin-left: var(--s-10);
}
.page[data-key="p2"] {
  animation-delay: var(--t1);
}
/* the editor of a section's text: the field over its mirror, which marks the tokens */
.zone.open {
  cursor: auto;
}
.ed {
  position: relative;
}
.ed textarea,
.ed .mir {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
  tab-size: 4;
}
.ed .mir {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: transparent;
  pointer-events: none;
}
.ed textarea {
  position: relative;
  height: var(--h, auto);
  resize: none;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
  caret-color: var(--accent);
  outline-offset: 6px;
} /* focus: the ring around the text in edit */
.ed textarea::placeholder {
  color: var(--muted);
}
.ed textarea::selection {
  background: var(--clay-l5);
  color: var(--ink);
}
.ed .mir .tf {
  background: var(--fld);
  border-radius: var(--r-2xs);
  box-shadow:
    0 0 0 2px var(--fld),
    0 3px 0 -1px var(--fld-line);
}
.ed .mir .tb {
  background: var(--blk);
  box-shadow:
    -4px 0 0 var(--blk),
    -6px 0 0 var(--blk-line);
}
.ed .mir .ta {
  background: var(--attr);
  border-radius: var(--r-2xs);
  box-shadow: 0 0 0 2px var(--attr);
}
.zone .note {
  color: var(--muted);
}
.sheetpop .note {
  color: var(--text-3);
} /* the popover lies in the section but is smoke */
/* the interview at a section: each question, its line, its answers; an answered one fades back with its answer */
.sheetpop .q {
  padding: var(--s-14) 0;
  border-top: 1px solid var(--line);
}
.sheetpop .q:first-of-type {
  border-top: 0;
}
.sheetpop .q .hd {
  gap: var(--s-10);
  margin-bottom: var(--s-4);
}
.sheetpop .q .qt {
  flex: 1;
  font-weight: 600;
  font-size: var(--f-md);
  letter-spacing: var(--ls-tight);
}
.sheetpop .q .qs {
  font-size: var(--f-sm);
  color: var(--dim);
  margin-bottom: var(--s-12);
}
.sheetpop .q.done {
  opacity: 0.55;
}
.sheetpop .q.done .qs {
  margin-bottom: 0;
}
.sheetpop .q .cites {
  margin: calc(var(--s-6) * -1) 0 var(--s-12);
}
/* a round of the interview under its head, as a group of «Quellen · {Abschnitt}» stands under its own */
.sheetpop .round {
  margin-top: var(--s-14);
}
.sheetpop .round > .hd {
  gap: var(--s-10);
}
/* the facts a round took without a question, collapsed under their pill at its end */
.sheetpop .taken {
  margin-top: var(--s-14);
}
.sheetpop .taken > .row {
  margin-bottom: var(--s-4);
}
/* the field of an own answer, beside its «Übernehmen» */
.sheetpop .q .own,
.interp .own {
  margin-top: var(--s-8);
  flex-wrap: nowrap;
}
.sheetpop .q .own .bin,
.interp .own .bin {
  flex: 1;
  min-width: 0;
}
/* the pages as they export, flat: the Seitenansicht is the PDF's own pages, drawn by pdf.js */
.flats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-18);
}
.flats .pdfdoc {
  display: contents;
}
.flats .pdfpage {
  width: min(788px, 100%);
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh4);
}
.flats .pdfpage canvas {
  display: block;
  width: 100%;
  height: auto;
}
.stm.sub {
  margin-top: var(--s-8);
  border-top: 0;
  padding-top: var(--s-4);
}
.stm.sub .mini {
  margin-bottom: var(--s-6);
}
/* ====================================================== THE PAGE FRAME ==
   The «Layout» pane (#89): the page frame as a pane at the left while «Layout» is on, every choice drawn, not
   named; up to 1180 px wide a sheet under the path, a dialog. The grip between the pane and the column sets its width; it
   shows while a hand is on it. The further rows of the frame: the colours one by one, a
   number in a small field, a glyph, a line style. */
.layoutpane {
  position: fixed;
  left: var(--rail);
  top: calc(var(--chrome-top) - var(--s-8));
  bottom: 96px;
  width: var(--lpw, 300px);
  z-index: var(--z-pane);
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: var(--r-xl);
  padding: var(--s-18);
  animation: slideinl var(--t4) var(--e) backwards;
  --lift: var(--sh4);
}
@keyframes slideinl {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
}
@media (max-width: 1180px) {
  .layoutpane {
    left: 50%;
    bottom: auto;
    translate: round(-50%, 1px) 0;
    max-height: calc(100vh - var(--chrome-top) - 88px);
    width: min(420px, 92vw);
    --lift: var(--sh2);
  }
} /* a sheet under the path, clear of the dock; its shadow the short one, so the page beside it keeps 4.5:1 */
.lp {
  padding: var(--s-12) 0;
  border-top: 1px solid var(--line);
}
.lp:first-of-type {
  border-top: 0;
}
.lp .lbl {
  margin-bottom: var(--s-10);
}
.sw {
  display: flex;
  gap: var(--s-8);
  flex-wrap: wrap;
}
.sw button {
  width: 46px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--white-08);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition:
    opacity var(--t1) var(--e),
    transform var(--t1) var(--e),
    background var(--t1) var(--e),
    border-color var(--t1) var(--e),
    box-shadow var(--t1) var(--e);
}
@media (hover: hover) {
.sw button:hover {
  background: var(--white-14);
}
}
@media (hover: none) {
.sw button:active {
  background: var(--white-14);
}
}
.sw button.on {
  background: var(--sel-bg);
  border-color: var(--sel-ring);
} /* a choice: selected */
.sw .scheme {
  display: flex;
  gap: var(--s-4);
}
.sw .scheme i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sw);
}
.sw .scheme i:last-child {
  background: var(--ink);
} /* --sw: the scheme's colour; the text is always ink */
.sw .mt {
  width: 28px;
  height: 18px;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: var(--s-1);
}
.sw .mt i {
  display: block;
  background: var(--white-30);
}
.sw .mt.grid i {
  outline: 1px solid var(--white-55);
}
.sw .mt.strip i:nth-child(2) {
  background: var(--white-14);
}
.sw .mt.band i:first-child {
  background: var(--sand);
}
.sw .mt.none i {
  background: var(--white-10);
}
.sw .ss,
.sw .rl {
  width: 28px;
  height: 18px;
  position: relative;
}
.sw .ss i {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--white-55);
  border-radius: var(--r-xs);
}
.sw .ss.rule i {
  box-shadow: 0 6px 0 -1px var(--white-40);
}
.sw .ss.band i {
  height: 8px;
  background: var(--sand);
}
.sw .ss.box {
  outline: 1px solid var(--white-55);
  border-radius: var(--r-xs);
}
.sw .ss.numb::before {
  content: "1.";
  position: absolute;
  left: 0;
  top: -2px;
  font-size: var(--f-xs);
  color: var(--white);
}
.sw .ss.numb i {
  left: 10px;
}
.sw .hl {
  width: 28px;
  height: 18px;
  position: relative;
  border-bottom: 1.5px solid var(--white-55);
}
.sw .hl i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: var(--r-xs);
  background: var(--white-70);
  top: 3px;
  left: 0;
}
.sw .hl b {
  position: absolute;
  right: 0;
  top: 4px;
  width: 12px;
  height: 4px;
  background: var(--white-40);
  border-radius: var(--r-xs);
}
.sw .hl.r i {
  left: auto;
  right: 0;
}
.sw .hl.r b {
  right: auto;
  left: 0;
}
.sw .hl.c i {
  left: 11px;
  top: 1px;
}
.sw .hl.c b {
  top: 10px;
  left: 8px;
}
.sw .hl.t i {
  display: none;
}
.sw .hl.t b {
  left: 0;
  width: 24px;
}
.sw .hl.b {
  border-bottom-width: 5px;
}
.sw .lh {
  width: 22px;
  display: grid;
  gap: var(--g);
}
.sw .lh i {
  display: block;
  height: 2px;
  background: var(--white-55);
}
.sw .fnt {
  font-size: var(--f-sm);
  font-weight: 600;
  color: var(--text);
  font-family: var(--pf);
}
/* the grip between the pane and the column: a line at the pane's edge while a hand is on it, a cursor that says what it does */
.lpgrip {
  position: fixed;
  left: calc(var(--rail) + var(--lpw, 300px) - var(--s-6));
  top: calc(var(--chrome-top) - var(--s-8));
  bottom: 96px;
  width: 12px;
  z-index: var(--z-pane);
  cursor: col-resize;
  touch-action: none;
  outline: none;
}
.lpgrip::after {
  content: "";
  position: absolute;
  left: 5px;
  top: var(--s-24);
  bottom: var(--s-24);
  width: 2px;
  border-radius: var(--r-pill);
  background: var(--white-40);
  opacity: 0;
  transition: opacity var(--t2) var(--e);
}
.lpgrip:focus-visible::after,
.lpgrip:active::after {
  opacity: 1;
}
@media (hover: hover) {
.lpgrip:hover::after {
  opacity: 1;
}
}
@media (hover: none) {
.lpgrip:active::after {
  opacity: 1;
}
}
/* the further rows: a colour role with its swatch and its field «#RRGGBB»; numbers in small fields, three to a row; a
   bullet or a numbering as it prints; a line style as it draws */
.lp .roles {
  display: grid;
  gap: var(--s-6);
}
.lp .roles label {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  font-size: var(--f-sm);
}
.lp .roles label span {
  flex: 1;
}
.lp .roles i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px var(--white-20);
  flex: none;
}
.lp .roles .bin,
.lp .nums .bin {
  padding: var(--s-6) var(--s-8);
  font-variant-numeric: tabular-nums;
}
.lp .roles .bin {
  width: 96px;
}
.lp .nums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-8);
}
.lp .nums label {
  display: grid;
  gap: var(--s-4);
  font-size: var(--f-xs);
  color: var(--text-3);
}
.sw .glyph {
  font-size: var(--f-md);
  color: var(--text);
}
.sw .bs {
  width: 28px;
  border-top: 2px solid var(--white-55);
}
.sw .bs.thin {
  border-top-width: 1px;
}
.sw .bs.thick {
  border-top-width: 3px;
}
.sw .bs.double {
  border-top: 3px double var(--white-55);
}
.sw .bs.dotted {
  border-top-style: dotted;
}
/* =========================================================== ADMIN =====*/
.tree {
  display: grid;
  place-items: center;
  padding: var(--s-12) 0;
  gap: 0;
}
.tree .stem {
  width: 1px;
  height: 26px;
  background: var(--line2);
}
.tree .kids {
  display: flex;
  gap: var(--s-28);
  align-items: flex-start;
  position: relative;
  padding-top: var(--s-20);
}
.tree .kid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-10);
  position: relative;
  font-size: var(--f-sm);
  color: var(--dim);
  text-align: center;
}
/* each unit draws its stem and its part of the line above the row, to the middle of the gap on each side: the line runs from
   the first stem to the last and meets every stem in its middle */
.tree .kid::before {
  content: "";
  position: absolute;
  top: -20px;
  left: calc(var(--s-14) * -1);
  right: calc(var(--s-14) * -1);
  height: 20px;
  border-top: 1px solid var(--line2);
  background: linear-gradient(var(--line2), var(--line2)) 50% 0/1px 100%
    no-repeat;
}
.tree .kid:first-child::before {
  left: 50%;
  background-position: -0.5px 0;
}
.tree .kid:last-child::before {
  right: 50%;
  background-position: calc(100% + 0.5px) 0;
}
.tree .kid:only-child::before {
  left: calc(50% - 0.5px);
  right: auto;
  width: 1px;
  border-top: 0;
  background-position: 0 0;
}
.tree .kid b {
  font-size: var(--f-sm);
  color: var(--text);
  font-weight: 600;
}
.tree .kid .gf {
  transition: transform var(--tb) var(--e3);
  cursor: pointer;
}
@media (hover: hover) {
.tree .kid:hover .gf {
  transform: translateY(-5px);
}
}
@media (hover: none) {
.tree .kid:active .gf {
  transform: translateY(-5px);
}
}
.tree .kid.on .gf .bk,
.tree .kid.on .gf .fr {
  box-shadow: inset 0 0 0 1.5px var(--clay-l9);
}
/* the index card: one sheet of smoke, and the open tab is part of it, as the tab of an index card is part of the card.
   The sheet is one element (.kplane), so its glass has one blur and one tint and no seam; kshape() draws its outline,
   the card and the open tab in one path, as the sheet's clip (--kclip) and as its rim (.krim), lighter at the top. The
   other tabs are outlines standing on the sheet's top edge, no glass of their own. The cards on the sheet are smoke of
   their own: where they lie on it, the glass is darker, as glass is. */
.kbox {
  position: relative;
  width: min(1080px, 100%);
  margin: var(--s-12) auto 0;
  animation: rise var(--t4) var(--e) backwards;
}
.kplane {
  position: absolute;
  inset: 0;
  z-index: var(--z-back);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: var(--kclip);
  pointer-events: none;
}
.krim {
  position: absolute;
  inset: 0;
  z-index: var(--z-mid);
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke-width: 1;
  pointer-events: none;
}
.ktabs {
  position: relative;
  z-index: var(--z-front);
  display: flex;
  align-items: flex-end;
  gap: var(--s-4);
  padding: 0 var(--s-48);
} /* 48: clear of the sheet's corner (--r-xl) and the tab's foot */
.ktab {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-10);
  padding: calc(var(--s-10) + var(--s-1)) var(--s-16)
    calc(var(--s-12) - var(--s-1));
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
  font-size: var(--f-sm);
  font-weight: 600;
  color: var(--text-3);
  transition:
    color var(--t2) var(--e),
    background var(--t2) var(--e);
}
.ktab.on {
  padding: calc(var(--s-14) + var(--s-1)) var(--s-18)
    calc(var(--s-12) - var(--s-1));
  margin: 0 var(--s-6);
  border-color: transparent;
  background: none;
  color: var(--text);
} /* the sheet's own tab: taller, its glass is the sheet's; its neighbours stand clear of its foot */
.ktab .n {
  font-variant-numeric: tabular-nums;
  color: var(--dim);
  font-weight: 500;
}
.kcard {
  position: relative;
  z-index: var(--z-front);
  padding: var(--s-28) var(--s-32);
  color: var(--text);
  animation: rise var(--t3) var(--e) backwards;
}
.kcard .card {
  color: var(--text);
  --lift: var(--sh1);
}
.kcard .tiles .card {
  min-height: 0;
}
/* on the smoke the parts keep the dark ground's own colours: the light card's ink rules (.card .tag, .card .pill, …) are taken back inside the inner smoke cards */
.card.smoke {
  color: var(--text);
} /* a smoke card, in the Administration's box or at the side of a library */
.card.smoke .lbl,
.card.smoke .mini {
  color: var(--text-3);
}
.card.smoke .tag {
  background: var(--white-05);
  border-color: var(--line);
  color: var(--dim);
}
.card.smoke .pill {
  background: var(--white-05);
  border-color: var(--line);
  color: var(--text);
}
@media (hover: hover) {
.card.smoke .pill:hover {
  background: var(--white-14);
}
}
@media (hover: none) {
.card.smoke .pill:active {
  background: var(--white-14);
}
}
.card.smoke .pill.on {
  background: var(--sand);
  color: var(--ink);
}
.card.smoke .dot {
  background: var(--faint);
}
.mask {
  position: fixed;
  inset: 0;
  z-index: var(--z-mask);
  background: var(--stage-40);
  display: grid;
  place-items: center;
  padding: var(--s-28);
  animation: fade var(--t2) var(--e2);
}
.sheet {
  max-height: 88vh;
  overflow: auto;
  width: min(900px, 100%);
  border-radius: var(--r-xl);
  padding: var(--s-28);
  color: var(--text);
  animation:
    pop var(--tb) var(--e3),
    fade var(--t3) var(--e);
  --lift: var(--sh4);
}
.toast {
  position: fixed;
  left: calc(50% + (var(--rail) + var(--pl, 0px) - var(--pr, 0px)) / 2);
  bottom: 96px;
  translate: round(-50%, 1px) 0;
  z-index: var(--z-toast);
  padding: var(--s-12) var(--s-20);
  border-radius: var(--r-pill);
  font-size: var(--f-sm);
  color: var(--text);
  animation: rise var(--t2) var(--e);
  --lift: var(--sh3);
}
#boot {
  position: fixed;
  inset: 0;
  z-index: var(--z-boot);
  display: grid;
  place-items: center;
  background: var(--stage);
  transition: opacity var(--t3) var(--e);
}
#boot svg {
  width: 68px;
  height: 68px;
}
/* ================================================ the parts of a sheet, a card, a popover ==
   The classes the render functions use; no size, colour or margin is set inline. */
.grow {
  flex: 1;
  min-width: 0;
}
.of {
  color: var(--text-3);
} /* the «/11» after a count */
.srcchip .of,
.pill.on .of {
  color: var(--ink-dim);
}
.tag .of,
.pill.opt.on .of {
  color: inherit;
} /* in a tag the «/8» takes the tag's own tone: on the room's lit folder and on the smoke over paper only that reads */
i.s {
  width: 60%;
}
i.m {
  width: 72%;
}
i.l {
  width: 88%;
} /* the lines of a paper mock: short, middle, long */
.between {
  justify-content: space-between;
}
.actions {
  margin-top: var(--s-16);
}
.lead {
  margin-bottom: var(--s-24);
}
.legend {
  display: flex;
  gap: var(--s-18);
}
.legend .row {
  gap: var(--s-8);
}
.ovhd h2 {
  flex: 1;
}
.hd b {
  flex: 1;
  font-size: var(--f-lg);
}
.sheetpop .hd b,
.interp .hd b,
.layoutpane .hd b {
  font-size: var(--f-md);
}
.sheetpop .hd {
  margin-bottom: var(--s-14);
}
/* the pane's own head: the head of a statement in it keeps its own margin (.stm .hd, document.css) */
.interp > .hd {
  margin-bottom: var(--s-14);
}
.interp .note {
  margin-bottom: var(--s-14);
}
.layoutpane .hd {
  margin-bottom: var(--s-6);
}
.layoutpane .note {
  margin-bottom: var(--s-8);
}
.sheet.narrow {
  width: min(700px, 100%);
}
.sheet .sub {
  margin: var(--s-28) 0 var(--s-14);
}
.sheet .sub b {
  font-size: var(--f-md);
}
.sheet.wide {
  width: min(1100px, 100%);
}
/* the Freigabe of a Durchlauf: its pages at the left, what it records at the right */
.apr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--apr-side);
  gap: var(--s-24);
  align-items: start;
}
.apr .aprside {
  position: sticky;
  top: 0;
}
.aprside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-16);
}
.aprside .who {
  gap: var(--s-12);
  flex-wrap: nowrap;
}
.aprside .who b {
  font-size: var(--f-md);
}
.aprside .pill.acc {
  align-self: stretch;
  justify-content: center;
}
.sheet .foot {
  text-align: center;
  margin-top: var(--s-14);
}
.sheet textarea {
  width: 100%;
  min-height: 170px;
  padding: var(--s-16);
  line-height: var(--lh-text);
  border-radius: var(--r-lg);
  border: 1px solid var(--line2);
  background: var(--white-05);
  color: inherit;
}
.srcgroup {
  margin-bottom: var(--s-28);
}
.srcgroup .hd {
  gap: var(--s-10);
  margin-bottom: var(--s-14);
}
.srccard .meta {
  gap: var(--s-6);
  margin-top: var(--s-8);
} /* in the meta row the row's margin holds, as in every card */
.srccard .meta .tag {
  white-space: normal;
  max-width: 100%;
  border-radius: var(--r-sm);
  line-height: var(--lh-snug);
} /* a long reason wraps inside the card instead of running over the next one */
.drop b {
  font-size: var(--f-lg);
}
.drop .mini {
  margin-top: var(--s-6);
}
.gen .body {
  flex: 1;
  min-width: 160px;
}
.gen .q {
  font-size: var(--f-sm);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
}
.gen .t {
  font-size: var(--f-sm);
}
.tcard h1 small {
  font-size: var(--f-xl);
  color: var(--dim);
  font-weight: 300;
  letter-spacing: var(--ls-0);
  margin-left: var(--s-6);
} /* its own tracking: the hero's -.035em, taken at 46 px, would squeeze 19 px text into one word; --dim keeps 4.5:1 over the lit folder in the room */
.bslip .pill,
.flag .pill,
.card .pill,
.addsec .pill,
.page .ask .pill:not(.acc) {
  background: var(--white);
  color: var(--ink);
  border-color: var(--chip-line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
} /* the paper pill, on the card's light glass, on the builder's page, on a library's slip and on a flag */
.card .pill.on {
  background: var(--ink);
  color: var(--sand);
  border-color: transparent;
}
/* an answer that has not come: it waits in the model's queue, or it did not come; a smaller sheet that says which */
.msg.bot.state {
  display: flex;
  align-items: flex-start;
  gap: var(--s-12);
  padding: var(--s-16) var(--s-20);
  font-size: var(--f-md);
  line-height: var(--lh-ui);
}
.msg.bot.state .grow {
  flex: 1;
  min-width: 0;
}
.msg.bot.state b {
  display: block;
  font-weight: 600;
}
.msg.bot.state .mini {
  color: var(--ink-dim);
  margin-top: var(--s-2);
}
.msg.bot.state.err > svg {
  color: var(--err-l11);
  flex: none;
  margin-top: var(--s-2);
}
.msg.bot.state .qsec {
  font-variant-numeric: tabular-nums;
}
/* an e-mail as it lands: a sheet of paper with its head, its text, its one link and its foot */
.letter {
  margin-top: var(--s-12);
  padding: var(--s-20) var(--s-24);
  border-radius: var(--r-sm);
  background: var(--paper-warm);
  color: var(--ink);
  font-family: var(--paper-font);
  font-size: var(--f-md);
  line-height: var(--lh-text);
  box-shadow: var(--sh2);
}
.letter dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-2) var(--s-12);
  margin: 0 0 var(--s-16);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid var(--paper-line);
  font-size: var(--f-sm);
}
.letter dt {
  color: var(--muted);
}
.letter dd {
  margin: 0;
}
.letter p {
  margin: 0 0 var(--s-10);
}
.letter .pill {
  margin-top: var(--s-6);
}
.letter .foot {
  margin: var(--s-16) 0 0;
  font-size: var(--f-xs);
  color: var(--muted);
}
.msg.bot .pill.tonal {
  background: var(--clay-l4);
  color: var(--clay-l12);
  border-color: transparent;
  box-shadow: inset 0 0 0 1px var(--clay-l5);
}
@media (hover: hover) {
.msg.bot .pill.tonal:hover {
  background: var(--clay-l5);
}
}
@media (hover: none) {
.msg.bot .pill.tonal:active {
  background: var(--clay-l5);
}
}
.fld2 p {
  font-size: var(--f-sm);
  line-height: var(--lh-ui);
}
.kcard .tiles {
  margin-bottom: var(--s-24);
}
.card.kpi {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card.kpi > .row:first-child {
  min-height: var(--s-32);
} /* as tall as a round button of 32 px: with a tag, a button or neither, the icons of a row of tiles stand at one height */
.line .nm {
  flex: 1;
  font-size: var(--f-sm);
  min-width: 0;
}
.line.first {
  border-top: 0;
}
.choice {
  padding: var(--s-14) 0;
  border-top: 1px solid var(--line);
}
.choice .lbl {
  margin-bottom: var(--s-10);
}
.side > .card {
  margin-bottom: var(--s-16);
}
.card.pub .hd {
  margin-bottom: var(--s-14);
}
.card.pub .tag {
  background: var(--white-05);
  border-color: var(--line2);
  color: var(--dim);
}
.card.pub .num {
  margin-bottom: var(--s-8);
}
.card.pub .lbl {
  margin-bottom: var(--s-16);
}
.card.pub .pill.acc {
  box-shadow: none;
}
.avs {
  gap: var(--s-14);
  margin-bottom: var(--s-20);
}
.av.lg {
  width: 48px;
  height: 48px;
  font-size: var(--f-md);
}
.chips {
  gap: var(--s-10);
  margin-bottom: var(--s-20);
}
/* a control that waits for something: dim, and a click says what it waits for. A primary action that waits is neutral, never a dim orange */
.idle,
[aria-disabled="true"] {
  opacity: 0.45;
  cursor: help;
} /* a control that waits: one look, its reason in its tooltip and its description, a click says it in a toast */
.pill.acc.idle,
.card .pill.acc.idle {
  background: var(--white-05);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
} /* an act that waits drops the accent first: neutral, never a dim orange */
.pill.off {
  color: var(--text-3);
  border-style: dotted;
} /* a choice hidden here: offered nowhere new */
.pill.ro {
  pointer-events: none;
} /* a value shown as a pill, not a control: the settings of a Durchlauf belong to its Vorlage */ /* ========================================================= THE BUILDER ==
   The builder. A Vorlage's working version in the document editor (ADR-034): the same column of pages as the Durchlauf.
   A model-written section shows the Mustertext, a field a
   sample value, both marked as sample. The settings popover at the card is live; «+ Abschnitt» lies between the cards; the
   header and the footer of the page frame stand on every page. Then the text field, the line that says why a step was
   refused, the warning box, and the question asked in it. */
.page.land,
.pgsep.land {
  width: min(1114px, 100%);
} /* Querformat: A4 on its side, 297 to 210 */
.page.land {
  padding: var(--page-pad-land);
}
.zone.bz {
  cursor: pointer;
}
.zone.bz.on {
  box-shadow: 0 0 0 1.5px var(--clay-l9);
} /* its settings are open: selected */
.zone .bmeta {
  float: right;
  display: inline-flex;
  gap: var(--s-8);
  margin-top: calc((var(--f-lg) * var(--plh) - var(--s-14)) / 2);
  opacity: 0.5;
  font-weight: 400;
} /* its 14 px marks in the middle of the title's line, at every line height of the page frame */
.zone .bmeta i {
  display: grid;
  place-items: center;
}
.zone .smp {
  color: var(--ink-dim);
}
.zone .smp p {
  margin: 0 0 var(--s-10);
}
.zone .smp p:last-child {
  margin-bottom: 0;
}
.zone .smpk {
  display: block;
  font-family: var(--sans);
  font-size: var(--f-xs);
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-6);
}
.zone .fld.smp {
  background: transparent;
  border-bottom: 1px dashed var(--fld-line);
} /* a sample value, not the Dossier's */
.addsec {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 22px;
  margin: calc(var(--s-6) * -1) 0 calc(var(--s-4) * -1);
  opacity: 0;
  transition: opacity var(--t2) var(--e);
}
.addsec::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed var(--paper-dash);
}
.addsec:focus-within,
.addsec.show {
  opacity: 1;
}
@media (hover: hover) {
.addsec:hover {
  opacity: 1;
}
}
@media (hover: none) {
.addsec:active {
  opacity: 1;
}
}
.addsec .pill {
  position: relative;
  padding: var(--s-2) var(--s-10) var(--s-2) var(--s-8);
  gap: var(--s-4);
  font-family: var(--sans);
  font-size: var(--f-xs);
}
@media (hover: hover) {
.addsec .pill:hover {
  background: var(--clay-l3);
}
}
@media (hover: none) {
.addsec .pill:active {
  background: var(--clay-l3);
}
}
/* the page frame's header and footer, drawn from the template (ADR-034): five arrangements and four rules above, four
   arrangements and four rules below, a band in the primary colour, a logo */
.page .ph.hf .t2 {
  text-align: right;
}
.page .ph.hf.a-1 {
  flex-direction: row-reverse;
}
.page .ph.hf.a-1 .who {
  margin: 0 var(--s-10) 0 0;
  text-align: right;
}
.page .ph.hf.a-1 .t2 {
  text-align: left;
}
.page .ph.hf.a-2 .who {
  margin: 0;
}
.page .ph.hf.a-2 .t2 {
  text-align: center;
}
.page .ph.hf.a-3 .who {
  margin: 0;
}
.page .ph.hf.a-4 {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: var(--s-10);
  row-gap: var(--s-2);
}
.page .ph.hf.a-4 .plogo {
  grid-row: 1/3;
}
.page .ph.hf.a-4 .who {
  margin: 0;
}
.page .ph.hf.a-4 .t2 {
  text-align: left;
}
.page .ph.hf.r-0 {
  border-bottom: 0;
}
.page .ph.hf.r-1 {
  border-bottom: 1px solid var(--prule);
}
.page .ph.hf.r-2 {
  border-bottom: 3px solid var(--ink);
}
.page .ph.hf.r-3 {
  border-bottom: 1.5px solid var(--pp);
}
.page .ph.hf.band {
  background: var(--pp);
  color: var(--white);
  padding: var(--s-10) var(--s-12);
  border-radius: var(--r-xs);
}
.page .ph.hf.band .plogo {
  background: var(--white);
  border-radius: var(--r-xs);
  padding: var(--s-2);
  box-sizing: content-box;
} /* the logo keeps its own ground on the band */
.page .pf.hf.fa-1 {
  justify-content: center;
  text-align: center;
}
.page .pf.hf:is(.fa-2, .open) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-12);
}
.page .pf.hf:is(.fa-2, .open) > div:nth-child(2) {
  text-align: center;
}
.page .pf.hf:is(.fa-2, .open) > div:last-child {
  text-align: right;
} /* three cells: the footer's texts left, in the middle and right, and the open footer's three fields */
.page .pf.hf.r-0 {
  border-top: 0;
}
.page .pf.hf.r-2 {
  border-top: 3px solid var(--ink);
}
.page .pf.hf.r-3 {
  border-top: 1.5px solid var(--pp);
}
.page .pf .pg {
  white-space: nowrap;
}
/* the settings popover of the builder: the same popover as in the Durchlauf, live */
.bin {
  display: block;
  width: 100%;
  padding: var(--s-10) var(--s-12);
  border-radius: var(--r-md);
  border: 1px solid var(--line2);
  background: var(--white-05);
  color: var(--text);
  font: inherit;
  font-size: var(--f-sm);
  line-height: var(--lh-ui);
  outline: none;
  resize: vertical;
}
.bin:focus {
  border-color: var(--white-40);
}
.bin::placeholder {
  color: var(--text-3);
}
.mini.warnl {
  color: var(--err-11);
  margin-top: var(--s-6);
}
.tcard h1 .tname {
  font: inherit;
  letter-spacing: var(--ls-hero);
  line-height: var(--lh-num);
  color: inherit;
  background: none;
  border: 0;
  border-bottom: 1px dashed transparent;
  padding: 0;
  margin: 0 0 calc(var(--s-1) * -1);
  outline: none;
  height: calc(var(--f-hero) * var(--lh-num) + var(--s-1));
  field-sizing: content;
  min-width: 4ch;
  max-width: 100%;
}
.tcard h1 .tname:focus {
  border-bottom-color: var(--line2);
}
@media (hover: hover) {
.tcard h1 .tname:hover {
  border-bottom-color: var(--line2);
}
}
@media (hover: none) {
.tcard h1 .tname:active {
  border-bottom-color: var(--line2);
}
}
.warnbox .row {
  gap: var(--s-8);
  margin-top: var(--s-10);
}
.warnbox.ask {
  align-items: flex-start;
} /* a question in place: «Abbrechen», and the act that confirms it */
.page .ask {
  margin: 0 0 var(--s-10);
  border-color: var(--warn-l6);
  background: var(--warn-l3);
  font-family: var(--sans);
}
.page .ask > svg {
  color: var(--warn-l12);
}
.page .ask b {
  color: var(--ink);
}
.page .ask .mini {
  color: var(--ink-dim);
} /* a question in place on the page, before a section goes */
.warnbox {
  display: flex;
  gap: var(--s-10);
  align-items: flex-start;
  padding: var(--s-12) var(--s-14);
  border-radius: var(--r-md);
  border: 1px solid var(--warn-a6);
  background: var(--warn-a3);
}
.warnbox > svg {
  color: var(--warn-11);
  flex: none;
  margin-top: var(--s-2);
} /* its own sign, not the icons of the buttons in it */
.warnbox b {
  font-weight: 500;
  font-size: var(--f-sm);
}
.warnbox .mini {
  margin-top: var(--s-4);
  color: var(--dim);
}
.aprside .bin,
.aprside .warnbox {
  align-self: stretch;
}
/* a new Vorlage: blank, from a Word file, or a copy of a FoxKI-Vorlage; the cards are the sources' cards */
.srccard.pick {
  opacity: 1;
}
.srcpage.blank i {
  display: none;
}
.srccard .lnk {
  display: inline-block;
  margin-top: var(--s-8);
  font-size: var(--f-xs);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ink-30);
  text-underline-offset: 2px;
}
.drop.busy {
  border-style: solid;
  flex-direction: row;
  justify-content: center;
  color: var(--dim);
}
.srccard .tag:not(.warn):not(.err),
.bslip .tag {
  background: var(--ink-06);
  border-color: var(--ink-12);
  color: var(--ink);
}
.sheet .line {
  border-top-color: var(--line);
}
.sheet .line .grow {
  min-width: 0;
}

/* ========================================================= A LIBRARY ===
   A Bibliothek opens from its book: its blocks lie as slips of paper, each with the block's print mark, the sand rule at the
   left. A slip opens for editing in place; what the working version changes is marked as in a suggestion. At the side the
   release and the versions, as in the Anweisungen */
.slips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s-14);
  align-items: start;
}
.bslip {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  border-radius: var(--r-sm);
  padding: var(--s-14) var(--s-16) var(--s-16);
  color: var(--ink);
  cursor: pointer;
  background: var(--paper-slip);
  box-shadow: var(--sh2);
  transition:
    transform var(--tb) var(--e3),
    box-shadow var(--t2) var(--e);
  animation: rise var(--t3) var(--e) backwards;
  animation-delay: calc(var(--n, 0) * var(--tn));
}
@media (hover: hover) {
.bslip:hover {
  transform: translateY(-4px);
}
}
@media (hover: none) {
.bslip:active {
  transform: translateY(-4px);
}
}
.bslip.open {
  cursor: auto;
  transform: none;
  box-shadow:
    0 0 0 1.5px var(--clay-l9),
    var(--sh2);
}
.bslip .hd {
  gap: var(--s-8);
  margin-bottom: var(--s-10);
  font-size: var(--f-sm);
}
.bslip .hd b {
  flex: 1;
  font-weight: 600;
}
.bslip .btext {
  font-family: var(--paper-font);
  font-size: var(--f-md);
  line-height: var(--lh-text);
  border-left: 2px solid var(--blk-line);
  padding-left: var(--s-10);
  margin: 0;
  white-space: pre-wrap;
}
.bslip textarea,
.bslip input {
  display: block;
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper-warm);
  border: 0;
}
.bslip textarea {
  font-family: var(--paper-font);
  font-size: var(--f-md);
  line-height: var(--lh-text);
  border-left: 2px solid var(--blk-line);
  padding: var(--s-4) var(--s-10);
  min-height: 120px;
  resize: vertical;
}
.bslip input {
  font-weight: 600;
  font-size: var(--f-sm);
  padding: var(--s-4) var(--s-6);
  border-bottom: 1px dashed var(--clay-l9);
}
.bslip .actions {
  margin-top: var(--s-10);
}
.bslip .mini {
  color: var(--muted);
}
.bslip.add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-8);
  min-height: 92px;
  background: transparent;
  border: 1.5px dashed var(--line2);
  box-shadow: none;
  color: var(--dim);
  font-size: var(--f-sm);
  font-weight: 500;
}
@media (hover: hover) {
.bslip.add:hover {
  color: var(--text);
  border-color: var(--white-40);
}
}
@media (hover: none) {
.bslip.add:active {
  color: var(--text);
  border-color: var(--white-40);
}
}
.bslip del,
.sugg del {
  color: var(--ink-dim);
  text-decoration: line-through;
  text-decoration-color: var(--err-9);
}
.bslip ins,
.sugg ins {
  text-decoration: none;
  background: var(--ok-l3);
  box-shadow: inset 0 -1.5px 0 var(--ok-9);
  border-radius: var(--r-2xs);
}
.card.pub .note {
  margin-top: var(--s-12);
}
.side .card h3 {
  font-size: var(--f-md);
}
/* ------------------------------------------------------------------ #89
   The page frame on the builder's pages (ADR-034). Every page carries the frame's values as the PDF takes them (the
   server's frame_values(), set on the page by Layout.tsx's pageStyle()): the colours, the fonts, the line height, the
   spacing, the alignment and the line of every rule, grid and box; at the frame's defaults the page keeps the sizes of
   this stylesheet, and a size or a side margin moves it by its distance from its default (--d-…). :where() keeps each
   rule at the weight of the rule it carries the frame into, so a section or table style still wins over it. */
.page.build {
  color: var(--ptext);
  font-size: calc(var(--f-md) + var(--d-body));
  padding-left: max(0mm, calc(var(--page-x) + var(--d-left)));
  padding-right: max(0mm, calc(var(--page-x) + var(--d-right)));
}
.page.build.land {
  padding-left: max(0mm, calc(var(--page-x-land) + var(--d-left)));
  padding-right: max(0mm, calc(var(--page-x-land) + var(--d-right)));
}
@media (max-width: 720px) {
  .page.build {
    padding-left: max(0mm, calc(var(--page-x-narrow) + var(--d-left)));
    padding-right: max(0mm, calc(var(--page-x-narrow) + var(--d-right)));
  }
}
:where(.page.build) .zone h4 {
  font-family: var(--phf);
  font-size: calc(var(--f-lg) + var(--d-h1));
  color: var(--phead);
  border-bottom: var(--pline) var(--prule);
}
:where(.page.build) .zone .bmeta {
  margin-top: calc(
    ((var(--f-lg) + var(--d-h1)) * var(--plh) - var(--s-14)) / 2
  );
}
:where(.page.build) .zh {
  text-align: var(--palign);
}
:where(.page.build) .zh h2,
:where(.page.build) .zh h3 {
  font-family: var(--phf);
  font-weight: 700;
  color: var(--phead);
  margin: var(--s-10) 0 var(--s-6);
}
:where(.page.build) .zh h2 {
  font-size: calc(var(--f-lg) + var(--d-h2));
}
:where(.page.build) .zh h3 {
  font-size: calc(var(--f-md) + var(--d-h3));
}
:where(.page.build) .zone p,
:where(.page.build) .zone .smp p,
:where(.page.build) .zone ol,
:where(.page.build) .zone ul,
:where(.page.build) .zone table {
  margin-bottom: var(--pspace);
}
:where(.page.build) .zone th {
  border-bottom: var(--pline) var(--prule);
}
:where(.page.build) .zone td {
  border-bottom: var(--pline) var(--prow);
}
.page.tb-1:where(.build) .zone td,
.page.tb-1:where(.build) .zone th,
.page.ss-3:where(.build) .zone {
  border: var(--pline) var(--prule);
}
.page:where(.build) .pf {
  border-top: var(--pline) var(--prule);
}
.page:where(.build) .ph.hf.r-1 {
  border-bottom: var(--pline) var(--prule);
}
/* the list style: the bullet and the numbering as the PDF prints them */
.page.bl-dash .zone ul {
  list-style-type: "– ";
}
.page.bl-square .zone ul {
  list-style-type: square;
}
.page.bl-arrow .zone ul {
  list-style-type: "→ ";
}
@counter-style decimal-paren {
  system: extends decimal;
  suffix: ") ";
}
@counter-style alpha-paren {
  system: extends lower-alpha;
  suffix: ") ";
}
.page.nu-decimal_paren .zone ol {
  list-style-type: decimal-paren;
}
.page.nu-alpha_paren .zone ol {
  list-style-type: alpha-paren;
}
.page.nu-roman .zone ol {
  list-style-type: lower-roman;
}
/* the header and the footer on the builder's page: a click edits them in place, their texts in fields with the fields'
   tokens; the logo of the Vorlage */
.page.build .hf {
  cursor: pointer;
  outline: 1px dashed transparent;
  outline-offset: 5px;
  transition: outline-color var(--t2) var(--e);
}
@media (hover: hover) {
.page.build .hf:hover {
  outline-color: var(--paper-dash);
}
}
@media (hover: none) {
.page.build .hf:active {
  outline-color: var(--paper-dash);
}
}
.page.build .hf:focus-visible {
  outline: 2px solid var(--ink);
}
.page .hf.open {
  cursor: auto;
  outline: 1.5px solid var(--clay-l9);
  outline-offset: 6px;
}
.page .ph.hf.open .t2 {
  flex: 0 1 38%;
}
.page img.plogo {
  width: auto;
  max-width: 96px;
  height: 23px;
  object-fit: contain;
}
.hfin {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed var(--clay-l9);
  padding: var(--s-1) var(--s-2);
  margin: 0;
  width: 100%;
  min-width: 0;
}
/* the drawn choices of the header and the footer, in a popover above the dock: the arrangements, the rules, the logo */
.dpop .sw {
  padding: var(--s-2);
}
.sw .hl.two i {
  top: 2px;
}
.sw .hl.two b {
  left: 9px;
  top: 3px;
  width: 17px;
}
.sw .hl.two b::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 11px;
  height: 3px;
  border-radius: var(--r-xs);
  background: var(--white-40);
}
.sw .fl {
  width: 28px;
  height: 18px;
  position: relative;
  border-top: 1.5px solid var(--white-55);
}
.sw .fl i {
  position: absolute;
  top: 6px;
  width: 7px;
  height: 3px;
  border-radius: var(--r-xs);
  background: var(--white-55);
}
.sw .fl i:nth-child(1) {
  left: 0;
}
.sw .fl i:nth-child(2) {
  left: 10.5px;
}
.sw .fl i:nth-child(3) {
  right: 0;
}
.sw .fl.lr i:nth-child(2),
.sw .fl.c i:nth-child(1),
.sw .fl.c i:nth-child(3),
.sw .fl.l i:nth-child(2),
.sw .fl.l i:nth-child(3) {
  display: none;
}
.sw .fl.l i:nth-child(1) {
  width: 12px;
}
.sw .rl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 1px;
  background: var(--white-55);
}
.sw .rl.r0::after {
  background: none;
  border-top: 1px dashed var(--white-30);
}
.sw .rl.r2::after {
  height: 3px;
  top: 7px;
}
.sw .rl.r3::after {
  height: 2px;
  background: var(--clay-11);
}
.sw .or {
  width: 13px;
  height: 18px;
  border: 1.5px solid var(--white-55);
  border-radius: var(--r-2xs);
}
.sw .or.q {
  width: 18px;
  height: 13px;
}
.lgo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--white);
  flex: none;
}
.lgo img,
.lgo svg {
  max-width: 34px;
  max-height: 26px;
}
/* ---- the release (#90) ----
   The checks of a release as dots in the dock, a failed one with a halo, so the colour is never alone; their flags on the
   cards, a flag that informs smaller than one that blocks (ADR-028). The versions, in a popover above the dock: the line of
   dots with the working version on the dot of where you are, the released ones under it, their changes, the withdrawal.
   A row is two lines, the name with its state and the day, who and the note under it; its acts stand at the right, 32 px
   each, a gap where a version has fewer, so the eyes stand in one column. The release: the Freigabe's pattern, smaller. */
.rules {
  display: flex;
  gap: var(--s-6);
  padding: 0 var(--s-4);
}
.row > .rules {
  padding: 0;
} /* in a sheet's row the first dot stands on the sheet's left edge; in the dock the padding keeps the dots off its rules */
.rules .dot.ok {
  background: var(--ok-9);
}
.rules .dot.err {
  background: var(--err-9);
  box-shadow: 0 0 0 3px var(--err-a3);
}
.rules .dot.warn {
  background: var(--warn-11);
  box-shadow: 0 0 0 3px var(--warn-a3);
} /* a warning that informs and does not block: a halo too */
.flag {
  font-family: var(--sans);
  margin-top: var(--s-10);
  gap: var(--s-10);
  padding: var(--s-10) var(--s-14);
  border-radius: var(--r-md);
  font-size: var(--f-sm);
  background: var(--err-l3);
  border: 1px solid var(--err-l6);
  color: var(--err-l11);
}
.flag.soft {
  background: var(--chip);
  border-color: var(--chip-line);
  color: var(--ink);
}
.flag.sugg {
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-8);
}
.flag.sugg .hd {
  display: flex;
  align-items: center;
  gap: var(--s-8);
}
.flag.sugg .txt,
.flag.sugg .flag {
  margin: 0;
} /* a suggestion on a section's text: its head, the change struck and marked word by word, its flags, «Übernehmen» and «Verwerfen» */
.flag.note {
  display: inline-flex;
  padding: var(--s-4) var(--s-12) var(--s-4) var(--s-10);
  gap: var(--s-8);
  font-size: var(--f-xs);
  color: var(--ink-dim);
}
.zone .zh:has(+ .flag) > p:last-child {
  margin-bottom: var(--s-10);
} /* where a flag follows the server's text of a section, its last paragraph keeps its margin: it is not the card's last */
.gens.vers {
  padding-left: var(--s-28);
}
.gens.vers::before {
  top: 26px;
  bottom: 26px;
}
.gen.ver {
  padding: var(--s-12) 0;
  gap: var(--s-6) var(--s-8);
  align-items: center;
  animation-delay: calc(var(--n, 0) * var(--tn));
}
.gen.ver::before {
  top: 19.5px;
  left: -24px;
}
.gen.ver .body {
  min-width: 0;
}
.gen.ver .q {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-10);
  min-height: 26px;
  line-height: var(--lh-ui);
} /* as tall with a state tag as without: the dot finds the name's middle at 25 px */
.gen.ver .mini {
  margin-top: var(--s-4);
  line-height: var(--lh-ui);
}
.gen.ver > i {
  width: 32px;
  flex: none;
}
.gen.ver > .vlog,
.gen.ver > .warnbox {
  flex-basis: 100%;
  margin: var(--s-8) 0 var(--s-2);
}
.vlog {
  margin: var(--s-2) var(--s-8) var(--s-8) var(--s-28);
  padding: var(--s-4) 0 var(--s-4) var(--s-12);
  border-left: 1px solid var(--line2);
  color: var(--dim);
  font-size: var(--f-xs);
  line-height: var(--lh-read);
}
.gen.ver > .vlog {
  padding: var(--s-4) 0 var(--s-4) var(--s-14);
  line-height: var(--lh-text);
}
.gen.ver > .vlog .ivd {
  margin-bottom: var(--s-14);
}
.gen.ver > .vlog .ivd:last-child {
  margin-bottom: var(--s-4);
}
.vfoot {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  padding: var(--s-12) 0 var(--s-2);
  margin-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.card .vlog {
  color: var(--text-3);
}
.aprside .sub {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  margin-bottom: calc(var(--s-6) * -1);
}
.aprside .vlog {
  align-self: stretch;
  margin: 0;
}
/* a Vorlage's own fields: a row of «Eigene Felder» names the field and its type, and removes it */
.sheet .ofield {
  gap: var(--s-10);
  flex-wrap: nowrap;
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line);
}
.sheet .ofield .ct {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
/* ================================================= view transitions ==
   A change of screen or a sheet runs as a view transition: the browser
   crossfades the old screen into the new. What is the same thing on both
   sides carries one name and travels from its old box to its new one: the
   composer between dashboard and chat, the rail from the top of the
   dashboard to the left edge, the path with the rail's column. Back runs the same way in reverse.
   A name holds only for the kind of transition that moves the element
   (src/shell/viewTransitions.ts puts the kind on <html>), so a sheet opening over the chat does
   not lift the door and the composer out of the room and above the mask. The
   toast is named without moving: it stays above everything. The mouse keeps its hover look through a transition
   (hold()). */
html.vt-screen .composer,
html.vt-open .composer {
  view-transition-name: composer;
} /* the composer travels in the screen change and in the opening */
html.vt-screen .rail,
html.vt-open .rail {
  view-transition-name: rail;
} /* on the screens of a Bereich the rail stands at the left: named, it stays above the page and keeps its glass */
html.vt-rail .rail {
  view-transition-name: railside;
  view-transition-class: railbar;
} /* between the dashboard and a screen of a Bereich the rail changes its shape: the bar that stands fades in where it stands, */
html.vt-rail .locked .rail {
  view-transition-name: railtop;
} /* the bar that lies fades out where it lies, */
html.vt-rail .rail > button {
  view-transition-class: railicon;
} /* and each object travels on its own, from the row into the column or back */
html.vt-rail .rail > button:nth-of-type(1) {
  view-transition-name: rail1;
}
html.vt-rail .rail > button:nth-of-type(2) {
  view-transition-name: rail2;
}
html.vt-rail .rail > button:nth-of-type(3) {
  view-transition-name: rail3;
}
html.vt-rail .rail > button:nth-of-type(4) {
  view-transition-name: rail4;
}
html.vt-rail .rail > button:nth-of-type(5) {
  view-transition-name: rail5;
}
html.vt-rail .rail > button:nth-of-type(6) {
  view-transition-name: rail6;
}
html.vt-screen .path,
html.vt-open .path {
  view-transition-name: path;
} /* one element on every screen: it glides with the rail's column, and the sign-in's way in becomes the home's path */
html.vt-open {
  view-transition-name: none;
} /* the opening: the page stays live, the chat rises out of the folder; only the composer and the rail travel */
.toast {
  view-transition-name: toast;
} /* above every layer of a transition, as above everything on the screen: in the root's picture the page would cover it */
html.vt-screen .tray {
  view-transition-name: tray;
} /* glass in the Dokumente screen: named, so the browser lays its glass over the room; inside the screen's picture it has no room behind it and shows light */
html.vt-sources .vt-sources {
  view-transition-name: sources;
} /* only while the source sheet opens or closes: named for another sheet, the chip rides above that sheet's mask, bright, and darkens at the end */
::view-transition-group(*) {
  animation-duration: var(--t3);
  animation-timing-function: var(--e);
}
::view-transition-old(*),
::view-transition-new(*) {
  animation-timing-function: var(--e);
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: var(--t2);
}
::view-transition-old(composer),
::view-transition-new(composer) {
  width: 100%;
  height: 100%;
  object-fit: none;
  object-position: 50% 100%;
}
::view-transition-old(rail),
::view-transition-new(rail) {
  width: 100%;
  height: 100%;
  object-fit: none;
} /* at its own size, as the path: its icons never stretch */
::view-transition-old(*.railicon),
::view-transition-new(*.railicon) {
  width: 100%;
  height: 100%;
  object-fit: none;
} /* an object of the rail travels at its own size, its box a little smaller when it lies */
::view-transition-old(*.railbar) {
  animation-duration: var(--t2);
} /* the bar the objects leave fades with the screen under it, */
::view-transition-new(*.railbar) {
  animation-timing-function: var(--e2);
} /* the bar they land in shows as they arrive */
::view-transition-old(path),
::view-transition-new(path) {
  width: 100%;
  height: 100%;
  object-fit: none;
} /* at its own size: its crumbs never stretch */
/* the layers stack in the order the browser found their names, the old screen's first: the chrome travels above the screen it
   leaves or lands in, as on the screen */
::view-transition-group(rail),
::view-transition-group(path),
::view-transition-group(composer) {
  z-index: var(--z-front);
}
::view-transition-group(*.railicon) {
  z-index: var(--z-front);
}
::view-transition-group(*.railbar) {
  z-index: var(--z-mid);
} /* the objects over the bars */
::view-transition-group(toast) {
  z-index: var(--z-toast);
}
/* a named element does not animate itself: the transition moves it, and a transform of its own would be captured as its place */
@supports (view-transition-name: none) {
  .tray {
    animation: none;
  }
}
.vtq {
  animation: none;
} /* the toast and a sheet, named and new in a transition: the transition fades them in (afterCommit() gives .vtq); without one they rise */
@keyframes vtpop {
  from {
    scale: 0.94;
  }
} /* the pop of a group: its transform places it, so the pop scales */
::view-transition-group(*.in) {
  animation: vtpop var(--tb) var(--e3);
} /* a sheet that opens pops on its group, with its glass (nameSheets) */
::view-transition-old(*.sheet):only-child {
  animation-duration: var(--t2);
} /* a sheet that closes fades with the screen under it */
/* a named element of glass: the browser lays its backdrop-filter on its group, a square box that does not fade with the
   element's picture. glassTravels() gives the group the element's corners and fades its glass with the picture */
/* less motion, as the system or the profile asks (MOTION): nothing animates, every change is at once */
html.calm,
html.calm * {
  animation: none !important;
  transition-property: none !important;
}
html.calm::view-transition-group(*),
html.calm::view-transition-old(*),
html.calm::view-transition-new(*) {
  animation: none !important;
}
/* the list: the band without WebGL. The level's rows in the path's list's smoke;
   the band module sets --x, --y, --w and --h from the path, the composer and the card, and --ly from the lift. The handle
   has no arc to ride; the order stands above the list at --ax, --ay. While a folder opens the other rows dim, as the
   band's other folders do, and the question flies into the lit row; behind every other screen but the sign-in it goes */
.flist {
  position: fixed;
  left: var(--x, 50%);
  top: var(--y, 200px);
  width: var(--w, 440px);
  max-height: var(--h, 420px);
  display: flex;
  flex-direction: column;
  padding: var(--s-8);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    opacity var(--t2) var(--e),
    visibility var(--t2) var(--e);
  --lift: var(--sh4);
}
.flist .fl {
  position: relative;
  min-height: 0;
  overflow-y: auto;
  transform: translateY(var(--ly, 0px));
}
.flist .crow {
  cursor: pointer;
  transition:
    background var(--t1) var(--e),
    color var(--t1) var(--e),
    opacity var(--t2) var(--e);
}
body.opening .flist .crow:not(.on) {
  opacity: 0.45;
}
.room:not(.s-dashboard):not(.s-signin) .flist {
  opacity: 0;
  visibility: hidden;
}
html.flat :is(.knob, .orbit) {
  display: none;
}
html.flat .arcctl {
  translate: var(--ax, 722px) var(--ay, 200px) !important;
}
html.flat canvas.gl {
  cursor: auto;
}
/* ================================================= the phone and the tablet
   One design at every size. A window that stands upright, a phone or a tablet held upright, frames the band round the selected
   folder (src/band/fit.ts, html.focus): the folder stands in the window's middle, and the card lies under the band, in the
   window (dock() in src/dashboard/controller.ts), between the band and the composer. Under 720 px the phone: the rail is a tab
   bar of glass at the foot, each object with its word under it, because a finger gets no tooltip; the search stands in the
   corner; the path names only the place where you are; what opens rises from the foot. A finger gets press looks where the
   mouse gets hover looks (the build's touchLooks, vite.config.ts), and the chrome keeps clear of the safe areas of the
   screen's edges */
.bandbox {
  position: fixed;
  left: var(--band-left);
  right: var(--band-right);
  top: var(--band-top);
  bottom: var(--band-foot);
  visibility: hidden;
  pointer-events: none;
} /* the probe of the band's room */
/* the framed stage fades at its own edges into the ground, where a short or a tall window shows them */
html.focus .stage {
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent,
      var(--black) var(--s-64),
      var(--black) calc(100% - var(--s-64)),
      transparent
    ),
    linear-gradient(
      transparent,
      var(--black) var(--s-64),
      var(--black) calc(100% - var(--s-64)),
      transparent
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      var(--black) var(--s-64),
      var(--black) calc(100% - var(--s-64)),
      transparent
    ),
    linear-gradient(
      transparent,
      var(--black) var(--s-64),
      var(--black) calc(100% - var(--s-64)),
      transparent
    );
  mask-composite: intersect;
}
.corner .srch {
  display: none;
}
.target b {
  font-weight: inherit;
}
/* the card under the band: the same glass box, at its own size; the head and «Öffnen» take the right column */
.cardwrap.docked {
  position: fixed;
  left: 50%;
  top: auto;
  bottom: var(--card-b);
  translate: round(-50%, 1px) 0;
  width: min(560px, calc(100vw - var(--s-24)));
  z-index: var(--z-mid);
}
.cardwrap.docked .fcard {
  transform: none;
  --fk: 1;
}
.cardwrap.docked .fc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--s-14);
  align-items: center;
}
.cardwrap.docked .fc > * {
  grid-column: 1/-1;
}
.cardwrap.docked .fc > :is(.fhd, .cs) {
  grid-column: 1;
}
.cardwrap.docked .fc > :is(.big, .go) {
  grid-column: 2;
}
.cardwrap.docked .big {
  margin: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s-2);
}
.cardwrap.docked .big b {
  font-size: var(--f-num-sm);
}
.cardwrap.docked .fhd > span {
  min-width: 0;
}
.cardwrap.docked .big span {
  max-width: 120px;
  text-align: right;
  line-height: var(--lh-tight);
}
.cardwrap.docked .mix {
  margin: var(--s-12) 0;
}
.cardwrap.docked .cs {
  margin-bottom: 0;
}
.cardwrap.docked .go {
  width: auto;
  padding: var(--s-10) var(--s-18);
}
.cardwrap.docked .shv {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
body.swiped .hint.touch {
  opacity: 0;
}
html.focus .hint {
  bottom: calc(var(--card-b) + var(--card-h, 0px) + var(--s-10));
} /* upright: under the band, over the card (--card-h, the card's height) */
/* upright, the open folder stands in the window's middle: behind a screen of a Bereich the room is dollied in lower, so the
   folder lies behind the glass of the content and not behind the title card's words */
html.focus .room.s-chat {
  transform: scale(1.22) translateY(20%);
}
html.focus .room.far {
  transform: scale(1.3) translateY(24%);
}
html.focus .startrow .mini {
  color: var(--dim);
} /* the start row's line lies over the room's folder there: --dim keeps 4.5:1 */
/* the tablet: the corner keeps the avatar, the path names its lit crumb only */
@media (max-width: 1040px) {
  /* the Freigabe's side stands under its pages */
  .apr {
    grid-template-columns: minmax(0, 1fr);
  }
  .apr .aprside {
    position: static;
  }
  .whoami,
  .brand .app {
    display: none;
  }
  .crumb:not(.on, .here) :is(b, .n) {
    display: none;
  }
  .crumb.on b {
    max-width: min(240px, 40vw);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .shell,
  .fan {
    overflow-x: clip;
  } /* what reaches past a narrow window's edge, the fan of Vorlagen among it: the screen never scrolls sideways */
  .ktabs {
    overflow-x: auto;
    padding: 0 var(--s-40);
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent var(--s-24),
      var(--black) var(--s-40),
      var(--black) calc(100% - var(--s-40)),
      transparent calc(100% - var(--s-24))
    );
    mask-image: linear-gradient(
      90deg,
      transparent var(--s-24),
      var(--black) var(--s-40),
      var(--black) calc(100% - var(--s-40)),
      transparent calc(100% - var(--s-24))
    );
  } /* the tabs scroll in one row and fade before the sheet's corners */
  .ktab {
    flex: none;
  }
}
/* the phone */
@media (max-width: 720px) {
  :root {
    --chrome-top: calc(var(--safe-t) + 118px);
    --dock-b: calc(var(--safe-b) + var(--s-10) + var(--tabbar) + var(--s-8));
    --chrome-foot: calc(var(--dock-b) + 132px);
    --band-top: calc(var(--safe-t) + 112px);
    --band-foot: calc(var(--dock-b) + 112px);
    --f-hero: 34px;
    --f-xs: 13px;
    --f-sm: 15px;
    --f-md: 16px;
    --f-lg: 17px;
  } /* the phone's type: read at a hand's length, the quietest line 13 px and a control's word 15 px */
  body:not(.locked) {
    --rail: 0px;
  }
  .brand {
    left: var(--s-16);
    top: calc(var(--safe-t) + var(--s-18));
  }
  .corner {
    right: var(--s-12);
    top: calc(var(--safe-t) + var(--s-12));
    gap: var(--s-6);
  }
  .corner .srch {
    display: inline-flex;
  }
  /* the tab bar: the rail at the foot, the objects in a row, each over its word; the lit one in clay, the bar of where you are on its
     top edge. Held sideways the rail stands at the left (html.short) */
  :where(html:not(.short)) .rail,
  :where(html:not(.short)) .locked .rail {
    top: auto;
    left: var(--s-12);
    right: var(--s-12);
    bottom: calc(var(--safe-b) + var(--s-10));
    height: var(--tabbar);
    transform: none;
    flex-direction: row;
    justify-content: space-between;
    gap: var(--s-2);
    padding: var(--s-6);
    border-radius: var(--r-pill);
  }
  :where(html:not(.short)) .rail .ro,
  :where(html:not(.short)) .locked .rail .ro {
    flex: 1 1 auto;
    width: auto;
    height: auto;
    min-width: var(--s-48);
    padding: var(--s-2) var(--s-6);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-1);
  }
  :where(html:not(.short)) .rail .ro::after {
    content: attr(data-nm);
    font-size: var(--f-tab);
    font-weight: 500;
    line-height: var(--lh-tight);
    color: var(--text-3);
    white-space: nowrap;
  }
  :where(html:not(.short)) .rail .ro.on::after {
    color: var(--sel-text);
  }
  :where(html:not(.short)) .rail .ro :is(.ob, .gf) {
    scale: 0.82;
    margin: calc(var(--s-4) * -1) 0 calc(var(--s-2) * -1);
  }
  :where(html:not(.short)) .rail .ro.on::before,
  :where(html:not(.short)) .locked .rail .ro.on::before {
    left: calc(50% - 11px);
    top: calc(var(--s-8) * -1);
    bottom: auto;
    width: 22px;
    height: 3px;
  }
  @media (hover: hover) {
  .rail .ro:hover,
  .locked .rail .ro:hover {
    transform: none;
  }
  }
  @media (hover: none) {
  .rail .ro:active,
  .locked .rail .ro:active {
    transform: none;
  }
  }
  .rail .ro.srch,
  .locked .rail .ro.srch,
  .rail .sep,
  .locked .rail .sep {
    display: none;
  }
  :where(html:not(.short)) .rail .bdg {
    right: calc(50% - 24px);
    top: var(--s-1);
  }
  .rail .bdg {
    font-size: var(--f-tab);
  } /* a count keeps its size in its 16 px badge */
  body.kb .rail {
    visibility: hidden;
  }
  /* the top row, the brand, the corner and the path with its scrim, slides away while a screen scrolls down and comes back as it
     scrolls up (body.hidetop, src/shell/phone.ts); the tab bar stays */
  .brand,
  .corner,
  .path {
    transition: translate var(--t3) var(--e);
  }
  .scrim {
    transition:
      opacity var(--t2) var(--e),
      translate var(--t3) var(--e);
  }
  body.hidetop :is(.brand, .corner, .path, .scrim):not(:has(:focus-visible)) {
    translate: 0 calc(var(--chrome-top) * -1);
  }
  /* the path under the brand, the lit crumb named */
  .path {
    top: calc(var(--safe-t) + 62px);
    max-width: calc(100vw - var(--s-24));
    padding: var(--s-4);
  }
  .path .sep {
    padding: 0 var(--s-1);
    font-size: var(--f-sm);
  }
  .crumb {
    padding: var(--s-8) var(--s-10);
    gap: var(--s-6);
  }
  .crumb.on b {
    max-width: 38vw;
  }
  /* the path names only the place where you are, across the window, till a press shows every level (.path.one, the Path of
     src/shell/chrome.tsx); the dots beside the name are the levels, the one where you are in the colour of where you are. A
     finger moves along it (src/dashboard/pathTouch.ts) */
  html:not(.short) .path.one {
    width: calc(100vw - var(--s-24) - var(--safe-l) - var(--safe-r));
  }
  html:not(.short) .path.one :is(.crumb:not(.here), .sep, .dd) {
    display: none;
  }
  .path.one .crumb.here {
    flex: 1;
    min-width: 0;
    color: var(--text);
  }
  .path.one .crumb.here b {
    flex: 1;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .path .lv {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    padding: 0 var(--s-4);
  }
  .path .lv i {
    width: var(--s-4);
    height: var(--s-4);
    border-radius: var(--r-xs);
    background: var(--text-3);
    transition:
      width var(--t2) var(--e),
      background var(--t2) var(--e);
  }
  .path .lv i.on {
    width: var(--s-14);
    background: var(--here);
  }
  html:not(.short) body.locked .path {
    touch-action: none;
  } /* the finger's way on the path is the path's own, the page does not pan */
  /* the dashboard has no card: a tap opens the folder, the path names it; held sideways it keeps the card beside the band */
  html:not(.short) .cardwrap.docked {
    display: none;
  }
  /* the composer stands on the tab bar; while the keyboard is up, on the keyboard */
  :where(html:not(.short)) .composer,
  :where(html:not(.short)) .composer.dash {
    left: var(--s-12);
    right: var(--s-12);
    width: auto;
    transform: none;
    bottom: var(--dock-b);
  }
  body.kb :is(.composer, .composer.dash) {
    bottom: calc(var(--s-8) + var(--kb));
  }
  .composer {
    padding: var(--s-12) var(--s-12) var(--s-10) var(--s-16);
  }
  .composer textarea {
    min-height: var(--s-24);
    field-sizing: content;
    max-height: 30dvh;
  } /* one line, growing with the question */
  /* the dashboard's composer in two rows, as the chat's on a wide window: the field across the composer, under it where the
     question goes, the eye and the send */
  html:not(.short) .composer.dash {
    flex-wrap: wrap;
    padding: var(--s-12) var(--s-6) var(--s-6);
    gap: var(--s-10) var(--s-6);
    border-radius: var(--r-xl);
  }
  html:not(.short) .composer.dash textarea {
    order: -1;
    flex: 1 1 100%;
    height: auto;
    padding: 0 var(--s-10);
    overflow-y: auto;
  }
  html:not(.short) .composer.dash .cbar {
    flex: 1;
    min-width: 0;
  }
  html:not(.short) .composer.dash .stackchip {
    margin-right: auto;
  }
  :where(html:not(.short)) .composer.dash .target {
    padding: var(--s-4);
    gap: 0;
  }
  :where(html:not(.short)) .composer.dash .target b {
    display: none;
  }
  .composer:is(.dash, .one) .stackchip {
    padding: var(--s-6) var(--s-10) var(--s-6) var(--s-8);
    gap: var(--s-8);
  }
  .composer.one {
    display: flex;
    align-items: flex-end;
    gap: var(--s-6);
    padding: var(--s-6) var(--s-6) var(--s-6) var(--s-16);
  } /* the chat's composer in one row, as the dashboard's */
  .composer.one textarea {
    flex: 1;
    min-width: 0;
    align-self: center;
  }
  .composer.one .cbar {
    margin-top: 0;
    flex-wrap: nowrap;
  }
  .composer .cbar {
    gap: var(--s-6);
  }
  .composer .of {
    color: var(--dim);
  } /* the composer lies over the answers as they scroll: the quiet count keeps 4.5:1 on the light glass under it */
  .hint {
    display: none;
  } /* the phone's dashboard names no gesture and no key: the band, the handle and the path say it */
  /* the order waits behind the handle; a tap on the handle shows it under the handle, over the folders (src/dashboard/arc.ts) */
  .sortby {
    visibility: hidden;
    transform-origin: 50% 0;
  }
  .arcctl.sorting .sortby {
    visibility: visible;
    animation: fade var(--t2) var(--e) backwards;
  }
  /* the screens: one column the width of the window */
  .shell {
    padding: var(--chrome-top) var(--s-14) var(--chrome-foot);
  }
  .talk {
    min-height: calc(100dvh - var(--chrome-top) - var(--chrome-foot));
  }
  .tcard {
    flex-wrap: wrap;
    gap: var(--s-16);
    margin-bottom: var(--s-20);
  }
  .tcard > div:first-child {
    flex: 1 1 100%;
    min-width: 0;
  }
  .tcard h1 small {
    display: block;
    margin: var(--s-8) 0 0;
    font-size: var(--f-lg);
  }
  .tcard .under {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: var(--s-2) var(--s-24) var(--s-2) 0;
    -webkit-mask-image: linear-gradient(
      90deg,
      var(--black) calc(100% - var(--s-32)),
      transparent
    );
    mask-image: linear-gradient(
      90deg,
      var(--black) calc(100% - var(--s-32)),
      transparent
    );
  } /* the tags scroll in one row; the last ones fade at the window's edge */
  .tcard .objs {
    flex: 1 1 100%;
    margin-left: 0;
    align-self: auto;
    justify-content: flex-start;
    gap: var(--s-10);
  }
  .msg.user {
    max-width: 86%;
  }
  .msg.bot {
    padding: var(--s-18) var(--s-16) var(--s-16);
    font-size: var(--f-md);
  }
  .citedoc b {
    max-width: 24ch;
  }
  .kcard {
    padding: var(--s-20) var(--s-14);
  }
  /* sources as a list: each one a row, its paper small beside its name, as a citation slip */
  .srcgrid,
  .srcgrid.fq1 {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-8);
  }
  .srccard {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: var(--s-12);
    align-items: center;
    padding: var(--s-8) var(--s-48) var(--s-8) var(--s-8);
    border-radius: var(--r-md);
  }
  @media (hover: hover) {
  .srccard:hover,
  .srccard.dead:hover {
    transform: none;
  }
  }
  @media (hover: none) {
  .srccard:active,
  .srccard.dead:active {
    transform: none;
  }
  }
  .srccard .srcpage {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 34px;
    height: 44px;
    margin: 0;
    padding: var(--s-6) var(--s-4);
    box-shadow: var(--sh1);
  }
  .srccard > :not(.srcpage) {
    grid-column: 2;
    min-width: 0;
  } /* the name, its line and what a card adds under them stand beside the paper */
  .srccard .srcpage i {
    height: 1.6px;
    margin-bottom: var(--s-2);
  }
  .srccard .srcpage i.h {
    height: 2.4px;
    margin-bottom: var(--s-4);
  }
  .srccard .srcpage .badge {
    right: var(--s-2);
    bottom: var(--s-2);
  }
  .srccard .srcnm {
    -webkit-line-clamp: 1;
    align-self: end;
  }
  .srccard > .row {
    margin-top: var(--s-2);
    align-self: start;
  }
  .srccard .srcopen {
    top: 50%;
    right: var(--s-8);
    translate: 0 -50%;
  }
  .tiles,
  .tiles:has(> :nth-child(6):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-10);
  }
  .line {
    flex-wrap: wrap;
  }
  .line .nm {
    flex: 1 1 55%;
  } /* the name and its line take most of the row; what does not fit beside them goes under them */
  .line .side {
    min-width: 0;
    text-align: left;
  }
  .line .nm {
    overflow-wrap: anywhere;
  } /* an address has no space to break at */
  .row.actions {
    flex-wrap: wrap;
  }
  .row.actions > .grow {
    flex: 1 1 100%;
  } /* a note beside a button takes its own line, the window's width */
  .toast {
    top: calc(var(--chrome-top) - var(--s-8));
    bottom: auto;
    left: var(--s-12);
    right: var(--s-12);
    translate: none;
    width: fit-content;
    margin: 0 auto;
    white-space: normal;
    text-align: center;
    border-radius: var(--r-lg);
  } /* the width of its words, up to the window's, in the middle */
  /* a finger's target is 44 px: the small controls keep their look and take the touch of an invisible rim around them */
  :where(
    .th,
    .pill.ic.sm,
    button.tag,
    a.tag,
    .fcard .cs .c,
    .rundock.phone > .pill
  ) {
    position: relative;
  }
  :is(.th, .pill.ic.sm, .rundock.phone > .pill)::after {
    content: "";
    position: absolute;
    inset: calc(var(--s-4) * -1);
  }
  :is(button.tag, a.tag, .crumb, .fcard .cs .c)::after {
    content: "";
    position: absolute;
    inset: calc(var(--s-6) * -1) calc(var(--s-2) * -1);
  }
  /* what opens rises from the foot: the avatar's list and a sheet, with the short shadow, so the page just above keeps 4.5:1;
     only a sheet dims the screen, with its mask, as it does at every size: the list stands beside the page. The path's list
     drops from the path, across the window, as a choice of the place does; held sideways, under its crumb */
  .crumbs.mlist {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    max-width: none;
    z-index: var(--z-corner);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: var(--s-16) var(--s-12) calc(var(--s-16) + var(--safe-b));
    transform-origin: 50% 100%;
    --lift: var(--sh2);
  }
  :where(html:not(.short)) .crumbs:not(.mlist) {
    left: calc(var(--s-12) + var(--safe-l));
    right: calc(var(--s-12) + var(--safe-r));
    width: auto;
    max-width: none;
    border-radius: var(--r-xl);
    padding: var(--s-12);
  }
  .crumbs .ctabs {
    overflow-x: auto;
    scrollbar-width: none;
    padding-right: var(--s-24);
    -webkit-mask-image: linear-gradient(
      90deg,
      var(--black) calc(100% - var(--s-32)),
      transparent
    );
    mask-image: linear-gradient(
      90deg,
      var(--black) calc(100% - var(--s-32)),
      transparent
    );
  } /* the shelves scroll in one row and fade at the list's edge, as the title card's tags */
  .crumbs .ctab {
    flex: none;
  }
  .crumbs .cl {
    max-height: 52dvh;
  }
  .ovhd {
    flex-wrap: wrap;
    row-gap: var(--s-10);
    margin-bottom: var(--s-18);
  }
  .ovhd > h2 {
    flex: 1 1 calc(100% - 96px);
  }
  .ovhd > :not(svg, h2, :last-child) {
    order: 1;
  } /* the head's own row keeps its icon, its name and the close; what it names goes under it */
  .mask {
    place-items: end stretch;
    padding: var(--s-24) 0 0;
  }
  .sheet,
  .sheet.narrow,
  .sheet.wide {
    width: auto;
    max-height: calc(100dvh - var(--safe-t) - var(--s-24));
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: var(--s-20) var(--s-16) calc(var(--s-20) + var(--safe-b));
  }
  .shell.signin .sheet {
    border-radius: var(--r-xl);
  } /* the sign-in is the page, in its middle, not a sheet from the foot */
  .sheetpop,
  .dpop,
  .dpop.slim,
  .layoutpane {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: var(--kb);
    width: auto;
    translate: none;
    max-height: 72dvh;
    z-index: var(--z-mask);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: var(--s-18) var(--s-16) calc(var(--s-18) + var(--safe-b));
    transform-origin: 50% 100%;
    --lift: var(--sh2);
  }
  /* the Dokumente and the builder: the fan smaller, its chosen sheet in the middle; the start and the Vorlage's two buttons
     in one row, the line under them; the pages in the window's width; the dock on the tab bar, the step, «Mehr» and what
     moves the step on in one row, which a finger scrolls */
  .shell.run {
    padding-left: var(--s-8);
    padding-right: var(--s-8);
  }
  .fan {
    zoom: 0.72;
  }
  .fsheet,
  .fanlight {
    --fx: 0px;
  } /* the chosen sheet in the middle, the others fanned to its right */
  .startrow {
    flex-wrap: wrap;
    gap: var(--s-10);
  }
  .startrow .mini {
    order: 1;
    flex: 1 1 100%;
    text-align: center;
  }
  .startrow .sep {
    display: none;
  }
  .tray {
    padding: var(--s-20) var(--s-16) var(--s-16);
  }
  .tray .sheets {
    overflow-x: auto;
    gap: var(--s-16);
    margin: 0 calc(var(--s-16) * -1);
    padding: var(--s-14) var(--s-16) var(--s-6);
  }
  .tsheet {
    width: 118px;
  }
  .docwrap {
    perspective: none;
  } /* a perspective would hold the popovers, which stand fixed at the foot */
  :where(html:not(.short)) .rundock {
    left: var(--s-12);
    right: var(--s-12);
    translate: none;
    bottom: var(--dock-b);
    max-width: none;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .rundock.phone {
    overflow: visible;
    gap: var(--s-4);
    padding: var(--s-6) var(--s-6) var(--s-6) var(--s-10);
  } /* the step, «Mehr» and what moves the step on, in the window at 360 px too */
  .rundock.phone .stepnow {
    font-size: var(--f-xs);
    margin: 0 var(--s-2) 0 var(--s-4);
  }
  .rundock.phone > .pill.sm:not(.ic) {
    padding: var(--s-8) var(--s-10);
    gap: var(--s-6);
  }
  /* «Mehr» of the builder: the checks of a release, each with what it says (#90) */
  .dpop.more .rlist {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-10);
    padding: var(--s-4) var(--s-4) var(--s-16);
    margin-bottom: var(--s-12);
    border-bottom: 1px solid var(--line);
  }
  .dpop.more .rlist .row {
    gap: var(--s-10);
    align-items: flex-start;
    color: var(--dim);
  }
  .dpop.more .rlist .dot {
    margin-top: calc((var(--f-sm) * var(--lh-ui) - var(--s-8)) / 2);
  } /* the dot on the middle of the rule's first line */
  .dpop.more > .row {
    flex-wrap: wrap;
  }
  .dpop.more > .row + .row {
    margin-top: var(--s-8);
  }
  .dpop.more .pill {
    position: relative;
  }
  body.kb .rundock {
    bottom: calc(var(--s-8) + var(--kb));
  }
}
/* a phone held sideways (html.short, src/band/fit.ts): one row at the top, the brand's mark, the path and the corner; the rail
   stands at the left on every screen, the dashboard's too; the card lies beside the band, the composer at the foot */
html.short {
  --chrome-top: calc(var(--safe-t) + 66px);
  --chrome-foot: 126px;
  --band-top: calc(var(--safe-t) + 60px);
  --band-foot: 80px;
  --band-left: calc(var(--safe-l) + 352px);
  --band-right: calc(var(--s-12) + var(--safe-r));
  --f-hero: 30px;
}
html.short body,
html.short body:not(.locked) {
  --rail: calc(76px + var(--safe-l));
}
html.short .brand {
  left: calc(var(--s-20) + var(--safe-l));
  top: var(--s-14);
}
html.short .brand :is(.word, .app),
html.short .whoami,
html.short .hint,
html.short .rail .ro.srch,
html.short .rail .sep {
  display: none;
}
html.short .corner {
  top: var(--s-10);
  right: calc(var(--s-12) + var(--safe-r));
  gap: var(--s-6);
}
html.short .corner .srch {
  display: inline-flex;
}
html.short .rail,
html.short .locked .rail {
  left: calc(var(--s-12) + var(--safe-l));
  top: 50%;
  transform: translateY(round(-50%, 1px));
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-6);
  border-radius: var(--r-xl);
}
html.short .rail .ro,
html.short .locked .rail .ro {
  width: 44px;
  height: 42px;
  border-radius: var(--r-md);
}
html.short .locked .rail .ro.on::before {
  left: -11px;
  top: calc(50% - 11px);
  bottom: auto;
  width: 4px;
  height: 22px;
}
html.short .path {
  top: var(--s-10);
  left: calc(var(--rail) + var(--s-12));
  transform: none;
  max-width: calc(
    100vw - var(--rail) - var(--s-32) - var(--corner-w) - var(--safe-r)
  );
} /* the path stands over the card, where the composer begins, and ends before the corner: the search, the mails, the avatar; a long name ends in «…» */
html.short .path .crumb.on {
  min-width: 0;
}
html.short :is(.composer, .composer.dash) {
  bottom: var(--s-10);
  width: min(860px, calc(100vw - var(--rail) - var(--s-24) - var(--safe-r)));
}
html.short .composer.dash {
  padding: var(--s-6);
  gap: var(--s-6);
}
html.short .composer.dash .target {
  padding: var(--s-4) var(--s-14) var(--s-4) var(--s-4);
}
html.short body.kb :is(.composer, .composer.dash) {
  bottom: calc(var(--s-8) + var(--kb));
}
html.short .composer textarea {
  min-height: var(--s-24);
  field-sizing: content;
  max-height: 30dvh;
}
html.short .cardwrap.docked {
  left: calc(var(--rail) + var(--s-12));
  top: var(--band-top);
  bottom: auto;
  translate: none;
  width: 252px;
}
html.short .cardwrap.docked .fc {
  display: block;
}
html.short .cardwrap.docked :is(.big, .mix) {
  display: none;
}
html.short .cardwrap.docked .fhd {
  margin-bottom: var(--s-12);
}
html.short .cardwrap.docked .go {
  width: 100%;
  margin-top: var(--s-10);
}
html.tight .cardwrap.docked :is(.run, .cs) {
  display: none;
} /* a short window: the card names the folder and opens it; the folder's label carries the open questions, the open folder its objects */
html.short .shell {
  padding: var(--chrome-top) var(--s-20) var(--chrome-foot);
}
/* the chat's doors stand on a tile of dimmed glass, as a door on the upright phone does, so the line under
   each name keeps 4.5:1 over the room's bright wall behind the band; in Firefox and Safari the tile carries its dimming as
   the shade (document.css) */
html.short .sheetdoor {
  padding: var(--s-8) var(--s-12);
  border-radius: var(--r-lg);
  background: var(--white-05);
  border: 1px solid var(--line);
  backdrop-filter: var(--blur-smoke) brightness(0.5);
  -webkit-backdrop-filter: var(--blur-smoke) brightness(0.5);
}
html.short .sheetdoor em {
  color: var(--dim);
}
html.shade.short .sheetdoor {
  background-image: linear-gradient(var(--shade-tag), var(--shade-tag));
  background-blend-mode: screen;
  backdrop-filter: var(--blur-smoke);
  -webkit-backdrop-filter: var(--blur-smoke);
}
html.short .crumbs .cl {
  max-height: calc(100dvh - 150px);
}
html.short .toast {
  top: calc(var(--chrome-top) - var(--s-8));
  bottom: auto;
}
html.short .mask {
  padding: var(--s-12);
}
html.short .sheet {
  max-height: calc(100dvh - var(--s-24));
}
html.short .rundock {
  bottom: var(--s-10);
}
html.short body.kb .rundock {
  bottom: calc(var(--s-8) + var(--kb));
}
html.short .shell.run {
  padding-left: var(--s-20);
  padding-right: var(--s-20);
}
html.short :is(.sheetpop, .dpop, .dpop.slim, .layoutpane) {
  position: fixed;
  left: 50%;
  right: auto;
  top: auto;
  bottom: var(--kb);
  width: min(640px, 100vw);
  translate: round(-50%, 1px) 0;
  max-height: 86dvh;
  z-index: var(--z-mask);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: var(--s-18) var(--s-20) calc(var(--s-18) + var(--safe-b));
  transform-origin: 50% 100%;
  --lift: var(--sh2);
}
html.short .docwrap {
  perspective: none;
}
/* a finger: the band takes the drag itself, and the small round buttons grow to 36 px, a tag that acts and a crumb to 32 */
@media (pointer: coarse) {
  canvas.gl {
    touch-action: none;
  }
  .zone .tools,
  .srcopen,
  .addsec {
    opacity: 1;
    transform: none;
  } /* nothing hovers: a source card's arrow, a section's handles and «+ Abschnitt» show */
  .fan {
    touch-action: pan-y;
  } /* a swipe sideways picks the next Vorlage */
  .knob {
    left: -21px;
    top: -21px;
    width: 42px;
    height: 42px;
  }
  .th,
  .pill.ic.sm {
    width: 36px;
    height: 36px;
  }
  button.tag,
  .crumb {
    min-height: var(--s-32);
  }
}
/* a finger and no mouse: a tap selects a section (.sel, the hover look held), and only the selected section shows its
   handles and «+ Abschnitt» above and below it. The keys still reach them */
@media (hover: none) {
  .zone .tools,
  .addsec {
    display: none;
  }
  .zone:is(.sel, .open, .on, :has(:focus-visible)) .tools {
    display: inline-flex;
  }
  .addsec:is(.show, :has(+ .zone.sel), :focus-within),
  .zone.sel + .addsec {
    display: flex;
  }
  .zone.sel {
    background: var(--paper-warm);
  }
}
