/* wallPen.core - shared look of all services
   Colors exist only as variables. Each mode is one set of values.
   Rule: filled yellow-green = primary action, yellow-green underline = selected. */

@font-face{font-family:"Barlow";font-weight:400;font-display:swap;src:url(fonts/barlow-latin-400-normal.woff2) format("woff2");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:"Barlow";font-weight:500;font-display:swap;src:url(fonts/barlow-latin-500-normal.woff2) format("woff2");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:"Barlow";font-weight:600;font-display:swap;src:url(fonts/barlow-latin-600-normal.woff2) format("woff2");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:"Barlow";font-weight:700;font-display:swap;src:url(fonts/barlow-latin-700-normal.woff2) format("woff2");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:"Barlow Condensed";font-weight:500;font-display:swap;src:url(fonts/barlow-condensed-latin-500-normal.woff2) format("woff2");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:"Barlow Condensed";font-weight:600;font-display:swap;src:url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2");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}
/* More typefaces (Andreas 27.11.2026: „mehr Möglichkeiten für Schriftarten, insbesondere bei den Überschriften“, dann
   „feinere, serifenlose, klare Schriftarten … oft zu verschnörkelt und verspielt“): only clear sans-serifs, self-hosted
   from Fontsource (OFL, licences next to the files), latin and latin-ext. Variable fonts where there is one, so fine
   weights (300/400) exist; a browser loads a file only when a chosen face needs it. */
@font-face{font-family:"Inter";font-weight:100 900;font-display:swap;src:url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-weight:100 900;font-display:swap;src:url(fonts/inter-latin-wght-normal.woff2) format("woff2");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:"Source Sans 3";font-weight:200 900;font-display:swap;src:url(fonts/source-sans-3-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Sans 3";font-weight:200 900;font-display:swap;src:url(fonts/source-sans-3-latin-wght-normal.woff2) format("woff2");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:"Open Sans";font-weight:300 800;font-display:swap;src:url(fonts/open-sans-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Open Sans";font-weight:300 800;font-display:swap;src:url(fonts/open-sans-latin-wght-normal.woff2) format("woff2");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:"IBM Plex Sans";font-weight:100 700;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-weight:100 700;font-display:swap;src:url(fonts/ibm-plex-sans-latin-wght-normal.woff2) format("woff2");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:"Public Sans";font-weight:100 900;font-display:swap;src:url(fonts/public-sans-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Public Sans";font-weight:100 900;font-display:swap;src:url(fonts/public-sans-latin-wght-normal.woff2) format("woff2");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:"DM Sans";font-weight:100 1000;font-display:swap;src:url(fonts/dm-sans-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"DM Sans";font-weight:100 1000;font-display:swap;src:url(fonts/dm-sans-latin-wght-normal.woff2) format("woff2");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:"Manrope";font-weight:200 800;font-display:swap;src:url(fonts/manrope-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Manrope";font-weight:200 800;font-display:swap;src:url(fonts/manrope-latin-wght-normal.woff2) format("woff2");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:"Figtree";font-weight:300 900;font-display:swap;src:url(fonts/figtree-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-weight:300 900;font-display:swap;src:url(fonts/figtree-latin-wght-normal.woff2) format("woff2");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:"Hanken Grotesk";font-weight:100 900;font-display:swap;src:url(fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Hanken Grotesk";font-weight:100 900;font-display:swap;src:url(fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2");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:"Outfit";font-weight:100 900;font-display:swap;src:url(fonts/outfit-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Outfit";font-weight:100 900;font-display:swap;src:url(fonts/outfit-latin-wght-normal.woff2) format("woff2");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:"Montserrat";font-weight:100 900;font-display:swap;src:url(fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Montserrat";font-weight:100 900;font-display:swap;src:url(fonts/montserrat-latin-wght-normal.woff2) format("woff2");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:"Atkinson Hyperlegible Next";font-weight:200 800;font-display:swap;src:url(fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Atkinson Hyperlegible Next";font-weight:200 800;font-display:swap;src:url(fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2) format("woff2");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:"Barlow Semi Condensed";font-weight:400;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Semi Condensed";font-weight:400;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-400-normal.woff2) format("woff2");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:"Barlow Semi Condensed";font-weight:500;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Semi Condensed";font-weight:500;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-500-normal.woff2) format("woff2");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:"Barlow Semi Condensed";font-weight:600;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Semi Condensed";font-weight:600;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2");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:"Barlow Semi Condensed";font-weight:700;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Semi Condensed";font-weight:700;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-700-normal.woff2) format("woff2");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:"Barlow";font-weight:200;font-display:swap;src:url(fonts/barlow-latin-ext-200-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow";font-weight:200;font-display:swap;src:url(fonts/barlow-latin-200-normal.woff2) format("woff2");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:"Barlow Condensed";font-weight:200;font-display:swap;src:url(fonts/barlow-condensed-latin-ext-200-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Condensed";font-weight:200;font-display:swap;src:url(fonts/barlow-condensed-latin-200-normal.woff2) format("woff2");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:"Barlow Condensed";font-weight:300;font-display:swap;src:url(fonts/barlow-condensed-latin-ext-300-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Condensed";font-weight:300;font-display:swap;src:url(fonts/barlow-condensed-latin-300-normal.woff2) format("woff2");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:"Barlow Semi Condensed";font-weight:200;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-ext-200-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Semi Condensed";font-weight:200;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-200-normal.woff2) format("woff2");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:"Barlow Semi Condensed";font-weight:300;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-ext-300-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Semi Condensed";font-weight:300;font-display:swap;src:url(fonts/barlow-semi-condensed-latin-300-normal.woff2) format("woff2");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:"Barlow";font-weight:300;font-display:swap;src:url(fonts/barlow-latin-ext-300-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow";font-weight:300;font-display:swap;src:url(fonts/barlow-latin-300-normal.woff2) format("woff2");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:"Barlow";font-weight:400;font-display:swap;src:url(fonts/barlow-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow";font-weight:500;font-display:swap;src:url(fonts/barlow-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow";font-weight:600;font-display:swap;src:url(fonts/barlow-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow";font-weight:700;font-display:swap;src:url(fonts/barlow-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Condensed";font-weight:400;font-display:swap;src:url(fonts/barlow-condensed-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Condensed";font-weight:400;font-display:swap;src:url(fonts/barlow-condensed-latin-400-normal.woff2) format("woff2");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:"Barlow Condensed";font-weight:500;font-display:swap;src:url(fonts/barlow-condensed-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Condensed";font-weight:600;font-display:swap;src:url(fonts/barlow-condensed-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Condensed";font-weight:700;font-display:swap;src:url(fonts/barlow-condensed-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Barlow Condensed";font-weight:800;font-display:swap;src:url(fonts/barlow-condensed-latin-ext-800-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root,[data-theme="dark"]{
  --ic-date:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EABB4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");--ic-time:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239EABB4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --chart-1:#3987e5;
  --bg:#1B2227;--card:#262F36;--field:#323E48;--paper:#2B353D;--line:#36424C;--line-strong:#56656F;
  --text:#E8EBED;--muted:#9EABB4;--accent:#CEDC00;--on-accent:#1B2227;--accent-ink:#CEDC00;--warn:#F2B35C;--danger:#FF8A80;--danger-fill:#C62828;--on-danger:#FFFFFF;--ok:#7FD39A;--online:#22C55E;
  --nav-bg:#1F272D;--nav-card:#2B353D;--nav-line:#323E48;--nav-text:#E8EBED;--nav-muted:#9EABB4;--nav-warn:#F2B35C;
  --cal-1:#5B9BF5;--cal-2:#4CC38A;--cal-3:#F5A04B;--cal-4:#B28CF2;--cal-5:#F2706B;--cal-6:#3EC6C0;--cal-7:#F27BBE;--cal-8:#E8C547;--cal-9:#C49A6C;--cal-10:#8C93F5;--cal-11:#A8D34C;--cal-12:#9AA3B2;
  color-scheme:dark;
}
[data-theme="medium"]{
  --ic-date:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7C1C8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");--ic-time:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7C1C8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --chart-1:#3987e5;
  --bg:#2B353D;--card:#323E48;--field:#3B4954;--paper:#36434D;--line:#46545F;--line-strong:#62717C;
  --text:#F2F4F5;--muted:#B7C1C8;--accent:#CEDC00;--on-accent:#1B2227;--accent-ink:#CEDC00;--warn:#F5BE6E;--danger:#FFA59E;--danger-fill:#C62828;--on-danger:#FFFFFF;--ok:#8ADDA3;--online:#22C55E;
  --nav-bg:#262F36;--nav-card:#323E48;--nav-line:#46545F;--nav-text:#F2F4F5;--nav-muted:#B7C1C8;--nav-warn:#F5BE6E;
  --cal-1:#5B9BF5;--cal-2:#4CC38A;--cal-3:#F5A04B;--cal-4:#B28CF2;--cal-5:#F2706B;--cal-6:#3EC6C0;--cal-7:#F27BBE;--cal-8:#E8C547;--cal-9:#C49A6C;--cal-10:#8C93F5;--cal-11:#A8D34C;--cal-12:#9AA3B2;
  color-scheme:dark;
}
[data-theme="light"]{
  --ic-date:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6873' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");--ic-time:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6873' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --chart-1:#2a78d6;
  --bg:#F4F5F2;--card:#FFFFFF;--field:#ECEEE9;--paper:#FAFAF8;--line:#E1E3DE;--line-strong:#323E48;
  --text:#323E48;--muted:#5E6873;--accent:#CEDC00;--on-accent:#323E48;--accent-ink:#5C6600;--warn:#B45309;--danger:#B42318;--danger-fill:#B42318;--on-danger:#FFFFFF;--ok:#1B7A3E;--online:#16A34A;
  --nav-bg:#323E48;--nav-card:#3B4852;--nav-line:#4A5661;--nav-text:#F2F4F5;--nav-muted:#C2C8CE;--nav-warn:#F2B35C;
  --cal-1:#1F63C7;--cal-2:#1B8A55;--cal-3:#C05F0B;--cal-4:#7445C7;--cal-5:#C43B35;--cal-6:#0F8A85;--cal-7:#B83E86;--cal-8:#9A7A00;--cal-9:#8A5A2B;--cal-10:#4A50C7;--cal-11:#5F8A10;--cal-12:#5E6873;
  color-scheme:light;
}
@media (prefers-color-scheme:light){
  [data-theme="auto"]{
    --ic-date:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6873' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");--ic-time:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6873' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
    --chart-1:#2a78d6;
    --bg:#F4F5F2;--card:#FFFFFF;--field:#ECEEE9;--paper:#FAFAF8;--line:#E1E3DE;--line-strong:#323E48;
    --text:#323E48;--muted:#5E6873;--accent:#CEDC00;--on-accent:#323E48;--accent-ink:#5C6600;--warn:#B45309;--danger:#B42318;--danger-fill:#B42318;--on-danger:#FFFFFF;--ok:#1B7A3E;--online:#16A34A;
    --nav-bg:#323E48;--nav-card:#3B4852;--nav-line:#4A5661;--nav-text:#F2F4F5;--nav-muted:#C2C8CE;--nav-warn:#F2B35C;
    --cal-1:#1F63C7;--cal-2:#1B8A55;--cal-3:#C05F0B;--cal-4:#7445C7;--cal-5:#C43B35;--cal-6:#0F8A85;--cal-7:#B83E86;--cal-8:#9A7A00;--cal-9:#8A5A2B;--cal-10:#4A50C7;--cal-11:#5F8A10;--cal-12:#5E6873;
    color-scheme:light;
  }
}

/* wallBoard backgrounds, the gradients of wallBoard in Odoo (wallpen_projekt, wp_hintergrund); the same in every mode */
:root{
  --board-bg-pear:linear-gradient(135deg,#6F7A00 0%,#2A3000 55%,#14171A 100%);
  --board-bg-nacht:linear-gradient(135deg,#0F2027 0%,#203A43 50%,#2C5364 100%);
  --board-bg-ozean:linear-gradient(135deg,#0061A8 0%,#00325A 100%);
  --board-bg-wald:linear-gradient(135deg,#1E5631 0%,#0B2E17 100%);
  --board-bg-abend:linear-gradient(135deg,#C0392B 0%,#6C2A6A 100%);
  --board-bg-lila:linear-gradient(135deg,#5B2A86 0%,#2B1055 100%);
  --board-bg-beere:linear-gradient(135deg,#A1155A 0%,#4A0A2F 100%);
  --board-bg-stahl:linear-gradient(135deg,#4B5563 0%,#1F2937 100%);
  --board-on-bg:#FFFFFF;
}

*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;background:var(--bg);color:var(--text);font-family:"Barlow",system-ui,sans-serif;font-size:14px;line-height:1.42}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.muted{color:var(--muted)}
.ink{color:var(--accent-ink)}
.condensed{font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-weight:600}

/* Layout: the rail with text (bedienkonzept.md: recognition rather than recall, fixed places), a quiet top bar, content
   without heavy surfaces. Folded (html[data-nav=mini], button at the bottom; by default below 1200px) only the icons. */
:root{--bar-w:76px;--panel-w:228px;--rail-w:var(--bar-w)}
html[data-nav="mini"]{--rail-w:var(--bar-w)}
.shell{display:flex;min-height:var(--vh)}
.rail{flex:0 0 var(--rail-w);width:var(--rail-w);position:sticky;top:0;z-index:40;height:100vh;height:var(--vh);display:flex;flex-direction:row;align-items:stretch;padding:0;background:var(--nav-bg);border-right:1px solid var(--nav-line)}
.rail .logo{position:relative;height:44px;display:flex;align-items:center;gap:8px;padding:0 6px 0 2px;margin-bottom:8px;border-radius:9px;color:var(--nav-text);text-decoration:none}
.rail .logo svg{flex:none;width:34px;height:34px}
.rail .logo .lbl{font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-size:19px;font-weight:600;letter-spacing:.01em;white-space:nowrap}
.rail .logo .mark-rail{fill:var(--nav-text)}
.rail .logo .mark-core{fill:var(--accent)}
.nda-signer-fields{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.nda-signer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.nda-hand{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center}
.nda-hand figure{margin:0;display:flex;flex-direction:column;gap:4px}
.nda-hand img{height:56px;max-width:220px;object-fit:contain;padding:6px 10px;border-radius:8px;background:#fff;border:1px solid var(--line)}
.nda-hand figcaption{font-size:12px;color:var(--muted)}
.doc-logo-preview{max-width:180px;max-height:48px;padding:4px;border-radius:6px;background:#fff;border:1px solid var(--line)}
.brand-preview{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:4px 0 12px}
.brand-color input[type=color]{width:40px;height:32px;padding:2px;border:1px solid var(--line);border-radius:6px;background:var(--field)}
.rail .logo .brand-mark{flex:none;width:36px;height:36px;object-fit:contain;border-radius:8px;background:#fff;padding:2px}
/* Wide company logo (Settings → Firma): in the unfolded rail instead of the icon, the icon again when folded */
.rail .logo .brand-wide{flex:none;height:36px;width:auto;max-width:100px;object-fit:contain;border-radius:8px;background:#fff;padding:3px 6px}
.rail .logo .brand-wide~.lbl{font-size:13px}
.rail .logo.plain .brand-mark,.rail .logo.plain .brand-wide{background:none;padding:0;border-radius:0}
.rail .logo .brand-mark:has(+ .brand-wide){display:none}
html[data-nav="mini"] .rail .logo .brand-mark{display:block}
html[data-nav="mini"] .rail .logo .brand-wide{display:none}
/* Logo for a dark background (Settings → Firma, Andreas 25.11.2026): replaces icon and wide logo in the unfolded rail,
   never on a plate. */
.rail .logo .brand-dark{flex:none;height:36px;width:auto;max-width:120px;object-fit:contain}
.rail .logo .brand-dark~.lbl{font-size:13px}
.rail .logo .brand-mark:has(~ .brand-dark),.rail .logo .brand-wide:has(~ .brand-dark){display:none}
html[data-nav="mini"] .rail .logo .brand-dark{display:none}
.logo-uploads{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:4px 0 8px}
.logo-slot{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.logo-slot .lbl{font-size:13px;font-weight:600;color:var(--muted)}
/* checkerboard as in image programs: transparency is visible at once (Andreas 25.11.2026) */
.logo-preview{display:flex;align-items:center;justify-content:center;border:1px dashed var(--line);border-radius:10px;background:repeating-conic-gradient(#d5d9dd 0 25%,#fff 0 50%) 0 0/16px 16px;padding:8px}
.logo-preview.square{width:96px;height:96px}
.logo-preview.wide{width:100%;max-width:320px;height:96px}
.logo-preview.on-dark{background:repeating-conic-gradient(#2B353D 0 25%,#1F272D 0 50%) 0 0/16px 16px}
.logo-preview img{max-width:100%;max-height:100%;object-fit:contain}
.logo-preview .muted{color:#6b7280;font-size:12.5px}
.company-logo{display:block;height:30px;max-width:170px;object-fit:contain;margin-bottom:6px;padding:3px 6px;border-radius:6px;background:#fff}
.company-logo.icon{width:30px;padding:2px}
.company-logo.plain{background:none;padding:0;border-radius:0}
.company-open button{display:block;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:left;cursor:pointer}
.company-open button:hover strong,.company-open button:focus-visible strong{text-decoration:underline;color:var(--accent-ink)}
.rail .logo:hover{background:var(--nav-card)}
.rail .logo[aria-current="page"]{background:var(--nav-card);box-shadow:inset 3px 0 0 var(--accent)}
.rail a.item{position:relative;min-height:36px;display:flex;align-items:center;gap:11px;padding:0 10px;border-radius:9px;color:var(--nav-muted);text-decoration:none;font-size:14px;font-weight:600;line-height:1.15}
.rail a.item svg{flex:none;width:20px;height:20px}
.rail .lbl{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rail a.item:hover{background:var(--nav-card);color:var(--nav-text)}
/* Selected = yellow-green line, not a filled block (filled is reserved for the main action) */
.rail a.item[aria-current="page"]{background:var(--nav-card);color:var(--nav-text);box-shadow:inset 3px 0 0 var(--accent)}
.rail a.item[aria-disabled="true"]{opacity:.4;pointer-events:none}
/* the members of the entry on screen, below it (instead of tabs above the page) */
.rail .subs{display:flex;flex-direction:column;gap:1px;margin:1px 0 6px}
.rail a.sub{display:block;padding:6px 10px 6px 41px;border-radius:8px;color:var(--nav-muted);text-decoration:none;font-size:13.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rail a.sub:hover{background:var(--nav-card);color:var(--nav-text)}
/* the suite above the open member: only the way there, no mark (one place is "here", Andreas 25.11.2026) */
.rail a.item[aria-current="true"]{color:var(--nav-text)}
.rail a.sub[aria-current="page"]{color:var(--nav-text);font-weight:700;box-shadow:inset 3px 0 0 var(--accent)}
.rail .rail-head{margin:14px 10px 4px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--nav-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Felder (02.12.2026): the heading of a field folds it; its apps in a box of their own */
.rail .rail-field{display:flex;flex-direction:column;align-items:stretch;gap:1px}
.rail .rail-field[hidden]{display:none}
/* a rail taller than the window scrolls; nothing in it is squeezed (Andreas 02.12.2026: headings cut in half) */
.rail > :not(.spacer):not(.rail-scroll),.rail .rail-field > *,.rail .rail-pins > *,.rail .rail-bottom > *{flex-shrink:0}
/* Angeheftet on top, the fields in their own scrolling box, from „Idee einbringen“ down fixed (Andreas 02.12.2026, 10:04);
   only a very low window scrolls the whole rail */
.rail .rail-pins,.rail .rail-bottom{display:flex;flex-direction:column;align-items:stretch;gap:1px}
.rail .rail-pins > .rail-head:first-child{margin-top:4px}
.rail .rail-hint{margin:2px 10px 4px;font-size:12px;line-height:1.3;color:var(--nav-muted)}
.rail .rail-scroll{flex:1 1 0;min-height:140px;display:flex;flex-direction:column;align-items:stretch;gap:1px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;overscroll-behavior:contain;margin:6px -8px 0;padding:0 8px 8px;border-top:1px solid var(--nav-line)}
.rail .rail-scroll > *{flex-shrink:0}
.rail .rail-bottom{margin:0 -8px;padding:6px 8px 0;border-top:1px solid var(--nav-line)}
/* the open field stands out (Andreas 02.12.2026, 10:32: „an dem geöffneten Menü links in der Hervorhebungsfarbe eine dezente
   Linie … den Menüüberbegriff etwas hervorheben“): its heading brighter and underlined in the accent, a thin accent line
   down its left edge */
/* the folded rail (icons only): a heading is a short bar to tap, its name on hover (title); one field open at a time */
.rail .badge,.mbar .badge{margin-left:auto;min-width:20px;height:18px;padding:0 6px;border-radius:9px;background:color-mix(in srgb,var(--nav-text) 15%,transparent);color:var(--nav-text);border:0;font-size:11px;font-weight:600;letter-spacing:.01em;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}
.rail .badge.hot,.mbar .badge.hot{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
/* every count in one column (Andreas 02.12.2026, 12:38: „dass nicht gefühlt jede Zahl auf einer anderen Position hängt“):
   the room of the arrow is kept on every entry, with or without parts */
.rail .rail-field a.item,.rail .rail-pins a.item{padding-right:38px}
.rail .badge.late,.mbar .badge.late{background:var(--danger-fill);color:var(--on-danger);border-color:var(--danger-fill)}
.rail .badge[hidden],.mbar .badge[hidden]{display:none}
.btn:disabled{opacity:.4;cursor:not-allowed}
.rail .rail-sep{height:1px;margin:8px 10px;background:var(--nav-line)}
/* The rail as a tree like the settings (0.530.0): every suite folds open, the pages of an app below its entry */
/* parts of an app (03.12.2026): a small pale triangle right after the word (core.js sets --twx), ▸ closed, ▾ open; the big
   chevron in the right column belongs to the fields alone. Without --twx (before it is measured) it sits at the right. */
/* no box on hover (it lay over the word, 03.12.2026): the triangle only lights up */
.rail .subs[hidden],.rail .rail-pages[hidden]{display:none}
.rail .rail-pages{display:flex;flex-direction:column;gap:1px;margin:0 0 4px}
.rail a.rpage{display:flex;align-items:center;gap:6px;padding:5px 10px 5px 55px;border-radius:8px;color:var(--nav-muted);text-decoration:none;font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden}
.rail a.rpage > span{overflow:hidden;text-overflow:ellipsis}
.rail .subs.top > a.rpage,.rail .rail-pages.top a.rpage{padding-left:41px}
.rail a.rpage:hover{background:var(--nav-card);color:var(--nav-text)}
.rail a.rpage[aria-current="page"]{color:var(--nav-text);font-weight:700;box-shadow:inset 3px 0 0 var(--accent)}
.rail a.rpage i{margin-left:auto;font-style:normal;font-size:11px;font-weight:700;color:var(--nav-muted);font-variant-numeric:tabular-nums}
/* Every member of a suite and every page of an app with its own symbol (Andreas 28.11.2026: „dass da in jedem Fall immer
   eine Unterscheidung ist“): the member's app symbol, the page's from core_kit.rail_icons, else its initials in a frame */
.rail a.sub,.rail a.rpage{display:flex;align-items:center;gap:8px}
.rail a.sub{padding-left:38px}
.rail a.sub .lbl{min-width:0;overflow:hidden;text-overflow:ellipsis}
.rail a.rpage{padding-left:52px}
.rail .subs.top > a.rpage,.rail .rail-pages.top a.rpage{padding-left:38px}
.rail a.sub .lbl,.rail a.rpage .lbl{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rail .pi{flex:none;display:inline-grid;place-items:center;width:18px;height:18px;color:var(--nav-muted)}
.rail .pi svg{width:16px;height:16px}
.rail a[aria-current="page"] .pi,.rail a.sub:hover .pi,.rail a.rpage:hover .pi{color:var(--nav-text)}
.rail .pi-txt{height:16px;border:1.5px solid currentColor;border-radius:4px;font-size:8.5px;font-weight:800;line-height:1;letter-spacing:-.02em}
.rail .rail-find{display:flex;align-items:center;gap:7px;margin:6px 4px 2px;padding:0 9px;height:32px;border:1px solid var(--nav-line);border-radius:9px;color:var(--nav-muted)}
.rail .rail-find:focus-within{border-color:var(--accent)}
.rail .rail-find input{flex:1;min-width:0;height:30px;border:0;background:none;color:var(--nav-text);font:inherit;font-size:13.5px;outline:none}
.rail .rail-find input::-webkit-search-cancel-button{filter:grayscale(1)}
.rail .rail-none{margin:6px 10px;font-size:13px;color:var(--nav-muted)}
.rail .rail-none a{color:var(--nav-text)}
.rail [data-rail-off]{display:none!important}
/* the row above a page keeps the views of its list; what stands in the rail (members, places of work) core.js takes out
   of it, a row with fewer than two views goes (two levels, 30.11.2026) */
main [data-rail-row][hidden],main [data-rail-row] a[hidden]{display:none!important}
/* Command bar (Ctrl+K): apps and actions while typing */
.command-list li .kind{margin-left:auto;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.command-list li .hint{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.command-list li.group{cursor:default;padding:8px 10px 2px;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.command-list li.group:hover{background:none}
/* the row of areas when a search finds a lot (05.12.2026): one line that scrolls sideways (Andreas 11:48: wrapped into many
   lines it pushed the hits out of sight), small chips; a click shows only that area */
.command-list{max-height:min(560px,75vh)}
.command-list li.cmd-areas{display:flex;flex-wrap:nowrap;gap:5px;padding:6px 10px;cursor:default;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;
  -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent);border-bottom:1px solid var(--line)}
.command-list li.cmd-areas:hover{background:none}
.cmd-area{flex:none;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);background:var(--field);color:var(--text);border-radius:999px;padding:1px 9px;font:500 12px/1.5 inherit;white-space:nowrap;cursor:pointer}
.cmd-area .n{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.cmd-area[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 0 -2px 0 var(--accent)}
.cmd-area:hover{border-color:var(--muted)}
/* Main menu "Alle Apps" */
.apps-filter{max-width:420px}
.app-group h2{margin:18px 0 8px;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.more-apps{margin-top:22px;border-top:1px solid var(--line);padding-top:6px}
.more-apps>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;font-weight:700;font-size:15px}
.more-apps>summary::-webkit-details-marker{display:none}
.more-apps>summary::before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s}
.more-apps[open]>summary::before{transform:rotate(45deg)}
.app-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}
.app-tile{position:relative;display:flex;align-items:center;gap:10px;padding:10px 44px 10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--card);min-height:58px}
.app-tile:hover{border-color:var(--line-strong)}
.app-tile a.open{position:absolute;inset:0;border-radius:12px}
.app-tile a.open:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.app-tile .ic{flex:0 0 42px;height:42px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:var(--field);color:var(--text)}
.app-tile strong{display:block;font-weight:600;font-size:14px}
.app-tile small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-size:12px;color:var(--muted);line-height:1.3}
.app-tile[hidden],.app-group[hidden]{display:none}
/* Apps still to come: clearly set back from the live ones (Andreas 21.11.2026: "kaum zu erkennen") */
.app-tile.soon{opacity:.45;background:transparent;border-style:dashed}
.app-tile.soon:hover{border-color:var(--line)}
.app-tile.soon strong{color:var(--muted);font-weight:500}
.app-tile.soon .ic{background:transparent;color:var(--muted)}
.app-tile form{position:absolute;right:6px;top:50%;transform:translateY(-50%);z-index:1;margin:0}
.star{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}
.star:hover{background:var(--field);color:var(--text)}
.star[aria-pressed="true"]{color:var(--accent-ink)}
.star[aria-pressed="true"] svg{fill:var(--accent);stroke:var(--accent-ink)}
.fav-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;max-width:520px}
.fav-list li{display:flex;align-items:center;gap:10px;padding:4px 4px 4px 10px;border:1px solid var(--line);border-radius:10px}
.fav-list li .name{flex:1;display:flex;align-items:center;gap:8px}
.fav-list li .phone{font-size:11px;color:var(--muted)}
.fav-list form{margin:0}
.check-row{display:flex;align-items:center;gap:8px;min-height:30px;font-size:13px}
.check-row input{width:16px;height:16px;accent-color:var(--accent)}
.mail-box{padding:10px 14px}
.mail-box summary{cursor:pointer;font-weight:600;font-size:13px}
.mail-box .form{margin-top:8px}
.mail-box p{margin:6px 0 0}
.rail .spacer{flex:1;min-height:12px}
.rail .rail-foot{display:flex;align-items:center;gap:8px;margin-top:8px;padding:8px 2px 0 6px;border-top:1px solid var(--nav-line)}
.rail .me-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--nav-muted);text-decoration:none}
.rail .nav-fold{flex:none;width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--nav-muted);cursor:pointer}
.rail .nav-fold:hover{background:var(--nav-card);color:var(--nav-text)}
html[data-nav="mini"] .rail .nav-fold svg{transform:scaleX(-1)}
.rail .me{flex:none;width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid var(--nav-line);color:var(--nav-muted);font-size:10px;font-weight:600;letter-spacing:.3px;text-decoration:none}
.rail .me:hover{color:var(--nav-text);border-color:var(--nav-muted)}
.rail .version{max-width:52px;font-size:10px;line-height:1.2;text-align:center;color:var(--nav-muted);font-variant-numeric:tabular-nums}
.version-m{display:none}
.rail a.version{color:var(--nav-muted);text-decoration:none}
.version-m a{color:inherit;text-decoration:none}
.rail a.version:hover,.version-m a:hover{text-decoration:underline}
.page{flex:1;min-width:0;display:flex;flex-direction:column}
.topbar{display:flex;align-items:center;gap:10px;padding:8px 20px;border-bottom:1px solid var(--line)}
/* Suite tabs (core_kit.apps.SUITES): text tabs, the selected one with the yellow-green line; full-height pages subtract
   --chrome-h (top bar plus tabs) instead of the bare top bar */
:root{--chrome-h:53px}
/* The suite's tabs stay on every page of the suite, also when the page has its own tabs below (Andreas 24.11.2026:
   „Entweder ich hab's und kann darüber navigieren oder ich hab's nicht“ – on „Notizen“ they used to vanish) */
@media (max-width:760px){body:has(.where-bar:not([hidden])){--chrome-h:96px}}
/* phone: where one is (0.531.0) – one line, a tap opens the rail as a tree at this place */
@media (min-width:761px){.where-bar{display:none!important}}
.where-bar[hidden]{display:none}
.where-bar{height:43px;padding:0 8px;border-bottom:1px solid var(--line)}
.where-bar button{display:flex;align-items:center;gap:9px;width:100%;height:100%;padding:0 8px;border:0;background:none;color:var(--text);font:inherit;font-size:15px;font-weight:600;text-align:left;cursor:pointer}
.where-bar button > svg{flex:none;color:var(--accent-ink)}
.where-bar .w-path{display:flex;align-items:center;gap:7px;min-width:0;overflow:hidden;white-space:nowrap}
.where-bar .w-path > span{overflow:hidden;text-overflow:ellipsis}
.where-bar .w-path > span:not(:last-child){flex:none}
.where-bar .w-sep,.where-bar .w-page:not(:empty)::before{color:var(--muted);font-weight:400}
.where-bar .w-page:not(:empty)::before{content:"›";margin-right:7px}
.where-bar .w-page{color:var(--accent-ink)}
.where-bar .w-caret{flex:none;margin-left:auto;width:7px;height:7px;margin-right:6px;margin-top:-4px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg)}
.command{flex:0 1 460px;min-width:0;display:flex;align-items:center;gap:8px;height:34px;padding:0 4px 0 10px;background:var(--field);border:1px solid transparent;border-radius:9px;color:var(--muted)}
.command:focus-within{border-color:var(--accent);background:var(--card)}
.command input{flex:1;min-width:0;background:transparent;border:0;outline:0;font-size:14px;color:var(--text)}
.command .mic{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer}
.command .mic:hover{color:var(--text);background:var(--paper)}
.content{padding:16px 20px 48px;display:flex;flex-direction:column;gap:12px;width:100%;max-width:1440px}
/* Arbeitslisten nutzen die volle Fensterbreite (Andreas 27.11.2026: „Echte Arbeitslisten nutzen immer die volle Breite
   des Fensters“). Eine Regel statt Ausnahmen je Seite: Kanban (.lanes) überall; Tabellen (.table-wrap, table.list),
   Zeilenlisten (.tlist, .rows) und eigene Listen-Bausteine (Klasse .worklist), wenn sie der Hauptinhalt sind – direkt
   in .content oder in einer Karte, einem Abschnitt oder Formular direkt darin. Formulare, Detailseiten, Einstellungen
   und Lesetext bleiben bei 1440 px: eine Seite mit Text- oder Formularkarte (.card.pad, eine Karte oder ein Formular
   mit drei Feldern nebeneinander) oder den Einstellungen (.set-wrap) zählt nicht als Liste. Kopf, Suche und Filter stehen in .content und laufen mit. */
.content:has(.lanes,.lanes-frame),
.content:is(:has(> :is(.table-wrap,table.list,.tlist,.rows,.worklist)),:has(> :is(section,div,form) > :is(.table-wrap,table.list,.tlist,.rows,.worklist))):not(:has(> :is(.card.pad,.set-wrap), > :is(.card,form) :is(.field ~ .field ~ .field))){max-width:none}

/* Components */
.card{background:var(--card);border:1px solid var(--line);border-radius:10px}
.card.pad,.pad{padding:12px 14px}
.card.next{border-color:var(--accent)}
.card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px;border-bottom:1px solid var(--line)}
.card-head h2{margin:0;font-size:14px;font-weight:700}
.label{font-size:11px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);margin:0}
h1.title{margin:0;font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-weight:600;font-size:26px;line-height:1.1}
.head{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;justify-content:space-between}
/* the line under a page's title holds names, addresses and links: a long one breaks like the title (04.12.2026) */
.head .sub{margin:2px 0 0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.actions{display:flex;flex-wrap:wrap;gap:6px}
.back{display:inline-flex;gap:4px;align-items:center;color:var(--muted);text-decoration:none;font-size:13px}
.back svg{width:16px;height:16px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 12px;border-radius:8px;border:1px solid var(--line);background:transparent;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap}
.btn svg{width:16px;height:16px}
.btn:hover{border-color:var(--line-strong)}
.btn.primary{background:var(--accent);color:var(--on-accent);border-color:var(--accent);font-weight:700}
.btn.icon{width:32px;padding:0}
.btn.sm{height:28px;padding:0 9px;font-size:13px;border-radius:7px}
.btn.sm.icon{width:28px;padding:0}
.btn.ghost{border-color:transparent;color:var(--muted)}
.btn.ghost:hover{color:var(--text);border-color:var(--line)}
/* Key-value facts (address, mail, phone ...) */
.kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px 18px;margin:0}
.kv div{min-width:0}
.kv dt{font-size:11px;font-weight:600;color:var(--muted)}
.kv dd{margin:1px 0 0;overflow-wrap:anywhere}
.pill{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px;border-radius:999px;background:var(--field);font-size:12px;font-weight:600}
.pill .dot{width:7px;height:7px;border-radius:50%;background:var(--accent)}
.pill.vat-warn .dot{background:var(--warn)}
.pill.vat-bad .dot{background:var(--danger)}
.pill.vat-off .dot{background:var(--muted)}
.seg{display:flex;padding:3px;gap:3px;background:var(--field);border:1px solid var(--line);border-radius:9px}
.seg button{height:28px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:13px;font-weight:600;cursor:pointer}
.seg button[aria-checked="true"]{background:var(--card);color:var(--text);box-shadow:inset 0 -2px 0 var(--accent)}
/* Schaltzentrale (Einstellungen → Odoo abschalten): je Bereich eine Zeile – Ampel und Name, Odoo führt (rot) – Core führt
   (gelb) – Pure Core (grün), Daten in einer Zeile, die anderen Firmen als kleine Marken */
.sw-main{padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:0 1px 2px rgba(0,0,0,.06),0 4px 14px rgba(0,0,0,.05)}
.sw-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-bottom:10px}
.sw-title h2{margin:0}
.sw-warn{color:var(--warn);font-weight:700;cursor:help}
.sw-gaps .tchip{font-size:11px;text-decoration:none}
.sw-play{display:grid;grid-template-columns:minmax(0,1.1fr) auto minmax(0,3fr);gap:4px 14px;align-items:center;padding:8px 10px;margin:0 0 12px;border:1px solid var(--line);border-radius:10px;font-size:13px}
.sw-play .sw-data{white-space:normal}
.sw-seg .sw-off[aria-checked="true"]{background:var(--line);color:var(--text)}
.sw-note{margin:0 0 8px;font-size:13px;color:var(--warn)}
.sw-board{display:flex;flex-direction:column}
#small-apps .sw-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1.2fr) minmax(0,1.6fr)}   /* Kleine Apps aus Odoo: four columns */
@media (max-width:760px){#small-apps .sw-row{grid-template-columns:minmax(0,1fr) auto}#small-apps .sw-row>.muted{grid-column:1/-1}}
.sw-row{display:grid;grid-template-columns:minmax(0,1.1fr) auto minmax(0,1.3fr) auto auto auto;gap:4px 14px;align-items:center;padding:5px 4px;border-bottom:1px solid var(--line);font-size:13px}
.sw-head{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding-top:0}
.sw-name{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sw-name a{color:var(--text);font-weight:600;text-decoration:none;overflow:hidden;text-overflow:ellipsis}
.sw-light{flex:none;width:9px;height:9px;border-radius:50%;background:var(--muted)}
.sw-light.ok{background:var(--ok)}.sw-light.warn{background:var(--warn)}.sw-light.bad{background:var(--danger)}
.sw-seg{padding:2px;gap:2px;flex-wrap:nowrap}
.sw-seg :is(button,a){height:24px;padding:0 9px;font-size:12px;font-weight:600;border-radius:6px;white-space:nowrap;display:inline-flex;align-items:center;text-decoration:none;color:var(--muted);background:transparent;border:0}
.sw-seg :is(button,a)[aria-checked="true"]{box-shadow:none;opacity:1}
.sw-seg .sw-red[aria-checked="true"]{background:var(--danger-fill);color:var(--on-danger)}
.sw-seg .sw-yellow[aria-checked="true"]{background:var(--warn);color:#1B2227}
.sw-seg .sw-green[aria-checked="true"]{background:var(--ok);color:#fff}
.sw-seg .sw-blue[aria-checked="true"]{background:var(--accent);color:#fff}
.sw-seg .sw-blue:not([disabled]):not([aria-checked="true"]):hover{color:var(--accent)}
.sw-seg .sw-red:not([disabled]):not([aria-checked="true"]):hover{color:var(--danger)}
.sw-seg .sw-yellow:not([disabled]):not([aria-checked="true"]):hover{color:var(--warn)}
.sw-seg .sw-green:not([disabled]):not([aria-checked="true"]):hover{color:var(--ok)}
.sw-seg button[disabled]:not([aria-checked="true"]){opacity:.35;cursor:not-allowed}
.sw-data{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.sw-others{display:flex;gap:3px;justify-content:flex-end}
button.sw-dot{background:transparent;cursor:pointer;font:inherit;font-size:10px}button.sw-dot:hover{border-color:var(--text);color:var(--text)}
.sw-firms{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0 0 12px;border-bottom:1px solid var(--line)}
.sw-firm{background:transparent;border:0;padding:6px 0;font:inherit;font-weight:600;color:var(--muted);cursor:pointer;min-height:36px;box-shadow:inset 0 -2px 0 transparent}
.sw-firm:hover{color:var(--text)}
.sw-firm[aria-current]{color:var(--text);cursor:default;box-shadow:inset 0 -2px 0 var(--accent)}
.sw-dot{font-size:10px;line-height:15px;padding:0 5px;border-radius:999px;border:1px solid var(--line);color:var(--muted);white-space:nowrap}
.sw-dot.sw-red{border-color:var(--danger);color:var(--danger)}
.sw-dot.sw-yellow{border-color:var(--warn);color:var(--warn)}
.sw-dot.sw-green{border-color:var(--ok);color:var(--ok)}
.sw-dot.sw-blue{border-color:var(--accent);color:var(--accent)}
@media (max-width:760px){.sw-play,.sw-row{grid-template-columns:minmax(0,1fr) auto}.sw-row .sw-seg{grid-column:1/-1;justify-self:start;max-width:100%;overflow-x:auto}.sw-play .sw-data{grid-column:1/-1}.sw-head{display:none}.sw-data{grid-column:1/-1;white-space:normal}.sw-gaps{grid-column:1/-1}.sw-check{grid-column:1/-1}.sw-others{grid-column:1/-1;justify-content:flex-start}}
.tabs{display:flex;gap:20px;padding:0 14px;border-bottom:1px solid var(--line);overflow-x:auto}
.tabs a{padding:9px 0 7px;border-bottom:2px solid transparent;color:var(--muted);font-weight:600;text-decoration:none;white-space:nowrap}
.tabs a[aria-selected="true"]{border-bottom-color:var(--accent);color:var(--text)}
/* Company switch in the top bar: quiet text with the native arrow, no box */
/* Top bar: status icons and the company chip (UI-09) */
.topicons{display:flex;align-items:center;gap:2px;margin-left:auto}
.topicon{position:relative;width:34px;height:34px;display:inline-grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer;text-decoration:none}
.topicon:hover,.topicon[aria-expanded=true]{color:var(--text);background:var(--field)}
.topicon .badge{position:absolute;top:2px;right:1px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--field);color:var(--text);border:1px solid var(--line-strong);font-size:10.5px;font-weight:600;line-height:14px;text-align:center}
.topicon .badge.hot{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.topicon .badge.late{background:var(--danger-fill);color:var(--on-danger);border-color:var(--danger-fill)}
.menu-host{position:relative}
.menu{position:absolute;z-index:40;top:calc(100% + 6px);left:0;min-width:210px;margin:0;padding:4px;list-style:none;background:var(--card);border:1px solid var(--line-strong);border-radius:10px;box-shadow:0 10px 28px rgba(0,0,0,.22)}
.menu.right{left:auto;right:0}
.menu[hidden]{display:none}
.menu a,.menu button{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border:0;border-radius:7px;background:transparent;color:var(--text);font:inherit;font-size:13.5px;text-align:left;text-decoration:none;cursor:pointer}
.menu a:hover,.menu button:hover,.menu a:focus-visible,.menu button:focus-visible{background:var(--field);outline:0}
.menu form{margin:0}
.menu button svg{margin-left:auto;color:var(--accent-ink)}
.company{margin-left:6px}
.company-chip{display:flex;align-items:center;gap:7px;height:32px;max-width:190px;padding:0 8px 0 4px;border:1px solid var(--line);border-radius:16px;background:transparent;color:var(--muted);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.company-chip:hover,.company-chip[aria-expanded=true]{color:var(--text);border-color:var(--line-strong);background:var(--field)}
.company-chip .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mark{flex:none;width:22px;height:22px;display:inline-grid;place-items:center;border-radius:50%;background:var(--field);color:var(--text);font-size:11px;font-weight:700}
.company-chip .mark{background:var(--accent);color:var(--on-accent)}
/* Filters in the bar of a list (search, choice, switch): quiet boxes in the colours of the fields, own arrow */
.filter{position:relative;display:inline-flex;align-items:center;min-width:0}
.filter select,.filter input[type=search]{height:32px;padding:0 10px;background:var(--field);border:1px solid var(--line);border-radius:8px;color:var(--text);font-size:13px;font-weight:500;min-width:0}
.filter select{appearance:none;-webkit-appearance:none;padding-right:30px;max-width:240px;cursor:pointer;text-overflow:ellipsis}
.filter.pick::after{content:"";position:absolute;right:12px;top:50%;width:6px;height:6px;margin-top:-5px;border-right:1.7px solid var(--muted);border-bottom:1.7px solid var(--muted);transform:rotate(45deg);pointer-events:none}
.filter.find svg{position:absolute;left:10px;color:var(--muted);pointer-events:none}
.filter.find input{padding-left:32px;width:230px}
.filter select:hover,.filter input:hover{border-color:var(--line-strong)}
.filter select:focus-visible,.filter input:focus{border-color:var(--accent);outline:none}
.filter input[type=search]::-webkit-search-cancel-button{cursor:pointer}
.toggle{position:relative;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--muted);font-size:13px;font-weight:600;cursor:pointer;user-select:none}
.toggle input{position:absolute;opacity:0;pointer-events:none}
.toggle:hover{border-color:var(--line-strong);color:var(--text)}
.toggle:has(input:checked){color:var(--text);box-shadow:inset 0 -2px 0 var(--accent)}
.toggle:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
@media (max-width:760px){.filter select,.filter input[type=search],.toggle{height:40px}.filter.find input{width:100%}}
/* Opened lists: the popup does not inherit a transparent background, so give the options the theme colors */
select option{background-color:var(--card);color:var(--text)}
.empty{padding:22px 16px;text-align:center;color:var(--muted)}

/* Tables */
.table-wrap{overflow-x:auto}
/* Long lists: the heading stays while the page scrolls (Andreas 23.11.2026: „oben die Überschrift stehen bleiben“), and
   there is only ever one scroll bar – the page's (Andreas 23.11.2026: „die doppelten Scrollbalken … müssen unbedingt
   verschwinden“). A table scrolls sideways in its own box only when it is wider than the page (core.js marks it .wide). */
.table-wrap:not(.wide){overflow:visible}
.table-wrap > table.list > thead th{position:sticky;top:0;z-index:2;background:var(--bg);box-shadow:inset 0 -1px 0 var(--line)}
.card .table-wrap > table.list > thead th,.card.table-wrap > table.list > thead th{background:var(--card)}
table.list{width:100%;border-collapse:collapse}
table.list th{font-size:12px;font-weight:600;color:var(--muted);text-align:left;padding:7px 14px;border-bottom:1px solid var(--line);white-space:nowrap}
table.list td{padding:7px 14px;border-bottom:1px solid var(--line);vertical-align:top}
/* Breite Tabellen: Zahlen (.num), feste Werte (.nowrap) und Spalten, die core.js als kurz erkennt (.col-fit: Datum,
   Betrag, Nummer, nur Symbole), bleiben so schmal wie ihr Inhalt, die Textspalten bekommen den Rest. Spaltenbreiten, die jemand selbst gezogen hat (data-colw, im style des Kopfes), gehen vor. */
@media (min-width:761px){table.list :is(th,td):is(.num,.nowrap,.col-fit){width:1%;white-space:nowrap}}
table.list tr:last-child td{border-bottom:0}
table.list tr.row-link{cursor:pointer}
table.list tr.row-link:hover td{background:var(--paper)}
.num{text-align:right;font-variant-numeric:tabular-nums}

/* Forms */
/* Four columns on wide screens; .span2 / .span3 / .full widen a field */
.form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px}
.form .span2{grid-column:span 2}
.form .span3{grid-column:span 3}
.form .full{grid-column:1/-1}
.form-foot{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;margin-top:14px}
.form-foot .hint{margin:0 auto 0 0;font-size:13px;color:var(--muted)}
.field{display:flex;flex-direction:column;gap:4px;min-width:0}
.field span{font-size:11px;font-weight:600;color:var(--muted)}
.field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]):not([type=range]),.field select,.field textarea{width:100%;height:32px;padding:0 9px;background:var(--field);border:1px solid var(--line);border-radius:7px}
.field textarea{height:auto;min-height:72px;padding:8px 10px}
.field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]):not([type=range]):focus,.field select:focus,.field textarea:focus{border-color:var(--accent);outline:none}
.field .error{font-size:13px}
.error{color:var(--danger);font-weight:600}
.field small{font-size:13px;line-height:1.35}
.field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]):not([type=range]):disabled,.field select:disabled{background:transparent;border-style:dashed;color:var(--muted);opacity:1}
.btn[aria-pressed="true"]{box-shadow:inset 0 -3px 0 var(--accent);border-color:var(--line-strong)}

/* Settings (gear at the bottom of the rail): one card with tabs, each service fills its tab */
.settings-body{padding:16px;display:flex;flex-direction:column;gap:18px}
.settings-body h2{margin:0;font-family:"Barlow Condensed";font-weight:600;font-size:20px}
.settings-group{display:flex;flex-direction:column;gap:14px}
.settings-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;flex-wrap:wrap}
.settings-actions p{margin:0}
.settings-log{border-top:1px solid var(--line);padding-top:16px}
.settings-log p{margin:10px 0 0;font-size:14px}
/* Settings frame: groups on the left with a search, the area on the right; sections fold (core/settings.html) */
.set-head{margin:0 0 12px}
.set-wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
/* The list stays where it is while the area on the right scrolls (Andreas 25.11.2026: „das Menü in der Mitte scrollt mit
   … das müsste fest bleiben“). Longer than the window it scrolls by itself under the pointer, without a second visible
   scrollbar (Andreas 23.11.2026: „die doppelten Scrollbalken … müssen weg“); the current area is always in view. */
.set-nav{align-self:start;position:sticky;top:12px;max-height:calc(var(--vh) - 24px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
.set-nav::-webkit-scrollbar{display:none}
.set-wrap{overflow-anchor:none}   /* content that changes on the right never shifts the page (scroll anchoring) */
.set-nav > summary{display:none}
.set-nav nav{display:flex;flex-direction:column;gap:2px}
.set-find{display:block;margin:0 0 10px}
.set-find input{width:100%;min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--text);font:inherit}
/* groups (0.396.0, Andreas 25.11.2026: headings hardly stood out): heading in the colour of the entries, a bit bolder, no
   capitals, a line above and clearly more room above it than between the entries; every entry with its symbol */
.set-group{display:flex;flex-direction:column;gap:1px}
.set-group:not([hidden]) ~ .set-group{margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.set-glabel{margin:0 0 6px 10px;font-size:14px;font-weight:700;color:var(--text)}
.set-group a{display:flex;align-items:center;gap:10px;padding:5px 10px;border-radius:8px;color:var(--text);text-decoration:none;font-size:14px}
.set-group a svg{flex:none;color:var(--muted)}
.set-group a[aria-current="page"] svg{color:var(--text)}
.set-group a:hover{background:var(--field)}
.set-group a[aria-current="page"]{background:var(--field);box-shadow:inset 3px 0 0 var(--accent);font-weight:600}
.set-none{margin:6px 10px;font-size:13px}
.set-main{min-width:0}
.settings-group > h2 .sg-toggle{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:12px;width:100%;padding:0;border:0;background:none;
  color:var(--text);font:inherit;text-align:left;cursor:pointer;min-height:32px}
.sg-toggle .sg-title{font-family:"Barlow Condensed";font-weight:600;font-size:20px}
.sg-toggle .sg-sum{font-family:Barlow,sans-serif;font-size:13px;font-weight:400;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;visibility:hidden}
.settings-group.folded .sg-toggle .sg-sum{visibility:visible}
.sg-toggle .sg-chev{width:9px;height:9px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin:0 6px 4px;transition:transform .15s}
.settings-group.folded .sg-chev{transform:rotate(-45deg)}
.sg-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
.sg-body{display:flex;flex-direction:column;gap:14px}
.settings-group.folded .sg-body{display:none}
.settings-group + .settings-group{border-top:1px solid var(--line);padding-top:16px}
.settings-log-fold{border-top:1px solid var(--line);padding-top:12px}
.settings-log-fold > summary{cursor:pointer;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.settings-log-fold .settings-log{border-top:0;padding-top:4px}
@media (max-width:899px){
  .set-wrap{grid-template-columns:minmax(0,1fr)}
  .set-nav{position:static;max-height:none;overflow:visible;border:1px solid var(--line);border-radius:10px;background:var(--card);padding:0 10px}
  .set-nav > summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-weight:600}
  .set-nav[open]{padding-bottom:10px}
  .sg-toggle .sg-sum{display:none}
  .settings-group > h2 .sg-toggle{grid-template-columns:minmax(0,1fr) auto}
  .set-nav > summary{justify-content:space-between}
  .set-nav > summary::after{content:"";width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin-right:6px}
  .set-nav[open] > summary::after{transform:rotate(-135deg)}
  .set-nav > summary::-webkit-details-marker{display:none}
}
.settings-log p.label{margin:0}
/* Settings tree (0.524.0): an entry with parts opens in place – bar and overview alike; the phone gets a back bar */
.set-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.set-item > .set-parts,.set-item > .set-oparts{grid-column:1/-1}
.set-twist{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:8px;background:none;color:var(--muted);cursor:pointer}
.set-twist::before{content:"";width:7px;height:7px;margin-top:-3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.set-twist[aria-expanded="true"]::before{margin-top:3px;transform:rotate(-135deg)}
.set-twist:hover{background:var(--field);color:var(--text)}
.set-twist:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.set-nav .set-twist{width:30px;height:28px}
.set-oparts{display:flex;flex-direction:column;gap:1px;margin:2px 0 6px 26px;padding-left:12px;border-left:1px solid var(--line)}
.set-parts[hidden],.set-oparts[hidden]{display:none}
.set-backbar{display:none}
/* the overview of the settings (05.12.2026): a card per fold, rows left-aligned with the symbol and „›“ (Muster 01.12.2026) */
.set-main.card:has(> .settings-body > .set-list){background:none;border:0;box-shadow:none}
.set-main.card:has(> .settings-body > .set-list) > .settings-body{padding:0}
.set-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:14px;align-items:start}
.set-list-card{display:flex;flex-direction:column;padding:12px 8px 6px;background:var(--card);border:1px solid var(--line);border-radius:14px}
.set-list-card > .label{padding:0 10px 6px}
.set-list-head{margin:8px 10px 2px;font-size:12px;font-weight:600;color:var(--muted)}
.set-list-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 10px;border-radius:10px;color:var(--text);text-decoration:none}
.set-list-row:hover{background:var(--field)}
.set-list-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.set-list-row .ri{flex:none;width:28px;height:28px;display:grid;place-items:center;color:var(--muted)}
.set-list-row .ri svg{width:18px;height:18px}
.set-list-row .lbl{flex:1;min-width:0;font-weight:500}
.set-list-go{color:var(--muted);font-size:18px;line-height:1}
.set-list [hidden]{display:none}
.set-list-none{grid-column:1/-1;margin:4px 2px}
@media (max-width:899px){
  .set-nav{display:none}
  .set-backbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
  .set-backbar a{display:flex;align-items:center;gap:6px;min-height:36px;padding:0 6px;border-radius:8px;color:var(--text);text-decoration:none;font-weight:600}
  .set-backbar a:hover{background:var(--field)}
  .set-where{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--muted)}
  /* the parts of the entry as tabs that wrap (30.11.2026): text without a box, the open one with the lime line below */
  .set-backbar:has(.set-partrow){flex-wrap:wrap;row-gap:2px}
  .set-partrow{display:flex;flex-wrap:wrap;gap:0 2px;flex:1 1 100%;min-width:0;margin:0 -6px -4px;padding:0 2px;border-top:1px solid var(--line)}
  .set-backbar .set-partrow a{flex:none;min-height:42px;padding:0 10px;border-radius:0;font-weight:500;color:var(--muted);white-space:nowrap}
  .set-backbar .set-partrow a[aria-current="page"]{color:var(--text);font-weight:700;box-shadow:inset 0 -3px 0 var(--accent)}
}
/* Settings by owner (0.522.0): the gear opens tiles (core/settings_home.html), the bar is split into Für mich, Firma,
   Anbindungen, Betrieb, and every section of a settings page stands on its own tile – a common region the eye can land on */
/* 01.12.2026 (Andreas: „Man weiß erstmal gar nicht, wohin man gucken soll. Das ist auch ziemliches Durcheinander“): one
   column from top to bottom – search, Für mich, Firma, Anbindungen, Betrieb – and in every area the same grid of equal
   cards (symbol, name, its parts as one quiet line); one kind of arrow (›), nothing opens in place */
.set-overview{display:flex;flex-direction:column;gap:26px;max-width:1280px}
.set-block + .set-block{margin-top:16px}
.set-block > h3{margin:0 2px 8px;font-size:15px;font-weight:700;color:var(--muted);text-transform:none;letter-spacing:0}
.set-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin:0;padding:0;list-style:none}
.set-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--card);
  box-shadow:0 1px 2px rgba(0,0,0,.06)}
.set-card:hover,.set-card:focus-within{border-color:var(--line-strong)}
.set-card > a:first-child:hover .set-ic{background:var(--card)}
.set-card > a:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:12px}
.set-card > a{display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 12px;color:var(--text);text-decoration:none;font-weight:600;font-size:15px}
.set-card > a .set-lab{flex:1;min-width:0;overflow-wrap:anywhere}
.set-card > a::after{content:"›";color:var(--muted);font-size:20px;line-height:1;font-weight:400}
.set-card .set-cparts{display:flex;flex-wrap:wrap;gap:2px 10px;margin:-6px 0 0;padding:0 12px 10px 52px;font-size:13px}
.set-card .set-cparts a{color:var(--muted);text-decoration:none}
.set-card .set-cparts a:hover,.set-card .set-cparts a:focus-visible{color:var(--text);text-decoration:underline}
@media (max-width:640px){.set-grid{grid-template-columns:minmax(0,1fr)}}
.set-ofind{display:flex;align-items:center;gap:10px;max-width:640px;box-sizing:border-box;min-height:50px;padding:0 16px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--muted);
  box-shadow:0 1px 2px rgba(0,0,0,.06),0 4px 14px rgba(0,0,0,.05)}
.set-ofind:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 24%,transparent)}
.set-ofind input{flex:1;min-width:0;padding:10px 0;border:0;background:none;box-shadow:none;outline:none;color:var(--text);font:inherit;font-size:16px}
.set-sec-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;margin:0 2px 12px}
.set-sec-head h2{margin:0;font-family:"Barlow Condensed";font-weight:600;font-size:26px;line-height:1.1}
.set-sec-head p{margin:0;font-size:14px;color:var(--muted)}
.set-ic{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--field);color:var(--text)}
.set-lab{flex:1;min-width:0}
.set-chev{flex:none;width:8px;height:8px;margin-right:8px;border-right:2px solid var(--muted);border-top:2px solid var(--muted);transform:rotate(45deg);opacity:.55}
.set-home{display:flex;align-items:center;gap:10px;margin:0 0 8px;padding:6px 10px;border-radius:8px;color:var(--text);text-decoration:none;font-size:14px;font-weight:600}
.set-home svg{color:var(--muted)}
.set-home:hover{background:var(--field)}
.set-home[aria-current="page"]{background:var(--field);box-shadow:inset 3px 0 0 var(--accent)}
.set-section{display:flex;flex-direction:column;gap:2px}
.set-section:not([hidden]) ~ .set-section{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.set-slabel{margin:0 0 4px 10px;font-family:"Barlow Condensed";font-weight:600;font-size:18px;line-height:1.1;color:var(--text)}
.set-section .set-glabel{margin:8px 0 2px 10px;font-size:12px;font-weight:600;color:var(--muted)}
.set-section .set-group:not([hidden]) ~ .set-group{margin-top:0;padding-top:0;border-top:0}
/* the sections like the fields of the rail (Andreas 02.12.2026, 11:16): small capitals that fold, one open, the open one
   underlined and with a thin line down its left edge in the accent */
.set-section:not([hidden]) ~ .set-section{margin-top:0;padding-top:0;border-top:0}
.set-section .set-fold{position:relative;display:flex;align-items:center;gap:6px;width:100%;margin:12px 0 4px;padding:2px 10px;border:0;background:none;font-family:inherit;font-size:11px;font-weight:700;line-height:1.4;letter-spacing:.06em;text-transform:uppercase;text-align:left;color:var(--muted);cursor:pointer}
.set-section .set-fold::after{content:"";flex:none;width:5px;height:5px;margin:0 6px 2px auto;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .15s}
.set-section .set-fold[aria-expanded="true"]::after{transform:rotate(45deg);color:var(--accent-ink)}
.set-section .set-fold:hover,.set-section .set-fold[aria-expanded="true"]{color:var(--text)}
.set-section .set-fold[aria-expanded="true"]::before{content:"";position:absolute;left:10px;bottom:-3px;width:22px;height:2px;border-radius:1px;background:var(--accent-ink)}
.set-section .set-fold:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-radius:6px}
.set-sbody{display:flex;flex-direction:column;gap:2px;margin:6px 0 4px 4px;padding-left:4px;border-left:2px solid color-mix(in srgb,var(--accent-ink) 55%,transparent)}
.set-sbody[hidden]{display:none}
@media (min-width:900px){
  .set-nav{padding:12px 8px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
}
.set-main.card:has(.settings-group){background:none;border:0;box-shadow:none}
.set-main.card:has(.settings-group) > .settings-body{padding:0;gap:14px}
.settings-body .settings-group{padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--card);box-shadow:0 1px 2px rgba(0,0,0,.06),0 4px 14px rgba(0,0,0,.05)}
.settings-body .settings-group + .settings-group{border-top:1px solid var(--line);padding-top:16px}
.settings-body .settings-group .settings-group{padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.settings-body .settings-group .settings-group + .settings-group{border-top:1px solid var(--line);padding-top:16px}
.set-main.card:has(.settings-group) .settings-log-fold{border-top:0;padding:4px 6px}
@media (max-width:760px){
  .set-overview{gap:22px}
  .settings-body .settings-group{padding:14px}
}
.saved{display:flex;align-items:center;gap:8px;margin:0;padding:10px 14px;border-radius:10px;background:var(--field);font-weight:600}
.saved .dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px 24px;margin:0}
.facts dt{font-size:12px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.facts dd{margin:2px 0 0;overflow-wrap:anywhere}
/* Icon button inside or next to an input (AI search, VAT check); state colours: ok / warn / bad */
.input-icon{display:flex;gap:6px;align-items:center}
.input-icon input{flex:1;min-width:0}
.icon-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--muted);cursor:pointer}
.icon-btn:hover,.icon-btn:focus-visible{border-color:var(--accent);color:var(--text)}
.icon-btn.ok{border-color:var(--ok);color:var(--ok)}
.icon-btn.warn{border-color:var(--warn);color:var(--warn)}
.icon-btn:has(span){width:auto;height:auto;min-height:32px;padding:0 10px;gap:6px;font:inherit;font-size:13px;font-weight:600;color:var(--text)}
.icon-btn.bad{border-color:var(--danger);color:var(--danger)}
.icon-btn.busy svg,.icon-btn.htmx-request svg{animation:pulse 1s ease-in-out infinite}
.pill.vat-ok .dot{background:var(--ok)}
/* "Working" signs: bouncing dots, shimmering fields that are about to be filled */
.dots{display:inline-flex;gap:4px;align-items:center}
.dots i{width:7px;height:7px;border-radius:50%;background:var(--accent);animation:bounce 1s infinite ease-in-out}
.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}
.shimmer{background:linear-gradient(90deg,var(--field) 20%,var(--paper) 50%,var(--field) 80%)!important;background-size:200% 100%!important;animation:shimmer 1.3s linear infinite}
@keyframes bounce{0%,80%,100%{transform:translateY(0);opacity:.5}40%{transform:translateY(-6px);opacity:1}}
@keyframes shimmer{from{background-position:100% 0}to{background-position:-100% 0}}
@keyframes pulse{50%{transform:scale(1.2)}}
@media (prefers-reduced-motion:reduce){.dots i,.shimmer,.icon-btn.busy svg,.icon-btn.htmx-request svg{animation:none}}
/* Suggestion list under an input (postal code / city, core.js) */
.suggest-host{position:relative}
.suggest{position:absolute;z-index:30;left:0;top:100%;width:max(100%,min(380px,calc(100vw - 32px)));margin:4px 0 0;padding:4px;list-style:none;max-height:320px;overflow-x:hidden;overflow-y:auto;background:var(--card);border:1px solid var(--line-strong);border-radius:10px}
.suggest li{display:flex;gap:10px;align-items:baseline;padding:7px 10px;border-radius:8px;cursor:pointer;white-space:nowrap}
.suggest li span{font-size:14px;font-weight:400;color:var(--text)}
.suggest li span.muted{margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:var(--muted)}
.suggest li strong{min-width:4.6em;font-variant-numeric:tabular-nums}
.suggest li:hover,.suggest li[aria-selected="true"]{background:var(--field)}
.suggest li[aria-selected="true"]{box-shadow:inset 3px 0 0 var(--accent)}
.suggest li.more{cursor:default;font-size:13px;color:var(--muted)}
@media (max-width:1100px){
  .form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .form .span3{grid-column:1/-1}
}

/* Phone: a bar at the bottom in reach of the thumb (five places with text); "Mehr" opens the whole rail as a drawer
   from the left. Touch targets grow back to 44px. */
.mbar{display:none}
/* The bar's height as one variable (Andreas 02.12.2026 am Android: the last chat stayed half behind the bar, the round
   button lay on its time): every page and scroll area ends above it, everything fixed at the bottom sits on top of it.
   0 where there is no bar (signed out, side panel, chat window, wallTalk as its own app, an open chat). --fab-room: a
   page with a round button at the bottom keeps room for it, so its last line can be scrolled above it. */
:root{--mbar-h:0px;--fab-room:0px}
@media (max-width:760px){
  :root{--mbar-h:calc(61px + env(safe-area-inset-bottom,0px))}
  html:not(:has(.mbar)),html.chat-bare,html.in-peek,html.wt-app,html:has(body.wt-chat){--mbar-h:0px}
  :root:has(.content .fab:not([hidden]),.content .ar-primary){--fab-room:64px}
  /* a page with both (Dokumente: „Scannen und ablegen“ and „Hochladen“): the round button sits above the main one */
  :root:has(.content .ar-primary):has(.content .fab:not([hidden])){--fab-room:124px}
  .content:has(.ar-primary) .fab{bottom:calc(74px + var(--mbar-h))}
  /* full screen places (wallTalk .wt, E-Mail .mx): the page is one column of the screen above the bar, top bar,
     „Wo du bist“ and a line above keep their height, the place takes the rest and scrolls inside. Guessing the top with
     --chrome-h and the bar with 60 px left the last chat half behind the bar (Andreas 02.12.2026). */
  body:has(.content > :is(.wt,.mx)) .page{flex:none;height:calc(var(--vh,100dvh) - var(--mbar-h));min-height:0;overflow:hidden}
  body:has(.content > :is(.wt,.mx)) .page > :not(.content){flex-shrink:0}
  .content:has(> :is(.wt,.mx)){flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}
  .content:has(> :is(.wt,.mx)) > :is(.wt,.mx){flex:1 1 auto;height:auto;min-height:0}
  .content:has(> :is(.wt,.mx)) > :not(.wt,.mx){flex:none}
  .content:has(> :is(.wt,.mx)) + .version-m{display:none}
  .mx-rows{padding-bottom:var(--fab-room)}
  .shell{flex-direction:column}
  :root,html[data-nav="mini"]{--bar-w:72px;--panel-w:calc(var(--rail-w) - var(--bar-w));--rail-w:min(392px,92vw)}
  .rail,html[data-nav="mini"] .rail{position:fixed;top:0;bottom:0;left:0;z-index:60;width:var(--rail-w);height:100%;padding:0 0 env(safe-area-inset-bottom);align-items:stretch;transform:translateX(-105%);transition:transform .2s ease;box-shadow:none}
  html.nav-open .rail{transform:none;box-shadow:0 0 40px rgba(0,0,0,.35)}
  html.nav-open body::after{content:"";position:fixed;inset:0;z-index:59;background:rgba(0,0,0,.4)}
  .rail a.rpage{padding-top:9px;padding-bottom:9px}
  .rail a.item{min-height:44px}
  .rail a.sub{padding:10px 10px 10px 41px}
  .rail .nav-fold{display:none}
  .mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:20;box-sizing:border-box;height:var(--mbar-h);justify-content:space-around;padding:4px 2px calc(4px + env(safe-area-inset-bottom,0px));background:var(--nav-bg);border-top:1px solid var(--nav-line)}
  .mbar>a,.mbar>button{position:relative;flex:1 1 0;min-width:0;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:10px;background:transparent;color:var(--nav-muted);font:inherit;font-size:11px;font-weight:600;text-decoration:none;cursor:pointer}
  .mbar svg{width:22px;height:22px}
  .mbar span:not(.badge){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px}
  .mbar [aria-current="page"],.mbar [aria-expanded="true"]{color:var(--nav-text)}
  .mbar .badge{position:absolute;top:4px;left:calc(50% + 6px);margin:0;min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px}
  .command{height:40px}
  .version-m{display:block;margin:calc(-20px - var(--mbar-h) - var(--fab-room)) 0 0;padding:0 14px calc(28px + var(--mbar-h));font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}
  /* a page without the bottom padding (a board of columns) would get the version over its last button */
  .content:has(.lanes-frame) + .version-m{margin-top:0}
  .topbar{padding:10px 14px}
  .content{padding:14px 14px calc(32px + var(--mbar-h) + var(--fab-room))}
  h1.title{font-size:24px}
  .btn{height:44px}
  .btn.icon,.btn.sm.icon{width:44px}
  .btn.sm{height:40px}
  .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]):not([type=range]),.field select{height:42px}
  .form{grid-template-columns:1fr}
  .form .span2,.form .span3{grid-column:1/-1}
  table.list th,table.list td{padding:10px 12px}
  .hide-m{display:none}
  .settings-body{padding:16px 14px}
  .settings-actions .btn{flex:1}
}

/* Toast: what just happened, with "Rückgängig" (undo instead of asking first) */
/* width:max-content: with left:50% the box would otherwise only get half the screen and break the text (Andreas 23.11.2026) */
.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translate(-50%,160%);z-index:80;display:flex;align-items:center;gap:12px;width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box;padding:10px 14px;border-radius:10px;background:var(--text);color:var(--bg);font-size:14px;font-weight:600;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:transform .2s ease-out}
.toast.on{transform:translate(-50%,0)}
.toast button{flex:none;min-height:36px;background:transparent;border:1px solid currentColor;color:var(--bg);border-radius:7px;font:inherit;padding:3px 12px;cursor:pointer;white-space:nowrap}
@media (max-width:760px){.toast{bottom:calc(14px + var(--mbar-h))}}
@media (prefers-reduced-motion:reduce){.toast{transition:none}}
/* Edit in place: a value lights up on hover, becomes a field on click, saves on Enter or leaving */
/* a value changed in place never widens its card: long words (fbclid, URLs, mail addresses) break (04.12.2026) */
.ie{cursor:text;border-radius:5px;padding:1px 4px;margin:-1px -4px;outline:none;min-width:1.5em;display:inline-block;max-width:100%;overflow-wrap:anywhere}
.ie:hover,.ie:focus-visible{background:var(--field);box-shadow:inset 0 -1px 0 var(--line-strong)}
.ie.empty{color:var(--muted)}
.ie.saving{opacity:.6}
.ie.editing{display:block;margin:0;padding:0}
.ie-field{width:100%;min-width:0;height:30px;padding:0 8px;border:1px solid var(--accent);border-radius:6px;background:var(--field);color:var(--text);font:inherit;font-size:14px}
textarea.ie-field{height:auto;padding:6px 8px}
/* Preview card on hover / long press */
.preview-card{position:fixed;z-index:70;background:var(--card);border:1px solid var(--line-strong);border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.28);padding:12px 14px;font-size:13.5px}
.preview-card .pv-head{display:flex;gap:10px;align-items:center}
.preview-card h3{margin:0;font-size:15px;line-height:1.2}
.preview-card .muted{font-size:12.5px}
.preview-card .facts{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.preview-card dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 10px;margin:8px 0 0;font-size:13px}
.preview-card dt{color:var(--muted)}
.preview-card dd{margin:0;overflow-wrap:anywhere}
/* Avatar: company logo or monogram in one of the calendar colours */
.avatar{display:inline-grid;place-items:center;flex:0 0 auto;border-radius:22%;overflow:hidden;background:color-mix(in srgb,var(--c,var(--cal-12)) 22%,var(--card));color:color-mix(in srgb,var(--c,var(--muted)) 62%,var(--text));font-family:"Barlow Condensed",Barlow,sans-serif;font-weight:600;letter-spacing:.02em;line-height:1}
.avatar img{width:100%;height:100%;object-fit:contain;background:#fff;padding:10%}
/* Empty state: brand mark, one sentence, the first sensible action */
.empty-state{display:flex;flex-direction:column;align-items:center;gap:8px;padding:28px 16px;text-align:center;color:var(--muted)}
.empty-state svg{color:var(--text);opacity:.85}
.empty-state strong{color:var(--text);font-size:16px}
/* Loading and failed (bits.loading, bits.failed, window.coreState): calm, one sentence, the next step */
/* only the boxes of bits.loading / bits.failed / coreState: „state“ alone is a common word (CRM status symbol, bank feed,
   social posts, public quotation) and must not turn into a padded column (26.11.2026: lead rows grew to 120 px) */
.state-loading,.state-failed{display:flex;flex-direction:column;align-items:center;gap:6px;padding:22px 16px;text-align:center;color:var(--muted);font-size:14px}
.state-loading strong,.state-failed strong{color:var(--text);font-size:15.5px;font-weight:600}
.state-acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:6px}
.state-acts .btn{min-height:40px}
.state-failed{border-left:3px solid var(--warn);align-items:flex-start;text-align:left}
.state-failed .state-acts{justify-content:flex-start}
.state-loading{flex-direction:row;justify-content:center}
.state-dots{display:inline-flex;gap:4px}
.state-dots i{width:6px;height:6px;border-radius:50%;background:var(--muted);opacity:.35}
@media (prefers-reduced-motion:no-preference){.state-dots i{animation:state-dot 1.2s ease-in-out infinite}
  .state-dots i:nth-child(2){animation-delay:.15s}.state-dots i:nth-child(3){animation-delay:.3s}
  @keyframes state-dot{0%,60%,100%{opacity:.35}30%{opacity:1}}}
/* Chips with meaning */
.chip{display:inline-flex;align-items:center;gap:5px;min-height:22px;padding:0 8px;border-radius:999px;background:var(--field);font-size:12px;font-weight:600;color:var(--text);white-space:nowrap;text-decoration:none}
.chip.ok{color:var(--ok)}.chip.warn{color:var(--warn)}.chip.bad{color:var(--danger)}.chip.acc{background:var(--accent);color:var(--on-accent)}
/* Lists across companies (core_kit.access.MULTI): short name per row, filter by company */
.firm-tag{display:inline-block;margin-right:6px;padding:0 5px;border-radius:5px;background:var(--field);color:var(--muted);font-size:11px;font-weight:700;vertical-align:1px;white-space:nowrap}
.firm-chips{display:flex;flex-wrap:wrap;gap:4px}
.firm-chips a{padding:3px 9px;border-radius:12px;border:1px solid var(--line);color:var(--muted);text-decoration:none;font-size:12px;font-weight:700}
.firm-chips a.on{border-color:var(--accent);color:var(--text);box-shadow:inset 0 -2px 0 var(--accent)}
@media (max-width:760px){.card-head:has(.firm-chips){flex-wrap:wrap}.card-head .firm-chips{width:100%}.firm-chips a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;font-size:13px}}
/* A person: profile photo or initials (core/people.html: person) */
.person-pic{position:relative;display:inline-grid;place-items:center;flex:none;width:var(--s,22px);height:var(--s,22px);border-radius:50%;overflow:hidden;background:color-mix(in srgb,var(--c,var(--cal-12)) 22%,var(--card));color:color-mix(in srgb,var(--c,var(--muted)) 62%,var(--text));font-family:"Barlow Condensed",Barlow,sans-serif;font-size:calc(var(--s,22px) * .42);font-weight:600;line-height:1;vertical-align:middle;letter-spacing:.02em}
.person-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.with-person{display:inline-flex;align-items:center;gap:5px}
/* Timeline of a company or person (core_kit.timeline, core.js data-timeline) */
.tl li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;padding:6px 14px;position:relative;font-size:13.5px;line-height:1.3}
.tl li::before{content:"";position:absolute;left:24px;top:0;bottom:0;width:1px;background:var(--line)}
.tl li:first-child::before{top:12px}.tl li:last-child::before{bottom:calc(100% - 12px)}
.tl .tl-ico{position:relative;z-index:1;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--field);color:var(--muted)}
.tl .tl-title{display:block;color:var(--text);text-decoration:none;font-weight:600;overflow-wrap:anywhere}
.tl a.tl-title:hover{text-decoration:underline}
.tl .tl-meta{display:block;font-size:12px;color:var(--muted)}
.tl li.tone-ok .tl-ico{color:var(--ok)}.tl li.tone-warn .tl-ico{color:var(--warn)}.tl li.tone-bad .tl-ico{color:var(--danger)}
.tl li.tl-now{margin-top:10px;padding-top:12px;border-top:1px dashed var(--line-strong)}
.tl li.tl-wait,.tl li.tl-empty,.tl li.tl-more{display:block;color:var(--muted)}
.tl li.tl-wait::before,.tl li.tl-empty::before,.tl li.tl-more::before{display:none}
/* Duplicate hint under a name field (KO-04) */
.dupes p{margin:6px 0 4px;font-size:13px}
.dupes ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.dupes li{display:flex;gap:8px;align-items:center;font-size:13.5px}
.dupes li a{display:inline-flex;gap:6px;align-items:center;font-weight:600}
.dupes li .muted{font-size:12.5px}
.dupes:has(ul){padding:2px 10px 8px;border-left:3px solid var(--warn);margin-top:6px}
/* "?" help: keyboard shortcuts and what the command bar understands */
.help-box{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:16px;background:color-mix(in srgb,var(--bg) 70%,transparent)}
.help-box[hidden]{display:none}
.help-card{width:min(460px,100%);max-height:calc(var(--vh) - 32px);overflow:auto;background:var(--card);border:1px solid var(--line-strong);border-radius:14px;padding:18px 20px;box-shadow:0 16px 40px rgba(0,0,0,.3)}
.help-card h2{margin:0 0 10px;font-size:17px}
.help-card dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 14px;margin:0 0 14px;font-size:14px;align-items:center}
.help-card dt{display:flex;gap:4px}
.help-card dd{margin:0}
.help-card kbd{display:inline-block;min-width:22px;padding:1px 6px;border:1px solid var(--line-strong);border-bottom-width:2px;border-radius:5px;background:var(--field);font:600 12px/1.5 Barlow,sans-serif;text-align:center}
.help-card ul{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}
.help-card ul button{width:100%;text-align:left;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--text);font:inherit;font-size:14px;cursor:pointer}
.help-card ul button:hover,.help-card ul button:focus-visible{border-color:var(--accent)}
/* Barcode scan with the camera (core.js data-scan) */
.scan-box{position:fixed;inset:0;z-index:95;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;background:var(--bg)}
.scan-box video{width:min(100%,520px);max-height:70vh;border-radius:12px;border:2px solid var(--accent);background:var(--field)}
/* "Ansehen als": the owner sees the system with the rights of another person (read only) */
.viewas{position:sticky;top:0;z-index:40;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:-4px 0 12px;padding:8px 12px;border-radius:10px;background:var(--accent);color:var(--on-accent);font-size:14px;font-weight:600}
.viewas form{margin-left:auto}
.viewas .btn{background:var(--bg);color:var(--text);border-color:transparent}
/* Deleting: red only where it is final; a history entry shows its x on hover (always on touch screens) */
.btn.danger{color:var(--danger)}
.btn.danger:hover{border-color:var(--danger)}
.tl li .tl-del{position:absolute;right:10px;top:6px;display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;opacity:0}
.tl li:hover .tl-del,.tl li .tl-del:focus-visible{opacity:1}
.tl li .tl-del:hover{background:var(--field);color:var(--danger)}
@media (hover:none){.tl li .tl-del{opacity:.7}}

/* Personal assistant (assistant.js): a panel on the right, full screen on the phone */
.assistant{position:fixed;z-index:60;top:0;right:0;bottom:0;width:min(440px,100vw);display:flex;flex-direction:column;background:var(--card);border-left:1px solid var(--line-strong);box-shadow:-12px 0 32px rgba(0,0,0,.18)}
.assistant[hidden]{display:none}
.assistant-head{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--line)}
.assistant-head strong{flex:1;font-size:15px}
.assistant-q{flex:1;min-width:0;display:flex;flex-direction:column}
.assistant-q .ar-over{font-size:10.5px}
.assistant-q strong{font-size:16px;overflow-wrap:anywhere}
.assistant .icon-btn{width:36px;height:36px;display:inline-grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:22px;cursor:pointer}
.assistant .icon-btn:hover{background:var(--field);color:var(--text)}
.assistant-log{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;padding:14px 12px;display:flex;flex-direction:column;gap:10px}
.assistant-hello{color:var(--muted);font-size:14px;margin:0}
.bubble{max-width:92%;padding:9px 12px;border-radius:12px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.bubble.me{align-self:flex-end;background:var(--field);color:var(--text)}
.bubble.ai{align-self:flex-start;background:transparent;padding-left:0}
.bubble .md p,.bubble .md h3{margin:0 0 6px}
.bubble .md h3{font-size:14px}
.bubble .md ul,.bubble .md ol{margin:0 0 6px;padding-left:20px}
.bubble .md a{color:var(--accent-ink);font-weight:600}
.bubble .md code{background:var(--field);padding:0 4px;border-radius:4px;font-size:13px}
.assistant-status{margin:4px 0 0;color:var(--muted);font-size:13px}
.assistant-status:not(:empty)::before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:var(--accent);animation:assistant-pulse 1s ease-in-out infinite}
@keyframes assistant-pulse{50%{opacity:.25}}
.assistant-ask{display:flex;gap:6px;align-items:flex-end;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line)}
.assistant-ask textarea{flex:1;resize:none;overflow:hidden;min-height:40px;max-height:140px;padding:9px 10px;border:1px solid var(--line-strong);border-radius:10px;background:var(--field);color:var(--text);font:inherit;font-size:15px}
.assistant-ask textarea::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.assistant-ask textarea.tidying{opacity:.6;border-color:var(--accent)}
.assistant-ask .btn{height:40px}
/* Verbrauch under the input (aiusage.py): quiet grey, yellow from 75 %, red from 90 %; a tap shows the details */
.assistant-ask:has(+ .ai-meter:not([hidden])){padding-bottom:6px}
.ai-meter{position:relative;padding:0 12px calc(4px + env(safe-area-inset-bottom,0px));margin-top:-4px}
.ai-meter-line{display:flex;flex-wrap:wrap;gap:0 4px;width:100%;min-height:24px;padding:2px 0;border:0;background:none;color:var(--muted);font:inherit;font-size:12px;line-height:1.5;text-align:left;cursor:pointer;font-variant-numeric:tabular-nums}
.ai-meter-line:hover,.ai-meter-line:focus-visible{color:var(--text)}
.ai-meter-line .m-part:not(:first-child)::before{content:"·";margin-right:4px;color:var(--muted)}
.ai-meter-line .m-part.warn{color:var(--warn);font-weight:600}
.ai-meter-line .m-part.alert{color:var(--danger);font-weight:600}
.ai-meter-more{position:absolute;left:12px;right:12px;max-width:460px;bottom:100%;z-index:5;padding:8px 10px;border:1px solid var(--line-strong);border-radius:10px;background:var(--card);color:var(--text);font-size:12.5px;box-shadow:0 6px 24px rgba(0,0,0,.18)}
.ai-meter-more div{display:flex;justify-content:space-between;gap:12px;padding:2px 0}
.ai-meter-more span{color:var(--muted)}
.ai-meter-more strong{font-weight:600;font-variant-numeric:tabular-nums;text-align:right}
.assistant-page .ai-meter{padding-left:max(12px,calc((100% - 780px)/2));padding-right:max(12px,calc((100% - 780px)/2))}
@media (pointer:coarse){.ai-meter-line{min-height:32px;font-size:12.5px}}
.mic.recording,.command .mic.recording{color:var(--on-accent);background:var(--accent);animation:assistant-pulse 1.2s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.assistant-status:not(:empty)::before,.mic.recording,.command .mic.recording{animation:none}}
@media (max-width:760px){.assistant{width:100vw;border-left:0;z-index:95}}
/* Microphone on: the waveform of the voice in place of the input, then jumping dots until the text is there */
.assistant-live{flex:1;display:flex;align-items:center;gap:10px;height:40px;padding:0 10px;border:1px solid var(--accent);border-radius:10px;background:var(--field);color:var(--muted);font-size:13px;overflow:hidden}
.assistant-live[hidden]{display:none}
.assistant-live canvas{flex:1;height:30px;min-width:0}
.assistant-live .dots{display:none;gap:4px}
.assistant-live.busy canvas{display:none}
.assistant-live.busy .dots{display:inline-flex}
.assistant-live .dots i{width:7px;height:7px;border-radius:50%;background:var(--accent);animation:assistant-hop 1s ease-in-out infinite}
.assistant-live .dots i:nth-child(2){animation-delay:.15s}
.assistant-live .dots i:nth-child(3){animation-delay:.3s}
.assistant-live .say{white-space:nowrap}
@keyframes assistant-hop{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}
@media (prefers-reduced-motion:reduce){.assistant-live .dots i{animation:none}}
/* The assistant on a page of its own (/assistant), in a window of its own and as an app of its own (?pop=1, chat-bare):
   conversations on the left (slide in on the phone), the conversation in a reading column on the right */
.assistant-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column}
html.chat-bare .rail,html.chat-bare .mbar,html.chat-bare .topbar,html.chat-bare .where-bar,html.chat-bare .version-m{display:none!important}
html.chat-bare{--chrome-h:0px}
.content:has(#assistant-page){padding-bottom:12px;max-width:none}
html.chat-bare .content:has(#assistant-page){padding:0}
.assistant.assistant-page{position:relative;top:auto;right:auto;bottom:auto;z-index:auto;width:auto;height:calc(var(--vh) - var(--chrome-h) - 30px);min-height:360px;flex-direction:row;border:1px solid var(--line);border-radius:12px;box-shadow:none;overflow:hidden}
html.chat-bare .assistant.assistant-page{height:var(--vh);border:0;border-radius:0}
html.chat-bare .assistant-head{padding-top:calc(10px + env(safe-area-inset-top,0px))}
.assistant-chats{width:260px;flex:none;display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);background:var(--bg)}
.assistant-chats-head{padding:14px 16px 6px;font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}
.assistant-chats ul{list-style:none;margin:0;padding:4px 6px 12px;overflow-y:auto;scrollbar-width:thin;flex:1}
.assistant-chats li{display:flex;align-items:center;border-radius:8px}
.assistant-chats li:hover,.assistant-chats li:has(a[aria-current]){background:var(--card)}
.assistant-chats li:has(a[aria-current]){box-shadow:inset 3px 0 0 var(--accent)}
.assistant-chats li a{flex:1;min-width:0;padding:9px 10px;color:var(--text);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
.assistant-chats li a[aria-current]{font-weight:600}
.assistant-chats .del{visibility:hidden;width:30px;height:30px;font-size:18px}
.assistant-chats li:hover .del,.assistant-chats li:focus-within .del{visibility:visible}
.assistant-chats .empty{padding:8px 10px;color:var(--muted);font-size:14px}
.assistant .chats-toggle{display:none}
.assistant-head strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.assistant-page .assistant-log{padding:18px max(16px,calc((100% - 780px)/2))}
.assistant-page .assistant-ask{padding-left:max(12px,calc((100% - 780px)/2));padding-right:max(12px,calc((100% - 780px)/2))}
@media (max-width:760px){
  .content:has(#assistant-page){padding:0 0 var(--mbar-h)}
  .assistant.assistant-page{height:calc(var(--vh) - var(--chrome-h) - 15px - var(--mbar-h));border:0;border-radius:0}
  html.chat-bare .content:has(#assistant-page){padding:0}
  html.chat-bare .assistant.assistant-page{height:var(--vh)}
  .assistant-page .chats-toggle{display:inline-grid}
  .assistant-page .assistant-chats{position:absolute;z-index:5;top:0;bottom:0;left:0;width:min(300px,86vw);transform:translateX(-102%);transition:transform .2s ease;box-shadow:8px 0 24px rgba(0,0,0,.25)}
  .assistant-page.chats-open .assistant-chats{transform:none}
  .assistant-chats .del{visibility:visible}
  .assistant-page .assistant-ask textarea{font-size:16px}
}
@media (prefers-reduced-motion:reduce){.assistant-page .assistant-chats{transition:none}}
/* Voice input with live text and ✓ (Andreas 24.11.2026), files in the conversation, proposed actions as cards */
.assistant-voice{display:flex;align-items:center;gap:4px;flex:none;color:var(--muted);font-size:13px}
.assistant-voice[hidden]{display:none}
.assistant-voice canvas{width:56px;height:26px}
.assistant-voice .say{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.assistant-voice .voice-done{display:inline-flex;align-items:center;gap:6px;height:40px}
.assistant-ask.listening .clip,.assistant-ask.listening > .btn.primary[type=submit]{display:none}
.assistant-ask.listening textarea{border-color:var(--accent)}
.assistant-voice.busy canvas{opacity:.35}
.assistant-voice.live canvas{display:none}

.assistant-ask .clip{flex:none}
.assistant-files{display:flex;flex-wrap:wrap;gap:6px;padding:6px 12px 0}
.assistant-files[hidden]{display:none}
.assistant-page .assistant-files{padding-left:max(12px,calc((100% - 780px)/2));padding-right:max(12px,calc((100% - 780px)/2))}
.file-chip{display:inline-flex;align-items:center;gap:4px;max-width:260px;padding:3px 4px 3px 9px;border:1px solid var(--line-strong);border-radius:999px;background:var(--card);color:var(--text);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none}
a.file-chip{padding-right:9px}
.file-chip button{width:24px;height:24px;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:16px;cursor:pointer}
.file-chip.loading{opacity:.6}
.file-chip.failed{border-color:var(--danger);color:var(--danger)}
.file-chip.thumb{position:relative;padding:3px;border-radius:10px;max-width:none}
.file-chip.thumb img{display:block;height:72px;max-width:160px;border-radius:7px;object-fit:cover}
.file-chip.thumb button{position:absolute;top:2px;right:2px;background:var(--card);opacity:.9}
.bubble-files{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.bubble-files img{display:block;max-width:180px;max-height:180px;border-radius:8px;object-fit:cover}
.bubble.me p{margin:0}
.bubble.note{align-self:center;max-width:100%;padding:4px 10px;border-radius:999px;background:transparent;border:1px dashed var(--line-strong);color:var(--muted);font-size:12px}
.action-card{align-self:stretch;margin:2px 0 4px;padding:10px 12px;border:1px solid var(--line-strong);border-left:4px solid var(--accent);border-radius:10px;background:var(--card)}
.action-card.done{border-left-color:var(--ok)}
.action-card.failed{border-left-color:var(--danger)}
.action-card.cancelled{opacity:.7;border-left-color:var(--line-strong)}
.action-kind{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}
.action-card.done .action-kind{color:var(--ok)}
.action-card.failed .action-kind{color:var(--danger)}
.action-summary{margin:4px 0 6px;font-size:14px;font-weight:600}
.action-card details{font-size:12px;color:var(--muted);margin-bottom:8px}
.action-card pre{margin:6px 0 0;padding:8px;border-radius:6px;background:var(--field);white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto;font-size:12px}
.action-buttons{display:flex;gap:8px}
.action-buttons .btn{height:38px;min-width:110px}
.action-result{margin:0 0 6px;font-size:13px;color:var(--muted)}
.assistant-main.drop{outline:2px dashed var(--accent);outline-offset:-6px}
/* Entwicklung (/dev/): the same chat in amber with a band, so it is never taken for the assistant; the protocol of a run */
.assistant-dev{--accent:#F5A524;--accent-ink:#B26A00;--on-accent:#1B1E27}
[data-theme="dark"] .assistant-dev,[data-theme="medium"] .assistant-dev{--accent-ink:#FFC35C}
@media (prefers-color-scheme:dark){[data-theme="auto"] .assistant-dev{--accent-ink:#FFC35C}}
.dev-band{padding:7px 14px;background:#F5A524;color:#1B1E27;font-size:13px;font-weight:600;line-height:1.35}
html.chat-bare .assistant-dev .dev-band{padding-top:calc(7px + env(safe-area-inset-top,0px))}
html.chat-bare .assistant-dev .assistant-head{padding-top:10px}
.assistant-dev .assistant-chats li.busy::after{content:"";flex:none;order:1;width:8px;height:8px;margin:0 6px 0 4px;border-radius:50%;background:#F5A524;animation:assistant-pulse 1s ease-in-out infinite}
.assistant-dev .assistant-chats li.busy .del{order:2}
.dev-run{align-self:stretch;margin:2px 0 6px;border:1px solid var(--line);border-radius:10px;background:var(--card);font-size:13px}
.dev-run summary{display:flex;align-items:baseline;gap:0;padding:8px 12px;cursor:pointer;color:var(--muted);font-weight:600}
.dev-run summary .dev-now{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dev-run.busy summary .dev-now{color:var(--text)}
.dev-run summary .dev-meta{flex:none;margin-left:.3em;font-weight:400;white-space:nowrap}
.dev-run li .raw{display:none;margin-top:2px;font-size:11.5px;color:var(--muted);white-space:pre-wrap}
.dev-run.tech li .raw{display:block}
.dev-run:not(.tech) li.same{display:none}
.dev-run .dev-tech{display:flex;align-items:center;gap:6px;padding:0 12px 10px;color:var(--muted);font-size:12px;cursor:pointer}
.dev-run li.ev-note,.dev-run li.ev-read{color:var(--accent-ink);font-weight:600}
.bubble .dev-read{margin:4px 0 0;font-size:11.5px;color:var(--muted);text-align:right}
.bubble .dev-read.on::before{content:"✓ ";color:var(--accent-ink)}
.dev-run.busy summary::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:var(--accent);animation:assistant-pulse 1s ease-in-out infinite}
.dev-run ol{margin:0;padding:0 12px 10px 30px;max-height:320px;overflow:auto;scrollbar-width:thin}
.dev-run li{padding:2px 0;overflow-wrap:anywhere}
.dev-run li.ev-tool{color:var(--muted)}
.dev-run li.ev-error{color:var(--danger)}
.dev-run li.ev-ship,.dev-run li.ev-result{font-weight:600}
.dev-run li .md p{margin:0 0 4px}
@media (prefers-reduced-motion:reduce){.dev-run.busy summary::before,.assistant-dev .assistant-chats li.busy::after{animation:none}}
@media (max-width:760px){.action-buttons .btn{flex:1}.assistant-voice canvas{display:none}}
.menu.ctx{position:fixed;top:0;left:0;z-index:96}
.menu.menu-lifted{position:fixed;z-index:95}
/* Personal settings applied to every page (base.html data-*): density, font size, motion; photo; company logo */
/* the zoom of the font size scales viewport units too (Chromium, standard CSS zoom): --vh is the full height whatever the zoom */
:root{--vh:calc(100dvh / var(--z,1))}
html[data-font="80"]{--z:.8}html[data-font="85"]{--z:.85}html[data-font="90"]{--z:.9}html[data-font="110"]{--z:1.1}html[data-font="125"]{--z:1.25}html[data-font="140"]{--z:1.4}
html[data-font="110"] body{zoom:1.1}
html[data-font="125"] body{zoom:1.25}
html[data-density="comfortable"] .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]):not([type=range]),html[data-density="comfortable"] .field select{min-height:42px}
html[data-density="comfortable"] .list td,html[data-density="comfortable"] .list th{padding-top:10px;padding-bottom:10px}
html[data-density="comfortable"] .btn{min-height:40px}
html[data-motion="reduce"] *,html[data-motion="reduce"] *::before,html[data-motion="reduce"] *::after{animation:none!important;transition:none!important}
.me.photo{padding:0;overflow:hidden}
.me.photo img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.logo-mark{flex:none;width:22px;height:22px;border-radius:50%;object-fit:cover;background:var(--field)}
.company-chip .logo-mark{margin-left:0}
.topicon.me-top{display:none}
.topicon.me-top img{width:26px;height:26px;border-radius:50%;object-fit:cover}
@media (max-width:760px){.topicon.me-top{display:inline-grid}}
/* Sortable table headings (core.js): the heading text is a button, an arrow shows the order */
.th-sort{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:4px;color:inherit;font:inherit;white-space:nowrap}
.th-sort:hover{color:var(--text)}
.th-sort:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:3px}
.th-sort::after{content:"";width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid currentColor;opacity:0}
.th-sort:hover::after{opacity:.35}
th[aria-sort] .th-sort{color:var(--text)}
th[aria-sort="ascending"] .th-sort::after{opacity:1;border-top:0;border-bottom:5px solid currentColor}
th[aria-sort="descending"] .th-sort::after{opacity:1}
th.num .th-sort,th[style*="right"] .th-sort{flex-direction:row-reverse}
/* A signature or mail as recipients see it: on white paper in every mode (mail programs show it that way) */
:root{--mail-paper:#ffffff;--mail-ink:#222222;--mail-muted:#6b757e;--mail-line:#d6d9dc}
.sig-paper{background:var(--mail-paper);color:var(--mail-ink);border:1px solid var(--line);border-radius:8px;padding:10px 12px;margin-top:6px;overflow:auto}
.sig-paper img{max-width:100%;height:auto}
.sig-choice{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:13.5px}   /* chosen signature, „Ändern“ shows the others */
.sig-change{display:flex;align-items:center;gap:8px}
.sig-change[open]{flex:1 1 100%}
.sig-change summary{list-style:none;cursor:pointer}
.sig-change summary::-webkit-details-marker{display:none}
.sig-change[open] summary{display:none}
.sig-change select{max-width:100%}
/* Checkboxes, radio buttons and file fields look the same everywhere, wherever they sit (also inside .field):
   never as wide or as high as a text field (Andreas 22.11.2026) */
input[type=checkbox],input[type=radio]{width:16px;height:16px;min-height:0;margin:0;padding:0;flex:0 0 auto;accent-color:var(--accent);vertical-align:middle;cursor:pointer}
input[type=checkbox]:disabled,input[type=radio]:disabled{cursor:default;opacity:.6}
input[type=file]{max-width:100%;font-size:13px;color:var(--muted);background:transparent;border:0;padding:0;height:auto}
input[type=file]::file-selector-button{height:32px;padding:0 12px;margin-right:10px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--text);font:inherit;font-weight:600;cursor:pointer}
input[type=file]::file-selector-button:hover{border-color:var(--line-strong)}
.form > .check-row{align-self:end;min-height:32px}
label.check-row{cursor:pointer}
.sig-paper .sig-text-label{margin:12px 0 2px;padding-top:8px;border-top:1px dashed var(--mail-line);font-size:11px;color:var(--mail-muted)}
.sig-paper .sig-text{margin:0;white-space:pre-wrap;font-size:12px;color:var(--mail-muted)}

/* Call card (core.js, talk/phone.py) */
.call-card{position:fixed;right:16px;bottom:16px;z-index:60;width:min(320px,calc(100vw - 32px));background:var(--card);color:var(--text);
  border:1px solid var(--line-strong);border-left:4px solid var(--accent);border-radius:12px;padding:10px 12px 12px;box-shadow:0 10px 30px rgba(0,0,0,.25);
  display:flex;flex-direction:column;gap:4px}
.call-card.missed{border-left-color:var(--danger)}
.call-head{display:flex;align-items:center;justify-content:space-between}
.call-state{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.call-card.ringing .call-state::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--accent);margin-right:6px;animation:call-pulse 1s infinite}
@keyframes call-pulse{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.call-card.ringing .call-state::before{animation:none}}
.call-x{border:0;background:transparent;color:var(--muted);font-size:20px;line-height:1;cursor:pointer;padding:2px 6px}
.call-who{font-size:16px;overflow-wrap:anywhere}
.call-sub{color:var(--muted);font-size:12.5px;overflow-wrap:anywhere}
.call-acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}
.call-note{width:100%;font:inherit;font-size:13.5px;margin-top:6px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--text);padding:6px 8px}
@media (max-width:760px){.call-card{bottom:calc(14px + var(--mbar-h));right:8px;width:calc(100vw - 16px)}}

/* Lebendig (Andreas 22.11.2026: „locker, easy, entspannt, optisch aufwerten – das muss Spaß machen“), in the look of
   wissen.wallpen.com: big condensed headlines, the yellow-green print rail, highlights, buttons with a bit of bounce,
   celebrations when something is done (core.js coreCelebrate). Colours only from the variables above. */
@font-face{font-family:"Barlow Condensed";font-weight:700;font-display:swap;src:url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2");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:"Barlow Condensed";font-weight:800;font-display:swap;src:url(fonts/barlow-condensed-latin-800-normal.woff2) format("woff2");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}
.label{color:var(--accent-ink);font-weight:700;letter-spacing:.16em;font-size:11.5px}
h1.title{font-weight:800;font-size:clamp(30px,4.2vw,44px);line-height:.98;text-transform:uppercase;letter-spacing:.004em;margin-top:3px;overflow-wrap:anywhere;hyphens:auto}
.head{position:relative;padding-left:18px;margin-bottom:4px}
.head::before{content:"";position:absolute;left:4px;top:8px;bottom:2px;width:3px;border-radius:3px;background:var(--accent)}
.head::after{content:"";position:absolute;left:0;top:0;width:11px;height:11px;border-radius:50%;background:var(--accent)}
.head .sub{font-size:15px;line-height:1.45;max-width:72ch}
.content h2{font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-weight:700;letter-spacing:.01em}
.card-head h2{font-size:17px}
.hl{background:var(--accent);color:var(--on-accent);padding:0 .22em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.big-hello{margin:0;font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-weight:800;text-transform:uppercase;font-size:clamp(38px,6.4vw,64px);line-height:.95;letter-spacing:.003em}
.big-hello .hl{display:inline;line-height:1.08}
.btn{border-radius:10px;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease,background .12s ease}
.btn.primary{border-radius:12px;height:38px;padding:0 18px;font-size:15px}
.btn.primary:hover{transform:translateY(-1px);box-shadow:0 6px 18px color-mix(in srgb,var(--accent) 38%,transparent)}
.btn.primary:active,.btn:active{transform:translateY(0) scale(.98)}
.btn.sm.primary{height:30px;padding:0 12px;font-size:13px;border-radius:9px}
.btn.big{height:52px;padding:0 26px;font-size:18px;border-radius:14px;font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-weight:800;letter-spacing:.01em}
.card{border-radius:14px}
.empty-state strong{font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-weight:800;font-size:22px;text-transform:uppercase;letter-spacing:.01em}
.toast{border-radius:14px;border-left:5px solid var(--accent);transition:transform .35s cubic-bezier(.2,1.5,.45,1)}
.chip.ok,.pill.ok{font-weight:700}
@keyframes core-pop{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.08);opacity:1}100%{transform:scale(1)}}
.pop{animation:core-pop .45s ease-out both}
@media (prefers-reduced-motion:reduce){.btn,.toast{transition:none}.btn.primary:hover{transform:none}.pop{animation:none}}
/* The fun layer (core_kit/fun.py): a line with a wink under the title, Kopfi the mascot, little moves */
.quip{margin:8px 0 0;font-size:14px;color:var(--muted);max-width:72ch;letter-spacing:.01em}
.quip::before{content:"";display:inline-block;width:18px;height:2px;border-radius:2px;background:var(--accent);vertical-align:middle;margin:-2px 8px 0 0}
.quip.pop{animation:core-pop .4s ease-out both}
.wink{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
.kopfi{color:var(--text);overflow:visible}
@media (prefers-reduced-motion:no-preference){
  .kopfi-happy .kopfi-head,.kopfi-party .kopfi-head{animation:kopfi-hop 2.2s ease-in-out infinite;transform-origin:45px 60px}
  .kopfi-sleepy .kopfi-head{animation:kopfi-breathe 3.4s ease-in-out infinite;transform-origin:45px 64px}
  .kopfi-sleepy .kopfi-z{animation:kopfi-z 3.4s ease-in-out infinite}
  .kopfi-think .kopfi-head{animation:kopfi-tilt 2.8s ease-in-out infinite;transform-origin:45px 60px}
  .kopfi-oops .kopfi-head{animation:kopfi-shake .5s ease-in-out 2}
  .kopfi-party .kopfi-confetti{animation:kopfi-float 1.6s ease-in-out infinite}
  .rail a.item:hover svg{animation:rail-wiggle .45s ease-in-out}
  .btn.primary:hover svg:last-child,.btn.big:hover{letter-spacing:.012em}
  .card.next,.dt-item.next{animation:none}
  .logo.dance svg{animation:logo-dance .9s ease-in-out 2}
}
@keyframes kopfi-hop{0%,70%,100%{transform:translateY(0)}80%{transform:translateY(-12px)}90%{transform:translateY(0) scaleY(.92)}}
@keyframes kopfi-breathe{50%{transform:scaleY(.94)}}
@keyframes kopfi-z{0%{opacity:0;transform:translate(0,4px)}40%{opacity:1}100%{opacity:0;transform:translate(6px,-6px)}}
@keyframes kopfi-tilt{0%,100%{transform:rotate(0)}30%{transform:rotate(-6deg)}60%{transform:rotate(5deg)}}
@keyframes kopfi-shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
@keyframes kopfi-float{50%{transform:translateY(-4px)}}
@keyframes rail-wiggle{25%{transform:rotate(-10deg)}75%{transform:rotate(10deg)}}
@keyframes logo-dance{25%{transform:rotate(-14deg) scale(1.1)}50%{transform:rotate(12deg) scale(.95)}75%{transform:rotate(-6deg) scale(1.05)}}
.kopfi-run{position:fixed;left:-120px;bottom:24px;z-index:210;pointer-events:none;animation:kopfi-run 3.2s linear forwards}
.kopfi-run::after{content:"";position:absolute;right:100%;top:50%;height:10px;width:100vw;background:linear-gradient(90deg,transparent,var(--accent));border-radius:5px}
@keyframes kopfi-run{to{left:calc(100vw + 120px)}}
.fun-error{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px}
.fun-error .code{font-family:"Barlow Condensed","Barlow",sans-serif;font-weight:800;font-size:clamp(70px,16vw,150px);line-height:.9;color:var(--accent-ink)}
.fun-error h1{margin:0;font-family:"Barlow Condensed","Barlow",sans-serif;font-weight:800;text-transform:uppercase;font-size:clamp(26px,4vw,40px)}
.fun-error p{margin:0;color:var(--muted);font-size:16px;max-width:52ch}
.tbl-export-bar{display:flex;justify-content:flex-end;margin:0 0 -4px}
.tbl-export-bar .btn{height:24px;font-size:12px;padding:0 8px;color:var(--muted)}
@media print{.tbl-export-bar{display:none}}
/* Tidy actions (Andreas 23.11.2026: „Solche Menüseiten möchte ich nirgendwo sehen“): one main action, a few icon
   buttons, everything else behind „Mehr“. On the phone the secondary buttons show only their icon and every
   .menu.sheet opens as a sheet from the bottom. New pages with more than four actions use this, never a wall of buttons. */
.actionbar{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;margin:8px 0 14px;min-width:0}
.actionbar form{margin:0;display:contents}
.actionbar .btn{flex:none}
.actionbar .grow{flex:1}
.menu li{list-style:none}
.menu .grp{padding:8px 10px 2px;font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.menu button>svg:first-child,.menu a>svg:first-child{margin-left:0;color:var(--muted)}
.menu .sep{height:1px;margin:4px 6px;background:var(--line)}
/* counts in lists and menus: the same quiet pill as in the rail (Andreas 02.12.2026, 12:38: „ein einheitliches Mittelding“) */
.menu .cnt{margin-left:auto;flex:none;min-width:20px;height:18px;padding:0 6px;border-radius:9px;background:color-mix(in srgb,var(--text) 12%,transparent);color:var(--text);font-size:11px;font-weight:600;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}
.menu a[aria-current="page"],.menu button[aria-current="true"]{background:var(--field);box-shadow:inset 3px 0 0 var(--accent)}
.menu select{width:100%;margin:2px 0 4px;padding:7px 8px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--text);font:inherit;font-size:13.5px}
/* a day in a menu („Zurückstellen bis …“): date field and its button in one row */
.menu .menu-day{display:flex;gap:6px;align-items:center;padding:4px 6px}
.menu .menu-day input{flex:1 1 auto;min-width:0;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--text);font:inherit;font-size:13.5px}
.menu .menu-day button{width:auto;flex:0 0 auto;background:var(--accent);color:var(--on-accent);font-weight:600}
.menu .menu-day button:hover,.menu .menu-day button:focus-visible{background:var(--accent);filter:brightness(.95)}
.menu{max-height:min(70vh,560px);overflow-y:auto}
.fab{display:none}
.fab.round{display:none}
@media (max-width:760px){
  .actionbar .btn:not(.primary) .lbl{display:none}
  .actionbar{gap:2px}
  .actionbar .btn:not(.primary){width:42px;height:42px;padding:0;border-color:transparent;background:transparent}
  .actionbar .btn:not(.primary):active{background:var(--field)}
  .actionbar .btn:not(.primary) svg{width:21px;height:21px}
  .fab{display:inline-flex}
  .fab.round{display:inline-flex;width:58px;height:58px;padding:0;justify-content:center;border-radius:50%}
  .actionbar .btn.primary{height:40px}
  .menu.sheet{position:fixed;left:0;right:0;top:auto;bottom:0;z-index:90;min-width:0;max-height:75dvh;border-radius:16px 16px 0 0;
              padding:8px 8px calc(10px + env(safe-area-inset-bottom,0px));box-shadow:0 -10px 32px rgba(0,0,0,.35),0 0 0 100vmax color-mix(in srgb,var(--bg) 55%,transparent)}
  /* pages call their own paper .sheet too (Briefe, Briefvorlagen, Blatt: white paper, dark ink, mm sizes); the menu
     keeps its own look against them (Andreas 27.11.2026 am Handy: „PDF für die Post“ hell auf weiß) */
  .menu.sheet{background:var(--card);color:var(--text);border:1px solid var(--line-strong);border-bottom:0;width:auto;height:auto;max-width:none;flex:none}
  .menu.sheet a,.menu.sheet button{min-height:44px;font-size:15px;padding:8px 12px}
  .menu.sheet::before{content:"";display:block;width:36px;height:4px;border-radius:2px;background:var(--line-strong);margin:2px auto 6px}
}
.fab{position:fixed;right:16px;bottom:calc(14px + var(--mbar-h));z-index:30;align-items:center;gap:8px;height:48px;padding:0 18px;
     border-radius:24px;background:var(--accent);color:var(--on-accent);font-weight:700;font-size:15px;text-decoration:none;box-shadow:0 6px 18px rgba(0,0,0,.3)}
/* On the phone the page head stays short: title and actions, the explanation only from tablet width (Andreas 23.11.2026: aufgeräumt) */
@media (max-width:760px){.head .sub{display:none}.head .title{font-size:30px}}

/* Anpacken und verschieben (core.js, data-dnd): the card lifts and follows the finger or mouse, the place it lands is
   a gap, the list it goes into lights up (Andreas 23.11.2026) */
[data-dnd-item]{touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
[data-dnd] [data-dnd-item]:not([data-dnd-off]){cursor:grab}
.dnd-ghost{position:fixed;z-index:120;pointer-events:none;margin:0;transform:rotate(-2.5deg) scale(1.03);box-shadow:0 18px 40px rgba(0,0,0,.38);
  opacity:.96;transition:transform .12s ease;will-change:left,top}
.dnd-gap{opacity:.28;outline:2px dashed var(--accent);outline-offset:-2px;border-radius:inherit}
.dnd-over{box-shadow:0 0 0 2px var(--accent) inset;background:color-mix(in srgb,var(--accent) 7%,transparent)!important;transition:background .12s}
.dnd-landed{animation:dnd-land .45s ease}
@keyframes dnd-land{0%{transform:scale(1.04);box-shadow:0 0 0 3px var(--accent)}100%{transform:none;box-shadow:none}}
body.dnd-dragging,body.dnd-dragging *{cursor:grabbing!important}
@media (prefers-reduced-motion:reduce){.dnd-ghost{transform:none}.dnd-landed{animation:none}}

/* Spalten (data-lanes, core.js): a board of columns fits the window, its bar names every column, edge arrows show
   there is more, columns fold to a strip; one look for wallBoard, pipeline and payment plan (Andreas 23.11.2026).
   A column is at least --lane-w wide (S/M/L) and grows with free room up to 1.5 times that, so a wide screen shows more
   columns instead of a few stretched ones; the board scrolls sideways only when the columns do not fit (27.11.2026). */
.content:has(.lanes-frame){padding-bottom:6px}
.lanes-frame{display:flex;flex-direction:column;gap:8px;min-width:0}
.lanes-nav{display:flex;align-items:center;gap:6px;min-width:0}
.lanes-nav{justify-content:flex-end}
.lanes-nav .ln-chips{display:none!important}
.lanes-nav .ln-chips{flex:1;display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;padding:2px;min-width:0;scroll-behavior:smooth}
.lanes-nav .ln-chips::-webkit-scrollbar{display:none}
.ln-chip{display:inline-flex;align-items:center;gap:6px;flex:none;height:30px;padding:0 10px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--muted);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .12s,color .12s,border-color .12s}
.ln-chip i{width:9px;height:9px;border-radius:50%;flex:none}
.ln-chip em{font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;color:var(--muted);opacity:.85}
.ln-chip.in{color:var(--text);border-color:color-mix(in srgb,var(--accent) 45%,var(--line));background:color-mix(in srgb,var(--accent) 9%,var(--card))}
.ln-chip.folded{opacity:.6;border-style:dashed}
.ln-chip:hover{border-color:var(--line-strong);color:var(--text)}
.ln-chip.dnd-over{background:var(--accent)!important;color:var(--on-accent);box-shadow:none}
.ln-chip.dnd-over em{color:var(--on-accent)}
.ln-arrow,.ln-tool{flex:none;width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:var(--card);color:var(--text);cursor:pointer;padding:0}
.ln-tool{position:relative;width:auto;padding:0 8px;gap:4px;display:inline-flex;align-items:center;color:var(--muted);font:inherit;font-size:11px;font-weight:800}
.ln-arrow:hover:not(:disabled),.ln-tool:hover{border-color:var(--accent);color:var(--text)}
.ln-arrow:disabled{opacity:.35;cursor:default}
.lanes-view{position:relative;min-width:0;contain:inline-size}
.lanes-frame{contain:inline-size}
.lanes{--lane-w:284px;position:relative;display:flex;gap:10px;align-items:stretch;overflow-x:auto;overflow-y:hidden;padding:0 2px 8px;min-height:320px;
       scrollbar-width:auto;scrollbar-color:color-mix(in srgb,var(--accent) 60%,var(--line-strong)) color-mix(in srgb,var(--muted) 14%,transparent);overscroll-behavior-x:contain}
.lanes::-webkit-scrollbar{height:12px}
.lanes::-webkit-scrollbar-track{background:color-mix(in srgb,var(--muted) 14%,transparent);border-radius:6px}
.lanes::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--accent) 60%,var(--line-strong));border-radius:6px;border:2px solid transparent;background-clip:padding-box}
.lanes.panning{cursor:grabbing;user-select:none}
.lanes>.lane{flex:1 0 var(--lane-w);width:var(--lane-w);max-width:calc(var(--lane-w) * 1.5);max-height:100%;min-height:0;display:flex;flex-direction:column;transition:flex-basis .18s ease,width .18s ease}
.lanes>.lane>.lane-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.lane-head{cursor:grab;user-select:none;touch-action:pan-y}
.lane-head .lane-fold{width:26px;height:26px;display:grid;place-items:center;flex:none;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;padding:0;opacity:0;transition:opacity .12s}
.lane:hover .lane-fold,.lane-fold:focus-visible{opacity:1}
@media (hover:none){.lane-head .lane-fold{opacity:.8}}
.lane-fold:hover{background:color-mix(in srgb,var(--bg) 30%,transparent);color:var(--text)}
.lanes>.lane.folded{flex:0 0 46px;width:46px;max-width:46px;cursor:pointer}
.lane.folded>:not(.lane-head){display:none!important}
.lane.folded>.lane-head{flex-direction:column;align-items:center;height:100%;padding:10px 0;gap:10px}
.lane.folded>.lane-head>*:not(.lane-n):not(b):not(h3):not(.lane-fold):not(form.fold):not([data-keep]){display:none}
.lane.folded>.lane-head b,.lane.folded>.lane-head h3{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;flex:none;max-height:none;overflow:visible}
.lane.folded .lane-fold{opacity:1;order:-1}
.lane-ghost{height:auto!important;border-radius:14px;background:var(--card);border:1px solid var(--accent)}
.lanes-edge{position:absolute;top:50%;z-index:5;width:40px;height:56px;margin-top:-28px;display:grid;place-items:center;border:1px solid var(--line-strong);background:color-mix(in srgb,var(--card) 88%,transparent);
            backdrop-filter:blur(6px);color:var(--text);cursor:pointer;padding:0;box-shadow:0 6px 20px rgba(0,0,0,.28);transition:background .12s}
.lanes-edge.l{left:-4px;border-radius:0 14px 14px 0}
.lanes-edge.r{right:-4px;border-radius:14px 0 0 14px}
.lanes-edge:hover{background:var(--accent);color:var(--on-accent)}
.lanes-edge[hidden]{display:none}
.dnd-back{animation:dnd-back .5s ease}
@keyframes dnd-back{0%{transform:scale(.96);box-shadow:0 0 0 3px var(--warn)}100%{transform:none;box-shadow:none}}
@media (max-width:760px){
  .lanes{--lane-w:min(86vw,340px)!important;scroll-snap-type:x mandatory;gap:8px;margin:0 -14px;padding:0 14px 8px;scroll-padding:0 14px}
  .lanes>.lane{scroll-snap-align:start;flex-grow:0}
  /* at the end of a column the page scrolls on (back up to the head) instead of stopping */
  .lanes>.lane>.lane-body{overscroll-behavior-y:auto}
  .lanes-edge,.ln-tool[data-width]{display:none}
}
/* the right mouse button menu: icons, ticks, submenus, keys */
.menu.ctx{min-width:230px;padding:5px}
.menu.ctx button{gap:10px;padding:7px 10px}
.menu.ctx button>svg:first-child{flex:none;margin:0;color:var(--muted)}
.menu.ctx .ctx-pad{width:16px;flex:none}
.menu.ctx .ctx-dot{width:14px;height:14px;border-radius:4px;flex:none;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--text) 18%,transparent)}
.menu.ctx button[aria-checked="true"]::after{content:"✓";margin-left:auto;color:var(--accent-ink);font-weight:800}
.menu.ctx .ctx-more{margin-left:auto;color:var(--muted);font-weight:800}
.menu.ctx kbd{margin-left:auto;font:inherit;font-size:11.5px;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:0 5px}
.menu.ctx button.danger{color:var(--danger)}
.menu.ctx button.danger svg{color:var(--danger)}
.menu.ctx .ctx-back{color:var(--muted);font-weight:700;border-bottom:1px solid var(--line);border-radius:7px 7px 0 0;margin-bottom:3px}
.rail.dnd-over{box-shadow:none;background:var(--rail-bg,inherit)!important}
.rail .item.dnd-gap{opacity:.35}

/* Personal display (Mein Profil → Darstellung, Andreas 23.11.2026): typeface, headings, weight, line spacing, size,
   corners, cards, contrast, links. Only fonts that are on the device or self-hosted (no external CDN).
   Mails and signatures shown as their recipients see them (.sig-paper, .mail-paper) keep their own font. */
html[data-face="semi"]{--face:"Barlow Semi Condensed","Barlow",system-ui,sans-serif}
html[data-face="condensed"]{--face:"Barlow Condensed","Barlow",system-ui,sans-serif}
html[data-face="inter"]{--face:"Inter",system-ui,sans-serif}
html[data-face="sourcesans"]{--face:"Source Sans 3",system-ui,sans-serif}
html[data-face="opensans"]{--face:"Open Sans",system-ui,sans-serif}
html[data-face="plex"]{--face:"IBM Plex Sans",system-ui,sans-serif}
html[data-face="public"]{--face:"Public Sans",system-ui,sans-serif}
html[data-face="dmsans"]{--face:"DM Sans",system-ui,sans-serif}
html[data-face="manrope"]{--face:"Manrope",system-ui,sans-serif}
html[data-face="figtree"]{--face:"Figtree",system-ui,sans-serif}
html[data-face="hanken"]{--face:"Hanken Grotesk",system-ui,sans-serif}
html[data-face="outfit"]{--face:"Outfit",system-ui,sans-serif}
html[data-face="montserrat"]{--face:"Montserrat",system-ui,sans-serif}
html[data-face="atkinson"]{--face:"Atkinson Hyperlegible Next",system-ui,sans-serif}
html[data-face="system"]{--face:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif}
html[data-face="classic"]{--face:"Helvetica Neue",Helvetica,Arial,sans-serif}
html[data-face="serif"]{--face:Georgia,Cambria,"Times New Roman",serif}
html[data-face="mono"]{--face:ui-monospace,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace}
html{--face:"Barlow",system-ui,sans-serif}   /* also for a face no longer offered */
/* Barlow with condensed headings is the old look of the CSS itself; every other combination sets the face on everything
   (and the headings choice further down wins over it) */
html:is(:not([data-face="barlow"]),[data-face="barlow"]:not([data-heads="condensed"])) :is(body,body *):not(code,pre,kbd,samp,svg,svg *,.sig-paper,.sig-paper *,.mail-paper,.mail-paper *,.hs-stage *){font-family:var(--face)!important}
html[data-weight="bold"] body,html[data-weight="bold"] :is(input,select,textarea,button){font-weight:500}
html[data-weight="light"] body,html[data-weight="light"] :is(input,select,textarea){font-weight:300}
html[data-weight="xlight"] body,html[data-weight="xlight"] :is(input,select,textarea){font-weight:200}
html[data-weight="xlight"] :is(strong,b){font-weight:400}
html[data-weight="light"] :is(strong,b){font-weight:500}
html[data-weight="bold"] .muted,html[data-weight="bold"] td{font-weight:500}
html[data-leading="airy"] body{line-height:1.65}
html[data-leading="airy"] .list td,html[data-leading="airy"] .list th{padding-top:9px;padding-bottom:9px}
html[data-font="90"] body{zoom:.9}
html[data-font="85"] body{zoom:.85}
html[data-font="80"] body{zoom:.8}
html[data-font="140"] body{zoom:1.4}
html[data-corners="square"] :is(.btn,.card,input,select,textarea,.app-tile,.app-tile .ic,.app-tile a.open,.menu,.menu a,.menu button,.settings-group,.toast,.saved,.suggest,.preview-card,.help-card,.seg,.seg button,.company-chip,.chip,.firm-chips a,.fav-list li,.set-group a,.set-nav,.tile,.kpi,.lane,.board-card){border-radius:3px!important}
html[data-corners="soft"] :is(.btn,.seg,.seg button,.company-chip,.firm-chips a,input:not([type=checkbox]):not([type=radio]),select){border-radius:999px!important}
html[data-corners="soft"] :is(.card,.app-tile,.settings-group,.menu,.preview-card,.help-card,.toast,.saved,.suggest,.tile,.kpi,.lane,.board-card){border-radius:18px!important}
html[data-corners="soft"] textarea{border-radius:14px!important}
html[data-cards="raised"] :is(.card,.settings-group,.app-tile,.tile,.kpi,.board-card){box-shadow:0 2px 10px rgba(0,0,0,.16),0 1px 2px rgba(0,0,0,.10);border-color:transparent}
html[data-cards="outline"] :is(.card,.settings-group,.app-tile,.tile,.kpi,.board-card){border-color:var(--line-strong)}
html[data-contrast="high"]{--line:var(--line-strong)!important;--muted:var(--text)!important;--nav-muted:var(--nav-text)!important}
html[data-contrast="high"] :focus-visible{outline:3px solid var(--accent)!important;outline-offset:2px}
html[data-links="underline"] .content a:not([class]),html[data-links="underline"] .content p a,html[data-links="underline"] .content td a{text-decoration:underline;text-underline-offset:2px}
/* the preview on the Darstellung tab */
.disp-preview{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
.disp-preview .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.disp-swatches{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.disp-swatch{position:relative;width:34px;height:34px;border-radius:50%;border:2px solid var(--line);background:var(--sw);cursor:pointer;padding:0}
.disp-swatch[aria-checked="true"]{outline:3px solid var(--text);outline-offset:2px}
.disp-swatch.company{background:conic-gradient(var(--accent) 0 50%,var(--card) 50% 100%)}
.disp-swatch.theme{background:linear-gradient(135deg,var(--card) 0 50%,var(--nav-bg) 50% 100%)}
.disp-swatch input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.disp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}

/* GET VERTICAL for every page (Andreas 23.11.2026: „Ich möchte, dass der Einheitsstil von Core genau dieser schönen Optik
   von vorher entspricht und nicht dem steifen Look von Finanzamt 0815“): the colours of the magazine (slate #262f36,
   lime #cedc00, paper #f4f6f2), the head of a page as a dark band with the lime print rail, a torn lower edge, the line
   under the title in handwriting (Permanent Marker), softer cards. */
@font-face{font-family:"Permanent Marker";font-weight:400;font-display:swap;src:url(fonts/permanent-marker-400.woff2) format("woff2")}
:root{--hero-bg:#262F36;--hero-text:#E8EBED;--hero-muted:rgba(232,235,237,.72);--hand:"Permanent Marker","Comic Sans MS",cursive;
  --torn:polygon(0 0,100% 0,100% calc(100% - 4px),96% 100%,91% calc(100% - 5px),85% calc(100% - 1px),78% calc(100% - 6px),71% calc(100% - 2px),
    64% calc(100% - 5px),57% 100%,50% calc(100% - 4px),43% calc(100% - 1px),36% calc(100% - 6px),29% calc(100% - 2px),22% calc(100% - 5px),
    15% 100%,8% calc(100% - 4px),3% calc(100% - 1px),0 calc(100% - 5px))}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head),.content > .back:first-child + .head{margin:-16px -20px 10px;padding:26px 28px 30px 48px;background:var(--hero-bg);color:var(--hero-text);
  clip-path:var(--torn);align-items:flex-end}
.content > .back + .head{margin-top:0}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head)::before,.content > .back:first-child + .head::before{left:26px;top:34px;bottom:22px}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head)::after,.content > .back:first-child + .head::after{left:22px;top:24px}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) h1.title,.content > .back:first-child + .head h1.title{color:#fff}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) .label,.content > .back:first-child + .head .label{color:var(--accent)}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) .label a,.content > .back:first-child + .head .label a{color:var(--accent)}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) .sub,.content > .back:first-child + .head .sub,.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) .muted{color:var(--hero-muted)}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) .quip,.content > .back:first-child + .head .quip{font-family:var(--hand);color:var(--accent);font-size:17px;letter-spacing:.01em;
  transform:rotate(-1.2deg);transform-origin:left center;margin-top:10px}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) .quip::before,.content > .back:first-child + .head .quip::before{display:none}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) .btn:not(.primary),.content > .back:first-child + .head .btn:not(.primary){color:var(--hero-text);border-color:rgba(232,235,237,.35);background:transparent}
/* only with a real mouse: on a touch screen :hover stays after the tap and left „⋯“ as a white block (30.11.2026) */
@media (hover:hover){.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) .btn:not(.primary):hover,.content > .back:first-child + .head .btn:not(.primary):hover{background:#fff;color:var(--hero-bg)}}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) select,.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) input{background:rgba(255,255,255,.08);color:var(--hero-text);border-color:rgba(232,235,237,.3)}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) .pill{background:rgba(255,255,255,.1);color:var(--hero-text)}
/* Ink colours of products (safety data sheets, Tintenflat): the same in every mode, like the board backgrounds; on the
   dark head band warn and ok in their light tones in every mode */
:root{--ink-k:#15191C;--ink-c:#00A3E0;--ink-m:#D6007E;--ink-y:#FFD400;--ink-w:#F4F5F2;--hero-warn:#F2B35C;--hero-ok:#7FD39A}
.wink{font-family:var(--hand);color:var(--accent-ink);font-size:15px;transform:rotate(-1deg);transform-origin:left center}
.card{border-radius:16px;box-shadow:0 1px 0 color-mix(in srgb,var(--bg) 40%,transparent)}
.empty-state .quip,.empty-state p.wink{font-family:var(--hand)}
@media (max-width:760px){
  .content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head),.content > .back:first-child + .head{margin:-14px -14px 8px;padding:20px 16px 24px 34px}
  .content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head)::before,.content > .back:first-child + .head::before{left:14px;top:28px}
  .content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head)::after,.content > .back:first-child + .head::after{left:10px;top:18px}
}
.content > .set-head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .set-head){position:relative;margin:-16px -20px 10px;padding:24px 28px 28px 48px;background:var(--hero-bg);color:var(--hero-text);clip-path:var(--torn)}
.content > .set-head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .set-head)::before{content:"";position:absolute;left:26px;top:34px;bottom:22px;width:3px;border-radius:3px;background:var(--accent)}
.content > .set-head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .set-head)::after{content:"";position:absolute;left:22px;top:24px;width:11px;height:11px;border-radius:50%;background:var(--accent)}
.content > .set-head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .set-head) h1.title{color:#fff}
.content > .set-head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .set-head) .label{color:var(--accent)}
@media (max-width:760px){.content > .set-head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .set-head){margin:-14px -14px 8px;padding:20px 16px 24px 34px}
  .content > .set-head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .set-head)::before{left:14px;top:28px}.content > .set-head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .set-head)::after{left:10px;top:18px}}

/* Choosing several from a list (core.js data-pick): grows with the page, no box that scrolls inside */
.pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:2px 14px;padding:6px 0;margin:4px 0 6px}
.pick label{display:flex;gap:8px;align-items:center;min-height:32px;font-size:14px;cursor:pointer;border-radius:8px;padding:0 6px}
.pick label:hover{background:var(--hover,rgba(127,127,127,.08))}
.pick label[hidden]{display:none}
.pick input{width:18px;height:18px;accent-color:var(--accent);flex:none}
.pick label small{color:var(--muted)}
.pick-head{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:6px 0 0}
.pick-head .pick-find{flex:1 1 200px;min-width:0;max-width:340px}
.pick-head .pick-n{color:var(--muted);margin-left:auto}
.pick-more{margin:0 0 8px}
/* Hold on a row or card opens the core menu (core.js), not the phone's own link preview */
tr.row-link,li.row,a.tile[href],a.card[href],a[class*='-card'][href],[data-ctx],[data-ctx-from]{-webkit-touch-callout:none}

/* Fields set into the surface (Andreas 23.11.2026: „Solche Auswahlfelder möchte ich nirgendwo mehr sehen. Die müssen viel
   mehr in die Oberfläche eingelassen sein.“): every choice and text field sits a little below the card – a recessed
   tone, a soft inner shadow, no hard frame, an own chevron; on focus the lime ring. Applies to every app at once. */
:root{--inset:color-mix(in srgb,var(--bg) 72%,var(--field));--inset-hover:color-mix(in srgb,var(--bg) 40%,var(--field));
  --inset-sh:inset 0 1px 2px rgba(0,0,0,.28),inset 0 0 0 1px color-mix(in srgb,var(--line) 55%,transparent);
  --chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%238C99A4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
select:not([multiple]):not([size]),.field select,.filter select,.menu select{appearance:none;-webkit-appearance:none;height:32px;padding:0 30px 0 11px;
  border:1px solid transparent;border-radius:9px;background:var(--inset) var(--chev) no-repeat right 10px center/12px 12px;box-shadow:var(--inset-sh);
  color:var(--text);cursor:pointer;max-width:100%;text-overflow:ellipsis;transition:background-color .12s,box-shadow .12s,border-color .12s}
select:not([multiple]):not([size]):hover,.field select:hover,.filter select:hover{background-color:var(--inset-hover)}
select:focus-visible,.field select:focus,.filter select:focus{outline:none;border-color:var(--accent);box-shadow:var(--inset-sh),0 0 0 3px color-mix(in srgb,var(--accent) 24%,transparent)}
select:disabled{cursor:not-allowed;opacity:.6}
.filter.pick::after{display:none}
.field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]):not([type=range]),.field textarea{
  background:var(--inset);border-color:transparent;border-radius:9px;box-shadow:var(--inset-sh)}
.field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]):not([type=range]):focus,.field textarea:focus{
  border-color:var(--accent);box-shadow:var(--inset-sh),0 0 0 3px color-mix(in srgb,var(--accent) 24%,transparent)}
.field input:disabled,.field select:disabled{box-shadow:none;background:transparent;border:1px dashed var(--line)}
.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head) select{background-color:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(232,235,237,.25)}
/* A choice that applies at once (core.js data-auto): the button next to it goes, the value reads as part of the line */
form.auto-pick{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
form.auto-pick [data-auto-btn]{display:none}
.pick-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 8px}
.pick-line>span{color:var(--muted)}
.pick-line select{height:30px}
/* A list as cards (core.js .stack: wide lists on the phone, tables with data-stack on the phone, tables with data-tiles
   everywhere), Andreas 26.11.2026: „gruselig … viel kompakter und ansprechender“. One card per row: the name on top,
   the other values flow after it as small „label value“ pairs (data-stack-plain: values only), empty ones and cells
   marked ph-hide left out, the tick box on the left, the icon buttons at the end. core.js marks the cells (st-title,
   st-sel, st-acts, st-empty). :root lifts the rules above the density and look settings of table.list. */

:root .table-wrap.stack{border:0;background:none;border-radius:0}
:root .table-wrap.stack table,:root .table-wrap.stack tbody{display:block;width:100%;table-layout:auto}
:root .table-wrap.stack thead{display:none}
:root .table-wrap.stack tr{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:0 0 6px;box-shadow:none}
:root .table-wrap.stack tr.st-has-sel{padding-left:42px}
:root .table-wrap.stack td,:root .table-wrap.stack th{display:inline-flex;align-items:center;gap:5px;width:auto;max-width:100%;min-width:0;padding:0;border:0;text-align:left;white-space:nowrap;
  font-size:13px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;background:none}
/* a cell of text plus a <small> (invoice no. and date, change and detail): the part that does not fit goes to the next
   line of the cell instead of past the card's edge, where overflow:hidden cut it away unseen (04.12.2026) */
:root .table-wrap.stack td{flex-wrap:wrap}
:root .table-wrap.stack td::before{content:attr(data-label);flex:none;color:var(--muted);font-size:11.5px;font-weight:600}
:root .table-wrap.stack td[data-label=""]::before,:root .table-wrap.stack td:not([data-label])::before,:root .table-wrap.stack td.st-title::before{display:none}
:root .table-wrap.stack td.st-empty{display:none}
:root .table-wrap.stack td.st-title{order:-1;display:block;flex:1 1 100%;font-size:15px;font-weight:600;white-space:normal;overflow:visible;overflow-wrap:anywhere}
:root .table-wrap.stack td.st-title a{color:var(--text);text-decoration:none}
:root .table-wrap.stack td.st-title small{font-weight:400}
:root .table-wrap.stack td.st-sel{position:absolute;left:12px;top:11px}
:root .table-wrap.stack td.st-acts{margin-left:auto;gap:6px}
:root .table-wrap.stack td .one{display:inline;max-width:none;white-space:nowrap}
:root .table-wrap.stack tr:has(> td.empty),:root .table-wrap.stack tr.ghead{display:block;padding:0;border:0;background:none}
:root .table-wrap.stack tr:has(> td.empty) td,:root .table-wrap.stack tr.ghead th{display:block;white-space:normal}

:root .table-wrap.stack td.ph-hide{display:none}
:root .table-wrap.stack table[data-stack-plain] td::before{display:none}
:root .table-wrap.stack .stars{display:inline-flex}:root .table-wrap.stack .stars > span + span{margin-left:-5px}
/* tiles on a wide screen: the cards side by side */
@media (min-width:761px){:root .table-wrap.stack.tiles tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:8px}
  :root .table-wrap.stack.tiles tr{margin:0}}
/* a list on the phone needs no CSV button (Excel opens on the computer) */
@media (max-width:760px){.tbl-export-bar{display:none}}
/* The page itself never moves sideways on the phone (a long link, a logo): wide content scrolls in its own frame */
html,body{overflow-x:clip}
@media (max-width:760px){.content > .back + .head{margin-top:0}}
/* The red thread of a sale (crm lead, quotation): lead → prospect → quotation → order, where it stands, with its documents */
.thread{display:flex;flex-wrap:wrap;align-items:center;gap:6px 4px;margin:0 0 12px;font-size:13.5px}
.thread .st{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:var(--field);color:var(--muted);font-weight:600}
.thread .sep{color:var(--muted);font-style:normal;padding:0 2px}
.thread .st.done{color:var(--text)}
.thread .st.done::after{content:"✓";color:var(--accent-ink);font-weight:800}
.thread .st.on{background:var(--accent);color:var(--on-accent)}
.thread .docs{display:inline-flex;flex-wrap:wrap;gap:6px;margin-left:8px}
.thread .docs .chip{text-decoration:none}
.thread .odoo{margin-left:auto;color:var(--muted);font-size:12.5px}
.thread a.st{text-decoration:none}
.thread a.st:hover{color:var(--text);background:var(--inset-hover,var(--field))}
/* Dropping files (core.js data-drop): the target under the pointer; zones with a frame of their own style .over themselves */
[data-drop].over:not([data-drop-zone]){outline:2px dashed var(--accent);outline-offset:3px;border-radius:12px}

/* Date and time fields show what they are (Andreas 23.11.2026: „nicht ersichtlich, dass es sich um einen Kalender
   handelt“): a calendar or clock on the left in every mode, also when empty (phones show an empty box otherwise). On
   Chrome, Edge and Safari the browser's own picker button lies invisibly over that symbol, so it opens the calendar;
   Firefox keeps its own button and gets no second one. */
input:is([type=date],[type=datetime-local],[type=month],[type=week],[type=time]){position:relative;padding-left:36px!important;
  background-repeat:no-repeat!important;background-position:10px center!important;background-size:18px 18px!important;min-width:9.5em}
input:is([type=date],[type=datetime-local],[type=month],[type=week]){background-image:var(--ic-date)!important}
input[type=time]{background-image:var(--ic-time)!important;min-width:7.5em}
input:is([type=date],[type=datetime-local],[type=month],[type=week],[type=time])::-webkit-calendar-picker-indicator{
  position:absolute;left:0;top:0;width:36px;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
@supports (-moz-appearance:none){
  input:is([type=date],[type=datetime-local],[type=month],[type=week],[type=time]){background-image:none!important;padding-left:9px!important}
}

/* Ask for a day (core.js coreAskDay) */
/* „Idee einbringen“ (Andreas 29.11.2026): one sentence, two ways – Marketing (Ideen-Board) or Ablauf (Ideen app) */
dialog.idea-quick{border:1px solid var(--line-strong);border-radius:14px;background:var(--card);color:var(--text);padding:18px;width:min(460px,calc(100vw - 24px))}
dialog.idea-quick::backdrop{background:rgba(0,0,0,.45)}
dialog.idea-quick form{margin:0;display:flex;flex-direction:column;gap:12px}
dialog.idea-quick h2{margin:0;display:flex;align-items:center;gap:8px;font-size:18px}
dialog.idea-quick textarea{width:100%;resize:vertical}
dialog.idea-quick .iq-to{display:grid;grid-template-columns:1fr 1fr;gap:8px}
dialog.idea-quick .iq-to .btn{height:auto;min-height:56px;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;padding:8px 12px;text-align:left;white-space:normal}
dialog.idea-quick .iq-to small{font-weight:500;font-size:12px;opacity:.8}
dialog.idea-quick .iq-foot{margin:0;display:flex;justify-content:space-between;align-items:center;font-size:13px}
@media (max-width:480px){dialog.idea-quick .iq-to{grid-template-columns:1fr}}
dialog.ask-day{border:1px solid var(--line-strong);border-radius:16px;background:var(--card);color:var(--text);padding:18px;width:min(340px,calc(100vw - 32px))}
dialog.ask-day::backdrop{background:rgba(0,0,0,.45)}
dialog.ask-day form{margin:0;display:flex;flex-direction:column;gap:14px}
.ask-day-q{display:flex;flex-direction:column;gap:8px;font-weight:600}
.ask-day-q input{height:44px;width:100%;border:1px solid var(--line);border-radius:10px;background-color:var(--field);color:var(--text);font:inherit;padding-right:10px}
.ask-day-row{display:flex;justify-content:flex-end;gap:8px}

/* Swipe away (core.js data-swipe): up and down still scroll */
[data-swipe]{touch-action:pan-y}
[data-swipe].swiping{position:relative;z-index:1;background:var(--card)}

/* A required field left empty (core.js, instead of the browser's bubble) */
.is-missing{border-color:var(--warn)!important;box-shadow:0 0 0 1px var(--warn)}
.missing-msg{display:block;margin:4px 0 0;font-size:12.5px;color:var(--warn)}

/* One main action per page (bedienkonzept.md, finding 12): an empty list repeats the main action of the page head in its
   middle; then that one stays the highlighted one and the empty state shows a plain button */
.content:has(.btn.primary:not(.empty-state .btn)) .empty-state .btn.primary,
.content:has(.btn.primary:not(.mail-send):not(.empty-state .btn)) .btn.primary.mail-send{
  background:transparent;color:var(--text);border-color:var(--line-strong);font-weight:600;height:32px;padding:0 12px;font-size:14px;border-radius:10px}
.content:has(.btn.primary:not(.empty-state .btn)) .empty-state .btn.primary:hover,
.content:has(.btn.primary:not(.mail-send):not(.empty-state .btn)) .btn.primary.mail-send:hover{transform:none;box-shadow:none}

/* Seitenfeld (bedienkonzept.md, finding 10: nothing tears you out of the record): related records open on the right in a
   frame of their own; inside it the page shows without rail, top bar and tabs (html.in-peek, set in base.html) */
html.in-peek .rail,html.in-peek .mbar,html.in-peek .topbar,html.in-peek .where-bar,html.in-peek .version-m{display:none!important}
html.in-peek{--chrome-h:0px}
html.in-peek .content{padding:12px 16px 40px}
.peek{position:fixed;z-index:60;top:0;right:0;bottom:0;width:min(620px,48vw);display:flex;flex-direction:column;background:var(--bg);
  border-left:1px solid var(--line-strong);box-shadow:-12px 0 32px rgba(0,0,0,.25);transform:translateX(0);transition:transform .2s ease}
.peek[hidden]{display:none}
.peek-head{display:flex;align-items:center;gap:8px;padding:8px 10px 8px 16px;border-bottom:1px solid var(--line);background:var(--card)}
.peek-ic{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:8px;background:none;color:var(--muted);cursor:pointer}
.peek-ic:hover,.peek-ic:focus-visible{background:var(--field);color:var(--text)}
.peek-head .t{flex:1;min-width:0;font-weight:700;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.peek iframe{flex:1;width:100%;border:0;background:var(--bg)}
.peek.loading iframe{opacity:.35}
@media (max-width:760px){.peek{width:100vw;border-left:0}}
/* beside a list: the list moves aside and stays in sight, the opened item is marked */
@media (min-width:761px){html.peek-beside .content{padding-right:calc(min(620px,48vw) + 16px)}}
[data-peek-list] [data-peek-item]{cursor:pointer}
[data-peek-list] .peek-on{outline:2px solid var(--accent);outline-offset:-2px}
[data-peek-list] tr.peek-on td{background:color-mix(in srgb,var(--accent) 10%,transparent)}
@media (prefers-reduced-motion:reduce){.peek{transition:none}}

/* Search bar like Odoo's (core/searchbar.html): chips in the field, menu in three columns */
.sb{position:relative;flex:1 1 420px;min-width:0;max-width:760px}
.sb-field{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;min-height:36px;padding:3px 4px 3px 8px;background:var(--field);border:1px solid var(--line);border-radius:10px}
.sb-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 30%,transparent)}
.sb-lens{display:inline-flex;color:var(--muted)}
.sb-field input[type=search]{flex:1 1 120px;min-width:90px;height:28px;border:0;background:transparent;color:var(--text);font-size:13.5px;outline:none;padding:0 4px}
.sb-chip{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 4px 0 7px;border-radius:7px;background:var(--accent);color:var(--on-accent);font-size:12.5px;font-weight:600;text-decoration:none;white-space:nowrap;max-width:260px}
.sb-chip span{overflow:hidden;text-overflow:ellipsis}
.sb-chip.grp{background:color-mix(in srgb,var(--ok) 28%,var(--card));color:var(--text)}
.sb-chip b{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:5px;font-weight:700}
.sb-chip:hover b{background:rgba(0,0,0,.14)}
.sb-menu{position:static;margin-left:auto}
.sb-menu>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;height:28px;padding:0 9px;border:1px solid var(--line-strong);border-radius:7px;background:var(--card);cursor:pointer;color:var(--text);font-size:13px;font-weight:600;white-space:nowrap}
.sb-menu>summary svg:first-child{color:var(--accent-ink)}
.sb-menu>summary .sb-n{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent);color:var(--on-accent);font-size:11.5px}
.sb-menu>summary::-webkit-details-marker{display:none}
.sb-menu>summary:hover,.sb-menu[open]>summary{border-color:var(--accent)}
.sb-menu[open]>summary svg:last-child{transform:rotate(180deg)}
/* closed: the menu takes no room (Chrome lays out the content of a closed <details> and its columns stuck out at 390 px) */
details:not([open])>.sb-pop{display:none}
.sb-pop{position:absolute;right:0;top:calc(100% + 6px);z-index:40;display:grid;grid-template-columns:repeat(3,minmax(200px,1fr));gap:0;width:min(860px,calc(100vw - 24px));max-height:min(70vh,640px);overflow:auto;background:var(--card);border:1px solid var(--line-strong);border-radius:12px;box-shadow:0 14px 40px rgba(0,0,0,.28);padding:10px 4px}
.sb-col{padding:4px 10px;border-left:1px solid var(--line)}
.sb-col:first-child{border-left:0}
.sb-col h4{display:flex;align-items:center;gap:7px;margin:4px 6px 8px;font-size:14px}
.sb-col h4 svg{color:var(--accent-ink)}
.sb-col hr{border:0;border-top:1px solid var(--line);margin:6px 4px}
.sb-item{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:7px;color:var(--text);text-decoration:none;font-size:13.5px;line-height:1.25}
.sb-item:hover{background:var(--field)}
.sb-item.on{font-weight:700}
.sb-item .tick{display:inline-flex;width:14px;flex:0 0 14px;color:var(--accent-ink)}
.sb-item small{margin-left:auto;color:var(--muted);font-variant-numeric:tabular-nums}
.sb-date{flex-wrap:wrap}
.sb-periods{display:flex;gap:4px;margin-left:auto}
.sb-periods a{font-size:11.5px;padding:2px 6px;border-radius:5px;background:var(--field);color:var(--muted);text-decoration:none}
.sb-periods a.on,.sb-periods a:hover{background:var(--accent);color:var(--on-accent)}
.sb-fav a{display:flex;align-items:center;gap:6px;color:inherit;text-decoration:none;flex:1;min-width:0}
.sb-fav a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-x{border:0;background:transparent;color:var(--muted);cursor:pointer;font-size:16px;line-height:1;padding:0 4px;border-radius:5px}
.sb-x:hover{background:var(--danger-fill);color:var(--on-danger)}
.sb-none{font-size:12.5px;color:var(--muted);margin:2px 8px 8px}
.sb-save{margin:6px 0 0;border-top:1px solid var(--line);padding-top:6px}
.sb-save>summary{cursor:pointer;padding:6px 8px;border-radius:7px;font-size:13.5px}
.sb-save>summary:hover{background:var(--field)}
.sb-save>div{display:flex;flex-direction:column;gap:6px;padding:6px 8px}
.sb-save input[type=text]{height:30px;padding:0 8px;border:1px solid var(--line);border-radius:7px;background:var(--field);color:var(--text)}
@media (max-width:760px){
  .sb{flex-basis:100%;max-width:none}
  .sb-pop{position:fixed;left:8px;right:8px;top:auto;bottom:8px;width:auto;grid-template-columns:1fr;max-height:80vh}
  .sb-col{border-left:0;border-top:1px solid var(--line)}
  .sb-col:first-child{border-top:0}
  .sb-item{padding:9px 8px}
}
/* grouped lists (Gruppieren nach): a head per group with count and sum, folded like in Odoo */
.grp-list{display:flex;flex-direction:column;gap:6px}
.grp-list>details{border:1px solid var(--line);border-radius:10px;background:var(--card);overflow:hidden}
.grp-list>details>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:8px 12px;cursor:pointer;font-weight:700;font-size:13.5px}
.grp-list>details>summary::-webkit-details-marker{display:none}
.grp-list>details>summary::before{content:"";width:6px;height:6px;border-right:1.8px solid var(--muted);border-bottom:1.8px solid var(--muted);transform:rotate(-45deg);transition:transform .15s;margin-right:2px}
.grp-list>details[open]>summary::before{transform:rotate(45deg)}
.grp-list>details>summary .n{color:var(--muted);font-weight:600;font-variant-numeric:tabular-nums}
.grp-list>details>summary .sum{margin-left:auto;font-variant-numeric:tabular-nums}
.grp-list>details>summary:hover{background:var(--field)}
.grp-list>details>.rows{border:0;border-top:1px solid var(--line);border-radius:0}
.sb-pop.two{grid-template-columns:repeat(2,minmax(220px,1fr));width:min(600px,calc(100vw - 24px))}
.sb-moregroups>summary{list-style:none;cursor:pointer}   /* Regel F: further groupings under „Mehr“ */
.sb-moregroups>summary::-webkit-details-marker{display:none}
.sb-moregroups>summary small{margin-left:auto;color:var(--muted)}
@media (max-width:760px){.sb-pop.two{grid-template-columns:1fr;width:auto}}
/* Task counters in the top bar like Odoo's (core/base.html data-board): red overdue, orange today, green later */
.tboard{display:inline-flex;align-items:center;gap:3px;height:30px;padding:0 6px;border-radius:8px;color:var(--muted)}
.tboard[hidden]{display:none}
.tboard:hover{background:var(--field)}
.tboard .tb-ico{display:inline-flex;margin-right:2px}
/* dark figures on the colours (Andreas 24.11.2026: white was hard to read); "later" only in the tooltip */
.tboard .tb{min-width:20px;height:18px;padding:0 5px;border-radius:9px;font-size:11.5px;font-weight:800;line-height:18px;text-align:center;text-decoration:none;color:#1d1d1b;font-variant-numeric:tabular-nums}
.tboard .tb[hidden],.tboard .tb.later{display:none}
.tboard .tb.late{background:var(--danger-fill);color:var(--on-danger)}
.tboard .tb.today{background:var(--warn)}
.tboard.none .tb-ico{opacity:.55}
@media (max-width:760px){.topicons .tboard{display:none}}   /* the phone: one number, at Mein Tag in the bar below (25.11.2026) */

/* Tree: groups that open instead of a wall of tiles (Andreas 25.11.2026: "nicht so erschlagen von Dutzenden, Hunderten
   Kacheln"). Two levels at most: <div class="card tree"> with <details class="tree-node"> (summary: .tree-name with
   <small> below, .tree-num on the right) and plain rows <a class="tree-row">. data-keep="<key>" remembers open/closed
   on the device. Bodies: .tree-body (text, indented) or .tree-body.flush (tables, nested nodes). */
.tree{padding:0;overflow:hidden;margin:0 0 14px}
.tree-node+.tree-node,.tree-node+.tree-row,.tree-row+.tree-node,.tree-row+.tree-row{border-top:1px solid var(--line)}
.tree-node>summary,.tree-row{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 14px;color:var(--text);text-decoration:none}
.tree-node>summary{cursor:pointer;list-style:none}
.tree-node>summary::-webkit-details-marker{display:none}
.tree-node>summary::before{content:"";flex:none;width:7px;height:7px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(-45deg);transition:transform .15s}
.tree-node[open]>summary::before{transform:rotate(45deg)}
.tree-row::before{content:"";flex:none;width:9px}
.tree-node>summary:hover,a.tree-row:hover{background:var(--field)}
.tree-name{flex:1;min-width:0}
.tree-name strong{font-weight:700}
.tree-name small{display:block;color:var(--muted);font-size:12.5px}
.tree-num{flex:none;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.tree-body{padding:0 14px 12px 33px}
.tree-body.flush{padding:0 0 6px}
.tree-body.flush table.list td:first-child,.tree-body.flush table.list th:first-child{padding-left:33px}
.tree-body .tree-node>summary,.tree-body .tree-row{min-height:44px;padding-left:33px}
.tree-body .tree-node>.tree-body{padding-left:52px}
.tree-body>.tree-node,.tree-body>.tree-row{border-top:1px solid var(--line)}
@media (prefers-reduced-motion:reduce){.tree-node>summary::before{transition:none}}

/* Bars everyone arranges for himself (bars.js, Andreas 25.11.2026): until the person's arrangement is applied the bars
   wait invisibly (at most 1.5 s); on a laptop or PC the buttons are quiet: no frame, symbol only, the name as tooltip */
html.bars-wait :is([data-bar],.actions,.actionbar,.tabs,[role=toolbar]):not([data-bar-done]){visibility:hidden}
.bar-more[hidden]{display:none}
.cbar button:disabled,.cbar .btn:disabled{pointer-events:none}
.bar-more{flex:none}
.bar-more-btn{width:32px;padding:0;border-color:transparent}
@media (pointer:fine){
  .actions .btn,.actionbar .btn{height:30px;padding:0 10px;font-size:13px;border-radius:7px}
  .actions .btn:not(.primary):not(.danger),.actionbar .btn:not(.primary):not(.danger){border-color:transparent;background:transparent;color:var(--text)}
  .actions .btn:not(.primary):hover,.actionbar .btn:not(.primary):hover,.actions .btn:not(.primary):focus-visible,.actionbar .btn:not(.primary):focus-visible{background:var(--field)}
  .bar-icons .btn.has-ic:not(.primary) .lbl{display:none}
  .bar-icons .btn.has-ic:not(.primary){width:32px;padding:0}
  .bar-icons .btn.has-ic:not(.primary) svg{width:17px;height:17px}
  .actionbar,.actions{gap:2px}
}
.bar-more .menu li>.btn,.bar-more .menu li>form .btn,.bar-more .menu li>form>button,.bar-more .menu li>a,.bar-more .menu li>button,.bar-more .menu li>.menu-host>button{
  display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;height:auto;min-width:0;padding:7px 10px;border:0;border-radius:7px;
  background:transparent;color:var(--text);font-size:13.5px;font-weight:500;flex-direction:row;text-align:left}
.bar-more .menu li>*:hover,.bar-more .menu li>form .btn:hover{background:var(--field)}
.bar-more .menu .lbl,.bar-more .menu li span{display:inline!important}
.bar-more .menu svg{margin-left:0!important;width:16px;height:16px;color:var(--muted)}
.bar-more .menu li>form{display:block;margin:0}
.bar-edit{outline:2px dashed var(--accent);outline-offset:4px;border-radius:10px;flex-wrap:wrap}
.bar-edit>*:not(.bar-tools){cursor:grab;user-select:none;-webkit-user-select:none;touch-action:none}
.bar-edit>*:not(.bar-tools):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.bar-edit .bar-off{opacity:.3}
.bar-edit .bar-off::after{content:"";position:absolute}
.bar-edit .bar-drag{opacity:.75;cursor:grabbing;box-shadow:0 4px 14px rgba(0,0,0,.25);border-radius:8px}
.bar-tools{display:inline-flex;align-items:center;gap:8px;margin-left:auto;padding-left:8px}
.bar-hint{font-size:12px;color:var(--muted)}

/* ===== Arbeitsfläche (ws-*, core/ws.html, ws.js): the shared look of the own Odoo apps (wallpen_service_desk,
   wallTalk, Zahlungsplanung, Gebäude, Stellen, QS) for every app that is a place of work (Andreas 25.11.2026: „die tollen
   Dinge, die wir in Odoo mühsam gebaut haben, auf jeden Fall auch in Core abbilden“). The app's own narrow bar with
   symbol and text, a big title with search and one yellow-green primary action, views as chips with counters, groups
   with a line of explanation, rows with faces and marks, a focus view with „Weiter“, a chat with bubbles, a composer,
   a right column with tabs, a ribbon in the corner. Colors only from the mode variables. No band with a quip here. */
.content:has(> .ws){padding:0;max-width:none;gap:0}
.ws{--ws-surface:var(--card);--ws-raised:color-mix(in srgb,var(--card) 62%,var(--field));--ws-hover:var(--field);
  --ws-team:color-mix(in srgb,var(--accent) 26%,var(--card));--ws-cust:var(--field);--ws-info:var(--cal-1);
  --ws-tint:color-mix(in srgb,var(--accent) 14%,transparent);
  display:flex;min-height:calc(var(--vh) - var(--chrome-h));background:var(--bg);color:var(--text);position:relative}
.ws a{text-decoration:none}
.ws h1,.ws h2{font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-weight:700;margin:0;letter-spacing:.005em}
.ws-rail{flex:0 0 78px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 0;background:var(--ws-surface);border-right:1px solid var(--line);position:sticky;top:0;align-self:flex-start;height:calc(var(--vh) - var(--chrome-h))}
.ws-ri{position:relative;width:66px;min-height:58px;padding:6px 2px;border-radius:14px;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center}
.ws-ri:hover{background:var(--ws-hover);color:var(--text)}
.ws-ri[aria-current="page"]{background:var(--ws-tint);color:var(--accent-ink)}
.ws-ri span{font-size:11px;font-weight:700;line-height:1.15;letter-spacing:.01em}
.ws-ri .ws-n{position:absolute;top:3px;right:5px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--field);color:var(--muted);font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.ws-ri .ws-n.is-late{background:var(--danger-fill);color:var(--on-danger)}
.ws-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
/* Bereichsspalte (base.html, apps.AREA_COLUMN): the same narrow bar beside a page of Finanzen, Personal, Lager und Einkauf,
   Firma, Marketing; long words break with a hyphen */
.area-row{flex:1 0 auto;display:flex;align-items:stretch;min-width:0}
.area-row>.content{flex:1 1 auto;min-width:0}
.area-col{--ws-surface:var(--card);--ws-hover:var(--field);--ws-tint:color-mix(in srgb,var(--accent) 14%,transparent);overflow-y:auto;scrollbar-width:none}
.area-col a{text-decoration:none}
.area-col .ws-ri span{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:anywhere}
/* head: big title, search, quiet tools, one primary action */
.ws-head{display:flex;align-items:center;gap:12px 16px;flex-wrap:wrap;padding:18px 28px 12px}
.ws-title{display:flex;flex-direction:column;margin-right:6px;min-width:0}
.ws-over{font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-weight:600;font-size:12px;letter-spacing:.2em;color:var(--accent-ink);text-transform:uppercase}
.ws-title h1{font-size:32px;line-height:1.05}
.ws-titlemenu{display:none}
.ws-search{flex:1 1 260px;max-width:560px;height:44px;display:flex;align-items:center;gap:10px;padding:0 8px 0 16px;margin:0;border-radius:22px;border:1px solid var(--line);background:var(--ws-surface);color:var(--muted)}
.ws-search:focus-within{border-color:var(--accent)}
.ws-search input{flex:1 1 auto;min-width:0;height:40px;border:0;background:transparent;color:var(--text);font-size:15px;outline:0;padding:0}
.ws-search input::placeholder{color:var(--muted)}
.ws-key{font-size:12px;font-weight:700;padding:2px 7px;border-radius:6px;background:var(--field);color:var(--muted);white-space:nowrap}
.ws-tools{display:flex;gap:4px;align-items:center;margin-left:auto}
.ws-tool{width:44px;height:44px;border-radius:22px;border:0;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.ws-tool:hover{background:var(--ws-hover);color:var(--text)}
.ws-primary{height:44px;padding:0 18px;border-radius:22px;border:0;background:var(--accent);color:var(--on-accent);font-weight:700;font-size:15px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer}
.ws-primary:hover{filter:brightness(1.08)}
.ws-primary:disabled{opacity:.45;cursor:default}
/* views as chips with counters: chosen = outline, not a fill (action and choice stay apart) */
.ws-chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:0 28px 12px}
.ws-chip{height:36px;padding:0 14px;border-radius:18px;border:0;background:var(--ws-raised);color:var(--muted);font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;cursor:pointer}
.ws-chip:hover{background:var(--ws-hover);color:var(--text)}
.ws-chip[aria-current="page"],.ws-chip.on{color:var(--accent-ink);box-shadow:inset 0 0 0 1.5px var(--accent)}
.ws-chip .ws-n{font-size:12px;padding:1px 7px;border-radius:9px;background:var(--line);color:var(--text)}
.ws-chip[aria-current="page"] .ws-n{background:var(--ws-tint);color:var(--accent-ink)}
.ws-chips .ws-sep{width:1px;height:22px;background:var(--line);margin:0 4px}
.ws-figs{padding:0 28px 12px;margin:0}
.ws-more{position:relative}
.ws-more>summary{list-style:none}.ws-more>summary::-webkit-details-marker{display:none}
.ws-morelist{position:absolute;z-index:30;top:calc(100% + 6px);right:0;display:flex;flex-wrap:wrap;gap:6px;width:max-content;max-width:min(440px,calc(100vw - 32px));padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--ws-surface,var(--card));box-shadow:0 8px 24px rgba(0,0,0,.18)}
.ws-body{padding:4px 28px 120px;display:flex;flex-direction:column;gap:22px}
/* groups with a heading and a line of explanation */
.ws-ghead{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 8px 4px}
.ws-ghead h2{font-size:20px}
.ws-ghead span{font-size:13px;color:var(--muted)}
.ws-rows{display:flex;flex-direction:column;gap:4px}
/* a row: face with dot, name, title, preview, marks on the right, assignee as a face */
.ws-row{position:relative;display:flex;align-items:center;gap:14px;padding:12px 16px 12px 12px;border-radius:16px;background:var(--ws-surface);cursor:pointer}
.ws-row:hover{background:var(--ws-raised)}
.ws-row.is-picked{background:var(--ws-tint);box-shadow:inset 0 0 0 1.5px var(--accent)}
.ws-row.is-focus{box-shadow:inset 3px 0 0 var(--accent);background:var(--ws-raised)}
.ws-row.is-new .ws-rname{font-weight:700}
.ws-box{flex:none;width:22px;height:22px;margin:0;accent-color:var(--accent);cursor:pointer}
.ws-rmain{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:14px;color:inherit}
.ws-rtext{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.ws-rtext>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws-rtop{display:flex;align-items:baseline;gap:8px;min-width:0}
.ws-rname{font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws-rsub{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws-rtitle{font-size:14.5px}
.ws-rtitle b{color:var(--danger);margin-right:6px}
.ws-rprev{font-size:13px;color:var(--muted)}
.ws-rprev em{font-style:normal;font-weight:700;color:var(--text)}
.ws-rprev em.is-note{color:var(--accent-ink)}
.ws-rmeta{flex:none;display:flex;align-items:center;gap:8px;max-width:48%;flex-wrap:wrap;justify-content:flex-end}
.ws-wait{min-width:64px;text-align:right;font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap}
.ws-wait.is-new{color:var(--accent-ink)}
.ws-wait.is-late{color:var(--danger)}
.ws-eye{display:inline-flex;align-items:center;gap:3px;font-size:11.5px;font-weight:700;color:var(--warn);white-space:nowrap}
.ws-empty{color:var(--muted);margin:40px 4px}
/* faces: monogram or photo (core avatar), a dot for presence or state */
.ws-face{position:relative;flex:none;display:inline-flex}
.ws-face .avatar{border:0}
.ws-face.is-none{width:32px;height:32px;border-radius:50%;border:1.5px dashed var(--line-strong);color:var(--muted);font-size:13px;font-weight:700;align-items:center;justify-content:center}
.ws-dot{position:absolute;right:-1px;bottom:-1px;width:12px;height:12px;border-radius:50%;border:2.5px solid var(--ws-surface);background:var(--muted)}
.ws-dot.is-ok{background:var(--ok)}.ws-dot.is-warn{background:var(--warn)}.ws-dot.is-bad{background:var(--danger)}
/* marks: mood, warranty, SK/SSK, deadline, serial number, company */
.ws-mark{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;padding:3px 9px;border-radius:9px;background:var(--ws-raised);color:var(--muted);white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.ws-mark.is-bad{color:var(--danger);background:color-mix(in srgb,var(--danger) 14%,transparent)}
.ws-mark.is-warn{color:var(--warn);background:color-mix(in srgb,var(--warn) 15%,transparent)}
.ws-mark.is-ok{color:var(--ok);background:color-mix(in srgb,var(--ok) 14%,transparent)}
.ws-mark.is-info{color:var(--ws-info);background:color-mix(in srgb,var(--ws-info) 15%,transparent)}
.ws-mark.is-accent{color:var(--on-accent);background:var(--accent);font-weight:700}
.ws-mark.is-firm{color:var(--text);background:var(--field);font-weight:700;letter-spacing:.04em}
/* several chosen: one bar at the bottom, undo in the toast */
.ws-bulk{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:45;display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:center;max-width:calc(100vw - 24px);padding:8px 10px 8px 18px;border-radius:26px;background:var(--card);border:1px solid var(--line-strong);box-shadow:0 14px 40px rgba(0,0,0,.35)}
.ws-bulk b{margin-right:6px}
.ws-bulk .menu{top:auto;bottom:calc(100% + 8px)}
.ws-ghost{height:40px;padding:0 14px;border-radius:20px;border:0;background:transparent;color:var(--text);font-weight:600;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer;text-decoration:none}
.ws-ghost:hover:not(:disabled){background:var(--ws-hover)}
.ws-ghost:disabled{opacity:.5;cursor:default}
.ws-ghost.is-bad{color:var(--danger)}
.ws-round{width:40px;height:40px;padding:0;border-radius:50%;border:0;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.ws-round:hover{background:var(--ws-hover);color:var(--text)}
/* focus view: head with back, "x von y", status as steps, assignee, snooze, more, next */
.ws-focus{height:calc(var(--vh) - var(--chrome-h));min-height:0;overflow:hidden}
.ws-focus .ws-main{min-height:0}
.ws-fhead{flex:none;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 16px;background:var(--ws-surface);border-bottom:1px solid var(--line);z-index:5}
.ws-back{color:var(--muted);padding:0 14px 0 8px}
.ws-num{font-size:13px;color:var(--muted);white-space:nowrap}
.ws-flex{flex:1 1 auto}
.ws-steps{display:flex;gap:3px;padding:3px;border-radius:22px;background:var(--bg);border:1px solid var(--line);flex-wrap:wrap;margin:0}
.ws-step{height:32px;padding:0 13px;border-radius:16px;border:0;background:transparent;color:var(--muted);font-weight:700;font-size:13px;white-space:nowrap;cursor:pointer}
.ws-step:hover:not(:disabled){color:var(--text)}
.ws-step:disabled{cursor:default}
.ws-step[aria-pressed="true"]{color:var(--accent-ink);box-shadow:inset 0 -3px 0 var(--accent)}
.ws-step.is-arbeit[aria-pressed="true"]{color:var(--ws-info);box-shadow:inset 0 -3px 0 var(--ws-info)}
.ws-step.is-wartet[aria-pressed="true"]{color:var(--warn);box-shadow:inset 0 -3px 0 var(--warn)}
.ws-step.is-ok[aria-pressed="true"]{color:var(--ok);box-shadow:inset 0 -3px 0 var(--ok)}
.ws-who{height:40px;display:flex;align-items:center;gap:8px;padding:0 12px 0 4px;border-radius:20px;border:1px solid var(--line);background:var(--bg);color:var(--text);cursor:pointer}
.ws-who:hover{border-color:var(--accent)}
.ws-who b{font-weight:600;font-size:14px;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}
.ws-next{height:40px;padding:0 14px 0 16px;border-radius:20px;border:1px solid var(--accent);background:transparent;color:var(--accent-ink);font-weight:700;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.ws-next:hover{background:var(--ws-tint)}
.ws-next[aria-disabled="true"]{opacity:.45;pointer-events:none}
.ws-fbody{flex:1 1 auto;min-height:0;display:flex;position:relative}
.ws-conv{position:relative;flex:1 1 auto;min-width:0;display:flex;flex-direction:column;overflow:hidden}
.ws-thread{flex:1 1 0;min-height:0;overflow-y:auto;padding:20px 32px 12px;scrollbar-width:thin}
.ws-col{max-width:860px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.ws-who-head{display:flex;align-items:center;gap:14px;margin-bottom:4px}
.ws-who-head>div{display:flex;flex-direction:column;min-width:0}
.ws-who-name{overflow-wrap:anywhere;font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-weight:700;font-size:28px;line-height:1.05}
.ws-who-sub{color:var(--muted);font-size:14px;overflow-wrap:anywhere}
.ws-who-sub b{color:var(--text);font-weight:600}
.ws-banner{padding:10px 14px;border-radius:12px;background:color-mix(in srgb,var(--warn) 13%,transparent);color:var(--warn);font-size:14px;font-weight:600}
.ws-banner.is-bad{background:color-mix(in srgb,var(--danger) 13%,transparent);color:var(--danger)}
.ws-banner.is-calm{background:var(--ws-raised);color:var(--muted);font-weight:500}
.ws-banner .ws-link{margin-left:6px}
.ws-link{border:0;background:transparent;padding:0 2px;color:var(--accent-ink);font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.ws-link:hover{text-decoration:underline}
.ws-facts{width:100%;border-collapse:collapse;font-size:14px;border-radius:12px;overflow:hidden;background:var(--ws-surface)}
.ws-facts th,.ws-facts td{padding:7px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.ws-facts tr:last-child th,.ws-facts tr:last-child td{border-bottom:0}
.ws-facts th{width:34%;color:var(--muted);font-weight:600;white-space:nowrap}
.ws-facts td{overflow-wrap:anywhere}
.ws-day{align-self:center;font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--muted);text-transform:uppercase;margin:6px 0}
/* chat: customer left, team right, notes dashed, system entries small */
.ws-msg{display:flex;flex-direction:column;gap:4px;max-width:78%;align-self:flex-start}
.ws-msg.is-team,.ws-msg.is-note{align-self:flex-end}
.ws-msg.is-team .ws-meta,.ws-msg.is-note .ws-meta{text-align:right}
.ws-bubble{padding:12px 15px;font-size:15px;line-height:1.48;border-radius:4px 18px 18px 18px;background:var(--ws-cust);overflow-wrap:anywhere;white-space:pre-line}
.ws-msg.is-team .ws-bubble{background:var(--ws-team);border-radius:18px 4px 18px 18px}
.ws-msg.is-note .ws-bubble{background:var(--ws-raised);border:2px dashed var(--accent);border-radius:18px 4px 18px 18px}
.ws-msg.is-pending .ws-bubble{opacity:.75}
.ws-notehead{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.1em;color:var(--accent-ink);margin-bottom:6px;white-space:normal}
.ws-notehead span{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:6px;background:var(--accent);color:var(--on-accent)}
.ws-more{display:block;margin-top:6px;font-size:13px}
.ws-meta{font-size:12px;color:var(--muted);padding:0 4px}
.ws-meta .ws-link{font-size:12px}
.ws-sys{align-self:center;font-size:12.5px;color:var(--muted);display:inline-flex;gap:6px;align-items:center}
.ws-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;white-space:normal}
.ws-file{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:10px;background:color-mix(in srgb,var(--text) 8%,transparent);color:inherit;font-size:13.5px}
.ws-file small{color:var(--muted)}
.ws-sendbar{margin-top:10px;height:3px;border-radius:2px;background:color-mix(in srgb,var(--text) 12%,transparent);overflow:hidden}
.ws-sendbar i{display:block;height:100%;background:var(--accent);transform-origin:left center;animation:ws-send linear forwards}
@keyframes ws-send{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media (prefers-reduced-motion:reduce){.ws-sendbar i{animation:none}}
/* ribbon across the corner (warranty) */
.ws-ribbon{position:absolute;top:0;right:0;width:150px;height:150px;overflow:hidden;pointer-events:none;z-index:3}
.ws-ribbon span{position:absolute;top:30px;right:-44px;width:200px;transform:rotate(45deg);text-align:center;padding:6px 0;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;box-shadow:0 3px 10px rgba(0,0,0,.25)}
.ws-ribbon.is-ok span{background:var(--ok);color:var(--bg)}
.ws-ribbon.is-bad span{background:var(--danger-fill);color:var(--on-danger)}
.ws-ribbon.is-warn span{background:var(--warn);color:var(--bg)}
/* composer: answer or note, channel with automatic choice and reason, toolbar */
.ws-cwrap{flex:none;padding:8px 32px 16px;max-height:calc(100% - 96px);display:flex;flex-direction:column}
.ws-composer{position:relative;max-width:860px;width:100%;margin:0 auto;border-radius:20px;background:var(--ws-raised);border:1px solid var(--line);display:flex;flex-direction:column;min-height:0}
.ws-composer:focus-within{border-color:var(--line-strong)}
.ws-composer.is-note{border:2px dashed var(--accent)}
.ws-ctop{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap;padding:8px 10px 0}
.ws-seg{display:flex;gap:2px;padding:3px;border-radius:18px;background:var(--bg);margin:0;border:0}
.ws-seg label{position:relative;height:32px;padding:0 13px;display:inline-flex;align-items:center;border-radius:16px;color:var(--muted);font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap}
.ws-seg input{position:absolute;opacity:0;pointer-events:none}
.ws-seg label:has(input:checked){color:var(--text);box-shadow:inset 0 -3px 0 var(--accent);border-radius:0}
.ws-seg label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:1px}
.ws-why{font-size:12.5px;color:var(--muted)}
.ws-why.is-hand{color:var(--warn)}
.ws-presence{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap}
.ws-presence i{width:8px;height:8px;border-radius:50%;background:var(--muted)}
.ws-presence.is-in{color:var(--ok)}.ws-presence.is-in i{background:var(--ok)}
.ws-presence.is-online{color:var(--warn)}.ws-presence.is-online i{background:var(--warn)}
/* the typing area set off from the composer (Andreas 25.11.2026: „ein bisschen abgesetzt“): its own calm field */
.ws-input{display:block;width:calc(100% - 20px);margin:8px 10px 8px;min-height:76px;max-height:40vh;field-sizing:content;padding:10px 13px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--text);font-size:15px;line-height:1.45;resize:none;overflow-y:auto;transition:border-color .15s}
.ws-input:hover{border-color:var(--line-strong)}
.ws-input:focus{outline:0;border-color:var(--line-strong);box-shadow:0 0 0 3px color-mix(in srgb,var(--line-strong) 25%,transparent)}
.ws-cfoot{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:0 10px 10px}
.ws-cfoot .ws-ghost{color:var(--muted)}
.ws-cfoot .ws-ghost:hover{color:var(--text)}
.ws-split{display:inline-flex}
.ws-split .ws-primary:first-child{border-radius:22px 0 0 22px}
.ws-split .ws-primary+.ws-primary{border-radius:0 22px 22px 0;padding:0 12px;margin-left:1px}
.ws-cextra{border-top:1px solid var(--line);padding:10px 12px;display:flex;flex-direction:column;gap:8px}
.ws-closed{max-width:860px;width:100%;margin:0 auto;padding:12px 16px;border-radius:16px;background:var(--ws-raised);color:var(--muted);font-size:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.ws-mention{position:absolute;left:12px;bottom:calc(100% + 6px);z-index:30}
/* right column with tabs and cards */
.ws-side{flex:0 0 370px;display:flex;flex-direction:column;min-height:0;background:var(--ws-surface);border-left:1px solid var(--line)}
.ws-tabs{flex:none;display:flex;gap:2px;padding:6px 10px 0;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.ws-tabs button{height:42px;padding:0 10px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-weight:700;font-size:13.5px;white-space:nowrap;cursor:pointer}
.ws-tabs button[aria-selected="true"]{color:var(--text);border-bottom-color:var(--accent)}
.ws-tabs button:hover{color:var(--text)}
.ws-panel{flex:1 1 auto;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin}
.ws-card{padding:14px 16px;border-radius:16px;background:var(--ws-raised);display:flex;flex-direction:column;gap:8px;font-size:14px}
.ws-card h3{font-size:11px;font-weight:700;letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0}
.ws-card p{margin:0}
.ws-card .ws-big{font-weight:700;font-size:17px}
.ws-kv{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px}
.ws-kv>span:first-child{color:var(--muted);flex:none}
.ws-kv>:last-child{text-align:right;font-weight:600;overflow-wrap:anywhere}
.ws-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.ws-list li{display:flex;flex-direction:column;gap:2px}
.ws-list small{color:var(--muted)}
.ws-card details summary{cursor:pointer;color:var(--accent-ink);font-weight:600;font-size:13px}
.ws-card details p{white-space:pre-line;color:var(--muted);font-size:13.5px;margin-top:4px}
.ws-card .field{margin:0}
.ws-card select,.ws-card input:not([type=checkbox]):not([type=radio]),.ws-card textarea{width:100%}
.ws-sidetoggle{display:none}
/* the right column folds away on any screen (Tobias Weller 02.12.2026: „ausblendbar machen, besonders wenn man ohne externen
   Bildschirm arbeitet“): the button in the head (.ws-sidebtn, ws.js) docks it out, kept per person for laptop (1201–1599 px)
   and large screen (from 1600 px); up to 1200 px it lies over the conversation as before */
.ws-sidebtn[aria-expanded="true"]{color:var(--text)}
@media (min-width:1201px) and (max-width:1599px){.ws.side-off-small:not(.is-side) .ws-side{display:none}}
@media (min-width:1600px){.ws.side-off-wide:not(.is-side) .ws-side{display:none}}
/* card columns to drag: the existing lanes (data-lanes, data-dnd) in the look of the work surfaces */
.ws .lanes-frame .lane{background:var(--ws-surface);border-radius:16px}
.ws .lanes-frame .card{border-radius:14px}
@media (max-width:1200px){
  .ws-side{position:absolute;top:0;right:0;bottom:0;width:380px;max-width:100%;z-index:20;transform:translateX(100%);transition:transform .18s ease;box-shadow:-14px 0 40px rgba(0,0,0,.3);visibility:hidden}
  .ws.is-side .ws-side{transform:none;visibility:visible}
  .ws-sidetoggle{display:inline-flex}
}
@media (max-width:900px){
  .ws-wide{display:none!important}
  .ws-fhead .ws-steps{order:10;width:100%;justify-content:space-between}
  .ws-who b{display:none}
  .ws-thread,.ws-cwrap{padding-left:12px;padding-right:12px}
  .ws-msg{max-width:92%}
  .ws-rmeta{max-width:40%}
}
@media (max-width:760px){
  .ws{min-height:calc(var(--vh) - var(--chrome-h) - var(--mbar-h))}
  .ws-focus{height:calc(var(--vh) - var(--chrome-h) - var(--mbar-h))}
  .content:has(> .ws){padding-bottom:var(--mbar-h)}
  .content:has(> .ws) + .version-m{display:none}
  .ws-rail{display:none}
  .ws-titlemenu{display:inline-flex}
  .ws-title h1{font-size:26px;display:flex;align-items:center;gap:4px}
  .ws-head,.ws-chips,.ws-body,.ws-figs{padding-left:14px;padding-right:14px}
  .ws-head{padding-top:12px;gap:10px}
  .ws-search{order:5;flex-basis:100%;max-width:none}
  .ws-key{display:none}
  .ws-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:10px}
  .ws-chips:has(.ws-more){flex-wrap:wrap;overflow:visible}   /* Regel F: five and „Mehr“ wrap instead of scrolling */
  .ws-more[open]{flex-basis:100%}.ws-more .ws-morelist{position:static;max-width:none;width:auto;margin-top:6px}
  .ws-row{padding:10px 12px;gap:10px;align-items:flex-start}
  .ws-rmain{gap:10px;align-items:flex-start}
  .ws-rmeta{position:static;max-width:none;flex-direction:column;align-items:flex-end;gap:4px}
  .ws-rmeta .ws-mark:not(.is-bad):not(.is-firm),.ws-box{display:none}
  .ws-row.is-picking .ws-box,.ws.is-picking .ws-box{display:inline-block}
  .ws-back span{display:none}
  .ws-back{padding:0 8px}
  .ws-fhead{padding:8px 10px;gap:4px}
  .ws-cwrap{padding:6px 8px 8px}
  .ws-input{min-height:56px}
  .ws-who-name{font-size:22px}
  .ws-why,.ws-presence span{display:none}
  .ws-bulk{bottom:calc(14px + var(--mbar-h))}
  .ws-ribbon{width:110px;height:110px}.ws-ribbon span{top:22px;right:-52px;font-size:10.5px}
}
.ws .htmx-indicator{display:none}.ws .htmx-request .htmx-indicator,.ws .htmx-request.htmx-indicator{display:inline}
@media (max-width:1500px){.ws-mid{display:none!important}.ws-ribbon{width:120px;height:120px}.ws-ribbon span{top:22px;right:-50px;font-size:11px}}
@media (max-width:760px){.ws-fhead .ws-num,.ws-fhead>.ws-mark,.ws-next span{display:none}.ws-next{padding:0 10px}.ws-cfoot{gap:2px}.ws-cfoot .ws-ghost{padding:0 10px}.ws-ctop .ws-seg label{padding:0 10px}}
@media (max-width:760px){.ws-ribbon{width:96px;height:96px}.ws-ribbon span{top:16px;right:-60px;font-size:10px}.ws-cfoot label.ws-ghost{padding:0 4px}.ws .ws-cfoot label.ws-ghost select{max-width:84px;width:84px}.ws-cfoot .ws-flex{flex-basis:0}}
/* the warranty ribbon exactly as in the Odoo service app (wallpen_garantie garantie.scss): green, red, yellow */
.ws{--ws-gar-ok:#2e7d32;--ws-gar-bad:#c62828;--ws-gar-warn:#f9c74f;--ws-gar-warn-ink:#4a3500}
.ws .ws-ribbon{width:110px;height:110px;z-index:4}
.ws .ws-ribbon span{top:24px;right:-38px;width:160px;padding:4px 0;font-size:12px;font-weight:700;letter-spacing:.04em;color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.ws .ws-ribbon.is-ok span{background:var(--ws-gar-ok)}.ws .ws-ribbon.is-bad span{background:var(--ws-gar-bad)}
.ws .ws-ribbon.is-warn span{background:var(--ws-gar-warn);color:var(--ws-gar-warn-ink)}
.ws-conv:has(.ws-ribbon) .ws-who-head{padding-right:64px}
.ws-mark.is-gar-ok{background:var(--ws-gar-ok);color:#fff}.ws-mark.is-gar-bad{background:var(--ws-gar-bad);color:#fff}
.ws-mark.is-gar-warn{background:var(--ws-gar-warn);color:var(--ws-gar-warn-ink)}
@media (max-width:760px){.ws .ws-ribbon{width:72px;height:72px}.ws .ws-ribbon span{top:14px;right:-34px;width:120px;padding:2px 0;font-size:10px}.ws-conv:has(.ws-ribbon) .ws-who-head{padding-right:72px}}
/* composer as in the Odoo service app: the line that says what happens, Du/Sie, chips of files, dictation */
.ws-hint{margin:6px 14px 0;font-size:13px;color:var(--muted)}
.ws-form{height:26px;padding:0 10px;border-radius:13px;border:1.5px solid var(--line-strong);background:transparent;color:var(--muted);font-weight:700;font-size:12.5px;cursor:pointer}
.ws-form.is-du{border-color:var(--accent);color:var(--accent-ink)}
.ws-uploads{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px}
.ws-uploads:empty{display:none}
.ws-upload{display:inline-flex;align-items:center;gap:6px;padding:4px 4px 4px 12px;border-radius:14px;background:var(--ws-hover);font-size:13px}
.ws-upload button{border:0;background:transparent;color:var(--muted);cursor:pointer;font-size:16px;line-height:1;padding:2px 6px}
.ws-round.is-rec{color:var(--danger);background:color-mix(in srgb,var(--danger) 14%,transparent);animation:ws-rec 1.2s ease-in-out infinite}
.ws-round.is-busy{color:var(--accent-ink);opacity:.7}
@keyframes ws-rec{50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){.ws-round.is-rec{animation:none}}
.ws-suggest svg{color:var(--accent-ink)}
.ws-suggest .ws-busy,.htmx-request .ws-suggest .ws-idle{display:none}
.htmx-request .ws-suggest .ws-busy{display:inline}
.ws-mid-icon{display:none}
@media (min-width:901px){.ws-cfoot .ws-mid{display:inline!important}}
@media (max-width:900px){.ws-mid-icon{display:inline-flex}.ws-cfoot .ws-mid{display:none!important}}
.ws-primary:disabled{filter:saturate(.6) brightness(.7)}
.ws #draft .draft{max-width:860px;margin:0 auto 8px;border-radius:16px;background:var(--ws-surface);border:1px solid color-mix(in srgb,var(--accent) 40%,transparent);border-left-width:1px;max-height:34vh;overflow:auto;padding:10px 14px}
.ws #draft .draft h3{margin:8px 0 2px}
.draft .draft-in{display:none}.draft.is-in .draft-in{display:block}
.draft.is-in #draft-text,.draft.is-in > div > .btn.primary{display:none}
.ws-seg button{height:30px;padding:0 12px;border:0;background:transparent;color:var(--muted);font-weight:700;font-size:13px;border-radius:15px;cursor:pointer}
.ws-seg button[aria-pressed="true"]{color:var(--text);box-shadow:inset 0 -3px 0 var(--accent);border-radius:0}
.ws-cend{margin-left:auto;display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
/* Service Desk 0.373: what only Odoo knows (machines, Looka, ink), photos and videos in the bubble */
.ws-banner.is-warn{background:color-mix(in srgb,var(--warn) 16%,transparent);color:var(--text)}
.ws-note{margin:0;font-size:13.5px;color:var(--muted);line-height:1.45}
.ws-card h3 .ws-mark{margin-left:6px;vertical-align:1px}
.ws-tags{display:flex;flex-wrap:wrap;gap:6px}
.ws .is-ok{color:var(--ok)}.ws .is-bad{color:var(--danger)}
.ws-machine{display:flex;flex-direction:column;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--ws-surface)}
.ws-machine+.ws-machine{margin-top:8px}
.ws-machine.is-on{border-color:var(--accent)}
.ws-machine-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13.5px}
.ws-grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px}
.ws-grid3 span{display:flex;flex-direction:column;gap:2px;font-size:13px;min-width:0}
.ws-grid3 small{color:var(--muted);font-size:11.5px}
.ws-looka{display:flex;flex-direction:column;gap:6px;padding-top:8px;border-top:1px dashed var(--line)}
.ws-media{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.ws-media a{display:block;border-radius:10px;overflow:hidden;line-height:0;background:var(--ws-raised)}
.ws-media img{width:132px;height:100px;object-fit:cover;display:block}
.ws-media video{width:220px;max-width:100%;max-height:180px;border-radius:10px;display:block;background:#000}
.ws-media .ws-vid{position:relative}
.ws-media .ws-vid video{width:132px;height:100px;object-fit:cover;border-radius:0;pointer-events:none}
.ws-play{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:24px;line-height:1;text-shadow:0 1px 6px rgba(0,0,0,.7)}
@media (max-width:760px){.ws-media img,.ws-media .ws-vid video{width:96px;height:76px}}
/* Kennzahlen (Service Desk, as the Odoo service app) */
.ws-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ws-kpi{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:14px;background:var(--ws-raised);color:var(--text);text-decoration:none;min-height:86px}
a.ws-kpi:hover{outline:1px solid var(--line-strong)}
.ws-kpi b{font-size:28px;line-height:1.1;font-weight:800;font-variant-numeric:tabular-nums}
.ws-kpi b.is-accent{color:var(--accent-ink)}.ws-kpi b.is-bad{color:var(--danger)}.ws-kpi b.is-ok{color:var(--ok)}
.ws-kpi span{font-size:13px;color:var(--muted);line-height:1.35}
.ws-kpicards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ws-barrow,.ws-weekrow{display:grid;grid-template-columns:auto minmax(80px,160px) 1fr auto;align-items:center;gap:10px;padding:4px 0;color:var(--text);text-decoration:none;font-size:13.5px}
.ws-weekrow{grid-template-columns:minmax(52px,64px) 1fr auto}
.ws-barname{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ws-bar{display:block;height:10px;border-radius:5px;background:color-mix(in srgb,var(--text) 8%,transparent);overflow:hidden}
.ws-bar i{display:block;height:100%;border-radius:5px;background:var(--accent)}
.ws-bars2{display:flex;flex-direction:column;gap:3px}.ws-bars2 .ws-bar{height:7px}
.ws-bar.is-done i,.ws-legend i.is-done{background:var(--ok)}
.ws-weeknum{font-variant-numeric:tabular-nums;color:var(--muted);font-size:12.5px;min-width:52px;text-align:right}
.ws-legend{display:flex;align-items:center;gap:6px;margin:8px 0 0;font-size:12.5px;color:var(--muted)}
.ws-legend i{display:inline-block;width:12px;height:8px;border-radius:3px;background:var(--accent)}.ws-legend i+*{margin-right:8px}
@media (max-width:1100px){.ws-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-kpicards{grid-template-columns:1fr}}
@media (max-width:760px){.ws-kpis{gap:8px}.ws-kpi b{font-size:24px}}
/* Verlauf drucken oder als PDF: only the conversation, full width */
@media print{
  .ws-rail,.ws-side,.ws-cwrap,.ws-fhead .menu-host,.ws-fhead .ws-round,.ws-next,.ws-steps,.rail,.topbar,header.top,nav,.bottom-nav,#assistant,.ws-sidetoggle,.ws-sidebtn{display:none!important}
  .ws,.ws-main,.ws-focus,.ws-conv,.ws-thread{display:block!important;height:auto!important;overflow:visible!important;max-height:none!important;background:#fff!important;color:#000!important}
  .ws-msg{break-inside:avoid;max-width:100%!important}.ws-bubble{border:1px solid #bbb!important;background:#fff!important;color:#000!important}
  .ws-meta,.ws-day{color:#444!important}.ws-ribbon{display:none!important}
}
.ws-restored{margin:0 0 4px}
/* Link für den Kunden (Service Desk) */
.ws-sharemenu{width:min(420px,calc(100vw - 24px));padding:12px!important}
.ws-share{display:flex;flex-direction:column;gap:10px}
.ws-share-url{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;font-size:13px}
.ws-share-do{display:flex;flex-wrap:wrap;gap:6px}
.ws-share .ws-link{align-self:flex-start;font-size:12.5px}
/* Service Desk: check while writing, „Stand“, shortcuts */
.ws-checkline{list-style:none;margin:2px 0 0;padding:6px 10px;border-radius:10px;font-size:13px;display:flex;flex-direction:column;gap:4px}
.ws-checkline li,.ws-checkline.is-ok{display:flex;align-items:flex-start;gap:6px}
.ws-checkline.is-warn{background:color-mix(in srgb,var(--warn) 14%,transparent);color:var(--text)}
.ws-checkline.is-warn svg{color:var(--warn);flex:none;margin-top:2px}
.ws-checkline.is-ok{color:var(--muted);background:transparent;padding:2px 10px}
.ws-checkline.is-ok svg{color:var(--ok)}
.ws-stand{border-left:3px solid var(--accent);background:var(--ws-surface)}
.ws-stand p{margin:0 0 6px;font-size:14px;line-height:1.5}.ws-stand ul{margin:0 0 6px;padding-left:18px;font-size:13.5px}
.ws-stand .ws-next-step{margin:0;font-size:13.5px}
.ws-keys{position:fixed;inset:auto 50% 50% auto;transform:translate(50%,50%);z-index:60;background:var(--card);color:var(--text);border:1px solid var(--line-strong);border-radius:16px;padding:16px 18px;box-shadow:0 18px 50px rgba(0,0,0,.35);min-width:300px;max-width:calc(100vw - 32px)}
.ws-keys h3{margin:0 0 10px;font-size:15px}
.ws-keys dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0 0 12px;font-size:13.5px}
.ws-keys dt{font-weight:800;font-family:ui-monospace,monospace;background:var(--ws-raised,var(--bg));border-radius:6px;padding:1px 7px;text-align:center}
.ws-keys dd{margin:0;color:var(--muted)}
/* Geräte-Hinweise (Service Desk) */
.ws-devrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;cursor:default}
.ws-devrow .ws-rmain{flex:1 1 320px;min-width:0}
.ws-devrow .ws-rsub{white-space:normal}
.ws-devdo{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
@media (max-width:760px){.ws-devdo{width:100%;justify-content:flex-end}}
.ws-kbask{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ws-kbask span{flex:1 1 200px}
/* Picture viewer (core.js [data-zoom]): full screen, pinch and double tap to zoom, swipe to the next or down to close */
.zv{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.94);display:flex;align-items:center;justify-content:center;touch-action:none;overscroll-behavior:contain;user-select:none;-webkit-user-select:none}
.zv-img{max-width:100vw;max-height:var(--vh);object-fit:contain;transform-origin:center center;cursor:zoom-in;will-change:transform}
.zv.zoomed .zv-img{cursor:grab}
.zv-cap{position:absolute;left:0;right:0;bottom:0;margin:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));color:#e8ebed;font-size:13px;text-align:center;background:linear-gradient(transparent,rgba(0,0,0,.7))}
.zv-count{position:absolute;top:calc(14px + env(safe-area-inset-top));left:16px;color:#e8ebed;font-size:13px;font-weight:600}
.zv-btn{position:absolute;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.zv-btn:hover,.zv-btn:focus-visible{background:rgba(255,255,255,.24);outline:0}
.zv-vid{max-width:100vw;max-height:calc(var(--vh) - 120px);background:#000}
.zv-bar{position:absolute;z-index:1;top:calc(8px + env(safe-area-inset-top));right:10px;display:flex;align-items:center;gap:8px}
.zv-bar .zv-btn{position:static}
.zv-act{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 13px;border-radius:18px;background:rgba(255,255,255,.12);color:#fff;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.zv-act:hover,.zv-act:focus-visible{background:rgba(255,255,255,.24);color:#fff;outline:0}
.zv-act > span:first-child{font-size:16px;line-height:1}
@media (max-width:600px){.zv-act{width:44px;height:44px;padding:0;justify-content:center;border-radius:50%}.zv-lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
.zv-prev{left:10px;top:50%;transform:translateY(-50%)}
.zv-next{right:10px;top:50%;transform:translateY(-50%)}
.zv.zoomed .zv-prev,.zv.zoomed .zv-next{display:none}
@media (hover:none){.zv-prev,.zv-next{display:none}.zv.is-video .zv-prev,.zv.is-video .zv-next{display:grid}}   /* over a video swiping is the controls' */

/* Compact rows in the settings (Andreas 25.11.2026: „viel zu lang, viel zu wenig kompakt“) */
table.list.compact th,table.list.compact td{padding:4px 10px;vertical-align:middle}
.ext-row{display:flex;gap:14px;align-items:center;margin:0;flex-wrap:wrap}
.ext-row select{min-height:32px;padding:3px 8px;max-width:280px}
.ext-row .check-row{margin:0}
form[data-save-on-change].saving{opacity:.55;transition:opacity .15s}
details.sub-fold{margin:8px 0 0}
details.sub-fold > summary{cursor:pointer;font-size:13.5px;color:var(--muted);padding:4px 0}
details.sub-fold[open] > summary{margin-bottom:6px}

/* Kommunikation → E-Mail (talk settings, Andreas 29.11.2026: „noch immer schrecklich“): every mailbox one line with its
   state – name and address, what it is (shared with whom, sends or reads, what it is for), last fetched – opened to change */
.mb-lead{margin:-4px 0 10px;font-size:13px}
.mb-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.mb-row + .mb-row{border-top:1px solid var(--line)}
.mb-row > summary{list-style:none;display:grid;grid-template-columns:auto minmax(150px,1.1fr) minmax(0,2fr) auto auto;align-items:center;gap:4px 14px;padding:10px 14px;cursor:pointer}
.mb-row > summary::-webkit-details-marker{display:none}
.mb-row > summary:hover{background:var(--field)}
.mb-row[open] > summary{background:var(--field);border-bottom:1px solid var(--line)}
.mb-row .light,.mb-light{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--muted)}
.mb-row .light.ok{background:var(--ok)}
.mb-row .light.bad{background:var(--danger)}
.mb-name{display:flex;flex-direction:column;min-width:0}
.mb-name b,.mb-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mb-name small,.mb-facts small{color:var(--muted);font-size:12.5px}
.mb-facts{min-width:0}
.mb-when small{font-size:12.5px;white-space:nowrap}
.mb-chev{width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(-45deg);transition:transform .15s}
.mb-row[open] .mb-chev{transform:rotate(45deg)}
.mb-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:10px}
.mb-msg{margin:0;font-size:13px}
.mb-form{display:flex;flex-direction:column;gap:8px;margin:0}
.mb-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.mb-fields .mb-route{grid-column:1/-1}
.mb-people{display:flex;flex-wrap:wrap;align-items:center;gap:6px;position:relative}
.mb-plabel{font-size:11px;font-weight:600;color:var(--muted);flex-basis:100%}
.mb-chips{display:contents}
.mb-chips .chip{border:0;cursor:pointer}
.mb-chips .chip:hover{background:var(--line)}
.field input.mb-find,.mb-people input.mb-find{width:200px;height:28px;padding:0 9px;background:var(--field);border:1px solid var(--line);border-radius:7px}
.mb-pick{position:absolute;top:100%;left:0;z-index:20;min-width:240px;max-height:260px;overflow:auto;margin-top:4px;padding:6px;background:var(--card);border:1px solid var(--line-strong,var(--line));border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.mb-pick .check-row{display:flex;padding:5px 6px;border-radius:6px;cursor:pointer}
.mb-pick .check-row:hover{background:var(--field)}
.mb-pick .check-row[hidden]{display:none}
.mb-send{margin-top:2px}
.mb-hints{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 0}
.mb-note{display:block;margin:2px 0 0 26px}
.mb-foot{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}
.mb-foot .mb-remove{margin-right:auto;color:var(--danger)}
.mb-sub{border-top:1px solid var(--line);padding-top:10px}
.mb-sub > .label{margin:0 0 6px}
.mb-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:4px 0;border-bottom:1px solid var(--line)}
.mb-line > span{flex:1;min-width:200px}
.mb-add{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;margin-top:10px}
.mb-new > summary{list-style:none;display:inline-flex;cursor:pointer}
.mb-new > summary::-webkit-details-marker{display:none}
.mb-new[open]{flex-basis:100%;border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.mb-new[open] > summary{margin-bottom:10px}
.mb-grants{display:flex;flex-wrap:wrap;gap:6px 10px}
.mb-admin + .mb-admin{border-top:1px solid var(--line);padding-top:6px}
#mail .form + .form{margin-top:0}
#mail .settings-actions{margin:0}
@media (max-width:760px){
  .mb-row > summary{grid-template-columns:auto minmax(0,1fr) auto;padding:10px 12px}
  .mb-facts{grid-column:2/-1;grid-row:2}
  .mb-when{grid-column:3;grid-row:1}
  .mb-chev{display:none}
  .mb-fields{grid-template-columns:1fr}
  .field input.mb-find,.mb-people input.mb-find{width:100%;height:40px}
  .mb-foot{justify-content:stretch}.mb-foot .btn{flex:1 1 auto}
}
/* An area in parts (core/settings.html data-part): the parts under the area on the left, on the phone a row above */
.set-parts{display:flex;flex-direction:column;gap:1px;margin:0 0 4px 28px;border-left:1px solid var(--line);padding-left:6px}
.set-group .set-parts a{padding:5px 10px;font-size:13.5px;color:var(--muted)}
.set-group .set-parts a[aria-current="page"]{color:var(--text);font-weight:600;background:var(--field)}

/* Help of a setting behind „?“ (core/settings_fields.html, Andreas 25.11.2026) */
.field.has-help{position:relative}
.field > .help-dot{position:absolute;top:-2px;right:0;width:18px;height:18px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);font-size:11px;font-weight:700;line-height:16px;cursor:pointer}
.field > .help-dot:hover,.field > .help-dot[aria-expanded="true"]{color:var(--text);border-color:var(--muted)}

/* One setting = one row (core/settings_fields.html, Andreas 29.11.2026: „wie im Mittelalter … komplett modernisiert“):
   name and what applies on the left, the control on the right, rows divided by a hairline; on the phone below each other */
.form:has(> .set-row){display:flex;flex-direction:column;gap:0}
.set-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 28px;padding:12px 0;border-top:1px solid var(--line)}
.form > .set-row:first-child{border-top:0;padding-top:2px}
.set-row[hidden]{display:none}
.set-row span{font-size:inherit;font-weight:inherit;color:inherit}
.set-row .sr-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.set-row .sr-head{display:flex;align-items:center;gap:8px}
.set-row .sr-label{font-size:14.5px;font-weight:600;color:var(--text);line-height:1.3}
.set-row .sr-desc{font-size:13px;color:var(--muted);line-height:1.35}
.set-row .sr-head .help-dot{position:static;flex:none;width:18px;height:18px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);font-size:11px;font-weight:700;line-height:16px;cursor:pointer}
.set-row .sr-head .help-dot:hover,.set-row .sr-head .help-dot[aria-expanded="true"]{color:var(--text);border-color:var(--muted)}
.set-row .sr-ctl{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.field.set-row .sr-ctl select,.field.set-row .sr-ctl input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]):not([type=range]){width:min(340px,42vw)}
.field.set-row[data-kind="num"] .sr-ctl input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]):not([type=range]){width:110px;text-align:right}
.set-row .sr-unit{color:var(--muted);font-size:13px;min-width:1.2em}
.set-row .sr-native{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;overflow:hidden}
/* the hidden native select of a segmented choice keeps 1 px: the select width rules above (also 100 % on the phone) made it
   wider than the phone and cut off at the edge (/talk/settings, Rundgang 30.11.2026) */
.set-row .sr-ctl select.sr-native,.field.set-row .sr-ctl select.sr-native{width:1px;min-width:0;flex:none}
.set-row .sr-seg{flex-wrap:wrap}
.set-row .sr-seg button{height:30px;padding:0 12px}
.set-row .sr-seg button:disabled{cursor:default;opacity:.6}
.sr-switch{position:relative;flex:none;width:46px;height:26px;padding:0;border:1px solid var(--line-strong,var(--line));border-radius:13px;background:var(--field);cursor:pointer;transition:background .15s,border-color .15s}
.sr-switch::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:var(--muted);transition:transform .15s,background .15s}
.sr-switch[aria-checked="true"]{background:var(--accent);border-color:var(--accent)}
.sr-switch[aria-checked="true"]::after{transform:translateX(20px);background:#151a1e}
.sr-switch:focus-visible,.set-row .sr-seg button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sr-switch:disabled{cursor:default;opacity:.55}
.set-row .sr-reset{height:24px;padding:0 8px;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--muted);font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}
.set-row .sr-reset::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--accent);vertical-align:1px}
.set-row .sr-reset:hover{color:var(--text);border-color:var(--muted)}
.set-row.sr-hit .sr-label{box-shadow:inset 0 -2px 0 var(--accent)}
form.autosave .settings-actions .btn.primary[type=submit]{display:none}
form.autosave .settings-actions:not(:has(> :not(.btn.primary[type=submit]))){display:none}
@media (max-width:760px){
  .set-row{grid-template-columns:1fr;gap:8px}
  .set-row .sr-ctl{justify-content:flex-start;flex-wrap:wrap}
  .field.set-row .sr-ctl select,.field.set-row:not([data-kind="num"]) .sr-ctl input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=color]):not([type=range]){width:100%;flex:1 1 200px}
  .set-row[data-kind="switch"]{grid-template-columns:minmax(0,1fr) auto}
  .set-row[data-kind="switch"] .sr-ctl{justify-content:flex-end}
  .set-row .sr-seg{width:100%}
  .set-row .sr-seg button{flex:1 1 auto;height:38px}
}

/* ===== Stil 2.0 (Andreas 25.11.2026: „Ideen, Icons, Pep, sinnvollere Farbe, ein gewisser Stil, eine klare Führung,
   einheitliche Menüs“ – Entwurf „viel viel besser“; wallpen-core/gestaltung-belegjaeger-prinzip.md).
   Colour shows where you are (one colour per area, [data-tone]); yellow-green shows what you can do (actions only).
   --tc: the bright tone (fills, the always dark rail), --ti: its ink on the page (darker in light themes). ===== */
:root{--tone-home:#CEDC00;--tone-sales:#4C9AFF;--tone-operations:#FF9F43;--tone-finance:#2DD4A4;--tone-team:#A78BFA;--tone-system:#F472B6;--tone-neutral:#9EABB4;
  --ink-home:#CEDC00;--ink-sales:#7DB4FF;--ink-operations:#FFB46B;--ink-finance:#4FE0B6;--ink-team:#BCA6FF;--ink-system:#F78BC4;--ink-neutral:#B7C1C8}
[data-theme="light"]{--ink-home:#5C6600;--ink-sales:#1D5FD1;--ink-operations:#B45309;--ink-finance:#047857;--ink-team:#6D3FD6;--ink-system:#BE185D;--ink-neutral:#5E6873}
@media (prefers-color-scheme:light){[data-theme="auto"]{--ink-home:#5C6600;--ink-sales:#1D5FD1;--ink-operations:#B45309;--ink-finance:#047857;--ink-team:#6D3FD6;--ink-system:#BE185D;--ink-neutral:#5E6873}}
[data-tone="home"]{--tc:var(--tone-home);--ti:var(--ink-home)}
[data-tone="sales"]{--tc:var(--tone-sales);--ti:var(--ink-sales)}
[data-tone="operations"]{--tc:var(--tone-operations);--ti:var(--ink-operations)}
[data-tone="finance"]{--tc:var(--tone-finance);--ti:var(--ink-finance)}
[data-tone="team"]{--tc:var(--tone-team);--ti:var(--ink-team)}
[data-tone="system"]{--tc:var(--tone-system);--ti:var(--ink-system)}
[data-tone="neutral"]{--tc:var(--tone-neutral);--ti:var(--ink-neutral)}

/* the rail: every entry with its coloured tile, the open one marked in its colour */
.rail a.item .ri{flex:none;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:color-mix(in srgb,var(--tc) 17%,transparent);color:var(--tc);transition:background .15s}
.rail a.item .ri svg{width:17px;height:17px}
.rail a.item:hover .ri{background:color-mix(in srgb,var(--tc) 28%,transparent)}
.rail a.item[aria-current="page"] .ri{background:var(--tc);color:#151a1e}
.rail a.item:has(.ri)[aria-current="page"]{box-shadow:inset 3px 0 0 var(--tc)}
.rail a.item{padding-left:6px}
/* the bar at the bottom of a phone: the place one is in is lit in the accent colour behind its icon (Andreas 27.11.2026:
   „unten am Icon sehen, … in der Akzentfarbe hinterleuchtet“); every icon carries the room, so nothing jumps.
   The pill is filled and the icon takes the text colour on the accent (Andreas 30.11.2026: „ausgerechnet die gerade
   ausgewählte App grau … Es müsste genau umgedreht sein“ – a faint pill with the accent as icon colour turned a dark
   company accent darker than the grey icons around it) */
.mbar svg{box-sizing:content-box;padding:4px 16px;border-radius:999px;transition:background .15s,color .15s}
.mbar a[aria-current="page"] svg,.mbar [aria-expanded="true"] svg{background:var(--nav-accent,var(--accent));color:var(--nav-on-accent,var(--on-accent))}
/* the bar stays dark where the light styles make the accent dark too (seriös, Kontrast): their gold/yellow of the head */
[data-style="serioes"] .mbar,[data-style="kontrast"] .mbar{--nav-accent:var(--hero-accent);--nav-on-accent:var(--hero-bg)}
/* marks drawn in the accent inside an icon (the square of wallTalk) would vanish on the filled pill: in the icon colour there */
.mbar a[aria-current="page"] svg [style*="--nav-accent"],.mbar [aria-expanded="true"] svg [style*="--nav-accent"]{fill:currentColor!important}
.mbar a[aria-current="page"] span:not(.badge){color:var(--nav-text);font-weight:700}
/* a light frame in the accent around the lit pill only (Andreas 30.11.2026: „Ein leichter Rahmen in der Akzentfarbe
   wäre schön“ – „Outline nur um das Oval“); an outline with a small gap, so nothing moves */
.mbar a[aria-current="page"] svg,.mbar [aria-expanded="true"] svg{outline:1.5px solid color-mix(in srgb,var(--nav-accent,var(--accent)) 65%,transparent);outline-offset:2px}

/* the head band: the pin in the colour of the area; the label above the title too */
.content > .head::before,.content > .head::after{background:var(--tc,var(--accent))}
.content > .head .quip{color:var(--hero-accent,var(--accent))!important}

/* where one is (phone): the symbol in the area colour */
.where-bar button > svg{color:var(--tc,var(--accent-ink))}

/* icon tiles: an icon always sits in a rounded tile of its colour (s 30, m 40, l 56) */
.itile{flex:none;width:40px;height:40px;border-radius:12px;display:inline-grid;place-items:center;background:color-mix(in srgb,var(--tc) 17%,transparent);color:var(--ti)}
.itile.s{width:30px;height:30px;border-radius:9px}
.itile.l{width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--tc) 42%,var(--card)),color-mix(in srgb,var(--tc) 12%,var(--card)));
  box-shadow:0 10px 24px color-mix(in srgb,var(--tc) 22%,transparent);color:var(--ti)}
.itile.l svg{width:26px;height:26px}

/* greeting: the question of the page (Belegjäger) */
.hello{display:flex;gap:16px;align-items:center;margin:4px 0 18px}
.hello .kick{margin:0 0 3px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ti)}
.hello h2{margin:0;font-family:Barlow,sans-serif;font-weight:700;font-size:clamp(22px,2.6vw,30px);line-height:1.15;letter-spacing:-.01em}

/* the one loud button */
.btn.go{height:46px;padding:0 22px;border-radius:14px;font-size:16px;font-weight:700;background:var(--accent);color:var(--on-accent);border-color:var(--accent);
  box-shadow:0 8px 24px color-mix(in srgb,var(--accent) 30%,transparent)}
.btn.go:hover{transform:translateY(-1px);box-shadow:0 12px 28px color-mix(in srgb,var(--accent) 38%,transparent)}

/* the big search field of a start page */
.bigfind{display:flex;align-items:center;gap:12px;min-height:60px;padding:7px 8px 7px 18px;border-radius:18px;background:var(--card);border:1px solid var(--line-strong);margin:0 0 14px;
  box-shadow:0 6px 22px rgba(0,0,0,.10)}
.bigfind > svg{color:var(--muted);flex:none}
.bigfind input{flex:1;min-width:0;height:44px;border:0;background:transparent;color:var(--text);font:500 17px Barlow,sans-serif;outline:none}
.bigfind:focus-within{border-color:var(--ti);box-shadow:0 0 0 3px color-mix(in srgb,var(--tc) 22%,transparent)}

/* numbers with an attitude */
.kpis2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:0 0 16px}
.kpi2{display:flex;gap:14px;align-items:center;padding:14px 16px;border-radius:18px;background:var(--card);border:1px solid var(--line);color:var(--text);text-decoration:none}
a.kpi2:hover{border-color:var(--line-strong)}
.kpi2 b{display:block;font-family:Barlow,sans-serif;font-size:28px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.kpi2 small{display:block;color:var(--muted);font-size:13.5px;margin-top:3px;line-height:1.3}
.kpi2.hot{border-color:color-mix(in srgb,var(--tone-operations) 60%,transparent);background:color-mix(in srgb,var(--tone-operations) 7%,var(--card))}

/* pills with icon and count instead of thin tabs */
.pills{display:inline-flex;flex-wrap:wrap;padding:4px;gap:4px;background:var(--field);border-radius:14px}
.pills a,.pills button{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:600 14.5px Barlow,sans-serif;text-decoration:none;cursor:pointer}
.pills a:hover,.pills button:hover{color:var(--text)}
.pills a[aria-selected="true"],.pills a[aria-current="page"],.pills button[aria-pressed="true"]{background:var(--card);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.18),inset 0 -2px 0 var(--tc,var(--accent))}
.pills em{font-style:normal;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:color-mix(in srgb,var(--text) 10%,transparent);display:inline-grid;place-items:center;font-size:12px;font-variant-numeric:tabular-nums}

/* status chips in a tone */
.tchip{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:99px;font-size:12.5px;font-weight:700;white-space:nowrap;
  background:color-mix(in srgb,var(--tc) 16%,transparent);color:var(--ti)}
.tchip svg{width:13px;height:13px}
.tchip.warn{--tc:var(--tone-operations);--ti:var(--warn)} .tchip.ok{--tc:var(--tone-finance);--ti:var(--ok)} .tchip.bad{--tc:#FF6B6B;--ti:var(--danger)} .tchip.info{--tc:var(--tone-sales);--ti:var(--ink-sales)}

/* a list of things to do today */
.tlist{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:6px;margin:0 0 16px}
.tlist-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:10px 12px 6px}
.tlist-h h3{margin:0;font-family:Barlow,sans-serif;font-size:16px;font-weight:700}
.tlist-h span{color:var(--muted);font-size:13px}
.trow{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:10px 12px;border-radius:13px;color:var(--text);text-decoration:none}
.trow:hover{background:var(--field)}
.trow .av{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:14px;color:#151a1e;background:var(--tc)}
.trow b{display:block;font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trow small{display:block;color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trow .sum{font-family:Barlow,sans-serif;font-weight:700;font-size:15.5px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.tip2{display:flex;gap:12px;align-items:center;padding:12px 16px;border:1px dashed var(--line-strong);border-radius:16px;color:var(--muted);font-size:14px;margin:0 0 16px}
.tip2 b{color:var(--text)}
@media (max-width:640px){
  .trow{grid-template-columns:auto minmax(0,1fr) auto}
  .trow .tchip{grid-column:2;justify-self:start;margin-top:-6px}
  .trow .sum{grid-row:1;grid-column:3}
  .bigfind{flex-wrap:wrap;padding:8px}
  .bigfind .btn.go{width:100%}
  .hello .itile.l{width:46px;height:46px;border-radius:14px}
}

/* ===== Themes – whole looks (core_kit/themes.py; Andreas 25.11.2026, since R-20 on 26.11.2026 three: wallPen,
   Seriös, Kontrast). <html data-style>: first the colours (generated, one attribute of
   specificity so the company's and the person's own action colour still win), then each look's typeface, shapes,
   borders, shadows, menu, head band, buttons, fields and tables. A typeface the person chose (data-face) wins. ===== */
:where([data-style="serioes"]):is([data-theme="dark"],[data-theme="medium"],[data-theme="auto"]){--bg:#0E1626;--card:#152036;--field:#1B2944;--paper:#121C30;--line:#26355A;--line-strong:#3E4F75;--text:#ECEFF5;--muted:#A3AEC4;--accent:#C9A45C;--on-accent:#1A1408;--accent-ink:#D9B970;--nav-bg:#0A1120;--nav-card:#152036;--nav-line:#1E2B47;--nav-text:#ECEFF5;--nav-muted:#A3AEC4;--hero-bg:#0A1120;--hero-text:#F3F0E8;--hero-accent:#D9B970;--hero-muted:color-mix(in srgb,var(--hero-text) 72%,transparent);color-scheme:dark}
:where([data-style="serioes"])[data-theme="light"]{--bg:#F7F5F0;--card:#FFFFFF;--field:#F1EEE7;--paper:#FBFAF7;--line:#E2DDD2;--line-strong:#1B2A4A;--text:#1B2A4A;--muted:#5C6677;--accent:#1B2A4A;--on-accent:#FFFFFF;--accent-ink:#1B2A4A;--nav-bg:#1B2A4A;--nav-card:#24365C;--nav-line:#2E4370;--nav-text:#F3F0E8;--nav-muted:#B9C2D6;--hero-bg:#1B2A4A;--hero-text:#F3F0E8;--hero-accent:#D9B970;--hero-muted:color-mix(in srgb,var(--hero-text) 72%,transparent);color-scheme:light}
@media (prefers-color-scheme:light){:where([data-style="serioes"])[data-theme="auto"]{--bg:#F7F5F0;--card:#FFFFFF;--field:#F1EEE7;--paper:#FBFAF7;--line:#E2DDD2;--line-strong:#1B2A4A;--text:#1B2A4A;--muted:#5C6677;--accent:#1B2A4A;--on-accent:#FFFFFF;--accent-ink:#1B2A4A;--nav-bg:#1B2A4A;--nav-card:#24365C;--nav-line:#2E4370;--nav-text:#F3F0E8;--nav-muted:#B9C2D6;--hero-bg:#1B2A4A;--hero-text:#F3F0E8;--hero-accent:#D9B970;--hero-muted:color-mix(in srgb,var(--hero-text) 72%,transparent);color-scheme:light}}
:where([data-style="kontrast"]):is([data-theme="dark"],[data-theme="medium"],[data-theme="auto"]){--bg:#000000;--card:#000000;--field:#141414;--paper:#000000;--line:#FFFFFF;--line-strong:#FFFFFF;--text:#FFFFFF;--muted:#E6E6E6;--accent:#FFE600;--on-accent:#000000;--accent-ink:#FFE600;--nav-bg:#000000;--nav-card:#1A1A1A;--nav-line:#FFFFFF;--nav-text:#FFFFFF;--nav-muted:#E6E6E6;--hero-bg:#000000;--hero-text:#FFFFFF;--hero-accent:#FFE600;--hero-muted:color-mix(in srgb,var(--hero-text) 72%,transparent);color-scheme:dark}
:where([data-style="kontrast"])[data-theme="light"]{--bg:#FFFFFF;--card:#FFFFFF;--field:#F0F0F0;--paper:#FFFFFF;--line:#000000;--line-strong:#000000;--text:#000000;--muted:#1F1F1F;--accent:#0033CC;--on-accent:#FFFFFF;--accent-ink:#0033CC;--nav-bg:#000000;--nav-card:#1A1A1A;--nav-line:#FFFFFF;--nav-text:#FFFFFF;--nav-muted:#E6E6E6;--hero-bg:#000000;--hero-text:#FFFFFF;--hero-accent:#FFE600;--hero-muted:color-mix(in srgb,var(--hero-text) 72%,transparent);color-scheme:light}
@media (prefers-color-scheme:light){:where([data-style="kontrast"])[data-theme="auto"]{--bg:#FFFFFF;--card:#FFFFFF;--field:#F0F0F0;--paper:#FFFFFF;--line:#000000;--line-strong:#000000;--text:#000000;--muted:#1F1F1F;--accent:#0033CC;--on-accent:#FFFFFF;--accent-ink:#0033CC;--nav-bg:#000000;--nav-card:#1A1A1A;--nav-line:#FFFFFF;--nav-text:#FFFFFF;--nav-muted:#E6E6E6;--hero-bg:#000000;--hero-text:#FFFFFF;--hero-accent:#FFE600;--hero-muted:color-mix(in srgb,var(--hero-text) 72%,transparent);color-scheme:light}}

/* ---------- every look: calm (Andreas 25.11.2026, 20:54: „Kirmes und Zirkus auf einmal“).
   One accent – yellow-green – for the place you are and the one main button; colour otherwise only where it means
   something (orange waits, red is late, green is done). Three looks since R-20 (26.11.2026): wallPen, Seriös, Kontrast. */
html[data-style][data-tone],html[data-style] [data-tone]{--tc:var(--accent);--ti:var(--accent-ink)}
:where(html) .rail a.item .ri{background:transparent;color:inherit;width:22px;height:22px}
:where(html) .rail a.item .ri svg{width:19px;height:19px}
:where(html) .rail a.item[aria-current="page"] .ri{background:transparent;color:var(--nav-text)}
:where(html) .rail a.item:has(.ri)[aria-current="page"]{box-shadow:inset 3px 0 0 var(--accent)}
:where(html) .rail a.item{padding-left:10px}
:where(html) .itile{background:var(--field);color:var(--text)}
:where(html) .itile.l{background:var(--field);box-shadow:none;color:var(--accent-ink);border:1px solid var(--line)}
:where(html) .hello .kick{color:var(--accent-ink)}
:where(html) .kpi2.hot .itile{background:color-mix(in srgb,var(--warn) 16%,transparent);color:var(--warn)}
:where(html) .trow .av{background:var(--field);color:var(--text)}
:where(html) .content > .head .label,:where(html) .content > .head .label a{color:var(--accent)!important}
:where(html) .content > .head::before,:where(html) .content > .head::after{background:var(--accent)}
:where(html) .tchip.info{--tc:var(--muted);--ti:var(--text)}


/* ---------- Seriös: bank or chambers – serif headings, hairlines, gold, much air, outlined buttons */
[data-style="serioes"] :is(h1.title,.hello h2,.settings-group > h2,.sg-title,.tlist-h h3,.card-head h2,.card-head h3,.kpi2 b){font-family:Georgia,"Times New Roman",serif!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important}
[data-style="serioes"] :is(.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head),.content > .back:first-child + .head,.content > .set-head){clip-path:none!important;border-bottom:2px solid var(--hero-accent)}
[data-style="serioes"] :is(.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head),.content > .back:first-child + .head,.content > .set-head)::before,[data-style="serioes"] :is(.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head),.content > .back:first-child + .head,.content > .set-head)::after{background:var(--hero-accent)!important}
[data-style="serioes"] :is(.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head),.content > .back:first-child + .head,.content > .set-head) h1.title{color:var(--hero-text)!important;font-size:38px!important}
[data-style="serioes"] :is(.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head),.content > .back:first-child + .head,.content > .set-head) .quip{font-family:Georgia,serif!important;font-style:italic;font-size:15px!important;color:var(--hero-accent)!important}
[data-style="serioes"] :is(.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head),.content > .back:first-child + .head,.content > .set-head) .label,[data-style="serioes"] :is(.content > .head:not(:is(div,section,article,p,form,nav,ul,ol,table,h1,h2,h3,details,aside,header,footer,a:not(.back)) ~ .head),.content > .back:first-child + .head,.content > .set-head) .label a{color:var(--hero-accent)!important;font-variant:small-caps;letter-spacing:.08em}
[data-style="serioes"] :is(.card,.kpi2,.tlist,.bigfind,.settings-body > .settings-group,.app-tile,.btn,.field input,.field select,.field textarea,.pills,.pills a,.trow,.itile){border-radius:3px!important;box-shadow:none!important}
[data-style="serioes"] .content{gap:18px}
[data-style="serioes"] :is(.kpi2,.tlist){padding:18px 20px}
[data-style="serioes"] .btn{background:transparent;border-color:var(--line-strong);text-transform:uppercase;letter-spacing:.08em;font-size:12.5px;font-weight:600}
[data-style="serioes"] :is(.btn.primary,.btn.go){background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
[data-style="serioes"] .field span,[data-style="serioes"] table.list th,[data-style="serioes"] .tlist-h span{font-variant:small-caps;letter-spacing:.06em;font-size:13px}
[data-style="serioes"] table.list td{padding-top:12px;padding-bottom:12px}
[data-style="serioes"] .itile{background:transparent;border:1px solid color-mix(in srgb,var(--accent) 70%,transparent);color:var(--accent-ink);border-radius:50%!important}
[data-style="serioes"] .itile.l{background:transparent;box-shadow:none}
[data-style="serioes"] .rail a.item .ri{background:transparent;color:var(--nav-muted)}
[data-style="serioes"] .rail a.item[aria-current="page"] .ri{background:transparent;color:var(--hero-accent)}
[data-style="serioes"] .rail a.item:has(.ri)[aria-current="page"]{box-shadow:inset 2px 0 0 var(--hero-accent)}
[data-style="serioes"] .rail .rail-head{font-variant:small-caps;color:var(--hero-accent);letter-spacing:.1em}
[data-style="serioes"] .trow .av{border-radius:50%;background:transparent!important;border:1px solid var(--line-strong);color:var(--text)}
[data-style="serioes"] .tchip{background:transparent;border:1px solid currentColor;border-radius:3px}



/* ---------- Kontrast: the most readable */
[data-style="kontrast"] :is(.card,.kpi2,.tlist,.bigfind,.settings-body > .settings-group,.btn:not(.primary),.field input,.field select,.field textarea){border-width:2px!important}
[data-style="kontrast"] .content a:not(.btn):not(.trow):not(.kpi2){text-decoration:underline}
[data-style="kontrast"] :focus-visible{outline:3px solid var(--accent)!important;outline-offset:2px}
[data-style="kontrast"] .rail a.item .ri{background:transparent;color:var(--nav-text)}
[data-style="kontrast"] .itile{background:transparent;color:var(--text);border:2px solid currentColor}

/* the choice of looks (Mein Profil → Darstellung): a real picture of each look, light or dark like the page */
.th-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.th-card{display:flex;flex-direction:column;padding:0;border:2px solid var(--line);border-radius:16px;overflow:hidden;background:var(--card);cursor:pointer;text-align:left;font:inherit;color:inherit}
.th-card:hover{border-color:var(--line-strong)}
.th-card[aria-checked="true"]{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 35%,transparent)}
.th-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.th-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:left top;background:var(--field)}
.th-card .th-light{display:none}
[data-theme="light"] .th-card .th-dark{display:none} [data-theme="light"] .th-card .th-light{display:block}
@media (prefers-color-scheme:light){[data-theme="auto"] .th-card .th-dark{display:none} [data-theme="auto"] .th-card .th-light{display:block}}
.th-meta{padding:10px 12px 12px;border-top:1px solid var(--line)}
.th-meta .th-name{display:block;font-size:15.5px;font-weight:700}
.th-meta small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px;line-height:1.35}
.th-card[aria-checked="true"] .th-name::after{content:" ✓";color:var(--accent-ink)}

/* Finer type (Andreas 25.11.2026: „Der Schriftstil … müsste viel filigraner und feiner sein und nicht so fett und geklumpt“).
   Headings in the text's Barlow (normal width) are the default now (data-heads="text"); and lighter everywhere: section
   headings 600 instead of 700/800, the small capitals above lighter and wider, the big title of the head band 700. */
html:not([data-heads="condensed"]) :is(.label,.hello .kick,.kick){font-weight:600!important;letter-spacing:.12em}
html:not([data-heads="condensed"]) .hello h2{letter-spacing:-.015em}
html:not([data-heads="condensed"]) .kpi2 b{font-weight:600}
html:not([data-heads="condensed"]) .rail a.item{font-weight:500}
html:not([data-heads="condensed"]) .rail a.item[aria-current="page"]{font-weight:600}
html:not([data-heads="condensed"]) .rail .rail-head{font-weight:600;letter-spacing:.1em}
html:not([data-heads="condensed"]) strong,html:not([data-heads="condensed"]) b{font-weight:600}
html:not([data-heads="condensed"]) .btn{font-weight:600}
html:not([data-heads="condensed"]) .btn.primary,html:not([data-heads="condensed"]) .btn.go{font-weight:600}
/* the saying in the head band stays handwritten */
html:is([data-face="barlow"],:not([data-face])):not([data-heads="condensed"]) .content > .head .quip{font-family:var(--hand)!important}

/* Flags as pictures (Windows has no flag emoji, it shows the letters): core_kit filter |flagimg, round (circle-flags) and
   dimmed (Andreas 26.11.2026: „zu grell … die runde Variante“) */
.flag-img{display:inline-block;width:16px;height:16px;border-radius:50%;vertical-align:-3px;filter:saturate(.7) brightness(.92);box-shadow:0 0 0 1px color-mix(in srgb,var(--text) 16%,transparent)}

/* Quick hints of small symbols (core.js, data-tip): at once instead of the browser's slow title */
/* a long hint wider and so lower: fewer lines cover less (Andreas 04.12.2026) */
.quick-tip{position:fixed;z-index:10000;max-width:min(400px,calc(100vw - 16px));padding:5px 9px;border-radius:7px;background:var(--text);color:var(--bg);font-size:12.5px;line-height:1.35;font-weight:500;pointer-events:none;box-shadow:0 4px 14px rgba(0,0,0,.25);white-space:normal}
.quick-tip[hidden]{display:none}

/* Column widths (core.js table[data-colw]): a grip at the right edge of a head, a line when the pointer is near */
.col-grip{position:absolute;top:0;right:0;width:9px;height:100%;cursor:col-resize;z-index:3;touch-action:none}
.col-grip::after{content:"";position:absolute;right:3px;top:22%;bottom:22%;width:2px;border-radius:1px;background:var(--line-strong);opacity:0;transition:opacity .12s}
th:hover > .col-grip::after,.colw-drag .col-grip::after{opacity:1}
.colw-drag,.colw-drag *{cursor:col-resize!important;user-select:none}
.stack .col-grip{display:none}

/* Farben = Dringlichkeit und Stand (Andreas 26.11.2026). The meaning is fixed, the thresholds are each area's own
   (CRM: green under 4 working hours, yellow 4–8, red over 8; the service, accounts or workshop set theirs). Every list
   symbol takes its colour from these, never a free colour. */
:root{--st-fresh:var(--ok);--st-soon:var(--warn);--st-late:var(--danger);--st-rest:var(--muted);--st-auto:var(--cal-1);
  --st-wait:var(--cal-4);--st-done:var(--ok)}
.st-fresh{color:var(--st-fresh)}.st-soon{color:var(--st-soon)}.st-late{color:var(--st-late)}.st-rest{color:var(--st-rest)}
/* warranty of a machine (core/warranty.html): green until, red expired, yellow unclear */
.wb{display:inline-block;max-width:100%;margin:0;border:1px solid var(--wb-c);border-radius:10px;background:color-mix(in srgb,var(--wb-c) 10%,transparent);font-size:13.5px;vertical-align:middle}
.wb summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:4px 10px;cursor:pointer;list-style:none;font-weight:600;color:var(--text)}
.wb summary::-webkit-details-marker{display:none}
.wb summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:10px}
.wb-dot{width:9px;height:9px;border-radius:50%;background:var(--wb-c);flex:none}
.wb-hint{font-weight:500;font-size:12px;color:var(--st-soon)}
.wb-body{padding:0 10px 8px;font-size:13px}
.wb-body p{margin:4px 0 0}
.wb-yes{--wb-c:var(--st-fresh)}.wb-no{--wb-c:var(--st-late)}.wb-unclear{--wb-c:var(--st-soon)}
.wb-tag{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;white-space:nowrap;color:var(--text)}
.wb-tag::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--wb-c);flex:none}
.wb-tag.wb-soon::after{content:"!";color:var(--st-soon);font-weight:800}
.st-auto{color:var(--st-auto)}.st-wait{color:var(--st-wait)}.st-done{color:var(--st-done)}

/* Kundenvermerk SK/SSK (KO-06, core.js data-cflag): red, because it is a problem; never shown to customers */
.cflag-bar{display:flex;gap:10px;align-items:flex-start;padding:8px 12px;margin:0 0 10px;border:2px solid var(--danger);border-radius:10px;background:var(--card);font-size:13.5px;line-height:1.4}
.cflag-bar small{color:var(--muted)}
.cflag-pill,.cflag-chip b{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;background:var(--danger-fill);color:var(--on-danger);font-size:12px;font-weight:600;letter-spacing:.02em;flex:none}
.cflag-chip{display:inline-flex;vertical-align:middle;margin:0 4px}
.cflag-chip a{text-decoration:none}

/* Odoo abgeschaltet für diese Firma (core_kit.odoo_gate, Odoo-Lücken 8/8): Knöpfe, Links und Hinweise, die Odoo brauchen,
   fallen weg. Neue Odoo-Knöpfe: data-odoo an das Element. */
html[data-odoo-off] form[action="/stock/sync"],
html[data-odoo-off] form[action="/bank/sync"],
html[data-odoo-off] form[action="/crm/sync"],
html[data-odoo-off] form[action="/calendar/sync"],
html[data-odoo-off] form[action="/hr/sync"],
html[data-odoo-off] form[action="/mailings/sync"],
html[data-odoo-off] form[action="/service/sync"],
html[data-odoo-off] form[action="/service/hub/sync"],
html[data-odoo-off] form[action="/purchase/orders/sync"],
html[data-odoo-off] form[action="/stock/settings/back-to-odoo"],
html[data-odoo-off] form[action="/stock/production/boms/take-over"],
html[data-odoo-off] form[action="/talk/settings/whatsapp/sync"],
html[data-odoo-off] form[action="/talk/settings/discuss/import"],
html[data-odoo-off] form[action="/talk/settings/ai/import"],
html[data-odoo-off] form[action="/service/snippets/import"],
html[data-odoo-off] form[action="/sales/subscriptions/import-odoo"],
html[data-odoo-off] form[action="/sales/sds/odoo"],
html[data-odoo-off] form[action="/sales/flat/odoo"],
html[data-odoo-off] form[action="/sales/odoo-takeover/fetch"],
html[data-odoo-off] form[action="/sales/odoo-takeover/run"],
html[data-odoo-off] form[action="/facility/jobs/odoo"],
html[data-odoo-off] form[action="/facility/ideas/odoo/sync"],
html[data-odoo-off] form[action="/crm/partners/import"],
html[data-odoo-off] form[action="/contacts/settings/odoo-contacts"],
html[data-odoo-off] form[action="/contacts/settings/certified"],
html[data-odoo-off] form[action="/contacts/distributors/odoo"],
html[data-odoo-off] form[action="/articles/pricelists/odoo/import"],
html[data-odoo-off] form[action="/calendar/booking/import"],
html[data-odoo-off] form[action="/bank/plan/setup/odoo"],
html[data-odoo-off] a[href="/articles/import"],
html[data-odoo-off] a[href="/sales/archive/import"],
html[data-odoo-off] a[href="/stock/production/boms/take-over"],
html[data-odoo-off] a[href="/hr/absences/approvers/takeover"],
html[data-odoo-off] form[action^="/shop/settings/sites/"][action$="/odoo"],
html[data-odoo-off] form[action^="/crm/lead/odoo/"][action$="/convert"],
html[data-odoo-off] a[href*="odoo.com"],
html[data-odoo-off] [data-odoo] { display: none !important; }
/* wallTalk settings in one sheet, like the Odoo wallTalk (core.js, 26.11.2026): a sheet from below on the phone, a panel
   at the button on a computer; cards, chips, segments with the yellow-green line, switches; only colours of this file */
.ts-back{position:fixed;inset:0;z-index:119;background:color-mix(in srgb,var(--bg) 55%,transparent)}
.ts-sheet{position:fixed;z-index:120;width:440px;max-width:calc(100vw - 16px);max-height:calc(var(--vh) - 24px);display:flex;flex-direction:column;
  background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:18px;
  box-shadow:0 16px 40px color-mix(in srgb,var(--bg) 70%,transparent),0 2px 8px color-mix(in srgb,var(--bg) 50%,transparent)}
.ts-sheet.sheet{left:0!important;right:0;bottom:0;top:auto!important;width:auto;max-width:none;max-height:92vh;border-radius:20px 20px 0 0;border-bottom:0}
.ts-grip{display:none;width:44px;height:5px;border-radius:3px;background:var(--line-strong);margin:8px auto 0;flex:none}
.ts-sheet.sheet .ts-grip{display:block}
.ts-top{display:flex;align-items:center;gap:8px;padding:12px 12px 6px 20px;flex:none}
.ts-top h2{flex:1;margin:0;font-family:"Barlow Condensed",var(--font,inherit);font-weight:500;font-size:26px}
.ts-x{border:0;background:none;color:var(--muted);width:40px;height:40px;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.ts-x:hover,.ts-x:focus-visible{background:var(--field);color:var(--text);outline:none}
.ts-body{overflow:auto;padding:4px 12px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}
.ts-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.ts-card h3,.ts-h3{margin:0;font-size:19px;font-weight:700;display:block}
.ts-hint{margin:0;color:var(--muted);font-size:13.5px;line-height:1.4;display:block;font-weight:400}
.ts-label{margin:6px 0 0;color:var(--muted);font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.ts-muted{color:var(--muted)}
.ts-grow{flex:1;min-width:0;overflow-wrap:anywhere}
/* nothing wider than the panel (K-09, Andreas 01.12.2026: sideways scroll bar, the switch of Kundenchats cut off) */
.ts-body{overflow-x:hidden}.ts-card{min-width:0}.ts-chip{max-width:100%}.ts-chip span{white-space:normal;text-align:left}
.ts-now{display:flex;align-items:center;gap:10px;background:var(--field);border-radius:12px;padding:12px 14px;min-height:48px}
.ts-now small{color:var(--muted)}
.ts-sym{display:inline-grid;vertical-align:-3px;margin-right:6px;color:var(--accent-ink)}
.ts-link{border:0;background:none;color:var(--accent-ink);font:inherit;font-weight:600;cursor:pointer;padding:6px 4px;white-space:nowrap}
.ts-link:hover{text-decoration:underline}
.ts-chips{display:flex;flex-wrap:wrap;gap:8px}
.ts-chips.ts-center{justify-content:center}
.ts-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 14px;border-radius:999px;border:1px solid var(--line-strong);
  background:none;color:var(--text);font:inherit;font-size:14.5px;cursor:pointer}
.ts-chip svg{color:var(--muted);flex:none}
.ts-chip:hover,.ts-chip:focus-visible{background:var(--field);outline:none}
.ts-chip[aria-pressed="true"]{border:2px solid var(--accent);color:var(--accent-ink);font-weight:700;padding:5px 13px;background:color-mix(in srgb,var(--accent) 12%,transparent)}
.ts-chip[aria-pressed="true"] svg,.ts-st svg{color:var(--accent-ink)}
.ts-dur{background:var(--field);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.ts-slide{display:flex;align-items:center;gap:10px}
.ts-slide input[type=range]{flex:1;accent-color:var(--accent);min-width:0}
.ts-round{width:42px;height:42px;flex:none;border-radius:50%;border:1px solid var(--line-strong);background:none;color:var(--text);display:grid;place-items:center;cursor:pointer}
.ts-round:hover,.ts-round:focus-visible{background:var(--card);outline:none}
.ts-scale{display:flex;justify-content:space-between;color:var(--muted);font-size:12.5px;padding:0 52px}
.ts-own{display:flex;gap:8px}
.ts-own input{flex:1;min-width:0;border:1px solid var(--line-strong);background:var(--bg);color:var(--text);border-radius:10px;padding:10px 12px;font:inherit}
.ts-seg{display:flex;background:var(--field);border-radius:12px;padding:4px;gap:2px}
.ts-seg button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;min-height:58px;padding:8px 4px 6px;
  border:0;border-bottom:3px solid transparent;border-radius:8px 8px 2px 2px;background:none;color:var(--text);font:inherit;font-weight:600;font-size:14px;cursor:pointer;text-align:center}
.ts-seg button svg{color:var(--muted)}
.ts-seg button:hover,.ts-seg button:focus-visible{background:var(--card);outline:none}
.ts-seg button[aria-checked="true"]{border-bottom-color:var(--accent)}
.ts-seg button[aria-checked="true"] svg{color:var(--accent-ink)}
.ts-row{display:flex;align-items:center;gap:12px;cursor:pointer;padding:4px 0}
.ts-switch{appearance:none;-webkit-appearance:none;flex:none;width:52px;height:30px;border-radius:999px;background:var(--line-strong);position:relative;cursor:pointer;margin:0;transition:background .15s}
.ts-switch::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:var(--card);transition:transform .15s}
.ts-switch:checked{background:var(--accent)}
.ts-switch:checked::after{transform:translateX(22px);background:var(--on-accent)}
.ts-switch:focus-visible{outline:2px solid var(--accent-ink);outline-offset:2px}
.ts-times{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ts-times select,.ts-devfoot select{border:1px solid var(--line-strong);background:var(--field);color:var(--text);border-radius:8px;padding:6px 8px;font:inherit}
.ts-device svg{flex:none;color:var(--muted)}
.ts-dev{border:1px solid var(--line);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.ts-devhead{display:flex;align-items:center;gap:10px}
.ts-devhead svg{color:var(--muted);flex:none}
.ts-dev dl{display:grid;grid-template-columns:auto 1fr;gap:4px 16px;margin:0;font-size:14px}
.ts-dev dt{color:var(--muted)}
.ts-dev dd{margin:0}
.ts-ok{color:var(--accent-ink);font-weight:700}
.ts-warn{color:var(--warn);font-weight:700}
.ts-devfoot{display:flex;align-items:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:8px}
.ts-devfoot label{display:flex;flex-direction:column;gap:4px}
.ts-nav{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;color:var(--text);text-decoration:none}
.ts-nav:hover{background:var(--field)}
.ts-links{display:flex;flex-direction:column;gap:6px}
.ts-links .ts-nav{padding:10px 14px}
.ts-nav svg{color:var(--muted);flex:none}
@media (prefers-reduced-motion:reduce){.ts-switch,.ts-switch::after{transition:none}}

/* „Spielwiese“ (core_kit.playground): calm band on top of every page; one line on a phone */
/* who leads the area of this page (Andreas 29.11.2026): one quiet line, the dot in the colour of the Schaltzentrale */
.leadline{display:flex;align-items:center;gap:6px;margin:-6px 0 10px;font-size:12.5px;color:var(--muted)}
.leadline b{color:var(--text);font-weight:700}
.leadline .ll-dot{width:8px;height:8px;border-radius:50%;background:var(--warn);flex:none}
.leadline .ll-dot.solo{background:var(--ok)}
@media (max-width:700px){.leadline .ll-long{display:none}}
.playband{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:-4px 0 12px;padding:7px 12px;border-radius:10px;background:var(--card);color:var(--text);border:1px solid var(--line);font-size:14px;line-height:1.35}
.playband .pb-dot{width:9px;height:9px;border-radius:50%;background:var(--st-wait,var(--accent));flex:none}
.playband .pb-short{display:none;color:var(--muted)}
@media (max-width:700px){.playband{flex-wrap:nowrap;white-space:nowrap;overflow:hidden;font-size:13px;padding:6px 10px}.playband .pb-long{display:none}.playband .pb-short{display:inline;overflow:hidden;text-overflow:ellipsis}}
/* Spielwiese: status of a running sync (home settings_playground_status.html) */
.pg-status{margin:10px 0 0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.pg-status .pg-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 6px}
.pg-status progress{width:100%;height:6px;accent-color:var(--accent)}
.pg-steps{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:2px}
.pg-steps li{display:flex;gap:8px;align-items:baseline}
.pg-steps .mark{width:1.2em;text-align:center}
.pg-steps li.done .mark{color:var(--ok)}
.pg-steps li.running .mark{color:var(--accent-ink);animation:pulse 1s ease-in-out infinite}
.pg-steps li.running .name{font-weight:600}
.pg-steps li.waiting,.pg-steps li.missing{opacity:.6}
.pg-steps .warn,.pg-totals .warn{color:var(--warn)}
.pg-totals{white-space:nowrap}
.pg-totals .ok{color:var(--ok)}
@media (prefers-reduced-motion:reduce){.pg-steps li.running .mark{animation:none}}

/* Headings (Mein Profil → Darstellung → Überschriften und Stärke der Überschriften, Andreas 27.11.2026): a typeface of
   their own, independent of the text, and a strength for all of them. „Wie der Text“ (text) follows the text's face.
   At the end of the file so it wins over the themes; mails and signatures as their recipients see them keep theirs. */
html{--hw:600;--hw-title:700}
html[data-hweight="light"]{--hw:500;--hw-title:600}
html[data-hweight="xlight"]{--hw:400;--hw-title:500}
html[data-hweight="thin"]{--hw:300;--hw-title:400}
html[data-hweight="bold"]{--hw:700;--hw-title:800}
html[data-style="serioes"]:not([data-hweight="light"],[data-hweight="xlight"],[data-hweight="thin"],[data-hweight="bold"]){--hw-title:400}   /* the elegant thin serif title of Seriös */
html[data-heads="barlow"]{--head-face:"Barlow",system-ui,sans-serif}
html[data-heads="semi"]{--head-face:"Barlow Semi Condensed","Barlow",system-ui,sans-serif}
html[data-heads="condensed"]{--head-face:"Barlow Condensed","Barlow",system-ui,sans-serif}
html[data-heads="inter"]{--head-face:"Inter",system-ui,sans-serif}
html[data-heads="sourcesans"]{--head-face:"Source Sans 3",system-ui,sans-serif}
html[data-heads="opensans"]{--head-face:"Open Sans",system-ui,sans-serif}
html[data-heads="plex"]{--head-face:"IBM Plex Sans",system-ui,sans-serif}
html[data-heads="public"]{--head-face:"Public Sans",system-ui,sans-serif}
html[data-heads="dmsans"]{--head-face:"DM Sans",system-ui,sans-serif}
html[data-heads="manrope"]{--head-face:"Manrope",system-ui,sans-serif}
html[data-heads="figtree"]{--head-face:"Figtree",system-ui,sans-serif}
html[data-heads="hanken"]{--head-face:"Hanken Grotesk",system-ui,sans-serif}
html[data-heads="outfit"]{--head-face:"Outfit",system-ui,sans-serif}
html[data-heads="montserrat"]{--head-face:"Montserrat",system-ui,sans-serif}
html[data-heads="atkinson"]{--head-face:"Atkinson Hyperlegible Next",system-ui,sans-serif}
html[data-heads="system"]{--head-face:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif}
html[data-heads="classic"]{--head-face:"Helvetica Neue",Helvetica,Arial,sans-serif}
html[data-heads="serif"]{--head-face:Georgia,Cambria,"Times New Roman",serif}
html[data-heads="mono"]{--head-face:ui-monospace,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace}
html:is([data-heads="barlow"],[data-heads="semi"],[data-heads="condensed"],[data-heads="inter"],[data-heads="sourcesans"],[data-heads="opensans"],[data-heads="plex"],[data-heads="public"],[data-heads="dmsans"],[data-heads="manrope"],[data-heads="figtree"],[data-heads="hanken"],[data-heads="outfit"],[data-heads="montserrat"],[data-heads="atkinson"],[data-heads="system"],[data-heads="classic"],[data-heads="serif"],[data-heads="mono"]) :is(h1,h2,h3,h4,.title,.big-hello,.sg-title,.set-slabel,.ws-who-name,.empty-state strong,.fun-error h1,.fun-error .code):not(.sig-paper *,.mail-paper *,.hs-stage *){font-family:var(--head-face)!important}
html :is(h2,h3,h4,.sg-title,.set-slabel,.ws-who-name,.empty-state strong):not(.sig-paper *,.mail-paper *,.hs-stage *){font-weight:var(--hw)!important}
html :is(h1.title,.big-hello,.fun-error h1,.fun-error .code):not(.sig-paper *,.mail-paper *,.hs-stage *){font-weight:var(--hw-title)!important}
html:not([data-heads="condensed"]) :is(h2,h3,h4,.sg-title){letter-spacing:-.005em}
html:not([data-heads="condensed"]) h1.title{letter-spacing:.015em}
/* Symbols follow the density (Andreas 27.11.2026: „Bei der Auswahl kleiner Schriftarten und kompakter Anzeige wirken die
   Icons jetzt viel zu groß“). Kompakt – the default – takes smaller tiles and symbols beside text; Großzügig keeps the
   larger ones. The font size scales them on top (zoom). */
html[data-density="compact"] .set-card > a{min-height:44px;gap:10px;font-size:14px}
html[data-density="compact"] .set-ic{width:28px;height:28px;border-radius:8px}
html[data-density="compact"] .set-ic svg{width:16px;height:16px}
html[data-density="compact"] .set-group a svg,html[data-density="compact"] .set-home svg{width:16px;height:16px}
html[data-density="compact"] .app-tile .ic{flex-basis:34px;height:34px;border-radius:9px}
html[data-density="compact"] .app-tile .ic svg{width:18px;height:18px}
html[data-density="compact"] .rail a.item svg{width:17px;height:17px}
html[data-density="compact"] .rail a.item .ri{width:20px;height:20px}
html[data-density="compact"] .rail a.item .ri svg{width:16px;height:16px}
html[data-density="compact"] .topicon svg{width:17px;height:17px}
@media (max-width:760px){html[data-density="compact"] .mbar svg{width:20px;height:20px}}
/* Size of the headings on top of the text size (Andreas 27.11.2026: „noch mehr Möglichkeiten, kleiner und feiner darzustellen … bei Überschriften als auch im Text“) */
html[data-hsize="80"] :is(h1,h2,h3,h4,.title,.big-hello,.sg-title,.set-slabel,.ws-who-name,.empty-state strong,.fun-error h1,.fun-error .code):not(.sig-paper *,.mail-paper *,.hs-stage *){zoom:.8}
html[data-hsize="85"] :is(h1,h2,h3,h4,.title,.big-hello,.sg-title,.set-slabel,.ws-who-name,.empty-state strong,.fun-error h1,.fun-error .code):not(.sig-paper *,.mail-paper *,.hs-stage *){zoom:.85}
html[data-hsize="90"] :is(h1,h2,h3,h4,.title,.big-hello,.sg-title,.set-slabel,.ws-who-name,.empty-state strong,.fun-error h1,.fun-error .code):not(.sig-paper *,.mail-paper *,.hs-stage *){zoom:.9}
html[data-hsize="110"] :is(h1,h2,h3,h4,.title,.big-hello,.sg-title,.set-slabel,.ws-who-name,.empty-state strong,.fun-error h1,.fun-error .code):not(.sig-paper *,.mail-paper *,.hs-stage *){zoom:1.1}
html[data-hsize="125"] :is(h1,h2,h3,h4,.title,.big-hello,.sg-title,.set-slabel,.ws-who-name,.empty-state strong,.fun-error h1,.fun-error .code):not(.sig-paper *,.mail-paper *,.hs-stage *){zoom:1.25}
html[data-hsize="140"] :is(h1,h2,h3,h4,.title,.big-hello,.sg-title,.set-slabel,.ws-who-name,.empty-state strong,.fun-error h1,.fun-error .code):not(.sig-paper *,.mail-paper *,.hs-stage *){zoom:1.4}

/* ── Grammar of every page (docs/ui-grammar.md, core/area.html, core/process.html) ─────────────────────────────
   Area page: head (question, <= 3 figures, one main action, the sign), „Braucht dich“, „Alles“, foot.
   Colours only through the status variables (--st-*). */
.ar-head{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title primary" "figs figs" "bar bar";gap:10px 16px;align-items:end;margin:0 0 14px}
.ar-title{grid-area:title;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-width:0}
.ar-over{flex:1 1 100%;font-size:11px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:var(--accent-ink)}
.ar-q{margin:0;font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-weight:600;font-size:26px;line-height:1.15;overflow-wrap:anywhere}
.ar-primary{grid-area:primary;display:flex;justify-content:flex-end}
.ar-primary form{margin:0}
.ar-bar-row{grid-area:bar;min-width:0}
.ar-bar-row .actions{margin:0}
.ar-figs{grid-area:figs;display:flex;flex-wrap:wrap;gap:8px}
.ar-fig{display:flex;flex-direction:column;gap:1px;min-width:120px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--text);text-decoration:none}
.ar-fig strong{font-size:20px;font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums}
.ar-fig small{font-size:12px;color:var(--muted)}
.ar-fig.st-late strong{color:var(--st-late)}.ar-fig.st-soon strong{color:var(--st-soon)}.ar-fig.st-wait strong{color:var(--st-wait)}
.ar-fig:hover{border-color:var(--line-strong)}
.ar-fig[aria-current="true"]{box-shadow:inset 0 -2px 0 var(--accent);border-color:var(--line-strong)}
.ar-lead{position:relative;font-size:12.5px}
.ar-title,.ar-foot{position:relative}   /* in the head and foot the hint opens under the title row (above the foot), never past the edge */
.ar-title .ar-lead,.ar-foot .ar-lead{position:static}
.ar-lead summary{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 9px;border-radius:999px;background:var(--field);color:var(--muted);font-weight:600;cursor:pointer;list-style:none;white-space:nowrap}
.ar-lead summary::-webkit-details-marker{display:none}
.ar-dot{width:8px;height:8px;border-radius:50%;background:var(--st-wait);flex:none}
.ar-lead.is-core .ar-dot{background:var(--warn)}
.ar-lead.is-solo .ar-dot{background:var(--ok)}
.ar-lead.is-play .ar-dot{background:var(--accent)}
.ar-lead.is-failed .ar-dot{background:var(--st-late)}
.ar-lead-pop{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:240px;max-width:min(340px,calc(100vw - 32px));padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);box-shadow:0 8px 24px rgba(0,0,0,.18);color:var(--text)}
.ar-lead-pop p{margin:0 0 6px;font-size:13px}
.ar-lead-pop form{margin:6px 0 0}
.ar-lead:not([open]) .ar-lead-pop{display:none}
.ar-needs,.ar-all{margin:0 0 18px}
/* Every area page (.ar-tight on <main>; Andreas 29.11.2026 on the pipeline: „viel zu viel Platz sehr unsinnig
   verschenkt! Der Fokus muss eindeutig auf dem Kanban-System liegen“, then: „In vielen Menus wird zu viel Platz
   verschenkt“): the head is one line – question, sign, the figures that are not zero as small pills, the bar, the main
   action –; „Braucht dich“ only when something needs one; „Alles“ closer to its list */
.ar-tight .ar-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 8px}
.ar-tight .ar-over{display:none}
.ar-tight .ar-title{flex:0 1 auto;flex-wrap:nowrap}
.ar-tight .ar-q{font-size:20px;white-space:nowrap}
.ar-tight .ar-figs{flex:0 1 auto;gap:6px}
.ar-tight .ar-fig{flex-direction:row;align-items:baseline;gap:5px;min-width:0;padding:2px 10px;border-radius:999px}
.ar-tight .ar-fig strong{font-size:14px}
.ar-tight .ar-fig.is-zero:not([aria-current="true"]){display:none}
.ar-tight .ar-bar-row{flex:0 0 auto}
.ar-tight .ar-primary{margin-left:auto}
@media (min-width:761px){.ar-tight .ar-primary .btn.big{height:34px;padding:0 14px;font-size:14px}}
.ar-tight .ar-needs:has(.ar-calm){display:none}
.ar-tight .ar-needs{margin:0 0 8px}
.ar-tight .ar-allhead{margin:0 0 4px}
.ar-tight .ar-allhead h2{font-size:14px}
.ar-tight .ar-all{margin:0 0 10px}
@media (max-width:760px){.ar-tight .ar-title{flex-wrap:wrap}.ar-tight .ar-q{font-size:18px;white-space:normal}
  /* the bar takes the whole line and wraps, no button past the edge (Andreas 29.11.2026: „Das Menü ist auf dem Handy
     nicht zuzugreifen“ – flex:0 0 auto kept it one line wider than the phone) */
  .ar-tight .ar-bar-row{flex:1 1 100%;min-width:0;max-width:100%}
  /* only in the head of the area scaffold: wallTalk, mail and others keep their figures in a column, where flex-basis
     100 % made them as tall as the screen and pushed the chat list to nothing (Andreas 30.11.2026 am Handy) */
  .ar-tight .ar-head .ar-figs{flex:1 1 100%;min-width:0;flex-wrap:wrap}.ar-tight .ar-head .ar-fig{flex:0 1 auto}}
.ar-needs h2,.ar-all h2{margin:0 0 6px;font-size:14px;font-weight:700}
.ar-allhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px}
.ar-allhead h2{margin:0}
.ar-n{display:inline-block;min-width:18px;padding:0 6px;border-radius:999px;background:var(--field);color:var(--muted);font-size:11.5px;font-weight:700;text-align:center;font-variant-numeric:tabular-nums}
.ar-rows{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--card);overflow:hidden}
.ar-item{position:relative;display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 12px 6px 14px;border-top:1px solid var(--line)}
.ar-item:first-child{border-top:0}
.ar-bar{position:absolute;left:0;top:0;bottom:0;width:3px;background:transparent}
.ar-item.st-late .ar-bar{background:var(--st-late)}.ar-item.st-soon .ar-bar{background:var(--st-soon)}.ar-item.st-fresh .ar-bar{background:var(--st-fresh)}
.ar-item.st-wait .ar-bar{background:var(--st-wait)}.ar-item.st-auto .ar-bar{background:var(--st-auto)}.ar-item.st-rest .ar-bar{background:var(--st-rest)}
.ar-item{color:var(--text)}
.ar-main{display:flex;flex-direction:column;min-width:0;flex:1 1 auto;color:var(--text);text-decoration:none}
.ar-main strong{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ar-main small{color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ar-when{flex:none;font-size:12.5px;color:var(--muted);white-space:nowrap}
/* PC: one entry = one line (Andreas 28.11.2026: „nimmt zu viel Platz weg“) - name, then the reason in the same line;
   on a phone the reason stays under the name */
@media (min-width:761px){.ar-item{min-height:36px;padding-top:4px;padding-bottom:4px}
  .ar-main{flex-direction:row;align-items:baseline;gap:10px}.ar-main strong{flex:0 1 auto;min-width:0}.ar-main small{flex:1 1 0;min-width:0}}
.ar-item.st-late .ar-when{color:var(--st-late)}.ar-item.st-soon .ar-when{color:var(--st-soon)}
.ar-amt{flex:none;font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}
.ar-firm{flex:none;display:inline-block;max-width:70px;padding:0 5px;border-radius:4px;border:1px solid var(--line);color:var(--muted);font-size:10.5px;font-weight:700;letter-spacing:.3px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}
td .ar-firm,.who .ar-firm{margin-right:6px;vertical-align:1px}   /* the company mark in a list row (Regel A.3) */
.ar-more{margin:6px 2px 0;font-size:13px}
.ar-calm{margin:0;padding:10px 12px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:13.5px}
.ar-legacy{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:0 0 10px;padding:9px 12px;border:1px solid var(--line);border-left:3px solid var(--st-rest);border-radius:10px;background:var(--card);color:var(--text);text-decoration:none;font-size:13.5px}
.ar-legacy b{font-weight:700}
.ar-legacy span{color:var(--muted)}
.ar-legacy .ar-go{margin-left:auto;color:var(--accent-ink);font-weight:600}
.ar-scope a{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border-radius:7px;color:var(--muted);font-size:13px;font-weight:600;text-decoration:none}
.ar-scope a[aria-current="true"]{background:var(--card);color:var(--text);box-shadow:inset 0 -2px 0 var(--accent)}
.ar-filters{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px}
.ar-chip{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 10px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--text);font-size:13px;text-decoration:none;cursor:pointer;list-style:none}
.ar-chip::-webkit-details-marker{display:none}
.ar-chip[aria-current="true"]{box-shadow:inset 0 -2px 0 var(--accent);border-color:var(--line-strong)}
.ar-filters{position:relative}   /* „Mehr“ opens under the row, never past the right edge */
.ar-morefilters{position:static}
.ar-morelist{position:absolute;z-index:30;top:calc(100% + 6px);left:0;display:flex;flex-wrap:wrap;gap:6px;width:max-content;max-width:min(420px,calc(100vw - 32px));padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--card);box-shadow:0 8px 24px rgba(0,0,0,.18)}
.ar-emptyf{margin:8px 0;padding:10px 12px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:13.5px}
.ar-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0 0;padding-top:10px;border-top:1px solid var(--line);color:var(--muted);font-size:12.5px}
.ar-foot .ar-lead-pop{top:auto;bottom:calc(100% + 6px)}
.ar-lead:not([open]) .ar-lead-pop,.ar-morefilters:not([open]) .ar-morelist{display:none}   /* closed: no box at all (a closed details still lays out its content) */
@media (max-width:760px){.ar-title{position:relative}.ar-title .ar-lead{position:static}.ar-title .ar-lead-pop{left:0;right:auto}
  .ar-filters{position:relative}.ar-morefilters{position:static}}   /* a sign or „Mehr“ far right opens inside the screen */
.ar-wait{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px}
.ar-wait form{margin:0}
.ar-due{white-space:nowrap}
/* Regel I: the old stock one after the other (core/focus_one.html) */
.fo1{max-width:760px;margin:0 auto}
.fo1-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 10px}
.fo1-back{display:inline-flex;align-items:center;gap:4px;text-decoration:none}
.fo1-n{margin-left:auto;color:var(--muted);font-size:13px}
.fo1-card{padding:16px 18px;border-left:4px solid var(--st-rest)}
.fo1-card.st-late{border-left-color:var(--st-late)}.fo1-card.st-soon{border-left-color:var(--st-soon)}
.fo1-card h1{font-size:20px;margin:2px 0 4px;overflow-wrap:anywhere}
.fo1-when{font-size:13px;font-weight:700;color:var(--st-late)}
.fo1-card dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:3px 12px;margin:10px 0;font-size:13.5px}
.fo1-card dt{color:var(--muted)}
.fo1-card dd{margin:0;overflow-wrap:anywhere}
.fo1-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
@media (max-width:760px){
  .ar-head{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "figs" "bar"}
  /* the hint of the sign spans the row on a phone, wherever the sign sits (it never runs off the screen) */
  .ar-title,.ar-foot{position:relative}
  .ar-title .ar-lead,.ar-foot .ar-lead{position:static}
  .ar-title .ar-lead-pop,.ar-foot .ar-lead-pop{left:0;right:0;min-width:0;max-width:none}
  /* „Mehr“ opens in the flow on a phone, never past the right edge */
  .ar-morelist{position:static;margin-top:6px;min-width:0;max-width:none;width:auto;box-shadow:none}
  .ar-morefilters[open]{flex-basis:100%}
  .ar-q{font-size:22px}
  .ar-figs{flex-wrap:nowrap}
  .ar-fig{flex:1 1 0;min-width:0;padding:7px 9px}
  .ar-fig strong{font-size:17px}
  .ar-fig small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  /* the one main action sits at the thumb, above the bar at the bottom */
  .ar-primary{position:fixed;z-index:19;right:12px;bottom:calc(8px + var(--mbar-h));left:auto}
  .ar-primary .btn{box-shadow:0 6px 18px rgba(0,0,0,.25)}
  .ar-item{padding:8px 10px 8px 12px}
  .ar-firm{max-width:48px}
}
/* Process page: title line, stations, „Nächster Schritt“, timeline, side panel */
.pr-title{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}
.pr-back{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:var(--muted);text-decoration:none}
.pr-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.pr-no{font-variant-numeric:tabular-nums;color:var(--muted);font-weight:600}
.pr-steps{display:flex;list-style:none;margin:0 0 14px;padding:4px 2px 0;overflow-x:auto}
.pr-steps li{flex:1 1 0;min-width:96px;position:relative;padding:16px 10px 0 0;font-size:12px}
.pr-steps li::before{content:"";position:absolute;top:4px;left:0;right:0;height:2px;background:var(--line)}
.pr-steps li:last-child::before{right:auto;width:10px}
.pr-steps .dot{position:absolute;top:0;left:0;width:10px;height:10px;border-radius:50%;background:var(--bg);border:2px solid var(--line-strong);box-sizing:border-box}
.pr-steps li.is-done::before{background:var(--accent)}
.pr-steps li.is-done .dot{background:var(--accent);border-color:var(--accent)}
.pr-steps li.is-now .dot{border-color:var(--accent);border-width:3px}
.pr-steps li.is-later,.pr-steps li.is-skip{color:var(--muted)}
.pr-steps li.is-skip strong{text-decoration:line-through}
.pr-steps strong{display:block;font-weight:600}
.pr-note{display:block;font-size:11px;color:var(--muted)}
.pr-next .pr-q{margin:4px 0 2px;font-size:16px;font-weight:600;line-height:1.3}
.pr-next .pr-t{margin:4px 0 0;color:var(--muted);font-size:13px}
.pr-next .pr-ai{display:flex;gap:6px;align-items:flex-start;margin:8px 0 0;padding:8px 10px;border-radius:8px;background:var(--field);font-size:13px}
.pr-next .pr-ai small{display:block;color:var(--muted)}
.pr-go{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.pr-go form{margin:0}
.pr-layout{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}
.pr-main{flex:3 1 560px;display:flex;flex-direction:column;gap:12px;min-width:0}
.pr-side{flex:1 1 250px;display:flex;flex-direction:column;gap:12px;min-width:0}
.pr-tl{list-style:none;margin:6px 0 0;padding:0}
.pr-tl li{display:flex;gap:10px;padding:6px 0;border-top:1px solid var(--line);font-size:13px}
.pr-tl li:first-child{border-top:0}
.pr-at{flex:none;width:118px;color:var(--muted);font-size:12px}
.pr-what{min-width:0}
.pr-tx{display:block;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.pr-more{display:block;max-width:100%}.pr-more>summary{cursor:pointer;list-style:none;display:block}.pr-more>summary::-webkit-details-marker{display:none}.pr-more[open]>summary .pr-tx{display:none}.pr-more[open]>summary::before{content:"▾";color:var(--muted)}.pr-full{white-space:pre-line;overflow-wrap:anywhere;color:var(--text);font-size:.9em;margin:.25rem 0 .35rem;padding-left:.6rem;border-left:2px solid var(--line)}.pr-all{margin:.5rem 0 0}
.pr-src{display:inline-block;margin-left:4px;padding:0 6px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:11px;line-height:16px;white-space:nowrap}
@media (max-width:760px){.pr-at{width:84px}}
/* phone: the stations fit the width – dots for all, the label only at the current one (the others stay for screen readers) */
@media (max-width:640px){.pr-steps{overflow:hidden}.pr-steps li{min-width:0;padding-right:4px}.pr-steps li.is-now{flex:4 1 0}
  .pr-steps li:not(.is-now) strong,.pr-steps li:not(.is-now) .pr-note{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
/* „Spielwiese“ after the first page of a session: a thin coloured edge on top; pointing at it or tapping it shows the band */
html.pb-thin .playband{position:fixed;z-index:70;top:0;left:0;right:0;height:4px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:var(--st-wait);overflow:hidden;font-size:0;line-height:0;cursor:help;outline:none}
html.pb-thin .playband > *{visibility:hidden}
html.pb-thin .playband:hover,html.pb-thin .playband:focus,html.pb-thin .playband:focus-within{height:auto;padding:7px 12px;background:var(--card);border-bottom:2px solid var(--st-wait);font-size:13px;line-height:1.35;box-shadow:0 6px 18px rgba(0,0,0,.2)}
html.pb-thin .playband:hover > *,html.pb-thin .playband:focus > *{visibility:visible}
/* Regel C: a bar arranged by the person shows it - a small dot at its end; „Wie mein Team“ (right click) goes back */
.cbar.bar-own{position:relative}
.cbar.bar-own::after{content:"";align-self:center;flex:none;width:6px;height:6px;margin-left:4px;border-radius:50%;background:var(--accent);opacity:.9}
.cbar.bar-own:hover::before{content:attr(data-bar-own-title);position:absolute;z-index:40;right:0;top:calc(100% + 4px);max-width:260px;padding:5px 8px;border-radius:6px;background:var(--card);border:1px solid var(--line);color:var(--muted);font-size:11.5px;font-weight:500;white-space:normal;pointer-events:none}
/* progress bar in tables (Odoo-Archiv: Übertragung aus Odoo) */
.meter{display:inline-block;vertical-align:middle;width:120px;max-width:60%;height:6px;border-radius:999px;background:var(--field);overflow:hidden}
.meter i{display:block;height:100%;border-radius:inherit;background:var(--accent)}

/* People picker (home/_people_pick.html): chosen people as chips, „+ Person“ adds one – instead of <select multiple>,
   which a 32 px field cut to one row of the list (30.11.2026) */
.pick-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pick-chip{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px 0 12px;border-radius:999px;
  background:color-mix(in srgb,var(--accent) 16%,var(--card));border:1px solid color-mix(in srgb,var(--accent) 45%,transparent);color:var(--text);cursor:pointer;font-size:14px}
.pick-chip b{font-weight:600}
.pick-chip input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.pick-chip i{font-style:normal;font-size:16px;line-height:1;color:var(--muted)}
.pick-chip:hover i{color:var(--danger)}
.pick-chip:has(input:not(:checked)){background:transparent;border-style:dashed;color:var(--muted);text-decoration:line-through}
.pick-chip:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.field select.pick-add{width:auto;min-width:180px;max-width:100%}
/* @mention list under a text field (core.js data-mention) */
.mention-list{position:absolute;left:8px;top:calc(100% + 4px);z-index:40;min-width:220px;max-height:260px;overflow:auto;margin:0;padding:4px;list-style:none}
.mention-list button{display:block;width:100%;text-align:left;padding:6px 10px;border:0;border-radius:6px;background:transparent;color:var(--text);font:inherit;font-size:14px;cursor:pointer}
.mention-list button[aria-selected="true"],.mention-list button:hover{background:color-mix(in srgb,var(--accent) 18%,transparent)}

/* Mein Status as colour emoji in the status sheet, the same as behind the names in wallTalk (30.11.2026) */
.ts-emo{display:inline-block;width:18px;text-align:center;font-size:16px;line-height:1;font-style:normal;
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji","Twemoji Mozilla",sans-serif}
/* the card at the own picture (K-09, core.js coreMeCard): small, one status line, four ways on */
.mc-back{position:fixed;inset:0;z-index:119}
.me-card{position:fixed;z-index:120;width:300px;max-width:calc(100vw - 16px);background:var(--card);border:1px solid var(--line-strong);border-radius:14px;
  box-shadow:0 12px 32px rgba(0,0,0,.28);padding:12px;display:flex;flex-direction:column;gap:8px}
.mc-head{display:flex;align-items:center;gap:10px}
.mc-head img,.mc-ini{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;display:grid;place-items:center;background:var(--field);font-weight:700;color:var(--muted)}
.mc-who{min-width:0;display:flex;flex-direction:column}
.mc-who small{color:var(--muted);font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-status{display:flex;align-items:center;gap:8px;width:100%;border:1px solid var(--line);background:var(--field);color:var(--text);border-radius:10px;padding:8px 10px;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.mc-status small,.mc-muted{color:var(--muted)}
.mc-grow{flex:1;min-width:0;overflow-wrap:anywhere}
.mc-pick{display:flex;flex-direction:column;gap:8px}
.mc-durs,.mc-chips{display:flex;flex-wrap:wrap;gap:6px}
.mc-dur,.mc-chip{border:1px solid var(--line-strong);background:var(--card);color:var(--text);border-radius:99px;padding:4px 10px;font:inherit;font-size:13px;cursor:pointer;display:inline-flex;gap:5px;align-items:center;max-width:100%}
.mc-dur[aria-pressed="true"],.mc-chip[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 0 -2px 0 var(--accent)}
.mc-link{align-self:flex-start;border:0;background:none;color:var(--accent-ink);font:inherit;font-size:13px;cursor:pointer;padding:2px 0}
.mc-links{display:flex;flex-direction:column;border-top:1px solid var(--line);padding-top:6px;margin:0 -4px}
.mc-links a,.mc-links button{display:flex;justify-content:space-between;gap:8px;padding:8px;border-radius:8px;color:var(--text);text-decoration:none;background:none;border:0;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.mc-links a:hover,.mc-links button:hover,.mc-links a:focus-visible,.mc-links button:focus-visible{background:var(--field);outline:none}

/* a call of the own group (K-10): quieter, above the own call card */
.call-card.group{box-shadow:0 6px 18px rgba(0,0,0,.18);border-left-color:var(--line-strong)}
.call-card.group .call-state{color:var(--muted)}
/* Mein Telefon (talk/call_watch.py): the parts of the card, calls of colleagues as narrow lines stacked above it */
.call-part{color:var(--muted);font-size:12.5px;overflow-wrap:anywhere}
.call-part a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.call-part.late{color:var(--danger)}
.call-lines{position:fixed;right:16px;bottom:16px;z-index:59;width:min(320px,calc(100vw - 32px));display:flex;flex-direction:column;gap:6px}
.call-lines .call-card.line{position:static;width:auto;padding:6px 10px 8px;gap:2px}
.call-lines .call-card.line .call-acts{margin-top:2px}
.call-line{display:flex;flex-wrap:wrap;gap:0 8px;align-items:baseline}
.call-line strong{font-size:14px;overflow-wrap:anywhere}
.call-card.line.late{border-left-color:var(--danger)}
.call-card.line.late .call-state{color:var(--danger)}
.call-card.line.connected,.call-card.line.answered{opacity:.75}
@media (max-width:760px){.call-lines{bottom:calc(14px + var(--mbar-h));right:8px;width:calc(100vw - 16px)}}
/* every card of a settings page as wide as the others (Andreas 01.12.2026: „Warum sind die Anzeigen so ungleich breit?“) */
.settings-body > .settings-group{max-width:none}
/* Every box to write can be made bigger with the mouse (Andreas 01.12.2026: „unten rechts in der Ecke 2 kleine
   Diagonalstriche … gilt für alle solche Eingabefelder im gesamten System überall“): the grip of the browser is always
   there, also on the boxes that grow by themselves (lead conversation, assistant, wallTalk); only a title written in a
   box (wallBoard card) keeps none */
textarea:not(.kc-title){resize:vertical!important}

/* Entwicklung: the icon turns while the worker works (core.js, /api/dev/busy; Andreas 01.12.2026) */
@keyframes dev-spin{to{transform:rotate(360deg)}}
#rail a[data-dev-busy] .ri svg,.mbar a[data-dev-busy] svg{animation:dev-spin 4s linear infinite;transform-origin:50% 50%}
#rail a[data-dev-busy="2"] .ri svg,.mbar a[data-dev-busy="2"] svg{animation-duration:1.6s}
#rail a[data-dev-busy="3"] .ri svg,.mbar a[data-dev-busy="3"] svg{animation-duration:.6s}
/* System: die Farbe zeigt die Push-Warteschlange (Andreas 03.12.2026): grün = Build läuft, nichts wartet; gelb = einer wartet;
   rot = zwei und mehr warten; ohne Farbe = nichts läuft, nichts wartet (core.js, /api/shipq/light) */
a[data-queue-light="green"]{--ql:#22C55E}a[data-queue-light="yellow"]{--ql:#EAB308}a[data-queue-light="red"]{--ql:#EF4444}
#rail a[data-queue-light] .ri,#rail a[data-queue-light] .ri svg,.mbar a[data-queue-light] svg,a[data-ctx-app="set:system"][data-queue-light] svg{color:var(--ql)}

/* editor.js: the little window at a link in the text (Sascha 02.12.2026) */
.ed-linkpop{position:absolute;z-index:30;display:flex;align-items:center;gap:8px;max-width:min(520px,100%);padding:6px 8px;
  border:1px solid var(--line);border-radius:10px;background:var(--card);box-shadow:0 6px 20px rgba(0,0,0,.18);font-size:13px}
.ed-linkpop[hidden]{display:none}
.ed-linkpop .ed-lp-url{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--accent-ink)}
.ed-linkpop .ed-lp-acts{display:flex;gap:4px;flex:none}
.ed-linkpop button{border:1px solid var(--line);background:transparent;color:var(--text);border-radius:7px;padding:3px 8px;font:inherit;cursor:pointer}
.ed-linkpop button:hover{border-color:var(--accent)}
[data-ed-area] a{cursor:pointer}
[data-ed-area] img{max-width:100%;height:auto}   /* a pasted picture never wider than the window (Annika Fellinger 02.12.2026) */

/* A mail as it looked, in its frame (core_kit.mailframe, templates/core/mailframe.html; Sascha Villwock 02.12.2026) */
.mail-frame-box{display:grid;gap:2px;margin:4px 0;min-width:0}
.mail-frame{display:block;width:100%;min-height:80px;border:1px solid var(--line);border-radius:10px;background:#fff}
.mail-frame-open{justify-self:end;font-size:11.5px;color:var(--muted)}
/* Lists of entries in the order of the rail (Andreas 02.12.2026, 12:23): Alle Apps and the overview of the settings – a
   small heading underlined in the accent, a card with rows of symbol, name and one line */
.al{display:flex;flex-direction:column;gap:18px;max-width:1280px}
.al-find{max-width:640px;margin:4px 0 0}
.al-group h2{position:relative;display:inline-block;margin:0 0 10px 12px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text)}
.al-group h2::after{content:"";position:absolute;left:0;bottom:-4px;width:22px;height:2px;border-radius:1px;background:var(--accent-ink)}
.al-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:2px 14px;margin:0;padding:6px;list-style:none;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.al-row{position:relative;display:flex;align-items:center;min-width:0;border-radius:10px}
.al-row:hover{background:var(--field)}
.al-open{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:8px 10px;color:var(--text);text-decoration:none}
.al-ic{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--field);color:var(--text)}
.al-row:hover .al-ic{background:var(--card)}
.al-t{min-width:0;display:flex;flex-direction:column;gap:1px}
.al-t strong{font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.al-t small{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.al-row form{margin:0}
.al-pin{display:grid;place-items:center;width:32px;height:32px;margin-right:6px;padding:0;border:0;border-radius:8px;background:none;color:var(--muted);cursor:pointer;opacity:0;transition:opacity .12s}
.al-row:hover .al-pin,.al-pin:focus-visible,.al-row.on .al-pin{opacity:1}
.al-row.on .al-pin{color:var(--accent-ink)}
.al-pin:hover{background:var(--card);color:var(--text)}
@media (hover:none){.al-pin{opacity:.6}}
.al-empty{margin:0 0 0 12px;font-size:13px}
.al-none{margin:0 12px}
.al-group[hidden],.al-row[hidden]{display:none}
@media (max-width:640px){.al-list{grid-template-columns:minmax(0,1fr)}}

/* „Notizen zu dieser Seite“ (core.js): the notes kept at a page, on top of it */
.here-notes{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:0 0 12px;padding:8px 12px;border:1px solid var(--line);
  border-left:3px solid var(--accent);border-radius:8px;background:var(--paper);font-size:.9rem}
.here-notes b{margin-right:4px}
.here-notes span{color:var(--muted);font-size:.82rem}
.here-notes a.done{text-decoration:line-through;color:var(--muted)}
.here-notes a.all{margin-left:auto}
/* Widths the person drags (core.js, Andreas 02.12.2026): a grip on the right edge of a pane ([data-resize]) and between
   the heads of table.list; double click = back to how it was. Not on touch screens and narrow windows. */
.pane-rz{position:absolute;top:0;right:-3px;width:6px;height:100%;cursor:col-resize;z-index:6;touch-action:none}
.pane-rz:hover,.pane-rz.drag{background:color-mix(in srgb,var(--accent) 45%,transparent)}
table.list th{position:relative}
.col-rz{position:absolute;top:0;right:0;width:8px;height:100%;cursor:col-resize;z-index:3;touch-action:none}
.col-rz::after{content:"";position:absolute;top:28%;bottom:28%;right:3px;width:1px;background:transparent}
table.list thead:hover .col-rz::after{background:var(--line-strong,var(--line))}
.col-rz:hover::after,.col-rz.drag::after{background:var(--accent);width:2px;top:0;bottom:0}
table.list.rz-fixed :is(th,td){overflow:hidden;text-overflow:ellipsis}
table.list.rz-fixed th{box-sizing:border-box}
.rz-dragging,.rz-dragging *{cursor:col-resize!important;user-select:none!important}
@media (max-width:760px),(pointer:coarse){.pane-rz,.col-rz{display:none}}

/* Post-its (stickies.js, home stickies.py): paper notes at the top of a page, slightly tilted, peeled off with a small turn */
.stickies{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}
.stickies:empty{display:none}
.sticky{--s-bg:#FFF4A3;--s-ink:#3B3413;position:relative;width:min(240px,100%);min-height:96px;padding:12px 30px 10px 14px;border-radius:2px 2px 14px 2px;
  background:var(--s-bg);color:var(--s-ink);box-shadow:0 1px 1px rgba(0,0,0,.12),0 6px 14px -6px rgba(0,0,0,.35);transform:rotate(-.8deg);
  transition:transform .25s ease,opacity .25s ease;display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.35}
.sticky:nth-child(2n){transform:rotate(.7deg)}
.sticky:nth-child(3n){transform:rotate(-.3deg)}
.sticky:hover{transform:rotate(0) translateY(-1px)}
.sticky.c-pink{--s-bg:#FFC9DE;--s-ink:#4A1F30}
.sticky.c-green{--s-bg:#C9F2C4;--s-ink:#1E3A1B}
.sticky.c-blue{--s-bg:#C6E3FF;--s-ink:#16314A}
.sticky .s-body{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.sticky .s-meta{opacity:.7;font-size:11.5px}
.sticky .s-peel{position:absolute;top:4px;right:4px;width:24px;height:24px;border:0;border-radius:6px;background:transparent;color:inherit;font-size:18px;line-height:1;cursor:pointer;opacity:.55}
.sticky .s-peel:hover{opacity:1;background:rgba(0,0,0,.08)}
.sticky.peeling{transform:rotate(14deg) translate(30px,-16px);opacity:0}
.sticky-new{width:min(320px,100%);transform:none;padding-right:14px}
.sticky-new textarea{width:100%;border:0;background:transparent;color:inherit;font:inherit;resize:vertical;outline:none}
.sticky-new .s-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.sticky-new .s-dot{width:20px;height:20px;border-radius:50%;border:1px solid rgba(0,0,0,.25);background:var(--s-bg);cursor:pointer;padding:0}
.sticky-new .s-dot.c-yellow{--s-bg:#FFF4A3}.sticky-new .s-dot.c-pink{--s-bg:#FFC9DE}.sticky-new .s-dot.c-green{--s-bg:#C9F2C4}.sticky-new .s-dot.c-blue{--s-bg:#C6E3FF}
.sticky-new .s-who{flex:1 1 120px;min-width:0;height:30px;border:1px solid rgba(0,0,0,.2);border-radius:6px;background:rgba(255,255,255,.55);color:inherit;font:inherit;font-size:13px}
.sticky-new .btn{color:#222}
@media (prefers-reduced-motion:reduce){.sticky,.sticky:nth-child(2n),.sticky:nth-child(3n){transform:none}}
html[data-motion="reduce"] .sticky{transform:none}
/* Stempel, Büroklammern, Kisten on a page (stickies.js) */
.stamp{display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:6px 14px 5px;border:3px double currentColor;border-radius:6px;transform:rotate(-6deg);
  font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;opacity:.85;align-self:center;
  -webkit-mask:radial-gradient(circle at 30% 40%,#000 60%,rgba(0,0,0,.82) 61%)}
.stamp b{font-size:20px;line-height:1}
.stamp small{font-family:inherit;letter-spacing:.04em;text-transform:none;font-size:11px}
.stamp.t-green{color:#2E8B57}.stamp.t-red{color:#D64545}.stamp.t-blue{color:#3B73C6}
html[data-theme="dark"] .stamp.t-green{color:#5FD08F}html[data-theme="dark"] .stamp.t-red{color:#FF7B7B}html[data-theme="dark"] .stamp.t-blue{color:#7FB0FF}
.page-chips{display:flex;flex-wrap:wrap;gap:6px;width:100%}
.page-chips:empty{display:none}
.page-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 6px 3px 10px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:13px}
.page-chip a{color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:320px}
.page-chip .pc-x,.page-panel .pc-x{border:0;background:transparent;color:var(--muted);font-size:16px;line-height:1;cursor:pointer;padding:0 4px}
.page-panel{width:100%;max-width:640px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--card);box-shadow:0 8px 24px -12px rgba(0,0,0,.35);display:flex;flex-direction:column;gap:10px}
.pp-head{display:flex;align-items:center;justify-content:space-between}
.pp-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pp-row input[type=text]{flex:1 1 220px;min-width:0;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--text);font:inherit}
.pp-list{display:flex;flex-direction:column;gap:4px;max-height:280px;overflow:auto}
.pp-item{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--text);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.pp-item:hover{background:var(--field)}
.pp-item.on{opacity:.6;cursor:default}
.pp-check{display:inline-flex;align-items:center;gap:4px;font-size:13px}
.stamp-pick{padding:6px 12px;border:2px solid currentColor;border-radius:6px;background:transparent;font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-size:16px;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}
.stamp-pick.t-green{color:#2E8B57}.stamp-pick.t-red{color:#D64545}.stamp-pick.t-blue{color:#3B73C6}
@media print{.stickies .sticky,.page-chips,.page-panel{display:none!important}}

/* ☰ and the logo beside the search (05.12.2026, wallpen-core/suche-und-menue-2026-12-05.md): on a computer ☰ heads the
   rail and the logo (Mein Tag or the chosen start page) stands left of the search; on a phone ☰ opens the drawer there */
.topbar .menu-top{display:none;position:relative;flex:none;width:40px;height:40px;place-items:center;border:0;border-radius:10px;background:none;color:var(--text);cursor:pointer}
.topbar .menu-top:hover,.topbar .menu-top[aria-expanded="true"]{background:var(--field)}
.topbar .menu-top .badge{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent);color:var(--on-accent);font-size:10.5px;font-weight:800;line-height:18px;text-align:center}
.topbar .menu-top .badge.late{background:var(--danger-fill);color:var(--on-danger)}
.topbar .menu-top .badge[hidden]{display:none}
.topbar .top-logo{flex:none;display:flex;height:34px}
.topbar .top-logo .logo{position:relative;display:flex;align-items:center;gap:7px;height:34px;padding:0 8px 0 2px;border-radius:10px;color:var(--text);text-decoration:none}
.topbar .top-logo .logo:hover,.topbar .top-logo .logo[aria-current="page"]{background:var(--field)}
.topbar .top-logo .logo svg{width:28px;height:28px}
.topbar .top-logo .logo .mark-rail{fill:var(--text)}
.topbar .top-logo .logo .mark-core{fill:var(--accent)}
.topbar .top-logo .logo .brand-mark{width:26px;height:26px;object-fit:contain;border-radius:7px;background:#fff;padding:2px}
.topbar .top-logo .logo.plain .brand-mark{background:none;padding:0}
.topbar .top-logo .logo .brand-wide,.topbar .top-logo .logo .brand-dark{display:none}
.topbar .top-logo .logo .lbl{font-family:"Barlow Condensed","Barlow",system-ui,sans-serif;font-size:17px;font-weight:600;white-space:nowrap}
.topbar .top-logo .logo .badge{position:absolute;top:0;left:24px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;border:2px solid var(--bg);background:var(--accent);color:var(--on-accent);font-size:10.5px;font-weight:800;line-height:14px;text-align:center}
.topbar .top-logo .logo .badge.late{background:var(--danger-fill);color:var(--on-danger)}
.topbar .top-logo .logo .badge[hidden]{display:none}
@media (max-width:1100px){.topbar .top-logo .logo .lbl{display:none}}
@media (max-width:760px){
  .topbar .menu-top{display:grid}
  .topbar .top-logo{display:none}
}
.rail .rail-mehead .rail-mesep{display:block;height:1px;margin:4px 0;background:var(--nav-line)}
.rail .rail-mehead .rail-melink .badge{margin-left:auto}
.rail #rail-field-me .rail-mehead{border-bottom:0;margin-bottom:0}

/* ☰ without number, triangle or word (Andreas 05.12.2026, 13:13); the number of Mein Tag sits at the picture instead */
.rail .rail-bar .rail-menu{min-height:44px}
.rail .rail-bar .rail-menu::after{display:none}
.rail .rail-bar .rail-menu svg{width:24px;height:24px}
.rail .rail-bar .rail-bottom .me{position:relative;overflow:visible}
.rail .rail-bar .rail-bottom .me .badge{top:-6px;right:-10px}
.topicon.me-top{position:relative}
.topicon.me-top .badge{position:absolute;top:-4px;right:-6px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--accent);color:var(--on-accent);font-size:10px;font-weight:800;line-height:17px;text-align:center}
.topicon.me-top .badge.late{background:var(--danger-fill);color:var(--on-danger)}
.topicon.me-top .badge[hidden]{display:none}
/* what needs the person, in the profile menu */
.rail .rail-meday{display:flex;flex-direction:column;gap:1px;margin:2px 0 4px;padding:4px 0;border-top:1px solid var(--nav-line);border-bottom:1px solid var(--nav-line)}
.rail .rail-meitem{display:flex;flex-direction:column;gap:1px;padding:5px 6px;border-radius:8px;color:var(--nav-text);text-decoration:none;font-size:12.5px;line-height:1.3}
.rail .rail-meitem b{font-weight:600;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.rail .rail-meitem span{color:var(--nav-muted);font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rail .rail-meitem.urgent b{color:var(--danger,#e5484d)}
.rail .rail-meitem:hover{background:var(--nav-card)}
.rail .rail-memore{padding:4px 6px;font-size:12px;color:var(--accent-ink,var(--accent));text-decoration:none}
.rail .rail-memore:hover{text-decoration:underline}
