/* The demo panels «Ukázky» (spec docs/superpowers/specs/2026-11-02-ukazky-design.md). Every selector starts with .ukd, so
   the panel never touches the site and the site's own rules (cortio.css) are overridden inside it where they reach in
   (links, buttons). A firm's look is its theme class .ukd--<theme>: colors, fonts, corners and shadows as tokens.
   Checked by tools/test_ukazky.py: the selectors, the text contrast of every theme (4.5:1) and the demo fonts. */

/* ===== 0. Demo fonts (SIL OFL 1.1, fonts/OFL-*.txt): the files Google Fonts served to Chrome on Windows on 03.11.2026,
   one variable woff2 per character subset with Google's unicode-range; the pins are in tools/test_ukazky.py ===== */
@font-face{font-family:'Nunito';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/nunito-v32-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/nunito-v32-latin.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}

/* The fonts of the other four firms (step 2), served the same way: Archivo and Archivo Narrow (Monolit Group), Fraunces and Inter
   (Domavia Reality), Manrope (Termia), IBM Plex Sans and Mono (ChefLine Partner). */
@font-face{font-family:'Archivo';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/archivo-v25-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Archivo';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/archivo-v25-latin.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:'Archivo Narrow';font-style:normal;font-weight:500 700;font-display:swap;src:url(fonts/archivo-narrow-v35-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Archivo Narrow';font-style:normal;font-weight:500 700;font-display:swap;src:url(fonts/archivo-narrow-v35-latin.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:'Fraunces';font-style:normal;font-weight:500 700;font-display:swap;src:url(fonts/fraunces-v38-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:500 700;font-display:swap;src:url(fonts/fraunces-v38-latin.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:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/inter-v20-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/inter-v20-latin.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-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/manrope-v23-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/manrope-v23-latin.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-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/ibm-plex-sans-v23-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/ibm-plex-sans-v23-latin.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 Mono';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-mono-v20-latin-ext-400.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:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-mono-v20-latin-400.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 Mono';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-mono-v20-latin-ext-600.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:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-mono-v20-latin-600.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}

/* ===== 1. Themes ===== */
.ukd--florea{--bg:#FBF7FD;--surface:#fff;--ink:#2A2140;--muted:#655C7A;--line:#EDE5F4;--pri:#6E4BA8;--pri-ink:#fff;
  --pri-text:#6E4BA8;--acc:#F6C7DA;--acc2:#7F5BBE;--ok:#1F7A55;--ok-bg:#E3F4EC;--warn:#A4461F;--warn-bg:#FDEBE3;
  --font:'Nunito',system-ui,-apple-system,'Segoe UI',sans-serif;--font-h:var(--font);--rad:18px;--rad-s:12px;
  --shadow:0 6px 18px -10px rgba(110,75,168,.35);--side-bg:#fff;--side-ink:#2A2140;--side-muted:#655C7A;--side-line:#EDE5F4;
  --side-hover:#F7F2FC;--side-on:#F3ECFB;--side-on-ink:#5B3C93;--side-ok:#1F7A55;--chip:#F3ECFB;--chip-ink:#5B3C93;--track:#F4EEFA;
  --hover:#FAF6FE;--s0:#6E4BA8;--s1:#E46A9C;--s2:#2E9E6E;--s3:#E39B2E;--s4:#3C8DC5;--s5:#B48AE0}

/* Monolit Group: safety orange and graphite, Archivo with Archivo Narrow headings, straight corners, a dark side menu. Dark text on the
   orange (white on it would read at 3:1 only). */
.ukd--monolit-group{--bg:#F5F2EC;--surface:#fff;--ink:#1E2320;--muted:#666560;--line:#E4DED3;--pri:#EE6A1F;--pri-ink:#1E2320;--pri-text:#B44C0E;
  --acc:#FFD9BF;--acc2:#F59A5C;--ok:#2F7533;--ok-bg:#E3F1E2;--warn:#9C4613;--warn-bg:#FCE9DC;
  --font:'Archivo',system-ui,-apple-system,'Segoe UI',sans-serif;--font-h:'Archivo Narrow','Archivo',system-ui,sans-serif;--rad:4px;--rad-s:3px;
  --shadow:none;--side-bg:#1E2320;--side-ink:#F5F2EC;--side-muted:#A9AAA3;--side-line:#343A36;--side-hover:#2A302C;--side-on:#EE6A1F;
  --side-on-ink:#1E2320;--side-ok:#7BD88F;--chip:#F3E3D3;--chip-ink:#8A3D10;--track:#EFE9DF;--hover:#FBF5EE;
  --s0:#EE6A1F;--s1:#1E2320;--s2:#7A8C7E;--s3:#C79A3B;--s4:#4F7CA8;--s5:#B5603A}
/* Domavia Reality: dark green and gold on cream, Fraunces headings with Inter, a dark green side menu. */
.ukd--domavia-reality{--bg:#FAF6EE;--surface:#fff;--ink:#1B2A24;--muted:#5D6961;--line:#E8E0CF;--pri:#123B2F;--pri-ink:#F3EBDA;--pri-text:#123B2F;
  --acc:#E9C77F;--acc2:#2C5E4B;--ok:#276B4D;--ok-bg:#E2F1E8;--warn:#7E570C;--warn-bg:#F6EBD3;
  --font:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;--font-h:'Fraunces',Georgia,serif;--rad:14px;--rad-s:10px;
  --shadow:0 6px 18px -12px rgba(18,59,47,.35);--side-bg:#123B2F;--side-ink:#F3EBDA;--side-muted:#B9C4BC;--side-line:#2A4D41;
  --side-hover:#1A4537;--side-on:#3A5239;--side-on-ink:#E9C77F;--side-ok:#9EE6BC;--chip:#EFE6D2;--chip-ink:#6A4E14;--track:#F4EDDF;--hover:#FBF7EE;
  --s0:#123B2F;--s1:#C9A45C;--s2:#2C5E4B;--s3:#8FA89A;--s4:#B99A63;--s5:#5E7A6E}
/* Termia: blue with a warm yellow, Manrope, a light side menu. */
.ukd--termia{--bg:#F3F8FC;--surface:#fff;--ink:#11253A;--muted:#53677D;--line:#DCE7F1;--pri:#0E4C7A;--pri-ink:#fff;--pri-text:#0E4C7A;
  --acc:#F5A524;--acc2:#2C6FA3;--ok:#157A52;--ok-bg:#E1F3EA;--warn:#8A5300;--warn-bg:#FFF1D9;
  --font:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;--font-h:var(--font);--rad:16px;--rad-s:10px;
  --shadow:0 6px 18px -12px rgba(14,76,122,.35);--side-bg:#fff;--side-ink:#11253A;--side-muted:#53677D;--side-line:#DCE7F1;
  --side-hover:#F1F7FC;--side-on:#E3F0FA;--side-on-ink:#0E4C7A;--side-ok:#157A52;--chip:#E3F0FA;--chip-ink:#0E4C7A;--track:#E9F1F8;--hover:#F2F8FD;
  --s0:#0E4C7A;--s1:#F5A524;--s2:#3C8DC5;--s3:#1E9E6A;--s4:#9FD3F5;--s5:#B76E00}
/* ChefLine Partner: the one dark theme, navy with light blue, IBM Plex Sans with Plex Mono numbers, the menu on top. */
.ukd--chefline-partner{--bg:#0C1624;--surface:#132235;--ink:#E6EDF7;--muted:#8DA0B8;--line:#1F3048;--pri:#39C6F4;--pri-ink:#06212E;--pri-text:#7FDBFA;
  --acc:#7FDBFA;--acc2:#62C3EA;--ok:#3FD49A;--ok-bg:#143A33;--warn:#F2B33D;--warn-bg:#33362F;
  --font:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;--font-h:var(--font);--font-mono:'IBM Plex Mono',ui-monospace,Menlo,monospace;
  --rad:8px;--rad-s:6px;--shadow:none;--side-bg:#0A1220;--side-ink:#E6EDF7;--side-muted:#8DA0B8;--side-line:#1F3048;--side-hover:#132235;
  --side-on:#1C3550;--side-on-ink:#7FDBFA;--side-ok:#3FD49A;--chip:#17324A;--chip-ink:#7FDBFA;--track:#1A2C42;--hover:#17283D;
  --s0:#39C6F4;--s1:#7FDBFA;--s2:#3FD49A;--s3:#F2B33D;--s4:#9C8CF2;--s5:#F27D7D}

/* ===== 2. Shell ===== */
.ukd{position:relative;display:block;height:720px;font-family:var(--font);font-size:14px;line-height:1.45;color:var(--ink);
  background:var(--bg);hyphens:manual;text-wrap:wrap;-webkit-font-smoothing:antialiased;overflow:hidden;text-align:left}
/* The resets weigh no more than one element (:where), so every .ukd-* class below wins over them, and they still win over
   the site's own a and button rules, which come earlier (cortio.css is linked first). */
:where(.ukd) *,:where(.ukd) *::before,:where(.ukd) *::after{box-sizing:border-box}
:where(.ukd) a{color:inherit;text-decoration:none}
:where(.ukd) button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:inherit}
:where(.ukd) :is(h2,h3,h4,p,ul,ol,dl,dd){margin:0;padding:0}
:where(.ukd) :is(ul,ol){list-style:none}
.ukd :focus-visible{outline:2px solid var(--pri);outline-offset:2px;border-radius:6px}
.ukd .ukd-side :focus-visible{outline-color:var(--side-ink)}   /* Domavia Reality's menu is the colour of --pri */
.ukd .ukd-i{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ukd-app{display:grid;grid-template-columns:236px minmax(0,1fr);height:100%}
.ukd-fail{padding:40px 24px;color:var(--muted,#555)}

/* side menu */
.ukd-side{background:var(--side-bg);color:var(--side-ink);border-right:1px solid var(--side-line);display:flex;
  flex-direction:column;min-height:0;overflow:auto;padding:16px 12px 14px}
.ukd-brand{display:flex;align-items:center;gap:10px;padding:0 6px 14px;margin-bottom:6px;border-bottom:1px solid var(--side-line)}
.ukd-mark{display:block;width:34px;height:34px;flex:none}
.ukd-mark svg{display:block;width:100%;height:100%}
.ukd-brand b{display:block;font-family:var(--font-h);font-size:16px;line-height:1.15}
.ukd-brand small{display:block;font-size:12px;color:var(--side-muted);margin-top:2px}
.ukd-nav{flex:1}
.ukd-nav a{display:block;padding:7px 10px;margin:1px 0;border-radius:var(--rad-s);font-size:14px;color:var(--side-ink)}
.ukd-nav a:hover{background:var(--side-hover)}
.ukd-nav a[aria-current="page"]{background:var(--side-on);color:var(--side-on-ink);font-weight:700}
.ukd-grp-h{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 10px 4px;font-size:11px;
  font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--side-muted)}
.ukd-grp-h .ukd-i{width:14px;height:14px;transition:transform .15s}
.ukd-grp-h[aria-expanded="false"] .ukd-i{transform:rotate(-90deg)}
.ukd-side-foot{margin-top:14px;padding:12px 6px 0;border-top:1px solid var(--side-line)}
.ukd-srcs-h{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--side-muted);margin-bottom:8px}
.ukd-srcs{display:flex;flex-wrap:wrap;gap:6px}
.ukd-src{display:block;border-radius:9px;cursor:help}
.ukd-logo{width:32px;height:32px;border-radius:9px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;
  flex:none;overflow:hidden}
.ukd-logo img{width:20px;height:20px;object-fit:contain;display:block}
.ukd-logo--none{background:var(--chip);color:var(--chip-ink);font-size:11px;font-weight:800}
.ukd-logo--none .ukd-i{width:16px;height:16px}
.ukd-all{display:flex;align-items:center;gap:8px;margin-top:12px;padding:8px 10px;border:1px solid var(--side-line);
  border-radius:var(--rad-s);font-size:13px;font-weight:700;color:var(--side-ink)}
.ukd-all:hover{background:var(--side-hover)}
.ukd-scrim{display:none}

/* main column and header */
.ukd-main{display:flex;flex-direction:column;min-width:0;min-height:0}
.ukd-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:10px 22px;background:var(--surface);
  border-bottom:1px solid var(--line)}
.ukd-menu-btn{display:none;align-items:center;gap:6px;padding:6px 10px;border:1px solid var(--line);border-radius:999px;font-size:13px}
.ukd-crumb{font-size:13px;color:var(--muted);min-width:0}
.ukd-crumb b{color:var(--ink);font-weight:700}
.ukd-chips{margin-left:auto;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.ukd-sync{font-size:12px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.ukd-sync::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--ok);margin-right:6px;vertical-align:1px}
.ukd a.ukd-sync{border-radius:6px}
.ukd a.ukd-sync:hover{color:var(--ink)}
.ukd-per{display:inline-flex;flex:none;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:var(--surface)}
.ukd-per button{padding:5px 11px;font-size:12px;color:var(--muted);white-space:nowrap}   /* short of room the whole group moves to the next line */
.ukd-per button[aria-pressed="true"]{background:var(--pri);color:var(--pri-ink);font-weight:700}
.ukd-badge{font-size:12px;font-weight:700;border-radius:999px;padding:5px 10px;background:var(--warn-bg);color:var(--warn);
  white-space:nowrap;cursor:help}
.ukd-content{flex:1;min-height:0;overflow:auto;padding:18px 22px 28px;outline:0}
.ukd-sec{display:grid;gap:14px;align-content:start}
.ukd-sec-h{display:grid;gap:4px}
.ukd-h2{font-family:var(--font-h);font-size:22px;font-weight:800;line-height:1.2}
.ukd-intro{color:var(--muted);max-width:760px}

/* ===== 3. Common parts: cards, buttons, pills ===== */
.ukd-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--rad);padding:16px;min-width:0}
.ukd--florea .ukd-card{border-color:transparent;box-shadow:var(--shadow)}
.ukd-card-h{font-family:var(--font-h);font-size:15px;font-weight:800;margin-bottom:12px}
.ukd-card-h small{font-family:var(--font);font-weight:400;color:var(--muted);font-size:12px;margin-left:8px}
.ukd-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:1px solid var(--line);border-radius:999px;
  font-size:13px;font-weight:700;background:var(--surface);white-space:nowrap}
.ukd-btn:hover{border-color:var(--pri)}
.ukd-btn--pri{background:var(--pri);border-color:var(--pri);color:var(--pri-ink)}
.ukd-btn--pri:hover{filter:brightness(1.08)}
.ukd-pill{display:inline-block;font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--chip);
  color:var(--chip-ink);white-space:nowrap}
.ukd-pill--warn{background:var(--warn-bg);color:var(--warn)}
.ukd-pill--ok{background:var(--ok-bg);color:var(--ok)}
.ukd-warn{background:var(--warn-bg);color:var(--warn);border-radius:var(--rad-s);padding:8px 12px;font-size:13px;font-weight:600}
.ukd-link{color:var(--pri-text);font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* ===== 4. Drawer, toast, tooltip ===== */
.ukd-drawer{position:absolute;top:0;right:0;bottom:0;z-index:20;width:min(400px,92%);background:var(--surface);
  border-left:1px solid var(--line);box-shadow:-24px 0 48px -24px rgba(0,0,0,.35);padding:22px 22px 28px;overflow:auto;
  transform:translateX(105%);transition:transform .25s ease;display:grid;gap:12px;align-content:start}
.ukd-drawer.is-open{transform:none}
.ukd-x{position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:50%;background:var(--track);display:grid;place-items:center}
.ukd-dr-k{font-size:12px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.ukd-dr-h{font-family:var(--font-h);font-size:20px;font-weight:800;margin-right:40px;line-height:1.25;outline:0}
.ukd-dr-s{color:var(--muted);margin-top:-6px}
.ukd-dr-sub{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-top:6px}
.ukd-dr-sub small{font-size:12px}
.ukd-fields{display:grid;grid-template-columns:auto 1fr;gap:7px 16px;font-size:13px}
.ukd-fields dt{color:var(--muted)}
.ukd-dr-acts{display:flex;flex-wrap:wrap;gap:8px}
.ukd-back li button{display:block;width:100%;padding:8px 10px;border-radius:var(--rad-s);border:1px solid var(--line);margin-bottom:6px}
.ukd-back li button:hover{border-color:var(--pri)}
.ukd-back b{display:block;font-size:13px}
.ukd-back small{display:block;font-size:12px;color:var(--muted)}
.ukd-hist li{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;padding:6px 0;border-top:1px solid var(--line);font-size:13px}
.ukd-hist li:first-child{border-top:0}
.ukd-hist .ukd-logo{grid-row:span 2;width:26px;height:26px;border-radius:7px}
.ukd-hist .ukd-logo img{width:16px;height:16px}
.ukd-hist time{font-size:12px;color:var(--muted)}
.ukd-thread{display:grid;gap:8px}
.ukd-msg{max-width:88%;padding:8px 12px;border-radius:14px;background:var(--track);font-size:13px}
.ukd-msg--us{justify-self:end;background:var(--chip);color:var(--chip-ink)}
.ukd-msg time{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.ukd-note{display:grid;gap:6px;margin-top:6px}
.ukd-note label{font-size:12px;font-weight:700;color:var(--muted)}
.ukd-note textarea{font:inherit;font-size:13px;color:var(--ink);background:var(--surface);border:1px solid var(--line);
  border-radius:var(--rad-s);padding:8px 10px;resize:vertical;min-height:58px}
.ukd-note textarea:focus{outline:0;border-color:var(--pri)}
.ukd-note .ukd-btn{justify-self:start}
.ukd-toast{position:absolute;left:50%;bottom:18px;z-index:30;transform:translate(-50%,20px);background:var(--ink);color:var(--surface);
  padding:9px 16px;border-radius:999px;font-size:13px;font-weight:700;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none}
.ukd-toast.is-on{opacity:1;transform:translate(-50%,0)}
.ukd-tip{position:fixed;z-index:40;max-width:260px;background:var(--ink);color:var(--surface);font-size:12px;line-height:1.4;
  padding:7px 10px;border-radius:8px;pointer-events:none;box-shadow:0 8px 20px -8px rgba(0,0,0,.4)}

/* ===== 5. Phones and narrow windows: the panel grows with the page, the menu hides behind a button ===== */
@media (max-width:899px){
  .ukd{height:auto;overflow:visible}
  .ukd-app{display:block}
  .ukd-side{position:fixed;z-index:50;top:0;bottom:0;left:0;width:min(300px,86vw);transform:translateX(-105%);
    transition:transform .25s ease;box-shadow:24px 0 48px -24px rgba(0,0,0,.35)}
  .ukd-side.is-open{transform:none}
  .ukd-scrim{display:block;position:fixed;inset:0;z-index:45;background:rgba(0,0,0,.35)}
  .ukd-scrim[hidden]{display:none}
  .ukd-menu-btn{display:inline-flex}
  .ukd-head{position:sticky;top:0;z-index:10;padding:10px 14px}
  .ukd-crumb{flex:1}
  .ukd-chips{margin-left:0;width:100%}
  .ukd-content{overflow:visible;padding:14px 14px 24px}
  .ukd-drawer{position:fixed;z-index:60;width:min(420px,100%)}
  .ukd-toast{position:fixed}
}
@media (prefers-reduced-motion:reduce){
  .ukd-drawer,.ukd-side,.ukd-toast,.ukd-grp-h .ukd-i{transition:none}
}

/* ===== 6. Data blocks (blocks.js) ===== */
.ukd-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ukd-kpi,.ukd-tile{background:var(--surface);border:1px solid var(--line);border-radius:var(--rad);padding:14px 16px;
  display:flex;flex-direction:column;gap:3px;min-width:0}
.ukd--florea .ukd-kpi,.ukd--florea .ukd-tile{border-color:transparent;box-shadow:var(--shadow)}
.ukd-kpi-l,.ukd-tile-l{font-size:12px;color:var(--muted);font-weight:600}
.ukd-kpi-v,.ukd-tile-v{font-family:var(--font-h);font-size:26px;font-weight:800;line-height:1.15;letter-spacing:-.01em;
  font-variant-numeric:tabular-nums;color:var(--ink)}
.ukd-kpi-s{font-size:12px;color:var(--muted)}
.ukd-kpi-s.is-good{color:var(--ok)}
.ukd-kpi-s.is-bad{color:var(--warn)}
.ukd-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.ukd-tile small{font-size:12px;color:var(--muted)}
.ukd-tile[data-go]{text-align:left;cursor:pointer;transition:transform .12s,box-shadow .12s}
.ukd-tile[data-go]:hover{transform:translateY(-1px);border-color:var(--pri)}
.ukd-tile.is-warn .ukd-tile-v{color:var(--warn)}
.ukd-grid{display:grid;grid-template-columns:var(--ukd-cols,1fr 1fr);gap:14px;align-items:start}
.ukd-rule{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--muted);padding:2px 4px}
.ukd-rule .ukd-i{width:14px;height:14px;margin-top:3px;color:var(--pri-text);fill:currentColor}
.ukd-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:-2px 0 12px}
.ukd-chips-row{display:flex;flex-wrap:wrap;gap:6px}
.ukd-chip{border:1px solid var(--line);border-radius:999px;padding:4px 11px;font-size:12px;color:var(--muted);background:var(--surface)}
.ukd-chip span{font-weight:700;color:var(--ink)}
.ukd-chip[aria-pressed="true"]{background:var(--pri);border-color:var(--pri);color:var(--pri-ink)}
.ukd-chip[aria-pressed="true"] span{color:var(--pri-ink)}
.ukd-searchw{margin-left:auto;display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;
  padding:5px 12px;background:var(--surface);color:var(--muted)}
.ukd-searchw:focus-within{border-color:var(--pri)}
.ukd-searchw .ukd-i{width:15px;height:15px}
.ukd-search{border:0;outline:0;background:none;font:inherit;font-size:13px;color:var(--ink);width:150px}
@media (pointer:coarse){.ukd-search,.ukd-note textarea{font-size:16px}}   /* below 16 px iPhone's Safari zooms the page in on a tap and leaves it so */
.ukd-tw{overflow-x:auto;margin:0 -4px}
.ukd-table{width:100%;border-collapse:collapse;font-size:13px}
.ukd-table th{text-align:left;font-weight:600;color:var(--muted);font-size:12px;padding:0 8px 8px;border-bottom:1px solid var(--line);white-space:nowrap}
.ukd-table td{padding:9px 8px;border-bottom:1px solid var(--line);white-space:nowrap}
.ukd-table tbody tr[data-i]{cursor:pointer}
.ukd-table tbody tr[data-i]:hover td{background:var(--hover)}
.ukd-table tr.is-warn td{background:var(--warn-bg)}
.ukd-n{text-align:right!important;font-variant-numeric:tabular-nums}
.ukd-muted{color:var(--muted)}
.ukd .ukd-i--warn{width:10px;height:10px;color:var(--warn);fill:currentColor;margin-right:4px;vertical-align:0}
.ukd-count{font-size:12px;color:var(--muted);margin-top:10px}
.ukd-list{display:grid}
.ukd-row{display:flex;align-items:center;gap:12px;padding:10px 6px;border-top:1px solid var(--line);border-radius:8px}
.ukd-row:first-child{border-top:0}
.ukd-row:hover{background:var(--hover)}
.ukd-row.is-warn{background:var(--warn-bg)}
.ukd-row-main{flex:1;min-width:0}
.ukd-row-main[data-i]{cursor:pointer}
.ukd-row-main b{display:block;font-weight:700}
.ukd-row-main small{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.ukd-row.is-done .ukd-row-main b{text-decoration:line-through;color:var(--muted)}
.ukd-check{width:22px;height:22px;flex:none;border-radius:7px;border:1.5px solid var(--line);display:grid;place-items:center;color:transparent}
.ukd-check:hover{border-color:var(--pri)}
.ukd-check[aria-pressed="true"]{background:var(--ok);border-color:var(--ok);color:#fff}
.ukd-check .ukd-i{width:14px;height:14px;stroke-width:3}
.ukd-empty{padding:10px 6px;color:var(--muted)}
.ukd-callout{background:linear-gradient(135deg,var(--pri),var(--acc2));color:var(--pri-ink);border:0;display:grid;gap:8px;justify-items:start}
.ukd-callout-k{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.9}
.ukd-callout-big{font-family:var(--font-h);font-size:30px;font-weight:800;line-height:1.1}
.ukd-callout-t{font-size:14px;opacity:.95;max-width:560px}
.ukd-callout-note{display:flex;gap:6px;align-items:center;font-size:13px;font-weight:700;background:rgba(20,8,48,.18);
  border-radius:999px;padding:5px 12px 5px 8px}
.ukd-callout .ukd-btn{background:#fff;color:var(--pri-text);border-color:#fff}
/* Connectors (owner, 04.11.2026): a band that says all is healthy, then each program with its health, its last sync and 30
   days of history. The parts on the right keep their widths, so they line up from row to row. */
.ukd-health-h{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:6px;border-radius:calc(var(--rad) - 4px);
  background:var(--ok-bg)}
.ukd-health-h b{display:block;font-size:15px;line-height:1.3}
.ukd-health-h small{display:block;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.ukd-health-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 4px color-mix(in srgb,var(--ok) 22%,transparent)}
.ukd-srclist{display:grid}
.ukd-srclist li{display:flex;align-items:center;gap:14px;padding:11px 4px;border-top:1px solid var(--line)}
.ukd-srclist li:first-child{border-top:0}
.ukd-srclist-m{flex:1;min-width:0}
.ukd-srclist-m b{display:block}
.ukd-srclist-m small{display:block;font-size:12px;color:var(--muted)}
.ukd-days{flex:none;display:flex;align-items:center;gap:8px;cursor:help}
.ukd .ukd-days small{font-size:11px;color:var(--muted);margin:0}
.ukd-days span{display:flex;gap:2px;height:20px}
.ukd-days i{width:3px;border-radius:1px;background:var(--ok);opacity:.85}
.ukd-srclist-st{flex:none;width:118px;display:grid;justify-items:end;gap:3px;font-size:12px;color:var(--muted);white-space:nowrap;
  font-variant-numeric:tabular-nums}
.ukd-health{display:inline-flex;align-items:center;gap:6px;padding:2px 9px 2px 8px;border-radius:999px;background:var(--ok-bg);color:var(--ok);font-weight:700}
.ukd-health::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
/* the 30 days only where a row has room for them beside a wide logo (Fakturoid) */
@media (max-width:1023px){.ukd-days{display:none}}
/* a phone: the logo with the name, then the health with Sync now, the same in every row whatever the logo's width */
@media (max-width:899px){
  .ukd-srclist li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"logo main main" "st st btn";gap:8px 12px}
  .ukd-srclist li > .ukd-logo{grid-area:logo}
  .ukd-srclist-m{grid-area:main}
  .ukd-srclist-st{grid-area:st;width:auto;display:flex;align-items:center;gap:10px}
  .ukd-srclist li > .ukd-btn{grid-area:btn}
}
@media (max-width:899px){
  .ukd-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ukd-grid{grid-template-columns:minmax(0,1fr)}
  .ukd-searchw{margin-left:0;width:100%}
  .ukd-search{width:100%}
  .ukd-kpi-v,.ukd-tile-v{font-size:22px}
}

/* ===== 7. Charts (charts.js) ===== */
.ukd .ukd-s0{--c:var(--s0)}.ukd .ukd-s1{--c:var(--s1)}.ukd .ukd-s2{--c:var(--s2)}
.ukd .ukd-s3{--c:var(--s3)}.ukd .ukd-s4{--c:var(--s4)}.ukd .ukd-s5{--c:var(--s5)}
.ukd-big{font-family:var(--font-h);font-size:24px;font-weight:800;margin:-4px 0 8px;font-variant-numeric:tabular-nums}
.ukd-big small{font-family:var(--font);font-size:12px;font-weight:400;color:var(--muted)}
.ukd-line{display:block;width:100%;height:150px;overflow:visible}
.ukd-area{fill:var(--pri);opacity:.12}
.ukd-ln{fill:none;stroke:var(--pri);stroke-width:2.5;stroke-linejoin:round}
.ukd-hit{fill:transparent;cursor:crosshair}
.ukd-hit:hover{fill:var(--pri);fill-opacity:.12}
.ukd-axis{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:6px}
.ukd-bars{display:grid;gap:8px}
.ukd-bar{display:grid;grid-template-columns:minmax(70px,auto) 1fr auto;align-items:center;gap:4px 10px;font-size:13px;
  border-radius:8px;padding:2px 4px;margin:0 -4px}
.ukd-bar[data-i]{cursor:pointer}
.ukd-bar[data-go]:hover,.ukd-bar[data-hl]:hover,.ukd-bar.is-hl{background:var(--hover)}
.ukd-bar-l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ukd-bar-t{height:10px;border-radius:5px;background:var(--track);overflow:hidden;min-width:40px}
.ukd-bar-t i{display:block;height:100%;border-radius:5px;background:var(--c,var(--pri))}
.ukd-bar-v{text-align:right;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.ukd-bar-was{grid-column:3;text-align:right;font-size:11px;color:var(--muted);margin-top:-4px;white-space:nowrap}
.ukd-flow-h{position:relative;height:58px;margin-bottom:6px}
.ukd-flow-h p{position:absolute;top:0;display:grid;gap:1px;font-size:12px;color:var(--muted);white-space:nowrap}
.ukd-flow-h p:last-child{text-align:right}
.ukd-flow-h b{font-family:var(--font-h);font-size:18px;color:var(--ink);font-variant-numeric:tabular-nums}
.ukd-flow-h small{font-size:11px}
.ukd-flow{display:block;width:100%;height:220px}
.ukd-flow path{fill:var(--c);opacity:.38;transition:opacity .15s;cursor:pointer}
.ukd-flow rect{fill:var(--c);cursor:pointer}
.ukd-b-flow.has-hl .ukd-flow path{opacity:.08}
.ukd-b-flow.has-hl .ukd-flow rect{opacity:.25}
.ukd-b-flow.has-hl .ukd-flow .is-hl{opacity:.75}
.ukd-b-flow.has-hl .ukd-flow rect.is-hl{opacity:1}
.ukd-legend{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.ukd-leg{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:4px 11px 4px 8px;font-size:12px}
.ukd-leg i{width:10px;height:10px;border-radius:50%;background:var(--c)}
.ukd-leg b{font-variant-numeric:tabular-nums}
.ukd-leg.is-hl{border-color:var(--c);background:var(--hover)}
.ukd-b-flow.has-hl .ukd-leg:not(.is-hl){opacity:.55}
.ukd-coh th{font-weight:600}
.ukd-coh tbody th{text-align:left;color:var(--ink);padding:9px 8px;border-bottom:1px solid var(--line)}
.ukd-heat{background:color-mix(in srgb,var(--pri) calc(var(--a) * 55%),var(--surface));cursor:help}
@media (max-width:899px){
  .ukd-flow{height:180px}
  .ukd-flow-h{height:64px}
  .ukd-flow-h small{display:none}
}

/* ===== 8. Today, conversations, board (today.js) ===== */
.ukd-hello{display:grid;gap:2px;padding:2px 2px 4px}
.ukd-hello-d{font-size:13px;font-weight:700;color:var(--pri-text);text-transform:uppercase;letter-spacing:.05em}
.ukd-hello-t{font-family:var(--font-h);font-size:26px;font-weight:800;line-height:1.2;letter-spacing:-.01em}
.ukd-hello-s{color:var(--muted)}
.ukd-tl{position:relative;min-width:0}
.ukd-tl-ticks{position:absolute;left:0;right:0;top:0;height:100%;border-top:1px solid var(--line)}
.ukd-tl-ticks span{position:absolute;top:4px;font-size:11px;color:var(--muted);transform:translateX(-50%);
  border-left:1px dashed var(--line);height:calc(100% - 4px);padding:0 0 0 4px;transform:none}
.ukd-tl-item{position:absolute;display:inline-flex;align-items:center;gap:6px;max-width:200px;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis;font-size:12px;padding:5px 10px;border-radius:999px;background:var(--chip);color:var(--chip-ink);
  border:1px solid transparent;z-index:1}
.ukd-tl-item b{font-variant-numeric:tabular-nums}
.ukd-tl-item.is-past{opacity:.5}
.ukd-tl-item.is-now{background:var(--pri);color:var(--pri-ink)}
.ukd-tl-item.is-next{border-color:var(--pri);background:var(--surface);color:var(--ink);box-shadow:0 0 0 3px color-mix(in srgb,var(--pri) 18%,transparent)}
.ukd-tl-now{position:absolute;top:0;bottom:0;border-left:2px solid var(--warn);z-index:2;pointer-events:none}
.ukd-tl-now b{position:absolute;bottom:0;left:4px;font-size:11px;color:var(--warn);white-space:nowrap;background:var(--surface);padding:0 3px}
.ukd-agenda{display:none}
.ukd-ag-item{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center;padding:8px 4px;border-top:1px solid var(--line)}
.ukd-ag-item:first-child{border-top:0}
.ukd-ag-item time{font-weight:800;font-variant-numeric:tabular-nums}
.ukd-ag-item b{display:block}
.ukd-ag-item small{display:block;font-size:12px;color:var(--muted)}
.ukd-ag-item em{font-style:normal;font-size:12px;font-weight:700;color:var(--pri-text)}
.ukd-ag-item.is-past{opacity:.5}
.ukd-ag-item.is-next{background:var(--hover);border-radius:10px}
.ukd-queue{display:grid}
.ukd-q{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px 4px;border-top:1px solid var(--line)}
.ukd-q:first-child{border-top:0}
.ukd-q-main{min-width:0}
.ukd-q-main[data-go],.ukd-q-main[data-i]{cursor:pointer}
.ukd-q-main b{display:block}
.ukd-q-main small{display:block;font-size:12px;color:var(--muted)}
.ukd-q-main p{font-size:13px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ukd-q-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.ukd-inbox{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:14px;min-height:320px}
.ukd-ib-list{display:grid;align-content:start;gap:4px;border-right:1px solid var(--line);padding-right:12px}
.ukd-ib-item{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;width:100%;padding:8px;border-radius:var(--rad-s)}
.ukd-ib-item:hover{background:var(--hover)}
.ukd-ib-item.is-on{background:var(--hover);box-shadow:inset 3px 0 0 var(--pri)}
.ukd-ib-txt{min-width:0}
.ukd-ib-txt b{display:block;font-size:13px}
.ukd-ib-txt small{display:block;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ukd-ib-meta{display:grid;justify-items:end;gap:3px;font-size:11px;color:var(--muted);white-space:nowrap}
.ukd-ib-view{display:grid;gap:12px;align-content:start;min-width:0}
.ukd-ib-head{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.ukd-ib-head small{color:var(--muted);font-size:12px}
.ukd-ib-head .ukd-btn{margin-left:auto}
.ukd-compose{display:grid;gap:8px;justify-items:end}
.ukd-compose textarea{width:100%;font:inherit;font-size:13px;color:var(--ink);background:var(--surface);border:1px solid var(--line);
  border-radius:var(--rad-s);padding:8px 10px;resize:vertical}
.ukd-compose textarea:focus{outline:0;border-color:var(--pri)}
.ukd-kan{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(160px,1fr);gap:12px;overflow-x:auto;padding-bottom:4px}
.ukd-kcol{background:var(--track);border-radius:var(--rad);padding:10px;min-height:160px;transition:box-shadow .12s}
.ukd-kcol.is-over{box-shadow:inset 0 0 0 2px var(--pri)}
.ukd-kcol-h{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-family:var(--font-h);font-size:13px;margin-bottom:8px}
.ukd-kcol-n{color:var(--muted);font-weight:400}
.ukd-kcol-h small{margin-left:auto;font-family:var(--font);font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.ukd-kcards{display:grid;gap:8px}
.ukd-kcard{background:var(--surface);border:1px solid var(--line);border-radius:calc(var(--rad) - 4px);padding:9px 10px;cursor:grab;
  user-select:none}
.ukd-kcard:hover{border-color:var(--pri)}
.ukd-kcard b{display:block;font-size:13px}
.ukd-kcard small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.ukd-kcard.is-warn{border-color:var(--warn)}
.ukd-kcard.is-dragging{opacity:.35}
.ukd-ghost{position:fixed;z-index:70;pointer-events:none;transform:rotate(2deg);box-shadow:0 18px 30px -12px rgba(0,0,0,.35);cursor:grabbing}
.ukd-move{display:flex;flex-wrap:wrap;align-items:center;gap:6px;width:100%}
.ukd-move span{font-size:12px;font-weight:700;color:var(--muted);margin-right:4px}
@media (max-width:899px){
  .ukd-tl{display:none}
  .ukd-agenda{display:grid}
  .ukd-q{grid-template-columns:auto 1fr}
  .ukd-q-acts{grid-column:1/-1;justify-content:flex-start}
  .ukd-inbox{grid-template-columns:minmax(0,1fr)}
  .ukd-ib-list{border-right:0;padding-right:0;border-bottom:1px solid var(--line);padding-bottom:10px}
  .ukd-hello-t{font-size:21px}
}

/* ===== 9. The full-screen page /ukazky/<firm> (tools/ukazky.py): a narrow Cortio strip, the panel, the made-up-data line.
   The strip and the line use the site's own tokens (cortio.css is on the page). ===== */
.ukd-page{display:flex;flex-direction:column;min-height:100vh;background:var(--paper,#EEF0F4)}
.ukd-strip{display:flex;align-items:center;gap:16px;height:56px;padding:0 20px;background:var(--mist,#fff);
  border-bottom:1px solid var(--line,#D6DBE4);font-size:15px}
.ukd-strip-home{color:var(--ink,#0E1624);text-decoration:none;font-weight:600;white-space:nowrap}
.ukd-strip-home:hover{text-decoration:underline}
.ukd-strip-h{margin:0;font-size:15px;font-weight:500;color:var(--steel,#4F5A73);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ukd-strip .ukd-strip-cta{margin-left:auto;min-height:40px;padding:4px 4px 4px 16px;gap:10px;font-size:14px;border-radius:999px;
  box-shadow:none;white-space:nowrap}
.ukd-strip .ukd-strip-cta::after{width:32px;height:32px;background-size:15px}
.ukd-page .ukd--full{height:calc(100vh - 56px - 40px);height:calc(100svh - 56px - 40px);min-height:560px}
.ukd-foot{margin:0;min-height:40px;display:flex;align-items:center;justify-content:center;padding:8px 20px;text-align:center;
  font-size:13px;color:var(--steel,#4F5A73)}
.ukd-noscript{padding:40px 24px;font-size:16px}
@media (max-width:899px){
  .ukd-strip{height:auto;min-height:52px;padding:8px 14px;gap:10px;flex-wrap:wrap}
  .ukd-strip-h{order:3;width:100%;font-size:13px}
  .ukd-page .ukd--full{height:auto;min-height:0}
}
.ukd-kpi[data-go]{cursor:pointer;text-align:left;transition:transform .12s}
.ukd-kpi[data-go]:hover{transform:translateY(-1px)}
.ukd-bar[data-go]{cursor:pointer}
.ukd-srclist .ukd-btn{padding:5px 12px;font-size:12px}
.ukd-chips-row{align-items:center}
.ukd-chips-h{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-right:2px}
.ukd-tools{gap:10px 18px}
/* Narrow phones (Review Focus 2): a sum never breaks inside "Kč", the flow's stage names fit four columns. */
.ukd-kpi-v,.ukd-tile-v,.ukd-big,.ukd-flow-h b{white-space:nowrap}
.ukd{overflow-wrap:normal}
@media (max-width:479px){
  .ukd-kpi-v,.ukd-tile-v{font-size:clamp(17px,5.6vw,22px)}
  .ukd-flow-h{height:70px}
  .ukd-flow-h p{white-space:normal;max-width:76px;font-size:10px;line-height:1.2}
  .ukd-flow-h b{font-size:14px}
}
.ukd-logo--wide{width:auto;height:42px;padding:5px 10px}
.ukd-logo--wide img{width:auto;height:30px}
/* The bottom of the menu (Connected sources, All demos) stays in sight while a long menu scrolls (spec, «Низ меню слева»). */
.ukd-side{padding-bottom:0}
.ukd-side-foot{position:sticky;bottom:0;background:var(--side-bg);padding-bottom:12px;margin-top:10px}
.ukd-nav a{padding:6px 10px}
.ukd-grp-h{padding:11px 10px 3px}
.ukd-all{margin-top:10px;padding:7px 10px}
/* A closed phone menu is out of the Tab order too (visibility follows the slide). */
@media (max-width:899px){
  .ukd-side{visibility:hidden;transition:transform .25s ease,visibility 0s linear .25s}
  .ukd-side.is-open{visibility:visible;transition:transform .25s ease,visibility 0s}
}
/* The menu: brand on top, the links scroll on their own when the screen is short, the foot (sources, All demos) always
   below them, never over them. Tighter on short screens so 1440×900 shows it all (final review). */
@media (min-width:900px){
  .ukd-side{overflow:hidden;padding-bottom:12px}
  .ukd-nav{flex:1;min-height:0;overflow:auto;margin:0 -4px;padding:0 4px}
  .ukd-side-foot{position:static;margin-top:8px}
}
@media (min-width:900px) and (max-height:960px){
  .ukd-brand{padding-bottom:10px;margin-bottom:4px}
  .ukd-nav a{padding:5px 10px}
  .ukd-grp-h{padding:8px 10px 2px}
  .ukd-srcs{gap:4px}
  .ukd-side .ukd-srcs .ukd-logo{width:28px;height:28px;border-radius:8px}
  .ukd-side .ukd-srcs .ukd-logo img{width:17px;height:17px}
  .ukd-all{margin-top:8px;padding:6px 10px}
}
/* KPI sums never spill: the row wraps before a card gets too narrow, the number shrinks a little on narrow desktops. */
.ukd-kpis{grid-template-columns:repeat(auto-fit,minmax(176px,1fr))}
@media (min-width:900px) and (max-width:1180px){.ukd-kpi-v,.ukd-tile-v{font-size:22px}}
/* Group headings stand out from the links under them (owner, 03.11.2026): as dark as the links, heavier, a line above. */
.ukd .ukd-grp-h{color:var(--side-ink);font-weight:800;font-size:12px;letter-spacing:.08em}
.ukd-grp{border-top:1px solid var(--side-line);margin-top:6px}
.ukd-grp-h .ukd-i{color:var(--side-muted)}
/* The channel funnel (owner, 03.11.2026): one colour in shades, the funnel narrows, reach on the left, money on the right. */
.ukd .ukd-sh0{--c:var(--pri)}
.ukd .ukd-sh1{--c:color-mix(in srgb,var(--pri) 74%,var(--surface))}
.ukd .ukd-sh2{--c:color-mix(in srgb,var(--pri) 54%,var(--surface))}
.ukd .ukd-sh3{--c:color-mix(in srgb,var(--pri) 38%,var(--surface))}
.ukd .ukd-sh4{--c:color-mix(in srgb,var(--pri) 26%,var(--surface))}
.ukd .ukd-sh5{--c:color-mix(in srgb,var(--pri) 18%,var(--surface))}
.ukd-flowx{display:grid;grid-template-columns:150px minmax(0,1fr) 210px;column-gap:18px;align-items:start}
.ukd-flow-src{position:relative;height:240px;margin-top:64px}
.ukd-flow-src p{position:absolute;left:0;right:0;transform:translateY(-50%);display:grid;grid-template-columns:auto 1fr;column-gap:6px;
  font-size:12px;line-height:1.3;cursor:pointer}
.ukd-flow-src i{grid-row:span 2;width:9px;height:9px;border-radius:50%;background:var(--c);margin-top:4px}
.ukd-flow-src b{font-size:13px}
.ukd-flow-src small{color:var(--muted)}
.ukd-flowx .ukd-flow-h{position:relative;height:56px;margin-bottom:8px}
.ukd-flowx .ukd-flow-h p{position:absolute;top:0;display:grid;justify-items:center;gap:0;font-size:12px;color:var(--muted);white-space:nowrap}
.ukd-flowx .ukd-flow-h p:first-child{justify-items:start}
.ukd-flowx .ukd-flow-h p:last-child{justify-items:end}
.ukd-flowx .ukd-flow-h b{font-family:var(--font-h);font-size:19px;color:var(--ink);font-variant-numeric:tabular-nums}
.ukd-flow-ch{font-size:11px;font-weight:700;color:var(--muted)}
.ukd-flow-ch.is-up{color:var(--ok)}
.ukd-flow-ch.is-down{color:var(--warn)}
.ukd-flow-plot{position:relative;height:240px}
.ukd-flowx .ukd-flow{position:absolute;inset:0;width:100%;height:100%}
.ukd-flowx .ukd-flow path{fill:var(--c);opacity:.5}
.ukd-flowx .ukd-flow rect{fill:var(--c);opacity:1}
.ukd-flow-n{position:absolute;transform:translate(-50%,-50%);font-size:11px;font-weight:700;background:var(--surface);color:var(--ink);
  border:1px solid var(--line);border-radius:6px;padding:1px 5px;font-variant-numeric:tabular-nums;pointer-events:none}
.ukd-flow-conv{position:relative;height:36px;margin-top:8px;border-top:1px dashed var(--line)}
.ukd-flow-conv span{position:absolute;top:6px;transform:translateX(-50%);display:grid;justify-items:center;font-size:12px;font-weight:700;
  color:var(--pri-text);white-space:nowrap}
.ukd-flow-conv small{font-weight:400;color:var(--muted);font-size:11px}
.ukd-flow-money{display:grid;gap:4px;align-content:start;border-left:1px solid var(--line);padding-left:16px}
.ukd-flow-money > small{font-size:12px;color:var(--muted)}
.ukd-flow-money > b{font-family:var(--font-h);font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.ukd-flow-money .ukd-legend{display:grid;gap:2px;margin-top:10px}
.ukd-flow-money .ukd-leg{display:grid;grid-template-columns:auto 1fr auto;gap:8px;border:0;border-radius:8px;padding:5px 6px;font-size:13px}
.ukd-flow-money .ukd-leg b{text-align:right}
.ukd-flow-hint{font-size:11px;color:var(--muted);margin-top:8px}
.ukd-b-flow.has-hl .ukd-flow path{opacity:.1}
.ukd-b-flow.has-hl .ukd-flow rect{opacity:.25}
.ukd-b-flow.has-hl .ukd-flow path.is-hl{opacity:.75}
.ukd-b-flow.has-hl .ukd-flow rect.is-hl{opacity:1}
.ukd-b-flow.has-hl .ukd-flow-n:not(.is-hl),.ukd-b-flow.has-hl .ukd-flow-src p:not(.is-hl){opacity:.35}
@media (max-width:1180px){.ukd-flowx{grid-template-columns:minmax(0,1fr) 200px}.ukd-flow-src{display:none}}
@media (max-width:899px){
  .ukd-flowx{grid-template-columns:minmax(0,1fr)}
  .ukd-flow-money{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:12px;margin-top:8px}
  .ukd-flow-plot{height:190px}
  .ukd-flowx .ukd-flow-h{height:62px}
  .ukd-flowx .ukd-flow-h p{white-space:normal;max-width:78px;font-size:10px;text-align:center}
  .ukd-flowx .ukd-flow-h b{font-size:14px}
  .ukd-flow-conv span{font-size:11px}
  .ukd-flow-conv small{display:none}
}
@media (min-width:900px) and (max-height:960px){
  .ukd-grp{margin-top:3px}
  .ukd .ukd-grp-h{padding:7px 10px 2px}
  .ukd-nav a{padding:4px 10px}
}
/* The menu as in the owner's example (03.11.2026): items with icons and what waits there, group headings in words with an
   arrow (folded groups point right), the connected sources in one line, All demos a quiet link. */
.ukd-nav a{display:flex;align-items:center;gap:10px;font-size:14px}
.ukd-nav a .ukd-i{width:18px;height:18px;color:var(--side-muted)}
.ukd-nav a[aria-current="page"] .ukd-i{color:var(--side-on-ink)}
.ukd-nav a span:first-of-type{flex:1;min-width:0}
.ukd-nav-n{font-size:12px;font-weight:700;color:var(--side-muted);font-variant-numeric:tabular-nums}
.ukd-nav a[aria-current="page"] .ukd-nav-n{color:inherit}
.ukd-nav-top a{font-weight:600}
.ukd .ukd-grp-h{text-transform:none;letter-spacing:0;font-size:13px;font-weight:600;color:var(--side-muted);padding:12px 10px 4px}
.ukd-grp{border-top:0;margin-top:2px}
.ukd-grp-h .ukd-i{transform:none}
.ukd-grp-h[aria-expanded="false"] .ukd-i{transform:rotate(-90deg)}
.ukd-srcs{flex-wrap:nowrap;gap:4px}
.ukd-side .ukd-srcs .ukd-logo{width:22px;height:22px;border-radius:6px}
.ukd-side .ukd-srcs .ukd-logo img{width:14px;height:14px}
.ukd-side .ukd-srcs .ukd-logo--none{font-size:9px}
.ukd-side .ukd-srcs .ukd-logo--none .ukd-i{width:13px;height:13px}
.ukd-srcs-h{text-transform:none;letter-spacing:0;font-size:12px;font-weight:600}
.ukd a.ukd-srcs-h{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--side-muted);border-radius:6px}
.ukd a.ukd-srcs-h:hover .ukd-srcs-t{text-decoration:underline;text-underline-offset:2px}
.ukd-srcs-ok{display:inline-flex;align-items:center;gap:5px;font-weight:500;white-space:nowrap}
.ukd-srcs-ok::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--side-ok)}
.ukd .ukd-all{border:0;padding:6px 4px;margin-top:8px;font-weight:600;color:var(--side-muted)}
.ukd .ukd-all:hover{color:var(--side-ink);background:none}

/* ===== 10. Step 2 blocks (plan 2026-11-03-ukazky-four-firms): tabs, steps, the board's chances, the crews week, the van routes,
   the recognised lines of an order e-mail ===== */
.ukd-tabs{display:grid;gap:14px}
.ukd-tablist{display:flex;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto}
.ukd-tab{padding:8px 14px;font-size:14px;font-weight:700;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap}
.ukd-tab:hover{color:var(--ink)}
.ukd-tab[aria-selected="true"]{color:var(--pri-text);border-bottom-color:var(--pri)}
.ukd-tabpanel{display:grid;gap:14px}
.ukd-tiles--steps{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none;gap:26px}
.ukd-tiles--steps .ukd-tile{position:relative;overflow:visible}
.ukd-tiles--steps .ukd-tile:not(:last-child)::after{content:"→";position:absolute;right:-20px;top:50%;transform:translateY(-50%);
  font-size:16px;font-weight:700;color:var(--muted);pointer-events:none}
.ukd-forecast{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;font-size:13px;color:var(--muted);margin:-4px 0 12px;cursor:help;width:max-content;max-width:100%}
.ukd-forecast b{font-family:var(--font-h);font-size:19px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.ukd-kcol-p{font-family:var(--font);font-size:11px;font-weight:700;color:var(--pri-text);background:var(--surface);border-radius:999px;padding:1px 7px}
.ukd-wk{display:grid;grid-template-columns:minmax(110px,170px) repeat(5,minmax(0,1fr));gap:6px}
.ukd-wk-d{font-size:12px;font-weight:700;color:var(--muted);padding:0 2px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ukd-wk-d.is-today{color:var(--pri-text)}
.ukd-wk-d small{font-weight:400;color:var(--muted)}
.ukd-wk-r{display:grid;align-content:center;padding:4px 6px 4px 0;min-width:0}
.ukd-wk-r b{font-size:13px;line-height:1.25}
.ukd-wk-r small{font-size:12px;color:var(--muted)}
.ukd-wk-e{background:var(--track);border-radius:var(--rad-s);min-height:50px}
.ukd-wk-e.is-today{background:color-mix(in srgb,var(--pri) 10%,var(--track))}
.ukd-wk-c{position:relative;z-index:1;display:grid;align-content:center;gap:1px;min-width:0;padding:6px 10px;border-radius:var(--rad-s);
  background:var(--chip);color:var(--chip-ink);text-align:left;overflow:hidden}
.ukd-wk-c b{font-size:13px}
.ukd-wk-c b,.ukd-wk-c small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ukd-wk-c small{font-size:11px}
.ukd-wk-c.is-alt{background:var(--pri);color:var(--pri-ink)}
.ukd-wk-c[data-i]:hover{box-shadow:inset 0 0 0 1.5px var(--pri)}
.ukd-wk-list{display:none}
.ukd-wk-list > li{display:block;padding:8px 0;border-top:1px solid var(--line)}
.ukd-wk-list > li:first-child{border-top:0}
.ukd-wk-list > li > small{color:var(--muted);font-size:12px}
.ukd-wk-li{display:grid;grid-template-columns:minmax(92px,auto) 1fr;gap:10px;padding:5px 0;font-size:13px}
.ukd-wk-li time{font-weight:700;color:var(--pri-text);font-size:12px}
.ukd-wk-li small{color:var(--muted)}
.ukd-wk-li[data-i]{cursor:pointer}
.ukd-rt{display:grid;gap:8px}
.ukd-rt-lane,.ukd-rt-head{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:14px;align-items:center}
.ukd-rt-l{display:grid;gap:1px;min-width:0}
.ukd-rt-l b{font-size:13px}
.ukd-rt-st{font-size:12px;color:var(--muted)}
.ukd-rt-ticks{position:relative;height:18px}
.ukd-rt-ticks span{position:absolute;font-size:11px;color:var(--muted);transform:translateX(-50%)}
.ukd-rt-nowl{position:absolute;font-size:11px;color:var(--warn);transform:translateX(-50%);background:var(--surface);padding:0 3px;z-index:3;white-space:nowrap}
.ukd-rt-track{position:relative;height:46px;border-radius:var(--rad-s);background:var(--track)}
.ukd-rt-track::before{content:"";position:absolute;left:8px;right:8px;top:18px;border-top:2px dashed var(--line)}
.ukd-rt-stop{position:absolute;top:18px;transform:translate(-50%,-50%);width:16px;height:16px;border-radius:50%;background:var(--pri);
  border:3px solid var(--surface);z-index:1}
.ukd-rt-stop span{position:absolute;top:13px;left:50%;transform:translateX(-50%);font-size:10px;color:var(--muted);white-space:nowrap;
  font-variant-numeric:tabular-nums}
.ukd-rt-stop.is-past{opacity:.45}
.ukd-rt-stop.is-now,.ukd-rt-stop.is-next{box-shadow:0 0 0 4px color-mix(in srgb,var(--pri) 30%,transparent)}
.ukd-rt-now{position:absolute;top:-6px;bottom:-6px;border-left:2px solid var(--warn);z-index:2;pointer-events:none}
.ukd-rt-list{display:none}
.ukd-rt-list > li{padding:8px 0;border-top:1px solid var(--line)}
.ukd-rt-list > li:first-child{border-top:0}
.ukd-rt-list > li > small{color:var(--muted);font-size:12px}
.ukd-rt-list .ukd-ag-item[data-i]{cursor:pointer}
.ukd-lines{margin-top:2px}
.ukd-lines tfoot th,.ukd-lines tfoot td{padding:8px;font-weight:800;text-align:left}
.ukd-lines td:first-child{white-space:normal}
.ukd-detail{display:grid;gap:6px;font-size:13px}
.ukd-detail span{color:var(--muted)}
@media (max-width:899px){
  .ukd-wk,.ukd-rt{display:none}
  .ukd-wk-list,.ukd-rt-list{display:grid}
  .ukd-tiles--steps{grid-auto-flow:row;grid-template-columns:minmax(0,1fr);gap:22px}
  .ukd-tiles--steps .ukd-tile:not(:last-child)::after{content:"↓";right:auto;left:50%;top:auto;bottom:-20px;transform:translateX(-50%)}
}

/* ===== 11. The menu on top (ChefLine Partner; spec: «У ChefLine Partner меню сверху»): the sidebar becomes a bar, its groups popovers
   under their headings, the sources and All demos on the right. Under 900 px it is the same off-canvas menu as the side one. ===== */
@media (min-width:900px){
  .ukd--top .ukd-app{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
  .ukd--top .ukd-side{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 18px;padding:8px 16px;border-right:0;
    border-bottom:1px solid var(--side-line);overflow:visible;position:relative;z-index:15}
  .ukd--top .ukd-brand{border-bottom:0;padding:0;margin:0;flex:none}
  .ukd--top .ukd-mark{width:30px;height:30px}
  .ukd--top .ukd-nav{display:flex;align-items:center;gap:2px;flex:1 1 auto;min-width:0;overflow:visible;margin:0;padding:0}
  .ukd--top .ukd-nav-top{display:flex;gap:2px}
  .ukd--top .ukd-nav a{margin:0;padding:7px 10px;white-space:nowrap}
  .ukd--top .ukd-grp{position:relative;margin:0}
  .ukd--top .ukd-grp-h{gap:6px;width:auto;padding:7px 10px;font-size:14px;font-weight:600;color:var(--side-ink);
    border-radius:var(--rad-s);white-space:nowrap}
  .ukd--top .ukd-grp-h:hover{background:var(--side-hover)}
  .ukd--top .ukd-grp-h.is-on{background:var(--side-on);color:var(--side-on-ink)}
  .ukd--top .ukd-grp-h .ukd-i,.ukd--top .ukd-grp-h[aria-expanded="false"] .ukd-i{transform:none;color:inherit}
  .ukd--top .ukd-grp-h[aria-expanded="true"] .ukd-i{transform:rotate(180deg)}
  .ukd--top .ukd-grp > ul{position:absolute;top:calc(100% + 6px);left:0;z-index:30;min-width:230px;padding:6px;background:var(--side-bg);
    border:1px solid var(--side-line);border-radius:var(--rad);box-shadow:0 18px 40px -16px rgba(0,0,0,.55)}
  .ukd--top .ukd-grp > ul a{margin:1px 0}
  .ukd--top .ukd-side-foot{display:flex;align-items:center;gap:12px;margin:0 0 0 auto;padding:0;border:0;background:none;position:static}
  .ukd--top .ukd-side-foot .ukd-srcs-h{display:none}
  .ukd--top .ukd-all{margin:0}
}
@media (min-width:900px) and (max-width:1279px){
  .ukd--top .ukd-brand small{display:none}
  .ukd--top .ukd-all span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}

/* ===== 12. The touches of the four themes (mockup v3) ===== */
.ukd--monolit-group .ukd-hello-t{text-transform:uppercase;letter-spacing:.02em}
.ukd--monolit-group .ukd-kpi{border-left:4px solid var(--ink)}
.ukd--monolit-group :is(.ukd-btn,.ukd-chip,.ukd-pill,.ukd-per,.ukd-searchw,.ukd-badge,.ukd-leg,.ukd-tl-item,.ukd-kcol-p){border-radius:3px}
.ukd--monolit-group :is(.ukd-h2,.ukd-card-h,.ukd-kpi-v,.ukd-tile-v){letter-spacing:.01em}
.ukd--domavia-reality :is(.ukd-h2,.ukd-card-h,.ukd-hello-t,.ukd-kpi-v,.ukd-tile-v,.ukd-big,.ukd-dr-h,.ukd-forecast b,.ukd-flow-h b,.ukd-flow-money > b){font-weight:600}
.ukd--domavia-reality .ukd-brand b{font-family:var(--font-h);font-weight:600;font-size:17px}
.ukd--domavia-reality :is(.ukd-card,.ukd-kpi,.ukd-tile){border-color:transparent;box-shadow:var(--shadow)}
.ukd--termia .ukd-wk-c.is-alt{background:#F5A524;color:#3A2600}
.ukd--termia :is(.ukd-card,.ukd-kpi,.ukd-tile){border-color:transparent;box-shadow:var(--shadow)}
.ukd--chefline-partner{color-scheme:dark}
.ukd--chefline-partner :is(.ukd-kpi-v,.ukd-tile-v,.ukd-big,td.ukd-n,.ukd-forecast b,.ukd-rt-stop span,.ukd-tl-item b,.ukd-ag-item time){font-family:var(--font-mono);font-weight:600;letter-spacing:-.01em}
.ukd--chefline-partner .ukd-check[aria-pressed="true"]{color:var(--pri-ink)}
.ukd--chefline-partner .ukd-drawer{box-shadow:-24px 0 48px -24px rgba(0,0,0,.7)}

/* ===== 13. After the owner's look of 03.11.2026 («в некоторых моментах прям плохой»): calmer screens, fewer boxes, not every
   element opens a card. Labels in sentence case; the day as a rail and a list; the KPI as one band; the card of an item with
   its kind and stage on top, facts in pairs, the stages as steps and the history on a line. ===== */
.ukd .ukd-chips-h,.ukd .ukd-dr-sub,.ukd .ukd-hello-d,.ukd .ukd-callout-k{text-transform:none;letter-spacing:0}
.ukd .ukd-chips-h{font-size:12px;font-weight:600;color:var(--muted)}
.ukd .ukd-hello-d{font-size:14px;font-weight:700}
.ukd .ukd-dr-sub{font-size:13px;font-weight:700;color:var(--ink);margin-top:4px}
.ukd .ukd-dr-sub small{font-weight:600;color:var(--muted)}

/* the day: a rail of the hours with a dot per item, and the day as a list with a «now» line */
.ukd-tl-rail{position:relative;margin:2px 10px 4px;padding-top:24px}
.ukd-tl-line{position:relative;height:6px;border-radius:3px;background:var(--track)}
.ukd-tl-gone{position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:color-mix(in srgb,var(--pri) 30%,var(--track))}
.ukd .ukd-tl-dot{position:absolute;top:50%;width:14px;height:14px;border-radius:50%;transform:translate(-50%,-50%);background:var(--surface);
  border:3px solid var(--pri);cursor:help;z-index:1;padding:0;max-width:none}
.ukd .ukd-tl-dot.is-past{border-color:color-mix(in srgb,var(--pri) 38%,var(--surface));opacity:1}
.ukd .ukd-tl-dot.is-now,.ukd .ukd-tl-dot.is-next{background:var(--pri);box-shadow:0 0 0 4px color-mix(in srgb,var(--pri) 22%,transparent)}
.ukd .ukd-tl-rail .ukd-tl-now{top:-24px;bottom:-6px;border-left:2px solid var(--warn)}
.ukd .ukd-tl-rail .ukd-tl-now b{top:0;bottom:auto;left:6px;background:none;padding:0}
/* in the second half of the day the label stands left of the line, so it never runs out of the day (a phone at 17:25) */
.ukd .ukd-tl-rail .ukd-tl-now.is-end b{left:auto;right:6px}
@media (max-width:400px){.ukd .ukd-tl-tick:nth-child(even){display:none}}
.ukd .ukd-tl-rail .ukd-tl-ticks{position:relative;height:16px;margin-top:8px;border:0}
.ukd .ukd-tl-tick{position:absolute;top:0;transform:translateX(-50%);font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;border:0;padding:0;height:auto}
.ukd .ukd-tl-tick:first-child{transform:none}
.ukd .ukd-tl-tick:last-child{transform:translateX(-100%)}
.ukd .ukd-agenda{display:grid;margin-top:12px}
.ukd .ukd-ag-item{grid-template-columns:56px minmax(0,1fr) auto;gap:12px;padding:8px 10px;border-top:0;border-bottom:1px solid var(--line);border-radius:0}
.ukd .ukd-ag-item:last-child{border-bottom:0}
.ukd .ukd-ag-item time{font-weight:700;font-variant-numeric:tabular-nums}
.ukd .ukd-ag-item b{font-weight:600}
.ukd .ukd-ag-item.is-past{opacity:1;color:var(--muted)}
.ukd .ukd-ag-item.is-past b{font-weight:500}
.ukd .ukd-ag-item.is-next,.ukd .ukd-ag-item.is-now{background:var(--hover);border-radius:var(--rad-s);border-bottom-color:transparent}
.ukd .ukd-ag-item em{font-style:normal;font-size:12px;font-weight:700;color:var(--pri-text);background:var(--surface);border:1px solid var(--line);
  border-radius:999px;padding:2px 9px;white-space:nowrap}
.ukd-ag-now{display:flex;align-items:center;gap:8px;padding:4px 10px;font-size:11px;font-weight:700;color:var(--warn);font-variant-numeric:tabular-nums}
.ukd-ag-now::after{content:"";flex:1;border-top:2px solid var(--warn)}

/* the KPI strip: one band with dividers, not three boxes */
.ukd .ukd-kpis{gap:1px;background:var(--surface);border:1px solid var(--line);border-radius:var(--rad);overflow:hidden}
.ukd .ukd-kpis > .ukd-kpi{border:0;border-radius:0;box-shadow:0 0 0 1px var(--line);padding:16px 18px}
.ukd .ukd-kpis > button.ukd-kpi:hover{background:var(--hover);transform:none}
.ukd--florea .ukd-kpis,.ukd--domavia-reality .ukd-kpis,.ukd--termia .ukd-kpis{border-color:transparent;box-shadow:var(--shadow)}
.ukd--monolit-group .ukd-kpis{border-left:4px solid var(--ink)}
/* an odd last figure takes the row only where two columns fit (review of the owner rounds: tablets) */
@media (max-width:556px){.ukd .ukd-kpis > .ukd-kpi:last-child:nth-child(odd){grid-column:1/-1}}

/* a tile that leads somewhere says so */
.ukd .ukd-tile{position:relative}
.ukd .ukd-tile-go{position:absolute;top:14px;right:12px;width:16px;height:16px;transform:rotate(-90deg);color:var(--muted);opacity:.55}
.ukd .ukd-tile[data-go]:hover .ukd-tile-go{opacity:1;color:var(--pri-text)}
.ukd .ukd-tile[data-go]{padding-right:32px}

/* the crews board: light cells with a coloured edge; the other kind (subcontractors, service) takes the second colour */
.ukd .ukd-wk{gap:5px}
.ukd .ukd-wk-e{background:var(--track);opacity:.6;min-height:48px}
.ukd .ukd-wk-e.is-today{opacity:1}
.ukd .ukd-wk-c{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-left:4px solid var(--pri);cursor:help;
  box-shadow:0 1px 2px rgba(0,0,0,.05)}
.ukd .ukd-wk-c small{color:var(--muted)}
.ukd .ukd-wk-c.is-alt,.ukd--termia .ukd-wk-c.is-alt{background:var(--surface);color:var(--ink);border-left-color:var(--s2)}
.ukd--termia .ukd-wk-c.is-alt{border-left-color:#F5A524}
.ukd .ukd-wk-li{border-left:3px solid var(--pri);padding-left:10px;margin:4px 0}
.ukd .ukd-wk-li.is-alt{border-left-color:var(--s2)}
.ukd--termia .ukd-wk-li.is-alt{border-left-color:#F5A524}

/* van stops tell, they don't open */
.ukd .ukd-rt-stop{cursor:help}

/* a plain list: information, not cards to open */
.ukd .ukd-row.is-plain:not(.is-warn):hover{background:none}
.ukd .ukd-row.is-plain .ukd-row-main{cursor:default}

/* the board: name and count on the first line, chance and sum on the second */
.ukd .ukd-kcol-h{align-items:center;gap:4px 6px}
.ukd-kcol-name{flex:1 0 100%;display:flex;align-items:baseline;gap:6px;font-size:14px}

/* the card of an item */
.ukd .ukd-drawer{gap:16px;padding:20px 22px 28px}
.ukd-dr-top{display:grid;gap:6px;margin-right:42px}
.ukd-dr-pills{display:flex;flex-wrap:wrap;gap:6px}
.ukd .ukd-pill--kind{background:var(--track);color:var(--ink)}
.ukd .ukd-drawer .ukd-dr-h{margin-right:0;font-size:22px}
.ukd .ukd-drawer .ukd-dr-s{margin-top:0}
.ukd .ukd-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;font-size:14px;padding:14px 16px;background:var(--hover);
  border-radius:var(--rad)}
.ukd .ukd-fields > div{display:grid;gap:1px;min-width:0}
.ukd .ukd-fields > div.is-wide{grid-column:1/-1}
.ukd .ukd-fields dt{font-size:12px;color:var(--muted)}
.ukd .ukd-fields dd{font-weight:600;overflow-wrap:anywhere}
.ukd .ukd-move.ukd-stepper{display:grid;gap:8px}
.ukd .ukd-stepper .ukd-stepper-h{font-size:13px;font-weight:700;color:var(--ink);margin:0}
.ukd-stepper ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ukd-stepper li{display:flex;align-items:center}
.ukd-stepper button{font-size:12px;font-weight:600;padding:5px 10px;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);
  color:var(--muted);white-space:nowrap}
.ukd-stepper button:hover{border-color:var(--pri);color:var(--ink)}
.ukd-stepper li.is-done button{border-color:var(--pri);color:var(--pri-text)}
.ukd-stepper button[aria-pressed="true"]{background:var(--pri);border-color:var(--pri);color:var(--pri-ink)}
.ukd .ukd-hist li{position:relative;border-top:0;padding:0 0 14px}
.ukd .ukd-hist li:not(:last-child)::before{content:"";position:absolute;left:12px;top:30px;bottom:2px;border-left:2px solid var(--line)}
.ukd .ukd-dr-acts{display:block}
.ukd--monolit-group .ukd-stepper button{border-radius:3px}

/* the header on a phone: one row for the time, the period and the badge */
@media (max-width:899px){
  .ukd .ukd-head{gap:8px 10px;padding:8px 14px}
  .ukd .ukd-chips{flex-wrap:nowrap;gap:6px}
  .ukd .ukd-sync{font-size:11px}
  .ukd .ukd-per button{padding:4px 8px;font-size:11px}
  .ukd .ukd-badge{padding:4px 8px;font-size:11px}
  .ukd .ukd-fields{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:379px){.ukd .ukd-chips{flex-wrap:wrap}}

/* ===== 14. The owner's round of 03.11.2026: people with initials, a conversation as its medium (e-mail, form, chat), board cards
   and table rows that show the person, as the partner's panels do ===== */
.ukd-av{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;font-size:12px;font-weight:700;
  letter-spacing:.02em;color:var(--ink);background:color-mix(in srgb,var(--c) 26%,var(--surface));line-height:1}
.ukd-av--0{--c:var(--s0)}.ukd-av--1{--c:var(--s1)}.ukd-av--2{--c:var(--s2)}.ukd-av--3{--c:var(--s3)}.ukd-av--4{--c:var(--s4)}.ukd-av--5{--c:var(--s5)}
.ukd--monolit-group .ukd-av{border-radius:4px}
.ukd-who{position:relative;display:inline-block;flex:none}
.ukd-who-src{position:absolute;right:-5px;bottom:-5px}
.ukd .ukd-who-src .ukd-logo{width:18px;height:18px;border-radius:5px;border:1.5px solid var(--surface)}
.ukd .ukd-who-src .ukd-logo img{width:12px;height:12px}
.ukd .ukd-who-src .ukd-logo--none{font-size:8px}
.ukd .ukd-who-src .ukd-logo--none .ukd-i{width:11px;height:11px}
.ukd-ib-head{align-items:center}
.ukd-ib-head p{display:grid;gap:1px;flex:1;min-width:0}
.ukd-ib-head p small{color:var(--muted);font-size:12px}
/* an e-mail */
.ukd-mail-subj{font-family:var(--font-h);font-size:18px;font-weight:700;line-height:1.3}
.ukd-mails{display:grid;gap:10px}
.ukd-mail{border:1px solid var(--line);border-radius:var(--rad-s);background:var(--surface);padding:12px 14px}
.ukd-mail--us{background:var(--hover)}
.ukd-mail header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:10px;align-items:center}
.ukd-mail header .ukd-av{grid-row:span 2}
.ukd-mail-from{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ukd-mail-from span{color:var(--muted)}
.ukd-mail header time{grid-column:3;grid-row:1;font-size:12px;color:var(--muted);white-space:nowrap}
.ukd-mail-to{grid-column:2;font-size:12px;color:var(--muted)}
.ukd-mail-body{display:grid;gap:8px;margin-top:10px;font-size:14px;line-height:1.55;max-width:68ch}
/* a form or a portal enquiry */
.ukd-form{display:grid;gap:12px;border:1px solid var(--line);border-radius:var(--rad-s);padding:12px 14px;background:var(--surface)}
.ukd-form header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:10px;align-items:center}
.ukd-form header p{display:grid;gap:1px;min-width:0}
.ukd-form header small{font-size:12px;color:var(--muted)}
.ukd-form header time{font-size:12px;color:var(--muted);white-space:nowrap}
.ukd-form dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;padding:12px 14px;background:var(--hover);border-radius:var(--rad-s)}
.ukd-form dl div{display:grid;gap:1px;min-width:0}
.ukd-form dt{font-size:12px;color:var(--muted)}
.ukd-form dd{font-weight:600;overflow-wrap:anywhere}
.ukd-form-msg{display:grid;gap:8px;font-size:14px;line-height:1.55}
.ukd-chat .ukd-msg p + p{margin-top:6px}
/* a board card that shows the person */
.ukd .ukd-kcard{padding:10px 12px}
.ukd-kc-top{display:flex;align-items:center;gap:8px;min-width:0}
.ukd-kc-top .ukd-av{width:26px;height:26px;font-size:11px}
.ukd-kc-top b{flex:1;min-width:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ukd .ukd-kc-line{display:block;margin-top:5px;font-size:12px;color:var(--muted)}
.ukd-kc-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}
.ukd-kc-money{font-size:12px;font-weight:700;background:var(--track);color:var(--ink);border-radius:999px;padding:2px 9px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ukd--monolit-group .ukd-kc-money{border-radius:3px}
.ukd-kc-foot time{margin-left:auto;font-size:11px;color:var(--muted);white-space:nowrap}
/* a table row with its person and a second line */
.ukd-person{display:flex;align-items:center;gap:10px}
.ukd-person > span:last-child{display:grid;min-width:0}
.ukd-person b{font-weight:600}
.ukd-table .ukd-av{width:30px;height:30px;font-size:11px}
.ukd .ukd-cell-sub{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:1px}
.ukd-tsum{font-size:13px;color:var(--muted);margin:-4px 0 10px}
/* past van stops: dimmed by colour, not by opacity, so their times stay readable (review M2) */
.ukd .ukd-rt-stop.is-past{opacity:1;background:var(--muted)}
/* the menu on top fits one row from 900 px (review M8) */
@media (min-width:900px) and (max-width:1279px){
  .ukd--top .ukd-side{gap:6px 12px;padding:8px 12px}
  .ukd--top .ukd-nav a,.ukd--top .ukd-grp-h{padding:6px 8px;font-size:13px}
  .ukd--top .ukd-nav a .ukd-i{width:16px;height:16px}
  .ukd--top .ukd-brand b{font-size:15px}
  .ukd--top .ukd-side .ukd-srcs .ukd-logo{width:20px;height:20px}
  .ukd--top .ukd-side .ukd-srcs .ukd-logo img{width:13px;height:13px}
}
@media (max-width:899px){.ukd-form dl{grid-template-columns:minmax(0,1fr)}}

/* a board's cards take their column's width, a long name ends with an ellipsis instead of pushing the card out */
.ukd .ukd-kcards{grid-template-columns:minmax(0,1fr)}
/* a narrow column wraps a name to a second line instead of cutting it («Jana Nová…») */
.ukd .ukd-kc-top b{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}

/* ===== 15. On the homepage (embed.js, plan 2026-11-05-ukazky-homepage-and-list): under 900 px the panel keeps a height of its
   own and its content scrolls inside it, instead of growing with the page as on the full-screen page ===== */
/* The panel is narrower than the window there (the homepage's white card), while its rules go by the window: the 30 days
   of the connectors only on the widest screens, their rows in the phone's two lines up to 1180 px. */
@media (min-width:900px) and (max-width:1439px){.ukd--embed .ukd-days{display:none}}
@media (min-width:900px) and (max-width:1180px){
  .ukd--embed .ukd-srclist li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"logo main main" "st st btn";gap:8px 12px}
  .ukd--embed .ukd-srclist li > .ukd-logo{grid-area:logo}
  .ukd--embed .ukd-srclist-m{grid-area:main}
  .ukd--embed .ukd-srclist-st{grid-area:st;width:auto;display:flex;align-items:center;gap:10px}
  .ukd--embed .ukd-srclist li > .ukd-btn{grid-area:btn}
}
@media (max-width:899px){
  .ukd.ukd--embed{height:620px;overflow:hidden}
  .ukd--embed .ukd-app,.ukd--embed .ukd-main{height:100%}
  .ukd--embed .ukd-head{position:static}
  .ukd--embed .ukd-content{overflow:auto}
}
