/* kz.css: the Kiuki apps' design system (docs/DESIGN-SYSTEM.md). Built from internal/web/css; edit those. */
@font-face{font-family:"IBM Plex Sans";src:url(fonts/IBMPlexSans-Regular.woff2?v=cb3757090a) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url(fonts/IBMPlexSans-Italic.woff2?v=cb3757090a) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url(fonts/IBMPlexSans-Medium.woff2?v=cb3757090a) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url(fonts/IBMPlexSans-SemiBold.woff2?v=cb3757090a) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans Condensed";src:url(fonts/IBMPlexSansCondensed-Medium.woff2?v=cb3757090a) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans Condensed";src:url(fonts/IBMPlexSansCondensed-SemiBold.woff2?v=cb3757090a) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url(fonts/IBMPlexMono-Regular.woff2?v=cb3757090a) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url(fonts/IBMPlexMono-Medium.woff2?v=cb3757090a) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url(fonts/IBMPlexMono-SemiBold.woff2?v=cb3757090a) format("woff2");font-weight:600;font-style:normal;font-display:swap}
/* 10-tokens.css */
/* Tokens: dark is the default; light overrides on data-theme="light"; print
   sets its own in 95-responsive-print.css, on both selectors.
   Two light colours are corrected from the mockups (--risk, --amb) and four
   tokens are added (--field-line, --nav-w, --rail-w, --drawer-w): spec 1-2.
   contrast_test.go checks every pair whenever a token changes.
   The font stacks work without the font files (they fall back to system fonts). */
.kz{
  --bg:#121519;--sunk:#0E1114;--panel:#181C21;--panel-2:#1E2329;--panel-3:#262C33;
  --line:#2A3139;--line-2:#3A434D;--field-line:#6B7682;
  --text:#E8ECF0;--text-2:#B9C1CA;--text-3:#949FAB;--link:#8AC6FF;--focus:#8AC6FF;
  --inv:#E8ECF0;--on-inv:#121519;--scrim:rgba(6,8,10,.62);--shadow:0 24px 60px rgba(0,0,0,.5);
  --ok:#55C982;--ok-ink:#6FD496;--ok-wash:rgba(85,201,130,.13);
  --risk:#FBBB51;--risk-ink:#FBBB51;--risk-wash:rgba(251,187,81,.13);
  --late:#EA4A45;--late-ink:#FF8679;--late-wash:rgba(234,74,69,.16);
  --info:#52A4E4;--info-ink:#83BBEF;--info-wash:rgba(82,164,228,.14);
  --amb:#E4C8A4;--amb-ink:#E4C8A4;--amb-wash:rgba(228,200,164,.11);
  --chl:#0FBCCE;--chl-ink:#4FCFDD;--chl-wash:rgba(15,188,206,.12);
  --frz:#7582DD;--frz-ink:#A3A8F1;--frz-wash:rgba(117,130,221,.17);
  --c1:#D6E7F5;--c2:#9CC0DE;--c3:#6D9CC3;--c4:#4D7DA5;
  --font:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --cond:'IBM Plex Sans Condensed','Arial Narrow','IBM Plex Sans',system-ui,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,'Liberation Mono',monospace;
  --r1:3px;--r2:5px;--r3:8px;--row:6px;--cell:8px;--gap:14px;--pad:14px;
  --nav-w:12.5rem;--rail-w:18rem;--drawer-w:40rem;
}
.kz[data-theme="light"]{
  --bg:#EDEFF2;--sunk:#E3E7EB;--panel:#FFFFFF;--panel-2:#F6F7F9;--panel-3:#EEF1F4;
  --line:#DCE1E6;--line-2:#C2CAD3;--field-line:#7A848F;
  --text:#14181D;--text-2:#3D4652;--text-3:#56606C;--link:#0057A0;--focus:#0057A0;
  --inv:#14181D;--on-inv:#FFFFFF;--scrim:rgba(20,24,29,.38);--shadow:0 24px 60px rgba(20,24,29,.22);
  --ok:#2B9056;--ok-ink:#217143;--ok-wash:rgba(43,144,86,.10);
  --risk:#AE721D;--risk-ink:#8A5811;--risk-wash:rgba(195,128,34,.13);
  --late:#C13934;--late-ink:#B1332E;--late-wash:rgba(193,57,52,.10);
  --info:#0057A0;--info-ink:#0057A0;--info-wash:rgba(0,87,160,.09);
  --amb:#987952;--amb-ink:#795C34;--amb-wash:rgba(174,139,94,.14);
  --chl:#008795;--chl-ink:#006C78;--chl-wash:rgba(0,135,149,.10);
  --frz:#3553B1;--frz-ink:#3553B1;--frz-wash:rgba(53,83,177,.10);
  --c1:#0D3759;--c2:#2A597E;--c3:#427299;--c4:#638EB0;
}
.kz[data-density="comfortable"]{--row:10px;--cell:12px;--gap:18px;--pad:18px}
html.kz{color-scheme:dark;background:var(--bg)}
html.kz[data-theme="light"]{color-scheme:light}
/* 20-base.css */
/* Base element styles (spec 5.2). :where() keeps them at the specificity of
   .kz alone, so every component class overrides them by coming later. */
.kz body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:var(--font);font-size:13px;line-height:1.45;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.kz *,.kz *::before,.kz *::after{box-sizing:border-box}
.kz [hidden]{display:none !important}
.kz :where(h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd,pre){margin:0}
.kz :where(h1){font-size:24px;font-weight:600;letter-spacing:-0.015em}
.kz :where(h2){font-size:15px;font-weight:600;letter-spacing:-0.005em}
.kz :where(h3){font-size:13px;font-weight:600}
.kz :where(a){color:var(--link);text-decoration:none}
.kz :where(a:hover){color:var(--text);text-decoration:underline}
.kz :where(button){font:inherit;color:inherit;cursor:pointer}
.kz :where(button:disabled){cursor:default;opacity:.55}
.kz :where(input,select,textarea){font:inherit;color:inherit}
.kz ::placeholder{color:var(--text-3);opacity:1}
.kz :focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.kz :where(kbd,code,samp){font-family:var(--mono)}
.kz :where(code){font-size:.94em}
.kz :where(p,li,td,dd) :where(code){overflow-wrap:anywhere}
.kz :where(hr){height:0;margin:0;border:0;border-top:1px solid var(--line)}
.kz :where(table){border-collapse:collapse}
.kz :where(summary){cursor:pointer}
/* form fields: element defaults, so every component overrides them */
.kz :where(input:not([type="checkbox"],[type="radio"],[type="hidden"],[type="submit"],[type="button"],[type="range"],[type="file"],[type="color"]),select,textarea){width:100%;height:30px;padding:0 8px;border:1px solid var(--field-line);border-radius:var(--r2);background:var(--panel-2);color:var(--text);font-family:var(--font);font-size:12.5px}
.kz :where(textarea){height:auto;min-height:5.5rem;padding:6px 8px;line-height:1.45;resize:vertical}
.kz :where(select[multiple]){height:auto;padding:4px}
.kz :where(input[type="checkbox"],input[type="radio"]){width:16px;height:16px;margin:0;accent-color:var(--inv)}
.kz :where(input[type="file"]){font-size:12.5px;color:var(--text-2)}
.kz :where([aria-invalid="true"]){border-color:var(--late)}
@keyframes kzpulse{0%,100%{opacity:1}50%{opacity:.3}}
@media (prefers-reduced-motion:reduce){.kz *,.kz *::before,.kz *::after{animation:none !important;transition:none !important}}
/* 30-utilities.css */
/* Utilities and paint classes (spec 5.3). */
/* visually hidden, still read */
.kz-sr{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* text helpers */
.num{font-family:var(--mono);text-align:right;white-space:nowrap}
.kz-mono{font-family:var(--mono)}
.kz-t1{color:var(--text)}.kz-t2{color:var(--text-2)}.kz-t3{color:var(--text-3)}
.kz-ink{--ti:var(--text);color:var(--ti)}
.kz-b{font-weight:600}.kz-m{font-weight:500}
.kz-trunc{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-nowrap{white-space:nowrap}
.kz-note{font-size:12px;color:var(--text-3)}
.kz-foot{margin:0;font-size:11.5px;line-height:1.4;color:var(--text-3)}
.kz-sub{font-size:11px;color:var(--text-3)}
.kz-push{margin-left:auto}
.kz-inline{display:inline-flex;margin:0}
/* theme-dependent visibility */
[data-theme="light"] .kz-only-dark,[data-theme="dark"] .kz-only-light{display:none}
/* sideways scrolling for wide content, and minimum widths. A fixed-layout
   table's kz-minw-* leaves each column without a kz-c-* width at least 8rem
   beyond the fixed widths and the cells' padding, or that column collapses
   when the table is at its minimum (docs/DESIGN-SYSTEM.md). */
.kz-scrollx{overflow-x:auto}
.kz-scrolly{overflow:auto;max-height:70vh}
.kz-minw-22{min-width:22rem}.kz-minw-26{min-width:26rem}.kz-minw-30{min-width:30rem}.kz-minw-34{min-width:34rem}.kz-minw-40{min-width:40rem}.kz-minw-46{min-width:46rem}.kz-minw-48{min-width:48rem}.kz-minw-50{min-width:50rem}.kz-minw-52{min-width:52rem}.kz-minw-54{min-width:54rem}.kz-minw-56{min-width:56rem}
.kz-minw-58{min-width:58rem}.kz-minw-60{min-width:60rem}.kz-minw-62{min-width:62rem}.kz-minw-64{min-width:64rem}.kz-minw-70{min-width:70rem}.kz-minw-80{min-width:80rem}
/* percentage classes: one per whole percent (web.Pct); components read --w */
.kz-w-0{--w:0%}.kz-w-1{--w:1%}.kz-w-2{--w:2%}.kz-w-3{--w:3%}.kz-w-4{--w:4%}.kz-w-5{--w:5%}.kz-w-6{--w:6%}.kz-w-7{--w:7%}.kz-w-8{--w:8%}.kz-w-9{--w:9%}
.kz-w-10{--w:10%}.kz-w-11{--w:11%}.kz-w-12{--w:12%}.kz-w-13{--w:13%}.kz-w-14{--w:14%}.kz-w-15{--w:15%}.kz-w-16{--w:16%}.kz-w-17{--w:17%}.kz-w-18{--w:18%}.kz-w-19{--w:19%}
.kz-w-20{--w:20%}.kz-w-21{--w:21%}.kz-w-22{--w:22%}.kz-w-23{--w:23%}.kz-w-24{--w:24%}.kz-w-25{--w:25%}.kz-w-26{--w:26%}.kz-w-27{--w:27%}.kz-w-28{--w:28%}.kz-w-29{--w:29%}
.kz-w-30{--w:30%}.kz-w-31{--w:31%}.kz-w-32{--w:32%}.kz-w-33{--w:33%}.kz-w-34{--w:34%}.kz-w-35{--w:35%}.kz-w-36{--w:36%}.kz-w-37{--w:37%}.kz-w-38{--w:38%}.kz-w-39{--w:39%}
.kz-w-40{--w:40%}.kz-w-41{--w:41%}.kz-w-42{--w:42%}.kz-w-43{--w:43%}.kz-w-44{--w:44%}.kz-w-45{--w:45%}.kz-w-46{--w:46%}.kz-w-47{--w:47%}.kz-w-48{--w:48%}.kz-w-49{--w:49%}
.kz-w-50{--w:50%}.kz-w-51{--w:51%}.kz-w-52{--w:52%}.kz-w-53{--w:53%}.kz-w-54{--w:54%}.kz-w-55{--w:55%}.kz-w-56{--w:56%}.kz-w-57{--w:57%}.kz-w-58{--w:58%}.kz-w-59{--w:59%}
.kz-w-60{--w:60%}.kz-w-61{--w:61%}.kz-w-62{--w:62%}.kz-w-63{--w:63%}.kz-w-64{--w:64%}.kz-w-65{--w:65%}.kz-w-66{--w:66%}.kz-w-67{--w:67%}.kz-w-68{--w:68%}.kz-w-69{--w:69%}
.kz-w-70{--w:70%}.kz-w-71{--w:71%}.kz-w-72{--w:72%}.kz-w-73{--w:73%}.kz-w-74{--w:74%}.kz-w-75{--w:75%}.kz-w-76{--w:76%}.kz-w-77{--w:77%}.kz-w-78{--w:78%}.kz-w-79{--w:79%}
.kz-w-80{--w:80%}.kz-w-81{--w:81%}.kz-w-82{--w:82%}.kz-w-83{--w:83%}.kz-w-84{--w:84%}.kz-w-85{--w:85%}.kz-w-86{--w:86%}.kz-w-87{--w:87%}.kz-w-88{--w:88%}.kz-w-89{--w:89%}
.kz-w-90{--w:90%}.kz-w-91{--w:91%}.kz-w-92{--w:92%}.kz-w-93{--w:93%}.kz-w-94{--w:94%}.kz-w-95{--w:95%}.kz-w-96{--w:96%}.kz-w-97{--w:97%}.kz-w-98{--w:98%}.kz-w-99{--w:99%}
.kz-w-100{--w:100%}
/* column counts, read by .kz-grid, .kz-segs, .kz-zmap, .kz-facts */
.kz-cols-1{--cols:1}.kz-cols-2{--cols:2}.kz-cols-3{--cols:3}.kz-cols-4{--cols:4}.kz-cols-5{--cols:5}.kz-cols-6{--cols:6}.kz-cols-7{--cols:7}.kz-cols-8{--cols:8}.kz-cols-9{--cols:9}.kz-cols-10{--cols:10}.kz-cols-11{--cols:11}.kz-cols-12{--cols:12}.kz-cols-13{--cols:13}.kz-cols-14{--cols:14}.kz-cols-15{--cols:15}.kz-cols-16{--cols:16}
/* table column widths, on the <th> of a .kz-table (content widths: cell padding comes on top) */
.kz-c-1_8{width:1.8rem}.kz-c-2{width:2rem}.kz-c-2_2{width:2.2rem}.kz-c-2_8{width:2.8rem}.kz-c-3_1{width:3.1rem}.kz-c-3_2{width:3.2rem}.kz-c-3_6{width:3.6rem}.kz-c-3_8{width:3.8rem}
.kz-c-4{width:4rem}.kz-c-4_2{width:4.2rem}.kz-c-4_4{width:4.4rem}.kz-c-4_6{width:4.6rem}.kz-c-4_8{width:4.8rem}.kz-c-5{width:5rem}.kz-c-5_2{width:5.2rem}.kz-c-5_4{width:5.4rem}
.kz-c-5_6{width:5.6rem}.kz-c-5_8{width:5.8rem}.kz-c-6{width:6rem}.kz-c-6_4{width:6.4rem}.kz-c-6_6{width:6.6rem}.kz-c-6_8{width:6.8rem}.kz-c-7{width:7rem}.kz-c-7_2{width:7.2rem}
.kz-c-8{width:8rem}.kz-c-9{width:9rem}.kz-c-10{width:10rem}.kz-c-11{width:11rem}.kz-c-12{width:12rem}.kz-c-16{width:16rem}
/* paint classes: f-* fills a shape (background for boxes, fill for SVG), s-* strokes it; never f-* on text */
.f-c1{background-color:var(--c1);fill:var(--c1)}.f-c2{background-color:var(--c2);fill:var(--c2)}.f-c3{background-color:var(--c3);fill:var(--c3)}.f-c4{background-color:var(--c4);fill:var(--c4)}
.f-ok{background-color:var(--ok);fill:var(--ok)}.f-risk{background-color:var(--risk);fill:var(--risk)}.f-late{background-color:var(--late);fill:var(--late)}.f-info{background-color:var(--info);fill:var(--info)}
.f-amb{background-color:var(--amb);fill:var(--amb)}.f-chl{background-color:var(--chl);fill:var(--chl)}.f-frz{background-color:var(--frz);fill:var(--frz)}
.f-ok-wash{background-color:var(--ok-wash);fill:var(--ok-wash)}.f-risk-wash{background-color:var(--risk-wash);fill:var(--risk-wash)}.f-late-wash{background-color:var(--late-wash);fill:var(--late-wash)}.f-info-wash{background-color:var(--info-wash);fill:var(--info-wash)}
.f-ok-ink{background-color:var(--ok-ink);fill:var(--ok-ink)}.f-risk-ink{background-color:var(--risk-ink);fill:var(--risk-ink)}.f-late-ink{background-color:var(--late-ink);fill:var(--late-ink)}.f-info-ink{background-color:var(--info-ink);fill:var(--info-ink)}
.f-text{background-color:var(--text);fill:var(--text)}.f-text2{background-color:var(--text-2);fill:var(--text-2)}.f-text3{background-color:var(--text-3);fill:var(--text-3)}
.f-panel{background-color:var(--panel);fill:var(--panel)}.f-panel2{background-color:var(--panel-2);fill:var(--panel-2)}.f-panel3{background-color:var(--panel-3);fill:var(--panel-3)}.f-inv{background-color:var(--inv);fill:var(--inv)}
.f-none{background-color:transparent;fill:none}
.f-hollow{background-color:transparent;box-shadow:inset 0 0 0 1.5px var(--text-3);fill:var(--panel);stroke:var(--text-3);stroke-width:1.5}
.f-held{background-color:transparent;box-shadow:inset 0 0 0 1.5px var(--text-3);fill:var(--panel);stroke:var(--text-3);stroke-width:1.5;stroke-dasharray:3 2}
.s-c1{stroke:var(--c1)}.s-c2{stroke:var(--c2)}.s-c3{stroke:var(--c3)}.s-c4{stroke:var(--c4)}
.s-ok{stroke:var(--ok)}.s-risk{stroke:var(--risk)}.s-late{stroke:var(--late)}.s-info{stroke:var(--info)}.s-ok-ink{stroke:var(--ok-ink)}
.s-amb{stroke:var(--amb)}.s-chl{stroke:var(--chl)}.s-frz{stroke:var(--frz)}
.s-text{stroke:var(--text)}.s-text2{stroke:var(--text-2)}.s-text3{stroke:var(--text-3)}
.s-line{stroke:var(--line)}.s-line2{stroke:var(--line-2)}.s-focus{stroke:var(--focus)}.s-panel{stroke:var(--panel)}
/* 40-shell.css */
/* The shell (spec 6.4): top bar, navigation, main column, page header, rail. */
.kz-skip{position:absolute;left:8px;top:-48px;z-index:30;padding:6px 10px;border-radius:var(--r2);background:var(--inv);color:var(--on-inv);font-weight:600;text-decoration:none}
.kz-skip:focus{top:8px;color:var(--on-inv)}
.kz-locked{overflow:hidden}
.kz-page{min-height:100vh;display:flex;flex-direction:column}

/* top bar */
.kz-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:8px 18px;background:var(--sunk);border-bottom:1px solid var(--line)}
.kz-brand{display:flex;align-items:center;gap:8px;color:var(--text);text-decoration:none}
.kz-brand:hover{color:var(--text);text-decoration:none}
.kz-brand__mark{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:6px;background:var(--inv);color:var(--on-inv);font-family:var(--mono);font-size:13px;font-weight:600}
.kz-brand__name{font-size:14px;font-weight:600;letter-spacing:-0.01em}
.kz-brand__app{padding:2px 6px;border:1px solid var(--line-2);border-radius:var(--r1);font-family:var(--cond);font-size:10.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--text-2)}
.kz-ctx{display:flex;align-items:center;gap:8px;padding:3px 8px 3px 3px;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel);color:var(--text);text-align:left;text-decoration:none}
.kz-ctx:hover{background:var(--panel-3);color:var(--text);text-decoration:none}
.kz-ctx__init{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:4px;background:var(--panel-3);font-family:var(--mono);font-size:10.5px;font-weight:600;color:var(--text-2)}
.kz-ctx__text{display:flex;flex-direction:column;line-height:1.25}
.kz-ctx__name{font-size:12.5px;font-weight:600}
.kz-ctx__sub{font-size:11px;color:var(--text-3)}
.kz-ctx > .kz-i{color:var(--text-3)}
.kz-clock{display:flex;align-items:center;gap:7px;padding:0 4px}
.kz-clock__dot{width:7px;height:7px;border-radius:50%;background:var(--ok);animation:kzpulse 1.8s ease-in-out infinite}
.kz-clock[data-stale] .kz-clock__dot{width:6px;height:6px;margin:0 1px;border-radius:0;background:var(--risk);transform:rotate(45deg);animation:none}
.kz-clock__time{font-family:var(--mono);font-size:15px;font-weight:500;letter-spacing:.02em}
.kz-clock__zone{font-family:var(--cond);font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-3)}
.kz-topchips{display:flex;flex-wrap:wrap;gap:6px}
.kz-topchip{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 8px;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel);color:var(--text);text-decoration:none}
a.kz-topchip:hover{border-color:var(--line-2);color:var(--text);text-decoration:none}
.kz-topchip__label{font-size:12px;color:var(--text-2)}
.kz-topchip__value{--ti:var(--text);font-family:var(--mono);font-size:12px;font-weight:500;color:var(--ti)}
.kz-toplinks{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12.5px}
.kz-toplinks a{color:var(--text-2)}
.kz-toplinks a:hover{color:var(--text)}
.kz-toplinks a[aria-current]{color:var(--text);font-weight:600}
.kz-top__spacer{flex:1 1 1rem}
.kz-search{display:flex;align-items:center;gap:6px;flex:0 1 17rem;min-width:13rem;height:30px;padding:0 6px 0 8px;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel)}
.kz-search:focus-within{outline:2px solid var(--focus);outline-offset:1px}
.kz-search > .kz-i{color:var(--text-3)}
.kz-search input{flex:1 1 auto;min-width:0;width:auto;height:26px;padding:0;border:0;background:transparent;color:var(--text);font-family:var(--font);font-size:12.5px}
.kz-search input:focus-visible{outline:none}
.kz-iconbtn{display:inline-grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel);color:var(--text-2)}
.kz-iconbtn:hover{background:var(--panel-3);color:var(--text)}
.kz-themeform{display:inline-flex;margin:0}
.kz-user{position:relative}
.kz-user__sum{display:flex;align-items:center;gap:8px;padding:1px 2px;border-radius:var(--r2);list-style:none}
.kz-user__sum::-webkit-details-marker{display:none}
.kz-user__sum > .kz-i{color:var(--text-3)}
.kz-avatar{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--panel-3);border:1px solid var(--line-2);font-size:11px;font-weight:600;color:var(--text)}
.kz-user__text{display:flex;flex-direction:column;line-height:1.2}
.kz-user__name{font-size:12.5px;font-weight:500}
.kz-user__role{font-size:11px;color:var(--text-3)}
.kz-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:25;display:flex;flex-direction:column;min-width:12rem;padding:4px;background:var(--panel);border:1px solid var(--line-2);border-radius:var(--r2);box-shadow:var(--shadow)}
.kz-menu form{margin:0}
.kz-menu__i{display:block;width:100%;padding:6px 10px;border:0;border-radius:4px;background:transparent;color:var(--text);font-size:12.5px;text-align:left;text-decoration:none}
.kz-menu__i:hover{background:var(--panel-3);color:var(--text);text-decoration:none}

/* columns */
.kz-shell{flex:1 1 auto;display:grid;grid-template-columns:var(--nav-w) minmax(0,1fr) var(--rail-w);align-items:stretch}
.kz-shell--norail{grid-template-columns:var(--nav-w) minmax(0,1fr)}
.kz-shell--public{grid-template-columns:minmax(0,1fr)}
.kz-shell--public .kz-main{width:100%;max-width:60rem;margin:0 auto}

/* navigation */
.kz-side{display:flex;flex-direction:column;gap:16px;min-width:0;padding:14px 10px 20px;background:var(--sunk);border-right:1px solid var(--line)}
.kz-navgrp{min-width:0}
.kz-navgroup{padding:0 8px 5px;font-size:11.5px;font-weight:600;color:var(--text-3)}
.kz-navlist{display:grid;gap:1px;margin:0;padding:0;list-style:none}
.kz-nav-a{display:flex;align-items:center;gap:9px;padding:5px 8px;border-radius:var(--r2);font-size:13px;font-weight:400;color:var(--text-2);text-decoration:none}
.kz-nav-a:hover{background:var(--panel-2);color:var(--text);text-decoration:none}
.kz-nav-a[aria-current="page"]{background:var(--panel-2);color:var(--text);font-weight:600;box-shadow:inset 0 0 0 1px var(--line-2)}
.kz-nav-a__label{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-nav-a__keys{display:inline-flex;gap:2px}
.kz-navnote{margin-top:auto;padding:10px;border:1px dashed var(--line-2);border-radius:var(--r2);font-size:11.5px;line-height:1.45;color:var(--text-3)}
.kz-navnote__title{margin-bottom:4px;font-weight:600;color:var(--text-2)}

/* main and page header (the title is a plain <h1>: tests read it) */
.kz-main{display:flex;flex-direction:column;gap:var(--gap);min-width:0;padding:18px 22px 32px}
.kz-main:focus{outline:none}
.kz-main > .kz-btn,.kz-main > .kz-inline{align-self:flex-start}
.kz-ph{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 20px}
.kz-ph__titles{min-width:0}
.kz-ph__eyebrow{font-size:12px;font-weight:500;color:var(--text-3)}
.kz-ph h1{margin:2px 0 0;font-size:24px;font-weight:600;letter-spacing:-0.015em}
.kz-ph__summary{max-width:38rem;margin:0 0 2px;font-size:12.5px;color:var(--text-2)}
.kz-ph__actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}

/* rail */
.kz-rail{display:flex;flex-direction:column;gap:18px;min-width:0;padding:14px 14px 24px;background:var(--sunk);border-left:1px solid var(--line)}
.kz-raillink{--tm:var(--line);display:flex;flex-direction:column;gap:3px;padding:9px 10px;border:1px solid var(--tm);border-radius:var(--r2);background:var(--panel);text-decoration:none}
.kz-raillink:hover{border-color:var(--line-2);text-decoration:none}
.kz-raillink__top{display:flex;align-items:center;gap:6px}
.kz-raillink__title{font-size:12.5px;font-weight:600;color:var(--text)}
.kz-raillink__text{font-size:12px;line-height:1.4;color:var(--text-2)}
.kz-railgrp{min-width:0}
.kz-railgrp__head{display:flex;align-items:center;gap:8px;margin:0 0 8px}
.kz-railgrp__title{margin:0;font-size:13px;font-weight:600;color:var(--text)}
.kz-railgrp__note{margin-left:auto;font-size:11px;color:var(--text-3);text-align:right}
.kz-railgrp__list{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
/* added: links to the rest of a group, under its list (RailGroup.More) */
.kz-railgrp__more{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.kz-shortcuts{padding-top:12px;border-top:1px solid var(--line)}
.kz-shortcuts .kz-railgrp__title{margin:0 0 8px}
.kz-shortcuts__list{display:grid;gap:5px;margin:0;padding:0;list-style:none}
.kz-shortcuts__list li{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-2)}
.kz-shortcuts__keys{display:inline-flex;gap:3px;min-width:4.6rem}
/* 50-components.css */
/* Components (spec 7, in its order). The tone, temperature, workflow and
   map-state hooks (7.2) are in 80-hooks.css: they must come after every
   component, whose roots set the neutral defaults the hooks override. */

/* 7.1 panels, section heads, layout */
.kz-panel{min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:var(--r3);overflow:clip}
.kz-panel--strong{border-color:var(--line-2)}
.kz-panel--pad{display:flex;flex-direction:column;gap:10px;padding:12px 14px}
.kz-panel--pad12{display:flex;flex-direction:column;gap:10px;padding:12px}
.kz-panel--tight{display:flex;flex-direction:column;gap:8px;padding:10px 12px 12px}
.kz-panel__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;padding:10px 12px;border-bottom:1px solid var(--line)}
.kz-panel__head--ctl{align-items:center}
.kz-panel__head--tabs{align-items:center;gap:8px 12px;padding:10px 12px 0}
.kz-panel__head--tabs > h2,.kz-panel__head--tabs > .kz-note{margin:0 0 8px}
.kz-panel__head--tabs > .kz-tabs{margin-left:auto}
.kz-panel__head--fill{background:var(--panel-2)}
.kz-panel__head--wide{padding:10px 14px}
.kz-panel__body{padding:12px}
.kz-panel__foot{margin:0;padding:8px 12px;font-size:11.5px;color:var(--text-3)}
.kz-panel__head--plain{gap:6px 14px;padding:12px 14px 6px;border-bottom:0;align-items:center}
.kz-panel__head--col{flex-direction:column;align-items:stretch;gap:8px}
.kz-panel__head--tabs > .kz-istats{margin:0 0 8px}
.kz-pbody{display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px}
.kz-pbody--14{gap:12px;padding:12px 14px}
.kz-pbody--sim{gap:14px;padding:14px}
.kz-pbody--res{gap:12px;padding:14px}
.kz-aside{margin-left:auto;font-size:11.5px;color:var(--text-3);white-space:nowrap}
.kz-dtitle{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px}
.kz-dtitle__id{margin:0;font-family:var(--mono);font-size:19px;font-weight:600}
.kz-dtitle__name{font-size:13px;color:var(--text)}
.kz-sechead{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px}
.kz-ctls{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}
.kz-section{display:flex;flex-direction:column;gap:8px}
.kz-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--gap);align-items:start}
.kz-split--170{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}
.kz-split--155{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
.kz-split--135{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
.kz-split--115{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.kz-split--r105{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
.kz-split--flush{gap:0;align-items:stretch}
.kz-split--flush > :first-child{border-right:1px solid var(--line)}
.kz-grid{display:grid;grid-template-columns:repeat(var(--cols,2),minmax(0,1fr));gap:8px}
.kz-grid--g4{gap:4px}.kz-grid--g6{gap:6px}.kz-grid--g12{gap:12px}
.kz-grid--hair{gap:1px;background:var(--line)}
.kz-grid--hair > *{background:var(--panel)}
.kz-autogrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:6px;margin:0;padding:0;list-style:none}
.kz-stack{}

/* 7.3 tone marks: ok circle, risk diamond, late square, info ring, none grey */
.kz-mark{--tm:var(--text-3);--ms:7px;display:inline-block;flex:none;width:var(--ms);height:var(--ms);border-radius:50%;background:var(--tm)}
.kz-mark--6{--ms:6px}.kz-mark--8{--ms:8px}.kz-mark--9{--ms:9px}.kz-mark--10{--ms:10px}
.kz-mark.t-risk{width:calc(var(--ms) - 1px);height:calc(var(--ms) - 1px);margin:0 1px;border-radius:0;transform:rotate(45deg)}
.kz-mark.t-late{border-radius:1px}
.kz-mark.t-info{background:transparent;border:2px solid var(--tm)}

/* 7.4 workflow status */
.kz-wf{--wf:transparent;--wfb:var(--text-3);display:inline-block;flex:none;width:10px;height:10px;border-radius:2px;background:var(--wf);border:1.5px solid var(--wfb)}
.kz-wf.wf-held{border-style:dashed}
.kz-status{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--text-2);white-space:nowrap}
.kz-status--sm{font-size:12px;color:var(--text)}

/* 7.5 pills, outline tags, version chips */
.kz-pill{--ti:var(--text-2);--tw:var(--panel-3);display:inline-flex;align-items:center;gap:5px;height:18px;padding:0 6px;border-radius:var(--r1);background:var(--tw);color:var(--ti);font-family:var(--cond);font-size:10.5px;font-weight:600;letter-spacing:.06em;line-height:1;text-transform:uppercase;white-space:nowrap}
.kz-pill--sm{height:16px;padding:0 5px;font-size:10px;letter-spacing:.05em}
/* added: a pill whose words may be long wraps inside itself, in a narrow column (Pill.Wrap) */
.kz-pill--wrap{height:auto;min-height:18px;padding-top:2px;padding-bottom:2px;line-height:1.25;white-space:normal}
.kz-pill--wrap.kz-pill--sm{min-height:16px}
.kz-otag{--tm:var(--line-2);--ti:var(--text-2);display:inline-flex;align-items:center;gap:4px;height:18px;padding:0 6px;border:1px solid var(--tm);border-radius:var(--r1);background:transparent;color:var(--ti);font-family:var(--cond);font-size:10.5px;font-weight:600;letter-spacing:.05em;line-height:1;text-transform:uppercase;white-space:nowrap}
.kz-otag--sm{height:16px;padding:0 5px;font-size:10px}
.kz-vchip{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 7px;border:1px solid var(--line);border-radius:var(--r1);color:var(--text-3);font-size:11.5px;white-space:nowrap}
.kz-vchip[aria-current]{border-color:var(--text-2);color:var(--text)}
.kz-vchip--draft{border-style:dashed;border-color:var(--info);color:var(--info-ink)}

/* 7.6 count badges: the opaque --panel underlay keeps toned badges legible on --sunk */
.kz-count{--ti:var(--text-2);--tw:var(--panel-3);display:inline-grid;place-items:center;min-width:18px;height:16px;padding:0 5px;border-radius:8px;color:var(--ti);background-color:var(--panel);background-image:linear-gradient(var(--tw),var(--tw));font-family:var(--mono);font-size:10px;font-weight:600;line-height:1}

/* 7.7 temperature tags */
.kz-temp{--pm:var(--line-2);--pi:var(--text-2);--pw:transparent;display:inline-flex;align-items:center;gap:4px;height:18px;padding:0 5px;border:1px solid var(--pm);border-radius:var(--r1);background:var(--pw);color:var(--pi);font-family:var(--cond);font-size:10.5px;font-weight:600;letter-spacing:.06em;line-height:1;text-transform:uppercase;white-space:nowrap}
.kz-temp > .kz-i{width:10px;height:10px}
.kz-temp--lg > .kz-i{width:11px;height:11px}
.kz-temp--sm{height:16px;padding:0 4px;font-size:9.5px}
.kz-temp--sm > .kz-i{width:9px;height:9px}
.kz-sw.tp-amb,.kz-sw.tp-chl,.kz-sw.tp-frz{background:var(--pm)}

/* 7.8 buttons and actions */
.kz-btn{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid var(--line-2);border-radius:var(--r2);background:var(--panel-2);color:var(--text);font-family:var(--font);font-size:12.5px;font-weight:500;line-height:1;white-space:nowrap;text-decoration:none;cursor:pointer}
.kz-btn:hover{background:var(--panel-3);color:var(--text);text-decoration:none}
.kz-btn > .kz-i{width:14px;height:14px}
.kz-btn--sm{gap:5px;height:24px;padding:0 8px;font-size:12px}
.kz-btn--primary{border-color:var(--inv);background:var(--inv);color:var(--on-inv)}
.kz-btn--primary:hover{background:var(--inv);color:var(--on-inv);opacity:.88}
.kz-btn--ghost{border-color:transparent;background:transparent;color:var(--link)}
.kz-btn--ghost:hover{background:var(--panel-3);color:var(--link)}
.kz-btn--done{border-color:var(--line);background:transparent;color:var(--text-2);cursor:default}
.kz-btn--done:hover{background:transparent;color:var(--text-2)}
.kz-btn--danger{border-color:var(--late);background:var(--late-wash);color:var(--late-ink)}
.kz-btn--danger:hover{background:var(--late-wash);color:var(--late-ink);opacity:.88}
.kz-btn--nav{gap:4px;height:26px;padding:0 6px;color:var(--text-2)}
.kz-btn--more{justify-content:center;width:100%;height:24px;border-style:dashed;background:transparent;color:var(--text-2);font-size:11.5px}
.kz-btn--tap{justify-content:center;min-width:6.4rem;height:auto;min-height:44px;padding:0 12px;font-size:13px;font-weight:600}
.kz-btn[disabled],.kz-btn[aria-disabled="true"]{opacity:.55;cursor:default}
.kz-idlink{font-family:var(--mono);font-size:12.5px;font-weight:600;color:var(--link);text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:3px}
.kz-idlink:hover{color:var(--text);text-decoration-color:currentColor}

/* 7.9 key caps */
.kz-kbd{display:inline-grid;place-items:center;min-width:16px;height:16px;margin-left:2px;padding:0 3px;border:1px solid var(--line-2);border-radius:var(--r1);background:transparent;color:var(--text-3);font-family:var(--mono);font-size:10px;font-weight:500;line-height:1}
.kz-btn--primary .kz-kbd{border-color:currentColor;color:inherit;opacity:.7}
.kz-kbd--key{min-width:17px;height:17px;margin:0;padding:0 4px;border-bottom-width:2px;background:var(--panel-2);color:var(--text-2)}
.kz-kbd--nav{min-width:15px;height:15px;margin:0;border-color:var(--line);font-size:9.5px;font-weight:400}
[data-keys="off"] .kz-kbd,[data-keys="off"] .kz-shortcuts,[data-keys="off"] .kz-chips__keyhint{display:none}
[data-keys="off"] .kz-keyspage .kz-kbd{display:inline-grid}

/* 7.10 filter chips and the filter bar */
.kz-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.kz-chips--tight{gap:6px}
.kz-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid var(--line-2);border-radius:14px;background:var(--panel);color:var(--text);font-family:var(--font);font-size:12.5px;font-weight:500;line-height:1;white-space:nowrap;text-decoration:none;cursor:pointer}
.kz-chip:hover{border-color:var(--text-3);color:var(--text);text-decoration:none}
.kz-chip[aria-current="true"],.kz-chip[aria-pressed="true"]{border-color:var(--inv);background:var(--inv);color:var(--on-inv)}
.kz-chip > .kz-i{width:13px;height:13px}
.kz-chip__n{font-family:var(--mono);font-size:11px;color:var(--text-3)}
.kz-chip[aria-current="true"] .kz-chip__n,.kz-chip[aria-pressed="true"] .kz-chip__n{color:inherit;opacity:.75}
.kz-chips__sep{width:1px;height:20px;margin:0 2px;background:var(--line-2)}
.kz-chips__note{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:12px;color:var(--text-3)}

/* 7.11 segmented controls, toggles, switch */
.kz-segs{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:4px}
.kz-segbtn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:4px 8px;border:1px solid var(--line-2);border-radius:var(--r2);background:var(--panel-2);color:var(--text);font-family:var(--font);font-size:12.5px;font-weight:500;line-height:1.2;text-align:center;cursor:pointer}
.kz-segbtn:hover{background:var(--panel-3)}
.kz-segbtn[aria-pressed="true"]{border-color:var(--inv);background:var(--inv);color:var(--on-inv)}
.kz-segbtn > .kz-i{width:13px;height:13px}
.kz-segbtn--two{flex-direction:column;gap:0}
.kz-segbtn__sub{font-family:var(--mono);font-size:10.5px;opacity:.8}
.kz-toggle{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:1px solid var(--line-2);border-radius:var(--r2);background:var(--panel-2);color:var(--text);font-size:12.5px;text-align:left;cursor:pointer}
.kz-toggle__box{display:inline-grid;place-items:center;flex:none;width:18px;height:18px;border:1.5px solid var(--text-3);border-radius:4px;color:transparent}
.kz-toggle[aria-pressed="true"] .kz-toggle__box{background:var(--inv);border-color:var(--inv);color:var(--on-inv)}
.kz-toggle__box > .kz-i{width:12px;height:12px;stroke-width:3}
.kz-switch{display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:3px 10px 3px 4px;border:1px solid var(--line-2);border-radius:15px;background:var(--panel-2);color:var(--text);font-size:12.5px;font-weight:500;text-align:left;cursor:pointer}
.kz-switch__track{display:inline-flex;align-items:center;justify-content:flex-start;flex:none;width:30px;height:18px;padding:2px;border:1px solid var(--line-2);border-radius:9px;background:var(--panel-3)}
.kz-switch__knob{display:block;width:12px;height:12px;border-radius:50%;background:var(--text-3)}
.kz-switch[aria-checked="true"]{border-color:var(--inv)}
.kz-switch[aria-checked="true"] .kz-switch__track{justify-content:flex-end;border-color:var(--inv);background:var(--inv)}
.kz-switch[aria-checked="true"] .kz-switch__knob{background:var(--on-inv)}
.kz-ctlgrp{display:flex;flex-direction:column;gap:6px}
.kz-ctlrow{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.kz-ctlrow__label{min-width:4rem;font-size:12px;font-weight:500;color:var(--text-2)}

/* 7.12 tabs: links, aria-current="true" only on the active one */
.kz-tabs{display:flex;flex-wrap:wrap;gap:2px}
.kz-tab{display:inline-flex;align-items:center;gap:6px;height:34px;margin-bottom:-1px;padding:0 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--text-2);font-family:var(--font);font-size:13px;font-weight:500;white-space:nowrap;text-decoration:none}
.kz-tab:hover{color:var(--text);text-decoration:none}
.kz-tab[aria-current]{border-bottom-color:var(--text);color:var(--text);font-weight:600}
.kz-tab__n{--ti:var(--text-3);font-family:var(--mono);font-size:11px;font-weight:400;color:var(--ti)}
.kz-tab__n.t-late,.kz-tab__n.t-risk{font-weight:600}

/* 7.13 steppers (the count stepper's buttons stay hidden until kz-stepper.js shows them) */
.kz-step{display:inline-flex;align-items:stretch;height:32px;overflow:hidden;border:1px solid var(--line-2);border-radius:var(--r2);background:var(--panel)}
.kz-step__b{width:28px;padding:0;border:0;border-right:1px solid var(--line-2);background:var(--panel-2);color:var(--text);font-family:var(--mono);font-size:11px;cursor:pointer}
.kz-step__b--10{width:34px}
.kz-step__b--6{width:40px}
.kz-step__b:hover{background:var(--panel-3)}
.kz-step__b[hidden]{display:none}
.kz-step__v ~ .kz-step__b{border-right:0;border-left:1px solid var(--line-2)}
.kz-step__v{display:grid;place-items:center;width:3.4em;min-width:42px;height:auto;padding:0;border:0;border-radius:0;background:transparent;color:var(--text);font-family:var(--mono);font-size:14px;font-weight:600;text-align:center;-moz-appearance:textfield;appearance:textfield}
.kz-step__v::-webkit-inner-spin-button,.kz-step__v::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.kz-step--lg{display:flex;height:34px;background:var(--panel-2)}
.kz-step--lg .kz-step__b{width:34px;background:transparent}
.kz-step--lg .kz-step__v{flex:1 1 auto;font-size:16px}

/* 7.14 bars: progress, segmented, ticks, pips */
.kz-bar{--h:4px;display:block;min-width:2rem;height:var(--h);overflow:hidden;border-radius:2px;background:var(--line)}
.kz-bar--3{--h:3px}
.kz-bar--6{--h:6px;border-radius:1px;background:var(--panel-3)}
.kz-bar__fill{--tm:var(--c3);display:block;width:var(--w,0%);height:100%;border-radius:1px;background:var(--tm)}
.kz-barcell{display:flex;align-items:center;gap:6px;min-width:0}
.kz-barcell > .kz-bar{flex:1 1 auto}
.kz-barcell__v{font-family:var(--mono);font-size:11.5px;color:var(--text-2);white-space:nowrap}
.kz-segbar{position:relative}
.kz-segbar__track{display:flex;gap:2px;height:10px;overflow:hidden;border-radius:2px;background:var(--panel-3)}
.kz-segbar--8 .kz-segbar__track{height:8px;gap:1px}
.kz-segbar--14 .kz-segbar__track{height:14px;gap:1px}
.kz-segbar--g1 .kz-segbar__track{gap:1px}
.kz-segbar--sq .kz-segbar__track{border-radius:1px}
.kz-seg{display:block;flex:0 1 var(--w,0%);min-width:0;height:100%}
.kz-tick{position:absolute;top:-3px;bottom:-3px;left:var(--w,0%);width:2px;background:var(--text)}
.kz-pips{display:flex;flex-wrap:wrap;align-items:center;gap:5px;min-height:12px}

/* 7.15 KPI tile and strip: at most four tiles, one hero */
.kz-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.kz-kpi{display:flex;flex-direction:column;gap:6px;min-width:0;padding:10px 12px;background:var(--panel);border:1px solid var(--line);border-radius:var(--r3)}
.kz-kpi.t-late{border-color:var(--late)}
.kz-kpi__label{font-size:12px;font-weight:500;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-kpi__row{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}
.kz-kpi__value{--ti:var(--text);font-family:var(--mono);font-size:24px;font-weight:500;line-height:1;letter-spacing:-0.02em;color:var(--ti)}
.kz-kpi__value--lg{font-size:32px}
.kz-kpi__value--sm{font-size:20px;line-height:1.1}
.kz-kpi__unit{font-size:12px;color:var(--text-3)}
.kz-kpi__delta{--ti:var(--text-3);margin-left:auto;font-size:11.5px;color:var(--ti)}
.kz-kpi__note{--ti:var(--text-3);font-size:11.5px;color:var(--ti);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-kpi__sub{font-size:11.5px;line-height:1.35;color:var(--text-3)}
.kz-spark{display:block;width:100%;height:26px;overflow:visible}

/* 7.16 mini stats, inline stats, money tiles */
.kz-mini{min-width:0;padding:6px 8px;border-radius:var(--r2);background:var(--panel-2)}
.kz-mini--boxed{background:var(--panel);border:1px solid var(--line)}
.kz-mini--bare{padding:0;background:none}
.kz-mini__v{--ti:var(--text);font-family:var(--mono);font-size:15px;font-weight:500;color:var(--ti);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-mini__v--13{font-size:13px}.kz-mini__v--17{font-size:17px}
.kz-mini__k{font-size:11px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-istats{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;font-size:12px;color:var(--text-2)}
.kz-istat{display:inline-flex;gap:4px}
.kz-istat__v{--ti:var(--text);font-family:var(--mono);color:var(--ti)}
.kz-istat__v--b{font-weight:600}
.kz-tile{min-width:0;padding:8px 10px;background:var(--panel-2);border:1px solid var(--line);border-radius:var(--r2)}
.kz-tile__k{font-size:11.5px;font-weight:500;color:var(--text-2)}
.kz-tile__v{--ti:var(--text);margin:2px 0;font-family:var(--mono);font-size:16px;font-weight:600;color:var(--ti)}
.kz-tile__sub{font-size:11px;line-height:1.35;color:var(--text-3)}

/* 7.17 legends and swatches: every chart and coloured bar has one */
.kz-legend{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:11.5px;color:var(--text-2)}
.kz-legend--wide{gap:4px 14px}
.kz-legend__i{display:inline-flex;align-items:center;gap:5px}
.kz-legend--wide .kz-legend__i{gap:6px}
.kz-legend__title{font-weight:600;color:var(--text-2)}
.kz-legend__v{font-family:var(--mono);color:var(--text)}
.kz-sw{display:inline-block;flex:none;width:10px;height:10px;border-radius:2px}
.kz-sw--bar{width:12px;height:8px}
.kz-sw--map{width:14px;height:10px}
.kz-sw--door{width:14px;height:8px}
.kz-sw--line{width:12px;height:2px;border-radius:0}
.kz-sw--dash{width:12px;height:0;border-radius:0;border-top:1.5px dashed var(--text-2);background:none}
.kz-sw--tick{width:2px;height:12px;border-radius:0;background:var(--text)}
.kz-sw--faded{opacity:.45}
.kz-sw--window{background:transparent;border:1px dashed var(--text-3)}
.kz-sw--next{background:var(--panel-3);border:1px solid var(--line-2)}
.kz-sw--disc{width:6px;height:6px;border-radius:1px;background:var(--late)}
.kz-sw--due{width:8px;height:8px;border-radius:50%;background:transparent;border:1.5px solid var(--info)}

/* 7.18 tables: real <table>s, fixed layout, sticky Condensed head, mono numbers */
.kz-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:12.5px}
.kz-table th,.kz-table td{box-sizing:content-box;padding:var(--row) 5px;border-bottom:1px solid var(--line);font-weight:400;text-align:left;vertical-align:middle;overflow:hidden;text-overflow:ellipsis}
.kz-table th:first-child,.kz-table td:first-child{padding-left:12px}
.kz-table th:last-child,.kz-table td:last-child{padding-right:12px}
.kz-table thead th{position:sticky;top:0;z-index:1;padding-top:7px;padding-bottom:7px;background:var(--panel-2);color:var(--text-3);font-family:var(--cond);font-size:10.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
.kz-table thead th.num{font-family:var(--cond)}
.kz-table tbody tr:hover{background:var(--panel-2)}
.kz-table tbody tr.is-late,.kz-table tbody tr.is-late:hover{background:var(--late-wash)}
.kz-table tbody tr.is-new,.kz-table tbody tr.is-new:hover{background:var(--info-wash)}
.kz-table .num{font-family:var(--mono);text-align:right;white-space:nowrap}
.kz-table .ctr{text-align:center}
.kz-table .t2{color:var(--text-2)}
.kz-table .t3{color:var(--text-3)}
.kz-table .nowrap{white-space:nowrap}
/* a total row, its head cell (th scope="row") included */
.kz-table tfoot td,.kz-table tfoot th,.kz-table tr.is-total td,.kz-table tr.is-total th{padding-top:7px;padding-bottom:7px;border-bottom:0;background:var(--panel-2);font-weight:600}
.kz-table tfoot th,.kz-table tr.is-total th{color:var(--text)}
/* added: a table whose column heads may take two lines, number columns' included, so narrow columns keep their words */
.kz-table.kz-table--thwrap thead th{white-space:normal;vertical-align:bottom}
.kz-table--flush th:first-child,.kz-table--flush td:first-child{padding-left:0}
.kz-table--flush th:last-child,.kz-table--flush td:last-child{padding-right:0}
.kz-table--flush thead th{background:transparent}
.kz-table--g4 th,.kz-table--g4 td{padding-left:2px;padding-right:2px}
.kz-table--g8 th,.kz-table--g8 td{padding-left:4px;padding-right:4px}
.kz-table--g4 th:first-child,.kz-table--g4 td:first-child,.kz-table--g8 th:first-child,.kz-table--g8 td:first-child{padding-left:12px}
.kz-table--g4 th:last-child,.kz-table--g4 td:last-child,.kz-table--g8 th:last-child,.kz-table--g8 td:last-child{padding-right:12px}
.kz-table--pad14 th:first-child,.kz-table--pad14 td:first-child{padding-left:14px}
.kz-table--pad14 th:last-child,.kz-table--pad14 td:last-child{padding-right:14px}
/* added: a table on its own, outside a panel, carries the panel's box (auto layout) */
.kz-table--boxed{table-layout:auto;background:var(--panel);border:1px solid var(--line);border-radius:var(--r3)}
.kz-table--boxed thead th:first-child{border-top-left-radius:var(--r3)}
.kz-table--boxed thead th:last-child{border-top-right-radius:var(--r3)}
.kz-table--boxed tbody tr:last-child > *{border-bottom:0}
.kz-cell2{display:flex;flex-direction:column;min-width:0}
.kz-cell2__a{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-cell2__b{min-width:0;font-size:11px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-th2{display:flex;flex-direction:column;align-items:center}
.kz-th2__sub{font-family:var(--mono);font-weight:400;letter-spacing:0;text-transform:none}
.kz-tlegend{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;padding:8px 12px;background:var(--panel-2);font-size:11.5px;color:var(--text-2)}
.kz-tlegend--quiet{gap:6px 14px;color:var(--text-3)}
.kz-dayrow{padding:6px 12px;border-bottom:1px solid var(--line);background:var(--panel-2);color:var(--text-3);font-family:var(--cond);font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.kz-table tbody th{position:static;background:transparent;color:inherit;font-family:inherit;font-size:inherit;font-weight:400;letter-spacing:0;text-transform:none}
.kz-kind{font-family:var(--cond);font-size:10.5px;font-weight:600;letter-spacing:.06em;color:var(--text-3)}
.kz-tval{--ti:var(--text);font-family:var(--mono);font-size:12.5px;font-weight:500;color:var(--ti);white-space:nowrap}

/* 7.19 row lists */
.kz-list{margin:0;padding:0;list-style:none}
.kz-list > li{padding:9px 12px;border-bottom:1px solid var(--line)}
.kz-list > li:last-child{border-bottom:0}
.kz-list--10 > li{padding:10px 12px}
.kz-list--8 > li{padding:8px 12px}
.kz-list--cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.kz-list--cols > li:last-child{border-bottom:1px solid var(--line)}
.kz-li{display:flex;flex-direction:column;gap:4px;min-width:0}
.kz-li--g5{gap:5px}.kz-li--g6{gap:6px}
.kz-li__head{display:flex;align-items:center;gap:8px;min-width:0}
.kz-li__title{min-width:0;font-size:12.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-li__title--b{font-weight:600}
.kz-li__aside{margin-left:auto;font-size:11.5px;color:var(--text-3);white-space:nowrap}
.kz-li__fig{--ti:var(--text);margin-left:auto;font-family:var(--mono);font-size:12.5px;font-weight:600;color:var(--ti);white-space:nowrap}
.kz-li__text{font-size:11.5px;line-height:1.4;color:var(--text-2)}
.kz-li__meta{font-size:11px;color:var(--text-3)}
.kz-li__acts{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.kz-li--split{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:start}
.kz-li--lead{display:grid;grid-template-columns:3.6rem minmax(0,1fr) auto;gap:4px 10px;align-items:start}
.kz-li__right{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.kz-facts-inline{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:11.5px;color:var(--text-2)}
.kz-facts-inline > span{display:inline-flex;gap:4px}
.kz-facts-inline b{font-weight:400;color:var(--text)}
.kz-rowlink{display:grid;grid-template-columns:3.2rem minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:8px 12px;color:var(--text);text-align:left;text-decoration:none}
.kz-rowlink:hover{background:var(--panel-2);color:var(--text);text-decoration:none}
.kz-rowlink[aria-current]{background:var(--panel-3);box-shadow:inset 0 0 0 2px var(--focus)}

/* 7.20 event cards: rail items and "next 20 minutes" tiles */
.kz-event{--tm:var(--line);--ti:var(--text-2);min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel)}
.kz-event.t-late{border-color:var(--late)}
.kz-event--due{display:flex;flex-direction:column;gap:3px;padding:8px 10px;background:var(--panel-2)}
.kz-event--due.t-risk{border-color:var(--risk)}
.kz-event--done{opacity:.8}
.kz-event__top{display:flex;align-items:center;gap:6px;min-width:0}
.kz-event__tag{min-width:0;font-size:11.5px;font-weight:600;color:var(--ti);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-event__timer{--ti:var(--text-2);margin-left:auto;font-family:var(--mono);font-size:11.5px;font-weight:500;color:var(--ti);white-space:nowrap}
.kz-event__title{margin-top:5px;font-size:12.5px;font-weight:600;color:var(--text)}
.kz-event__text{margin-top:2px;font-size:12px;line-height:1.4;color:var(--text-2)}
.kz-event__meta{margin-top:4px;font-size:11.5px;line-height:1.4;color:var(--text-3)}
.kz-event__acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.kz-event--due .kz-event__title,.kz-event--due .kz-event__text,.kz-event--due .kz-event__meta{margin-top:0}
.kz-event--due .kz-event__text{font-size:11.5px}
.kz-event--due .kz-event__tag{white-space:normal}
.kz-event--due .kz-event__acts{margin-top:3px}

/* 7.21 key-value rows, statements, facts */
.kz-kv{overflow:hidden;border:1px solid var(--line);border-radius:var(--r2)}
.kz-kv__r{display:flex;align-items:baseline;gap:12px;padding:5px 10px;border-bottom:1px solid var(--line);font-size:12px}
.kz-kv__r:last-child{border-bottom:0}
.kz-kv--lg .kz-kv__r{padding:6px 10px;font-size:12.5px}
.kz-kv__k{flex:1 1 auto;color:var(--text-2)}
.kz-kv__v{--ti:var(--text);font-family:var(--mono);color:var(--ti);white-space:nowrap}
.kz-kv__v--2{--ti:var(--text-2)}
.kz-kv__r--sum{padding-top:7px;padding-bottom:7px;background:var(--panel-2);font-size:13px;font-weight:600}
.kz-kv__r--net{padding-top:7px;padding-bottom:7px;font-size:13px;font-weight:600}
.kz-kv__r--sum .kz-kv__k,.kz-kv__r--net .kz-kv__k{color:var(--text)}
.kz-stmt{display:flex;flex-direction:column}
.kz-stmt__r{display:flex;align-items:baseline;gap:12px;padding:6px 0;border-top:1px solid var(--line)}
.kz-stmt__k{flex:1 1 auto;font-size:12.5px;color:var(--text-2)}
.kz-stmt__v{--ti:var(--text);font-family:var(--mono);font-size:12.5px;color:var(--ti)}
.kz-stmt__r--sum,.kz-stmt__r--net{border-top-color:var(--line-2)}
.kz-stmt__r--sum .kz-stmt__k,.kz-stmt__r--net .kz-stmt__k{font-weight:600;color:var(--text)}
.kz-stmt__r--sum .kz-stmt__v{font-size:13px;font-weight:600}
.kz-stmt__r--net .kz-stmt__v{font-size:14px;font-weight:600}
.kz-facts{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:1px;margin:0;overflow:hidden;background:var(--line);border:1px solid var(--line);border-radius:var(--r2)}
.kz-facts > div{min-width:0;padding:7px 9px;background:var(--panel-2)}
.kz-facts dt{font-size:11.5px;color:var(--text-3)}
.kz-facts dd{margin:2px 0 0;font-size:12.5px}
.kz-dl{display:grid;grid-template-columns:8rem minmax(0,1fr);gap:4px 12px;margin:0;font-size:12.5px}
/* added: keys too long for 8rem */
.kz-dl--wide{grid-template-columns:minmax(8rem,14rem) minmax(0,1fr)}
.kz-dl dt{color:var(--text-3)}
.kz-dl dd{margin:0}
/* a value's colour without weight, so a tone or ink on the <dd> itself wins: <dd class="kz-ink t-late"> */
:where(.kz-facts dd,.kz-dl dd){color:var(--text)}

/* 7.22 timeline: oldest first; pending events dashed and italic */
.kz-tl{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.kz-tl__i{display:grid;grid-template-columns:4.6rem 14px minmax(0,1fr);gap:8px;align-items:start}
.kz-tl__at{padding-top:1px;font-family:var(--mono);font-size:11.5px;color:var(--text-2);text-align:right}
.kz-tl__rail{position:relative;display:flex;justify-content:center;align-self:stretch}
.kz-tl__rail::before{content:"";position:absolute;top:0;bottom:0;left:6.5px;width:1px;background:var(--line-2)}
.kz-tl__i:first-child .kz-tl__rail::before{top:8px}
.kz-tl__i:last-child .kz-tl__rail::before{bottom:auto;height:8px}
.kz-tl__i:only-child .kz-tl__rail::before{display:none}
.kz-tl__rail > .kz-mark{position:relative;z-index:1;margin-top:4px}
.kz-tl__rail > .kz-mark:not([class*="t-"]){background:var(--text-2)}
.kz-tl__i.is-pending .kz-tl__rail > .kz-mark{background:var(--panel);border:1.5px dashed var(--text-3);border-radius:50%;transform:none}
.kz-tl__body{padding-bottom:10px}
.kz-tl__text{--ti:var(--text);display:block;font-size:12.5px;color:var(--ti)}
.kz-tl__i.is-pending .kz-tl__text{color:var(--text-2);font-style:italic}
.kz-tl__who{display:block;font-size:11.5px;color:var(--text-3)}

/* 7.23 notices, banners, confirmations, hint boxes */
.kz-notice{--tm:var(--line);--ti:var(--text-2);--tw:transparent;display:flex;align-items:flex-start;gap:10px;margin:0;padding:10px 12px;border:1px solid var(--tm);border-radius:var(--r2);background:var(--tw);color:var(--text);font-size:12.5px;line-height:1.45}
.kz-notice > .kz-i{flex:none;width:16px;height:16px;margin-top:1px;color:var(--ti)}
.kz-notice--sm{padding:8px 10px;font-size:12px}
.kz-notice__act{margin-left:auto;align-self:center}
.kz-hintbox{padding:6px 8px;border:1px dashed var(--line-2);border-radius:var(--r2);font-size:12px;color:var(--text-2)}
.kz-hintbox--row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px}
.kz-hintbox--row > span:first-child{flex:1 1 14rem}
.kz-confirm{display:flex;flex-direction:column;gap:8px;padding:8px 10px;border:1px solid var(--risk);border-radius:var(--r2);background:var(--risk-wash)}
.kz-confirm__text{font-size:12px;line-height:1.4;color:var(--text)}
.kz-confirm__acts{display:flex;gap:6px}

/* 7.24 empty states: one quiet sentence in place of the content */
.kz-empty{margin:0;padding:10px 12px;font-size:12.5px;color:var(--text-3)}
.kz-empty--cell{padding:6px 4px;font-size:11.5px}

/* 7.25 disclosure */
.kz-more > summary{list-style:none}
.kz-more > summary::-webkit-details-marker{display:none}
.kz-more[open] > summary{margin-bottom:5px}
.kz-more .when-open{display:none}
.kz-more[open] .when-open{display:inline}
.kz-more[open] .when-closed{display:none}
.kz-more__body{display:flex;flex-direction:column;gap:5px}

/* 7.26 drawer: server-rendered (?open=), over an inert page */
.kz-scrim{position:fixed;inset:0;z-index:20;background:var(--scrim)}
.kz-drawer{position:fixed;top:0;right:0;bottom:0;z-index:21;display:flex;flex-direction:column;width:var(--drawer-w);max-width:100%;overflow:auto;overscroll-behavior:contain;background:var(--panel);border-left:1px solid var(--line-2);box-shadow:var(--shadow)}
.kz-drawer__head{display:flex;flex-direction:column;gap:10px;padding:14px 18px 0;border-bottom:1px solid var(--line)}
.kz-drawer__tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.kz-drawer__nav{display:inline-flex;align-items:center;gap:4px;margin-left:auto}
.kz-drawer__title{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px}
.kz-drawer__id{margin:0;font-family:var(--mono);font-size:21px;font-weight:600;letter-spacing:-0.01em}
.kz-drawer__id:focus{outline:none}
.kz-drawer__headline{font-size:12.5px;color:var(--text-2)}
.kz-drawer__acts{display:flex;flex-wrap:wrap;gap:8px}
.kz-drawer__problem{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:8px;border:1px dashed var(--line-2);border-radius:var(--r2)}
.kz-drawer__problem > span{margin-right:4px;font-size:12px;color:var(--text-2)}
.kz-drawer__body{display:flex;flex-direction:column;gap:18px;padding:14px 18px 28px}
.kz-drawer__sechead{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin:0 0 8px}
.kz-drawer__sechead > h3{margin:0}
.kz-drawer__body section > h3{margin:0 0 8px}
.kz-dlbox{--tm:var(--line);--ti:var(--text);display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:1px solid var(--tm);border-radius:var(--r2);background:var(--panel-2)}
.kz-dlbox__label{font-size:12px;font-weight:500;color:var(--text-2)}
.kz-dlbox__row{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}
.kz-dlbox__timer{font-family:var(--mono);font-size:20px;font-weight:500;letter-spacing:-0.01em;color:var(--ti)}
.kz-dlbox__at{font-size:12px;color:var(--text-2)}
.kz-dlbox__sub{font-size:11.5px;line-height:1.35;color:var(--text-3)}
.kz-lots{margin:0;padding:0;list-style:none;overflow-x:auto;border:1px solid var(--line);border-radius:var(--r2)}
.kz-lots > li{min-width:34rem;border-bottom:1px solid var(--line)}
.kz-lots > li:last-child{border-bottom:0}
.kz-lots__head{display:flex;align-items:center;gap:8px;padding:7px 10px;background:var(--panel-2)}
.kz-lots__qty{min-width:2.2rem;font-family:var(--mono);font-size:12px;font-weight:600}
.kz-lots__name{display:flex;flex:1 1 auto;flex-direction:column;min-width:0}
.kz-lots__name > span:first-child{font-size:12.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-lots__name > span:last-child{font-size:11px;color:var(--text-3)}
.kz-lots__lots{margin:0;padding:0}
.kz-lot{display:grid;grid-template-columns:7.2rem 5.2rem minmax(0,1fr) 4.8rem 1.8rem 6.8rem;gap:8px;align-items:center;margin:0;padding:5px 10px 5px 48px;border-top:1px solid var(--line);font-size:11.5px;list-style:none}
.kz-lot__code{font-family:var(--mono);color:var(--text)}
.kz-lot.is-skipped .kz-lot__code{color:var(--text-3);text-decoration:line-through}
.kz-lot__bb{color:var(--text-2)}
.kz-lot__life{--ti:var(--text-2);color:var(--ti)}
.kz-lot__loc{font-family:var(--mono);color:var(--text)}
.kz-lot__qty{font-family:var(--mono);color:var(--text);text-align:right}
.kz-lot__state{--ti:var(--text-2);color:var(--ti);text-align:right;white-space:nowrap}
.kz-routebox{overflow-x:auto;padding:8px;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel-2)}
.kz-routelist{display:grid;gap:4px;margin:8px 0 0;padding:0;list-style:none}
.kz-routelist > li{display:grid;grid-template-columns:1.4rem 5.6rem minmax(0,1fr) auto;gap:8px;align-items:center;font-size:12px}
.kz-routelist__what{color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-routelist__state{--ti:var(--text-2);font-size:11.5px;color:var(--ti);text-align:right;white-space:nowrap}
.kz-track{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:9px 10px;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel-2);font-size:12.5px}
.kz-track__no{font-family:var(--mono);font-weight:600}
.kz-track__eta{margin-left:auto;font-size:11.5px;color:var(--text-3)}

/* 7.27 board (status x temperature) and shipment cards */
.kz-board{min-width:56rem}
.kz-board__row{display:grid;grid-template-columns:5.4rem repeat(5,minmax(0,1fr));border-bottom:1px solid var(--line)}
.kz-board__row--head{background:var(--panel-2)}
.kz-board__corner{align-self:center;padding:8px 10px;color:var(--text-3);font-family:var(--cond);font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.kz-board__col{min-width:0;padding:8px 10px;border-left:1px solid var(--line)}
.kz-board__colhead{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px}
.kz-board__colname{font-size:12.5px;font-weight:600;white-space:nowrap}
.kz-board__colnum{font-family:var(--mono);font-size:12px;color:var(--text-2)}
.kz-board__hint{margin-top:1px;font-size:11px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-board__lane{display:flex;flex-direction:column;gap:6px;padding:10px;background:var(--panel-2)}
.kz-board__lanenum{font-family:var(--mono);font-size:20px;font-weight:500;line-height:1}
.kz-board__lanesub{font-size:11px;line-height:1.35;color:var(--text-3)}
.kz-board__cell{display:flex;flex-direction:column;gap:5px;min-width:0;padding:6px;border-left:1px solid var(--line)}
.kz-ship{--tm:var(--line);--ti:var(--text);display:flex;flex-direction:column;gap:3px;width:100%;padding:6px 8px;border:1px solid var(--tm);border-radius:var(--r2);background:var(--panel-2);color:var(--text);font-family:var(--font);text-align:left;text-decoration:none}
.kz-ship.t-late{background:var(--late-wash)}
.kz-ship.is-out{--ti:var(--text-2);background:transparent}
.kz-ship:hover{border-color:var(--line-2);background:var(--panel-3);color:var(--text);text-decoration:none}
.kz-ship[aria-current]{box-shadow:0 0 0 2px var(--focus)}
.kz-ship__l1{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;min-width:0}
.kz-ship__id{font-family:var(--mono);font-size:12px;font-weight:600;color:var(--text);white-space:nowrap}
.kz-ship__timer{margin-left:auto;font-family:var(--mono);font-size:11.5px;font-weight:600;color:var(--ti);white-space:nowrap}
.kz-ship__l2{display:flex;align-items:center;gap:6px;min-width:0;font-size:11.5px;color:var(--text-2)}
.kz-ship__dest{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-ship__size{font-family:var(--mono);font-size:11px;color:var(--text-3);white-space:nowrap}
.kz-ship__l3{display:flex;align-items:center;gap:6px;min-width:0;font-size:11px;color:var(--text-3)}
.kz-ship__key{display:inline-flex;gap:4px;white-space:nowrap}
.kz-ship__kind{font-family:var(--cond);font-weight:600;letter-spacing:.06em}
.kz-ship__at{font-family:var(--mono);color:var(--text-2)}
.kz-ship__via{min-width:0;margin-left:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-ship__flag{margin-left:auto}

/* 7.28 zone map and location detail */
.kz-zmap{display:grid;grid-template-columns:2.6rem repeat(var(--cols,12),minmax(1.9rem,1fr));gap:3px;min-width:22rem}
.kz-zmap--wide{min-width:30rem}
.kz-zmap--areas{grid-template-columns:2.6rem repeat(var(--cols,5),minmax(4.4rem,1fr))}
.kz-zmap__bay{font-family:var(--mono);font-size:10px;color:var(--text-3);text-align:center;white-space:nowrap}
.kz-zmap__row{align-self:center;font-family:var(--mono);font-size:10.5px;color:var(--text-2)}
.kz-cell{position:relative;display:grid;place-items:center;height:26px;min-width:0;padding:0;border-radius:var(--r1);color:var(--on-inv);font-family:var(--mono);font-size:10px;font-weight:600;text-decoration:none}
.kz-cell--tall{height:44px}
.kz-cell.st-held{color:var(--late-ink)}
.kz-cell.st-soon{color:var(--risk-ink)}
.kz-cell.st-ret{color:var(--info-ink)}
.kz-cell.st-empty{color:var(--text-3)}
.kz-cell:hover{outline:2px solid var(--text-2);outline-offset:-1px;text-decoration:none}
.kz-cell[aria-current]{box-shadow:0 0 0 2px var(--focus)}
.kz-cell.is-picked{outline:2px solid var(--text);outline-offset:-2px;color:var(--text)}
.kz-cell__disc{position:absolute;top:2px;right:2px;width:5px;height:5px;border-radius:1px;background:var(--late)}
.kz-cell__due{position:absolute;right:2px;bottom:2px;width:6px;height:6px;border:1.5px solid var(--info);border-radius:50%}
.kz-loc{display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px;background:var(--panel-2)}
.kz-loc__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}
.kz-loc__code{margin:0;font-family:var(--mono);font-size:18px;font-weight:600}
.kz-loc__where{font-size:12px;color:var(--text-2)}
.kz-loc__acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.kz-level{--tm:var(--line);padding:8px 10px;border:1px solid var(--tm);border-radius:var(--r2);background:var(--panel)}
.kz-level__head{display:flex;align-items:center;gap:8px}
.kz-level__lvl{font-size:11.5px;font-weight:600;color:var(--text-3)}
.kz-level__code{font-family:var(--mono);font-size:11.5px;color:var(--text-2)}
.kz-level__name{margin-top:3px;font-size:12.5px;font-weight:500}
.kz-level__prod{font-size:11.5px;color:var(--text-3)}
.kz-level__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;margin-top:6px;font-size:11.5px}
.kz-level__facts > span{display:flex;flex-direction:column}
.kz-level__k{color:var(--text-3)}
.kz-level__v{--ti:var(--text);font-family:var(--mono);color:var(--ti)}
.kz-countsheet{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--line-2);border-radius:var(--r2);background:var(--panel)}
.kz-countsheet__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding-top:6px;border-top:1px solid var(--line)}
.kz-countsheet__what{display:flex;flex-direction:column;min-width:0}

/* 7.29 picker view and numbered stops */
.kz-picklist{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}
.kz-pick{display:grid;grid-template-columns:2.2rem minmax(0,1fr) auto;gap:10px;align-items:center;min-height:56px;padding:8px 10px;border:1px solid var(--line-2);border-radius:var(--r2);background:var(--panel-2)}
.kz-pick.is-done{border-color:var(--line);background:transparent}
.kz-pick.t-late{border-color:var(--late)}
.kz-pick__main{display:flex;flex-direction:column;gap:2px;min-width:0}
.kz-pick__top{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}
.kz-pick__loc{font-family:var(--mono);font-size:17px;font-weight:600}
.kz-pick__qty{font-family:var(--mono);font-size:15px;font-weight:600}
.kz-pick__name{font-size:12.5px}
.kz-pick__sub{font-size:11.5px;color:var(--text-3)}
.kz-pick__right{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.kz-num{display:inline-grid;place-items:center;flex:none;width:18px;height:18px;border:1.5px solid var(--text-2);border-radius:50%;color:var(--text);font-family:var(--mono);font-size:10px;font-weight:600}
.kz-num--lg{width:28px;height:28px;font-size:13px}
.kz-num.is-done{border-color:var(--ok-ink);background:var(--ok-ink);color:var(--panel)}
.kz-num.t-late{border-color:var(--late);color:var(--late-ink)}
.kz-num--end{border:0;color:var(--text-2);font-size:12px}

/* 7.30 icons: inline SVG line drawings in the current colour (icons.go) */
.kz-i{display:inline-block;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}

/* 7.31 dialog: the shortcuts list only */
.kz-dialog{width:min(30rem,calc(100vw - 32px));padding:0;border:1px solid var(--line-2);border-radius:var(--r3);background:var(--panel);color:var(--text);box-shadow:var(--shadow)}
.kz-dialog::backdrop{background:var(--scrim)}
.kz-dialog__head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line)}
.kz-dialog__head form{margin:0}
.kz-dialog__body{padding:12px 14px}
.kz-dialog__foot{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:10px 14px;border-top:1px solid var(--line)}

/* 7.32 forms: bare inputs are styled by the base; these lay forms out */
.kz-form{display:flex;flex-direction:column;gap:12px;max-width:36rem}
.kz-form--wide{max-width:none}
.kz-form > .kz-btn{align-self:flex-start}
.kz-form__row{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:12px}
.kz-form__acts{display:flex;flex-wrap:wrap;gap:6px}
.kz-field{display:flex;flex-direction:column;gap:4px;min-width:0}
.kz-label{font-size:12px;font-weight:500;color:var(--text-2)}
.kz-hint{font-size:11px;color:var(--text-3)}
.kz-err{font-size:11.5px;color:var(--late-ink)}
.kz-fieldset{display:flex;flex-direction:column;gap:10px;margin:0;padding:8px 12px 12px;border:1px solid var(--line);border-radius:var(--r2)}
.kz-fieldset > legend{padding:0 4px;font-size:12px;font-weight:600;color:var(--text-2)}
.kz-check{display:inline-flex;align-items:center;gap:8px;font-size:12.5px}

/* 7.33 page patterns: pieces one page each uses, kept here so pages need no CSS of their own */
.kz-mcard{--tm:var(--line);display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px;border:1px solid var(--tm);border-radius:var(--r2);background:var(--panel-2)}
.kz-mcard__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.kz-mcard__title{font-size:13px;font-weight:600}
.kz-mcard__sub{font-size:11.5px;color:var(--text-3)}
.kz-mcard__acts{display:flex;flex-wrap:wrap;gap:6px}
.kz-mlines{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.kz-mlines > li{display:grid;grid-template-columns:4.6rem 2.8rem minmax(0,1fr) auto;gap:6px;align-items:center;padding:4px 0;border-top:1px solid var(--line);font-size:11.5px}
.kz-mrows{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.kz-mrows > li{display:grid;grid-template-columns:3.1rem minmax(0,1fr) auto;gap:8px;align-items:center;padding:5px 0;border-top:1px solid var(--line)}
.kz-mrows--pay > li{grid-template-columns:5.4rem minmax(0,1fr) auto;font-size:12px}
.kz-lanes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border-top:1px solid var(--line)}
.kz-lanes > div{display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px 14px;background:var(--panel)}
.kz-lanes__head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.kz-lanes__tag{font-size:12.5px;font-weight:600}
.kz-lanes__fig{--ti:var(--text);margin-left:auto;font-family:var(--mono);font-size:13px;font-weight:600;color:var(--ti)}
.kz-lanes__text{font-size:12px;line-height:1.45;color:var(--text-2)}
.kz-lcell{--tw:var(--panel-2);--ti:var(--text);display:block;padding:3px 6px 4px;border-radius:var(--r1);background:var(--tw);text-align:center}
.kz-lcell.is-zero{background:transparent}
.kz-lcell.is-flag{box-shadow:inset 0 0 0 1.5px var(--late)}
.kz-lcell__n{font-family:var(--mono);font-size:12px;font-weight:500;color:var(--ti)}
.kz-lcell.is-zero .kz-lcell__n{font-weight:400;color:var(--text-3)}
.kz-lcell > .kz-bar{min-width:0;margin-top:3px}
.kz-fefo{display:grid;grid-template-columns:3.6rem minmax(0,1fr);gap:3px 8px;align-items:baseline;font-size:11.5px}
.kz-fefo__k{--ti:var(--text-2);font-family:var(--cond);font-weight:600;letter-spacing:.06em;color:var(--ti)}
.kz-fefo__k--then{--ti:var(--text-3)}
.kz-fefo__v{--ti:var(--text);font-family:var(--mono);color:var(--ti)}
.kz-fefo__v--then{--ti:var(--text-2)}
.kz-fefo__v--skip{font-family:var(--font)}
.kz-rcv{display:flex;flex-direction:column;gap:9px;margin:0;padding:0;list-style:none}
.kz-rcv > li{display:flex;flex-direction:column;gap:4px}
.kz-rcv__bar{display:grid;grid-template-columns:minmax(0,1fr) 5.2rem;gap:8px;align-items:center}
.kz-rcv__life{--ti:var(--text-2);font-size:11.5px;color:var(--ti)}
.kz-checks{display:grid;gap:4px;margin:0;padding:0;list-style:none}
.kz-checks > li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;font-size:12px}
.kz-cmark{display:inline-grid;place-items:center;width:16px;height:16px;margin-top:1px;border-radius:50%}
.kz-cmark > .kz-i{width:11px;height:11px;stroke-width:3}
.kz-cmark--ok{background:var(--ok);color:var(--panel)}
.kz-cmark--fail{border-radius:3px;background:var(--late);color:var(--panel)}
.kz-cmark--todo{border:1.5px dashed var(--text-3);color:transparent}
.kz-checks .is-fail{font-weight:600;color:var(--late-ink)}
.kz-checks .is-todo{color:var(--text-2)}
.kz-zstrip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border-bottom:1px solid var(--line)}
.kz-zstrip > div{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 12px;background:var(--panel-2)}
.kz-zstrip__n{font-family:var(--mono);font-size:16px;font-weight:500}
.kz-zone{--ti:var(--text);display:flex;flex-direction:column;gap:10px;min-width:0;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:var(--r3)}
.kz-zone.t-risk{border-color:var(--risk)}
.kz-zone__head{display:flex;align-items:center;gap:8px}
.kz-zone__range{font-size:11.5px;color:var(--text-3)}
.kz-zone__pct{margin-left:auto;font-family:var(--mono);font-size:13px;font-weight:600;color:var(--ti)}
.kz-zone__weeks{font-size:17px;font-weight:600;letter-spacing:-0.01em;color:var(--ti)}
.kz-zone__occ{display:grid;grid-template-columns:4.2rem minmax(0,1fr) 4.4rem;gap:6px 8px;align-items:center;font-size:11.5px;color:var(--text-2)}
.kz-zone__occ .num{color:var(--text)}
.kz-zone__note{font-size:11.5px;line-height:1.4;color:var(--text-2)}
.kz-rcblock{display:flex;flex-direction:column;gap:6px;min-width:0;padding:12px 14px;background:var(--panel)}
.kz-rcblock > h3{margin:0 0 2px}
.kz-rcrow{display:flex;align-items:baseline;gap:10px;font-size:12px}
.kz-rcrow > span:first-child{flex:1 1 auto;color:var(--text-2)}
.kz-rcrow > span:last-child{font-family:var(--mono);color:var(--text);white-space:nowrap}
.kz-big{--ti:var(--text);font-family:var(--mono);font-size:26px;font-weight:600;line-height:1.1;letter-spacing:-0.02em;color:var(--ti)}
.kz-big--28{font-size:28px}
.kz-big--32{display:block;font-size:32px}
.kz-mixrows{display:flex;flex-direction:column;gap:3px;margin-top:6px}
.kz-mixrow{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-2)}
.kz-mixrow > span:nth-child(2){flex:1 1 auto}
.kz-mixrow > span:last-child{font-family:var(--mono);color:var(--text)}
.kz-cover{--tm:var(--line);--ti:var(--text);display:flex;flex-direction:column;gap:4px;min-width:0;padding:7px 9px;border:1px solid var(--tm);border-radius:var(--r2);background:var(--panel-2)}
.kz-cover__top{display:flex;align-items:baseline;gap:6px}
.kz-cover__big{font-family:var(--mono);font-size:17px;font-weight:600;color:var(--ti)}
.kz-cover__unit{font-size:11px;color:var(--text-3)}
.kz-cover__top > .kz-pill{margin-left:auto}
.kz-cover__sub{font-size:11px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-plan__chart{padding:0 14px 4px}
.kz-plan__legend{padding:0 14px 10px}
.kz-hot{margin:0;padding:0;list-style:none}
.kz-hot > li{--ti:var(--text);display:grid;grid-template-columns:5.6rem minmax(0,1fr) 7rem;gap:10px;align-items:center;padding:8px 12px;border-bottom:1px solid var(--line)}
.kz-hot > li:last-child{border-bottom:0}
.kz-hot > li:hover{background:var(--panel-2)}
.kz-hot__a{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.kz-hot__id{font-family:var(--mono);font-size:12px;font-weight:600}
.kz-hot__b{display:flex;flex-direction:column;gap:2px;min-width:0}
.kz-hot__c{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.kz-hot__timer{font-family:var(--mono);font-size:13px;font-weight:600;color:var(--ti)}
.kz-hot__sub{font-size:11px;color:var(--text-3);white-space:nowrap}
.kz-simres__top{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 16px}
.kz-simres__per{font-family:var(--mono);font-size:12.5px;color:var(--text-2)}
.kz-simres__delta{--ti:var(--text-2);font-size:12px;color:var(--ti)}
.kz-totalrow{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px}
.kz-totalrow > .kz-legend{margin-left:auto}
.kz-li__code{margin-left:auto;font-family:var(--mono);font-size:11px;color:var(--text-3)}
/* search results (kz-results): a find's name wraps rather than end in an ellipsis, and its code keeps whole */
.kz-hits .kz-li__head{flex-wrap:wrap;row-gap:2px}
.kz-hits .kz-li__title{white-space:normal;overflow-wrap:anywhere}
.kz-hits .kz-li__code{white-space:nowrap}
.kz-rowlink__time{font-family:var(--mono);font-size:12px;color:var(--text-2)}
.kz-mrows__ref{min-width:0;font-family:var(--mono);font-size:11px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-mrows__amt{font-family:var(--mono);font-size:12.5px}
.kz-facts-inline .kz-ink{color:var(--ti)}
.kz-cell2__b.t-late,.kz-cell2__b.t-risk,.kz-cell2__b.t-ok{color:var(--ti)}
.kz-table--plain td{padding-top:2px;padding-bottom:2px;border-bottom:0}
.kz-table--plain thead th{padding-top:0;background:transparent}
.kz-table--plain tbody tr:hover{background:transparent}

/* Prose (spec 12.3): long text, the developer portal's documentation and
   help pages, raw markup included: its tables are boxed like a panel's.
   Last among the components; the parts' fragments come after, so a part's
   rule on prose markup wins at the same weight (75: the reference's
   operations). On a phone a table scrolls inside itself (95). */
.kz-prose{max-width:46rem;font-size:13px;line-height:1.6}
.kz-prose :where(h2){margin:24px 0 8px}
.kz-prose :where(h3){margin:18px 0 6px}
.kz-prose :where(p,ul,ol,pre,table){margin:0 0 10px}
.kz-prose :where(ul,ol){padding-left:1.25rem}
.kz-prose :where(code){padding:1px 4px;border-radius:var(--r1);background:var(--panel-3)}
.kz-prose :where(pre){padding:12px;overflow-x:auto;background:var(--panel-2);border:1px solid var(--line);border-radius:var(--r2);font-size:12px;line-height:1.5}
.kz-prose :where(pre code){padding:0;background:none}
.kz-prose :where(table){width:100%;border-collapse:separate;border-spacing:0;font-size:12.5px;line-height:1.45;background:var(--panel);border:1px solid var(--line);border-radius:var(--r2)}
.kz-prose :where(th,td){padding:6px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.kz-prose :where(thead th){background:var(--panel-2);color:var(--text-3);font-family:var(--cond);font-size:10.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}
.kz-prose :where(thead th:first-child){border-top-left-radius:var(--r2)}
.kz-prose :where(thead th:last-child){border-top-right-radius:var(--r2)}
.kz-prose :where(tbody tr:last-child > *){border-bottom:0}
.kz-prose :where(td.num,th.num){font-family:var(--mono);text-align:right;white-space:nowrap}
.kz-prose :where(caption){padding:0 0 6px;font-size:12px;color:var(--text-3);text-align:left}
/* 60-charts.css */
/* Charts in inline SVG (spec 8.1): geometry in attributes, worked out in Go
   and rounded to one decimal; colour and type in classes, never attributes.
   The text default uses :where() so f-* paint classes on <text> win. */
.kz-chart{display:block;width:100%;height:auto;overflow:visible}
:where(.kz-chart) text{font-family:var(--font);fill:var(--text-2)}
.sv-mono{font-family:var(--mono)}
.sv-cond{font-family:var(--cond);font-weight:600;letter-spacing:.06em}
.sv-cond8{font-family:var(--cond);font-weight:600;letter-spacing:.08em}
.sv-9{font-size:9.5px}.sv-10{font-size:10px}.sv-105{font-size:10.5px}.sv-11{font-size:11px}.sv-115{font-size:11.5px}.sv-12{font-size:12px}
.sv-b{font-weight:600}.sv-m{font-weight:500}
.sv-grid{stroke:var(--line);stroke-width:1}
.sv-now{stroke:var(--text);stroke-width:1.5}
.sv-cut{stroke:var(--risk);stroke-width:1.5;stroke-dasharray:4 3}
.sv-stage{stroke:var(--text-2);stroke-width:1;stroke-dasharray:2 2}
.sv-coll{stroke-width:2}
.sv-cap{stroke:var(--text-2);stroke-width:1;stroke-dasharray:3 3}
.sv-target{stroke:var(--text-2);stroke-width:1.5;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}
.sv-line{fill:none;stroke-width:1.8;vector-effect:non-scaling-stroke}
.sv-trend{fill:none;stroke-width:1.8}
.sv-proj{stroke-width:1;stroke-dasharray:3 2}
.sv-partial{fill-opacity:.55;stroke-width:1;stroke-dasharray:3 2}
.sv-planned{opacity:.45}
.sv-w15{stroke-width:1.5}
.sv-halo{paint-order:stroke;stroke:var(--panel);stroke-width:3px;stroke-linejoin:round}
.sv-win{fill:none;stroke:var(--line-2);stroke-width:1;stroke-dasharray:4 3}
.sv-win--on{fill:var(--panel-2);stroke-dasharray:none}
.sv-win--sel{fill:var(--panel-3);stroke:var(--focus);stroke-width:2;stroke-dasharray:none}
.sv-link{fill-opacity:.45}
.sv-link--st{fill-opacity:.4}
.sv-link--new{fill:var(--text-3);fill-opacity:.18}
.sv-rack{fill:var(--panel);stroke:var(--line);stroke-width:1}
.sv-rack--on{fill:var(--panel-3);stroke:var(--line-2)}
.sv-route{fill:none;stroke:var(--text);stroke-width:1.6;stroke-dasharray:4 3;stroke-linejoin:round;stroke-linecap:round}
.sv-end{fill:var(--panel-3);stroke:var(--line-2);stroke-width:1}
.sv-stop{stroke-width:1.5}
/* 70-p2-ops.css */
/* P2, fulfillment operations (Today and the order flow): this part's additions only. */
/* the day plan's legend: the cut-off's dashed line is risk-coloured, as in the chart */
.kz-sw.kz-ops-cutsw{border-top-color:var(--risk)}
/* the day plan's lane sentences: an odd last lane spans the row, rather than leave a blank cell */
.kz-lanes > div:last-child:nth-child(odd){grid-column:1/-1}
/* a shipment line without lots in the drawer: one sentence across the lot grid */
.kz-lot.kz-ops-lotnote{display:block;padding-left:48px;color:var(--text-3)}
/* the order pages: a line's head, its progress and a form under it */
.kz-ops-line{display:flex;flex-direction:column;gap:10px}
.kz-ops-line__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.kz-ops-line__head > h2{margin:0}
.kz-ops-pickform{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,7rem) auto;gap:8px 12px;align-items:end}
.kz-ops-pickform .kz-btn{height:30px}
.kz-ops-back{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:12.5px}
.kz-ops-address{font-style:normal;font-size:12.5px;line-height:1.5}
/* table cells holding people's words (reasons, notes) or what a shipment holds (a pack's name over its units): wrap, never clip */
.kz-table td.kz-ops-wrap{white-space:normal;overflow-wrap:anywhere}
.kz-table td.kz-ops-wrap .kz-cell2__a,.kz-table td.kz-ops-wrap .kz-cell2__b{white-space:normal;overflow:visible;text-overflow:clip}
/* a column head longer than its column at the table's minimum width: two lines, rather than cut */
.kz-table th.kz-ops-wrap{white-space:normal}
/* the drawer's delivery facts, three to a row: the last one fills its row */
@media (min-width:761px){
  .kz-ops-facts > div:last-child:nth-child(3n+1){grid-column:span 3}
  .kz-ops-facts > div:last-child:nth-child(3n+2){grid-column:span 2}
}
@media (max-width:760px){
  .kz-ops-today .kz-lanes{grid-template-columns:minmax(0,1fr)}
  .kz-ops-pickform{grid-template-columns:minmax(0,1fr)}
}
/* Goods in today and the manifest cards sit in the split's narrow columns:
   their mini stats' words wrap rather than end in an ellipsis */
.kz-ops-minis .kz-mini__k,.kz-ops-mstats .kz-mini__k{white-space:normal}
/* the day plan's head: its note, the dispatch planning link and the what-if switch on one row, wrapping */
.kz-ops-planhead{flex-wrap:wrap;row-gap:6px}
.kz-ops-planhead > form{display:inline-flex}
.kz-ops-whatif{margin:0 14px 10px}
/* the plan legend's swatches for what the chart draws beyond the spec's: expected releases, collections, staging */
.kz-sw.kz-ops-projsw{background:var(--info-wash);border:1px dashed var(--info)}
.kz-sw.kz-ops-collsw{width:3px;height:12px;border-radius:0;background:var(--text)}
.kz-sw.kz-ops-stagesw{border-top-style:dotted}
/* collections and manifests: a shipment's parcels on one line, its destination cut */
.kz-ops-cut{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kz-ops-mlines > summary{list-style:none}
.kz-ops-mlines > summary::-webkit-details-marker{display:none}
.kz-ops-mlines[open]{flex-basis:100%}
.kz-ops-mlines .kz-mlines{margin-top:6px}
/* the waves panel: cards in a grid, without a list's bullets */
.kz-ops-waves{margin:0;padding:10px 14px 14px;list-style:none}
/* the drawer's "Report a problem" */
.kz-ops-problem .kz-chips{flex-wrap:wrap}
/* bulk acknowledgement results and a wave's short lines: a column wide enough
   for the shipment's reference, the panel's padding, the words wrap */
.kz-ops-bulk > li,.kz-ops-short > li{grid-template-columns:5.6rem minmax(0,1fr) auto;padding:6px 14px}
/* the dispatch planning page's add forms, under their table; its fieldsets
   no wider than the page (a fieldset is as wide as its widest table
   otherwise), their tables' hidden labels scrolling with the table */
.kz-ops-addform{padding:12px 14px 14px;border-top:1px solid var(--line)}
.kz-ops-fieldset{min-width:0}
.kz-ops-fieldset .kz-scrollx{position:relative}
/* printed pick lists and labels: each on its own page; screen-only notes stay off paper */
.kz-ops-tick{display:none}
.kz-ops-labels{display:flex;flex-wrap:wrap;gap:16px}
.kz-ops-label{margin:0;display:flex;flex-direction:column;gap:6px;min-width:0;max-width:100%}
.kz-ops-label > img{display:block;max-width:100%;height:auto;background:#fff;border:1px solid var(--line)}
/* the release window bar on a phone: the bar alone, its labels in a line under it, so nothing scrolls sideways */
.kz-ops-relbar__words{display:none;margin:4px 0 0}
@media (max-width:520px){
  .kz-ops-relbar{overflow:visible}
  .kz-ops-relbar > .kz-chart{min-width:0}
  .kz-ops-relbar > .kz-chart text{display:none}
  .kz-ops-relbar__words{display:block}
}
@media print{
  .kz-ops-noprint{display:none}
  .kz-ops-sheet{break-after:page;border:0}
  .kz-ops-sheet:last-child{break-after:auto}
  .kz-ops-tick{display:inline-block;width:14px;height:14px;border:1.5px solid #000;border-radius:2px}
  .kz-ops-label{break-after:page;max-width:none}
  .kz-ops-label > img{width:100mm;max-width:none;height:150mm;border:0}
}
/* 71-p3-stock.css */
/* P3, fulfillment stock and site set-up: this part's additions only (the
   stock, counts, locations, sites and connectors pages, the stock floor's
   tasks and labels, and the scan component). Everything else comes from
   the shared components; classes here start with stk-. */

/* a row of links to the pages around this one */
.stk-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;font-size:12.5px}

/* compact selects in a control row: the site picker, a connector's system */
.stk-picker select,.stk-kindform select{width:auto;min-width:10rem;max-width:100%}
.stk-cycle input[type="number"]{width:5.5rem}

/* the Stock and expiry map: the grid of bays is the shared kz-zmap (its
   columns past kz-cols-16 below); locations off the floor plan are tiles in
   code order, a state swatch over the code; a big site's tiles scroll
   inside their panel */
.stk-maphead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.stk-mapbox{max-height:26rem;overflow:auto;padding:2px}
.stk-map{display:grid;grid-template-columns:repeat(auto-fill,minmax(4.4rem,1fr));gap:4px}
.stk-tile{display:flex;flex-direction:column;gap:3px;min-width:0;padding:3px;border-radius:var(--r2);color:var(--text-2);text-decoration:none}
.stk-tile:hover{background:var(--panel-3);color:var(--text);text-decoration:none}
.stk-tile[aria-current]{background:var(--panel-3);box-shadow:inset 0 0 0 2px var(--focus);color:var(--text)}
.stk-tile.is-picked{box-shadow:inset 0 0 0 2px var(--text);color:var(--text)}
.stk-tile > .kz-cell{height:24px}
.stk-tile > .kz-cell:hover{outline:0}
.stk-tile__code{font-family:var(--mono);font-size:10.5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stk-level__acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:4px;margin-left:auto}
.stk-cols-17{--cols:17}.stk-cols-18{--cols:18}.stk-cols-19{--cols:19}.stk-cols-20{--cols:20}.stk-cols-21{--cols:21}.stk-cols-22{--cols:22}
.stk-cols-23{--cols:23}.stk-cols-24{--cols:24}.stk-cols-25{--cols:25}.stk-cols-26{--cols:26}.stk-cols-27{--cols:27}.stk-cols-28{--cols:28}
.stk-cols-29{--cols:29}.stk-cols-30{--cols:30}.stk-cols-31{--cols:31}.stk-cols-32{--cols:32}.stk-cols-33{--cols:33}.stk-cols-34{--cols:34}
.stk-cols-35{--cols:35}.stk-cols-36{--cols:36}.stk-cols-37{--cols:37}.stk-cols-38{--cols:38}.stk-cols-39{--cols:39}.stk-cols-40{--cols:40}
.stk-cols-41{--cols:41}.stk-cols-42{--cols:42}.stk-cols-43{--cols:43}.stk-cols-44{--cols:44}.stk-cols-45{--cols:45}.stk-cols-46{--cols:46}
.stk-cols-47{--cols:47}.stk-cols-48{--cols:48}.stk-cols-49{--cols:49}.stk-cols-50{--cols:50}.stk-cols-51{--cols:51}.stk-cols-52{--cols:52}
.stk-cols-53{--cols:53}.stk-cols-54{--cols:54}.stk-cols-55{--cols:55}.stk-cols-56{--cols:56}.stk-cols-57{--cols:57}.stk-cols-58{--cols:58}
.stk-cols-59{--cols:59}.stk-cols-60{--cols:60}

/* table cells holding sentences or several pills wrap */
.kz-table .stk-wrap,.kz-table .stk-pills{white-space:normal;overflow-wrap:anywhere}
.kz-table .stk-pills{line-height:1.9}

/* a count difference: where it stands, the note, the next step */
.stk-review{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.stk-review__note{display:block;margin-top:3px;font-size:11.5px;color:var(--text-3)}
.stk-review__acts{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}

/* facts in two columns on a phone */
@media (max-width:760px){.stk-facts{--cols:2}}

/* a listing label to check stock against, and its check item by item */
.stk-label{display:flex;flex-direction:column;gap:6px}
.stk-label .kz-dl{grid-template-columns:6.5rem minmax(0,1fr)}
.stk-checkitems{display:grid;gap:6px;margin:0;padding:0;border:0}
.stk-checkitem{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center;padding-top:6px;border-top:1px solid var(--line)}
.stk-checkitem__note{grid-column:1/-1}
.stk-checkitem select{width:auto}

/* the blind count sheet: the reason under each line */
.kz-countsheet > h2{margin:0}
.stk-reason{grid-column:1/-1}
.stk-lead{max-width:46rem}

/* the site form: fieldsets in one column, none of the outer one's box */
.stk-fields{display:flex;flex-direction:column;gap:12px;min-width:0;margin:0;padding:0;border:0}
.stk-fields[disabled]{opacity:.85}

/* an address a connected system calls */
.stk-code{display:block;padding:6px 8px;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel-2);font-size:12px;overflow-wrap:anywhere}

/* the scan component (kz-scan): a field a scanner types into, its camera
   button and the camera's picture while it reads */
.stk-scan__row{display:flex;gap:6px;align-items:center}
.stk-scan__row input{flex:1 1 auto;min-width:0;font-family:var(--mono)}
.stk-scan__cam{flex:none}
.stk-scan__video{display:block;width:100%;max-width:22rem;margin-top:6px;border-radius:var(--r2);background:var(--inv)}
.stk-scan__video[hidden]{display:none}
.stk-scan__status{font-size:12px;color:var(--text-2)}
.stk-scan__status:empty{display:none}
.stk-scan--sm .kz-label{font-size:11.5px}

/* evidence for held stock: a photo as a thumbnail */
.stk-thumb{display:block;width:8rem;height:6rem;object-fit:cover;border:1px solid var(--line);border-radius:var(--r2)}

/* label sheets: cards black on white whatever the theme, as they print */
.stk-labels{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:12px;margin:0;padding:0;list-style:none}
.stk-labelcard{display:flex;flex-direction:column;gap:3px;min-width:0;padding:10px 12px;border:1px solid var(--line-2);border-radius:var(--r2);background:#fff;color:#000;break-inside:avoid}
.stk-labelcard--wide{grid-column:span 2}
.stk-labelcard__big{font-family:var(--mono);font-size:22px;font-weight:600;line-height:1.1;overflow-wrap:anywhere}
.stk-labelcard__title{font-size:13px;font-weight:600}
.stk-labelcard__line{font-size:11.5px}
.stk-bc{display:block;width:100%;height:4.2rem;margin-top:4px}
.stk-bc rect{fill:#000}
.stk-bc__text{font-family:var(--mono);font-size:11px;text-align:center;overflow-wrap:anywhere}
@media (max-width:520px){.stk-labelcard--wide{grid-column:auto}}
@media print{.stk-labels{gap:4mm}.stk-labelcard{border-color:#000}.kz-main:has(.stk-labels) .kz-ph{display:none}}
/* 72-p4-inbound.css */
/* P4, fulfillment goods in, capacity and money: this part's additions only. */

/* Goods in: the deliveries list (rows are whole links) */
.inb-rows > li{padding:0}
.inb-rows .kz-rowlink{grid-template-columns:3.4rem minmax(0,1fr) auto}
.inb-rowmeta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;white-space:normal}
.inb-bar{flex:none;width:4.5rem}
.inb-count{min-width:4.2rem;text-align:right}
.inb-minis{margin-top:2px}
/* a window or an arrival takes two lines rather than an ellipsis */
.inb-minis .kz-mini__v{white-space:normal;overflow:visible;text-overflow:clip}
.inb-temps{display:flex;align-items:center;gap:3px;white-space:nowrap}
.inb-zstrip{grid-template-columns:repeat(var(--cols,3),minmax(0,1fr))}
.inb-zstrip > div{flex-wrap:wrap}
.inb-notes{white-space:normal}
/* a delivery's receive forms, one part each */
.inb-receive{gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel-2)}
.inb-receive > h3{margin:0}
.inb-receive :where(input:not([type="hidden"]),select){background:var(--panel)}

/* Capacity and billing */
.inb-zones .kz-zone__occ .num{text-align:right}
.inb-zones .kz-zone__pct{white-space:nowrap}
.inb-steppers .kz-ctlgrp{min-width:0}
.inb-facts{--cols:2}
.inb-pos{max-width:6.5rem;text-align:right}
.kz-table td .inb-pos{height:26px}
.inb-rcblocks{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* Rate cards: a version in words, the JSON editor, the basket tester */
.inb-rcline{margin:0;font-size:12px;line-height:1.45;color:var(--text-2)}
.inb-rclines{display:flex;flex-direction:column;gap:3px;margin:0;padding:0;list-style:none;font-size:12px;line-height:1.45;color:var(--text-2)}
.inb-summary > .kz-grid{border-bottom:1px solid var(--line)}
.inb-summary .kz-panel__head--plain{padding-top:12px}
.inb-summary .kz-panel__head--plain > h3{margin:0}
.inb-service{padding:10px 14px 6px;border-top:1px solid var(--line)}
.inb-service > h4{margin:0;font-size:12.5px;font-weight:600}
.inb-sellers{border-top:1px solid var(--line)}
.kz-table td.inb-wrap{white-space:normal}
.inb-json{font-family:var(--mono);font-size:12px;line-height:1.5}
textarea.inb-json{min-height:24rem;white-space:pre;overflow-wrap:normal;overflow-x:auto}
.inb-jsonblock{margin:0;padding:12px 14px;overflow-x:auto;white-space:pre;background:var(--panel-2);color:var(--text)}
.inb-problems > div{display:flex;flex-direction:column;gap:6px;min-width:0}
.inb-problems ul{margin:0;padding-left:1.1rem}
.inb-problems p{margin:0}
.inb-when{max-width:16rem}
.inb-grand{flex-direction:row;font-size:13px}

/* Earnings, team and keys */
.inb-totals{border-top:0}
.inb-totals caption{caption-side:top;text-align:left}
.inb-totals tbody th{width:auto;color:var(--text-2)}
.inb-totals .num{width:9rem}
.inb-role{width:auto;min-width:8rem}
.inb-scope{display:flex;align-items:flex-start;gap:8px;font-size:12.5px}
.inb-scope > input{margin-top:2px}

/* Goods in: arriving at a door; doors and delivery slots */
.inb-arrive{margin-top:4px}
.inb-arrive select{max-width:12rem}
.inb-doorforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;border-top:1px solid var(--line)}
.inb-doorforms > form{gap:10px}
.inb-doorforms h3{margin:0}

/* Capacity: each zone's 12-week trend, the simulator's margin */
.inb-trend{margin:2px 0 6px}
.inb-simmargin{margin-top:10px}

@media (max-width:1180px){
  .inb-zones{--cols:2}
}
@media (max-width:760px){
  .inb-minis{--cols:2}
  .inb-zstrip{grid-template-columns:minmax(0,1fr)}
  .inb-doorforms{grid-template-columns:minmax(0,1fr)}
}
/* 73-p5-vendor.css */
/* P5, the vendor app: this part's additions only. Everything else on the
   vendor pages is the shared components. What the old page stylesheets did
   (/products/catalogue.css, /checks/checks.css, /shopify/shopify.css, still
   served for old links) is here: rows of checkboxes, label photos, text kept
   as typed, and the Shopify preview's wide table. Every class is ven-, or a
   shared component's class inside one (.ven-cover a.kz-cover: the
   Overview's stock cover links), so nothing here restyles another app. */

/* Send stock's delivery slots (stage B2, goods in): the slot or window a
   notice is sent with. Folded in from 73-p5-vendor-sendstock.css, which came
   just before this file in kz.css: first here, so the cascade is the same. */
.ven-booking{display:flex;flex-direction:column;gap:8px}
.ven-slotday{display:flex;flex-direction:column;gap:4px}
.ven-slotday .kz-check{min-width:13rem}

@media (max-width:760px){
  .ven-slotday .kz-check{min-width:0}
}

/* the Overview */
.ven-steps{display:grid;gap:6px;margin:0;padding-left:1.25rem;font-size:12.5px;color:var(--text-2)}
.ven-h3{margin:4px 0 0}
.ven-payouts{max-width:20rem}
.ven-week{max-width:40rem}
.ven-cover a.kz-cover{color:var(--text);text-decoration:none}
.ven-cover a.kz-cover:hover{border-color:var(--text-3);text-decoration:none}
.ven-cover .kz-cover > .kz-bar{min-width:0}
.ven-cover .kz-cover__sub{white-space:normal}
.ven-counts th{color:var(--text-2)}
.ven-counts td{width:3rem}

/* text in table cells that wraps instead of ending in an ellipsis, and lines of it */
.ven-wrap{white-space:normal;overflow:visible}
.ven-block{display:block}
.kz-table .ven-top{vertical-align:top}
/* a table whose two-line cells (name, then what it is) wrap in a narrow column */
.ven-cellwrap .kz-cell2__a,.ven-cellwrap .kz-cell2__b{white-space:normal;overflow-wrap:break-word}
/* a shipment's status in a narrow cell that wraps */
.ven-wrap .kz-status{white-space:normal}

/* Only the Send stock pages (sendstock_pages.html) still use these three:
   the shared kz-table--thwrap, kz-pill--wrap (web.Pill.Wrap) and kz-minw-58
   do the same, and every other vendor page uses them. They go once those
   pages move (TestVendorRetiredClasses keeps them there). */
.ven-thwrap thead th,.ven-thwrap thead th.num{white-space:normal;vertical-align:bottom}
.ven-pillwrap .kz-pill{height:auto;min-height:18px;padding-top:2px;padding-bottom:2px;line-height:1.25;white-space:normal}
.ven-pillwrap .kz-pill--sm{min-height:16px}
.ven-minw-58{min-width:58rem}

/* a page's way back, under its header */
.ven-crumbs{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0;font-size:12px}

/* prose at a readable measure, and a panel's paragraphs and lists */
.ven-measure{max-width:46rem}
.ven-text{display:flex;flex-direction:column;gap:8px;font-size:12.5px;line-height:1.5}
.ven-text :where(ul,ol){margin:0;padding-left:1.25rem}
.kz-notice > .ven-text{flex:1 1 auto;min-width:0}

/* key-value tables: the key in the quieter ink */
.ven-kvtable th{color:var(--text-2)}
.ven-kvtable td{width:9rem}

/* the payouts statement: label, then amount */
.ven-statement td{width:9rem}
.ven-statement tbody th{color:var(--text-2)}

/* text kept as people typed it: ingredients, addresses, complaints */
.ven-pre{white-space:pre-wrap;overflow-wrap:anywhere}

/* filters and searches in a panel's head */
.ven-search{width:16rem;max-width:100%}
.ven-select{width:auto;max-width:100%;min-width:12rem}
.ven-narrow{max-width:16rem}

/* forms: fields side by side, wrapping on narrow screens */
.ven-form{display:flex;flex-direction:column;gap:12px}
.ven-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:12px}

/* rows of checkboxes (the 14 allergens), and a key's scopes */
.ven-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:6px 14px}
.ven-checks .kz-check{align-items:flex-start;line-height:1.35}
.ven-checks .kz-check > input,.ven-scopes .kz-check > input{flex:none;margin-top:1px}
.ven-scopes{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.ven-scopes > li{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}

/* products: a pack per line in the products table */
.ven-packline{display:block}

/* my stock: a card per pack and site */
.ven-stockgrid{grid-template-columns:repeat(auto-fill,minmax(min(100%,24rem),1fr));gap:var(--gap)}
.ven-stockgrid .kz-istats{margin:0}

/* label photos */
.ven-photo{display:block;max-width:22rem}
.ven-photo img{display:block;max-width:100%;height:auto;border:1px solid var(--line);border-radius:var(--r2)}
.ven-slot{display:flex;flex-direction:column;gap:6px}
.ven-slot form{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0}
.ven-slot input[type="file"]{width:auto;max-width:100%}

/* the Shopify preview: a wide form table (kz-minw-80) that scrolls inside its panel */
.ven-shopify td{vertical-align:top}
.ven-shopify input:not([type="checkbox"],[type="hidden"]),.ven-shopify select{min-width:4.5rem;height:28px;padding:0 6px}
.ven-shopify .ven-wide{min-width:10rem}
.ven-rowerr{margin:4px 0 0;padding-left:1rem}

/* a table cell holding a small form or two */
.ven-acts{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0}
.ven-acts select{width:auto;min-width:8rem}

/* a secret shown once, to copy */
.ven-secret{font-family:var(--mono);font-size:12.5px}
/* 74-p6-network.css */
/* P6, admin network, trade and back office: this part's additions only. */
/* a select that sits in a row beside its button, sized by its choices */
.kz :where(select.kz-net-select){width:auto;min-width:8rem;max-width:100%}
/* a list item's head whose title goes under its pill when the row is narrow */
.kz-net-wrap{flex-wrap:wrap;row-gap:2px}
/* the Network page's late and at-risk list: about eight rows show, the rest scroll */
.kz-net-hotlist{max-height:32rem;overflow-y:auto}
/* a site's name in the Network page's sites table wraps, never cut: the columns beside it leave it the least room */
.kz-net-name{overflow-wrap:anywhere}
/* at 760 px and below the sites table scrolls sideways anyway: it takes the room to show names and kind lines whole */
@media (max-width:760px){.kz-net-sites{min-width:62rem}}
/* the API applications, as cards that fill the row */
.kz-net-apps{grid-template-columns:repeat(auto-fill,minmax(min(24rem,100%),1fr));gap:var(--gap)}
/* an approval's actions side by side (Approve, Ask for changes), wrapping when the row is narrow */
.kz-net-acts{display:inline-flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
/* a row of small forms (take, let go) and a select beside its button (give to) */
.kz-net-formrow{display:flex;flex-wrap:wrap;align-items:flex-end;gap:6px 8px}
/* an ask's note or answer as its writer wrote it: lines kept, long words wrapped */
.kz-net-said{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
/* 75-p7-assurance.css */
/* P7, admin money and assurance, and the developer portal: this part's additions only. */

/* asr: the admin assurance pages (refunds, ledger, reconciliation, billing, storefronts, recalls, verification) */
/* an explanation too long for the header's summary, under it */
.asr-lead{max-width:46rem;margin:0;font-size:12.5px;line-height:1.5;color:var(--text-2)}
/* pills side by side (a pill whose words may be long wraps: the shared kz-pill--wrap) */
.asr-pills{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 6px}
/* a heading inside a panel, after its body */
.asr-subhead{border-top:1px solid var(--line)}
/* a hint row at the foot of a panel */
.asr-foot{margin:10px 12px 12px}
/* a line under a panel head that leads into its table */
.asr-sublead{border-bottom:1px solid var(--line)}
.asr-mono{font-family:var(--mono)}
/* key-value lists: labels in a column (long labels: the shared kz-dl--wide); on phones the shared kz-dl stacks them */
.asr-dl{gap:6px 14px}
.asr-dl dd{min-width:0;overflow-wrap:anywhere}
/* a note under a figure in a number cell, wrapped like text */
.asr-numnote{font-family:var(--font);white-space:normal}
/* a state said in words with its mark, wrapping */
.asr-said{display:flex;align-items:baseline;gap:6px}
.asr-said > .kz-mark{position:relative;top:-1px}
/* small forms inside table cells */
.asr-cellform{gap:6px;margin-top:6px}
/* a search box with its button */
.asr-findrow{display:flex;gap:6px}
.asr-findrow > input{flex:1 1 auto;min-width:0}
.asr-findrow > .kz-btn{height:30px}
/* a table inside a panel's body, boxed */
.asr-boxed{border:1px solid var(--line);border-radius:var(--r2)}
/* billing: an aggregator's panel; the one just acted on is current */
.asr-org[aria-current]{border-color:var(--focus);box-shadow:0 0 0 1px var(--focus)}
/* reconciliation: the run shown below, in the list of runs */
.asr-pick tbody tr[aria-current],.asr-pick tbody tr[aria-current]:hover{background:var(--panel-3)}
.asr-pick tbody tr[aria-current] > :first-child{box-shadow:inset 3px 0 0 var(--focus)}
/* verification: its own tabs, on a line */
.asr-tabs{border-bottom:1px solid var(--line)}
/* verification overview: queues as rows, a figure each */
.asr-rows{margin:0;padding:0;list-style:none}
.asr-rows > li{border-bottom:1px solid var(--line)}
.asr-rows > li:last-child{border-bottom:0}
.asr-rows .kz-rowlink{padding:10px 12px}
.asr-rows .kz-rowlink > .kz-i{color:var(--text-3)}
.asr-fig{font-family:var(--mono);font-size:20px;font-weight:500;line-height:1;text-align:right}
.asr-rowtext{display:flex;flex-direction:column;gap:3px;min-width:0}
/* verification: a label photo beside the label data it is compared with */
.asr-slot{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:16px;align-items:start;padding:12px;border-top:1px solid var(--line)}
.asr-slot__photo,.asr-slot__data{display:flex;flex-direction:column;gap:8px;min-width:0}
.asr-photo{display:block;max-width:100%;height:auto;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel-2)}
.asr-nophoto{margin:0;padding:24px 12px;border:1px dashed var(--line-2);border-radius:var(--r2);color:var(--text-3);font-size:12px;text-align:center}
.asr-label{display:flex;flex-direction:column;gap:3px;margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel-2);font-size:12.5px}
.asr-label dt{font-size:11.5px;font-weight:600;color:var(--text-2)}
.asr-label dd{margin:0;overflow-wrap:anywhere}
.asr-pre{white-space:pre-wrap}
.asr-check{align-items:flex-start;line-height:1.4}
.asr-check > input{flex:none;margin-top:1px}
.asr-bullets{margin:4px 0;padding-left:1.1rem}

/* dev: the developer portal (documentation, apply, dashboard) */
/* an explanation too long for the header's summary, under it */
.dev-lead{max-width:46rem;margin:0;font-size:12.5px;line-height:1.5;color:var(--text-2)}
/* the documentation's pages, as tabs on a line; compact only where a pointer
   picks them: at 760 px and below they keep the shared tab's tap size */
.dev-docnav{border-bottom:1px solid var(--line)}
@media (min-width:761px){
  .dev-docnav .kz-tab{height:30px;padding:0 9px;font-size:12.5px}
}
/* the guides: the reference's operations and the list of guides, inside prose (whose tables are the shared .kz-prose's) */
.dev-doc :where(td:first-child) code{overflow-wrap:normal;white-space:nowrap}
.dev-doc :where(pre){tab-size:4}
.dev-doc .dev-op{margin:0 0 12px;padding:12px 14px;background:var(--panel);border:1px solid var(--line);border-radius:var(--r3)}
.dev-doc .dev-op > h3{margin:0 0 6px}
.dev-op > :last-child{margin-bottom:0}
.dev-op :where(table){background:var(--panel-2)}
.dev-op :where(thead th){background:var(--panel-3)}
.dev-doc .dev-schema{margin:0 0 16px}
.dev-doc .dev-schema > h3{margin:0 0 6px;font-family:var(--mono)}
.dev-doc .dev-guides{margin:0 0 10px;padding:0;list-style:none;border:1px solid var(--line);border-radius:var(--r2);background:var(--panel)}
.dev-guides > li{padding:8px 12px;border-bottom:1px solid var(--line)}
.dev-guides > li:last-child{border-bottom:0}
/* the portal home's three ways in */
.dev-ways{gap:var(--gap)}
.dev-ways > .kz-panel{justify-content:space-between}
.dev-ways > .kz-panel > .kz-btn{align-self:flex-start}
/* numbered steps, and a form's problems in a notice */
.dev-steps{display:flex;flex-direction:column;gap:6px;margin:0;padding-left:1.25rem}
.dev-problems{margin:0;padding-left:1.1rem}
.dev-formhead{margin-top:6px}
.dev-start{align-self:flex-start}
/* a secret shown once, and code laid out in the dashboard */
.dev-secret{font-family:var(--mono);font-size:12.5px}
.dev-pre{margin:0;padding:12px;overflow-x:auto;background:var(--panel-2);border:1px solid var(--line);border-radius:var(--r2);font-family:var(--mono);font-size:12px;line-height:1.5;white-space:pre}
.dev-cellpre{max-height:7.5rem;margin:0;overflow:auto;font-family:var(--mono);font-size:11px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
/* key-value lists in the dashboard */
.dev-dl{gap:6px 14px}
.dev-dl dd{min-width:0;overflow-wrap:anywhere}
/* scope and event choices with their help */
.dev-choices{display:flex;flex-direction:column;gap:8px}
.dev-choice{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 8px;align-items:start;font-size:12.5px}
.dev-choice > input{margin-top:2px}
.dev-choice > .kz-sub{grid-column:2}
/* a form in a table row: its controls on one line */
.dev-rowform{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0}
.dev-rowform > select{width:auto;min-width:7rem;height:26px}
/* an order's shipments, one a line */
.dev-ship{display:block}
.dev-ship > .kz-temp{margin-right:4px}
.dev-ship + .dev-ship{margin-top:4px}
/* a line under a panel head that leads into its table */
.dev-sublead{border-bottom:1px solid var(--line)}
/* the roles of the team, side by side */
.dev-roles dt{font-family:var(--cond);font-size:10.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase}

@media (max-width:760px){
  .asr-slot{grid-template-columns:minmax(0,1fr)}
  .asr-fig{font-size:17px}
}
/* Kiuki's ask about an application, and the answer, as their writers wrote them: lines kept, long words wrapped */
.dev-said{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
/* 80-hooks.css */
/* Tone, temperature, workflow and map-state hooks (spec 7.2). They come
   after every component and utility: those set neutral defaults (--tm, --ti,
   --tw, --pm, ...) on their roots, which the hooks override at equal
   specificity. One t-* class on a component's root tones the whole of it. */
.t-ok{--tm:var(--ok);--ti:var(--ok-ink);--tw:var(--ok-wash)}
.t-risk{--tm:var(--risk);--ti:var(--risk-ink);--tw:var(--risk-wash)}
.t-late{--tm:var(--late);--ti:var(--late-ink);--tw:var(--late-wash)}
.t-info{--tm:var(--info);--ti:var(--info-ink);--tw:var(--info-wash)}
.tp-amb{--pm:var(--amb);--pi:var(--amb-ink);--pw:var(--amb-wash)}
.tp-chl{--pm:var(--chl);--pi:var(--chl-ink);--pw:var(--chl-wash)}
.tp-frz{--pm:var(--frz);--pi:var(--frz-ink);--pw:var(--frz-wash)}
.wf-new,.wf-cancelled,.wf-failed,.wf-held{--wf:transparent;--wfb:var(--text-3)}
.wf-ack{--wf:var(--c4);--wfb:var(--c4)}
.wf-pick{--wf:var(--c3);--wfb:var(--c3)}
.wf-packed{--wf:var(--c2);--wfb:var(--c2)}
.wf-out,.wf-delivered{--wf:var(--c1);--wfb:var(--c1)}
.st-empty{background:transparent;border:1px dashed var(--line-2)}
.st-held{background:var(--late-wash);border:1.5px solid var(--late)}
.st-soon{background:var(--risk-wash);border:1.5px solid var(--risk)}
.st-mid{background:var(--c3);border:1px solid var(--c3)}
.st-later{background:var(--c4);border:1px solid var(--c4)}
.st-ret{background:var(--info-wash);border:1.5px solid var(--info)}
/* 95-responsive-print.css */
/* Responsive rules (spec 6.5) and print (12.3). Last, so they win over
   everything above at equal specificity.
   Beyond the spec: rows are sized here, so a page shorter than the screen
   gives its spare height to the main column, never to the navigation or the
   rail (the shell fills the screen: .kz-page's min-height); and a signed-out
   page keeps its one column (the spec's 1180 rule gave it the navigation's
   column too, squeezing it to 12.5rem). */
@media (max-width:1180px){
  .kz-shell{grid-template-columns:var(--nav-w) minmax(0,1fr);grid-template-rows:1fr auto}
  .kz-shell--public{grid-template-columns:minmax(0,1fr)}
  .kz-rail{grid-column:1/-1;border-left:0;border-top:1px solid var(--line)}
}
@media (max-width:760px){
  .kz-shell,.kz-shell--norail{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto}
  .kz-side{padding:10px 16px;border-right:0;border-bottom:1px solid var(--line)}
  .kz-navgrp{display:contents}
  .kz-side{flex-direction:row;flex-wrap:wrap;align-content:flex-start;gap:4px}
  .kz-navlist{display:flex;flex-wrap:wrap;gap:4px}
  .kz-navgroup,.kz-hide-sm{display:none}
  .kz-split,.kz-stack{grid-template-columns:minmax(0,1fr)}
  .kz-split--flush > :first-child{border-right:0;border-bottom:1px solid var(--line)}
  .kz-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kz-main{padding:16px}
  .kz-top{padding:8px 16px}
  .kz-drawer{width:100%}
  .kz-rail{padding:16px}
  /* tap targets: 44 px, and 52 px where kz-tap asks (the picker view), after them so it wins on a kz-btn */
  .kz-nav-a,.kz-btn,.kz-chip,.kz-menu__i,.kz-tab{min-height:44px}
  .kz-tap{min-height:52px}
  /* words that end in an ellipsis on a wide screen wrap on a phone */
  .kz-kpi__label,.kz-kpi__note,.kz-cover__sub{white-space:normal}
  /* key-value lists: the key over its value */
  .kz-dl{grid-template-columns:minmax(0,1fr);row-gap:2px}
  .kz-dl dd{margin-bottom:8px}
  /* a prose table scrolls inside itself, as wide as its content up to the column */
  .kz-prose :where(table){display:block;width:max-content;max-width:100%;overflow-x:auto}
}
@media (max-width:520px){
  /* the hero figure fits a tile of a two-column strip */
  .kz-kpi__value--lg{font-size:24px}
  /* a search find's status and facts go under its words, which keep the width */
  .kz-hits > .kz-li--split{grid-template-columns:minmax(0,1fr)}
  .kz-hits .kz-li__right{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 10px}
}
/* On paper, from either theme: the light theme's colours on white, with
   stronger lines. The light theme's token rule (.kz[data-theme="light"])
   outranks .kz, and html.kz's colour scheme outranks .kz's, so both
   selectors are set. */
@media print{
  .kz,.kz[data-theme="light"]{--bg:#FFFFFF;--sunk:#FFFFFF;--panel:#FFFFFF;--panel-2:#F6F7F9;--panel-3:#EEF1F4;--line:#C2CAD3;--line-2:#9AA4AE;--field-line:#7A848F;--text:#14181D;--text-2:#3D4652;--text-3:#56606C;--link:#0057A0;--focus:#0057A0;--inv:#14181D;--on-inv:#FFFFFF;
    --ok:#2B9056;--ok-ink:#217143;--ok-wash:rgba(43,144,86,.10);--risk:#AE721D;--risk-ink:#8A5811;--risk-wash:rgba(195,128,34,.13);--late:#C13934;--late-ink:#B1332E;--late-wash:rgba(193,57,52,.10);--info:#0057A0;--info-ink:#0057A0;--info-wash:rgba(0,87,160,.09);
    --amb:#987952;--amb-ink:#795C34;--amb-wash:rgba(174,139,94,.14);--chl:#008795;--chl-ink:#006C78;--chl-wash:rgba(0,135,149,.10);--frz:#3553B1;--frz-ink:#3553B1;--frz-wash:rgba(53,83,177,.10);
    --c1:#0D3759;--c2:#2A597E;--c3:#427299;--c4:#638EB0}
  html.kz,html.kz[data-theme="light"]{color-scheme:light;background:#FFFFFF}
  .kz-top,.kz-side,.kz-rail,.kz-skip,.kz-scrim,.kz-drawer,.kz-ph__actions,.kz-chips,.kz-tabs,.kz-btn,dialog{display:none !important}
  .kz-shell{display:block}
  .kz-main{padding:0}
  .kz-panel,.kz-kpi,.kz-zone,.kz-mcard{break-inside:avoid}
  .kz-scrollx,.kz-scrolly{max-height:none;overflow:visible}
}
