@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/plex-sans-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/plex-sans-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/plex-sans-greek.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/plex-mono-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/plex-mono-latin-600.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/plex-mono-latin-ext-400.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/plex-mono-latin-ext-600.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;}

:root {
  /* OUI, the OpenSearch theme Wazuh's dashboard is built on: a grey canvas,
     white panels with a cool grey border, one blue, and its severity colours. */
  --bg:#f4f5f9; --panel:#fff; --panel-2:#f6f7fb; --panel-3:#eceef5;
  --line:#dfe2ec; --line-2:#c8ccda; --ink:#1d2030; --muted:#5f6478;
  /* One ink and two greys (KIT-1115 Part 3.4): muted for secondary text, faint for meta, 4.5:1 on the page and panels. */
  --faint:#6b7085;
  /* Vardion indigo: the one brand colour. Distinct from every severity,
     including low's blue, so an accent never reads as a rating. */
  --accent:#4a4bd6; --accent-2:#0f8a7e; --accent-3:#8d5fd3;
  --accent-weak:#eeeefd; --accent-ink:#fff;
  /* The colour of the primary button: the accent, unless the accent of a partner reads as a severity or is too faint
     on the panel, when brandCss keeps the one of the console here (VISUAL-1114, rule 10). */
  --primary:var(--accent); --primary-ink:var(--accent-ink);
  /* The text on a danger fill: white on the deep red of light, dark on the coral of dark. */
  --bad-ink:#fff;
  /* Severity in the order a reader expects: red, orange, yellow, blue, grey.
     Wazuh colours low in green, and green reads as all clear, so low is blue.
     OUI's warning is for a warning that is not a severity. */
  --crit:#BD271E; --high:#E8730C; --med:#F5C518; --low:#6092C0; --info:#596070;
  --warn:#F5A700; --sev-ink:#FFFFFF; --high-ink:#1A1C21;
  --good:#1a7f37; --good-ink:#fff; --bad:#bd271e;
  --progress:#6b7280;
  /* Fills for bars and filled marks, apart from the text tones: critical and high 3.3:1 apart in lightness (VISUAL-1114,
     rule 8). Small text in a severity uses the -text tones, each at least 5.3:1 on the page and the panels. */
  --crit-fill:#9b1c13; --high-fill:#e8913a; --med-fill:#d9a400; --low-fill:#3b6fe0; --info-fill:#c3c8d2; --good-fill:#2f9e6a;
  --crit-text:#b42318; --high-text:#a54307; --med-text:#7a5600; --low-text:#2c56b0; --info-text:var(--muted);
  --shadow:0 1px 2px rgba(0,0,0,.04), 0 2px 6px -1px rgba(0,0,0,.06);
  --shadow-lg:0 6px 20px rgba(0,0,0,.1);
  /* The raised shadow cast upwards, for a bar pinned at the foot of the page. */
  --shadow-up:0 -6px 20px -10px rgba(0,0,0,.18);
  --radius:8px; --radius-lg:12px;
  /* One spacing scale (UX-1110 0b): 4, 8, 12, 16, 24, 32 and 48, every
     padding, margin and gap in the console taken from it. There were two
     ladders (sp-1 to sp-4 between blocks, gap-1 and gap-2 inside one) at 3,
     6, 8, 14, 22 and 34 pixels, and compact density moved each to a value of
     its own. Density is now one multiplier on the scale: compact is 0.75.
     s-1 a glyph from its label, s-2 one control from the next and the rows of
     a group, s-3 one control row from the next, s-4 inside a panel, s-5 one
     block from the next, s-6 a new section, s-7 the page's foot. */
  --density:1;
  --s-1:calc(4px * var(--density)); --s-2:calc(8px * var(--density)); --s-3:calc(12px * var(--density));
  --s-4:calc(16px * var(--density)); --s-5:calc(24px * var(--density)); --s-6:calc(32px * var(--density));
  --s-7:calc(48px * var(--density));
  /* Type scale. Same argument as the spacing one, and the same failure: the
     console had fifteen sizes (10, 10.5, 11, 11.5, 12, 12.5, 13, 13.5, 14, 15,
     15.5, 17, 19, 21, 25), several of them half a pixel apart, which is a
     difference nobody can see and a decision every new rule had to make again.
     fs-0 is a micro label, fs-1 secondary text, fs-2 data and controls, fs-3
     body and section headings, fs-4 the one line a page leads with, fs-5 a
     page title, fs-6 the single large number on a card. */
  /* One height for every control that sits in a row with others: buttons,
     button-like links, text inputs and selects were 36, 38 and 37 pixels, so
     an inline row of them did not line up. */
  --ctl-h:36px;
  /* The menu is a dark rail in both themes: the console's one large brand
     surface, as Datadog, Linear and Vercel carry theirs. */
  --nav:#0f1020; --nav-ink:#e4e6f2; --nav-muted:#a3a7bf; --nav-faint:#80849c; --nav-hover:#1b1c32;
  --nav-on:#ffffff; --nav-line:#22243a;
  --radius-sm:6px; --radius-md:8px; --radius-xl:12px;
  --shadow-sm:0 1px 2px rgba(16,18,40,.05);
  /* The cue on a phone table that scrolls sideways. */
  --scroll-shade:rgba(16,18,40,.2);
  /* One face for everything (UX-1110 Part 5c, fonts.ts): IBM Plex Sans, and IBM Plex Mono for code and hosts. */
  --sans:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --display:var(--sans);
  --mono:"IBM Plex Mono","IBM Plex Sans",ui-monospace,SFMono-Regular,Menlo,monospace;
}
* { box-sizing:border-box; }
/* The HTML hidden attribute must always hide, even on an element whose class sets
   an explicit display; without this an authored display:flex/grid/block wins over
   the user-agent [hidden]{display:none} and the element stays visible. */
[hidden] { display:none !important; }
html { height:100%; }
/* IBM Plex Sans, served by the console from src/fonts (fonts.ts), so nothing is
   fetched from anywhere else. The platform face is the fallback. */

body { height:100%; margin:0; color:var(--ink); font:var(--t-body)/1.5 var(--sans);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  font-variant-numeric:tabular-nums; overflow:hidden;
  background:var(--bg); }
/* Uppercase mono for small labels. System mono (SF Mono, Cascadia, DejaVu) has
   far more character than the UI face and reads as instrumentation, which is
   what this is. No webfont, so nothing is fetched. */
/* Labels in the UI face, as OUI sets them. Monospace is for identifiers. */
:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:6px; }

/* Shell ------------------------------------------------------------------ */
/* dvh so a mobile browser's collapsing toolbar cannot leave the last rows of a
   long page unreachable; the vh line above it is the fallback for browsers
   without dvh, which simply ignore the second declaration. */
.shell { display:flex; height:100vh; height:100dvh; overflow:hidden; }
/* The rail is #nav, not every aside: the finding Preview is also an <aside>
   (#peek), and the rail's width, dark palette, mobile off-canvas hide and
   collapse must not reach it or the drawer renders off screen in the rail's
   dark colours. The rail's own selector carries all of those. */
#nav { width:236px; flex:0 0 236px; color:var(--nav-ink);
  background:var(--nav);
  border-right:1px solid var(--nav-line);
  display:flex; flex-direction:column; height:100vh; height:100dvh; overflow-y:auto; z-index:40;
  scrollbar-color:color-mix(in srgb, var(--nav-ink) 22%, transparent) transparent; }
/* The menu scrolls only when its items overflow, and then its bar is neutral: drawn in the menu's own indigo line it read as
   an accent stripe down the content's edge on every client page at 1440 by 900 (review of 13 November), where the
   group headings' spacing, now tighter, had made a client's menu 18px taller than the window. */
#nav::-webkit-scrollbar { width:8px; } #nav::-webkit-scrollbar-thumb { background:color-mix(in srgb, var(--nav-ink) 22%, transparent); border-radius:var(--radius); }
aside .brand { display:flex; align-items:center; gap:var(--s-2); padding:var(--s-3) var(--s-3) var(--s-3); }
.logo { width:27px; height:27px; flex:0 0 auto; display:inline-flex;
  align-items:center; justify-content:center; color:var(--accent); }
.logo .icon { vertical-align:0; }
aside .brand .name { font-weight:600; color:var(--ink); font-size:var(--t-block); letter-spacing:var(--tr-block); line-height:1.15; }
aside .brand .name small { display:block; color:var(--nav-muted); font-size:var(--t-label);
 margin-top:var(--s-1); }
aside .brand .x { display:none; margin-left:auto; background:none; border:0; color:var(--nav-muted);
  cursor:pointer; padding:var(--s-1); border-radius:6px; }
aside .brand .x:hover { color:var(--ink); background:var(--nav-hover); }
aside nav { flex:1; padding:var(--s-1) 0 var(--s-3); padding-top:var(--s-2); }
aside nav a { display:flex; align-items:center; gap:var(--s-2); color:var(--nav-muted); text-decoration:none;
  margin:var(--s-1) var(--s-2); padding:var(--s-2) var(--s-2); font-size:var(--t-table); border-radius:var(--radius); line-height:1.3; }
aside nav a:hover { background:var(--nav-hover); color:var(--nav-ink); }
/* The active item is a background and a weight. No bar, no accent fill: the
   sidebar should read as one surface with one item currently selected. */
aside nav a.on { background:var(--accent-weak); color:var(--nav-on); font-weight:500; }
aside nav a .navlabel { display:inline-flex; align-items:center; gap:var(--s-2); min-width:0; }
/* The way back between the portfolio of a partner and the menu of one client (Part 4), set apart from the items under it. */
aside nav a.navback { color:var(--nav-muted); padding-bottom:var(--s-2); margin-bottom:var(--s-2); border-bottom:1px solid var(--line); border-radius:var(--radius) var(--radius) 0 0; }
aside nav .navhead { padding:var(--s-2) var(--s-3) var(--s-1); font-size:var(--t-label);
 color:var(--nav-muted); }
.tb-title .crumb { color:var(--muted); text-decoration:none; }
.tb-title a.crumb:hover { color:var(--ink); text-decoration:underline; }
.tb-title .sep { color:var(--muted); margin:0 var(--s-2); }
.tb-title .here { color:var(--ink); }
aside .badge { margin-left:auto; background:var(--bad); color:var(--bad-ink); border-radius:999px; min-width:19px;
  text-align:center; padding:var(--s-1) var(--s-2); font-size:var(--t-label); line-height:1.5; }
aside nav a.on .badge { background:var(--bad); color:var(--bad-ink); }
/* A destination that needs attention: a dot, quieter than a count. */

/* The colours' meaning under the menu; hidden when the menu is collapsed to icons. */
/* A tab carries the mark of what it holds, as the menu entry above it does. */

aside .navfoot nav.footnav { flex:none; padding:0 0 var(--s-1); }

/* The collapse control, and the menu collapsed to its icons. Wide screens
   only: below 900px the menu is a drawer and is hidden until opened anyway.
   A label is hidden visually and kept as the link's accessible name, and each
   link carries it as a tooltip while collapsed. */
/* The foot row carries the version at the left and the collapse control at the
   right of one line. */
.navfootrow { display:flex; align-items:center; gap:var(--s-2); }
/* Even above and below beside the collapse button, so the version sits on its centre line (POLISH-1111 Part 2c). */
.navfootrow .buildid { flex:1; min-width:0; padding-top:var(--s-2); padding-bottom:var(--s-2); }
/* The collapse control sits beside the version as a plain icon, so the version
   stays fully legible; its accessible name stays on the aria-label, and the
   rail below keeps it icon-only too. */
.navfootrow .navcollapse .navtext { position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
.navcollapse { display:flex; align-items:center; gap:var(--s-2); flex:none; margin:var(--s-1) var(--s-2);
  padding:var(--s-2) var(--s-2); background:none; border:0; border-radius:var(--radius); color:var(--nav-muted);
  font:inherit; font-size:var(--t-caption); cursor:pointer; text-align:left; box-sizing:border-box; }
.navcollapse:hover { background:var(--nav-hover); color:var(--ink); }
.navcollapse .ic-open { display:none; }
.navcollapse > span { display:inline-flex; }
@media (min-width:761px) {
  #nav { transition:width .15s ease, flex-basis .15s ease; }
  :root[data-nav="collapsed"] #nav { width:64px; flex-basis:64px; overflow-x:hidden; }
  :root[data-nav="collapsed"] aside .brand { justify-content:center; padding-left:0; padding-right:0; }
  :root[data-nav="collapsed"] aside .brand .name { display:none; }
  :root[data-nav="collapsed"] aside nav a { justify-content:center; position:relative; padding:var(--s-2) 0; }
  :root[data-nav="collapsed"] aside .navtext { position:absolute; width:1px; height:1px; overflow:hidden;
    clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
  :root[data-nav="collapsed"] aside nav .navhead { font-size:0; padding:0; height:0; margin:var(--s-2) var(--s-3);
    border-top:1px solid var(--nav-line); }
  :root[data-nav="collapsed"] aside .badge { position:absolute; top:1px; right:6px; min-width:16px; padding:0 var(--s-1);
    font-size:var(--t-label); line-height:16px; }
  :root[data-nav="collapsed"] .navcollapse { justify-content:center; width:calc(100% - 2 * var(--s-2)); }
  :root[data-nav="collapsed"] .navcollapse .ic-close { display:none; }
  :root[data-nav="collapsed"] .navcollapse .ic-open { display:inline-flex; }
  /* No room for the version on the icon rail, so it is hidden rather than
     shortened; the tooltip on the build page still carries it. */
  :root[data-nav="collapsed"] .buildid { display:none; }
  :root[data-nav="collapsed"] .wsswitch summary { justify-content:center; padding:var(--s-2) 0; border-color:transparent; }
  :root[data-nav="collapsed"] .wsmenu { left:calc(100% + 6px); right:auto; top:0; width:240px; }
  /* The menu keeps scrolling on a short window; only while the switcher is
     open may its list spill out beside the icons. */
  :root[data-nav="collapsed"] aside:has(#wsswitch[open]) { overflow:visible; }
}

.col { flex:1; min-width:0; min-height:0; display:flex; flex-direction:column; overflow:hidden; }

/* Top bar ---------------------------------------------------------------- */
/* Which build is loaded. At the foot of the nav: on every page, out of the way,
   and not competing with the page title. Monospace because it is an identifier
   to compare, not prose to read. */
.buildid { display:block; padding:var(--s-2) var(--s-5) var(--s-3); color:var(--muted); text-decoration:none;
  font-family:var(--mono); font-size:var(--t-label);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.buildid:hover { color:var(--muted); background:var(--panel-2); }
/* Copy control. Attached to a value rather than a page, so an identifier
   anywhere gets one without its own script. */
.copy { display:inline-flex; align-items:center; justify-content:center; height:var(--ctl-sm); background:transparent; border:0; color:var(--muted); cursor:pointer; padding:0 var(--s-2);
  border-radius:var(--radius-md); font-size:var(--t-label); font-family:var(--mono);
  vertical-align:middle; opacity:0; transition:opacity .12s,color .12s; }
code:hover + .copy, .copy:focus-visible, td:hover .copy, .copy.done { opacity:1; }
.copy:hover { opacity:1; color:var(--ink); background:var(--panel-2); }
.copy.done { color:var(--good); }
.snippet .copy { opacity:1; }
td .btnrow { margin:0; }
.inlineedit { display:inline-block; }
/* Evidence proposed for a control from a verified fix or a passing check (evidenceitems.ts), under its evidence badge. */
.proposed { margin-top:var(--s-2); padding:var(--s-2) var(--s-2); border:1px solid var(--line); border-radius:var(--radius-sm,6px); background:var(--panel-2); font-size:var(--t-label); }
.proposed .k { display:block; color:var(--muted); }
.proposed ul { margin:var(--s-1) 0; padding-left:var(--s-4); }
.inlineedit > summary { list-style:none; }
.inlineedit > summary::-webkit-details-marker { display:none; }
.inlineedit[open] > summary { display:none; }
/* A one-field edit (an owner, an assignee) sits in its row. An edit of several
   fields is a stack form and stacks label over field under its summary: forced
   into one row it was a strip of cramped fields running past the table. */
.inlineedit form:not(.stack) { display:inline-flex; gap:var(--s-2); align-items:center; }
/* An incident card: the significance assessment, set apart from the procedure line under it. */
.incsig { margin:0 0 var(--s-3); } .incsig h3 { margin:0 0 var(--s-1); } .incsig p { margin:0 0 var(--s-1); }
.inlineedit:not(:has(> form.stack)) input { max-width:180px; }
.inlineedit[open]:has(> form.stack) { display:block; }
.inlineedit > form.stack { display:flex; flex-direction:column; align-items:stretch; gap:var(--s-2); max-width:420px; margin-top:var(--s-2); }
/* Whether an incident is reportable (console/reportable.ts): a long form of questions and figures, wider, with the figures in pairs. */
.inlineedit > form.stack.assess { max-width:760px; }
.assess .formgrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--s-2); }
.assess .qrow > p { margin:var(--s-1) 0 0; }
@media (max-width:640px) { .assess .formgrid { grid-template-columns:1fr; } }
/* Row controls written side by side with no space between them, such as Mark done, Edit and Remove on a duty. */
td > .inlineedit:has(+ .inlineedit, + form.inline), td > form.inline:has(+ .inlineedit, + form.inline) { margin:calc(var(--s-1) / 2) var(--s-2) calc(var(--s-1) / 2) 0; }
/* The gap of the form spaces its fields, so the bottom margin of a stacked label
   is taken off. The selector carries the weight of the stacked-label rule, or it loses. */

/* One line at every width (SIMPLIFY-1117): Sample data, then its one link at the end. */
.demobanner { display:flex; align-items:center; gap:var(--s-3); white-space:nowrap; margin:0 0 var(--s-2); font-size:var(--t-caption); color:var(--muted); }
/* One quiet line, not a box (UIKIT-1120 6): a dot, Sample data and its link at the console's 28 px tap size. */
.demobanner .k-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--accent); margin-right:var(--s-2); vertical-align:1px; }
.demobanner > a { display:inline-flex; align-items:center; min-height:28px; }
/* Configuration keys: one card per key, the key in use named in one line (console/config.ts, secretsPanel). */
.credlist { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(440px,100%),1fr)); gap:var(--s-3); margin:var(--s-3) 0; }
.cred { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s-3) var(--s-5); display:flex; flex-direction:column; gap:var(--s-2); }
.cred .credhead { display:flex; justify-content:space-between; align-items:center; gap:var(--s-2); }
.cred .credhead label.credname { font-weight:500; margin:0; }
.cred .credfacts { font-size:var(--t-label); color:var(--muted); display:flex; flex-wrap:wrap; gap:2px 2px; line-height:1.5; }
.cred .credfacts code { font-size:inherit; }
.cred .credinput { display:flex; gap:var(--s-2); align-items:center; margin-top:auto; padding-top:var(--s-2); border-top:1px solid var(--line); }
.cred .credinput input { flex:1; min-width:0; }
.cred .credtest { display:flex; gap:var(--s-2); align-items:center; flex-wrap:wrap; }
.shots { display:grid; grid-template-columns:repeat(auto-fill, minmax(min(240px,100%),1fr)); gap:var(--s-3); margin:var(--s-3) 0; }
.shot { display:flex; flex-direction:column; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--panel); color:inherit; text-decoration:none; min-width:0; }
.shot:hover { border-color:var(--accent); }
.shot img { display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; object-position:top; background:var(--panel-2); }
.shotcap { display:flex; flex-direction:column; gap:2px; padding:var(--s-2) var(--s-2); font-size:var(--t-caption); min-width:0; }
.shotcap > * { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.snippet p.muted { margin-bottom:var(--s-1); }
/* The top bar (CHROME-1118 Part 1.3): the trail at the left, the search centred and about 420 wide, then help and the
   account at the right. The search never narrows under 240 and the trail gives way first. */
.topbar { display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,min(420px,40%)) minmax(max-content,1fr); align-items:center; column-gap:var(--s-4); padding:0 var(--s-5); height:56px; flex:0 0 auto;
  background:var(--panel); border-bottom:1px solid var(--line); z-index:30; }
.topbar .menubtn { display:none; background:transparent; border:1px solid var(--line); border-radius:7px;
  color:var(--ink); cursor:pointer; padding:var(--s-2) var(--s-2); align-items:center; box-shadow:none; }
.topbar .menubtn:hover { background:var(--panel-2); }
.topbar .tb-brand { display:none; align-items:center; gap:var(--s-2); font-size:var(--t-block); letter-spacing:var(--tr-block); }
.topbar .tb-title { font-size:var(--t-table); white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis; }
.topbar .tb-left { grid-column:1; display:flex; align-items:center; gap:var(--s-2); min-width:0; }
.topbar .tb-actions { grid-column:3; justify-self:end; display:flex; align-items:center; gap:var(--s-2); }
.tb-search { position:relative; display:flex; align-items:center; }
/* Fixed rather than a spacing token: the icon is a fixed 15px at 9px in, and
   compact density shrinks the tokens. The selector carries the type so it
   outranks the generic input rule, which reset the padding and hid the icon. */
.tb-search-icon { position:absolute; left:9px; display:flex; color:var(--muted); pointer-events:none; }
.tb-search input[type="search"] { width:210px; padding:var(--s-2) var(--s-2) var(--s-2) var(--s-6); font:inherit; font-size:var(--t-table);
  color:var(--fg); background:var(--panel-2); border:1px solid var(--line); border-radius:7px; }
.tb-search input::placeholder { color:var(--muted); }
.tb-search input:focus { outline:none; border-color:var(--accent); background:var(--panel); }
.tb-search input::-webkit-search-cancel-button { -webkit-appearance:none; appearance:none; }
/* The one search (UI-1115 2.8): a button drawn as the field it opens, with its shortcut. */
.tb-searchbtn { grid-column:2; width:100%; min-width:0; gap:var(--s-2); height:var(--ctl-sm); padding:0 var(--s-2) 0 32px; font:inherit; font-size:var(--t-table); color:var(--muted); background:var(--panel-2); border:1px solid var(--line-2); border-radius:7px; cursor:pointer; justify-content:space-between; box-shadow:none; }
.tb-searchbtn:hover { border-color:var(--accent); }
.tb-searchbtn kbd { font-size:var(--t-label); font-family:var(--sans); color:var(--muted); background:var(--panel); border:1px solid var(--line); border-radius:4px; padding:0 var(--s-1); }
/* On a phone the search is its glyph beside help and the account, and the trail gives the bar to the brand. */
@media (max-width:560px) { .tb-searchbtn { display:none; } .topbar { grid-template-columns:minmax(0,1fr) max-content; } .topbar .tb-actions { grid-column:2; } }
/* Between a phone and 1024 the trail shows its last level, the whole trail in its tooltip. */
@media (max-width:1024px) { .topbar .tb-title > :not(:last-child) { display:none; } }
.searchhit { display:block; padding:var(--s-2) var(--s-3); border:1px solid var(--line); border-radius:8px;
  margin-bottom:var(--s-2); text-decoration:none; color:var(--fg); }
.searchhit:hover { background:var(--panel-2); }
.searchhit .sub { display:block; color:var(--muted); font-size:var(--t-caption); font-weight:400; }
.iconbtn { background:transparent; border:1px solid var(--line); border-radius:7px; color:var(--muted);
  cursor:pointer; padding:var(--s-2); display:inline-flex; align-items:center; justify-content:center; gap:var(--s-2);
  font-size:var(--t-caption); box-shadow:none; }
/* Show the mode the button switches TO. The selectors deliberately mirror the
   theme token selectors above, so the glyph can never disagree with the theme
   actually in force, including when no choice has been made and the OS decides. */
#themetoggle .sun { display:none; }
#themetoggle .moon { display:inline-flex; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #themetoggle .moon { display:none; }
  :root:not([data-theme="light"]) #themetoggle .sun { display:inline-flex; }
}
:root[data-theme="dark"] #themetoggle .moon { display:none; }
:root[data-theme="dark"] #themetoggle .sun { display:inline-flex; }
:root[data-theme="light"] #themetoggle .moon { display:inline-flex; }
:root[data-theme="light"] #themetoggle .sun { display:none; }
.iconbtn.textbtn { padding:var(--s-2) var(--s-2) var(--s-2) var(--s-2); gap:var(--s-2); }
.iconbtn.textbtn span { font-size:var(--t-caption); }
@media (max-width:1100px) { .iconbtn.textbtn span { display:none; } .iconbtn.textbtn { padding:var(--s-2); } }
.iconbtn:hover { background:var(--panel-2); color:var(--ink); border-color:var(--line-2); }
/* A toggle that is on says so. Without it the only evidence the density button
   had done anything was the row padding, which is the thing being changed and
   so is not available as confirmation that the click landed. */
.iconbtn[aria-pressed="true"] { background:var(--accent-weak); color:var(--accent);
  border-color:color-mix(in srgb,var(--accent) 40%,var(--line)); }
.runchip { display:none; align-items:center; gap:var(--s-2); text-decoration:none; font-size:var(--t-caption);
  padding:var(--s-2) var(--s-2); border-radius:999px; border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));
  background:var(--accent-weak); color:var(--accent); white-space:nowrap; flex:0 0 auto; }
.runchip.show { display:inline-flex; }
/* The chip says that a run is going and for how long. What the run is goes in
   its tooltip: the full mode ("full scan, 100 most common ports, one attempt
   per port") wrapped onto three lines and covered the search box. */
.runchip .rt { font-variant-numeric:tabular-nums; }
@media (max-width:700px) { .runchip #runchiptext { display:none; } }
.tl-row { display:grid; grid-template-columns:110px 1fr 70px; align-items:center; gap:var(--s-3); margin:var(--s-1) 0; font-size:var(--t-caption); }
.tl-tool { font-family:var(--mono, monospace); color:var(--muted); }
.tl-track { position:relative; height:12px; background:var(--panel-2); border-radius:4px; }
.tl-dur { text-align:right; color:var(--muted); }
.toggle { position:relative; display:inline-block; width:34px; height:20px; margin:0; cursor:pointer; vertical-align:middle; }
label.toggle input { position:absolute; inset:0; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; z-index:1; }
.toggle .track { position:absolute; inset:0; background:var(--line-2); border-radius:10px; transition:background .15s; }
.toggle .track::after { content:""; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.3); transition:transform .15s; }
label.toggle input:checked + .track, .toggle .track.on { background:var(--accent); }
label.toggle input:checked + .track::after, .toggle .track.on::after { transform:translateX(14px); } label.toggle input:disabled + .track { opacity:.55; }
label.toggle input:focus-visible + .track { outline:2px solid var(--accent); outline-offset:2px; }
.helptip.bare { width:auto; height:auto; min-width:0; border:0; border-radius:0; margin:0; cursor:help; vertical-align:middle; } .helptip.bare::before { display:none; }
/* In a clamped hint the mark keeps its 16 px box, inside the lines the hint shows. */
.clamp .helptip { width:16px; height:16px; min-width:16px; margin:0 0 0 var(--s-2); } .clamp .helptip::before { inset:0; }
.helptip.bare .toggle { cursor:help; } .helptip.bare .track { opacity:.55; }
.helptip.bare:focus-visible .track { outline:2px solid var(--accent); outline-offset:2px; }
table.pipeline td:first-child, table.pipeline th:first-child { width:1%; white-space:nowrap; }
.runprog[hidden] { display:none; }
.runprog { display:flex; flex-direction:column; gap:var(--s-2); margin:var(--s-1) 0 var(--s-2); font-size:var(--t-caption); color:var(--muted); }
.runprog .prow { display:flex; flex-direction:column; gap:4px; }
.runprog .plrow { display:flex; align-items:baseline; justify-content:space-between; gap:var(--s-3); }
.runprog .plrow .rpct, .runprog .plrow .phpct { flex:0 0 auto; font-variant-numeric:tabular-nums; }
.runprog .bar { height:8px; border-radius:999px; background:var(--panel-3); overflow:hidden; }
.runprog .bar span { display:block; height:100%; width:0; background:var(--accent); transition:width .6s ease; }
.runprog .prow-phase .pf { opacity:.6; }
.runprog .prow-phase.nobar .bar { visibility:hidden; }
/* The short label keeps the size of the switch: the .sm utility had made it 13px. */
.surfacebar .sm { display:none; font-size:inherit; }
/* Between a phone and a wide screen the heading row is crowded: the switch
   takes its short labels and the Export menu its icon, so neither is cut off. */
@media (max-width:1100px) {
  .surfacebar .lg { display:none; } .surfacebar .sm { display:inline; }
  .exlabel { display:none; }
}
/* A tab head shares its row with the menu, so it is crowded at a wider window
   than a page head: the switch and Export need about 1180px beside the tabs,
   which is 1484px of window with the menu open (236px of menu and 68px of side
   padding) and 1312px with it collapsed to its icons (64px). */
@media (max-width:1484px) {
  :root:not([data-nav="collapsed"]) .tabhead .surfacebar .lg { display:none; }
  :root:not([data-nav="collapsed"]) .tabhead .surfacebar .sm { display:inline; }
  :root:not([data-nav="collapsed"]) .tabhead .exlabel { display:none; }
}
@media (max-width:1312px) {
  .tabhead .surfacebar .lg { display:none; } .tabhead .surfacebar .sm { display:inline; }
  .tabhead .exlabel { display:none; }
}
/* At the widths where the surface switch wears its short labels, a Greek switch
   and its ?, or a page's download control, take enough of the first row to push
   the last tab off the strip (the Greek Board tabs ran under the download). So a
   tab head with a non-empty control row that also carries a second row of pages
   (.segments) or a surface switch drops those controls to a row of their own below
   the tabs, which keeps the full width for the tabs. A plain one-row head (actions
   beside the tabs, no .segments and no switch, which a test holds to one row) is
   left alone, as is the phone layout below 761px, which stacks the head itself. */
@media (min-width:761px) and (max-width:1484px) {
  :root:not([data-nav="collapsed"]) .tabhead:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) { grid-template-columns:minmax(0,1fr); }
  :root:not([data-nav="collapsed"]) .tabhead:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) > .pageactions { grid-column:1; grid-row:2; justify-content:flex-start; }
  :root:not([data-nav="collapsed"]) .tabhead:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) .tabstack > .tabs { grid-column:1; grid-row:1; }
  :root:not([data-nav="collapsed"]) .tabhead:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) .tabstack > :not(.tabs) { grid-row:3; }
}
@media (min-width:761px) and (max-width:1312px) {
  .tabhead:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) { grid-template-columns:minmax(0,1fr); }
  .tabhead:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) > .pageactions { grid-column:1; grid-row:2; justify-content:flex-start; }
  .tabhead:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) .tabstack > .tabs { grid-column:1; grid-row:1; }
  .tabhead:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) .tabstack > :not(.tabs) { grid-row:3; }
}
/* The two width ranges above are English measures. Wider than them the switch
   wears its long labels, and a Greek one (or a long tab row in either language)
   still pushed the last tabs off the strip: at 1600 with the menu open, and at
   1440 with it collapsed. So layout.js measures each head and marks it .crowd
   when its tabs overflow beside the controls, and the same rule applies. */
@media (min-width:761px) {
  .tabhead.crowd:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) { grid-template-columns:minmax(0,1fr); }
  .tabhead.crowd:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) > .pageactions { grid-column:1; grid-row:2; justify-content:flex-start; }
  .tabhead.crowd:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) .tabstack > .tabs { grid-column:1; grid-row:1; }
  .tabhead.crowd:has(> .pageactions:not(:empty)):has(:is(.segments, .surfacebar)) .tabstack > :not(.tabs) { grid-row:3; }
}
/* A plain head (tabs and controls, no second row) whose tabs overflow beside its
   controls takes the same two rows: a Greek Reports row beside the assessment's
   views menu, download and actions scrolled its first tab out of view. A plain
   head that fits is never marked .crowd and keeps its one row. */
@media (min-width:761px) {
  .tabhead.crowd:has(> .pageactions:not(:empty)) { grid-template-columns:minmax(0,1fr); }
  .tabhead.crowd:has(> .pageactions:not(:empty)) > .pageactions { grid-column:1; grid-row:2; justify-content:flex-start; }
  .tabhead.crowd:has(> .pageactions:not(:empty)) .tabstack > .tabs { grid-column:1; grid-row:1; }
}
/* When a head has a second row of pages (.segments), the controls the rules above
   drop below the tabs sit at the right end of that row instead of on a row of
   their own between the two rows of pages, where a lone Export or switch read as
   misplaced (persona review, 5 November 2026). Below 1101px the row is too
   narrow for both, and the three-row stack above stands, as it does on a head
   whose second row the controls would cut short (layout.js marks it .subcrowd). The repeated :root
   outranks the width and .crowd rules above. */
@media (min-width:1101px) {
  :root:root:root .tabhead:not(.subcrowd):has(> .pageactions:not(:empty)):has(.segments) { grid-template-columns:minmax(0,1fr) auto; }
  :root:root:root .tabhead:not(.subcrowd):has(> .pageactions:not(:empty)):has(.segments) .tabstack > .tabs { grid-column:1 / -1; grid-row:1; }
  :root:root:root .tabhead:not(.subcrowd):has(> .pageactions:not(:empty)):has(.segments) .tabstack > :not(.tabs) { grid-column:1; grid-row:2; }
  :root:root:root .tabhead:not(.subcrowd):has(> .pageactions:not(:empty)):has(.segments) > .pageactions { grid-column:2; grid-row:2; justify-content:flex-end; align-self:center; }
  :root:root:root .tabhead:not(.subcrowd):has(> .pageactions:not(:empty)):has(.segments) .exlabel { display:inline; }
}
/* The next setup step, with its one control. */
.nextstep { display:flex; align-items:center; justify-content:space-between; gap:var(--s-5); flex-wrap:wrap;
  padding:var(--s-5); margin:0 0 var(--s-5); border:1px solid var(--accent); border-radius:var(--radius); background:var(--accent-weak); }
.nextstep .k { display:block; color:var(--accent); font-size:var(--t-label); }
.nextstep h2 { margin:var(--s-1) 0; font-size:var(--t-block); letter-spacing:var(--tr-block); }
.nextstep p { margin:0; color:var(--muted); }
.nextstep .ns-text { flex:1 1 320px; }
.palette { position:fixed; inset:0; z-index:60; background:color-mix(in srgb,#000 35%,transparent); display:flex; justify-content:center; align-items:flex-start; padding-top:12vh; }
.palette[hidden] { display:none; }
.palettebox { width:min(640px, calc(100vw - 32px)); background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:var(--s-3); }
.palettebox input { width:100%; }
.palettebox ul { list-style:none; margin:var(--s-2) 0; padding:0; max-height:50vh; overflow:auto; display:flex; flex-direction:column; }
.palettebox li a { display:block; padding:var(--s-2) var(--s-2); border-radius:4px; color:var(--ink); text-decoration:none; }
.palettebox li.on a, .palettebox li a:hover { background:var(--panel-2); }
.palettebox .ptype { float:right; margin-left:var(--s-3); color:var(--muted); font-size:var(--t-caption); }
.palettebox li:is(.pnone, .psearching) { padding:var(--s-2); color:var(--muted); }
tr.kbcur > td:first-child { box-shadow:inset 3px 0 0 var(--accent); }
.runchip .dot { width:8px; height:8px; border-radius:50%; background:currentColor; animation:pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.65)} }

/* The content area is the only scroll container, so the scrollbar stays below
   the top bar and beside the content rather than running the full height next
   to the menus. */

/* The content area uses the screen. A cap of 1200px left a third of a wide
   screen empty beside a table squeezed into the rest; 2400px only stops a line
   of a table from becoming unreadably long on the widest displays. */
.mainwrap { padding:var(--s-6) var(--s-6) var(--s-6); max-width:2400px; }

/* Scrollbars. The platform default renders a bright overlay bar that sits hard
   against the tab strip and reads as part of it. These are thin, themed and
   quiet, and the gutter is reserved so content does not shift when one appears. */

pre, .scrollx, aside, select, textarea { scrollbar-width:thin; scrollbar-color:var(--line-2) transparent; }
/* scroll-padding: a field focused under a sticky table head stays clear of it (WCAG 2.4.11, UIKIT-1120 10). */
main { flex:1; min-width:0; min-height:0; overflow:auto; scroll-padding-top:var(--s-7); scrollbar-gutter:stable; scrollbar-width:thin; scrollbar-color:var(--line-2) transparent; }
main::-webkit-scrollbar, pre::-webkit-scrollbar, .scrollx::-webkit-scrollbar { width:11px; height:11px; }
main::-webkit-scrollbar-track, pre::-webkit-scrollbar-track, .scrollx::-webkit-scrollbar-track { background:transparent; }
main::-webkit-scrollbar-thumb, pre::-webkit-scrollbar-thumb, .scrollx::-webkit-scrollbar-thumb {
  background:var(--line-2); border-radius:var(--radius); border:3px solid transparent; background-clip:content-box; }
main::-webkit-scrollbar-thumb:hover, pre::-webkit-scrollbar-thumb:hover, .scrollx::-webkit-scrollbar-thumb:hover {
  background:var(--muted); background-clip:content-box; }
main::-webkit-scrollbar-corner, pre::-webkit-scrollbar-corner { background:transparent; }

/* Typography ------------------------------------------------------------- */
h1 { font-size:var(--t-page); letter-spacing:var(--tr-page); margin:0 0 var(--s-2); font-weight:600;
  display:flex; align-items:center; gap:var(--s-1); }
h2 { font-size:var(--t-block); letter-spacing:var(--tr-block); margin:var(--s-6) 0 var(--s-3); font-weight:600;
  display:flex; align-items:center; gap:var(--s-1); color:var(--ink);
  padding-bottom:var(--s-2); border-bottom:1px solid var(--line); }
h1 .icon { margin-right:var(--s-2); color:var(--accent); }
h2 .icon { margin-right:var(--s-2); color:var(--muted); }
/* A heading immediately after the tab bar or the surface note already has that
   block's gap above it, so it does not add a section gap on top. */
.tabs + h2, .surfacenote + h2, .pagehead + h2 { margin-top:0; }
/* Running text spans the column it sits in, as the tables and panels beside it
   do. A measure in characters made every paragraph stop at its own width, short
   of the table above it on a wide screen and different from its neighbours. */
p.hint { color:var(--muted); margin:0 0 var(--s-5); font-size:var(--t-table); }
  .limits { color:var(--muted); font-size:var(--t-table); padding-left:var(--s-5); }
  .limits li { margin:var(--s-2) 0; }
/* The browser's 1em default differed from every spacing value the console
   uses, so a bare paragraph between two blocks was a gap nobody chose. */
p { margin:0 0 var(--s-3); }
a { color:var(--accent); text-underline-offset:2px; }
/* A link in a list, a table, a block or a control is known by its colour and place, and underlined on hover and focus;
   a link in running prose keeps its underline, so it is never told apart by colour alone (UI-1114 1.5). */
main a { text-decoration:none; }
main a:is(:hover, :focus-visible) { text-decoration:underline; }
main :is(p, .hint, .alert, .notice, .warnbox, .danger, .ok, .note, .demobanner, blockquote, .helpbody, .k-prose) a:not(.btnlink, .k-tag, .gchip, .bare) { text-decoration:underline; }
main a.bare:is(:hover, :focus-visible) { text-decoration:underline; }
/* A link in a box of a tone reads in the text colour, so it holds its contrast on every tint (UI-1115b C): underlined in a
   sentence, and in the accent drawn toward the text colour where it stands alone. */
main :is(.warnbox, .danger, .ok, .note) a:not(.btnlink, .k-tag, .gchip, .bare) { color:var(--ink); text-decoration:underline; }
main :is(.warnbox, .danger, .ok, .note) a.bare { color:var(--ink); }
.muted { color:var(--muted); }
/* The architecture drawing. Zones by where they sit, links by whether they are encrypted. */
.archwrap { overflow-x:auto; }
.archsvg { max-width:100%; height:auto; }
.archsvg .arch-zone { fill:var(--panel-2); stroke:var(--accent); stroke-width:1.5; }
.archsvg .k-internet, .archsvg .k-partner, .archsvg .k-saas { stroke:var(--high); }
.archsvg .k-internal, .archsvg .k-office { stroke:var(--low); }
.archsvg .arch-name { font-size:var(--t-caption); fill:var(--ink); }
.archsvg .arch-kind { font-size:var(--t-label); fill:var(--muted); }
.archsvg .arch-link { fill:none; stroke:var(--muted); stroke-width:1.5; }
.archsvg .arch-link.plain { stroke:var(--crit); stroke-dasharray:6 4; }
.archsvg .arch-linktext { font-size:var(--t-label); fill:var(--ink); paint-order:stroke; stroke:var(--panel); stroke-width:3px; }
.archsvg .arch-arrow { fill:var(--muted); }
/* The registered country of an address, drawn by the emoji font of the system. See ipcountry.ts. */
.ipflag { margin-left:.35em; font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; font-size:var(--t-body); line-height:1; cursor:default; font-style:normal; white-space:nowrap; }
img.ipflag { width:16px; height:12px; vertical-align:-1px; border-radius:2px; box-shadow:0 0 0 1px var(--border); object-fit:cover; }
/* Sized from the text around it rather than fixed, so an address in a
   sentence, a table or a heading matches its line. */
code { background:var(--panel-2); padding:var(--s-1) var(--s-2); border-radius:5px; font-size:var(--t-table);
  border:1px solid var(--line); font-family:var(--mono); }
pre { background:#0b0f14; color:var(--nav-ink); padding:var(--s-3) var(--s-3); border-radius:var(--radius); overflow:auto;
  margin:0 0 var(--s-3);
  font-size:var(--t-caption); line-height:1.55; border:1px solid #1b232e;
  font-family:var(--mono); }

/* Tables ----------------------------------------------------------------- */
table { border-collapse:separate; border-spacing:0; width:100%; background:var(--panel); font-size:var(--t-table);
  /* clip and not hidden: hidden makes the table a scroll container, which both
     cut a wide table off at its right edge and stopped a sticky header. */
  border:1px solid var(--line); border-radius:var(--radius); overflow:clip; box-shadow:var(--shadow);
  /* A table had no bottom margin at all, so whatever followed it sat against
     it or was held off only by its own top margin, which differed per page. */
  margin:0 0 var(--s-5); }
/* A row that holds a control centres every cell, so a text sits on the line of the field, select or button beside
   it; a row of text alone keeps its cells at the top for one that runs to several lines (POLISH-1111 Part 2c). */

/* Compact density. A long findings list is read by scanning, and 11px of
   padding per row is 40% of the screen on a table of 20 rows. */
/* Compact density. It used to restyle table rows, the body font and the cards
   and nothing else, so a page of panels and headings looked identical before
   and after and the control read as broken. It moves the spacing scale now, so
   it reaches every gap on every page, and then tightens the components whose
   padding is their own. */
:root[data-density="compact"] { --density:.75; }
:root[data-density="compact"] body { font-size:var(--t-table); }
:root[data-density="compact"] .why { margin-top:var(--s-1); font-size:var(--t-label); }
:root[data-density="compact"] .score { padding:var(--s-3) var(--s-3); gap:var(--s-3) var(--s-5); }
:root[data-density="compact"] .hero { gap:var(--s-2); }
:root[data-density="compact"] .mainwrap { padding:var(--s-3) var(--s-5) var(--s-6); }
:root[data-density="compact"] h2 { padding-bottom:var(--s-2); }
:root[data-density="compact"] .fold .foldbody { padding:var(--s-1) var(--s-3) var(--s-2); }
:root[data-density="compact"] .empty { padding:var(--s-3); }
:root[data-density="compact"] pre { padding:var(--s-2) var(--s-3); }
/* A row label on the last row loses the header rule with its cells. A header
   row, which holds no cells, keeps it. */

/* The email fraud card heads each row with its check for a screen reader, and keeps the look of a plain cell. */
.becard th[scope=row] { background:transparent; font-weight:inherit; font-size:inherit; white-space:normal; border-bottom:1px solid var(--line); }
.becard tr:last-child th[scope=row] { border-bottom:0; }
/* A long list keeps its column headings in view, on every table of records:
   a fact sheet's headings are its row labels and stay where they are. Only a row
   of headings sticks: a first row that opens with a label (KEV, or the 5 of the
   heat map) pinned that label over the rows below it. */

/* A table of label/value pairs is a different thing from a table of records and
   shared its style, so the label column took half the page and its uppercase
   heading read as a column header over one cell. The label column is as wide as
   its label, and a hover highlight means nothing on a fact sheet. */
/* Fixed layout, because a value cell decides its own width otherwise and one
   of them always wins. The evidence cell holds a <pre>, whose white-space is
   "pre" and whose intrinsic width is therefore its longest line: a certificate
   name list made the table 108px wider than the content area and put a
   horizontal scrollbar across the foot of every finding page. Overflow on the
   <pre> does not help, because an auto-layout table sizes to content before
   the scroll container ever applies. */
table.kv { table-layout:fixed; }
table.kv.narrowkv th { width:96px; }
/* A Greek label runs longer: "Προγραμματισμένες" alone is wider than the
   English column, and a fixed layout drew it over the value beside it. So the
   column is wider in Greek, and a word that still does not fit is hyphenated. */

@media (min-width:701px) { :lang(el) table.kv.narrowkv th { width:120px; } }
/* 184 px holds the console's longest English labels on one line (Median time to report, What the drill showed),
   which wrapped at 152 (the review of 2026-11-28). */
table.kv th { width:184px; white-space:normal;
  background:var(--panel-2); border-right:1px solid var(--line); }
table.kv tr:hover td { background:transparent; }
/* A value cell holds whatever the scan returned, and some of it is one token
   with nowhere to break: a finding id, a URL, a certificate's name list. An
   auto-layout table cannot shrink below its widest unbreakable token, so one
   of those stretched the table past the content area and put a horizontal
   scrollbar across the foot of the page. The cell breaks instead. */
table.kv td { width:auto; overflow-wrap:break-word; }
/* In the overview's side column a label column of 96px wrapped every label to
   two lines ("Configured / depth") beside a value wrapped to three. There each
   row is a label over its value, as a details sidebar reads. */
.sidestack table.kv.narrowkv tbody, .sidestack table.kv.narrowkv th, .sidestack table.kv.narrowkv td { display:block; width:auto; }
.sidestack table.kv.narrowkv { display:block; width:auto; border:0; }
.sidestack table.kv.narrowkv tr { display:block; width:auto; padding:var(--s-2) 0; border-top:1px solid var(--line); }
.sidestack table.kv.narrowkv tr:first-child { border-top:0; }
.sidestack table.kv.narrowkv th { background:none; border:0; padding:0 0 var(--s-1); color:var(--muted);
  font-size:var(--t-label); font-weight:400; }
.sidestack table.kv.narrowkv td { border:0; padding:0; }

td a { text-decoration:none; }
/* A code element inside a block is part of the block, not a chip of its own. */
pre code { background:none; border:0; padding:0; font-size:inherit; color:inherit; border-radius:0; }
pre.updlog, .updlog pre { max-height:16rem; overflow:auto; }
td code { background:transparent; border:0; padding:0; color:var(--muted); overflow-wrap:anywhere; }
/* A host cell breaks a name only at the dots, colons and slashes marked with
   <wbr> (hostBreak), never mid-label, so it stays whole where the column has
   room and a wider neighbour column gives up its slack instead. */
td.hostc code { overflow-wrap:normal; word-break:keep-all; }
/* An identifier never breaks inside itself: a vulnerability id, a template id,
   a file path (keepIdsWhole). */
.id, code.id, td code.id { white-space:nowrap; overflow-wrap:normal; word-break:normal; }
/* The portfolio packs eleven columns: tighter gutters and single-line dates,
   counts and grades let it fit 1440 without a sideways scroll, and the client
   name keeps a minimum width so it never wraps to three lines. */

/* The notification matrix has a column per channel and is wider than the page
   in both languages (more so in Greek), so it scrolls inside itself. The event
   column stays pinned to the left, and a shadow on the right edge shows there
   is more: a channel off-screen must never read as a channel carrying nothing.
   The shadow rides at the right until the end is reached, when the panel cover
   hides it. */
/* A wide table whose rows are named by their first cell keeps that cell in view
   while it scrolls sideways. The Greek portfolio needs about 1,320px for its 11
   columns and has 1,123 at 1440, so it scrolls; without this the client's name
   left with the first column and a row read as a run of figures for nobody. */
.notifymatrix tr:not(.grouphead) > :first-child { position:sticky; left:0; z-index:1; background:var(--panel); }
.notifymatrix tr:first-child > :first-child { z-index:3; }
table.stickyfirst tr > :first-child { position:sticky; left:0; z-index:1; background:var(--panel); }
table.stickyfirst tr:first-child > :first-child { z-index:3; }
/* The header cell of a pinned first column keeps the header's band, as every other table header has it, rather than
   the panel colour its column takes (the notification matrix read a white corner, POLISH-1111 Part 6). */
.notifymatrix tr:first-child > th:first-child, table.stickyfirst tr:first-child > th:first-child { background:var(--panel-2); }
/* Any table that does not fit (the script marks it .wide) carries the scroll
   shadow at every width, not only on a phone: at 1440 the Greek portfolio and
   the notification matrix ended at a cut column with nothing to say more sat
   past the edge. The panel-coloured covers ride with the content and hide the
   shadow at an edge that is fully reached, so it shows only on the side with
   more (H8#52, H8#53). */
main table.wide:not(.kv) {
  background:
    linear-gradient(90deg, var(--panel) 32%, transparent) 0 0 / 36px 100% no-repeat local,
    linear-gradient(90deg, transparent, var(--panel) 68%) 100% 0 / 36px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, var(--scroll-shade), transparent) 0 0 / 15px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, var(--scroll-shade), transparent) 100% 0 / 15px 100% no-repeat scroll,
    var(--panel); }
/* The board's By source table stacks into a card per source on a phone, with
   the worst-finding badge pinned beside the source name, so the one figure the
   table exists to show is never behind a sideways scroll. */
@media (max-width:480px) {
  table.boardsrc { width:100%; overflow:visible; background:none; }
  table.boardsrc tr:first-child { display:none; }
  table.boardsrc td:first-child { font-weight:600; padding-right:3.6em; }
  table.boardsrc td.worst { position:absolute; top:var(--s-2); right:var(--s-2); padding:0; }
}
/* The issue is what a row is read for, so it keeps room for a title on one or
   two lines; the owner and its edit control sit on one line. */
td.issuecell { min-width:12rem; }
/* A free-text cell in a table that scrolls keeps the width of a phrase: the
   table shrank every wrappable cell to its longest word, one word per line. */
td.prose { min-width:12rem; }
/* One published check fires once per service, so a risk-sorted list stacks rows
   whose title and template id are identical and differ only by host. The title
   on a row that repeats the one above it is dimmed so the eye lands on the host
   that distinguishes it; the text stays in place for a reader and for copy. */
td.issuecell.rep a { opacity:.42; }
td.issuecell.rep .sm code { opacity:.42; }
/* The title and its preview control are one row, so the control pins to the
   first line of the title rather than orphaning onto a line of its own when the
   title wraps on a narrow screen. */

td.ownercell { white-space:nowrap; } td.ownercell details.inlineedit { display:inline-block; vertical-align:middle; margin-left:var(--s-1); }
/* An opened owner edit drops under the name inside its cell, instead of running
   the unbreakable line on over the next column. */

td.ownercell > details.inlineedit[open] { display:block; margin:var(--s-1) 0 0; }
td.num { text-align:right; color:var(--muted); white-space:nowrap; }
/* A heading sits over its column, so it aligns the way the column does. */
th.num { text-align:right; }
/* A column sorted as a number is a column of numbers: its heading and its
   cells sit right, whether or not each cell was marked (UX-1110 0b). */
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(1)[data-sort="num"]):not(:has(td:nth-child(1) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(1):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(2)[data-sort="num"]):not(:has(td:nth-child(2) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(2):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(3)[data-sort="num"]):not(:has(td:nth-child(3) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(3):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(4)[data-sort="num"]):not(:has(td:nth-child(4) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(4):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(5)[data-sort="num"]):not(:has(td:nth-child(5) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(5):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(6)[data-sort="num"]):not(:has(td:nth-child(6) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(6):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(7)[data-sort="num"]):not(:has(td:nth-child(7) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(7):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(8)[data-sort="num"]):not(:has(td:nth-child(8) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(8):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(9)[data-sort="num"]):not(:has(td:nth-child(9) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(9):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(10)[data-sort="num"]):not(:has(td:nth-child(10) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(10):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(11)[data-sort="num"]):not(:has(td:nth-child(11) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(11):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(12)[data-sort="num"]):not(:has(td:nth-child(12) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(12):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(13)[data-sort="num"]):not(:has(td:nth-child(13) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(13):not([colspan]),
table:where(:not(.k-cards)):has(tr:first-child > th:nth-child(14)[data-sort="num"]):not(:has(td:nth-child(14) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > :is(td, th):nth-child(14):not([colspan]) { text-align:right; }
.nowrap { white-space:nowrap; }

/* Sort control for the findings list: a light segmented row, not a dropdown,
   so the current order is visible without opening anything. */
/* A section folded until it is wanted. The marker is drawn by the rule rather
   than the browser default, so it is the same glyph in every engine. */
.fold { padding:var(--s-4); border:1px solid var(--line); border-radius:var(--radius); background:var(--panel);
  margin:0 0 var(--s-2); }
.fold > summary { margin:calc(-1 * var(--s-4)); cursor:pointer; list-style:none; padding:var(--s-2) var(--s-3); font-size:var(--t-body);
  display:flex; align-items:center; gap:var(--s-2); color:var(--ink); }
.fold > summary::-webkit-details-marker { display:none; }
.fold > summary::before { content:"›"; display:inline-block; color:var(--muted); font-size:var(--t-body);
  line-height:1; transition:transform .15s ease; }
.fold[open] > summary::before { transform:rotate(90deg); }
.fold > summary:hover { background:var(--panel-2); border-radius:var(--radius); }
.fold .foldbody { margin:0 calc(-1 * var(--s-4)) calc(-1 * var(--s-4)); padding:var(--s-1) var(--s-3) var(--s-3); border-top:1px solid var(--line); }
.fold .foldbody > h2:first-child { margin-top:var(--s-3); }

/* The surface switch: a segmented control, above the tabs, because it changes
   what every tab below it means. */
/* The header (UX-1110 Part 4): the title with its ? and the page's controls and one action on one row, one line of
   description under it, then the tabs. */
.pagehead { margin:0 0 var(--s-3); }
.pagetitle { display:flex; align-items:center; justify-content:space-between; gap:var(--s-3); min-height:var(--ctl-h); }
.pagetitle .titleleft { display:flex; align-items:center; gap:var(--s-2); min-width:0; }
.pagetitle h1 { margin:0; min-width:0; overflow-wrap:break-word; }
.pagetitle .pageactions { flex:0 0 auto; flex-wrap:nowrap; }
.pagehead p.subtitle { margin:var(--s-1) 0 0; color:var(--muted); font-size:var(--t-table); max-width:72ch; }
/* Sits directly under the tabs, so it pulls back against the tabs' own gap and
   then gives the standard one below itself. */
.cveverdict { font-size:var(--t-body); margin:0 0 var(--s-3); }
.cveevidence li { margin-bottom:var(--s-2); }
.surfacenote { color:var(--muted); font-size:var(--t-caption); margin:calc(var(--s-5) * -1 + var(--s-2)) 0 var(--s-5); }
/* A form the signed-in role cannot send: its values stay readable, its buttons go. See withRole. */
form[data-ro] button, form[data-ro] input[type=submit] { display:none; }
.rolenote { margin:0 0 var(--s-5); }
/* A table that scrolls as a block still fills its width when columns are hidden. */

.rowout { display:none !important; }

/* Sortable columns. The whole heading is the control, so the hit area is the
   column label. The indicator is on the header cell itself through aria-sort,
   which is also what a screen reader reads, so the two cannot disagree. */
table.sortable th[data-sort] { cursor:pointer; user-select:none; white-space:nowrap; }
/* A table of many counted columns lets its headings wrap, so it fits the page
   instead of hiding its last columns past the edge. */

table.wraphead th { white-space:normal; }
table.sortable th[data-sort]:hover,
table.sortable th[data-sort]:focus-visible { color:var(--ink); }
/* The arrow shows on the sorted column, and on another only while it is
   hovered or focused (UX-1110 0b): an arrow on every header was noise. */

table.sortable th[aria-sort] { color:var(--accent); }
/* A right-aligned heading carries its arrow before its text, so the text ends
   where the values end (UX-1110 Part 3b): after it, the hidden arrow kept the
   heading 10 pixels short of its column. */
table.sortable th:is(.num, .k-date)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(1)[data-sort="num"]):not(:has(td:nth-child(1) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(1)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(2)[data-sort="num"]):not(:has(td:nth-child(2) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(2)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(3)[data-sort="num"]):not(:has(td:nth-child(3) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(3)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(4)[data-sort="num"]):not(:has(td:nth-child(4) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(4)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(5)[data-sort="num"]):not(:has(td:nth-child(5) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(5)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(6)[data-sort="num"]):not(:has(td:nth-child(6) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(6)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(7)[data-sort="num"]):not(:has(td:nth-child(7) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(7)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(8)[data-sort="num"]):not(:has(td:nth-child(8) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(8)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(9)[data-sort="num"]):not(:has(td:nth-child(9) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(9)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(10)[data-sort="num"]):not(:has(td:nth-child(10) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(10)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(11)[data-sort="num"]):not(:has(td:nth-child(11) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(11)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(12)[data-sort="num"]):not(:has(td:nth-child(12) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(12)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(13)[data-sort="num"]):not(:has(td:nth-child(13) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(13)[data-sort]::after,
table.sortable:has(tr:first-child > th:nth-child(14)[data-sort="num"]):not(:has(td:nth-child(14) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(14)[data-sort]::after { content:none; }
table.sortable th:is(.num, .k-date)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(1)[data-sort="num"]):not(:has(td:nth-child(1) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(1)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(2)[data-sort="num"]):not(:has(td:nth-child(2) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(2)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(3)[data-sort="num"]):not(:has(td:nth-child(3) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(3)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(4)[data-sort="num"]):not(:has(td:nth-child(4) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(4)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(5)[data-sort="num"]):not(:has(td:nth-child(5) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(5)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(6)[data-sort="num"]):not(:has(td:nth-child(6) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(6)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(7)[data-sort="num"]):not(:has(td:nth-child(7) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(7)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(8)[data-sort="num"]):not(:has(td:nth-child(8) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(8)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(9)[data-sort="num"]):not(:has(td:nth-child(9) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(9)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(10)[data-sort="num"]):not(:has(td:nth-child(10) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(10)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(11)[data-sort="num"]):not(:has(td:nth-child(11) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(11)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(12)[data-sort="num"]):not(:has(td:nth-child(12) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(12)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(13)[data-sort="num"]):not(:has(td:nth-child(13) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(13)[data-sort]::before,
table.sortable:has(tr:first-child > th:nth-child(14)[data-sort="num"]):not(:has(td:nth-child(14) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(14)[data-sort]::before { content:"↕"; margin-right:var(--s-1); font-size:var(--t-label); opacity:0; }
table.sortable th:is(.num, .k-date)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(1)[data-sort="num"]):not(:has(td:nth-child(1) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(1)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(2)[data-sort="num"]):not(:has(td:nth-child(2) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(2)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(3)[data-sort="num"]):not(:has(td:nth-child(3) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(3)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(4)[data-sort="num"]):not(:has(td:nth-child(4) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(4)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(5)[data-sort="num"]):not(:has(td:nth-child(5) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(5)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(6)[data-sort="num"]):not(:has(td:nth-child(6) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(6)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(7)[data-sort="num"]):not(:has(td:nth-child(7) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(7)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(8)[data-sort="num"]):not(:has(td:nth-child(8) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(8)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(9)[data-sort="num"]):not(:has(td:nth-child(9) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(9)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(10)[data-sort="num"]):not(:has(td:nth-child(10) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(10)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(11)[data-sort="num"]):not(:has(td:nth-child(11) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(11)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(12)[data-sort="num"]):not(:has(td:nth-child(12) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(12)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(13)[data-sort="num"]):not(:has(td:nth-child(13) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(13)[data-sort]:hover::before,
table.sortable:has(tr:first-child > th:nth-child(14)[data-sort="num"]):not(:has(td:nth-child(14) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(14)[data-sort]:hover::before, table.sortable th:is(.num, .k-date)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(1)[data-sort="num"]):not(:has(td:nth-child(1) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(1)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(2)[data-sort="num"]):not(:has(td:nth-child(2) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(2)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(3)[data-sort="num"]):not(:has(td:nth-child(3) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(3)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(4)[data-sort="num"]):not(:has(td:nth-child(4) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(4)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(5)[data-sort="num"]):not(:has(td:nth-child(5) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(5)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(6)[data-sort="num"]):not(:has(td:nth-child(6) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(6)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(7)[data-sort="num"]):not(:has(td:nth-child(7) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(7)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(8)[data-sort="num"]):not(:has(td:nth-child(8) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(8)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(9)[data-sort="num"]):not(:has(td:nth-child(9) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(9)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(10)[data-sort="num"]):not(:has(td:nth-child(10) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(10)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(11)[data-sort="num"]):not(:has(td:nth-child(11) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(11)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(12)[data-sort="num"]):not(:has(td:nth-child(12) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(12)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(13)[data-sort="num"]):not(:has(td:nth-child(13) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(13)[data-sort]:focus-visible::before,
table.sortable:has(tr:first-child > th:nth-child(14)[data-sort="num"]):not(:has(td:nth-child(14) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(14)[data-sort]:focus-visible::before { opacity:.6; }
table.sortable th:is(.num, .k-date)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(1)[data-sort="num"]):not(:has(td:nth-child(1) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(1)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(2)[data-sort="num"]):not(:has(td:nth-child(2) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(2)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(3)[data-sort="num"]):not(:has(td:nth-child(3) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(3)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(4)[data-sort="num"]):not(:has(td:nth-child(4) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(4)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(5)[data-sort="num"]):not(:has(td:nth-child(5) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(5)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(6)[data-sort="num"]):not(:has(td:nth-child(6) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(6)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(7)[data-sort="num"]):not(:has(td:nth-child(7) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(7)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(8)[data-sort="num"]):not(:has(td:nth-child(8) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(8)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(9)[data-sort="num"]):not(:has(td:nth-child(9) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(9)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(10)[data-sort="num"]):not(:has(td:nth-child(10) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(10)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(11)[data-sort="num"]):not(:has(td:nth-child(11) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(11)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(12)[data-sort="num"]):not(:has(td:nth-child(12) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(12)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(13)[data-sort="num"]):not(:has(td:nth-child(13) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(13)[data-sort][aria-sort="ascending"]::before,
table.sortable:has(tr:first-child > th:nth-child(14)[data-sort="num"]):not(:has(td:nth-child(14) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(14)[data-sort][aria-sort="ascending"]::before { content:"↑"; opacity:1; }
table.sortable th:is(.num, .k-date)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(1)[data-sort="num"]):not(:has(td:nth-child(1) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(1)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(2)[data-sort="num"]):not(:has(td:nth-child(2) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(2)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(3)[data-sort="num"]):not(:has(td:nth-child(3) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(3)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(4)[data-sort="num"]):not(:has(td:nth-child(4) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(4)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(5)[data-sort="num"]):not(:has(td:nth-child(5) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(5)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(6)[data-sort="num"]):not(:has(td:nth-child(6) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(6)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(7)[data-sort="num"]):not(:has(td:nth-child(7) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(7)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(8)[data-sort="num"]):not(:has(td:nth-child(8) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(8)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(9)[data-sort="num"]):not(:has(td:nth-child(9) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(9)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(10)[data-sort="num"]):not(:has(td:nth-child(10) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(10)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(11)[data-sort="num"]):not(:has(td:nth-child(11) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(11)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(12)[data-sort="num"]):not(:has(td:nth-child(12) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(12)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(13)[data-sort="num"]):not(:has(td:nth-child(13) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(13)[data-sort][aria-sort="descending"]::before,
table.sortable:has(tr:first-child > th:nth-child(14)[data-sort="num"]):not(:has(td:nth-child(14) :is(.pill, .status, .tag, .flag, .gchip, .disc, .risk))) tr > th:nth-child(14)[data-sort][aria-sort="descending"]::before { content:"↓"; opacity:1; }
.sortbar { display:flex; align-items:center; gap:var(--s-1); margin:0 0 var(--s-3); flex-wrap:wrap; }
.sortbar .k { color:var(--muted); font-size:var(--t-label); margin-right:var(--s-2); }
/* The count a filter chip carries. It sits beside a value that is itself a
   number, so "80" and its count of 5 rendered as "80 5", which reads as 805.
   The chip's own background is what separates the two. */
.sortbar .cnt { margin-left:var(--s-2); color:var(--muted); }

/* Saved views: a named filter per chip, carrying the count it matches, with a
   forget control that only shows on hover so the row stays quiet. */

details.assignfold, details.techfold { margin:var(--s-1) 0; }
details.assignfold > summary, details.techfold > summary { cursor:pointer; color:var(--accent); font-size:var(--t-caption); }
/* A chip is written two ways. A saved view is a container with the link inside
   it, because it also carries a forget control. A plan's finding is a bare
   link. Both spellings are in use, and the plan's inherited the container's
   border and none of the link rules, so it rendered as an underlined link
   crammed into a pill. The rules apply to both. */
/* A run of chips wraps between chips and never inside one, so an address
   does not break across two lines and a chip does not wrap into an oval. */
.chips a.k-tag { margin:0 var(--s-2) var(--s-1) 0; }
/* A row of chips as a nav of its own is held off the table under it. */
nav.chips { display:flex; flex-wrap:wrap; align-items:center; margin:0 0 var(--s-3); }
/* Bare chips sit in a paragraph, so they need their own rhythm. */

.saveview { display:flex; gap:var(--s-2); align-items:center; margin-left:auto; }
.saveview input { width:170px; }
@media (max-width:760px) { .saveview { margin-left:0; width:100%; } .saveview input { flex:1; width:auto; } }

/* The fan: one address, the names that resolve to it. */
.fanwrap { overflow-x:auto; }
.fan { display:block; }
.fan .fanedge path { fill:none; stroke:var(--line-2); stroke-width:1.1; }
.fan .fannode { fill:var(--accent-weak); stroke:var(--accent); stroke-width:1; }
.fan .fanaddr { fill:var(--accent); font-size:var(--t-label);
  font-family:var(--mono); }
.fan .fanname { fill:var(--muted); font-size:var(--t-label); }
.fan a:hover .fanname { fill:var(--ink); text-decoration:underline; }
.fan a:hover .fannode { fill:color-mix(in srgb,var(--accent) 26%,var(--panel));
  stroke-width:1.6; }
.fan a:hover .fanaddr { fill:var(--ink); }
.fanwrap > .k b { margin-left:var(--s-2); font-size:var(--t-label); font-weight:400; color:var(--muted);
  background:var(--panel-3); border-radius:999px; padding:var(--s-1) var(--s-2); text-transform:none; }
/* A head that carries a risk disc is the word beside the disc, not a 22px pill
   around a 31px disc. */
.fanwrap > .k b:has(> .rdisc) { display:inline-flex; align-items:center; gap:var(--s-1); padding:0; background:none; }

/* Paths: one column per node type, read left to right as the way in. */
.pathwrap { overflow-x:auto; max-width:100%; }
.pathsvg { display:block; }
.pathsvg .pedge path { fill:none; stroke:var(--line-2); stroke-width:1.1; }
.pathsvg .pedge path.cred { stroke:var(--high); stroke-dasharray:4 3; }
/* An edge that skips a column is a step the graph does not know: dashed, so it
   does not read as passing through the node it crosses. */
.pathsvg .pedge path.skip { stroke-dasharray:3 3; }
.pathsvg .pnode { fill:var(--panel-3); stroke:var(--line-2); stroke-width:1; }
.pathsvg .phead { fill:var(--muted); font-size:var(--t-label); }
.pathsvg .plabel { fill:var(--muted); font-size:var(--t-label); }
.pathsvg a:hover .pnode { stroke:var(--accent); stroke-width:1.6; }
.pathsvg a:hover .plabel { fill:var(--ink); text-decoration:underline; }

/* A run of queue rows that are one decision. */

/* An address reads as one token: broken at its dots it read as three numbers. */
td > code[data-hostcard] { white-space:nowrap; }
/* A name a person gave a run, under its type in History. */
.runlabel { margin-top:var(--s-1); overflow-wrap:anywhere; }
/* A DNS chain wraps between steps, never inside a name. */
.dnschain { display:inline-flex; flex-wrap:wrap; gap:var(--s-1); align-items:baseline; }
.evfold > summary { cursor:pointer; color:var(--accent); font-size:var(--t-caption); margin:var(--s-1) 0; }

/* A risk score as a coloured disc with the number inside, on the 0 to 10
   scale every risk number in the tool is read on. The colour is the rating's
   band, which uses the severity palette, so an 8.1 is orange wherever it is. */

/* 2.6em with a little tracking, so 10.0 keeps a margin inside its circle. */
.rdisc { display:inline-flex; align-items:center; justify-content:center; width:2.6em; height:2.6em;
  border-radius:50%; font-size:var(--t-label); font-weight:600; font-variant-numeric:tabular-nums;
  background:var(--info); color:var(--sev-ink); flex:none; }
.rdisc.rl-critical { background:var(--crit); color:var(--sev-ink); }
.rdisc.rl-high { background:var(--high); color:var(--high-ink); }
.rdisc.rl-medium { background:var(--med); color:var(--high-ink); }
.rdisc.rl-low { background:var(--low); color:var(--high-ink); }

/* The one thing a page is opened to find, said first and said large. */
.lead { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  padding:var(--s-3) var(--s-3); margin:0 0 var(--s-3); }
.lead > p { margin:0 0 var(--s-2); }
.lead > p:last-child { margin:0; }
.lead .leadaction { font-size:var(--t-body); line-height:1.45; color:var(--ink); }
.lead .leadverify { color:var(--muted); font-size:var(--t-table); }
.lead .leadverify .k { color:var(--muted); font-size:var(--t-label);
 margin-right:var(--s-2); }


/* Panels ----------------------------------------------------------------- */
.panel { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:var(--inset); margin:0 0 var(--s-3); }
/* A panel inside the hero grid is a grid item, so the grid's gap is its spacing
   and a margin would add to it unevenly. */
.hero > .panel, .hero > .chart, .hero > .score { margin:0; }
.panel > .k, .chart > .k { color:var(--muted); font-size:var(--t-label); font-weight:500;
 margin-bottom:var(--s-3); display:block; }

/* A method note folded away: available on the page that shows the number, and
   not in the way of it. */
details.explain { margin-top:var(--s-3); border-top:1px solid var(--line); padding-top:var(--s-2); margin-bottom:var(--s-3); }
details.explain > summary { cursor:pointer; color:var(--muted); font-size:var(--t-caption);
  list-style:none; }
details.explain > summary::-webkit-details-marker { display:none; }
details.explain > summary::before { content:"+ "; }
details.explain[open] > summary::before { content:"- "; }
details.explain > summary:hover { color:var(--muted); }
details.explain p { color:var(--muted); font-size:var(--t-caption); margin:var(--s-2) 0 0; }

/* A version next to its product: readable as a set, clickable individually. */
.verlink { display:inline-block; margin:var(--s-1) var(--s-1) var(--s-1) 0; text-decoration:none; }
.verlink .k-vertag { font-family:var(--mono); }
.verlink:hover .k-vertag { border-color:var(--accent); color:var(--accent); }

/* Pills and badges ------------------------------------------------------- */

/* Severity badges are filled, as Wazuh's are: red, orange, yellow, blue, grey.
   Green is kept for good news, so no severity wears it. Orange and yellow take
   dark text. */
/* Area trend on the posture panel (areatrend.ts): a step line, higher risk higher, the last point in the band of the grade. */
.spark { display:block; overflow:visible; }
.spark path { fill:none; stroke:var(--muted); stroke-width:1.5; stroke-linejoin:round; }
.spark .base { stroke:var(--line); stroke-width:1; }
.spark circle.critical { fill:var(--crit); } .spark circle.high { fill:var(--high); } .spark circle.medium { fill:var(--med); }
.spark circle.low { fill:var(--low); } .spark circle.info { fill:var(--info); }
@media (max-width:520px) { table.posture .trendcol { display:none; } }

/* Forms and buttons ------------------------------------------------------ */
form.inline { display:inline; }
/* Buttons (UX-1110 0b): one component. A button, a button-like link
   (a.btnlink) and a disclosure drawn as one (summary.btnlike) share it.
   Variants: primary (a bare button, or .primary on a link or summary),
   secondary (.sec, and every link or summary not marked primary), ghost
   (.ghost), danger (.warn) and link (.linkbtn). Sizes: small 28 (.sm, and
   every button inside a table cell), default 36 and large 42 (.lg, a page's or
   a dialog's one primary action), each with one horizontal padding. The label
   sits on the centre line through inline-flex, never through padding tuned per
   button: there were 74 rules and nine !importants doing that, four heights
   and a dozen paddings. Every rule here is inside :where(), so a component of
   the kit (an icon button, a copy glyph, a menu's items) that draws a button
   its own way wins without a list of exceptions. */

:where(button, a.btnlink, summary.btnlike) { display:inline-flex; align-items:center; justify-content:center; gap:var(--s-2);
  box-sizing:border-box; height:var(--ctl-h); padding:0 var(--btn-x); margin:0;
  border:1px solid transparent; border-radius:var(--radius-md);
  font-family:inherit; font-size:var(--t-table); font-weight:500; line-height:1; white-space:nowrap; text-decoration:none;
  vertical-align:middle; cursor:pointer; transition:background-color .12s ease,border-color .12s ease,color .12s ease; }
:where(summary.btnlike) { list-style:none; }
:where(summary.btnlike)::-webkit-details-marker { display:none; }
/* Primary: one per page and per panel. */
:where(button) { background:var(--primary); color:var(--primary-ink);
  box-shadow:0 1px 0 rgba(255,255,255,.18) inset, 0 1px 2px rgba(30,27,120,.25); }
:where(button:not(:disabled):hover) { background:color-mix(in srgb,var(--primary) 86%,#000); }
:where(button:not(:disabled):active) { background:color-mix(in srgb,var(--primary) 76%,#000); }
:where(a.btnlink.primary, summary.btnlike.primary) { background:var(--primary); border-color:transparent; }
:where(a.btnlink.primary:hover, summary.btnlike.primary:hover) { background:color-mix(in srgb,var(--primary) 86%,#000); }
/* Its label colour at the specificity of a link rule, so a link colour (a page’s main a) never paints the label in the
   accent it sits on: Open report and Local sweep read 1:1 (POLISH-1111 Part 6). */
a.btnlink.primary, a.btnlink.primary:hover, summary.btnlike.primary { color:var(--primary-ink); }
/* Secondary: an outline, what most controls on a page are. */
:where(button.sec, a.btnlink:not(.primary, .ghost, .warn), summary.btnlike:not(.primary, .ghost, .warn)) {
  background:var(--panel); border-color:var(--line-2); color:var(--ink); box-shadow:var(--shadow-sm); }
:where(button.sec:not(:disabled):hover, a.btnlink:not(.primary, .ghost, .warn):hover, summary.btnlike:not(.primary, .ghost, .warn):hover) {
  background:var(--panel-2); border-color:var(--muted); color:var(--ink); }
/* A row's button is secondary: one primary per page and per panel (UX-1110 Part 4), and a list of rows each with a
   filled button had as many as it had rows. */
:where(td button:not(.primary, .ghost, .warn, .linkbtn, .copy, .helptip, .iconbtn, .x, [role=menuitem])) {
  background:var(--panel); border-color:var(--line-2); color:var(--ink); box-shadow:var(--shadow-sm); }
:where(td button:not(.primary, .ghost, .warn, .linkbtn, .copy, .helptip, .iconbtn, .x, [role=menuitem]):not(:disabled):hover) {
  background:var(--panel-2); border-color:var(--muted); color:var(--ink); }
/* Ghost: no border until hovered, for a toolbar's quiet actions. */
:where(button.ghost, a.btnlink.ghost, summary.btnlike.ghost) { background:transparent; border-color:transparent; box-shadow:none; color:var(--muted); }
:where(button.ghost:not(:disabled):hover, a.btnlink.ghost:hover, summary.btnlike.ghost:hover) { background:var(--panel-2); color:var(--ink); }
/* Danger. */
:where(button.warn, a.btnlink.warn) { background:var(--bad); color:var(--bad-ink); border-color:transparent; }
:where(button.warn:not(:disabled):hover, a.btnlink.warn:hover) { background:color-mix(in srgb,var(--bad) 86%,#000); }
/* Link: a form button that reads as a link (switching workspace is a POST). */
/* A button drawn as a link is still a target of 24 px (WCAG 2.5.8, UIKIT-1120 10): its line is 24 high, never a
   height of its own (controlsize). */
:where(button.linkbtn) { display:inline; height:auto; padding:0; border:0; border-radius:0; background:none; box-shadow:none;
  color:var(--accent); font:inherit; line-height:24px; text-align:left; white-space:normal; }
:where(button.linkbtn:hover) { background:none; text-decoration:underline; }
/* Disabled keeps its own look, faded. */
:where(button:disabled) { opacity:.4; cursor:not-allowed; }
/* Sizes. */
:where(button.sm, a.btnlink.sm, summary.btnlike.sm, .pager button, button.copy, button.preset, .btnrow.presets .preset,
  td button:not(.linkbtn), td a.btnlink, td summary.btnlike) { height:var(--ctl-sm); padding:0 var(--btn-x-sm); font-size:var(--t-caption); }
:where(button.lg, a.btnlink.lg, summary.btnlike.lg) { height:var(--ctl-lg); padding:0 var(--btn-x-lg); font-size:var(--t-body); }
/* On a narrow phone a long label wraps rather than push the page sideways, the
   default height its floor. A control in a table and the small kit stay on one line. */
@media (max-width:420px) { :where(main button:not(.sm, .copy, .linkbtn), main summary.btnlike:not(.sm)):not(td *, .pager *) { white-space:normal; height:auto; min-height:var(--ctl-h); max-width:100%; padding-block:var(--s-2); line-height:1.25; } }
/* A maturity score against the scale's top of 5, its target a tick. */
.matbar { display:inline-block; position:relative; width:120px; height:8px; background:var(--panel-2); border-radius:4px; vertical-align:middle; }
.mattable td:first-child { white-space:nowrap; }
/* As wide as its longest option, so the column fits "Partly implemented". */
.mattable select { width:auto; min-width:11em; }
table.firstwide td:first-child { min-width:12em; }
.copy.draftcopy { opacity:1; border:1px solid var(--line-2); background:var(--panel); box-shadow:var(--shadow-sm); color:var(--ink); font-family:inherit; height:var(--ctl-h); padding:0 var(--btn-x); font-size:var(--t-table); }
.copy.draftcopy.sm { height:var(--ctl-sm); }
/* A light box, so its text is the ink of the page and not the pale grey of the dark code block. */
pre.draft { white-space:pre-wrap; word-break:break-word; background:var(--panel-2); color:var(--ink); border:1px solid var(--line); border-radius:7px; padding:var(--inset); font-size:var(--t-caption); }
/* The tabletop clock: an inject not yet reached is dimmed, the clock stays in view. */
.inject { scroll-margin-top:calc(var(--ctl-h) + var(--s-5)); }
.inject.later { opacity:.5; }
.ttclock { position:sticky; top:0; z-index:2; background:var(--bg); padding:var(--s-2) 0; }
.ttclock #tt-clock { font-family:var(--mono, monospace); font-size:var(--t-body); }
.mattable td:nth-child(2) { min-width:16em; }
.btnrow { display:flex; flex-wrap:wrap; gap:var(--s-2); align-items:center; margin:var(--s-3) 0 var(--s-5); }
.btnrow.presets { gap:var(--s-2); margin:var(--s-2) 0 0; }
/* Anything placed in a row sits on the row's centre line. A label carries a
   block margin for the stacked form layout, which pushed it off the line of
   the buttons and selects beside it. */
.btnrow > label, .btnrow > .inlinelabel, .btnrow > span, .btnrow > a, .btnrow > input { margin:0; }
.btnrow > select { margin:0; width:auto; }
/* A row inside a row (a one-button form beside a button, a finding's Move up) is a part of the row: its own margins
   put it 6 px off the line of the buttons beside it and left a gap under the card. A row that ends its box leaves the
   space under it to the box's own padding. */
.btnrow > :is(.btnrow, form) { margin:0; }
.btnrow:last-child { margin-bottom:0; }
/* A label holding a field in a row sits on the line of the row with its field
   beside it, at the width of the field, whatever the length of its text. */

.btnrow > label > :is(input, select) { width:auto; }
.btnrow.presets .preset { padding:var(--s-1) var(--s-2); font-size:var(--t-label); }
/* Controls share the interface face. Every text input was monospace, so a
   filter row rendered its two inputs in one typeface and its five selects in
   another, side by side at the same size. A textarea keeps the monospace,
   because what goes in one here is a list of domains or CIDR ranges read
   column by column. */
input[type=text],input:not([type]),input[type=search],input[type=password],input[type=date],input[type=datetime-local],input[type=month],input[type=number],input[type=email],input[type=url],input[type=tel],textarea,select { width:100%; max-width:560px;
  border:1px solid var(--line-2); border-radius:7px; padding:var(--s-2) var(--s-2); background:var(--panel); color:var(--ink);
  font-family:inherit; font-size:var(--t-table); line-height:1.5; }
input[type=text],input:not([type]),input[type=search],input[type=password],input[type=date],input[type=datetime-local],input[type=month],input[type=number],input[type=email],input[type=url],input[type=tel],select {
  height:var(--ctl-h); padding-top:0; padding-bottom:0; }
/* Prose is written in the body face (UX-1110 Part 3); a field that holds code says so with .code. */

textarea.code, input.code { font-family:var(--mono); }
/* A field the browser filled keeps the page's colours: its own autofill colour clashes with both themes. */

input:autofill { background:var(--panel); color:var(--ink); }
/* A secret field is as wide as any other, so a form of mixed fields lines up. */
input[type=date],input[type=datetime-local],input[type=month] { max-width:240px; }
/* Accessibility review, 5 November 2026: the 18% halo and a one-pixel border fell
   below the 3:1 a focus indicator needs against the page (WCAG 1.4.11), and a date
   field showed neither. A field reached by keyboard carries the shared ring. */

/* Tab moves between a date field's own parts, and there the field no longer matches :focus, so its ring went out half way through it. */
input[type=date]:focus-within,input[type=datetime-local]:focus-within,input[type=month]:focus-within { outline:2px solid var(--accent); outline-offset:1px; border-color:var(--accent); }
/* A short, fixed set of options, where the choice has a cost worth reading
   before it is made. A select hides every option but one behind a click, which
   is the wrong control when the comparison is the decision. */
.choices { display:grid; gap:var(--s-2); margin:0 0 var(--s-3); max-width:560px; }
/* A range (minimum, most likely, maximum) is one row of three fields. */
.choices.range3 { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; }
@media (max-width:560px) { .choices.range3 { grid-template-columns:1fr; } }
.pagemarks { list-style:none; margin:0 0 var(--s-3); padding:var(--s-2) var(--s-3); border:1px solid var(--line); border-radius:var(--radius); background:var(--panel); display:grid; gap:var(--s-2); }
.pagemarks li { display:flex; align-items:baseline; gap:var(--s-2); }
/* The dot is sized here: the menu and the tabs size theirs and this list did not. */

/* One form layout: a label above its field, the field at the standard width.
   Forms that wrap a field in its label used to lay out inline, so the incident
   form, the owner rules and the test plan each had a shape of their own. The
   label is a block, so its words, a note and the ? flow on the first line as
   text does, and the field is a block of its own width on the next: in a flex
   column the ? dropped onto a line of its own, and in a flex row a field
   narrower than the row (a date, a short select) sat beside the words. A
   fieldset in such a form stacks the same way; a fieldset of choices lays out
   its own. A box or a radio inside a bare label is left to its own rule. */

/* A select keeps the 260px look and grows to its longest option up to the
   standard width, so a long option is no longer cut at 260px. */

/* A button in a paragraph after a field gets the gap of a control row. These forms
   are block, so after a stacked label the two margins collapse and nothing doubles. */
main form:not(.inline) > * + p:has(> button:first-child) { margin-top:var(--s-3); }
/* A help line in a stack form is held to the width of the fields it explains. */
form.stack > p { max-width:560px; }
select + details.fold { margin-top:var(--s-3); }
.usermenu { position:relative; }
.usermenu > summary { list-style:none; cursor:pointer; display:flex; align-items:center; }
.usermenu > summary::-webkit-details-marker { display:none; }
.usermenu .avatar { width:var(--ctl-h); height:var(--ctl-h); border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  background:var(--accent); color:var(--accent-ink); font-size:var(--t-caption); }
.usermenu .avatar.anon { background:var(--panel-2); color:var(--muted); border:1px solid var(--line); }
.usermenu > summary:focus-visible .avatar, .usermenu > summary:focus-visible .wsavatar { outline:2px solid var(--accent); outline-offset:2px; }
.usermenu .useravatar { width:var(--ctl-h); height:var(--ctl-h); }
.umenu { position:absolute; right:0; top:calc(100% + 6px); z-index:40; min-width:220px; background:var(--panel); border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:0 8px 24px rgba(0,0,0,.18); padding:var(--s-1) 0; }
.namecell { display:inline-flex; align-items:center; gap:var(--s-2); white-space:nowrap; } .namecell :is(b, button) { white-space:nowrap; }
.profilehead { display:flex; gap:var(--s-3); align-items:center; margin-bottom:var(--s-3); }
.profilehead .profileid { display:flex; flex-direction:column; gap:2px; min-width:0; }
.avedit { position:relative; display:inline-flex; border-radius:50%; flex:0 0 auto; }
.avedit .avedit-cue { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(0,0,0,.5); color:#fff; opacity:0; transition:opacity .15s ease; pointer-events:none; }
.avedit:hover .avedit-cue, .avedit:focus-visible .avedit-cue { opacity:1; }
.avedit:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.umenu .umwho { display:flex; flex-direction:column; min-width:0; }
.umenu .umwho > * { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* Preferences: a row per setting, the label and its description on the left
   and the control on the right, as most settings pages lay them out. */

.prefrow { display:flex; align-items:center; justify-content:space-between; gap:var(--s-5); padding:var(--s-3) 0; border-bottom:1px solid var(--line); }
.prefrow .what b { display:block; font-weight:400; }
.prefrow .what span { color:var(--muted); font-size:var(--t-caption); }
/* The overview panels in the account order, each with its two moves. */
.tileorder { margin:0; padding:0; display:grid; gap:var(--s-1); counter-reset:tile; }
.tileorder li { display:flex; flex-wrap:wrap; align-items:center; gap:var(--s-2); }
.tileorder li span { flex:1; min-width:9em; }
/* On a phone the two move buttons (longer words in Greek) do not fit beside the
   tile name, so the name takes the row and the buttons drop to the next line
   together instead of running off the card. */
@media (max-width:560px) { .tileorder li > span { flex-basis:100%; } }
.tileorder li span::before { counter-increment:tile; content:counter(tile) ". "; color:var(--muted); }
/* margin:0, or the margin of a form label spaces each option of the switch. */
.sumbar { display:flex; flex-wrap:wrap; gap:var(--s-2); align-items:center; margin:var(--s-3) 0; }
/* On a phone a choice takes its own line, so the thumb-high buttons never share one with it (PAGES-1116e, toolbar). */
@media (max-width:699px) { .sumbar > nav.seg { flex-basis:100%; } }
article.summary { max-width:880px; line-height:1.65; }
article.summary .sumtitle { font-size:var(--t-block); letter-spacing:var(--tr-block); margin:0 0 0; }
article.summary h2 { font-size:var(--t-block); letter-spacing:var(--tr-block); margin:var(--s-5) 0 var(--s-1); }
article.summary p, article.summary li { margin:0 0 var(--s-2); }
article.summary a.src { color:var(--ink-3); opacity:.55; vertical-align:middle; }
article.summary #sum-figures ul { columns:2; column-gap:var(--s-5); list-style:none; padding-left:0; }
@media (max-width: 560px) { article.summary #sum-figures ul { columns:1; } }
article.summary a.src:hover, article.summary a.src:focus-visible { opacity:1; color:var(--accent); }
@media (max-width:640px) { .prefrow { flex-direction:column; align-items:flex-start; } }
:root[data-motion="reduced"] *, :root[data-motion="reduced"] *::before, :root[data-motion="reduced"] *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
.umenu hr { border:0; border-top:1px solid var(--line); margin:var(--s-1) 0; }
.umenu form { margin:0; }
.appearance fieldset { border:0; padding:0; margin:0 0 var(--s-3); }
.appearance legend { margin-bottom:var(--s-1); }
.appearance .choices { display:flex; gap:var(--s-3); flex-wrap:wrap; }
td.hostcell { min-width:9.5rem; max-width:14rem; }
/* A host breaks only after a dot (hostBreak in hostMark), never inside a label (NEXT-1110 B). */
td.hostcell code { white-space:normal; overflow-wrap:normal; word-break:keep-all; }
.wschange[open] > div { position:absolute; right:0; top:100%; z-index:5; min-width:300px; display:flex; flex-wrap:wrap; gap:var(--s-2); align-items:center; padding:var(--s-2); background:var(--panel); border:1px solid var(--line); border-radius:4px; box-shadow:0 4px 12px rgba(0,0,0,.18); }
.wschange[open] > summary { display:inline-flex; }
.wsmenu .wsgroup { font-size:var(--t-label); color:var(--muted); padding:var(--s-2) var(--s-2) 0; }
.choice { display:flex; align-items:flex-start; gap:var(--s-2); margin:0;
  border:1px solid var(--line); border-radius:var(--radius); padding:var(--s-2) var(--s-3);
  background:var(--panel); cursor:pointer; font-weight:400;
  transition:border-color .12s ease,background-color .12s ease; }
.choice:hover { border-color:var(--line-2); background:var(--panel-2); }
.choice:has(input:checked) { border-color:var(--accent); background:var(--accent-weak); }
.choice input { width:auto; margin:var(--s-1) 0 0; flex:0 0 auto; accent-color:var(--accent); }
.choice b { display:block; font-weight:400; font-size:var(--t-table); }
/* A title line that carries a badge keeps the badge beside the title. */
.choice .ct { display:flex; align-items:center; gap:var(--s-2); }
.choice .ct b { display:inline; }
.choice .sub { display:block; color:var(--muted); font-size:var(--t-caption); margin-top:0; }
.choice select { margin-top:var(--s-2); width:auto; }
.choice small { display:block; color:var(--muted); font-size:var(--t-caption); margin-top:0; }

/* The on-demand explanation. Hover and keyboard focus both show it, because a
   hover-only affordance is one half the operators cannot reach. */
/* A circle of a fixed size. It was listed among the small buttons whose height
   is auto, a more specific rule than this one, so it lost its height and drew
   as a flattened oval. */
/* A target of 24 px (WCAG 2.5.8, UIKIT-1120 10) drawn as the 16 px circle it was: the box takes back its extra 4 px on
   each side in its margins, so the line it sits on keeps its place. */
.helptip { all:unset; display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box;
  width:24px; height:24px; min-width:24px; margin:-4px -4px -4px calc(var(--s-2) - 4px); border-radius:50%;
  color:var(--muted); font-size:var(--t-label); line-height:1; cursor:help;
  vertical-align:text-top; position:relative; flex:0 0 auto; }
.helptip::before { content:""; position:absolute; inset:4px; border:1px solid var(--line-2); border-radius:50%; pointer-events:none; }
.helptip:hover { color:var(--accent); } .helptip:hover::before { border-color:var(--accent); }
/* all:unset above takes the shared focus ring away, so it is put back. */

.helptip:focus-visible { color:var(--accent); outline:2px solid var(--accent); outline-offset:-2px; } .helptip:focus-visible::before { border-color:var(--accent); }
/* Off screen until focused: the first Tab on a page, so a keyboard reader does not walk the whole menu to reach it. */
.skiplink { position:absolute; left:-9999px; top:0; z-index:100; }
.skiplink:focus { left:var(--s-3); top:var(--s-3); min-height:24px; box-sizing:border-box; padding:var(--s-2) var(--s-3); background:var(--panel); color:var(--ink); border:1px solid var(--accent); border-radius:var(--radius); }
main:focus { outline:none; }
/* Fixed to the window and placed by the script beside the icon, because a
   table or panel that scrolls sideways clips anything absolutely positioned
   inside it, which cut the top off every tip in a table. */

/* Out of layout until shown: a hidden tip still widens the page it sits on,
   which made eleven pages scroll sideways on a phone. */
.helptip:hover .tip, .helptip:focus-visible .tip, .helptip .tip.show { display:block; }
/* A tip inside an uppercase label or legend keeps sentence case. */
.helptip .tip { position:fixed; left:0; top:0; width:max-content; max-width:320px; z-index:60;
  background:var(--panel-3); color:var(--ink); border:1px solid var(--line-2);
  border-radius:var(--radius); box-shadow:var(--shadow-lg);
  padding:var(--s-2) var(--s-2); font-size:var(--t-caption); font-weight:400;
  line-height:1.5; text-align:left; white-space:normal;
  display:none; text-transform:none; }
/* The four control states with their counts, zeros included (controlstate.ts). */
.statelegend { list-style:none; display:flex; flex-wrap:wrap; gap:var(--s-2) var(--s-3); padding:0; margin:var(--s-2) 0; }
/* The three states of a regulation report section (regreport.ts). */
.regstate .st { display:inline-block; border:1px solid var(--line-2); border-radius:var(--radius); padding:0 var(--s-2); font-size:var(--t-caption); margin-right:var(--s-2); }
.regstate .st-measured { border-color:var(--accent); } .regstate .st-documented { border-color:var(--good); } .regstate .st-none { border-color:var(--warn); }
.regprocess { margin:calc(-1 * var(--s-2)) 0 var(--s-3); color:var(--warn-ink, var(--muted)); font-size:var(--t-caption); }
.reglist { padding-left:var(--s-3); }
@media (max-width:700px) {
  .helptip .tip { position:fixed; left:var(--s-3); right:var(--s-3); bottom:var(--s-3); top:auto;
    transform:none; width:auto; max-width:none; }
}

/* Secondary detail under a value, and a label that sits inside a row rather
   than above a field. Both were inline styles repeated across the console,
   each carrying its own font size. */
.sm { font-size:var(--t-caption); }
.inlinelabel { display:inline-flex; align-items:center; gap:var(--s-2);
  margin:0; font-size:var(--t-caption); }
label .sub { font-weight:400; color:var(--muted); font-size:var(--t-caption); }
/* A box or a radio and its words: the box hangs in the margin and a wrapped line
   runs under the words, not under the box. A hanging indent and not a flex row,
   because these labels carry bold, notes and code, and a flex row would set each
   of those in a column of its own. A run of boxes sits close; the last one is
   followed by the gap a field gets. The switch and the picture picker lay out
   their own radios. */
main label:is(.check, .inline, :not([class])):not(:is(.seg, .avpick) label):has(> input:is([type=checkbox],[type=radio]):first-child) { --box:16px; display:block;
  padding-left:calc(var(--box) + var(--s-2)); text-indent:calc(-1 * (var(--box) + var(--s-2))); }
main label:is(.check, .inline, :not([class])):not(:is(.seg, .avpick) label):has(> input:is([type=checkbox],[type=radio]):first-child) > * { text-indent:0; }
label.check { margin:var(--s-2) 0; }
/* At the foot of a fieldset or a form, the padding of the box is the gap. */

.choices > label.check, .choices > label.check:not(:has(+ label.check)) { margin:0; }
.field { max-width:560px; }

/* Message boxes ---------------------------------------------------------- */
.danger,.ok,.warnbox,.note,.running { border-radius:var(--radius); padding:var(--s-3) var(--s-3); margin:0 0 var(--s-3);
  border:1px solid; }
/* Neutral panel for information the operator did not cause. Amber is for a
   caution about their own configuration; a list of suggestions styled amber
   reads as three warnings on a page that has one. */
.note { background:var(--panel-2); border-color:var(--line); }
.note ul { margin:var(--s-2) 0 0; padding-left:var(--s-5); }
.note li { margin:var(--s-1) 0; }
/* Numbered steps, where a page is configure-then-act and the order matters. */
.steps { counter-reset:step; margin:var(--s-5) 0 0; }
.step { counter-increment:step; position:relative; padding-left:var(--s-6); margin:0 0 var(--s-6); }
.step > h2 { margin:0 0 var(--s-2); display:flex; align-items:center; gap:var(--s-2); }
.step::before { content:counter(step); position:absolute; left:0; top:1px; width:26px; height:26px;
  border-radius:50%; background:var(--accent-weak); color:var(--accent);
  font-size:var(--t-table); display:flex; align-items:center; justify-content:center; }
.danger { background:color-mix(in srgb,var(--bad) 7%,var(--panel)); border-color:color-mix(in srgb,var(--bad) 35%,var(--line)); }
.ok { background:color-mix(in srgb,var(--good) 9%,var(--panel)); border-color:color-mix(in srgb,var(--good) 35%,var(--line)); }
.warnbox { background:color-mix(in srgb,var(--warn) 12%,var(--panel)); border-color:color-mix(in srgb,var(--warn) 40%,var(--line)); }
.warnbox > form:last-child, .warnbox > form:last-child .btnrow { margin-bottom:0; }
/* A chart directly above the table it summarises is separated from it. */
.chart + table, .chart + .scrollx, .hero + table, .hero + .scrollx { margin-top:var(--s-3); }
/* A link back to the list a detail page was opened from, set off from the
   last block above it. */
a.backlink { display:inline-block; margin-top:var(--s-5); }
/* Names one per line inside a key-value table. */
.kv ul.namelist { display:block; margin:0; }
.kv ul.namelist li { background:none; border:0; padding:0; margin:0; box-shadow:none; overflow-wrap:anywhere;
  white-space:normal; overflow:visible; text-overflow:clip; }
/* The bulk actions above the findings table keep to one row where they fit. */
.bulkbar { margin:0 0 var(--s-3); gap:var(--s-2); }
/* Hidden until a row is ticked, where script can tell; with no script it is
   always there. Sticky while shown, against the top of the scrolling area. */
html.js .bulkbar:not(.armed) { display:none; }
.bulkbar.armed { position:sticky; top:0; z-index:5; background:var(--panel); border:1px solid var(--line-2);
  border-radius:var(--radius); padding:var(--s-2) var(--s-2); box-shadow:var(--shadow); }
.bulkbar.armed .k { color:var(--ink); }
.bulkmore { position:relative; }
/* A folded control is drawn as the button it opens, from the one btnlike rule. */
.bulkmore > summary::-webkit-details-marker { display:none; }
.bulkpop { position:absolute; top:calc(100% + 4px); left:0; z-index:8; background:var(--panel); border:1px solid var(--line-2); border-radius:6px; padding:var(--s-2); display:flex; gap:var(--s-2); flex-wrap:wrap; width:max-content; max-width:min(560px, 90vw); box-shadow:0 6px 20px rgba(0,0,0,.15); }
form.retest .btnrow { margin-top:var(--s-2); }
/* Assign in a row of unowned hosts: a gap between the field and the button. */
td form.inline { display:inline-flex; gap:var(--s-2); align-items:center; }
.running { background:color-mix(in srgb,var(--accent) 8%,var(--panel)); border-color:color-mix(in srgb,var(--accent) 35%,var(--line));
  display:flex; align-items:center; gap:var(--s-3); flex-wrap:wrap; }
/* The sentence wraps beside its icon instead of leaving the icon on a line of its own. */
.running > svg { flex:none; }
.running > .rtext { flex:1 1 16em; min-width:0; }
.empty { background:var(--panel-2); border:1px dashed var(--line-2); border-radius:var(--radius);
  padding:var(--s-5); text-align:center; color:var(--muted); margin:0 0 var(--s-5);
  display:flex; flex-direction:column; align-items:center; gap:var(--s-2); }
.empty .emptyicon { display:flex; color:var(--muted); opacity:.7; }
/* A zero is not news: the severity colour is kept for counts that need action. */
.feed .rank .rowact { margin-left:auto; font-size:var(--t-caption); white-space:nowrap; }
.feed .rank { display:flex; align-items:baseline; gap:var(--s-2); flex-wrap:wrap; }
/* The email card's two columns (the control, then its state) do not fit on a
   phone: the state tag does not wrap, so it ran off the card behind a hidden
   sideways scroll. Below 560px each row stacks, control above state, and the
   state tag is let wrap, so the whole state reads without scrolling. */
@media (max-width:560px) {
  .becard td { display:block; border-bottom:0; padding:0 var(--s-3) 0; }
  .becard tr { padding:var(--s-1) 0; border-bottom:1px solid var(--line); }
  .becard tr:last-child { border-bottom:0; }
}
a.k-sev.grade { text-decoration:none; }
a.k-sev.grade:hover { text-decoration:underline; }
.decidedmeter { margin:0 0 var(--s-3); max-width:420px; }
details.groupdecide { display:inline-block; }
details.groupdecide .btnrow { margin-top:var(--s-2); }
.keylist { display:grid; grid-template-columns:max-content 1fr; gap:var(--s-2) var(--s-3); margin:0; }
.keylist dd { margin:0; }
.checkgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr)); gap:0 var(--s-3); }
.moddot { display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent); margin-left:var(--s-2); vertical-align:middle; }
.settingsfind { width:100%; max-width:420px; margin:0 0 var(--s-3); }
.stickysave { position:sticky; bottom:0; background:var(--bg); padding:var(--s-2) 0; margin:0; border-top:1px solid var(--line); z-index:4; box-shadow:var(--shadow-up); }
@media (max-width:699px) { .stickysave { position:static; border-top:0; } }
.planassign { margin-top:var(--s-2); gap:var(--s-2); }
.peekpanel { position:fixed; top:0; right:0; bottom:0; width:min(560px, 100vw); z-index:45; background:var(--panel);
  border-left:1px solid var(--line); box-shadow:var(--shadow-lg); overflow:auto; padding:var(--s-3) var(--s-5); box-sizing:border-box; }
.peekpanel[hidden] { display:none; }
#peekbody [tabindex="-1"]:focus { outline:none; }
/* Beside the list on a wide screen, so the list stays readable; a sheet over it on a phone. */
@media (min-width:1100px) { body.peeking .mainwrap { margin-right:min(560px, 45vw); } .peekpanel { width:min(560px, 45vw); } }
/* Beside an open panel the list keeps its issue, worst risk and severity, and its bar and segments one row each; the
   other columns, Columns, Advanced and Add filter come back when the panel closes (UX-1110 Part 3b, POLISH-1111). */
@media (min-width:1100px) {
  body.peeking table:is([data-colpick="findings"], [data-colpick="findings-issue"]) tr > :nth-child(n+5) { display:none; }
  /* Vulnerabilities (board 12): who is assigned steps aside, the panel says it. */
  body.peeking table[data-colpick="updates"] tr > :nth-child(4) { display:none; }
  /* Portfolio (board 25): five columns stay; the frameworks, the next deadline and last checked come back on close. */
  body.peeking table[data-colpick="portfolio"] tr > :nth-child(n+6) { display:none; }
  /* All assets (board 13): host, findings, owner and last checked stay; hosting and tags are in the panel. */
  body.peeking table[data-colpick="assets"] tr > :is(:nth-child(3), :nth-child(4), :nth-child(6), :nth-child(7), :nth-child(9), :nth-child(10), :nth-child(11)) { display:none; }
  body.peeking .listbar .barrow { flex-wrap:nowrap; }
  body.peeking .listbar details.addfilter, body.peeking .listbar .barright > :not(nav.viewswitch) { display:none; }
  /* Room for the whole placeholder: at 96 pixels “Search findings” read “Search find” (POLISH-1111). */
  body.peeking .listbar .barsearch { flex:1 1 150px; min-width:150px; }
  body.peeking nav.segments { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
}
@media (max-width:600px) { .peekpanel { width:100vw; border-left:0; padding:var(--s-3); } }
.peekhead { display:flex; justify-content:space-between; align-items:center; gap:var(--s-2); position:sticky; top:calc(-1 * var(--s-3));
  background:var(--panel); padding:var(--s-2) 0; margin-bottom:var(--s-2); border-bottom:1px solid var(--line); }
.iconbtn.peek { margin-left:var(--s-1); vertical-align:middle; padding:0; height:auto; }
.rowacts { display:flex; align-items:center; gap:var(--s-1); justify-content:flex-end; }
/* The actions of a row stay in view at the right edge of a table that scrolls in its frame (USERS-PHONE-1113 A3): at
   1000 pixels the users table scrolled and its menus sat past the edge, out of reach unless the reader scrolled sideways. */
table:where(:not(.k-cards)):has(td:last-child > .rowacts) tr > td:last-child { position:sticky; right:0; z-index:1; background:var(--panel); }
details.rowmenu { position:relative; }
details.rowmenu > summary { list-style:none; cursor:pointer; padding:0 var(--s-2); border:1px solid var(--line); border-radius:var(--radius); line-height:1.2; }
details.rowmenu > summary::-webkit-details-marker { display:none; }
/* The three dots keep their size in a cell that shrinks to fit: under max-width:100% the glyph took the width of a cell
   of 1% and the menu read as an empty circle on Crisis team at 1280 (FLOW-1120 18). */
details.rowmenu > summary > .glyph { max-width:none; }
details.rowmenu > .menu { position:absolute; right:0; top:calc(100% + 4px); z-index:30; min-width:180px; display:flex; flex-direction:column; gap:2px; padding:4px; background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-lg); }
details.rowmenu > .menu > a, details.rowmenu > .menu > form > button { display:flex; align-items:center; box-sizing:border-box; width:100%; min-height:32px; height:auto; text-align:left; padding:var(--s-1) var(--s-3); border:0; background:none; box-shadow:none; color:var(--ink); border-radius:var(--radius-sm); text-decoration:none; font:inherit; font-size:var(--t-table); font-weight:400; line-height:var(--row-line); white-space:normal; cursor:pointer; }
details.rowmenu > .menu > a:hover, details.rowmenu > .menu > form > button:hover { background:var(--panel-2); }
details.rowmenu > .menu > form { margin:0; }
tr[data-peek]:hover > td { background:var(--panel-2); }
.findbar { position:sticky; top:0; z-index:6; display:flex; flex-wrap:wrap; align-items:center; gap:var(--s-2);
  background:var(--bg); padding:var(--s-2) 0; margin:0 0 var(--s-3); border-bottom:1px solid var(--line); }
.findbar .spacer { flex:1 1 auto; }
.findbar form.inline { margin:0; }
/* Three tiers in the action bar. Wayfinding is quiet so it does not read as an
   action; the immediate actions keep the standard look; the decisions that take
   the finding off the list are set off by a divider and a caution hover, so a
   reader does not reach for one by muscle memory. */
.findbar .findnav { display:inline-flex; align-items:center; gap:var(--s-1); }
.findbar .findnav .btnlink { background:transparent; border-color:transparent; color:var(--muted); box-shadow:none; }
.findbar .findnav .btnlink:hover { background:var(--panel-2); border-color:transparent; color:var(--ink); }
.findbar .btnlink.ico { width:var(--ctl-sm); padding:0; justify-content:center; font-size:var(--t-body); }
.findbar .findacts { display:inline-flex; align-items:center; gap:var(--s-2); flex-wrap:wrap; }
.findbar .findacts .rowacts { display:inline-flex; }
.findbar details.rowmenu > summary { display:inline-flex; align-items:center; height:var(--ctl-sm); padding:0 var(--s-3); background:var(--panel); }
/* In the panel the actions are one row under the title, with no band behind them (UX-1110 Part 3b). */
code.sepwrap { display:inline-block; max-width:100%; overflow-x:auto; white-space:normal; overflow-wrap:normal; word-break:normal; vertical-align:top; }
#peekbody .findbar { position:static; background:none; border:0; padding:0; margin:0 0 var(--s-3); }
.unreaddot { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--accent); vertical-align:middle; margin-left:var(--s-1); }
/* A filter chip is text and a remove control, not a link, so it takes the
   chip's padding and type itself rather than from the link rule. The remove
   control is always shown: it is the chip's one action. */
.filterchips { display:flex; flex-wrap:wrap; gap:var(--s-2); margin:0 0 var(--s-3); }
.listtools { display:flex; align-items:center; gap:var(--s-2); margin:0 0 var(--s-2); flex-wrap:wrap; }
.listtools .btnlink.on { border-color:var(--accent); color:var(--accent); }
/* A column menu built for a table sits at its right edge, where its menu opens leftward over the table. */
.listtools.colbar { justify-content:flex-end; }
.listtools.listbar { gap:var(--s-2); margin:0 0 var(--s-3); }
.listtools.listbar form { display:inline-flex; align-items:center; gap:var(--s-2); flex-wrap:wrap; margin:0; }
.listtools.listbar label { display:inline; margin:0; }
.listtools.listbar select { width:auto; max-width:260px; }
.listtools.listbar .colpick { margin-left:auto; }
/* A table whose columns share the width rather than scroll: every cell wraps, nothing is cut. */
table.fitcols { table-layout:fixed; width:100%; }
main table.wide.fitcols { display:table; }
table.fitcols td, table.fitcols th { overflow-wrap:break-word; }
table.fitcols button.linkbtn { height:auto; min-height:0; padding:0; text-align:left; white-space:normal; line-height:24px; }
.menucheck { display:flex; align-items:center; gap:var(--s-2); padding:var(--s-1) var(--s-2); white-space:nowrap; cursor:pointer; }
details.grouprow summary { cursor:pointer; }
details.grouprow ul.plain { list-style:none; margin:var(--s-2) 0 0; padding:0; }
/* Evidence proposed for several controls: each control's id and title, its two decisions on the same line. */
ul.proprefs { list-style:none; margin:0; padding:0; min-width:18em; }
ul.proprefs li { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:var(--s-2); padding:var(--s-2) 0; border-top:1px solid var(--line); }
ul.proprefs li:first-child { border-top:0; padding-top:0; }
ul.proprefs .btnrow { flex-wrap:nowrap; margin:0; }
ul.proprefs .ref { flex:1 1 14em; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
details.herofold > summary { cursor:pointer; color:var(--muted); font-size:var(--t-caption); margin:0 0 var(--s-2); }

.overdue { display:inline-block; margin-top:var(--s-1); font-size:var(--t-label); white-space:nowrap;
  color:var(--bad); background:color-mix(in srgb,var(--bad) 13%,transparent); border-radius:999px; padding:var(--s-1) var(--s-2); }
/* How well a finding is supported. See confidence.ts. Accent, never the
   good colour: confirmed says the finding is real, which is not good news. */
ul.confreasons { margin:var(--s-2) 0 0; padding-left:var(--s-5); }
ol.confladder { display:flex; flex-wrap:wrap; gap:var(--s-2); list-style:none; margin:var(--s-2) 0 0; padding:0; font-size:var(--t-label); }
ol.confladder li { border:1px solid var(--line); border-radius:999px; padding:0 var(--s-2); color:var(--muted); }
ol.confladder li.on { color:var(--ink); border-color:var(--accent); }
ol.confladder li.reserved { border-style:dashed; }
.sig { font-size:var(--t-caption); color:var(--high); line-height:1.5; max-width:42ch; }
.sig + .sig { margin-top:var(--s-2); }
/* Approve / Reject in a table row: a flex pair with real spacing, so they read
   as two choices rather than one crammed block. */
.rowacts { display:flex; gap:var(--s-2); flex-wrap:wrap; justify-content:flex-end; }
.rowacts form.inline { display:inline-flex; }
/* Workspace switcher, at the top of the menu. */
.wsswitch { position:relative; margin:var(--s-2) var(--s-2) 0; }
.wsswitch summary { list-style:none; display:flex; align-items:center; gap:var(--s-2); cursor:pointer;
  padding:var(--s-2) var(--s-2); border:1px solid var(--nav-line); border-radius:var(--radius); color:var(--ink); }
.wsswitch summary::-webkit-details-marker { display:none; }
.wsswitch summary:hover, .wsswitch[open] summary { background:var(--nav-hover); }
.wsname { display:flex; flex-direction:column; min-width:0; flex:1; font-size:var(--t-table); line-height:1.25;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* The ellipsis is on a box of its own: text straight inside a flex column is
   cut at the edge with no mark, so a long workspace name lost its end unseen. */
.wsname .wsnm { overflow:hidden; text-overflow:ellipsis; }
.wsname small { font-size:var(--t-label); color:var(--nav-muted); }
.wschev { color:var(--nav-muted); display:inline-flex; margin-left:auto; }
.wschev svg { width:16px; height:16px; }
.wsavatar { flex:none; display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px;
  border-radius:6px; background:var(--accent-weak); color:var(--accent); font-size:var(--t-caption); }
.wshue1 { background:color-mix(in srgb,var(--accent-3) 22%,transparent); }
.wshue2 { background:color-mix(in srgb,var(--accent-2) 22%,transparent); }
.wshue3 { background:color-mix(in srgb,var(--med) 22%,transparent); }
.wshue4 { background:color-mix(in srgb,var(--high) 22%,transparent); }
.wshue5 { background:color-mix(in srgb,var(--good) 22%,transparent); }
/* The letter is ink on every hue's tint, so it reads on each and stays a token (KIT-1115 textcolour): mixed with the
   ink per hue, it made five colours no token holds. The tint carries the hue. */
.wsavatar[class*=wshue] { color:var(--ink); }
.wsavatar.sm { width:20px; height:20px; font-size:var(--t-label); border-radius:5px; }
.wsavatar.round { border-radius:50%; }
.wsavatar.lg { width:56px; height:56px; font-size:var(--t-block); letter-spacing:var(--tr-block); border-radius:12px; }
.wsavatar.lg.round { border-radius:50%; }
.wsavatar.pic { background:var(--panel-2); overflow:hidden; }
.wsavatar.pic img { width:100%; height:100%; object-fit:cover; display:block; }
.avpick { display:grid; grid-template-columns:repeat(auto-fill,minmax(44px,1fr)); gap:var(--s-2); max-width:560px; margin:var(--s-2) 0 var(--s-3); }
.avpick label { display:flex; align-items:center; justify-content:center; height:44px; margin:0; border:1px solid var(--line); border-radius:8px; cursor:pointer; }
.avpick label[hidden] { display:none; }
.avpick label:has(input:checked) { border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-weak); }
.avpick label svg { transition:transform .12s ease; }
.avpick label:has(input:checked) svg, .avpick label:has(input:checked) b { transform:scale(1.4); }
.avpick label b { transition:transform .12s ease; }
.avpick.avkept { grid-template-columns:repeat(auto-fill,minmax(64px,64px)); align-items:start; }
.avkeptitem { display:flex; flex-direction:column; align-items:center; gap:var(--s-1); }
.avkept img { border-radius:4px; }
.wsmenu { position:absolute; left:0; right:0; top:calc(100% + 4px); z-index:50; padding:4px; border-radius:var(--radius); box-shadow:var(--shadow-lg);
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 8px 24px rgba(0,0,0,.25); }
.wsmenu form { margin:0; }
.wsmenu .wslist { max-height:min(60vh, 480px); overflow-y:auto; }
.wsmenu .wsfind { width:100%; margin:0 0 var(--s-1); }
.wsmenu .wsnone { margin:var(--s-2) var(--s-2); font-size:var(--t-caption); }
.wsmenu button, .wsmenu a { display:flex; align-items:center; gap:var(--s-2); width:100%; padding:var(--s-2) var(--s-2);
  background:none; border:0; border-radius:var(--radius); color:var(--ink); font:inherit; font-size:var(--t-table);
  text-align:left; text-decoration:none; cursor:pointer; }
.wsmenu button:hover, .wsmenu a:hover, .wsmenu button:active { background:var(--nav-hover); }
.wsmenu button.on { font-weight:500; }
.wsmenu hr { border:0; border-top:1px solid var(--line); margin:var(--s-1) 0; }
.navfoot { margin-top:auto; border-top:1px solid var(--nav-line); padding-top:var(--s-1); }
/* Page-level controls, at the right of the heading. */
.pageactions { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:var(--s-2); }
/* Narrow: the heading is one row and the controls a second row of the same
   fixed height, scrolling sideways rather than wrapping, so the tabs under the
   band sit at the same place on every view. A menu opened from that row is
   fixed to the viewport, or the row's scrolling would clip it. */
.pageactions.reserve { display:none; }
@media (max-width:560px) {
  .pagetitle { flex-wrap:wrap; row-gap:var(--s-2); }
  /* The meta line of a head takes its own row under the title, above the row of controls, never drawn over it (VISUAL-1117 Part 1.4). */
  .pagehead:has(> .k-meta) { display:flex; flex-direction:column; }
  .pagehead:has(> .k-meta) > .pagetitle { display:contents; }
  .pagehead:has(> .k-meta) > .pagetitle > .titleleft { order:0; min-height:var(--ctl-h); }
  .pagehead:has(> .k-meta) > .k-meta { order:1; margin:0 0 var(--s-2); }
  .pagehead:has(> .k-meta) > .pagetitle > .pageactions { order:2; display:flex; gap:var(--s-2); align-items:center; }
  .pagetitle h1[data-crumb] { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* The strip takes the height of its buttons: a fixed 36 px with overflow hidden cut the 44 px phone buttons (FLOW-1120 18). */
  .pagetitle .pageactions { flex:1 1 100%; min-height:var(--ctl-h); justify-content:flex-start; overflow-x:auto; overflow-y:visible; scrollbar-width:none; }
  /* A view with no controls draws no empty row: the reserved row was a gap between the title and the description
     (founder, POLISH-1111 Part 2). The tabs of such a view sit one row higher. */
  .pagetitle .pageactions::-webkit-scrollbar { display:none; }
  .pageactions details.dropmenu .menu { position:fixed; top:auto; left:16px; right:16px; width:auto; min-width:0; max-width:none; }
}
/* The range keeps its own width in a row that scrolls, and the select keeps the
   room its drawn chevron needs: at width 100% it shrank to 14px at 375. */
.pagerange { display:flex; flex:none; align-items:center; gap:var(--s-1); color:var(--muted); }
.pagerange select { width:auto; max-width:240px; padding:0 var(--s-6) 0 var(--s-2); }
/* Findings (UX-1110 Part 2): the risk as a plain number, severity the one colour; one line of notes. */
td.riskn { font-variant-numeric:tabular-nums; color:var(--ink); }
p.listnote { margin:calc(-1 * var(--s-2)) 0 var(--s-3); font-size:var(--t-caption); color:var(--muted); }
/* A note drawn close under a row of segments keeps clear of its scroll buttons, which are taller on a phone (VISUAL-1117, overlap). */
.k-tabrow:is(.ovf-l, .ovf-r) + p.listnote { margin-top:0; }
/* A link in the note moves to the next line whole: “Show them” broke between its two words beside the panel (POLISH-1111). */
p.listnote a { white-space:nowrap; }
table.issues button.grouptoggle { color:var(--ink); text-align:left; cursor:pointer; }
table.issues tr.hostrow > td { background:var(--panel-2); }
nav.viewswitch { flex:none; }
/* Links in a table read as text until hovered, and never take the visited colour. */
/* A form button that reads as a link (switching workspace is a POST) reads in a table as the table's own links do. */
td a, td a:visited, td button.linkbtn { color:inherit; text-decoration:none; }
td a:hover, td button.linkbtn:hover { text-decoration:underline; color:var(--accent); text-decoration:underline; }
/* A row's title follows the table rule in both views: the text colour, underlined on hover (UX-1110 Part 3c). */
td.issuecell > a, td.issuecell > a:visited, td.issuecell summary { color:var(--ink); }
td.issuecell > a:hover { color:var(--accent); text-decoration:underline; }
/* Where it does not fit, the rows of a list are cards (UX-1110 Part 3b, by fit since UI-1115b A3): the title first, its tick box on the first line of the title, then one
   line of what matters ("8.2 · High · 1 host · due 22/11/2026"), every number with its word. The rest stays in the
   record. A cell's word for the card (.cardonly) stands in for its column heading, which a card has not got. */
.cardonly { display:none; }
/* The rows are cards where the table does not fit its container (UI-1115b A3): the page script marks it k-cards. */
  table[data-cards].k-cards tr:first-child { display:none; }
  table[data-cards].k-cards tr[hidden] { display:none; }
  table[data-cards].k-cards td:is(.issuecell, .cardtitle) { order:1; flex:1 1 100%; min-width:0; }
  table[data-cards].k-cards td:is(.nc, .cardoff, :empty) { display:none; }
  table[data-cards].k-cards td.issuecell :is(.why, div.muted.sm) { display:none; }
  /* By asset, the host is a muted line under the title, whole up to the card's edge. */
  table[data-cards].k-cards td.hostcell { order:1; flex:1 0 100%; min-width:0; max-width:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:var(--t-caption); color:var(--muted); }
  table[data-cards].k-cards td.hostcell :is(code, span, a) { white-space:nowrap; overflow-wrap:normal; word-break:normal; }
  table[data-cards].k-cards td.hostcell wbr { display:none; }
  table[data-cards].k-cards .deskonly { display:none; }
  table[data-cards].k-cards .cardonly { display:inline; }
  table[data-colpick="assets"].k-cards td:last-child { display:none; }
  /* The actions of a row stay on its card (USERS-PHONE-1113 A): its menu at the top right of the card, opening the same dialogs,
     and the title keeps clear of it. */
  table[data-cards].k-cards tr:has(> td > .rowacts) { position:relative; }
  table[data-cards].k-cards tr:has(> td > details.rowmenu:only-child) { position:relative; }
  table[data-cards].k-cards tr > td:has(> .rowacts) { display:block; position:absolute; top:var(--s-2); right:var(--s-2); order:0; }
  table[data-cards].k-cards tr > td:has(> details.rowmenu:only-child) { display:block; position:absolute; top:var(--s-2); right:var(--s-2); order:0; }
  table[data-cards].k-cards tr > td:has(> .rowacts)::before { content:none; }
  table[data-cards].k-cards tr > td:has(> details.rowmenu:only-child)::before { content:none; }
  table[data-cards].k-cards tr:has(> td > .rowacts:not(:has(> :not(details.rowmenu)))) > td:is(.issuecell, .cardtitle) { padding-right:calc(var(--ctl-h) + var(--s-2)); }
  /* Actions holding a button of words (Accept all) take a line of their own at the card's foot: in the corner, sized for
     the row's menu alone, they lay over the title (POLISH-1118, overlap). */
  table[data-cards].k-cards tr > td:has(> .rowacts > :not(details.rowmenu)) { position:static; order:50; flex:0 0 100%; margin-top:var(--s-2); }
  table[data-cards].k-cards tr > td:has(> .rowacts > :not(details.rowmenu)) > .rowacts { justify-content:flex-start; }
  table[data-cards].k-cards tr:has(> td > details.rowmenu:only-child) > td:is(.issuecell, .cardtitle) { padding-right:calc(var(--ctl-h) + var(--s-2)); }
  /* Lines under the title (cardLine): each starts clean, over the general dot rule (hence the doubled attribute), the cells of one line joined by a dot. The
     ::before and ::after of the row are the breaks between the second, third and fourth lines. */
  table[data-cards].k-cards tr > td.cl2 { order:20; }
  table[data-cards].k-cards tr > td.cl3 { order:30; }
  table[data-cards].k-cards tr > td.cl4 { order:40; }
  table[data-cards].k-cards tr:has(> td.cl3)::before { content:""; flex:0 0 100%; height:0; order:25; }
  table[data-cards].k-cards tr:has(> td.cl4)::after { content:""; flex:0 0 100%; height:0; order:35; }
  table[data-cards].k-cards[data-cards] tr > td:is(.cl2, .cl3, .cl4):not(.nc)::before { content:none; }
  table[data-cards].k-cards[data-cards] tr > td.cl2:not(:empty, .cardoff):not(:has(> :is(div, p, ul, ol, table, form, svg, label):last-child)):has(~ td.cl2:not(:empty, .cardoff))::after,
  table[data-cards].k-cards[data-cards] tr > td.cl3:not(:empty, .cardoff):not(:has(> :is(div, p, ul, ol, table, form, svg, label):last-child)):has(~ td.cl3:not(:empty, .cardoff))::after,
  table[data-cards].k-cards[data-cards] tr > td.cl4:not(:empty, .cardoff):not(:has(> :is(div, p, ul, ol, table, form, svg, label):last-child)):has(~ td.cl4:not(:empty, .cardoff))::after { content:"·"; margin:0 var(--s-2); color:var(--muted); }
  table[data-cards].k-cards[data-cards] tr > td[data-cardlabel]:is(.cl2, .cl3, .cl4)::before { content:attr(data-cardlabel) " "; margin:0; color:var(--muted); }
  /* Two labelled values on one line are joined by the line's dot as any two values are: "Source Verified fixedSeen
     18/11/2026" ran together on Evidence review (POLISH-1118, cardshape). */

/* Dialogs (UX-1110 Part 3): a reading view's forms, opened from its header. */
dialog.formdialog { width:min(560px, calc(100vw - 2 * var(--s-4))); max-height:calc(100vh - 2 * var(--s-5)); padding:var(--s-5); border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--panel); color:var(--ink); box-shadow:var(--shadow-lg); }
.headnote { font-size:var(--t-caption); margin-right:var(--s-2); align-self:center; }
details.pagemore .menu button { display:flex; align-items:center; box-sizing:border-box; width:100%; min-height:32px; text-align:left; height:auto; padding:var(--s-1) var(--s-3); border:0; background:none; box-shadow:none; color:var(--ink); font:inherit; font-size:var(--t-table); font-weight:400; line-height:var(--row-line); white-space:normal; }
/* The Trust Center editor (UX-1110 Part 3): an index of its sections at the side, the sections beside it. */
.sectiongrid { display:grid; grid-template-columns:minmax(0, 12rem) minmax(0, 1fr); gap:var(--s-5); align-items:start; }
nav.sectionindex { position:sticky; top:var(--s-3); display:flex; flex-direction:column; gap:var(--s-1); font-size:var(--t-caption); }
nav.sectionindex a { color:var(--muted); text-decoration:none; padding:var(--s-1) var(--s-2); border-radius:var(--radius-sm); }
nav.sectionindex a:hover { background:var(--panel-2); color:var(--ink); }
nav.sectionindex a[aria-current] { background:var(--accent-weak); color:var(--accent); font-weight:500; }
@media (max-width:900px) { .sectiongrid { grid-template-columns:1fr; } nav.sectionindex { position:static; flex-direction:row; flex-wrap:wrap; } }
dl.readfields { display:grid; grid-template-columns:minmax(0, 14em) minmax(0, 1fr); gap:var(--s-2) var(--s-5); margin:0; }
dl.readfields dt { color:var(--muted); } dl.readfields dd { margin:0; }
@media (max-width:600px) { dl.readfields { grid-template-columns:1fr; } dl.readfields dd { margin-bottom:var(--s-2); } }
dialog.formdialog::backdrop { background:rgba(16,18,40,.35); }
dialog.formdialog .dlghead { display:flex; align-items:center; justify-content:space-between; gap:var(--s-3); margin:0 0 var(--s-3); }
/* A long dialog scrolls under its footer row, which stays in view with Cancel and the submit (founder's review, 2026-11-12). */
dialog.formdialog form:not([method=dialog]) > .btnrow:last-child { flex-wrap:nowrap; justify-content:flex-end; position:sticky; bottom:calc(-1 * var(--s-5)); background:var(--panel); padding:var(--s-3) 0 var(--s-5); margin-bottom:calc(-1 * var(--s-5)); border-top:1px solid var(--line); }
dialog.formdialog .dlghead h2 { margin:0; font-size:var(--t-block); letter-spacing:var(--tr-block); }
/* The caption under a dialog title: the product of an advisory answer (TERMS-1117 Part 4). */
dialog.formdialog .dlghead p { margin:var(--s-1) 0 0; }
/* A long dialog's groups (New partner: the partner, its administrator, its brand) each open under a rule and a heading a step above its labels. */
dialog.formdialog form h3.ptitle { font-size:var(--t-body); margin:var(--s-5) 0 var(--s-3); padding-top:var(--s-4); border-top:1px solid var(--line); }
dialog.formdialog form h3.ptitle:first-child { margin-top:0; padding-top:0; border-top:0; }
dialog.formdialog .dlghead form { margin:0; }
/* A page out of the menu says why in one quiet line under its heading (KIT-RULES-1111b Part 1.2). */
#notinmenu { color:var(--muted); margin:0 0 var(--s-3); }
/* A field whose kit part gives it a width (k-short, k-name, k-w-*) keeps it in a dialog too (KIT-RULES-1111b Part 1.4). */
dialog.formdialog label > :is(input:not([type=checkbox],[type=radio]), select, textarea):not(.k-short, .k-name, [class*="k-w-"]) { display:block; width:100%; margin-top:calc(var(--s-1) * 1.5); }
dialog.formdialog label > :is(.k-short, .k-name, [class*="k-w-"]) { display:block; margin-top:calc(var(--s-1) * 1.5); }
/* In a dialog a checkbox is one row, box then label (HOME-FIX-1111). The spacing of a field is set by kit.field (KITPARTS-1120 8). */
dialog.formdialog label.check { display:flex; align-items:center; gap:var(--s-2); }
dialog.formdialog label.check > input { margin:0; }
dialog.formdialog label > .hint { display:block; font-weight:400; margin-top:var(--s-1); }
dialog.formdialog .btnrow { margin:var(--s-4) 0 0; justify-content:flex-end; }
/* Every field of a dialog is its full width, whatever width the form gave it in the page (UX-1110 Part 3b). */
dialog.formdialog form:not([method=dialog]) { max-width:none !important; }
dialog.formdialog :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=submit],[type=button],[type=file],[type=color],.k-short,.k-name,.k-w-xs,.k-w-s,.k-w-m), select, textarea) { display:block; width:100% !important; min-width:0; max-width:none !important; box-sizing:border-box; }
@media (max-width:600px) {
  /* A card centred in the screen between 16-pixel gutters, as tall as its content and scrolling inside when longer
     (USERS-PHONE-1113 B5): drawn full screen, a two-line confirmation sat in the top corner of an empty page. */
  dialog.formdialog { width:calc(100vw - 32px); max-width:calc(100vw - 32px); max-height:calc(100dvh - 32px); margin:auto; }
  /* The close button is a thumb's width to tap. */
  
}
/* The list bar (UX-1110 Part 2): one row, the search, chips, Add filter, and Columns and export at the right. */
.listbar { margin:0 0 var(--s-3); }
.listbar .barrow { display:flex; flex-wrap:wrap; align-items:center; gap:var(--s-2); }
.listbar .barsearch { flex:0 1 220px; min-width:160px; margin:0; }
.listbar .barsearch input { width:100%; height:var(--ctl-h); }
.listbar .spacer { flex:1 1 auto; }
.listbar .barright { display:flex; align-items:center; gap:var(--s-2); margin:0; }
.listbar .barfilters { display:none; }
@media (max-width:600px) {
  .listbar .barrow { flex-wrap:nowrap; }
  .listbar .barsearch { flex:1 1 auto; min-width:0; }
  .listbar .barfilters { display:inline-flex; flex:none; }
  .listbar:not(.sheet) .barrow > :not(.barsearch, .barfilters) { display:none; }
  .listbar.sheet .barrow { position:fixed; left:0; right:0; bottom:0; z-index:60; flex-direction:column; align-items:stretch; gap:var(--s-3);
    padding:var(--s-4); background:var(--panel); border-top:1px solid var(--line); box-shadow:var(--shadow-lg); max-height:85dvh; overflow-y:auto; }
  .listbar.sheet .barrow > .spacer { display:none; }
  .listbar.sheet .barright { flex-wrap:wrap; }
  /* The segments are one row that scrolls sideways. */
  main nav.segments { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
}
.listbar .advsection { padding:0 var(--s-2) var(--s-2); }
.listbar .advform { display:flex; gap:var(--s-2); margin-top:var(--s-1); min-width:260px; }
.listbar .advform input.query { flex:1 1 auto; font-family:var(--mono); font-size:var(--t-caption); height:var(--ctl-sm); }
.facetmenu { max-height:min(70vh, 520px); overflow:auto; left:0; right:auto; }
.facetmenu section + section { border-top:1px solid var(--line); margin-top:var(--s-1); padding-top:var(--s-1); }
.facetmenu h2 { font-size:var(--t-label); font-weight:600; color:var(--muted); margin:var(--s-1) var(--s-2); }
details.dropmenu .menu.facetmenu a { display:flex; justify-content:space-between; gap:var(--s-3); padding:var(--s-1) var(--s-2); }
.barswitch .menu { left:0; right:auto; }
details.dropmenu { position:relative; }
details.dropmenu > summary { list-style:none; display:inline-flex; align-items:center; gap:var(--s-2); cursor:pointer; }
details.dropmenu > summary::-webkit-details-marker { display:none; }
/* As wide as what it holds, never narrower than its trigger: at a fixed 260 pixels an Export of three formats was a
   panel two-thirds empty (POLISH-1111). */
details.dropmenu .menu { position:absolute; right:0; top:calc(100% + 4px); z-index:30; width:max-content; min-width:100%; max-width:340px;
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-lg); padding:var(--s-1); }
details.dropmenu .menu a { display:block; padding:var(--s-2) var(--s-2); border-radius:6px; color:var(--ink); text-decoration:none; }
details.dropmenu .menu a:hover, details.dropmenu .menu a:focus-visible { background:var(--panel-2); }
details.dropmenu .menu small { display:block; color:var(--muted); font-size:var(--t-label); white-space:normal; margin-top:0; }
.filters { display:flex; gap:var(--s-2); margin:0 0 var(--s-3); flex-wrap:wrap; align-items:center; }
.filters input[type=text] { max-width:300px; flex:1 1 220px; }
.filters.search input[type=search] { flex:1 1 420px; max-width:none; font-family:var(--mono); font-size:var(--t-caption); }
.mplan .mverdict { font-size:var(--t-body); margin:0 0 var(--s-1); } .mplan .mrisk { margin:0 0 var(--s-3); }
.mplan h2 { font-size:var(--t-block); letter-spacing:var(--tr-block); margin:var(--s-4) 0 var(--s-2); } .mlegend, .mintro { color:var(--muted); font-size:var(--t-caption); margin:0 0 var(--s-3); }
.mlegtags { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px var(--s-4); margin:0 0 var(--s-4); font-size:var(--t-label); color:var(--muted); } .mleg { display:inline-flex; align-items:baseline; gap:var(--s-1); } .mlegkey { }
.mstrip { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 var(--s-2); } .mproto { border:1px solid var(--line); border-radius:var(--radius-sm,6px); padding:var(--s-2) var(--s-3); display:flex; flex-direction:column; min-width:96px; background:var(--panel-2); }
.mproto b { font-size:var(--t-caption); } .mproto span { font-size:var(--t-label); } .mproto.ok span { color:var(--good); } .mproto.high span { color:var(--bad); } .mproto.medium span { color:var(--high); } .mproto.low span, .mproto.none span { color:var(--muted); }
.mcard { border:1px solid var(--line); border-radius:var(--radius,8px); padding:var(--s-3) var(--s-4); margin:0 0 var(--s-3); background:var(--panel); }
.mcard .mhead { display:flex; align-items:baseline; gap:var(--s-3); margin:0 0 var(--s-2); flex-wrap:wrap; } .mcard .mhead h3 { flex:1 1 60%; margin:0; font-size:var(--t-body); }
.mcard .mstep { color:var(--muted); } .mprio { font-size:var(--t-label); border-radius:4px; padding:0 var(--s-2); }
.mprio.high { color:var(--bad); background:color-mix(in srgb,var(--bad) 14%,var(--panel)); } .mprio.medium { color:var(--high); background:color-mix(in srgb,var(--high) 14%,var(--panel)); } .mprio.low { color:var(--muted); background:var(--panel-3); }
.mflag { font-size:var(--t-label); border-radius:4px; padding:0 var(--s-2); color:var(--ink); background:var(--panel-3); }
.mrow { display:grid; grid-template-columns:140px minmax(0,1fr); gap:8px; margin:0 0 var(--s-1); } .mlab { color:var(--muted); font-size:var(--t-caption); } .mval { min-width:0; }
.mrec { margin:var(--s-1) 0; } .mrec + .mrec { border-top:1px dashed var(--line); padding-top:var(--s-2); } .mkind { font-size:var(--t-caption); margin:0 0 0; }
.mcard pre { margin:0; white-space:pre-wrap; word-break:normal; overflow-wrap:break-word; } .mcard code { word-break:normal; overflow-wrap:break-word; } .tok { white-space:nowrap; } .mfull { color:var(--muted); font-size:var(--t-label); }
.mchg { margin:0; padding-left:var(--s-4); font-family:var(--mono, ui-monospace, monospace); font-size:var(--t-caption); }
.mlead { margin:var(--s-1) 0; } .mwhy { margin:var(--s-2) 0 0; } .mnotes { margin:var(--s-2) 0 0; padding-left:var(--s-4); font-size:var(--t-caption); color:var(--muted); } .mnotes li { margin:0 0 var(--s-1); }
.mreqs { width:100%; border-collapse:collapse; font-size:var(--t-caption); margin:0 0 var(--s-3); } .mreqs th { text-align:left; color:var(--muted); font-weight:400; border-bottom:1px solid var(--line); padding:var(--s-1) var(--s-2) var(--s-1) 0; } .mreqs td { border-bottom:1px solid var(--line); padding:var(--s-2) var(--s-2) var(--s-2) 0; vertical-align:top; }
.mlive { list-style:none; padding:0; } .mlive li { margin:0 0 var(--s-1); }
.mgloss { display:grid; grid-template-columns:110px 1fr; gap:4px 8px; margin:0; font-size:var(--t-caption); } .mgloss dt { } .mgloss dd { margin:0; }
@media (max-width:600px) { .mrow, .mgloss { grid-template-columns:1fr; gap:0; } }
.warnline { color:var(--ink); background:color-mix(in srgb,var(--warn) 14%,var(--panel)); border:1px solid color-mix(in srgb,var(--warn) 45%,var(--line));
  border-radius:var(--radius); padding:var(--s-1) var(--s-2); margin:0 0 var(--s-3); font-size:var(--t-caption); }
/* clip and not auto: auto made the column a scroll container, so the sticky
   headings and the armed bulk bar stuck to it and never to the page. */
.fieldmain { min-width:0; overflow-x:clip; }
.fieldmain table.wide th, .fieldmain table.wide td { padding-left:var(--s-2); padding-right:var(--s-2); }
.fieldmain table.wide td:first-child, .fieldmain table.wide th:first-child { width:1%; }
/* Findings' one filter bar: the search, the fields, the grouping and the columns on one row. */
.findbar { display:flex; align-items:center; gap:var(--s-2); margin:0 0 var(--s-3); flex-wrap:wrap; }
.findbar .filters.search { flex:1 1 320px; margin:0; flex-wrap:nowrap; }
.findbar .listtools { margin:0; flex-wrap:nowrap; }
.findbar .groupmenu .menu a.on { color:var(--accent); font-weight:500; }
.findbar .groupmenu summary.on { border-color:var(--accent); color:var(--accent); }
.findbar details.fields .menu section { break-inside:avoid; margin:0 0 var(--s-2); }
.findbar details.fields .menu { left:auto; right:0; min-width:0; width:min(560px, calc(100vw - 32px)); max-width:none; max-height:70vh; overflow:auto; columns:2 220px; column-gap:var(--s-3); padding:var(--s-2) var(--s-3); }
.findbar details.fields .menu .fv a { padding:0 var(--s-1); }
.fields { font-size:var(--t-caption); }
.fields section { margin:var(--s-2) 0 var(--s-2); }
.fields h3 { font-size:var(--t-label); color:var(--muted); margin:0 0 var(--s-1); font-weight:600; }
.fields .fv { display:flex; align-items:center; gap:var(--s-1); padding:0 0; min-width:0; }
.fields .fv > a:first-child, .fields .fv > span { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fields .fv a:first-child { color:var(--ink); text-decoration:none; }
.fields .fv a:first-child:hover { color:var(--accent); text-decoration:underline; }
.fields .fv b { font-weight:400; color:var(--muted); font-variant-numeric:tabular-nums; }
.fields .fv .x { color:var(--muted); text-decoration:none; width:18px; text-align:center; border-radius:4px; }
.fields .fv .x:hover { background:var(--panel-3); color:var(--ink); }
.fields .fv.on { background:var(--panel-3); border-radius:4px; padding:0 var(--s-1); }
.matrix { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:var(--s-2); overflow-x:auto; margin:var(--s-3) 0; }
.matrix .mcol h3 { font-size:var(--t-caption); margin:0 0 var(--s-2); padding:var(--s-1) var(--s-2); background:var(--panel-3); border-radius:var(--radius); }
.matrix .mcell { display:grid; grid-template-columns:1fr auto; gap:2px var(--s-1); padding:var(--s-1) var(--s-2); margin:0 0 var(--s-1);
  border:1px solid var(--line); border-radius:var(--radius); font-size:var(--t-label); color:var(--ink); text-decoration:none;
  background:color-mix(in srgb,var(--bad) calc(var(--share,0%) * .35),var(--panel)); }
.matrix .mcell.sh-0 { --share:0%; } .matrix .mcell.sh-1 { --share:10%; } .matrix .mcell.sh-2 { --share:20%; } .matrix .mcell.sh-3 { --share:30%; } .matrix .mcell.sh-4 { --share:40%; } .matrix .mcell.sh-5 { --share:50%; } .matrix .mcell.sh-6 { --share:60%; } .matrix .mcell.sh-7 { --share:70%; } .matrix .mcell.sh-8 { --share:80%; } .matrix .mcell.sh-9 { --share:90%; } .matrix .mcell.sh-10 { --share:100%; }
.matrix .mcell code { grid-column:1 / -1; font-size:var(--t-label); background:none; border:0; padding:0; }
.matrix .mcell span { grid-column:1; }
.matrix .mcell b { grid-column:2; grid-row:2; font-size:var(--t-body); align-self:center; }
.matrix .mcell .k-sev { grid-column:1 / -1; justify-self:start; }
/* The info pill is translucent, so on a heat-tinted cell it took the tint. */
.matrix a.mcell:hover { border-color:var(--accent); }
/* The control tables size their columns by type as every table does (UIKIT-1120 2): the fixed percentages gave the
   measure a quarter of the width and the counts a tenth each. */
table.ctl { width:100%; }
/* The name of a framework in the jump links is one unit: NIST 800-53 split at its hyphen. */
.fwjump a { white-space:nowrap; }
ul.uncovered { margin:0 0 var(--s-5); padding-left:var(--s-5); }
ul.uncovered li { margin:var(--s-1) 0; }
a > code { color:inherit; }
.matrix .mcell.none { color:var(--muted); background:var(--panel); border-style:dashed; }
.matrix .mcell:target { outline:2px solid var(--accent); }
@media (max-width:900px) { .matrix { grid-auto-flow:column; grid-auto-columns:minmax(160px,1fr); grid-template-columns:none; } }
.filters select { max-width:170px; }
.surfacewrap { display:inline-flex; align-items:center; gap:var(--s-2); }

/* Score and charts ------------------------------------------------------- */
/* align-items:start stops a short panel being stretched to match a tall one,
   which is what left the severity card with a large empty area below it. */
/* A finger, not a pointer. On a touch screen 173 pages had controls under
   24px tall: the More under an explanation, the ? beside a label, the radios
   and boxes of a setting and the values in the findings field list. Each keeps
   its look and gains the area a thumb needs. */
@media (pointer:coarse) {
  .helptip::after { content:""; position:absolute; inset:-10px; }
  .fields .fv { padding:var(--s-2) 0; }
  details > summary { min-height:32px; }
  .legend a.it { min-height:32px; align-items:center; }
  .sevlegend a.it { min-height:32px; align-items:center; }
}

/* Phone width. A table wider than the screen scrolls inside itself, so the
   page never scrolls sideways: a page that slides under the thumb loses the
   heading and the navigation together. Measured at 375px over every view. */
@media (max-width:700px) {
  /* The box of a short table hugs its rows; a wide one is capped and scrolls. */
  
  /* The overlay scrollbar a phone draws is nearly invisible, so a wide table
     that scrolls sideways reads as a table with its right columns missing. A
     scroll shadow is the cue: the panel-coloured covers ride with the content
     and hide the shadow at an edge that is fully reached, so a shadow shows only
     on the side that has more. Not on a key-value table, which stacks instead. */
  
  main pre, main .console { max-width:100%; overflow-x:auto; }
  main code { overflow-wrap:anywhere; }
  /* Inside a table that scrolls, an address or an id stays whole. */
  main table code { overflow-wrap:normal; white-space:nowrap; }
  /* A key-value table does not scroll, so an id in it wraps instead. */
  
  /* A status pill in a key-value table wraps rather than pushing past the cell. */
  main li code, main p code { white-space:normal; overflow-wrap:anywhere; }
  /* A chip or a linked address in one stays whole and wraps between items. */
  
  /* A key-value table stacks its label over its value, so the value has the
     width of the panel: a label column of 152px left a TXT record name or a run
     id to break mid-token in what was left. */
  
  /* The top bar keeps the menu, the search and the theme on a phone. Density
     is a desktop control: on a phone the content is already one column. */
  .topbar { gap:var(--s-2); padding:0 var(--s-3); }

  .tb-search { flex:1 1 auto; min-width:0; }
  .tb-search input[type="search"] { width:100%; }
  .topbar .tb-brand { display:none; }
  .mainwrap { padding:var(--s-5) var(--s-3); }
  .btnrow { flex-wrap:wrap; }
}

/* Dashboard ---------------------------------------------------------------- */
.hostcard { position:fixed; z-index:50; background:var(--panel); border:1px solid var(--line-2); border-radius:6px;
  box-shadow:0 6px 20px rgba(0,0,0,.18); padding:var(--s-2) var(--s-3); max-width:320px; font-size:var(--t-caption); pointer-events:none; }
.hostcard .hc > * + * { margin-top:var(--s-1); }
.hostcard .hcsev { display:flex; flex-wrap:wrap; gap:var(--s-2); align-items:center; }
[data-hostcard] { cursor:help; text-decoration:underline dotted var(--line-2); text-underline-offset:3px; }
/* A host linked in a table follows the table rule: plain until hovered (UX-1110 Part 3b). */
/* Hosts and identifiers read in IBM Plex Mono everywhere, in tables too (UX-1110 Part 5c). */
td.hostcell, table[data-colpick="assets"] td.cardtitle { font-family:var(--mono); }
.glyph { display:inline-block; vertical-align:-1px; flex:none; }
td a[data-hostcard] { font-family:var(--mono); cursor:pointer; text-decoration:none; }
td a[data-hostcard]:hover { text-decoration:underline; }
a.newtab { visibility:hidden; margin-left:var(--s-1); font-size:var(--t-label); text-decoration:none; color:var(--muted); }
tr:hover a.newtab { visibility:visible; }
a.newtab:hover { color:var(--accent); }
img.thumb { width:24px; height:15px; object-fit:cover; object-position:top; border:1px solid var(--line); border-radius:2px; vertical-align:middle; margin-right:var(--s-2); }
.thread { margin:0 0 var(--s-2); }
.thread li { padding:var(--s-2) 0; border-bottom:1px solid var(--line); }
.cmtext { white-space:pre-wrap; overflow-wrap:anywhere; }
.similar li { padding:0 0; }
.sincevisit { display:flex; align-items:center; gap:var(--s-2); flex-wrap:wrap; margin:0 0 var(--s-3); padding:var(--s-2) var(--s-3); background:var(--panel); border:1px solid var(--line); border-radius:6px; font-size:var(--t-caption); }
.whatsnew { display:flex; flex-wrap:wrap; align-items:flex-start; gap:var(--s-3); background:var(--panel); border:1px solid var(--line);
  border-radius:var(--radius); padding:var(--s-2) var(--s-3); margin:0 0 var(--s-3); }
.whatsnew[hidden] { display:none; }
.whatsnew details { flex:1 1 16em; min-width:0; } .whatsnew summary { cursor:pointer; line-height:var(--ctl-h, 32px); }
.qrbox { display:inline-block; padding:var(--s-2); background:#fff; border-radius:var(--radius); margin:var(--s-2) 0; }
.qrbox svg { display:block; }
code.setupkey { overflow-wrap:anywhere; }
pre.recovery { font-family:var(--mono, monospace); font-size:var(--t-body); line-height:1.7; columns:2; max-width:360px; }
.whatsnew ul { margin:var(--s-2) 0 var(--s-2); padding-left:1.2em; }
.whatsnew li { margin:0 0; }
.qgroup { margin:0 0 var(--s-3); }
.qhead { display:flex; justify-content:space-between; align-items:flex-start; gap:var(--s-3); flex-wrap:wrap; }
.qtags { display:flex; gap:var(--s-2); flex-wrap:wrap; align-items:center; }
.qsignals { margin:var(--s-2) 0 0; padding-left:1.2em; font-size:var(--t-caption); color:var(--muted); }
.qaddrs > summary { cursor:pointer; color:var(--muted); font-size:var(--t-caption); margin:var(--s-2) 0; }
.qgroup table { margin:var(--s-2) 0 0; }
.qgroup .btnrow { margin-top:var(--s-2); }
.cpreview { border:1px solid var(--line); border-radius:var(--r-2, 6px); padding:var(--s-3); margin:0 0 var(--s-3); min-width:0; }
.stackbar { display:flex; height:14px; border-radius:4px; overflow:hidden; background:var(--panel-2); margin:var(--s-3) 0; min-width:80px; }
/* The parts of the bar are spans, never the .seg of the segmented control, whose grey fill covered every colour. */
.stackbar > span { display:block; height:100%; }
.dot[class*="seg-"] { display:inline-block; width:9px; height:9px; border-radius:3px; margin-right:var(--s-1); }
.seg-rawOutput { background:var(--high); } .seg-screenshots { background:color-mix(in srgb,var(--low) 55%,var(--panel)); }
.seg-backups { background:var(--med); } .seg-leftovers { background:var(--crit); }
.seg-reports { background:var(--good); } .seg-snapshots { background:var(--low); }
.seg-records { background:color-mix(in srgb,var(--muted) 55%,var(--panel)); } .seg-state { background:var(--info); } .seg-logs { background:var(--muted); }
.seg-evidence { background:var(--good); }
svg.k-bar .seg-rawOutput { fill:var(--high); } svg.k-bar .seg-screenshots { fill:color-mix(in srgb,var(--low) 55%,var(--panel)); } svg.k-bar .seg-backups { fill:var(--med); }
svg.k-bar .seg-leftovers { fill:var(--crit); } svg.k-bar .seg-reports { fill:var(--good); } svg.k-bar .seg-snapshots { fill:var(--low); }
svg.k-bar .seg-records { fill:color-mix(in srgb,var(--muted) 55%,var(--panel)); } svg.k-bar .seg-state { fill:var(--info); } svg.k-bar .seg-logs { fill:var(--muted); } svg.k-bar .seg-evidence { fill:var(--good); }
.purgeform { display:grid; grid-template-columns:max-content minmax(0,220px); gap:var(--s-2) var(--s-3); align-items:center; max-width:560px; }
.purgeform label.inline, .purgeform .btnrow { grid-column:1 / -1; }
@media (max-width:560px) { .purgeform { grid-template-columns:minmax(0,1fr); } }
/* A titled white panel, as OUI draws one. */
/* The resolved staging targets the operator confirms against, as a plain code block. */
pre.echo { background:var(--panel-2); color:var(--ink); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s-3);
  font-family:var(--mono); font-size:var(--t-caption); overflow-x:auto; white-space:pre; margin:var(--s-2) 0; }
/* The staging readiness list: one row per precondition, a status dot and a
   sentence, so what a run needs reads top to bottom rather than from a
   disabled control. The dot's colour is the only severity signal. */
ul.readylist { list-style:none; margin:var(--s-2) 0 var(--s-3); padding:0; max-width:620px; }
ul.readylist .ready { display:flex; align-items:flex-start; gap:var(--s-2); padding:var(--s-2) 0; border-bottom:1px solid var(--line); }
ul.readylist .ready:last-child { border-bottom:0; }
ul.readylist .rdot { flex:0 0 auto; width:9px; height:9px; border-radius:50%; margin-top:var(--s-1); background:var(--muted); }
ul.readylist .ready.pass .rdot { background:var(--good); }
ul.readylist .ready.fail .rdot { background:var(--warn); }
ul.readylist .rtext { min-width:0; }
ul.readylist .rtext b { font-weight:400; }
/* Panels (UX-1110 0b): one inner padding and one header, a div or a section. */
section.panel { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg);
  box-shadow:var(--shadow); padding:var(--s-5); margin:0 0 var(--s-5); min-width:0; }
:is(section, div).panel > :is(h2.ptitle, h2:first-child) { margin:0 0 var(--s-3); font-size:var(--t-block); letter-spacing:var(--tr-block); }
/* A panel's content starts one step under its title, whatever it is (OVERNIGHT-1113 Stage 3.1). */
:is(section, div).panel > :is(h2.ptitle, h2:first-child) + *, :is(section, div).panel > :is(h2.ptitle, h2:first-child) + * > :first-child { margin-top:0; }
details.addpanel { padding:var(--inset); background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); margin:0 0 var(--s-5); min-width:0; }
details.addpanel > summary { list-style:none; cursor:pointer; }
details.addpanel > summary::-webkit-details-marker { display:none; }
details.addpanel > summary > h2.ptitle { margin:0; padding:var(--s-1) 0; font-size:var(--t-block); letter-spacing:var(--tr-block); border:0; }
details.addpanel > summary > h2.ptitle::before { content:"+"; display:inline-block; width:1em; color:var(--accent); }
details.addpanel[open] > summary > h2.ptitle { margin-bottom:var(--s-3); }
details.addpanel[open] > summary > h2.ptitle::before { content:"−"; }
details.addpanel[open] { padding-bottom:var(--s-3); }
details.addpanel > summary:hover > h2.ptitle { color:var(--accent); }
/* An add panel drawn as a button (CHROME-1118 Part 3.7): closed, the button alone with no frame of its own; open, the
   panel of its form under the button. The button carries its words at the size of a button, with no sign before them. */
details.addpanel:has(> summary.btnlike):not([open]) { padding:0; background:none; border:0; box-shadow:none; margin:0 0 var(--s-5); }
details.addpanel[open] > summary.btnlike { margin-bottom:var(--s-3); }
/* A framework fold carries what it holds beside its name, so a closed one still says whether to open it. */
details.fwfold > summary { display:flex; align-items:center; flex-wrap:wrap; gap:var(--s-2) var(--s-2); }
details.fwfold > summary > h2.ptitle { flex:0 1 auto; }
details.fwfold[open] > summary { margin-bottom:var(--s-3); border-bottom:1px solid var(--line); padding-bottom:var(--s-2); }
details.fwfold[open] > summary > h2.ptitle { margin:0; border:0; padding:var(--s-1) 0; }
/* The last block of a box, and the last block inside that (a table in its wrapper, a
   button row in its form), leaves no margin at its foot: it collapsed through
   its zero-margin parent into a deep empty band.
   A dialog is not a block of the box: placed last in a panel, it lost its bottom margin and sat on the foot of the
   screen (USERS-PHONE-1113 B5). */
:is(section.panel, details.addpanel, .chart) > :last-child:not(dialog),
:is(section.panel, details.addpanel) > :last-child > :last-child:not(dialog) { margin-bottom:0; }
section.panel > h3:first-child { margin-top:0; }
.plainwords { padding:var(--s-3); background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); margin:0 0 var(--s-3); }
.plainwords p { margin:0 0 var(--s-2); } .plainwords p:last-child { margin-bottom:0; }
/* Three abreast while a card is at least 17rem; at 1024px three left a card
   181px wide and its Greek outcome one letter a line (Greek review, 5 November
   2026). A card still narrower stacks each label above its value. */
/* A document as a prospect receives it, drawn as a sheet of paper on the page (kit.scans.sheet); its own colours stay light in both themes. */
.docsheet { display:block; margin:var(--s-4) 0; border:1px solid var(--line); border-radius:var(--radius); overflow-x:auto; }
.runcards { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(20rem,100%),1fr)); gap:var(--s-3); margin:0 0 var(--s-5); align-items:stretch; }
.runcards .panel.runcard { display:flex; flex-direction:column; margin:0; container-type:inline-size; }
@container (max-width: 15rem) { dl.cardfacts { grid-template-columns:minmax(0,1fr); } dl.cardfacts dd { margin-bottom:var(--s-1); } }
.runcard .ptitle { margin:0 0 var(--s-1); font-size:var(--t-body); }
.runcard > p { margin:0 0 var(--s-3); }
.runcard .btnrow { margin-top:auto; padding-top:var(--s-3); }
.runcard form.inline { display:inline; margin:0; }
dl.cardfacts { display:grid; grid-template-columns:9.5em minmax(0,1fr); gap:var(--s-1) var(--s-3); margin:0; font-size:var(--t-caption); }
dl.cardfacts dt { color:var(--muted); } dl.cardfacts dd { margin:0; min-width:0; overflow-wrap:anywhere; }
/* A date and time, and a duration, wrap as units. */
/* The timestamp link and the duration (.dur) stay on one line; a prose value in
   the same slot, such as the "no run of this type" empty state, must wrap, so
   nowrap is not put on every .muted here. */
dl.cardfacts dd a, dl.cardfacts dd .dur { white-space:nowrap; }
/* The run's outcome pill beside the timestamp is prose too: the Greek
   label for a completed run with one tool failed ran a scan card 74px past
   a phone edge. */
.glance { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr)); gap:var(--s-2) var(--s-5); }
.gstage { display:flex; flex-wrap:wrap; align-items:center; gap:var(--s-1) var(--s-2); }
.gstage .k { flex:0 0 100%; color:var(--muted); font-size:var(--t-caption); }
.tchip { font-family:var(--mono, monospace); font-size:var(--t-label); padding:0 var(--s-2); border-radius:999px; border:1px solid var(--line-2); }
.tchip.on { background:var(--accent-weak); border-color:transparent; color:var(--ink); }
.tchip.off { color:var(--muted); text-decoration:line-through; }
.tchip.missing { border-color:var(--bad); color:var(--bad); }
@media (max-width:1000px) { .runcards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .runcards { grid-template-columns:minmax(0,1fr); } .gstage .k { flex-basis:100%; } }
.grid2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--s-5); }
.grid2 > section.panel { margin-bottom:var(--s-5); }
@media (max-width:900px) { .grid2 { grid-template-columns:1fr; gap:0; } }
/* One sentence and one action per line, worst first. */
ul.issues { list-style:none; margin:0; padding:0; }
/* A panel's window, at the right of its title. */
h2.ptitle, .chart .khead { display:flex; flex-wrap:wrap; align-items:center; gap:var(--s-2); }
.k-when { margin-left:auto; flex:none; }
h2.ptitle .pagerange { margin-left:auto; font-weight:400; }
/* A panel title with a control beside it: the control sits in the bar and not
   inside the heading, and the bar carries the title's rule. */
section.panel > .ptitlebar { display:flex; flex-wrap:wrap; align-items:center; gap:var(--s-2); margin:0 0 var(--s-3); }
/* The controls beside a title keep their size and wrap under it on a phone. */
section.panel > .ptitlebar > :not(h2) { flex:none; white-space:nowrap; }
/* A link or control beside a title sits at the panel's right edge, where the Now badge sits. */
section.panel > .ptitlebar > :not(h2):last-child { margin-left:auto; }
/* A row of buttons in the title bar of a panel wraps inside the panel on a phone (overflowx: People and awareness in Greek). */
section.panel > .ptitlebar > .btnrow { flex:0 1 auto; flex-wrap:wrap; min-width:0; max-width:100%; justify-content:flex-end; }
/* The overview's narrow column holds Monitoring and the insights, one under the other. */
.sidestack { display:flex; flex-direction:column; gap:var(--s-5); min-width:0; margin-bottom:var(--s-5); }
.sidestack > .panel { margin:0; }
/* Two ways to start a run side by side: the same height, the form and the last run at the foot of each, so they line up. */
.grid2:has(> .runpanel) { align-items:stretch; }
.runpanel { display:flex; flex-direction:column; }
.runpanel > form { margin-top:auto; }
/* In the narrow column a row's link goes under its text, so the text keeps the
   width. A grid, so the dot stays beside the text: wrapping put a long title on
   a line of its own under its dot. */
.sidestack ul.issues li { display:grid; grid-template-columns:8px minmax(0,1fr); column-gap:var(--s-2); row-gap:var(--s-1); align-items:baseline; }
.sidestack ul.issues .t, .sidestack ul.issues li > a { grid-column:2; justify-self:start; }
section.panel > .ptitlebar h2.ptitle { margin:0; padding:0; border:0; font-size:var(--t-block); letter-spacing:var(--tr-block); }
.ptitlebar .pagerange { margin-left:auto; }
/* A chart inside a panel is titled as every panel is, not as a small caps
   label: two heading styles side by side read as two kinds of thing. */
.chart > .k { font-size:var(--t-body); font-weight:600; color:var(--ink); text-transform:none; margin:0 0 var(--s-3); padding-bottom:var(--s-2); border-bottom:1px solid var(--line); }
/* A long table's pages, under it. */
.pager { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:var(--s-2);
  margin:calc(-1 * var(--s-3)) 0 var(--s-5); font-size:var(--t-caption); color:var(--muted); }
.pager .pgcount { margin-right:auto; }
.pager label { white-space:nowrap; display:inline-flex; align-items:center; gap:var(--s-2); margin:0; font-size:var(--t-caption); color:var(--muted); }
.pager select { width:auto; height:var(--ctl-sm); padding:0 var(--s-6) 0 var(--s-2); background-position:right 8px center; font-size:var(--t-caption); }
ul.issues li { display:flex; align-items:baseline; gap:var(--s-2); padding:var(--s-2) 0; border-top:1px solid var(--line); }
ul.issues li:first-child { border-top:0; }
ul.issues .dot { flex:0 0 8px; height:8px; border-radius:50%; background:var(--muted); transform:translateY(-1px); }
ul.issues li.is-bad .dot { background:var(--bad); } ul.issues li.is-warn .dot { background:var(--warn); }
ul.issues li.is-step .dot { background:var(--accent); }
ul.issues li.is-ok .dot { background:var(--good); }
.insightbasis { display:block; margin-top:0; }
ul.evidencelist { list-style:none; margin:0; padding:0; min-width:min(18em,100%); }
ul.evidencelist li { white-space:normal; padding:0 0; margin:0; background:none; border:0; border-radius:0; }
/* The overview's what-to-do panel beside the narrower monitoring panel. */
.grid21 { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:var(--s-5); align-items:start; }
.grid21 > section.panel { margin-bottom:var(--s-5); }
@media (max-width:1100px) { .grid21 { grid-template-columns:1fr; gap:0; } }
.nextpanel .setupflow { margin:0 0 var(--s-3); padding:0; border:0; box-shadow:none; background:none; }
.nextpanel .feed > li { padding:var(--s-2) var(--s-3); }
.demooffer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:var(--s-2) var(--s-3); border:1px dashed var(--line); border-radius:8px; padding:var(--s-2) var(--inset); margin:0 0 var(--s-3); }
.demooffer p { margin:0; flex:1 1 280px; }
/* An h2 where nothing above it on the page is one, so the outline skips no level. */
:is(h2, h3).subhead { margin:var(--s-5) 0 var(--s-2); font-size:var(--t-table); font-weight:600; color:var(--muted); }
td .bad, p .bad { color:var(--bad); }
ul.issues .t { flex:1 1 auto; min-width:0; }
ul.issues a { flex:0 0 auto; white-space:nowrap; }
/* Narrow: the dot keeps its own column and the action wraps under the text. */
@media (max-width:560px) {
  ul.issues li { display:grid; grid-template-columns:8px 1fr; column-gap:var(--s-2); row-gap:var(--s-1); align-items:baseline; }
  ul.issues .t { grid-column:2; }
  ul.issues a { grid-column:2; margin-left:0; justify-self:start; }
}
.meter { height:8px; border-radius:999px; background:var(--panel-3); overflow:hidden; margin:var(--s-2) 0 var(--s-2); }
.meter i { display:block; height:100%; background:var(--accent); }
section.panel p.covlead { margin:0 0 var(--s-3); }
/* The score on its scale. */
.scorepanel .breakdown { display:flex; flex-wrap:wrap; gap:var(--s-2) var(--s-5); color:var(--muted); font-size:var(--t-caption); margin-top:var(--s-3); }
.scorepanel .breakdown b { color:var(--ink); font-weight:400; }
.rating .rv { display:flex; align-items:baseline; gap:var(--s-2); margin-bottom:var(--s-3); }
.rating .rv b { font-size:var(--t-figure); letter-spacing:var(--tr-figure); line-height:1; font-weight:600; }
.rating .rw { font-size:var(--t-body); }
.rating .rl-low { color:var(--low); } .rating .rl-medium { color:color-mix(in srgb,var(--med) 55%,var(--ink)); }
.rating .rl-high { color:color-mix(in srgb,var(--high) 80%,var(--ink)); } .rating .rl-critical { color:var(--crit); }
.scale { position:relative; padding-bottom:var(--s-5); }
img.brandsq { border-radius:6px; object-fit:cover; }
/* A wide chart fills its card up to 980 pixels, and below its own width it keeps that width and scrolls. */
svg.chartwide { display:block; width:100%; min-width:attr(width px); max-width:980px; height:auto; }
.crabars { max-width:100%; height:auto; }
.scale .bands { display:flex; height:8px; border-radius:4px; overflow:hidden; }
.scale .bands i { display:block; } .scale .bands .rl-low { background:var(--low); } .scale .bands .rl-medium { background:var(--med); }
.scale .bands .rl-high { background:var(--high); } .scale .bands .rl-critical { background:var(--crit); }
.scale .marker { position:absolute; top:-4px; left:0; right:0; height:16px; }
.scale .ticks span { position:absolute; top:12px; font-size:var(--t-label); color:var(--muted); transform:translateX(-50%); }
.scale .ticks span:first-child { transform:none; } .scale .ticks span:last-child { transform:translateX(-100%); }
.scale .bandnames { display:flex; margin-top:var(--s-5); font-size:var(--t-label); color:var(--muted); }
.scale .bandnames span { text-align:center; }
.trendgrid figure { margin:0; } .trendgrid svg { width:100%; height:auto; display:block; }
.trendgrid figcaption { text-align:center; font-size:var(--t-caption); color:var(--muted); margin-top:var(--s-1); }
/* The trend charts draw a 520-unit box with 9-unit labels, which a phone scales
   to about 5px. Larger units keep them at 9 to 11px: two steps, because one size
   over the whole band drew them at 15px at 560 pixels. The 10 tick is dropped, or
   it would run into the 9. The loss curve sizes itself and scrolls instead. */
/* A phone leaves out every other tick: the page script sets chart words to the caption size (VDP-1118). */
@media (max-width:560px) { svg.trend .tmax, svg.trend .tminor { display:none; } }
/* A chart that draws its own box is borderless inside a panel, or it is a box
   in a box. */
section.panel > .panel, section.panel > .chart, section.panel > .score {
  border:0; box-shadow:none; padding:0; margin:0; background:transparent; min-width:0; }
section.panel svg { max-width:100%; }
/* The loss curve keeps a readable size: at the width of the panel its labels were
   4px on a phone and 15px on a wide screen. On a phone it scrolls in its box. */
.scrollx > svg.lec { display:block; width:100%; min-width:560px; max-width:900px; }
.hero { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr)); gap:var(--s-3);
  margin:0 0 var(--s-5); align-items:start; }
.score { display:grid; grid-template-columns:auto minmax(0,1fr); gap:var(--s-5) var(--s-6); align-items:center;
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:var(--s-5) var(--s-5); }
.score .k { color:var(--muted); font-size:var(--t-label); text-align:center; }
.scoreright { display:flex; flex-direction:column; gap:var(--s-5); min-width:0; }
.score .trend { display:flex; flex-direction:column; gap:var(--s-2); min-width:0; }
/* Two tidy columns rather than one tall stack, so the figures line up. */
.score .breakdown { color:var(--muted); font-size:var(--t-caption); display:grid;
  grid-template-columns:repeat(auto-fit,minmax(108px,1fr)); gap:var(--s-2) var(--s-5); }
.score .breakdown span { display:flex; gap:var(--s-2); align-items:baseline; }
.score .breakdown b { color:var(--ink); font-weight:400; font-variant-numeric:tabular-nums; }
@media (max-width:560px) { .score { grid-template-columns:1fr; justify-items:center; } }
.delta { display:inline-flex; align-items:center; gap:var(--s-2); font-size:var(--t-table); }
.delta.down { color:var(--good); } .delta.up { color:var(--bad); } .delta.flat { color:var(--muted); }
svg.gauge { display:block; }
.chart { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:var(--s-3) var(--s-5); }
/* A chart on its own is held off what follows it, as a panel is. */
.mainwrap > .chart { margin:0 0 var(--s-3); }
.sevbar { display:flex; height:16px; border-radius:999px; overflow:hidden; background:var(--panel-3); }
.sevbar span, .sevbar a { display:block; }
.sevbar a:hover { filter:brightness(1.15); }
.stackbar { display:flex; height:14px; border-radius:4px; overflow:hidden; gap:2px; margin:var(--s-2) 0 var(--s-2); }
.stackbar a { display:block; min-width:4px; }
.stackbar a:hover { filter:brightness(.9); }
.agegrid { width:100%; border-collapse:collapse; font-size:var(--t-caption); margin-top:var(--s-2); }
.triageboard { grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr)); }
.triageboard .chart { min-width:0; overflow-x:auto; }
.agegrid td { padding:var(--s-1) var(--s-1); border-bottom:1px solid var(--line); text-align:left; }
.agegrid th { font-weight:500; white-space:normal; line-height:1.2; padding:var(--s-1) var(--s-1); border-bottom:1px solid var(--line); text-align:left; }
.agegrid .num { text-align:right; font-variant-numeric:tabular-nums; }
.agegrid td a { }
.sevlegend a.it { color:inherit; text-decoration:none; }
.sevlegend a.it:hover { color:var(--ink); text-decoration:underline; }
.sevlegend { display:grid; grid-template-columns:repeat(auto-fit,minmax(104px,1fr)); gap:var(--s-2) var(--s-3);
  margin-top:var(--s-3); font-size:var(--t-caption); color:var(--muted); }
.sevlegend .it { display:flex; align-items:center; gap:var(--s-2); }
.sevlegend b { color:var(--ink); font-weight:400; }
.sevlegend.rows { grid-template-columns:1fr; gap:var(--s-2); margin-bottom:var(--s-2); }
.sevlegend.rows b { margin-left:auto; }
/* A legend of a few items set beside each other under a chart, not spread over its width. */
.sevlegend.inline { display:flex; flex-wrap:wrap; gap:var(--s-2) var(--s-3); }
.sevlegend .dot,.legend .dot { width:9px; height:9px; border-radius:3px; flex:0 0 auto; }
.hbars { display:flex; flex-direction:column; gap:var(--s-3); }
.hbar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:var(--s-2) var(--s-3); font-size:var(--t-caption);
  align-items:baseline; }
.hbar .lbl { color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hbar .lbl a { text-decoration:none; }
.hbar .lbl a:hover { text-decoration:underline; }
.hbar .val { font-variant-numeric:tabular-nums; color:var(--ink); }
.hbar .track { grid-column:1/-1; height:8px; border-radius:999px; background:var(--panel-3); overflow:hidden; }
/* A span, so it is made a block: inline, it ignored its width and every bar was an empty track. */
.hbar .fill { display:block; height:100%; border-radius:999px; }
.donutwrap { display:flex; align-items:center; gap:var(--s-5); flex-wrap:wrap; }
/* An arc that opens its list, and a day of the trend that opens its changes. */
.donutwrap a.arc circle, svg.trend a.day rect { cursor:pointer; }
.donutwrap a.arc:hover circle { stroke-width:19; }
svg.trend a.day:hover rect { fill:color-mix(in srgb,var(--accent) 10%,transparent); }
.scrollx { overflow-x:auto; padding-bottom:var(--s-1); }
.legend { display:grid; gap:var(--s-2); font-size:var(--t-caption); color:var(--muted); min-width:0; }
/* dot | label | count, so the counts form a column instead of trailing the text. */
.legend a.it { color:inherit; text-decoration:none; }
.legend a.it:hover { color:var(--ink); text-decoration:underline; }
.legend .it { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:var(--s-2); }
.legend b { color:var(--ink); font-weight:400; font-variant-numeric:tabular-nums; }

/* Feed: a leading status dot, never a left accent bar --------------------- */
ul.plain { list-style:none; padding:0; margin:0 0 var(--s-2); display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(290px,100%),1fr)); gap:var(--s-2); }
ul.plain li { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  padding:var(--s-2) var(--s-2); font-size:var(--t-caption); overflow-wrap:break-word; }
/* In a table cell the list is lines, not boxed cards that read as text fields. */
td ul.plain { display:block; margin:0; }
/* Account, Security: each passkey on a row as Google and GitHub list them: a key,
   the name with Synced or One device, the provider, where it was added and last
   used and Rename, with Remove on the right. */
ul.plain.passkeys { display:block; }
ul.plain.passkeys li { display:flex; align-items:flex-start; gap:var(--s-3); margin-bottom:var(--s-2); padding:var(--s-3); }
ul.plain.passkeys .pkicon { flex:none; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background:var(--panel-2); color:var(--muted); }
ul.plain.passkeys .pkname { flex:1; display:flex; flex-direction:column; gap:2px; min-width:0; }
ul.plain.passkeys .pktitle { display:flex; align-items:center; flex-wrap:wrap; gap:var(--s-2); margin-bottom:0; }
ul.plain.passkeys .pkactions { flex:none; display:flex; align-items:flex-start; gap:var(--s-2); }
ul.plain.passkeys .pkrename { margin-top:var(--s-1); }
ul.plain.passkeys .pkrename > summary { display:inline; list-style:none; cursor:pointer; color:var(--accent); font-size:var(--t-caption); }
ul.plain.passkeys .pkrename > summary:hover { text-decoration:underline; }
ul.plain.passkeys .pkrename > summary::-webkit-details-marker { display:none; }
ul.plain.passkeys .pkrename form { display:flex; gap:var(--s-2); margin-top:var(--s-2); }
ul.plain li.workitem { display:flex; flex-direction:column; gap:var(--s-2); }
ul.plain li.workitem .wtop { display:flex; align-items:center; justify-content:space-between; gap:var(--s-2); }
td ul.plain li { border:0; background:none; border-radius:0; padding:0 0 var(--s-1); }
td ul.plain li:last-child { padding-bottom:0; }
/* A card list ending in its own small margin ran into the fold under it. */
ul.plain + details.fold { margin-top:var(--s-3); }
/* An item wraps and is never cut with an ellipsis: these lists carry sentences
   (the meaning of a maturity level, the approval of a version, the findings of a function),
   and the end of a sentence was the part a reader lost. */
.feed { list-style:none; padding:0; margin:0; }
/* An entry is a card; a list of detail lines inside one is a plain list. */
.feed > li { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  padding:var(--s-3) var(--s-3); margin-bottom:var(--s-2); }
.feed .when { color:var(--muted); font-size:var(--t-caption); margin-top:var(--s-1); }
/* A title is text and flows as text: the dot is placed on its first line out of
   the flow, and the glyph and the words wrap beside it. As a flex row a long
   title was one item that moved to a line of its own, leaving the dot and the
   glyph above it. */
.feed .ttl { font-weight:600; position:relative; padding-left:calc(var(--s-2) + var(--s-2)); }
.feed .ttl > .icon { margin-right:var(--s-2); }
.feed .ttl::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--info);
  position:absolute; left:0; top:calc(.5lh - 4px); }
.feed li.bad .ttl::before { background:var(--bad); }
.feed li.good .ttl::before { background:var(--good); }
.feed ul { margin:var(--s-2) 0 0 var(--s-6); padding:0; color:var(--muted); font-size:var(--t-caption); }
.feed li.new-since { border-color:color-mix(in srgb,var(--accent) 50%,var(--line)); }
.feed li.new-since .ttl::after { content:"new"; display:inline-block; vertical-align:middle; margin-left:var(--s-2); line-height:1.4;
  background:var(--accent); color:var(--accent-ink); font-size:var(--t-label);
  padding:var(--s-1) var(--s-2); border-radius:999px; }
/* The rank row mixes a badge, a bold sentence and a pill, which have three
   different line heights, so centring them left the pill riding high against a
   two-line action. Baseline alignment on the text, with the badge pinned to
   the first line. */
.rank { display:flex; align-items:baseline; gap:var(--s-2) var(--s-2); flex-wrap:wrap;
  line-height:1.45; }
.rank > b { flex:1 1 320px; min-width:0; font-weight:600; }
.rank .k-sev { align-self:center; }
/* The rank number, in the accent. margin:0, because the word lead in the markup also
   names the lead panel, whose bottom margin it was taking. */
.rank .n { background:var(--accent); color:var(--accent-ink); border:1px solid transparent; border-radius:7px;
  min-width:24px; text-align:center; padding:0 var(--s-2); font-size:var(--t-caption); margin:0;
  font-variant-numeric:tabular-nums; align-self:flex-start; flex:0 0 auto; }
.why { color:var(--muted); font-size:var(--t-caption); margin-top:var(--s-2); }
/* The triage reason sits under the risk reasons and has to read as a different
   kind of fact: one is why it ranks here, the other is that nobody has read it. */
.why.unread { color:var(--accent); margin-top:var(--s-1); }

.icon { vertical-align:-.25em; flex:0 0 auto; }
/* An icon beside text sits on the text's centre line through one helper
   (UX-1110 0b): .ic, applied by itself to a heading, a link, a summary or a
   label that starts with an icon, and written on anything else that does. */
/* Spacing a component needs beside its own, as classes and never inline (UX-1110 0b). */
.m0 { margin:0; } .ml-2 { margin-left:var(--s-2); } .flush { margin-left:0; padding-left:0; }
.chartnote { margin:var(--s-2) 0 0; font-size:var(--t-caption); }
/* The age of open findings per surface (console/metrics.ts). */
.agerow { display:flex; align-items:center; gap:var(--s-2); margin:var(--s-1) 0; }
.agelbl { flex:0 0 9rem; } .agetrack { flex:1; } .agetrack.bar { display:flex; height:16px; border-radius:4px; overflow:hidden; background:var(--line); }
.ageval { flex:0 0 2.5rem; text-align:right; font-variant-numeric:tabular-nums; }
.agelegend { display:flex; flex-wrap:wrap; gap:var(--s-4); margin-top:var(--s-2); font-size:var(--t-caption); }
.agekey { display:inline-flex; align-items:center; gap:var(--s-1); }
:where(h1, h2, h3, h4):has(> .icon:first-child) { display:flex; align-items:center; gap:var(--s-2); }
.ic { display:flex; align-items:center; gap:var(--s-2); display:inline-flex; gap:var(--s-1); }
:where(a, summary, label):has(> .icon:first-child) { display:inline-flex; align-items:center; gap:var(--s-1); }
:where(h1, h2, h3, h4, a, summary, label):has(> .icon:first-child) > .icon { margin:0; vertical-align:0; }

/* Live run console ------------------------------------------------------- */
.runbox { margin:var(--s-3) 0; }
/* The dot keeps its size and sits on the first line when the heading wraps. */
.runhead { display:flex; align-items:flex-start; gap:var(--s-2); margin-bottom:var(--s-2); font-size:var(--t-table); }
.runhead .dot { width:9px; height:9px; flex:0 0 9px; margin-top:calc((1lh - 9px) / 2); border-radius:50%; background:var(--accent);
  animation:pulse 1.2s ease-in-out infinite; }
/* A reader who asked the system for less motion gets none: the pulsing dots
   hold still and transitions and smooth scrolling are instant. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:0.01ms !important; animation-iteration-count:1 !important;
    transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}
/* A finished run keeps its console, so the dot stops pulsing and states the
   outcome instead of the window simply disappearing. */
.runbox.done .runhead .dot { background:var(--good); animation:none; }
.runbox.failed .runhead .dot { background:var(--bad); animation:none; }
.runbox.cancelled .runhead .dot { background:var(--muted); animation:none; }
pre.console { max-height:360px; overflow:auto; }
.runfoot:not(:empty) { display:flex; flex-wrap:wrap; gap:var(--s-2); align-items:center; margin-top:var(--s-2); }
.runfoot .muted { font-size:var(--t-caption); }

/* Tabs -------------------------------------------------------------------- */
.tabs { display:flex; gap:var(--s-1); border-bottom:1px solid var(--line); margin:0 0 var(--s-5); overflow-x:auto; overflow-y:hidden; }
/* The other pages of a tab: one menu beside the controls of the page, never a second row of tabs. */
/* Segments (UX-1110 Part 1): what a tab holds, as links under the tabs. */
nav.segments:not(.k-seg) { display:flex; flex-wrap:wrap; gap:var(--s-1) var(--s-2); margin:0 0 var(--s-4); }
nav.segments.k-seg { margin:0 0 var(--s-4); }
nav.segments:not(.k-seg) a { display:inline-flex; align-items:center; gap:var(--s-2); height:var(--ctl-sm); padding:0 var(--s-3); border-radius:999px;
  color:var(--muted); font-size:var(--t-caption); text-decoration:none; border:1px solid transparent; white-space:nowrap; }
nav.segments:not(.k-seg) a:hover { background:var(--panel-2); color:var(--ink); }
nav.segments.subpages { gap:0 var(--s-1); }
/* A header's controls keep their label on one line; the row wraps instead of the button. */
.pageactions > :is(button, a.btnlink, form, details) { white-space:nowrap; }
nav.segments.moreright { -webkit-mask-image:linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image:linear-gradient(to right, #000 calc(100% - 40px), transparent); }
nav.segments.moreleft { -webkit-mask-image:linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image:linear-gradient(to left, #000 calc(100% - 40px), transparent); }
nav.segments.moreleft.moreright { -webkit-mask-image:linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image:linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
nav.segments.subpages a { height:auto; padding:var(--s-1) var(--s-2); border:0; border-bottom:2px solid transparent; border-radius:0; color:var(--muted); }
nav.segments.subpages a:hover { background:none; color:var(--ink); }
nav.segments.subpages a.on { background:none; color:var(--accent); border-bottom-color:var(--accent); }
p.pagelinks { margin:calc(-1 * var(--s-2)) 0 var(--s-4); font-size:var(--t-caption); }
/* A form page's last row of buttons is its save bar, kept in view as the page scrolls (shapes.ts). */
/* The Trust Center editor’s settings sit in a column of their own, their save under their last field (board 18). */
.mainwrap:has([data-shape="form"]) form[data-guard]:not(.k-tcedpanel form) > .btnrow:last-child,
.mainwrap:has([data-shape="form"]) form[data-guard]:not(.k-tcedpanel form) > p:last-child:has(> button) { position:sticky; bottom:0; z-index:5; margin:var(--s-5) 0 0; padding:var(--s-3) 0; background:var(--panel); border-top:1px solid var(--line); box-shadow:var(--shadow-up); }
/* On a phone the save bar sits under the last field, in the flow: pinned, it covered a fifth of the screen (PAGES-1116e). */
@media (max-width:699px) { .mainwrap:has([data-shape="form"]) form[data-guard]:not(.k-tcedpanel form) > :is(.btnrow:last-child, p:last-child:has(> button)) { position:static; border-top:0; } }
/* The help panel: the explanations of a page behind a "?" at the right under its heading, opening beside the page. */
/* The page's help beside its title (CHROME-1118 Part 1.1): a 16 px muted info glyph with no ring, centred on the
   title's capitals, in a 32 px target that the negative margin keeps from widening the title row. The "?" is the top
   bar's help menu, so one glyph means one thing. */
/* The mark sits the kit's icon gap (8 px) after the title, in the muted colour of the secondary icons (UIKIT-1120 7). */
details.pagehelp { position:relative; z-index:20; flex:none; align-self:center; margin:-8px -8px -8px 0; }
details.pagehelp > summary { list-style:none; cursor:pointer; width:32px; height:32px; display:grid; place-items:center; border:0; border-radius:var(--radius-sm); background:transparent; color:var(--muted); }
details.pagehelp > summary::-webkit-details-marker { display:none; }
details.pagehelp > summary:hover, details.pagehelp > summary:focus-visible, details.pagehelp[open] > summary { color:var(--accent); }
details.pagehelp .helpbody { position:absolute; left:0; top:32px; width:max-content; max-width:min(420px, calc(100vw - 32px)); max-height:70vh; overflow:auto; padding:var(--s-4); border-radius:var(--radius); box-shadow:var(--shadow-lg); background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); font-size:var(--t-table); font-weight:400; }
/* Closed, the help draws no box: its body kept one past the edge of a phone, and the page scrolled sideways (overflowx). */
details.pagehelp:not([open]) .helpbody { display:none; }
details.pagehelp .helpbody p { margin:0 0 var(--s-3); }
details.pagehelp .helpbody p:last-child { margin-bottom:0; }
details.pagehelp dl.helpterms { margin:0; }
details.pagehelp dl.helpterms dt { margin-top:var(--s-3); }
details.pagehelp dl.helpterms dd { margin:var(--s-1) 0 0; color:var(--muted); }
span.fighelp { display:none; }
@media (max-width:600px) { details.pagehelp .helpbody { position:fixed; left:16px; right:16px; top:auto; width:auto; } }
/* Settings and Admin: their sections down the left of the page. */
.mainwrap:has(> .sidelist) { display:grid; grid-template-columns:220px minmax(0,1fr); column-gap:var(--s-6); align-items:start; }
.mainwrap:has(> .sidelist) > * { grid-column:2; }
.mainwrap > .sidelist { grid-column:1; grid-row:1 / span 400; position:sticky; top:var(--s-5); display:flex; flex-direction:column; gap:1px; font-size:var(--t-caption); }
.sidelist .sidehead { margin:var(--s-5) 0 var(--s-1); padding:0 var(--s-3); font-size:var(--t-label); color:var(--muted); }
.sidelist .sidehead:first-child { margin-top:0; }
.sidelist a { padding:var(--s-1) var(--s-3); border-radius:var(--radius); color:var(--ink); text-decoration:none; }
.sidelist a:hover { background:var(--panel-2); }
.sidelist a.on { color:var(--accent); background:var(--accent-weak); font-weight:500; }
@media (max-width:760px) {
  .mainwrap:has(> .sidelist) { display:block; }
  .mainwrap > .sidelist { position:static; flex-direction:row; flex-wrap:nowrap; overflow-x:auto; gap:var(--s-1); margin-bottom:var(--s-5); }
  .sidelist .sidehead { display:none; }
  .sidelist a { white-space:nowrap; }
}
.tabs a { padding:var(--s-2) var(--s-3); font-size:var(--t-table); font-weight:500; color:var(--muted); text-decoration:none;
  border-bottom:2px solid transparent; white-space:nowrap; margin-bottom:0; }
.tabs a:hover { color:var(--ink); }
.tabs a.on { color:var(--accent); border-bottom-color:var(--accent); }
/* The second row of a grouped destination: the pages in the chosen section. */
/* In a page the switch is its own block; in a tab head the head sets its margin. */

/* Pipeline ---------------------------------------------------------------- */
.setupflow { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:var(--s-3) var(--s-5); margin-bottom:var(--s-3); display:flex; align-items:center;
  gap:var(--s-5); flex-wrap:wrap; }
/* A fixed 5-column grid, so the connectors can be drawn between column centres
   and never end up pointing at nothing. Below the breakpoint it becomes a
   vertical list and the connectors are dropped entirely rather than wrapped. */
.setupflow ol { list-style:none; margin:0; padding:0; flex:1 1 560px; min-width:0;
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); }
.setupflow li { position:relative; min-width:0; }
.setupflow li:not(:last-child)::after { content:""; position:absolute; top:17px; left:50%; width:100%;
  height:2px; background:var(--line); z-index:0; }
.setupflow li.done:not(:last-child)::after { background:color-mix(in srgb,var(--good) 55%,var(--line)); }
.setupflow a { display:flex; flex-direction:column; align-items:center; gap:var(--s-2); text-decoration:none;
  color:inherit; position:relative; z-index:1; padding:var(--s-1) var(--s-2); border-radius:var(--radius); }
.setupflow a:hover .txt b { text-decoration:underline; }
.setupflow .node { width:30px; height:30px; border-radius:50%; display:inline-flex; align-items:center;
  justify-content:center; font-size:var(--t-caption); border:2px solid var(--line);
  background:var(--panel); color:var(--muted); flex:0 0 auto; }
.setupflow .txt { display:flex; flex-direction:column; align-items:center; text-align:center; min-width:0; }
.setupflow .txt b { font-size:var(--t-caption); font-weight:400; }
.setupflow .txt .d { font-size:var(--t-label); color:var(--muted); line-height:1.35; }
.setupflow .done .node { background:var(--good); border-color:var(--good); color:var(--good-ink); }
.setupflow .ready .node { border-color:var(--accent); color:var(--accent); }
.setupflow .blocked .node { background:var(--panel-3); color:var(--muted); }
.setupflow .blocked .txt b, .setupflow .idle .txt b { color:var(--muted); }
.setupflow .action .node { background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
.setupflow .action .txt b { color:var(--accent); }
.setupflow .cta { flex:0 0 auto; }
@media (max-width:760px) {
  .setupflow ol { grid-template-columns:1fr; gap:var(--s-1); }
  .setupflow li::after { display:none; }
  .setupflow a { flex-direction:row; align-items:center; gap:var(--s-2); padding:var(--s-2) var(--s-1); }
  .setupflow .txt { align-items:flex-start; text-align:left; }
}
/* A disabled action states why it is disabled, next to itself. */
/* The button keeps its own width above its reason, and the other controls in the row
   line up with the button and not with the button and its reason together. */
.blockedbtn { display:inline-flex; flex-direction:column; align-items:flex-start; gap:var(--s-1); }
.btnrow:has(.blockedbtn) { align-items:flex-start; }
.blockedbtn .why { font-size:var(--t-label); color:var(--muted); max-width:30ch; line-height:1.35; }

/* The browser's own controls (a date picker, a scrollbar) follow the theme
   chosen here and not only the system's. */
:root { color-scheme:light; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { 
  --bg:#111219; --panel:#1a1b24; --panel-2:#22232e; --panel-3:#2a2b38;
  --line:#343741; --line-2:#424650; --ink:#dfe5ef; --muted:#98a2b3; --faint:#8a93a5;
  --accent:#8b8ef8; --accent-2:#5fd4c4; --accent-3:#c49bf2;
  --accent-weak:#24254a; --accent-ink:#0d0e1f;
  --crit:#FF6666; --high:#FF9F43; --med:#FFD54A; --low:#79AAD9; --info:#98A2B3;
  --warn:#FFCE7A; --sev-ink:#1D1E24; --high-ink:#1D1E24;
  --good:#3fb950; --good-ink:#0d0e1f; --bad:#f86b63; --bad-ink:#1D1E24;
  /* A share of completion, which is not a judgement: neutral, at least 3:1 against the track (UI-1114b 3). */
  --progress:#9097a6;
  /* Fills for bars and filled marks, apart from the text tones, so critical and high differ in lightness and not
     only in hue: 1.76:1 between them here (VISUAL-1114, rule 8). Small text in a severity uses the -text tones. */
  --crit-fill:#ff7d7d; --high-fill:#ffd29e; --med-fill:#f5c542; --low-fill:#9cc2ff; --info-fill:#5b6275; --good-fill:#7fd8a4;
  --crit-text:#ff9a9a; --high-text:#ffb874; --med-text:#f5c542; --low-text:#9cc2ff; --info-text:#98a2b3;
  --scroll-shade:rgba(0,0,0,.65);
  --shadow:0 1px 2px rgba(0,0,0,.3);
  --shadow-lg:0 8px 24px rgba(0,0,0,.45);
  --nav:#0b0c14; --nav-ink:#e4e6f2; --nav-muted:#a3a7bf; --nav-faint:#80849c; --nav-hover:#171828;
  --nav-on:#ffffff; --nav-line:#1d1f30;
 color-scheme:dark; } }
:root[data-theme="dark"] { 
  --bg:#111219; --panel:#1a1b24; --panel-2:#22232e; --panel-3:#2a2b38;
  --line:#343741; --line-2:#424650; --ink:#dfe5ef; --muted:#98a2b3; --faint:#8a93a5;
  --accent:#8b8ef8; --accent-2:#5fd4c4; --accent-3:#c49bf2;
  --accent-weak:#24254a; --accent-ink:#0d0e1f;
  --crit:#FF6666; --high:#FF9F43; --med:#FFD54A; --low:#79AAD9; --info:#98A2B3;
  --warn:#FFCE7A; --sev-ink:#1D1E24; --high-ink:#1D1E24;
  --good:#3fb950; --good-ink:#0d0e1f; --bad:#f86b63; --bad-ink:#1D1E24;
  /* A share of completion, which is not a judgement: neutral, at least 3:1 against the track (UI-1114b 3). */
  --progress:#9097a6;
  /* Fills for bars and filled marks, apart from the text tones, so critical and high differ in lightness and not
     only in hue: 1.76:1 between them here (VISUAL-1114, rule 8). Small text in a severity uses the -text tones. */
  --crit-fill:#ff7d7d; --high-fill:#ffd29e; --med-fill:#f5c542; --low-fill:#9cc2ff; --info-fill:#5b6275; --good-fill:#7fd8a4;
  --crit-text:#ff9a9a; --high-text:#ffb874; --med-text:#f5c542; --low-text:#9cc2ff; --info-text:#98a2b3;
  --scroll-shade:rgba(0,0,0,.65);
  --shadow:0 1px 2px rgba(0,0,0,.3);
  --shadow-lg:0 8px 24px rgba(0,0,0,.45);
  --nav:#0b0c14; --nav-ink:#e4e6f2; --nav-muted:#a3a7bf; --nav-faint:#80849c; --nav-hover:#171828;
  --nav-on:#ffffff; --nav-line:#1d1f30;
 color-scheme:dark; }
/* An action beside the page's main one: a button where there is room, an item of the page's menu where there is not. */
/* An action beside the primary is in More only where the header folds it away, at the width the menu folds (760). The
   selector outranks details.dropmenu .menu a, which drew the copy at every width (VISUAL-1114b 14). */
details.pagemore .menu [data-narrow], details.pagemore[data-narrowonly] { display:none; }
@media (max-width:760px) { details.pagemore .menu [data-narrow] { display:block; } details.pagemore[data-narrowonly] { display:inline-block; } .pagemore ~ [data-wide] { display:none; } }

@media (max-width:760px) {
  /* Hidden as well as moved while closed: off screen alone, its links stayed in
     the Tab order, so a keyboard walked the whole menu out of sight first. */
  #nav { position:fixed; top:0; left:0; height:100vh; height:100dvh; transform:translateX(-100%);
    visibility:hidden; transition:transform .22s ease, visibility 0s linear .22s; box-shadow:var(--shadow-lg); }
  body.nav-open #nav { transform:translateX(0); visibility:visible; transition:transform .22s ease; }
  aside .brand .x { display:inline-flex; }
  #navcollapse { display:none; }
  .topbar { padding:0 var(--s-3); }
  .tb-search input[type="search"] { width:120px; }
  .topbar .menubtn { display:inline-flex; }
  /* Every page's h1 is visible (UX-1110 Part 4), so on a phone the top bar shows
     the brand and never the trail: its last step alone would repeat the h1 (Part 6c). */
  .topbar .tb-brand { display:flex; min-width:0; }
  /* A long brand keeps to one line beside the bar's icons, the bell among them (NOTIFY-1117). */
  .topbar .tb-brand .name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .topbar .tb-left { min-width:0; }
  .topbar .tb-title { display:none; }
  body.nav-open .backdrop { display:block; position:fixed; inset:0; background:rgba(4,8,14,.55); z-index:35; }
  .mainwrap { padding:var(--s-5) var(--s-3) var(--s-6); }
  .score { gap:var(--s-3); }
}
.backdrop { display:none; }

/* Design layer ------------------------------------------------------------ */
/* One kit, written last so it is the rule that wins: the brand rail, display
   type, one badge, one button scale, styled native controls, toasts and the
   overview hero. Components above keep their layout; this sets their look. */

/* The rail carries its own dark tokens, so every component inside it (the
   workspace switcher, chips, badges) renders for a dark surface without a
   parallel set of rules. */
#nav { --panel:#171830; --panel-2:#1b1c32; --panel-3:#25274a; --line:#2a2c48; --line-2:#3a3d60;
  --ink:#eceef8; --muted:#9094ad; --faint:#9094ad; --accent-weak:rgba(139,142,248,.16); --accent:#a9abff;
  border-right-color:var(--nav-line); }
/* The menu as the boards draw it (PAGES-1115b Part 0): every item in the muted ink, text and line icon alike, the
   ink on hover, and only the current item in --nav-on at 500 on its background. Section labels take the third tone.
   Each pair is held at 4.5:1 for text and 3:1 for icons in navcontrast.test.ts. */
aside nav a { color:var(--nav-muted); }
aside nav a:hover { background:var(--nav-hover); color:var(--nav-ink); }
aside nav a.on { background:rgba(139,142,248,.18); color:var(--nav-on); }
aside nav a .icon { flex:none; }
aside nav .navhead { color:var(--nav-faint); }
aside nav details.navmore > summary { cursor:pointer; list-style:none; }
aside nav details.navmore > summary::-webkit-details-marker { display:none; }
aside nav details.navmore > summary::after { content:"+"; float:right; } /* copy: a glyph */
aside nav details.navmore[open] > summary::after { content:"\2212"; } /* copy: a glyph */
/* The name in the brand gradient, the mark's own. Wiz, Datadog, Tenable and
   Vercel carry no tagline in the console, so the name stands alone, on the
   sign-in page too. */
aside .brand .name { font-family:var(--display); font-weight:600; font-size:var(--t-block); letter-spacing:var(--tr-block);
  background:linear-gradient(120deg,#a5b4fc 0%,#818cf8 40%,#c084fc 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.barecard .brandline .name { font-family:var(--display); font-weight:600; font-size:var(--t-block); letter-spacing:var(--tr-block);
  background:linear-gradient(120deg,#a5b4fc 0%,#818cf8 40%,#c084fc 100%); -webkit-background-clip:text; background-clip:text; color:transparent; background-image:linear-gradient(120deg,#6366f1 0%,#4f46e5 45%,#9333ea 100%); font-size:var(--t-block); letter-spacing:var(--tr-block); }
.topbar .tb-brand .name { font-family:var(--display); font-weight:600; font-size:var(--t-block); letter-spacing:var(--tr-block);
  background:linear-gradient(120deg,#a5b4fc 0%,#818cf8 40%,#c084fc 100%); -webkit-background-clip:text; background-clip:text; color:transparent; background-image:linear-gradient(120deg,#6366f1 0%,#4f46e5 45%,#9333ea 100%); font-size:var(--t-block); letter-spacing:var(--tr-block); }
aside .brand .name small { color:var(--nav-muted); }
aside .buildid, aside .navcollapse { color:var(--nav-muted); }

/* The mark: a globe with one meridian, drawn here and never fetched. */
.logo { width:34px; height:34px; background:none; box-shadow:none; border-radius:0; }
.logo svg { display:block; }
.topbar .tb-brand .logo { width:30px; height:30px; }
/* A wordmark (drawn with a height and no width) keeps its proportions instead of the square box, within the bar. */
.logo:has(> img:not([width])) { width:auto; max-width:100%; } .logo > img:not([width]) { max-width:100%; object-fit:contain; }

/* Display type (UX-1110 Part 5c): IBM Plex Sans at 600 at most, -0.02em at display sizes (the title and the large
   numbers), -0.01em at section headings, and 0 for body and controls. */
h1 { font-family:var(--display); }
h1 { font-size:var(--t-page); letter-spacing:var(--tr-page); font-weight:600; }
h2 { }
b, strong { font-weight:400; }
/* One heading scale: a section heading is the same size whether or not it
   titles a panel (it was 16px bare and 15px in a panel, and five pages had
   both), and a sub-heading is a step below it, not the same size. */
h2 { font-size:var(--t-block); letter-spacing:var(--tr-block); font-weight:600; border-bottom:0; padding-bottom:0; }
h2 .icon { color:var(--accent); }

/* Surfaces: three levels. The canvas, a panel lifted off it, and a raised
   layer (menus, toasts) above both. */
.panel, table, .fold, .chart { border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); border-color:var(--line); }
/* A chart keeps its panel-style title from the chart rule above. */
.panel > .k { color:var(--muted); }
table:not(.kv) th { background:var(--panel-2); color:var(--muted); font-size:var(--t-caption); font-weight:500; text-transform:none; }
/* A heading followed by cells labels its row, so it reads as the label of a fact
   sheet does and wraps, giving the value columns their width back. The heat map
   keeps its own look. */

.stagehead .muted { text-transform:none; font-weight:400; }
.umenu, .wsmenu, .bulkpop{ border-radius:var(--radius-xl); box-shadow:var(--shadow-lg); }

/* One badge. Severity, status, tag and flag were four shapes; they are one
   pill now and differ only in colour. */
/* Chips (UX-1110 0b): one height, padding, radius and type for a status, a
   severity, a grade, a filter and a count. Only the colours differ, set below
   and where each kind is drawn. */


/* A copy glyph in a cell is no taller than the text it copies, so a hidden one
   does not lower the value or add blank lines when it wraps. A touch screen has
   no hover to reveal it, so there it is always shown. */
td .copy { height:var(--ctl-sm); padding-block:0; }
@media (hover:none) { .copy { opacity:1; } }
/* A field in a table row is the small height, as its buttons are. */

/* A small control on the first line of a top-aligned cell makes that line deeper,
   so its text sat below the text in the next cell. The padding of the cell gives
   back the difference, so a row of controls is as deep as a row of text. */

/* A disclosure in an assessment row sits on its own line under the title. */
.mattable td > details.inlineedit { display:block; margin-top:var(--s-1); }
/* The portfolio's onboarding marks: one per step, done, open or regressed. */
.ckrow { display:inline-flex; gap:var(--s-1); vertical-align:middle; } .ckmark { display:inline-grid; place-items:center; width:18px; height:18px; border-radius:4px; font-size:var(--t-label); background:var(--panel-2); color:var(--muted); border:1px solid var(--line); } .ckmark.ck-done { background:color-mix(in srgb,var(--good) 14%,var(--panel)); color:color-mix(in srgb,var(--good) 80%,var(--ink)); border-color:color-mix(in srgb,var(--good) 35%,var(--line)); } .ckmark.ck-regressed { background:color-mix(in srgb,var(--warn) 14%,var(--panel)); color:var(--warn); border-color:color-mix(in srgb,var(--warn) 35%,var(--line)); }

/* Native controls, drawn. A select keeps the browser's list and loses its
   own chrome; a file input's button is a secondary button. */

/* The segmented control is the one switch for a short set of choices: the
   surface switch and the sort row are drawn as it is. */


.wsmenu button, .wsmenu a { justify-content:flex-start; box-shadow:none; height:auto; }

/* Search is a button in the top bar; the field opens beside it on request.
   Without script the field stays open, since the button would do nothing. */
html.js .tb-search:not(.tb-searchbtn) { display:none; }
/* One search: the field-shaped button from 761, the glyph alone on a phone; both open the palette. */
@media (min-width:561px) { html .topbar .tb-actions .iconbtn.searchbtn { display:none; } }
.tb-search input[type="search"] { width:280px; height:var(--ctl-h); border-radius:var(--radius-md); }
html:not(.js) .searchbtn { display:none; }
.topbar .tb-actions { gap:var(--s-2); }
.topbar .menubtn { border-color:transparent; width:var(--ctl-h); height:var(--ctl-h); justify-content:center; padding:0; border-radius:var(--radius-md); }
.topbar .tb-actions:empty { display:none; }
@media (max-width:560px) { html.js .tb-search.open { position:absolute; left:var(--s-3); right:96px; top:10px; z-index:5; }
  html.js .tb-search.open input[type="search"] { width:100%; } }

/* One inset. Panels, cards, tiles, folds, message boxes, empty states and
   table cells had 14, 16 and 22 pixels of side padding, so text in a stack of
   them started at three different distances from the edge. */

.danger, .ok, .warnbox, .note, .running, .empty { padding:var(--s-3) var(--inset); }
/* Blocks inside a form sit on the spacing scale: a text area was an inline
   box, so the line box under it added 6 pixels to every gap below it. */

h3 { margin:var(--s-5) 0 var(--s-2); font-size:var(--t-table); font-weight:600; }
h3 + p, h3 + .muted { margin-top:0; }
h2 + ul, h2 + ol { margin-top:0; }
b + div.muted { margin-top:var(--s-1); }
.prefrow .what b + .muted { display:block; margin-top:var(--s-1); }

/* Tabbed pages. The tab row is the page's heading: the controls sit at its
   end, the visually hidden h1 names the page for the title and screen readers. */
.vh { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; margin:0; padding:0; }
/* The page's controls share the first row with the tabs and nothing else: the
   second row, the pages in the chosen section, runs the full width. In one flex
   row the controls took their width from both rows, so on Period report, with
   the surface switch, a time range and Export, the second row was cut short at
   1440 pixels and scrolled its first page out of view. */
.tabhead { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:var(--s-3); align-items:start;
  border-bottom:1px solid var(--line); margin:0 0 var(--s-5); min-height:var(--ctl-h); }
.tabhead .tabstack { display:contents; }
/* A destination with one tab draws no tab strip: the band held nothing but its height and rule, a gap of 50 pixels
   under the title on every partner page (POLISH-1111). Its segments follow the title. */
.tabhead:has(> .tabstack:empty):not(:has(> .pageactions)) { display:none; }
.tabhead .tabstack > * { grid-column:1 / -1; grid-row:2; min-width:0; }
.tabhead .tabstack > .tabs { grid-column:1; grid-row:1; }
.tabhead > .pageactions { grid-column:2; grid-row:1; }
.tabhead .tabs { border-bottom:0; margin:0; scrollbar-width:none; }
.tabhead .tabs::-webkit-scrollbar, .tabhead .segments::-webkit-scrollbar { display:none; }
.tabhead .segments { margin:var(--s-3) 0 var(--s-3); }
/* Past a phone the second row of pages wraps rather than scrolls, so every page
   of the group is in view: the eight Greek Sharing pages need 1,306px and had
   1,125 at 1440, so the last two sat behind the fade. A phone keeps the
   scrolling row, where a wrap would take four lines. */
/* A scrollable tab strip hides its scrollbar, so without a cue a reader cannot
   tell more tabs sit off the edge and the active one can be scrolled out of
   view entirely. A fade on each overflowing edge is that cue; the class is set
   by script from the scroll position, so it shows only on the side with more. */
.tabs.ovf-l, .segments.ovf-l, .k-titlesegs.ovf-l, .tabhead .pageactions.ovf-l { -webkit-mask-image:linear-gradient(90deg,transparent,#000 26px); mask-image:linear-gradient(90deg,transparent,#000 26px); }
.tabs.ovf-r, .segments.ovf-r, .k-titlesegs.ovf-r, .tabhead .pageactions.ovf-r { -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent); mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent); }
.tabs.ovf-l.ovf-r, .segments.ovf-l.ovf-r, .k-titlesegs.ovf-l.ovf-r, .tabhead .pageactions.ovf-l.ovf-r { -webkit-mask-image:linear-gradient(90deg,transparent,#000 26px,#000 calc(100% - 26px),transparent); mask-image:linear-gradient(90deg,transparent,#000 26px,#000 calc(100% - 26px),transparent); }
/* The tabs set the row's height: an action beside them (Export, a time range) is
   no taller than they are, so the line under the row, and the active tab's
   underline on it, sit at the same place on a page with actions as on one
   without. A padded action row made it 4px deeper and floated the underline. */
.tabhead .pageactions { flex:none; display:flex; gap:var(--s-2); align-items:center; padding-bottom:0; }
.tabhead .pageactions:empty:not(.reserve) { display:none; }
.topbar .crumb.here { color:var(--ink); font-weight:500; }
.tabhead + .surfacenote { margin-top:calc(var(--s-3) * -1); }
@media (max-width:760px) { .tabhead { grid-template-columns:minmax(0,1fr); }
  .tabhead > .pageactions { grid-column:1; grid-row:1; }
  .tabhead .tabstack > .tabs { grid-row:2; }
  .tabhead .tabstack > :not(.tabs) { grid-row:3; }
  .tabhead .pageactions { padding:0 0 var(--s-2); overflow-x:auto; flex-wrap:nowrap; justify-content:flex-start; min-height:calc(var(--ctl-h) + var(--s-2)); } }

/* Preferences and other settings rows: each group is one card with a small
   heading above it, rows at the standard inset, the control at the row's end. */

.prefrows { max-width:860px; max-width:880px; background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); margin:0 0 var(--s-5); }
.prefrow { padding:var(--s-2) var(--inset); min-height:56px; gap:var(--s-3); }
.prefrow:last-child { border-bottom:0; }
.prefrow .what b { font-size:var(--t-table); }
.prefrow .what b + span { display:block; margin-top:var(--s-1); margin-top:0; }
h2 + .prefrows { margin-bottom:var(--s-2); }
h2:has(+ .prefrows) { margin-bottom:var(--s-2); margin-top:var(--s-5); color:var(--muted); }
.tabhead + p.hint + h2:has(+ .prefrows), .tabhead + h2:has(+ .prefrows) { margin-top:0; }

/* The filter bar: one row, one surface, above the list it filters. */
form.filters { padding:var(--s-2) var(--inset); background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:var(--s-2) var(--s-3); box-shadow:var(--shadow-sm); }

/* Explanations stay on the page and take one line until asked for. */

p.hint.clamp.open, .surfacenote.clamp.open { display:block; -webkit-line-clamp:unset; }
/* The padding and border of a code chip reach above its own line, so one on the
   hidden second line drew a stray rule under the first. */
p.hint.clamp:not(.open) code { padding-block:0; border-top-color:transparent; border-bottom-color:transparent; }
p.hint.clamp, .surfacenote.clamp { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:1; overflow:hidden; margin-bottom:var(--s-1); }
button.more:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:4px; }

/* Toasts. A confirmation is a message about the action just taken, so it is
   raised over the page for a few seconds rather than pushing the page down. */
.toasts { position:fixed; right:20px; top:calc(56px + var(--s-3)); z-index:90; display:flex; flex-direction:column; gap:var(--s-2);
  max-width:min(440px, calc(100vw - 32px)); pointer-events:none; }
/* At the top, under the top bar, at every width (USERS-PHONE-1113 C9): a notice at the foot of a phone sat under the
   thumb, or below a page scrolled to its end; on a phone it spans the screen between its gutters. */
@media (max-width:600px) { .toasts { left:16px; right:16px; max-width:none; } }
/* Icon, message, close: three columns, so a long message wraps beside its icon
   rather than under it. The kind is carried by the icon's colour; the box is
   the panel's own, with no coloured edge. */
.toasts > .ok, .toasts > .danger { pointer-events:auto; margin:0; display:grid; grid-template-columns:auto 1fr auto;
  align-items:start; column-gap:var(--s-2);
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); padding:var(--s-2) var(--s-3); animation:toastin .22s ease-out; }
.toasts > .ok > .icon, .toasts > .danger > .icon { margin-top:var(--s-1); }
.toasts .toastmsg { min-width:0; }
.toasts .toastmsg:first-child { grid-column:1 / 3; }
.toasts .toastmsg form.inline { margin-left:var(--s-1); }
.toasts > .ok .icon { color:var(--good); }
.toasts > .danger .icon { color:var(--bad); }
.toasts > .gone { opacity:0; transform:translateY(6px); transition:opacity .25s ease, transform .25s ease; }
.toasts .toastx { all:unset; cursor:pointer; grid-column:3; color:var(--muted); padding:0 var(--s-1); font-size:var(--t-block); letter-spacing:var(--tr-block); line-height:1; }
.toasts .toastx::before { content:"\00d7"; }
@keyframes toastin { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
:root[data-motion="reduced"] .toasts > *, :root[data-motion="reduced"] .toasts > .gone { animation:none; transition:none; }
@media (prefers-reduced-motion: reduce) { .toasts > * { animation:none; } }
main.swapping .mainwrap { opacity:.6; transition:opacity .12s ease; }

/* Empty states: a quiet panel with the glyph in a soft disc. */
.empty { background:var(--panel); border:1px dashed var(--line-2); border-radius:var(--radius-lg); }
.empty .emptyicon { width:44px; height:44px; border-radius:50%; align-items:center; justify-content:center;
  background:var(--accent-weak); color:var(--accent); opacity:1; }

.chg { display:inline-flex; align-items:center; gap:var(--s-1); margin-top:auto; font-size:var(--t-caption); }
.chg.same { color:var(--muted); }
.chg.bad { color:var(--crit-text); } .chg.good { color:var(--good); }
.trendgrid .ctitle { margin:0 0 var(--s-1); font-size:var(--t-table); font-weight:600; }
.trendgrid .sevlegend { margin:0 0 var(--s-2); }
.sevlegend .dot.unsplit { background:color-mix(in srgb,var(--muted) 35%,transparent); }
/* No measurement yet: the panel keeps its place and its height, and says when the trend starts. */
.trendempty { display:grid; place-items:center; height:180px; border:1px dashed var(--line-2); border-radius:var(--radius);
  color:var(--muted); font-size:var(--t-caption); text-align:center; padding:var(--s-3); }
/* A grade chip in the one palette (gradecolours.ts), wherever a trust center's grade is shown in the console. */
.gchip{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;font-weight:500;height:var(--chip-h);min-width:var(--chip-h);padding:0 var(--chip-x);border-radius:999px;font-size:var(--t-label);line-height:1;vertical-align:middle;background:#9aa0b4;color:#fff}
/* The component kit's type scale and figures (SHOWCASE, 10 November 2026): page title, block title, figure, body
   and caption, one step each, and a figure drawn as a tile, never as an underlined number. The rest of the console
   follows these as it is brought to the same rules. */
:root { --ctl-sm:28px; --ctl-h:36px; --ctl-lg:42px; --btn-x-sm:10px; --btn-x:14px; --btn-x-lg:20px; --chip-h:22px; --chip-x:8px; --inset:var(--s-5); --t-label:12px; --t-caption:14px; --t-table:14px; --t-body:14px; --t-block:18px; --t-page:25px; --t-figure:30px; --tr-block:-.01em; --tr-page:-.02em; --tr-figure:-.02em; --border-soft:color-mix(in srgb, var(--line) 70%, transparent); --block-gap:var(--s-5); }
.hbline { display:flex; flex-wrap:wrap; gap:var(--s-1) var(--s-2); align-items:baseline; font-size:var(--t-body); margin:var(--s-1) 0; }
.hbline .k { color:var(--muted); font-size:var(--t-caption); min-width:13em; }
/* Home's three blocks (console/homeblocks.ts). */
.homeblock .hbgrades { display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:var(--s-5); }
.homeblock .hblabel { font-size:var(--t-caption); font-weight:600; color:var(--muted); margin-bottom:var(--s-1); }
.homeblock .hbbig { display:flex; align-items:center; gap:var(--s-3); font-size:var(--t-body); }
.homeblock .gchip.gbig { height:auto; min-width:2em; font-size:var(--t-figure); letter-spacing:var(--tr-figure); line-height:1.3; border-radius:10px; text-decoration:none; }
/* The area grades: one row per area, in columns (UX-1110, founder: every grade shown, none crammed). */
.homeblock .arealist { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(12em, 1fr)); gap:var(--s-2) var(--s-5); }
.homeblock .arealist li { display:flex; align-items:center; gap:var(--s-2); }
.homeblock [data-customers-grade] { margin-top:var(--s-3); }
/* A figure or a line on Home is a link, not prose: no underline until hover or focus (UI-1114 1.5). */
main .homeblock .hbline a:not(.btnlink, .k-tag, .gchip), main .homeblock .arealist a:not(.gchip) { text-decoration:none; } main .homeblock :is(.hbline, .arealist) a:is(:hover, :focus-visible) { text-decoration:underline; }
.homeblock .hbrow { display:grid; grid-template-columns:minmax(0, 14em) auto minmax(0, 1fr); gap:var(--s-3); align-items:baseline; }
.homeblock .hbvalue { font-size:var(--t-figure); letter-spacing:var(--tr-figure); font-weight:600; }
.homeblock .hbtext { grid-column:2 / -1; }
.homeblock .hbsub { margin:var(--s-5) 0 var(--s-1); font-size:var(--t-table); }
.homeblock .hblead { display:grid; grid-template-columns:minmax(220px, 300px) minmax(0, 1fr); gap:var(--s-5); align-items:start; margin-bottom:var(--s-3); }
.homeblock .hbnext .hbtext { margin:0; font-size:var(--t-body); }
.homeblock .hbsecondary { border-top:1px solid var(--border-soft); padding-top:var(--s-2); }
@media (max-width:700px) { .homeblock .hblead { grid-template-columns:1fr; } .hbline .k { min-width:0; width:100%; } }
@media (max-width:560px) { .homeblock .hbrow { grid-template-columns:1fr auto; } .homeblock .hbcap, .homeblock .hbtext { grid-column:1 / -1; } }
/* One surface level per card (VISUAL-1117 Part 2.1). The title of a panel draws no rule under it: its size and the space
   under it set it apart, as the cards of Vanta, Drata and Linear are titled. A block inside a card is set apart by
   space or a subtle fill, never a second frame; code and evidence keep their fill. Measured by nestedframe. */
:is(.panel, .k-card, details.addpanel, dialog) :is(.lead, .plainwords, .empty:not(.k-emptypage), .note, .warnbox, .danger, .ok, .running) { border-color:transparent; }
:is(.panel, .k-card, details.addpanel, dialog) :is(.lead, .plainwords) { background:var(--panel-2); }
:is(.panel, .k-card, details.addpanel) .empty:not(.k-emptypage) { background:var(--panel-2); }
:is(.panel, .k-card, details.addpanel, details.fold, dialog) fieldset { border-color:transparent; padding-left:0; padding-right:0; }
:is(.panel, .k-card, details.addpanel, dialog) pre { border-color:transparent; }
details.fold details.fold { border-color:transparent; }
/* One action per row shown on hover and focus, always on touch (VISUAL-1117 Part 2.2; the page script marks the table). */
@media (hover:hover) {
  table.k-hoveract:not(.k-cards) td:last-child > .rowacts > :not(details.rowmenu) { opacity:0; transition:opacity .12s; }
  table.k-hoveract:not(.k-cards) tr:is(:hover, :focus-within) td:last-child > .rowacts > :not(details.rowmenu) { opacity:1; }
}
table.k-hoveract tr.k-rowopen { cursor:pointer; }
/* ΕΑΚ as an abbreviation on an English page: its full name on hover, read out by a screen reader, with no underline
   that would read as a link (VISUAL-1117 Part 2.8). */
abbr[title] { text-decoration:none; cursor:help; }
/* The segments of a list and a filter beside them as one row under the tabs (VISUAL-1117 Part 2.9). */
.k-segfilters { display:flex; flex-wrap:wrap; align-items:flex-start; gap:var(--s-2) var(--s-3); margin:0 0 var(--s-3); }
.k-segfilters > * { margin-top:0; margin-bottom:0; }
.k-segfilters > :first-child { flex:0 1 auto; min-width:0; }


.pagetitle .headsegs nav { margin:0; padding:0; }
.pagetitle .headsegs nav a { padding-block:0; min-height:0; line-height:var(--ctl-h); }
/* The pages of a short tab: a segmented control at the right end of the tab row (UI-1114 1.8). */
.tabs nav.tabpages { display:flex; gap:var(--s-1); margin-left:auto; align-self:center; flex:none; padding-left:var(--s-3); }
.tabpagesnarrow { display:none; }
@media (max-width:600px) { .tabs nav.tabpages { display:none; } .tabpagesnarrow { display:block; } }
.tabs nav.tabpages a { display:inline-flex; align-items:center; height:var(--ctl-sm); padding:0 var(--s-3); border:1px solid var(--line); border-radius:999px; color:var(--muted); }
.tabs nav.tabpages a.on { background:var(--accent-weak); color:var(--accent); border-color:color-mix(in srgb,var(--accent) 30%,transparent); }
/* KIT-RULES-1111 Part 2.3: the widths a block or a control takes, so no page writes one inline. */
.k-measure-s { max-width:420px; } .k-measure { max-width:560px; } .k-measure-l { max-width:720px; } .k-measure-xl { max-width:860px; }
.k-w-xs, :is(input, select, textarea).k-w-xs { width:6em; max-width:min(6em, 100%); flex:none; }
.k-w-s, :is(input, select, textarea).k-w-s { width:10em; max-width:min(10em, 100%); flex:none; }
.k-w-m, :is(input, select, textarea).k-w-m { width:14em; max-width:min(14em, 100%); flex:none; }
.k-w-full, :is(input, select, textarea).k-w-full { width:100%; }
.k-prewrap { white-space:pre-wrap; }
.k-stack { display:flex; flex-direction:column; }
.k-cluster { display:flex; flex-wrap:wrap; align-items:center; }
.k-grid { display:grid; }
.k-cols2 { grid-template-columns:repeat(2, minmax(0,1fr)); } .k-cols3 { grid-template-columns:repeat(3, minmax(0,1fr)); } .k-cols4 { grid-template-columns:repeat(4, minmax(0,1fr)); }
@media (max-width:600px) { .k-cols2, .k-cols3, .k-cols4 { grid-template-columns:minmax(0,1fr); } }
.k-split { display:flex; align-items:center; justify-content:space-between; gap:var(--s-3); flex-wrap:wrap; }
.k-split > .k-splitmain { min-width:0; flex:1 1 auto; } .k-split > .k-splitend { display:flex; align-items:center; gap:var(--s-2); flex:none; }
.k-g1 { gap:var(--s-1); } .k-g2 { gap:var(--s-2); } .k-g3 { gap:var(--s-3); } .k-g4 { gap:var(--s-4); } .k-g5 { gap:var(--s-5); } .k-g6 { gap:var(--s-6); }

td.k-date { white-space:nowrap; }
/* A short column sizes to what it holds and stays on one line, so the title column takes the rest of the width: a
   number, an amount, a date, a state, an identifier, a control and the row's actions (UIKIT-1120 2). Business impact
   gave its function 143 px over four lines while 48 h stretched over 192. A table short of room turns into cards
   (k-cards), so a long Greek phrase never pushes it past its box. A person's name stays on one line. */
table:not(.kv, .k-cards, .fitcols) :is(td, th):is(.num, .k-date, .k-chip, .k-id, .k-control, .k-actions) { width:1px; white-space:nowrap; }
table:not(.kv, .k-cards) td .k-person { white-space:nowrap; }
/* The words in a number cell (Not measured, Too few to score) wrap when the table is short of room, so a long Greek
   phrase never pushes the table past its box (FOUREYES-1120 0b); a figure itself stays on one line. */
td.num > .muted { white-space:normal; }
table:not(.kv, .k-cards, .fitcols) :is(td, th).num:has(> .muted) { width:auto; }
/* A person column (an owner, an assignee) keeps a name on one line, cut with the whole name on hover (the table script). */
table:not(.kv, .k-cards) td.k-cperson { white-space:nowrap; max-width:14em; overflow:hidden; text-overflow:ellipsis; }
/* A heading over a short column wraps at its spaces rather than widen the column past its values. */
table:not(.kv, .k-cards) tr:not(:has(> td)) > th:is(.num, .k-date, .k-chip):not(:has(> input)) { white-space:normal; min-width:5em; }
/* Its two runs each stay whole, so it takes two lines at most. */
th:is(.num, .k-date, .k-chip) > .k-hl { white-space:nowrap; }
/* A group row over its rows: the group's name and its menu on the panel's second tone (POLISH-1120 3). */
tr.grouphead > td, table:has(td:last-child > .rowacts) tr.grouphead > td:last-child { background:var(--panel-2); }
.k-grouphead { display:flex; align-items:center; justify-content:space-between; gap:var(--s-3); }
.k-gwho { display:inline-flex; align-items:center; gap:var(--s-2); min-width:0; } .k-gwho > b { font-weight:600; }
/* KIT-RULES-1111 Part 1.5: a column's type sets its look. Numbers, money and dates right-aligned in tabular figures,
   an identifier in mono and kept whole, a chip on the row's centre. */
:is(td, th).num, :is(td, th).k-date { text-align:right; font-variant-numeric:tabular-nums; }
td.k-id { white-space:nowrap; font-family:var(--mono); font-size:var(--t-caption); }
td.k-id :is(.muted, .sm, div:not(:first-child)) { font-family:var(--sans); }
td.k-actions { text-align:right; }
/* A row's menu sits on the line of the row's other actions, after them. */
td.k-actions > :is(details.dropmenu, form) { display:inline-block; vertical-align:middle; }
td.k-actions > * + :is(details.dropmenu, form, button, .k-tag) { margin-left:var(--s-2); }
table.pipeline tr.off td:not(:first-child), table.pipeline tr.planned td:not(:first-child) { opacity:.6; }
table.pipeline tr.stagehead th { padding-top:var(--s-5); color:var(--muted); font-size:var(--t-label);  border-bottom:1px solid var(--line); }
tr.kbcur > td { background:color-mix(in srgb,var(--accent) 10%,transparent); }
/* KIT-RULES-1111 Part 1.1: a row that mixes text and a control shares one centre line. Its cells are centred, on a
   20 px line (the 14 px face's ascent and descent then lead evenly, which 21 px does not), and each control in it sits
   on the line's middle with even margins, so a text and a button's label meet on the same centre. A row of text only
   keeps its cells at the top. */
/* KIT-1115 Part 2.1: one row, one line. Every cell of a table takes one alignment, the middle, so a row of text and a row
   with a button or a chip share one centre; a table of paragraphs (the ΕΑΚ texts, the control mapping, a list of facts)
   is set to the top as a whole (align: "top"), never cell by cell. In a top table a control or a tag on a cell's first
   line is drawn up by half the difference between its height and the line's, so its centre meets the first line's. */
:root { --row-line:20px; }
table:is([data-align=top], .kv) > :is(thead, tbody, tfoot, *) > tr > :is(td, th), table:is([data-align=top], .kv) > tr > :is(td, th) { vertical-align:top; }
table:is([data-align=top], .kv) :is(td, th) > :is(button, a.btnlink, summary.btnlike, select, input:not([type=checkbox], [type=radio], [type=hidden])):first-child,
table:is([data-align=top], .kv) :is(td, th) > :is(form.inline, details.inlineedit):first-child > :is(button, summary.btnlike):first-child { margin-top:calc((var(--row-line) - var(--ctl-sm)) / 2); margin-bottom:calc((var(--row-line) - var(--ctl-sm)) / 2); }
table:is([data-align=top], .kv) :is(td, th) > :is(.k-tag, .k-sev, .gchip):first-child { margin-top:calc((var(--row-line) - var(--chip-h)) / 2); margin-bottom:calc((var(--row-line) - var(--chip-h)) / 2); }
:is(td, th) :is(button, summary.btnlike, a.btnlink, a.btn, .chip, label.toggle, span.toggle, input, select, .helptip, form.inline, details.inlineedit) { vertical-align:middle; }
/* In a cell, a control's vertical margins are even (a chip list or a row of buttons still wraps with the same gap),
   and a checkbox's label carries none, so the cell's content is the control's own height. */
td :is(.chips a.chip, .chip, a.btnlink, a.btn) { margin-block:calc(var(--s-1) / 2); }
:is(td, th) > label, :is(td, th) > label.check:not(:has(+ label.check)) { margin-block:0; }
:is(thead, tbody, table) > tr:has(> :is(td, th) :is(input:not([type=hidden]), select, textarea, button, .btn, a.btnlink, .chip, .toggle, summary.btnlike)) > :is(td, th) > :is(div, ul, ol, p):last-child { margin-bottom:0; }
tr:last-child td { border-bottom:0; }
tr:last-child:has(> td) > th { border-bottom:0; }
table:not(.kv) tr:first-child:not(:has(> td)) > th { position:sticky; top:0; z-index:2; }
/* A cell whose row menu is open stands above the sticky header, or the menu opened above the first row lies under it (NEXT-1114 2.1). */
td:has(details.rowmenu[open]), table tr > td:last-child:has(details.rowmenu[open]) { z-index:4; }
#portfolio td, #portfolio th { padding-left:var(--s-2); padding-right:var(--s-2); }
#portfolio td:nth-child(6), #portfolio td:nth-child(8), #portfolio td:nth-child(9), #portfolio td:nth-child(11) { white-space:nowrap; }
#portfolio td:first-child { min-width:7.5em; }
table.stickyfirst tr:hover > td:first-child { background:var(--panel-2); }
td.ownercell:has(> details.inlineedit[open]) { white-space:normal; }
main table.wide { display:block; overflow-x:auto; max-width:100%; }
table[data-colpick] > tbody { display:table; width:100%; }
table.sortable.wraphead th[data-sort] { white-space:normal; }
table.sortable th[data-sort]::after { content:"↕"; margin-left:var(--s-1); font-size:var(--t-label); opacity:0; }
table.sortable th[data-sort]:hover::after, table.sortable th[data-sort]:focus-visible::after { opacity:.6; }
table.sortable th[aria-sort="ascending"]::after { content:"↑"; opacity:1; }
table.sortable th[aria-sort="descending"]::after { content:"↓"; opacity:1; }
td.risk { white-space:nowrap; }
tr[data-peek] { cursor:pointer; }
table.issues td.issuecell.sub { padding-left:calc(var(--s-3) + 1em); }
section.panel table { box-shadow:none; }
/* The name is the link (UI-1114 1.5): the row's name in the text colour, underlined only on hover and focus; any other
   link in a cell is muted, so a table reads as names and values, not as a page of links. No anchor covers the row. */
table:not(.kv):not(.riskgrid) td a:not(.btnlink, .chip, .gchip, .tag, .pill, .status) { color:var(--muted); text-decoration:none; }
table:not(.kv):not(.riskgrid) td a:not(.btnlink, .chip, .gchip, .tag, .pill, .status):is(:hover, :focus-visible) { color:var(--accent); text-decoration:underline; }
/* A row's name (VOICE-1115b Part 4.1) is one style on every table: the link or bold text that leads the row's title
   cell, ink at 600, underlined only on hover and focus. The title cell is the column of type title or the card's title
   (the table script marks the first column of words), else the row's first cell. */
table:not(.kv):not(.riskgrid) :is(td.k-ctitle, td.cardtitle, td.issuecell, td.hostcell, tr:not(:has(> td:is(.k-ctitle, .cardtitle, .issuecell, .hostcell))) > td:first-child:not(:has(> input[type=checkbox])), tr:not(:has(> td:is(.k-ctitle, .cardtitle, .issuecell, .hostcell))) > td:first-child:has(> input[type=checkbox]) + td) > a:first-of-type { color:var(--ink); }
table:not(.kv):not(.riskgrid) :is(td.k-ctitle, td.cardtitle, td.issuecell, td.hostcell, tr:not(:has(> td:is(.k-ctitle, .cardtitle, .issuecell, .hostcell))) > td:first-child:not(:has(> input[type=checkbox])), tr:not(:has(> td:is(.k-ctitle, .cardtitle, .issuecell, .hostcell))) > td:first-child:has(> input[type=checkbox]) + td) > a:first-of-type:is(:hover, :focus-visible) { color:var(--accent); text-decoration:underline; }
table:not(.kv):not(.riskgrid) :is(td.k-ctitle, td.cardtitle, td.issuecell, td.hostcell, tr:not(:has(> td:is(.k-ctitle, .cardtitle, .issuecell, .hostcell))) > td:first-child:not(:has(> input[type=checkbox])), tr:not(:has(> td:is(.k-ctitle, .cardtitle, .issuecell, .hostcell))) > td:first-child:has(> input[type=checkbox]) + td) > :is(b, strong, a:first-of-type), table:not(.kv):not(.riskgrid) :is(td.k-ctitle, td.cardtitle, td.issuecell, td.hostcell, tr:not(:has(> td:is(.k-ctitle, .cardtitle, .issuecell, .hostcell))) > td:first-child:not(:has(> input[type=checkbox])), tr:not(:has(> td:is(.k-ctitle, .cardtitle, .issuecell, .hostcell))) > td:first-child:has(> input[type=checkbox]) + td) > a:first-of-type :is(b, strong), table:not(.kv):not(.riskgrid) :is(td.k-ctitle, td.cardtitle, td.issuecell, td.hostcell, tr:not(:has(> td:is(.k-ctitle, .cardtitle, .issuecell, .hostcell))) > td:first-child:not(:has(> input[type=checkbox])), tr:not(:has(> td:is(.k-ctitle, .cardtitle, .issuecell, .hostcell))) > td:first-child:has(> input[type=checkbox]) + td) > form:first-child :is(b, strong) { color:var(--ink); font-weight:600; }
table:not(.kv):not(.riskgrid) tr:has(> td) > th { white-space:normal; text-transform:none; font-size:var(--t-caption); font-weight:500; color:var(--muted); }
table tr:hover td { background:var(--panel-2); background:color-mix(in srgb,var(--accent) 4%,var(--panel)); }
td { padding:var(--s-2) var(--s-3); text-align:left; vertical-align:middle; line-height:var(--row-line); border-bottom:1px solid var(--line); }
th { padding:var(--s-2) var(--s-3); text-align:left; vertical-align:middle; line-height:var(--row-line); border-bottom:1px solid var(--line); background:var(--panel); font-weight:500; color:var(--ink); font-size:var(--t-caption);
  white-space:nowrap; border-bottom:1px solid var(--line-2); }
/* A row's first and last cells meet the card's inset, so a table's text lines up with the card's title (KIT-1115 Part 2.4). */
:is(td, th):first-child { padding-left:var(--inset); } :is(td, th):last-child { padding-right:var(--inset); }
@media (max-width:480px) {
  table.boardsrc tr { display:block; position:relative; border:1px solid var(--line); border-radius:var(--radius); padding:var(--s-2); margin-bottom:var(--s-2); }
  table.boardsrc td { display:block; border:0; padding:var(--s-1) 0; text-align:left; white-space:normal; }
  table.boardsrc td[data-label]::before { content:attr(data-label) ": "; color:var(--muted); font-weight:400; }
}
@media (max-width:560px) {
  .becard table, .becard tbody, .becard tr { display:block; }
}
  table[data-cards].k-cards, table[data-cards].k-cards tbody { display:block; }
  table[data-cards].k-cards tr { display:flex; flex-wrap:wrap; align-items:baseline; row-gap:var(--s-1); padding:var(--s-3); border-bottom:1px solid var(--line); }
  table[data-cards].k-cards td { display:block; padding:0; border:0; order:2; text-align:left; }
  /* A tick box keeps a column of its own beside the card, never against its title (UI-1115b A7). */
  table[data-cards].k-cards tr:has(> td:first-child > input[type=checkbox]) { position:relative; padding-left:calc(var(--s-3) + 16px + var(--s-3)); }
  table[data-cards].k-cards td:first-child:has(> input[type=checkbox]) { position:absolute; left:var(--s-3); top:var(--s-3); }
  /* A separator stays with the value before it, so a line of values never starts with one (VOICE-1115b Part 4.2). A
     :has() cannot hold another, so the cells after it are read by the classes the table script sets (k-cact, k-cbox). A value that ends in a
     block of its own (a line under it) stands apart and takes no dot. */
  table[data-cards].k-cards td:not(:first-child, .issuecell, .cardtitle, .hostcell, .nc, .cardoff, :empty, :has(> .rowacts), :has(> details.rowmenu:only-child), .cl2, .cl3, .cl4):not(:has(> :is(div, p, ul, ol, table, form, svg, label):last-child)):has(~ td:not(:first-child, .issuecell, .cardtitle, .hostcell, .nc, .cardoff, :empty, .k-cact, .k-cbox, .cl2, .cl3, .cl4))::after { content:"·"; margin:0 var(--s-2); color:var(--muted); }

/* A table whose columns do not fit its container, or of four or more columns in a container under 640, draws its rows
   as cards (UI-1115b A3): the page script measures it and marks it k-cards, again whenever its container resizes. A
   list with its own card (data-cards) lays it out above; any other card is its cells one under the other, each named
   by its column, and a tick box keeps a column of its own (A7). */
main table.k-cards { display:block; width:100%; max-width:100%; overflow:visible; background:none; }
table.k-cards > :is(thead, tbody) { display:block; }
table.k-cards:not([data-cards]) tr:not(:has(> td)) { display:none; }
/* The generic card (KIT-1115 Part 5.6): the row's title in the title style with its action beside it, then the other
   values on one muted line separated by dots, 16 all round as a compact tile. */
table.k-cards:not([data-cards]) tr:has(> td) { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:0; row-gap:var(--s-1); padding:var(--s-4); border-bottom:1px solid var(--line); }
/* The break after the title line is a hair wider than the card, so it always wraps to a line of its own: at 100% it fit
   beside a title of no basis when the card has no reference or action, and the title kept a width of nothing, a word a
   line (POLISH-1118 Part 2.2). */
table.k-cards:not([data-cards]) tr:has(> td)::after { content:""; order:1; flex-basis:calc(100% + 1px); height:0; }
table.k-cards:not([data-cards]) td { display:block; order:2; padding:0; border:0; text-align:left; white-space:normal; max-width:none; min-width:0; color:var(--muted); font-size:var(--t-caption); }
table.k-cards:not([data-cards]) td.k-ctitle { order:0; flex:1 1 0; min-width:0; color:var(--ink); font-size:var(--t-table); }
table.k-cards:not([data-cards]) td:is(.k-actions, .k-cact, :has(> details.rowmenu)) { order:0; flex:none; min-width:max-content; max-width:100%; margin-left:var(--s-2); }
/* Actions of several links (View draft · Mapping · Word · Add to index) take a line of their own and wrap there,
   never past the card (overflowx, the policy kit at 390). */
table.k-cards:not([data-cards]) td:is(.k-actions, .k-cact):has(> a ~ a) { order:3; flex:1 1 100%; min-width:0; margin-left:0; }
/* One layout for every card (VISUAL-1117 Part 1.4): a tick box in a column of its own at the left, the reference and
   the title on the first line with the row's menu at its right, then the values, each named by its column. */
table.k-cards:not([data-cards]) tr:has(> td:first-child > input[type=checkbox]) { position:relative; padding-left:calc(var(--s-4) + 16px + var(--s-3)); }
table.k-cards:not([data-cards]) td:first-child:has(> input[type=checkbox]) { position:absolute; left:var(--s-4); top:var(--s-4); }
table.k-cards:not([data-cards]) td.k-cref { order:-1; flex:none; max-width:45%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-right:var(--s-2); color:var(--muted); }
table.k-cards:not([data-cards]) td[data-cardlabel]:not(.k-ctitle, .k-cref, .k-actions, .k-cact, :has(> details.rowmenu), :empty) { flex-basis:100%; position:relative; padding-left:calc(40% + var(--s-3)); }
table.k-cards:not([data-cards]) td[data-cardlabel]:not(.k-ctitle, .k-cref, .k-actions, .k-cact, :has(> details.rowmenu), :empty)::before { content:attr(data-cardlabel); position:absolute; left:0; top:0; width:40%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--faint); }
table.k-cards:not([data-cards]) td[data-cardlabel]:not(.k-ctitle, .k-cref, .k-actions, .k-cact, :has(> details.rowmenu), :empty)::after { display:none; }
/* A value that is a control (a value edited in place, a select, a switch) is taller than its label's line, so the label
   is set beside it on the first line's baseline rather than at the top of the cell (CHROME-1118 Part 0.7). */
table.k-cards:not([data-cards]) td[data-cardlabel]:not(.k-ctitle, .k-cref, .k-actions, .k-cact, :empty):has(> :is(.k-inline, select, form, button, label, .k-switch):only-child) { display:flex; align-items:baseline; padding-left:0; }
table.k-cards:not([data-cards]) td[data-cardlabel]:not(.k-ctitle, .k-cref, .k-actions, .k-cact, :empty):has(> :is(.k-inline, select, form, button, label, .k-switch):only-child)::before { position:static; flex:0 0 40%; margin-right:var(--s-3); }
/* The value takes the rest of the card's width, so a short value never wraps beside an empty column (NOTIFY-1117 Part 0.1). */
table.k-cards:not([data-cards]) td[data-cardlabel]:not(.k-ctitle, .k-cref, .k-actions, .k-cact, :empty) > :is(.k-inline, form, label):only-child { flex:1 1 0; min-width:0; }
/* Such a cell is a line of its own, so no separator dot follows it. */
table.k-cards:not([data-cards]) td[data-cardlabel]:not(.k-ctitle, .k-cref, .k-actions, .k-cact, :empty):has(> :is(.k-inline, select, form, button, label, .k-switch):only-child)::after { content:none; }
/* An action that is a form (a date and its button) takes a line of its own and wraps there, never past the card. */
table.k-cards:not([data-cards]) td:is(.k-actions, .k-cact):has(> form input:not([type=hidden])) { order:3; flex:1 1 100%; min-width:0; margin-left:0; }
table.k-cards:not([data-cards]) td:is(.k-actions, .k-cact) > form { display:flex; flex-wrap:wrap; gap:var(--s-2); max-width:100%; }
/* A value edited in place sits on the line of values of the card at its own width, its label before it. */
table.k-cards:not([data-cards]) td > .k-inline { width:auto; display:inline-flex; }
/* A field in a card stays inside its cell, and its cell inside the card: a website field kept its own width and pushed
   Trust Center's Overview 19 px past the content column at 1280 (POLISH-1118 Part 2.4). */
/* A value kept on one line in a table (an id, a host name, a nowrap cell) breaks inside its card, never past it (overflowx). */
table.k-cards:not([data-cards]) td:not(.k-cref).nowrap, table.k-cards:not([data-cards]) td:not(.k-cref) :is(code.id, .id) { white-space:normal; overflow-wrap:break-word; }
table.k-cards:not([data-cards]) td :is(input:not([type=checkbox], [type=radio]), select, textarea) { max-width:100%; min-width:0; }
table.k-cards:not([data-cards]) td:first-child > input[type=checkbox] { width:16px; min-width:16px; }
/* A link that is a line of its own in a card (a host, its address, its port) is a target of 24 px (WCAG 2.5.8, UIKIT-1120 10). */
table.k-cards td:not(.k-ctitle, .cardtitle, .issuecell, .hostcell) > a:not(.btnlink, .k-tag, .chip, .gchip, .tag, .pill, .status), table.k-cards td:not(.k-ctitle, .cardtitle, .issuecell, .hostcell) > :is(div, p) > a:only-child:not(.btnlink, .k-tag, .chip, .gchip, .tag, .pill, .status) { display:inline-block; max-width:100%; padding-block:var(--s-1); }
table.k-cards:not([data-cards]) td:empty, table.k-cards:not([data-cards]) td.k-colfit { display:none; }
table.k-cards:not([data-cards]) td:not(.k-ctitle, .k-cref, .k-actions, .k-cact, :has(> details.rowmenu), :has(> input[type=checkbox]), :empty):not(:has(> :is(div, p, ul, ol, table, form, svg, label):last-child)):has(~ td:not(.k-ctitle, .k-cref, .k-actions, .k-cact, .k-cbox, :empty))::after { content:"\00B7"; margin:0 var(--s-2); color:var(--muted); }
/* A column given up to fit the table at a middle width. */
table:not(.k-cards) .k-colfit { display:none; }
table.k-cards tr:hover td { background:none; }
/* A group's heading row on cards is the group's name across the card, its menu at the end (POLISH-1120 3). */
table.k-cards:not([data-cards]) tr.grouphead > td { flex:1 1 100%; color:var(--ink); font-size:var(--t-table); }
@media (max-width:700px) {
  main table { display:block; overflow-x:auto; width:max-content; max-width:100%; -webkit-overflow-scrolling:touch; }
  main table:not(.kv) {
    background:
      linear-gradient(90deg, var(--panel) 32%, transparent) 0 0 / 36px 100% no-repeat local,
      linear-gradient(90deg, transparent, var(--panel) 68%) 100% 0 / 36px 100% no-repeat local,
      radial-gradient(farthest-side at 0 50%, var(--scroll-shade), transparent) 0 0 / 15px 100% no-repeat scroll,
      radial-gradient(farthest-side at 100% 50%, var(--scroll-shade), transparent) 100% 0 / 15px 100% no-repeat scroll,
      var(--panel); }
}

/* A field's label and a group's legend at 500, the weight of a control's words (KIT-1115 Part 3.2); a choice's own words
   beside its box stay at the body's 400. */
:where(label, legend) { font-weight:500; }
label:has(> input[type=checkbox], > input[type=radio]) { font-weight:400; }
/* Choosing a password (kit/account.ts passwordField): label one step above the field, the rules one step below. */
.pwchoose { display:flex; flex-direction:column; gap:var(--s-1); }
.pwchoose > label { margin:0; }
.pwchoose > label + input { margin-top:0; }
.pwchoose .pwfield { position:relative; }
.pwchoose .pwfield input { width:100%; padding-right:calc(var(--s-7) + var(--s-4)); }
.pwchoose .pwtoggle { position:absolute; right:4px; top:50%; transform:translateY(-50%); height:calc(var(--ctl-h) - 8px); padding:0 var(--s-2); font-size:var(--t-caption); background:transparent; color:var(--muted); border:0; box-shadow:none; }
.pwchoose .pwtoggle:hover { color:var(--ink); background:var(--panel-2); }
.pwrules { list-style:none; padding:0; margin:var(--s-1) 0 var(--s-2); font-size:var(--t-caption); color:var(--muted); display:flex; flex-direction:column; gap:var(--s-1); }
.pwrules li { display:flex; gap:var(--s-2); align-items:baseline; }
/* One box for every mark, so a ticked, a refused and a waiting line start at the same place; the colours are the
   status colours that read on the page in both themes (the -ink tokens are for text on a filled pill). */
.pwrules .pwmark { width:1em; flex:none; text-align:center; font-family:var(--mono); }
.pwrules li[data-state="met"] .pwmark { color:var(--good); }
.pwrules li[data-state="failed"] { color:var(--ink); }
.pwrules li[data-state="failed"] .pwmark { color:var(--bad); }
/* A brand's picture in the theme's variant (kit/text.ts themedPicture; founder's item 14). */
img.tb-dk { display:none; }
img.tb-wide { height:24px; width:auto; max-width:120px; }
/* The wide logo across the rail, the square mark only when it is collapsed (kit/text.ts railBrand). */
aside .brand .k-railwide { display:flex; align-items:center; flex:1 1 auto; min-width:0; }
aside .brand .k-railwide img { height:40px; width:auto; max-width:100%; object-fit:contain; object-position:left center; }
aside .brand .k-railmark { display:none; }
@media (min-width:901px) { :root[data-nav="collapsed"] aside .brand .k-railwide:has(+ .k-railmark) { display:none; } :root[data-nav="collapsed"] aside .brand .k-railmark { display:inline-flex; } :root[data-nav="collapsed"] aside .brand .k-railwide img { height:28px; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) img.tb-hasdk { display:none; } :root:not([data-theme="light"]) img.tb-dk { display:inline; } }
:root[data-theme="dark"] img.tb-hasdk { display:none; }
:root[data-theme="dark"] img.tb-dk { display:inline; }
/* A question's answer whose follow-up shows only while it is chosen (the access picker, founder's item 10). */
.k-branch > .k-branch-body { display:none; margin:var(--s-1) 0 var(--s-3) var(--s-3); padding-left:var(--s-4); border-left:2px solid var(--line); }
.k-branch:has(> label > input:checked) > .k-branch-body { display:block; }
.k-branch > .k-branch-body > .k-reach { margin:var(--s-2) 0 0; color:var(--muted); }
.k-colour { display:flex; align-items:center; gap:var(--s-2); margin-top:var(--s-1); }
main input.k-short, dialog.formdialog input.k-short { width:12ch; max-width:100%; }
.k-colour > input[type=color] { width:var(--ctl-h); height:var(--ctl-h); padding:2px; border:1px solid var(--line-2); border-radius:var(--radius-md); background:var(--panel); cursor:pointer; flex:none; }
main input.k-name, dialog.formdialog input.k-name { width:24ch; max-width:100%; }
.logofield { margin:0 0 var(--s-4); } .logofieldlabel { display:block; font-size:var(--t-table); margin:0 0 var(--s-2); }
.logotiles { display:flex; flex-wrap:wrap; gap:var(--s-4); } .logonote { display:block; margin:var(--s-2) 0 0; font-size:var(--t-caption); color:var(--muted); } .logoitem { display:flex; align-items:center; gap:var(--s-2); }
.logotile { display:flex; align-items:center; justify-content:center; width:140px; height:56px; padding:var(--s-2); border:1px solid var(--line); border-radius:var(--radius); background:#fff; box-sizing:border-box; }
.logotile.dark { background:#1d1f3a; } .logotile img { max-width:100%; max-height:100%; }
.logocol { display:flex; flex-direction:column; gap:var(--s-1); } .logocap { font-size:var(--t-caption); color:var(--muted); }
.logoempty { font-size:var(--t-caption); color:var(--high-ink); text-align:center; } .logotile.dark .logoempty { color:var(--nav-ink); }
label.toggle input:disabled { cursor:not-allowed; }
form[data-ro] input, form[data-ro] select, form[data-ro] textarea { opacity:.75; }
.mattable textarea { width:100%; min-width:12em; }
.btnrow > label:not(.check):not(.inlinelabel):has(> input:not([type=checkbox]):not([type=radio]), > select) { display:inline-flex; align-items:center; gap:var(--s-2); }
textarea { font-family:inherit; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-text-fill-color:var(--ink); caret-color:var(--ink); -webkit-box-shadow:0 0 0 1000px var(--panel) inset; box-shadow:0 0 0 1000px var(--panel) inset; transition:background-color 9999s ease-out 0s; }
select { max-width:280px; cursor:pointer; }
td input[type=datetime-local], td input[type=month] { max-width:210px; }
input:focus,textarea:focus,select:focus { border-color:var(--accent);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent); outline:none; }
input:focus-visible,textarea:focus-visible,select:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
textarea { min-height:116px; }
/* A stacked field's rhythm belongs to the field (OVERNIGHT-1113 Stage 3.1): its label one small step above its control,
   fields one larger step apart, the same in a page, a dialog, an inline edit and a branch. No rule above it sets a
   field's margin by the page it is on. A label is 6 px above its field and the next label 16 px below it, its hint
   included (UIKIT-1120 1). */
:is(form:not(.inline):not(.btnrow), form:not(.inline):not(.btnrow) > fieldset, form .stack, .k-branch-body) > label:not(.check):not(.inlinelabel):not(.choice):not(.toggle):has(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) {
  display:block; max-width:560px; margin:0 0 var(--s-4); }
:is(form:not(.inline):not(.btnrow), form:not(.inline):not(.btnrow) > fieldset, form .stack, .k-branch-body) > label:not(.check):not(.inlinelabel):not(.choice):not(.toggle) > :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) { display:block; font-weight:400; margin:var(--s-1) 0 0; }
:is(form:not(.inline):not(.btnrow), form:not(.inline):not(.btnrow) > fieldset, form .stack, .k-branch-body) > label:not(.check):not(.inlinelabel):not(.choice):not(.toggle) > select { width:280px; min-width:0; max-width:100%; }
label.inlinelabel:has(select, input:not([type=checkbox]):not([type=radio])) { white-space:nowrap; }
/* Under 560 its field takes a line under its words, inside the form (overflowx: the CVE field of the remediation plan in Greek). */
@media (max-width:560px) { label.inlinelabel:has(select, input:not([type=checkbox]):not([type=radio])) { white-space:normal; display:inline-flex; flex-wrap:wrap; align-items:center; gap:var(--s-1) var(--s-2); max-width:100%; } label.inlinelabel > :is(select, input) { max-width:100%; } }
/* In a set of choices (a grid with its own small gap) a stacked field keeps the same distance to the next: the gap plus a small step. */
form:not(.inline):not(.btnrow) fieldset.choices > label:not(.check):not(.inlinelabel):not(.choice):not(.toggle):has(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) { margin-bottom:var(--s-1); }
.seg input { position:absolute; opacity:0; pointer-events:none; }
.seg label:has(input:focus-visible) { outline:2px solid var(--accent); outline-offset:1px; }
label { display:block; margin:var(--s-3) 0 var(--s-2); font-size:var(--t-table); }
main label:is(.check, .inline, :not([class])):not(:is(.seg, .avpick, td, th) label) > input:is([type=checkbox],[type=radio]):first-child { margin:0 var(--s-2) 0 0; vertical-align:-3px; }
main :is(td, th) label:is(.check, .inline, :not([class])) > input:is([type=checkbox],[type=radio]):first-child { margin:0 var(--s-2) 0 0; }
main .choices label.check.indent:not(:is(.seg, .avpick) label):has(> input:is([type=checkbox],[type=radio]):first-child) { padding-left:calc(var(--s-5) + var(--box) + var(--s-2)); }
label.check:not(:has(+ label.check)) { margin-bottom:var(--s-3); }
/* A box's description takes the line under its words, as a choice's does (POLISH-1120 1). */
label:has(> input:is([type=checkbox],[type=radio]):first-child) > .sub { display:block; }
/* The hint of a checkbox may name an address (a Google scope URL): it breaks inside the form, never past it (overflowx). */
label.check code { overflow-wrap:anywhere; }
:is(fieldset, form) > label.check:last-child { margin-bottom:0; }
fieldset { border:1px solid var(--line); border-radius:var(--radius); padding:var(--s-1) var(--s-3) var(--s-5); margin:var(--s-5) 0; min-width:0; }
legend { font-size:var(--t-caption); color:var(--muted);
  padding:0 var(--s-2); }
.avpick input { position:absolute; opacity:0; pointer-events:none; }
.avpick label:has(input:focus-visible) { outline:2px solid var(--accent); outline-offset:2px; }
.avkeptitem label { width:100%; }
dialog.formdialog fieldset { margin:0 0 var(--s-3); min-width:0; }
.findbar .filters.search input[type=search] { flex:1 1 auto; min-width:0; }
ul.plain.passkeys .pkrename input[type=text] { flex:1; min-width:0; max-width:280px; }
td select, td input[type=text], td input:not([type]), td input[type=number], td input[type=email], td input[type=url], td input[type=search], td input[type=password], td input[type=tel] { height:var(--ctl-sm); font-size:var(--t-caption); }
td input[type=date] { max-width:210px; height:var(--ctl-sm); font-size:var(--t-caption); }
select { appearance:none; -webkit-appearance:none; padding-right:var(--s-6); border-radius:var(--radius-md);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%238a8fa6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 11px center; background-size:12px; }
select[multiple] { background-image:none; padding-right:var(--s-2); }
input[type=text],input:not([type]),input[type=search],input[type=password],input[type=date],input[type=datetime-local],input[type=month],input[type=number],input[type=email],input[type=url],input[type=tel],textarea { border-radius:var(--radius-md); }
input[type=checkbox], input[type=radio] { accent-color:var(--accent); width:16px; height:16px; }
input[type=file] { font:inherit; font-size:var(--t-caption); color:var(--muted); max-width:560px; }
input[type=file]::file-selector-button { font:inherit; font-size:var(--t-table); height:var(--ctl-h);
  padding:0 var(--s-4); margin-right:var(--s-2); border-radius:var(--radius-md); border:1px solid var(--line-2);
  background:var(--panel); color:var(--ink); cursor:pointer; }
input[type=file]::file-selector-button:hover { background:var(--panel-2); }
main form > textarea { display:block; margin:0 0 var(--s-3); }
@media (pointer:coarse) {
  main input[type=radio], main input[type=checkbox] { width:20px; height:20px; }
  main label:is(.check, .inline, :not([class])):not(:is(.seg, .avpick) label):has(> input:is([type=checkbox],[type=radio]):first-child) { --box:20px; }
}
@media (max-width:700px) {
  main input, main select, main textarea { max-width:100%; }
}

/* A dialog's close control: the icon button, a 32 px target on the title's line (KIT-RULES-1111). */
dialog.formdialog .dlgx { width:32px; height:32px; padding:0; display:inline-flex; align-items:center; justify-content:center; border-color:transparent; flex:none; }
main form:not(.inline):not(.btnrow) > label + button { margin-top:var(--s-1); }
.wsmenu button.on::after { content:""; margin-left:auto; width:.35em; height:.7em; border:solid var(--accent); border-width:0 2px 2px 0; transform:rotate(45deg) translate(-2px,-1px); }
table.issues button.grouptoggle::before { content:""; display:inline-block; width:0; height:0; margin:0 .55em 0 .15em; vertical-align:.1em;
  border-left:5px solid var(--muted); border-top:4px solid transparent; border-bottom:4px solid transparent; transition:transform .12s ease; }
table.issues button.grouptoggle[aria-expanded="true"]::before { transform:rotate(90deg); }
td:has(> :is(button:not(.copy, .helptip, .iconbtn, .x, .linkbtn), a.btnlink, summary.btnlike):first-child,
  > form.inline:first-child > button:not(.copy, .helptip, .iconbtn, .x, .linkbtn),
  > details.inlineedit:first-child > summary.btnlike) { padding-block:calc(var(--s-2) - (var(--ctl-sm) - 1lh) / 2); }
.umenu .umout button:hover { color:var(--bad); }
button.more { all:unset; cursor:pointer; color:var(--accent); font-size:var(--t-caption); margin:0 0 var(--s-5); display:block; width:max-content; line-height:24px; }
@media (max-width:600px) {
  dialog.formdialog .dlghead form[method=dialog] button { min-width:44px; min-height:44px; }
  /* On a phone a button is a thumb high whatever its size on a desk (UI-1114 1.4). */
  main :is(button, a.btnlink, summary.btnlike):not(.linkbtn, .iconbtn, .helptip, .x, .copy:not(.sec), .more, .grouptoggle, [role=tab], [role=menuitem]),
  main :is(input:not([type=checkbox], [type=radio], [type=hidden], [type=range], [type=file]), select) { min-height:44px; }
}
@media (pointer:coarse) {
  main button.more { padding:var(--s-2) 0; margin-top:calc(-1 * var(--s-2)); }
}

.k-factgroup + .k-factgroup { border-top:1px solid var(--line); margin-top:var(--s-4); padding-top:var(--s-4); }
.k-fgtitle { margin:0; font-size:var(--t-body); font-weight:600; }
.k-fgnote { margin:var(--s-1) 0 0; color:var(--muted); font-size:var(--t-caption); }
/* The rows sit in the card they belong to, with no frame of their own (VISUAL-1117 Part 2.1). */
main table.kv.k-fgrows { margin-top:var(--s-2); background:none; border:0; box-shadow:none; }
main table.kv.k-fgrows :is(th, td) { vertical-align:baseline; border:0; background:none; padding-top:var(--s-1); padding-bottom:var(--s-1); }
main table.kv.k-fgrows th { padding-left:0; }
table.kv td.k-kvact { width:1%; white-space:nowrap; text-align:right; }
:lang(el) table.kv.narrowkv th { hyphens:auto; }
table.kv td > pre { max-width:100%; margin:0; }
table.kv th { color:var(--muted); font-weight:500; font-size:var(--t-caption); }
@media (max-width:700px) {
  main table.kv code { white-space:normal; overflow-wrap:anywhere; }
  main table.kv a.k-tag code, main table.kv a.nowrap code { white-space:nowrap; overflow-wrap:normal; }
  main table.kv, main table.kv tbody, main table.kv tr, main table.kv.narrowkv th, main table.kv td { display:block; width:auto; }
  main table.kv th { display:block; width:auto; border-right:0; border-bottom:0; padding-bottom:0; }
  /* A row's action stays at the end of its value's line. */
  main table.kv.k-fgrows td { padding-left:0; padding-right:0; }
  main table.kv td.k-kvact:empty { display:none; }
  main table.kv tr:has(> td.k-kvact:not(:empty)) { display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center; column-gap:var(--s-2); }
  main table.kv tr:has(> td.k-kvact:not(:empty)) > th { grid-column:1 / -1; }
}

details > .k-end:not(.x) { left:auto; right:0; }
details > .k-start:not(.x) { left:0; right:auto; }
details > .k-up:not(.x) { top:auto; bottom:calc(100% + 4px); }
/* A row menu in a table is placed over the page by the console's script; it stays hidden until it is placed. */
table details.dropmenu[open] > .menu:not([style]) { visibility:hidden; }

.k-ready { display:inline-flex; align-items:center; gap:var(--s-2); max-width:100%; }
/* The figure's words wrap beside the bar rather than past the card (POLISH-1118, overflowx). */
.k-ready .k-readyfig { min-width:0; }
.k-ready progress.k-progress { width:80px; flex:none; }
.k-readyband { display:block; color:var(--muted); font-size:var(--t-caption); }
/* A table drawn as cards runs its values on one line with dots between: the band stays on the figure’s line. */
table.k-cards .k-readyband { display:inline; margin-left:var(--s-1); }
progress.k-progress { appearance:none; -webkit-appearance:none; width:120px; height:8px; border:0; border-radius:999px; background:var(--panel-3); overflow:hidden; vertical-align:middle; }
progress.k-progress::-webkit-progress-bar { background:var(--panel-3); border-radius:999px; }
progress.k-progress::-webkit-progress-value { background:var(--progress); border-radius:999px; }
progress.k-progress::-moz-progress-bar { background:var(--progress); border-radius:999px; }

svg.k-bar { display:block; width:100%; height:100%; overflow:visible; }
svg.k-bar a rect:hover { opacity:.8; }
svg.k-dot { display:inline-block; width:9px; height:9px; margin-right:var(--s-1); vertical-align:baseline; flex:none; }

.k-meta { margin:calc(-1 * var(--s-1)) 0 var(--s-5); font-size:var(--t-caption); color:var(--muted); }
.k-st { --st:var(--muted); display:inline-flex; align-items:flex-start; gap:var(--s-2); font-size:var(--t-caption); min-width:0; color:var(--ink); }
.k-st-t { min-width:0; overflow-wrap:break-word; }
/* A score and its band never wrap apart (BRAND-1115 Part 4.2: they broke across two lines in the risk register at about 1000 pixels). */
.k-st-nw, .k-st-nw .k-st-t { white-space:nowrap; }
/* The tone is the colour of the mark (--st), the shape how the mark wears it. */
.k-st-ok { --st:var(--good); } .k-st-warn { --st:var(--warn); } .k-st-bad { --st:var(--bad); }
.k-st-high { --st:var(--high-fill); color:var(--high-text); }
.k-st i { flex:none; width:8px; height:8px; border-radius:50%; margin-top:.45em; box-sizing:border-box; background:var(--st); }
.k-st-ring i { background:none; border:1.5px solid var(--st); }
.k-st-dashed i { background:none; border:1.5px dashed var(--st); }
.k-st-half i { border:1.5px solid var(--st); background:linear-gradient(90deg,var(--st) 50%,transparent 50%); }
.k-person { display:inline-flex; align-items:center; gap:8px; min-width:0; font-size:var(--t-caption); }
.k-person > span { min-width:0; overflow-wrap:anywhere; }
.k-person b { flex:none; width:22px; height:22px; border-radius:50%; background:var(--panel-2); border:1px solid var(--line-2); font-size:var(--t-label); font-weight:400; display:inline-flex; align-items:center; justify-content:center; color:var(--muted); }
.k-person.k-none { color:var(--muted); }
.k-person.k-role b { border-radius:6px; } .k-person.k-role b svg.icon { width:14px; height:14px; }
.k-section { display:flex; flex-direction:column; gap:var(--s-3); margin:0 0 var(--s-5); }
.k-sh { margin:0; font-size:var(--t-block); letter-spacing:var(--tr-block); font-weight:600; }
.k-work { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; container-type:inline-size; }
/* The title takes at least 14em before where it comes from and who has it take any (UIKIT-1120 2): a Greek action
   left the duty 75 px, a word a line. A name stays on one line and ends in an ellipsis, its whole in the title. */
.k-wl { display:grid; grid-template-columns:minmax(120px,150px) minmax(14em,1fr) fit-content(150px) fit-content(170px) max-content; column-gap:var(--s-4); }
.k-wl.k-wact { grid-template-columns:minmax(120px,150px) minmax(14em,1fr) fit-content(150px) fit-content(170px) max-content max-content; }
.k-w-who .k-person { max-width:100%; } .k-w-who .k-person > span:last-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* A role is words, not a name: "Υπεύθυνος πληροφορικής" takes a second line rather than an ellipsis (PERSONA-1121). */
.k-w-who .k-person.k-role > span:last-child { white-space:normal; }
.k-wrows { display:contents; list-style:none; margin:0; padding:0; }
.k-wr { grid-column:1 / -1; display:grid; grid-template-columns:subgrid; align-items:center; padding:var(--s-3) var(--s-4); border-top:1px solid var(--line); margin:0; }
.k-wr:hover { background:var(--panel-2); }
.k-wh { border-top:0; padding-top:var(--s-2); padding-bottom:var(--s-2); font-size:var(--t-label); color:var(--muted); }
.k-wh:hover { background:none; }
.k-w-it { min-width:0; display:flex; flex-direction:column; gap:4px; overflow-wrap:anywhere; }
.k-w-it a.k-w-title { color:var(--ink); font-weight:600; text-decoration:none; }
.k-w-it a.k-w-title:hover { text-decoration:underline; }
.k-w-tags { display:inline-flex; flex-wrap:wrap; gap:var(--s-2); align-items:center; }
.k-w-meta { display:none; font-size:var(--t-label); color:var(--muted); }
.k-wc { font-size:var(--t-caption); color:var(--muted); min-width:0; overflow-wrap:anywhere; }
.k-w-due { font-size:var(--t-caption); color:var(--muted); white-space:nowrap; font-variant-numeric:tabular-nums; }
.k-w-act { justify-self:end; }
.k-w-act .btnlink, .k-w-act button { height:var(--ctl-sm); padding:0 var(--btn-x-sm); }
.k-wmore { margin:0; border-top:1px solid var(--line); padding:var(--s-3) var(--s-4); font-size:var(--t-caption); }
/* Rule 9 (UI-1115): the list, the tiles and the record answer to the width they are given, not the window's. The
   window's 1180 with the menu open is 940 of content, and its 640 on a phone is about 480. */
.k-cq { container-type:inline-size; }
@container (max-width:940px) {
  .k-wl { grid-template-columns:minmax(110px,140px) minmax(0,1fr) max-content; }
  .k-wl.k-wact { grid-template-columns:minmax(110px,140px) minmax(0,1fr) max-content max-content; }
  .k-wc { display:none; } .k-w-meta { display:block; }
}
@container (max-width:480px) {
  .k-wl, .k-wl.k-wact { display:block; }
  .k-wh { display:none; }
  .k-wr { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"st due" "it it" "act act"; row-gap:var(--s-2); }
  .k-w-st { grid-area:st; } .k-w-it { grid-area:it; } .k-w-due { grid-area:due; } .k-w-act { grid-area:act; justify-self:start; }
  .k-w-act:empty { display:none; }
}
.k-tile { display:flex; flex-direction:column; gap:var(--s-2); min-width:0; padding:var(--s-4) var(--s-5); background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg); color:var(--ink); text-decoration:none; overflow-wrap:break-word; }
a.k-tile:hover { text-decoration:none; background:var(--panel-2); border-color:var(--line-2); }
.k-tlabel { font-size:var(--t-label); color:var(--muted); margin:0; }
/* The trend line goes under the figure where the two do not fit side by side, never into its words (VISUAL-1117 Part 2.5). */
.k-tfigrow { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:var(--s-2); }
.k-tfig { font-size:var(--t-figure); letter-spacing:var(--tr-figure); font-weight:600; line-height:1.1; font-variant-numeric:tabular-nums; white-space:nowrap; }
.k-tunit { font-size:var(--t-caption); font-weight:400; color:var(--muted); margin-left:4px; }
.k-tnm { font-size:var(--t-block); letter-spacing:var(--tr-block); color:var(--muted); }
/* A tile whose value is a word ("None recorded") reads it as a state in body type, never as a figure (VISUAL-1117 Part 2.3,
   POLISH-1118 Part 2.9). */
.k-tfig.k-tword { font-size:var(--t-body); letter-spacing:normal; font-weight:400; color:var(--muted); white-space:normal; }
.k-tnote { font-size:var(--t-caption); color:var(--muted); }
.k-tval { color:var(--ink); text-decoration:none; } .k-tval:hover { text-decoration:underline; }
.k-tline { display:flex; flex-wrap:wrap; gap:var(--s-2) var(--s-4); }
.k-spark { flex:none; } .k-spark polyline { fill:none; stroke:var(--muted); stroke-width:1.75; stroke-linejoin:round; } .k-spark circle { fill:var(--ink); }
.k-fill { display:block; width:100%; height:6px; border-radius:3px; background:var(--panel-3); overflow:hidden; }
.k-f-crit { fill:var(--crit-fill); } .k-f-high { fill:var(--high-fill); } .k-f-med { fill:var(--med-fill); } .k-f-low { fill:var(--low-fill); }
.k-f-info { fill:var(--info-fill); } .k-f-good { fill:var(--good-fill); } .k-f-progress { fill:var(--progress); }
.k-tasks { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--s-3); }
.k-glance { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--s-3); }
/* A row of tiles that is not a dashboard's glance: as many across as fit, one height (KITPARTS-1120 6). */
.k-tiles { display:grid; grid-template-columns:repeat(auto-fit,minmax(172px,1fr)); gap:var(--s-3); margin:0 0 var(--s-4); }
/* No tile alone on a line (PERSONA-1121 3): six go three across until all six fit. The widths are the tiles' minimum
   (172px) and gaps; a phone keeps as many across as fit. */
@container (min-width:540px) { .k-tiles:has(> :nth-child(6):last-child) { grid-template-columns:repeat(3, minmax(0, 1fr)); } }
@container (min-width:1092px) { .k-tiles:has(> :nth-child(6):last-child) { grid-template-columns:repeat(6, minmax(0, 1fr)); } }
/* Inside a panel or a card a tile drops its frame and sits on the panel's second surface, so no frame nests in a frame. */
:is(.panel, .k-card, details.addpanel, .k-rmatrix) .k-tile { border-color:transparent; background:var(--panel-2); }
/* Figures in a line, each its label over its value. */
.k-figs { display:flex; flex-wrap:wrap; gap:var(--s-3) var(--s-6); margin:0 0 var(--s-4); }
.k-figs > div { display:flex; flex-direction:column; gap:2px; min-width:0; }
.k-figs dt { font-size:var(--t-label); color:var(--muted); }
.k-figs dd { margin:0; font-size:var(--t-block); font-weight:600; font-variant-numeric:tabular-nums; }
.k-sp2 { grid-column:span 2; } .k-sp3 { grid-column:span 3; }
.k-tile:has(> .k-mrow, > .k-grades) { gap:var(--s-3); }
.k-ptop { display:flex; justify-content:space-between; align-items:baseline; gap:var(--s-2); flex-wrap:wrap; }
.k-pside { font-size:var(--t-label); color:var(--muted); }
.k-mrow .k-mtop { display:flex; justify-content:space-between; gap:var(--s-2); font-size:var(--t-caption); margin-bottom:var(--s-1); }
.k-mrow .k-mtop > a { color:var(--ink); }
.k-mval { font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; display:inline-flex; gap:var(--s-2); align-items:center; }
.k-grades { display:grid; grid-template-columns:repeat(auto-fit,minmax(96px,1fr)); gap:var(--s-3); }
/* A grid of grades leaves no orphan (VISUAL-1117 Part 2.4): seven as four and three, one row where they fit, a list on a
   phone; six and eight in two even rows, five as three and two. The tile around them is the container measured. */
.k-tile:has(> .k-grades) { container-type:inline-size; }
.k-grades:is([data-n="7"], [data-n="8"]) { grid-template-columns:repeat(4, minmax(0, 1fr)); }
.k-grades[data-n="6"], .k-grades[data-n="5"] { grid-template-columns:repeat(3, minmax(0, 1fr)); }
@container (min-width:780px) { .k-grades:is([data-n="5"], [data-n="6"], [data-n="7"], [data-n="8"]) { grid-template-columns:repeat(var(--n, 7), minmax(0, 1fr)); } .k-grades[data-n="5"] { --n:5; } .k-grades[data-n="6"] { --n:6; } .k-grades[data-n="8"] { --n:8; } }
@container (max-width:419px) {
  .k-grades:is([data-n]) { grid-template-columns:minmax(0, 1fr); gap:var(--s-2); }
  .k-grades .k-gitem { display:grid; grid-template-columns:48px minmax(0, 1fr); align-items:center; column-gap:var(--s-3); }
  .k-grades .k-gname { text-align:left; }
  .k-grades .k-gnote { text-align:left; grid-column:2; }
}
.k-gitem { display:flex; flex-direction:column; align-items:center; gap:var(--s-2); color:var(--ink); text-decoration:none; min-width:0; }
.k-gchip { display:flex; align-items:center; justify-content:center; width:100%; height:34px; border-radius:var(--radius); font-size:var(--t-block); letter-spacing:var(--tr-block); font-weight:600; background:var(--panel-2); color:var(--muted); }
.k-gname { font-size:var(--t-label); color:var(--muted); text-align:center; overflow-wrap:anywhere; }
.k-gnote { font-size:var(--t-label); color:var(--muted); text-align:center; overflow-wrap:anywhere; font-style:italic; }
.k-setup { display:flex; align-items:center; gap:var(--s-2) var(--s-3); flex-wrap:wrap; padding:var(--s-3) var(--s-5); background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg); color:var(--ink); text-decoration:none; margin:0 0 var(--s-5); }
.k-setup .k-fill { width:120px; flex:none; }
.k-setup .k-sacts { display:flex; align-items:center; gap:var(--s-2); margin-left:auto; }
.k-snum { font-size:var(--t-caption); color:var(--muted); white-space:nowrap; }
.k-snext { font-size:var(--t-caption); }
.k-ssteps { flex-basis:100%; margin:0; padding:0 0 0 var(--s-5); display:grid; gap:var(--s-1); font-size:var(--t-body); }
@container (max-width:760px) { .k-tasks { grid-template-columns:repeat(2,minmax(0,1fr)); } }
/* On a phone the four task groups are two compact rows of counts above the list (MOVE-1122): at 375 px four tiles
   filled the first screen and the list began below the fold. Each keeps its label and figure, and its note is left to
   the list it opens. */
@container (max-width:600px) { .k-tasks { grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--s-2); } .k-tasks .k-tile { padding:var(--s-2); gap:var(--s-1); } .k-tasks .k-tnote { display:none; } .k-tasks .k-tlabel { font-size:var(--t-caption); } }
@container (max-width:940px) { .k-glance { grid-template-columns:repeat(2,minmax(0,1fr)); } .k-sp3 { grid-column:1 / -1; } }
@container (max-width:480px) { .k-glance { grid-template-columns:minmax(0,1fr); } .k-sp2, .k-sp3 { grid-column:auto; } }
.k-evl { display:flex; flex-wrap:wrap; gap:var(--s-2); list-style:none; margin:0; padding:0; }
.k-evl li { display:flex; align-items:center; gap:var(--s-2); flex:1 1 auto; font-size:var(--t-caption); color:var(--muted); }
.k-evl li:not(:last-child)::after { content:""; flex:1; min-width:24px; height:2px; background:var(--line); }
.k-evl i { flex:none; width:12px; height:12px; border-radius:50%; border:2px solid var(--line-2); box-sizing:border-box; }
.k-evl li.k-on i { background:var(--muted); border-color:var(--muted); }
.k-evl li.k-at { color:var(--ink); font-weight:500; }
.k-record { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:var(--s-5); align-items:start; }
.k-rmain { display:flex; flex-direction:column; gap:var(--s-4); min-width:0; }
.k-facts { display:flex; flex-direction:column; gap:var(--s-3); padding:var(--s-4) var(--s-5); background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg); min-width:0; }
.k-pfoot { display:flex; flex-direction:column; gap:var(--s-2); border-top:1px solid var(--line); padding-top:var(--s-3); font-size:var(--t-caption); }
.k-evline { margin:0; padding:var(--s-2) var(--s-3); background:var(--panel-2); color:var(--muted); border:1px solid var(--line); border-radius:var(--radius); font-family:var(--mono); font-size:var(--t-label); white-space:pre-wrap; overflow-wrap:anywhere; }
.k-facts table.k-kv { width:100%; border:0; margin:0; }
.k-facts table.k-kv th { width:108px; background:none; border:0; padding:var(--s-1) var(--s-2) var(--s-1) 0; color:var(--muted); }
.k-facts table.k-kv td { overflow-wrap:anywhere; border:0; padding:var(--s-1) 0; font-size:var(--t-caption); }
.k-facts table.k-kv code { white-space:normal; overflow-wrap:anywhere; }
:lang(el) .k-facts table.k-kv th { width:124px; hyphens:auto; }
@container (max-width:940px) { .k-record { grid-template-columns:minmax(0,1fr); } }
.k-card { display:flex; flex-direction:column; gap:var(--s-3); padding:var(--inset); background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg); min-width:0; overflow-wrap:anywhere; }
.k-card > :last-child { margin-bottom:0; }
.k-stats4 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--line); margin:0 calc(-1 * var(--s-5)) calc(-1 * var(--s-4)); }
.k-stats4 > div { display:flex; flex-direction:column; gap:4px; padding:var(--s-3) var(--s-4); border-right:1px solid var(--line); min-width:0; }
.k-stats4 > div:last-child { border-right:0; }
.k-p4lead { font-size:var(--t-body); color:var(--ink); overflow-wrap:anywhere; }
@media (max-width:900px) { .k-stats4 { grid-template-columns:repeat(2,minmax(0,1fr)); } .k-stats4 > div { border-bottom:1px solid var(--line); } }
/* The four plain reasons measure the card they sit in, not the window: in the finding drawer, or a column under
   about 560 px, they are a list of the source and what it says, one per row (CHROME-1118 Part 0.6). */
.k-p4wrap { container-type:inline-size; margin:0 calc(-1 * var(--s-5)) calc(-1 * var(--s-4)); }
.k-p4wrap > .k-stats4 { margin:0; }
@container (max-width:560px) {
  .k-plain4 { grid-template-columns:1fr; }
  .k-plain4 > div { display:grid; grid-template-columns:minmax(7rem, 35%) minmax(0, 1fr); column-gap:var(--s-3); border-right:0; border-bottom:1px solid var(--line); }
  .k-plain4 > div:last-child { border-bottom:0; }
  .k-plain4 > div > .k-tnote { order:-1; }
}
.k-tabs { display:flex; gap:2px; border-bottom:1px solid var(--line); overflow-x:auto; scrollbar-width:none; margin:0 0 var(--s-4); }
.k-tabs a { padding:var(--s-3) var(--s-3); font-size:var(--t-table); font-weight:500; color:var(--muted); text-decoration:none; border-bottom:2px solid transparent; margin-bottom:-1px; white-space:nowrap; }
.k-tabs a:hover { color:var(--ink); }
.k-tabs a.on { color:var(--ink); border-bottom-color:var(--accent); }
.k-tabn { font-size:var(--t-label); color:var(--muted); margin-left:4px; }
p.warn, div.warn { color:var(--med-text); }
.k-tabpanel { display:flex; flex-direction:column; gap:var(--s-4); min-width:0; }
.js .k-tabpanel[data-hide] { display:none; }
.k-chipline { display:flex; align-items:center; gap:var(--s-2); flex-wrap:wrap; margin:var(--s-2) 0 0; }
/* Tags (KIT-1115 Part 3.6): three kinds, one look each. The neutral tag is a fact or a category; a category never takes
   a status colour. A tag is one line: what does not fit ends in an ellipsis, the whole text in its title. */
.k-tag { display:inline-block; box-sizing:border-box; max-width:100%; height:var(--chip-h); line-height:calc(var(--chip-h) - 2px); padding:0 var(--chip-x); border:1px solid var(--line); border-radius:999px; background:var(--panel-2); color:var(--muted); font-size:var(--t-label); font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; vertical-align:middle; text-decoration:none; }
a.k-tag:hover, a.k-tag:focus-visible { border-color:var(--line-2); color:var(--ink); text-decoration:none; }
a.k-tag.on { border-color:var(--line-2); background:var(--panel); color:var(--ink); }
.k-tag:has(> .x) { display:inline-flex; align-items:center; gap:var(--s-1); padding-right:var(--s-1); }
.k-tag > .x { display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; border-radius:50%; color:var(--muted); text-decoration:none; }
.k-tag > .x:hover { background:var(--panel-3); color:var(--ink); }
/* Severity: a tint of the severity's fill with its text tone, as the approved reference screens draw it. */
.k-sev { display:inline-block; box-sizing:border-box; max-width:100%; height:var(--chip-h); line-height:var(--chip-h); padding:0 var(--chip-x); border-radius:999px; font-size:var(--t-label); font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; vertical-align:middle; text-decoration:none; }
.k-sev-critical { background:color-mix(in srgb, var(--crit-fill) 12%, var(--panel)); color:var(--crit-text); }
.k-sev-high { background:color-mix(in srgb, var(--high-fill) 12%, var(--panel)); color:var(--high-text); }
.k-sev-medium { background:color-mix(in srgb, var(--med-fill) 12%, var(--panel)); color:var(--med-text); }
.k-sev-low { background:color-mix(in srgb, var(--low-fill) 12%, var(--panel)); color:var(--low-text); }
.k-sev-info, .k-sev-none { background:color-mix(in srgb, var(--info-fill) 24%, var(--panel)); color:var(--info-text); }
a.k-st { text-decoration:none; } a.k-st:hover .k-st-t { text-decoration:underline; }
.k-tag-new { background:var(--accent-weak); color:var(--ink); }
.k-tag-used { background:var(--panel); color:var(--high-text); box-shadow:inset 0 0 0 1px var(--high-text); }
/* A crosswalk proposal (NOTIFY-1117 Part 0.1): what is proposed, then the source control by its reference and name with
   the action at the line's end, inside the box's padding at every width. */
ul.crosswalk { padding:var(--s-3); }
ul.crosswalk > li { display:flex; flex-direction:column; gap:var(--s-1); }
ul.crosswalk > li + li { margin-top:var(--s-3); }
.k-cwfoot { display:flex; align-items:center; justify-content:space-between; gap:var(--s-2); min-width:0; }
.k-cwsrc { min-width:0; color:var(--muted); display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.k-cwsrc b { font-weight:400; color:var(--ink); margin-right:var(--s-1); }
.k-cwfoot > .btn { flex:none; }

/* An empty page (HELP-1117 Part 2.5): centred, the glyph in its disc above a heading, two sentences, then the actions. */
.k-emptypage { display:flex; flex-direction:column; align-items:center; text-align:center; gap:var(--s-2); padding:var(--s-7) var(--s-5); }
.k-emptypage .k-emptyhead { margin:var(--s-2) 0 0; }
.k-emptypage .k-emptywhat { margin:0; max-width:34rem; color:var(--muted); }
.k-emptyacts { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:var(--s-4); margin-top:var(--s-2); }
/* The tab row's cue (UI-1115 2.1): a button at each end, shown on the side with more. */
.k-tabrow { position:relative; display:flex; align-items:stretch; min-width:0; }
.k-tabrow > nav { flex:1 1 auto; min-width:0; }
/* A borderless arrow beside the strip's fade (UIKIT-1120 7): a bordered square at each end took 72 px of a phone's row. */
.k-tabscroll { display:none; flex:none; align-self:center; margin-bottom:var(--s-2); width:28px; height:28px; padding:0; border:0; border-radius:var(--radius-md); background:transparent; box-shadow:none; color:var(--muted); }
.k-tabscroll:hover { color:var(--ink); background:var(--panel-2); }
.k-tabrow.ovf-l > .k-tabscroll.l, .k-tabrow.ovf-r > .k-tabscroll.r { display:inline-flex; align-items:center; justify-content:center; }
.k-tabscroll.l svg { transform:scaleX(-1); }
/* The labels fade out before the cue, never under it (PAGES-1115b Part 0.5): a gap between the row and each button. */
.k-tabscroll.r { margin-left:var(--s-2); } .k-tabscroll.l { margin-right:var(--s-2); }
/* Beside the filters of a list, the buttons sit on the row of the pills, at their height. */
.k-tabrow:has(> .seglinks) > .k-tabscroll { align-self:flex-start; margin-bottom:0; height:var(--ctl-sm); width:28px; }
/* The pages of a tab on the title's line (rule 12): the line never wraps, so the tab row keeps its place on every
   page of a destination; the segments give way first and scroll, then the title is cut with its whole text on hover. */
.pagetitle .titleleft:has(> .k-titlenav) > h1 { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex:0 1 auto; }
.k-titlenav { display:inline-flex; flex:0 50 auto; min-width:0; margin-left:var(--s-2); }
.k-titlenav > .k-tabrow { min-width:0; }
.k-titlenav .k-tabscroll { margin-bottom:0; height:var(--ctl-sm); width:28px; }
.k-titlesegs { flex:0 1 auto; overflow-x:auto; scrollbar-width:none; }
.k-viewnav { display:flex; min-width:0; margin:var(--s-3) 0 var(--s-4); }
.k-viewnav > .k-tabrow { min-width:0; max-width:100%; }
.k-viewnav .k-titlesegs { flex-wrap:nowrap; white-space:nowrap; }
.k-titlesegs::-webkit-scrollbar { display:none; }
/* Where the segments do not fit the title's line they take their own row under it (PAGES-1115b Part 0.4). */
.titleleft:has(> .k-titlenav.below) { flex-wrap:wrap; }
.k-titlenav.below { flex:1 0 100%; margin-left:0; margin-top:var(--s-2); }
/* On a phone the segments never fit beside a title: their own row from the first paint, not after a measure. */
/* On a phone the help glyph follows a record title's last word when the title wraps (a list's title is cut short instead), never alone at the right edge (AUDITGATE-1119 item 22). */
@media (max-width:700px) {
  .pagetitle .titleleft:has(> h1:not([data-crumb]) + details.pagehelp):not(:has(> .k-titlenav)) { display:block; }
  .pagetitle .titleleft:has(> h1:not([data-crumb]) + details.pagehelp):not(:has(> .k-titlenav)) > h1 { display:inline; }
  .pagetitle .titleleft:has(> h1:not([data-crumb]) + details.pagehelp):not(:has(> .k-titlenav)) > details.pagehelp { display:inline-block; vertical-align:middle; margin:-8px -8px -8px var(--s-2); }
}
/* The button that opens a folded form keeps one line, cut short where a phone has no room (TIDY-1119). */
button.sec[data-dialog^="auto-"] { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
/* A header action sent as a form (Save copy) keeps one line, as its link buttons do (TIDY-1119). */
.pageactions form.inline > button { white-space:nowrap; }
@media (max-width:600px) { .titleleft:has(> .k-titlenav) { flex-wrap:wrap; } .k-titlenav { flex:1 0 100%; margin-left:0; margin-top:var(--s-2); } }
.k-titlecount { display:inline-flex; align-items:center; margin-left:var(--s-2); padding:0 var(--s-2); min-height:22px; border-radius:999px; background:var(--panel-2); border:1px solid var(--line); color:var(--muted); font-size:var(--t-caption); font-weight:400; vertical-align:middle; }
.k-switches { display:flex; flex-wrap:wrap; gap:var(--s-3); margin-bottom:var(--s-3); }
/* A record (rule 14). */
.k-recordchips { display:flex; flex-wrap:wrap; gap:var(--s-2); margin-bottom:var(--s-3); }
/* The settings index (Stage 2.6). */
.k-setindex { container-type:inline-size; display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:var(--s-4); }
.k-setcard { padding:var(--s-4); background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg); }
.k-setcard h2 a { color:var(--ink); text-decoration:none; }
.k-setstate { margin:var(--s-1) 0 var(--s-2); color:var(--muted); font-size:var(--t-caption); }
.k-setpages { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:var(--s-1); }
/* Each page a target of 24 px (WCAG 2.5.8, UIKIT-1120 10): at 18 the links of a group met the group title above them. */
.k-setpages a { color:var(--muted); text-decoration:none; display:inline-flex; align-items:center; min-height:24px; }
.k-setpages a:is(:hover, :focus-visible) { color:var(--accent); text-decoration:underline; }
/* The reports library: the whole card opens the report; Make stands above the link that covers it. */
.k-libcard { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:var(--s-2); }
.k-libcard .k-libopen::after { content:""; position:absolute; inset:0; border-radius:var(--radius-lg); }
.k-libcard:has(.k-libopen:is(:hover, :focus-visible)) { border-color:var(--accent); }
.k-libcard .k-setstate { margin:0; }
/* Typed columns (Stage 2.2): a set width, cut with the whole value on hover. */
td.k-cchip, td.k-cstatus, td.k-cdate, td.k-cnum { white-space:nowrap; width:1%; }
td.k-ctext { max-width:28ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
td.k-cperson { max-width:18ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
td.k-cact { white-space:nowrap; width:1%; text-align:right; }
td.k-cact > .rowacts { flex-wrap:nowrap; }
/* The side panel fills the screen below 760 (Stage 2.3). */
@media (max-width:760px) { .peekpanel.k-sidepanel { width:100vw; border-left:0; } }

.k-inline { display:flex; flex-direction:column; align-items:flex-start; gap:var(--s-1); width:100%; min-width:0; }
/* In a table drawn as rows a value edited in place keeps one line, as it did while it was read as the row's action (VISUAL-1117). */
table:not(.k-cards) td:has(> .k-inline) { white-space:nowrap; }
.k-inlineval { all:unset; display:flex; align-items:center; min-height:28px; width:fit-content; box-sizing:border-box; cursor:pointer; border-radius:var(--radius); padding:0 var(--s-1); margin:0 calc(-1 * var(--s-1)); max-width:100%; overflow-wrap:normal; font:inherit; font-weight:500; color:var(--ink); }
.k-inlineval:hover { background:var(--inset); }
/* In a top-aligned record table its words sit on the line of the label beside it, the 28 pixels reaching above and below. */
table.kv .k-inlineval { margin-block:-4px; }
.k-inlineval:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
.k-inlinenone { color:var(--muted); }
.k-inlineedit { display:flex; flex-wrap:wrap; width:100%; align-items:center; gap:var(--s-1); max-width:100%; }
.k-inlineedit[hidden] { display:none; }
.k-inlineedit :is(select, input, textarea) { flex:1 1 200px; width:auto; min-width:200px; max-width:100%; }
.k-inlineerr { color:var(--bad); font-size:var(--t-caption); }
.k-inlineerr[hidden] { display:none; }
.k-editmode { display:flex; flex-direction:column; gap:var(--s-4); max-width:760px; }
.k-editsection { display:flex; flex-direction:column; gap:var(--s-3); }
.k-editgrid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:var(--s-3) var(--s-4); }
.k-editgrid > .k-editwide { grid-column:1 / -1; }
.k-editnote { margin:0; color:var(--muted); font-size:var(--t-caption); }
.k-editfoot { position:sticky; bottom:0; z-index:5; display:flex; align-items:center; gap:var(--s-2); padding:var(--s-3) 0; background:var(--bg); border-top:1px solid var(--line); box-shadow:var(--shadow-up); }
.k-unsaved { color:var(--muted); font-size:var(--t-caption); }
.k-unsaved[hidden] { display:none; }
@container (max-width: 560px) { .k-editgrid { grid-template-columns:minmax(0, 1fr); } }
@media (max-width: 560px) { .k-editgrid { grid-template-columns:minmax(0, 1fr); } }

.k-stepper { container-type:inline-size; }
.k-stepgrid { display:grid; grid-template-columns:220px minmax(0, 1fr); grid-template-areas:"prog prog" "list body"; gap:var(--s-4) var(--s-5); }
.k-stepprog { grid-area:prog; display:flex; align-items:center; gap:var(--s-3); color:var(--muted); font-size:var(--t-caption); }
.k-stepprog progress.k-progress { width:min(320px, 50%); }
.k-steplist { grid-area:list; }
.k-steplist ol { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:var(--s-1); }
.k-step a { display:flex; align-items:flex-start; gap:var(--s-2); padding:var(--s-2); border-radius:var(--radius); color:var(--ink); text-decoration:none; }
.k-step a:hover { background:var(--panel-2); }
.k-step-current a { background:var(--accent-weak); }
.k-stepno { flex:none; width:22px; height:22px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:var(--t-label); border:1px solid var(--line-2); color:var(--muted); }
.k-step-done .k-stepno { background:var(--panel-3); color:var(--ink); }
.k-step-current .k-stepno { border-color:var(--accent); color:var(--ink); }
.k-steptext { display:flex; flex-direction:column; min-width:0; }
.k-steptext small { color:var(--muted); font-size:var(--t-caption); font-weight:400; }
.k-stepbody { grid-area:body; min-width:0; }
@container (max-width:760px) { .k-stepgrid { grid-template-columns:minmax(0, 1fr); grid-template-areas:"prog" "list" "body"; } }

/* The account and help menus (CHROME-1118 Part 1.2). Every item is one row: a 16 px slot for its glyph, its words at
   the menu's size, one left edge for a link and a button alike, no fill or shadow, whatever the button kit says. */
.umenu { min-width:260px; padding:4px; overflow:hidden; border-radius:var(--radius); box-shadow:var(--shadow-lg); }
.umenu .umhead { display:flex; gap:var(--s-3); align-items:center; padding:var(--s-3); border:0; margin:0; border-bottom:1px solid var(--line); }
.umenu .umhead .wsavatar.umav { width:36px; height:36px; font-size:var(--t-caption); margin:0; flex:none; }
.umenu .umwho b { font-size:var(--t-body); font-weight:600; color:var(--ink); }
.umenu .umemail, .umenu .umcap { font-size:var(--t-caption); color:var(--muted); }
.umenu .umgroup { display:flex; flex-direction:column; padding:var(--s-1); margin:0; }
.umenu .umgroup + .umgroup { border-top:1px solid var(--line); }
.umenu .umitem { display:grid; grid-template-columns:16px minmax(0,1fr); column-gap:var(--s-3); align-items:center; box-sizing:border-box; width:100%; min-height:32px; height:auto;
  padding:var(--s-1) var(--s-2); margin:0; border:0; border-radius:var(--radius-sm); background:none; box-shadow:none; cursor:pointer;
  color:var(--ink); font:inherit; font-size:var(--t-caption); font-weight:400; line-height:var(--row-line); text-align:left; text-decoration:none; }
.umenu .umic { display:flex; align-items:center; justify-content:center; width:16px; color:var(--muted); }
.umenu .umitem:hover, .umenu .umitem:focus-visible { background:var(--panel-2); color:var(--ink); }
.umenu .umout .umitem:hover .umic { color:var(--bad); }
/* The help's items join the account menu on a phone, where the help menu leaves the bar; above, they are the help menu's. */
.usermenu .umhelp { display:none; }
@media (max-width:560px) { .usermenu .umhelp { display:flex; } .topbar .helpmenu { display:none; } }
/* The icon buttons of the bar: the size of the avatar, borderless, each with its tooltip and name. */
.tbmenu { position:relative; }
.tbmenu > summary { list-style:none; }
.tbmenu > summary::-webkit-details-marker { display:none; }
.topbar .tbicon { width:var(--ctl-h); height:var(--ctl-h); display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:50%; background:transparent; color:var(--muted); cursor:pointer; box-shadow:none; }
.topbar .tbicon:hover, .tbmenu[open] > .tbicon, .topbar .tbicon:focus-visible { background:var(--panel-2); color:var(--ink); }
/* The bell and its panel (NOTIFY-1117): the count over the glyph's corner, the panel 380 wide inside the window. */
.inboxmenu > summary { position:relative; }
.tbbadge { position:absolute; top:2px; right:0; min-width:16px; height:16px; padding:0 4px; box-sizing:border-box; border-radius:999px; background:var(--accent); color:var(--on-accent, #fff); font-size:var(--t-label); font-weight:600; line-height:16px; text-align:center; }
.tbbadge[hidden] { display:none; }
.umenu.k-inbox { width:380px; max-width:calc(100vw - 24px); padding:0; }
.k-ibhead { display:flex; align-items:center; justify-content:space-between; gap:var(--s-2); padding:var(--s-3) var(--s-3) var(--s-2); }
.k-ibhead h2 { margin:0; font-size:var(--t-body); font-weight:600; }
.k-ibhead form { margin:0; }
.k-ibhead button { font-size:var(--t-caption); }
.k-ibtabs { display:flex; gap:var(--s-1); padding:0 var(--s-3); border-bottom:1px solid var(--line); }
.k-ibtabs button { all:unset; cursor:pointer; padding:var(--s-2) var(--s-1); font-size:var(--t-caption); font-weight:500; color:var(--muted); border-bottom:2px solid transparent; margin-bottom:-1px; }
.k-ibtabs button[aria-selected=true] { color:var(--ink); border-bottom-color:var(--accent); }
.k-ibtabs button:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
.k-inbox .k-iblist { max-height:min(480px, 70vh); overflow-y:auto; }
.k-ibgroup h3 { margin:0; padding:var(--s-3) var(--s-3) var(--s-1); font-size:var(--t-label); font-weight:400; color:var(--muted); }
.k-ibgroup ul { list-style:none; margin:0; padding:0 var(--s-1) var(--s-1); border-radius:8px; }
.k-ibitem form { margin:0; }
.k-ibopen { all:unset; box-sizing:border-box; display:grid; grid-template-columns:16px minmax(0,1fr) auto 8px; column-gap:var(--s-2); align-items:start; width:100%; padding:var(--s-2); border-radius:var(--radius-sm); cursor:pointer; color:var(--ink); font-size:var(--t-caption); line-height:var(--row-line); }
.k-ibopen:is(button, a):hover, .k-ibopen:is(button, a):focus-visible { background:var(--panel-2); }
a.k-ibopen { text-decoration:none; }
.k-ibitem.deleted .k-ibopen { cursor:default; color:var(--muted); }
.k-ibic { display:flex; padding-top:2px; color:var(--muted); }
.k-ibtext { display:flex; flex-direction:column; min-width:0; }
.k-ibsent { overflow-wrap:anywhere; }
.k-ibitem.unread .k-ibsent { font-weight:600; }
.k-ibwhere { color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.k-ibstate { margin-right:var(--s-1); color:var(--ink); }
.k-ibtime { color:var(--muted); white-space:nowrap; }
.k-ibdot { position:relative; top:2px; width:8px; height:8px; margin-top:4px; border-radius:50%; background:var(--accent); }
.k-inbox[data-show=unread] .k-ibitem:not(.unread) { display:none; }
.k-inbox[data-show=unread] .k-ibgroup:not(:has(.k-ibitem.unread)) { display:none; }
.k-ibnounread { display:none; margin:0; padding:var(--s-4) var(--s-3); color:var(--muted); font-size:var(--t-caption); }
.k-inbox[data-show=unread]:not(:has(.k-ibitem.unread)) .k-ibnounread { display:block; }
.k-ibempty { padding:var(--s-5) var(--s-3); text-align:center; color:var(--muted); font-size:var(--t-caption); }
.k-ibempty p { margin:0 0 var(--s-2); }
.k-ibfoot { padding:var(--s-2) var(--s-3); border-top:1px solid var(--line); font-size:var(--t-caption); }
.k-ibfoot a, .k-ibempty a { color:var(--accent-text, var(--accent)); text-decoration:none; font-weight:400; display:inline-flex; align-items:center; min-height:24px; }
.k-ibfoot a:hover, .k-ibempty a:hover { text-decoration:underline; }
@media (max-width:560px) { .umenu.k-inbox { position:fixed; left:12px; right:12px; top:56px; width:auto; max-width:none; } }

/* Three control sizes (KIT-1115 Part 2.2): small 28, default 36, large 42. Every control in a toolbar or a filter bar is
   small, the search box and the selects included, so one line of a bar is one height. A page header's actions and a
   form's fields and buttons are the default. */
:is(.listbar, .listtools, .findbar, .bulkbar, .pager, .filterbar, .colbar, [role=toolbar]) :is(button:not(.linkbtn, .x, .iconbtn, .copy:not(.sec), .helptip, .more, .k-tabscroll, [role=menuitem], [role=tab]), a.btnlink, summary.btnlike) { height:var(--ctl-sm); padding-inline:var(--btn-x-sm); font-size:var(--t-caption); }
:is(.listbar, .listtools, .findbar, .bulkbar, .pager, .filterbar, .colbar, [role=toolbar]) :is(select, input:not([type=checkbox], [type=radio], [type=hidden], [type=range], [type=file], [type=color])) { height:var(--ctl-sm); font-size:var(--t-caption); }
/* An icon button is a control too: a dialog's close and a copy glyph are small. */
dialog.formdialog .dlgx { width:var(--ctl-sm); height:var(--ctl-sm); }
/* In a table set to the top a copy control on the first line is drawn up like any control there, so the line keeps its height. */
table:is([data-align=top], .kv) .copy { margin-block:calc((var(--row-line) - var(--ctl-sm)) / 2); }
/* A text link drawn as a button (.linkbtn) is text only: no padding, border or height of its own, used inside a sentence
   or a cell (Part 3.5). */
/* Its line is 24 high, so the words are a target of the size WCAG 2.2 2.5.8 asks for (UIKIT-1120 10). */
:where(button.linkbtn) { height:auto; min-height:0; padding:0; border:0; line-height:24px; }

/* Button colours (Part 3.5): a secondary and a ghost carry ink, whatever link colour the page sets, and a link button the
   accent. A button drawn as a link in a row's title is the row's name, and keeps the row's ink. */
:is(main, dialog, header) a.btnlink:not(.primary, .ghost, .warn), :is(main, dialog, header) summary.btnlike:not(.primary, .ghost, .warn) { color:var(--ink); }
:where(button.ghost, a.btnlink.ghost, summary.btnlike.ghost), :is(main, dialog) :is(a.btnlink, summary.btnlike).ghost { color:var(--ink); }

/* Two card paddings (Part 2.4): a card 24 all round, a compact tile, a figure card or a panel inside a card 16 all round.
   A card whose title bar needs less draws it as a header part with its own rule: the bar reaches the card's edges and
   keeps its own padding, and the card's own padding stays one value. */
:root { --inset:var(--s-5); }
.chart { padding:var(--inset); }
.panel .panel, .panel .k-card, .k-card .panel, .panel .chart, .runcard { padding:var(--s-4); }
details.addpanel:not(section.panel > *) > summary:not(.btnlike) { margin:calc(-1 * var(--s-4)) calc(-1 * var(--s-5)); padding:var(--s-2) var(--s-5); border-radius:inherit; }
details.addpanel:not(section.panel > *)[open] > summary:not(.btnlike) { margin-bottom:var(--s-3); }
details.addpanel:not(section.panel > *)[open] { padding-bottom:var(--s-5); }
.fold[open] > summary { margin-bottom:0; }

/* One segmented control (Part 4.2), kit.segments: a 28px track on panel-2 with a 2px inset, each segment 8px round, the
   current one on the panel with a hairline and ink, the rest muted, every label at 500. The title's segments, a tab's
   segments, a form's choice of one and the surface switch all draw it. It never wraps: a row too long scrolls, its
   tab row's arrows say so. */
.k-seg { position:relative; display:inline-flex; flex-wrap:nowrap; align-items:stretch; gap:2px; box-sizing:border-box; height:var(--ctl-sm); max-width:100%; min-width:0; padding:2px; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; background:var(--panel-2); border:0; border-radius:10px; vertical-align:middle; }
.k-seg::-webkit-scrollbar { display:none; }
/* On a bar that is itself panel-2, the track takes the next shade so it still shows. */
:is(.listbar, .listtools, .findbar, .sortbar) .k-seg { background:var(--panel-3); }
.k-seg > :is(a, label) { display:inline-flex; align-items:center; gap:var(--s-2); flex:none; height:auto; min-height:0; margin:0; padding:0 var(--s-3); border:0; border-radius:var(--radius); background:transparent; box-shadow:none; color:var(--muted); font-size:var(--t-caption); font-weight:500; line-height:1; white-space:nowrap; text-decoration:none; cursor:pointer; }
.k-seg > :is(a, label):hover { color:var(--ink); background:transparent; }
.k-seg > :is(a.on, a[aria-current], label:has(input:checked)) { background:var(--panel); color:var(--ink); box-shadow:0 0 0 1px var(--line), 0 1px 2px rgba(16,18,40,.08); }
.k-seg :is(.cnt, a > b) { color:var(--muted); font-weight:inherit; background:none; padding:0; }

/* Menus (Part 4.4), kit.menu: an 8px surface with a 4px inset, the shared shadow, at least 180 wide, and each item 32 high,
   14px at 400 in ink, 12 from the sides. A secondary line under an item's label is 12px muted. Muted words alone mark a
   disabled item (aria-disabled), and a destructive item comes last, after a rule, in the danger tone. A popover (the help
   beside a title) is the same surface with 16 inside. */
details.dropmenu .menu, details.pagemore .menu { border-radius:var(--radius); padding:4px; box-shadow:var(--shadow-lg); min-width:180px; }
details.dropmenu .menu > a, details.dropmenu .menu > button, details.dropmenu .menu > form > button, details.dropmenu .menu section > a,
details.rowmenu > .menu > button, details.pagemore .menu a {
  display:flex; align-items:center; justify-content:flex-start; gap:var(--s-2); box-sizing:border-box; width:100%; min-height:32px; height:auto; margin:0;
  padding:var(--s-1) var(--s-3); border:0; border-radius:var(--radius-sm); background:none; box-shadow:none; color:var(--ink);
  font:inherit; font-size:var(--t-table); font-weight:400; line-height:var(--row-line); text-align:left; text-decoration:none; white-space:normal; }
/* A menu keeps its items in ink wherever it opens: the link rule of a cell or a muted block (UI-1114) stops at the menu. */
main details :is(.menu, [role=menu]) :is(a, button):not([aria-disabled=true], .danger, [data-danger], .k-tag, .btnlink.primary) { color:var(--ink); }
details.dropmenu .menu > a:has(> small) { flex-direction:column; align-items:flex-start; gap:0; }
:is(details.dropmenu, details.rowmenu, details.pagemore) .menu :is(small, .k-menusub) { display:block; color:var(--muted); font-size:var(--t-label); line-height:16px; }
:is(details.dropmenu, details.rowmenu, details.pagemore) .menu :is(a, button)[aria-disabled=true], .umenu :is(a, button)[aria-disabled=true] { color:var(--muted); cursor:not-allowed; }
:is(details.dropmenu, details.rowmenu, details.pagemore) .menu :is(a, button, form):is(.danger, [data-danger]), :is(details.dropmenu, details.rowmenu, details.pagemore) .menu form[data-danger] > button { color:var(--bad); }
:is(details.dropmenu, details.rowmenu, details.pagemore) .menu > :is(.danger, [data-danger]):not(:first-child) { border-top:1px solid var(--line); margin-top:4px; padding-top:4px; }
.k-popover { border-radius:var(--radius); padding:var(--s-4); box-shadow:var(--shadow-lg); }

/* Empty states (Part 5.1): the create action lives inside the empty state, so the header's own create is not drawn
   beside it, and a list with no rows shows no bar to filter, export or act on in bulk. */
main:has(.k-empty [data-create]) :is(.pagehead, .pageactions, .tabhead, .pagetitle) [data-create] { display:none; }
:is(.listbar, .listtools, .bulkbar, .filterchips):has(~ .k-empty), :is(.listbar, .listtools, .bulkbar):has(~ :is(.tablewrap, div):empty ~ .k-empty) { display:none; }

/* Forms (Part 4.1): a dialog's footer is Cancel then its one primary, at the right, and a page form ends with its primary
   at the left under its last field, then Cancel. */
dialog.formdialog .btnrow:has(> [data-cancel]) { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:var(--s-2); }
/* Three field widths (Part 4.1): full (the form's width, at most 560), medium 280 and short 160, for numbers, dates
   and codes. Nothing else: a select is medium, a date or a number short. */
select { max-width:280px; }
:is(main, dialog.formdialog) form :is(select) { max-width:min(280px, 100%); }
:is(main, dialog.formdialog) form textarea { max-width:min(560px, 100%); }
:is(main, dialog.formdialog) :is(input[type=date], input[type=month], input[type=number], input.k-short, input.k-w-s, input.k-w-xs, select.k-w-s, select.k-w-xs) { width:160px; max-width:min(160px, 100%); }
:is(main, dialog.formdialog) :is(input[type=datetime-local], input.k-name, input.k-w-m, select.k-w-m) { width:280px; max-width:min(280px, 100%); }
/* A hash or an identifier in a cell keeps whole: cut with an ellipsis, never broken inside the word (KIT-1115: the
   14px caption made the version page's hashes wrap). */
td code.sm { display:inline-block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; vertical-align:bottom; }

.k-signinpreview { border-radius:12px; overflow:hidden; max-width:560px; }
.k-signinpreview .signin-aside { background:#5b5ce6 linear-gradient(155deg, #1c1d5e 0%, #3536b8 55%, #5b5ce6 100%); color:#fff; display:flex; flex-direction:column; gap:var(--s-5); padding:var(--s-6) 0 var(--s-6) var(--s-6); overflow:hidden; }
.k-signinpreview .signin-pitch { padding-right:var(--s-6); }
.k-signinpreview .signin-aside h2 { margin:0 0 var(--s-3); font-size:var(--t-figure); line-height:1.12; color:#fff; }
.k-signinpreview .signin-sub { margin:0 0 var(--s-5); font-size:var(--t-body); line-height:1.5; color:var(--nav-ink); }
.k-signinpreview .signin-ctas { display:flex; flex-wrap:wrap; gap:var(--s-3); }
.k-signinpreview .signin-ctas a.btnlink { background:#fff; color:#1c1d5e; border:1px solid #fff; }
.k-signinpreview .signin-ctas a.btnlink.sec { background:transparent; color:#fff; border-color:rgba(255,255,255,.55); }
.k-signinpreview .signin-brandmark { display:inline-flex; align-items:center; gap:var(--s-2); margin:0 0 var(--s-4); padding:var(--s-2) var(--s-3); background:#fff; border-radius:8px; color:var(--high-ink); }
.k-signinpreview .signin-brandmark img { display:block; height:32px; width:auto; max-width:200px; object-fit:contain; }
.k-signinpreview .signin-shot { display:block; width:125%; max-width:none; height:auto; border-radius:12px 0 0 12px; }
.k-mailpreview { display:block; width:100%; max-width:640px; height:600px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.k-mailtext { margin-top:var(--s-3); max-width:640px; }

.k-card .k-cardtop { display:flex; align-items:center; justify-content:space-between; gap:var(--s-3); }
.k-card .k-cardtop .k-sh { margin:0; }
/* A card's state (a status, a tag) keeps its words on one line beside a title that wraps. */
.k-card .k-cardtop > :not(.k-sh) { flex:none; white-space:nowrap; }
/* The card spaces its children with its own gap (kit/visual.ts), so nothing inside adds a margin of its own. */
.k-card > p { margin:0; }
.k-checkrows { list-style:none; margin:0; padding:0; }
.k-checkrows li { display:flex; align-items:center; justify-content:space-between; gap:var(--s-3); height:calc(var(--ctl-sm) + var(--s-3)); box-sizing:border-box; border-top:1px solid var(--line); }
.k-checkrows li:first-child { border-top:0; }
.k-checkrows li:has(.k-crleft small) { height:auto; padding:var(--s-2) 0; }
/* The Properties panel's facts end without a rule under their last row. */
.k-facts table.kv, .k-facts table.kv tr:last-child :is(th, td) { border-bottom:0; box-shadow:none; }
.k-checkrows .k-crleft { display:flex; flex-direction:column; min-width:0; }
.k-checkrows .k-crleft b { font-weight:500; }
.k-checkrows .k-crleft small { color:var(--muted); font-size:var(--t-label); }
.k-checkrows .k-crright { display:flex; align-items:center; gap:var(--s-3); flex:0 0 auto; }
/* On a phone a row's state and action move under its name when the line is too short for both, never squeezing the name. */
@media (max-width:760px) {
  .k-checkrows li { height:auto; min-height:calc(var(--ctl-sm) + var(--s-3)); flex-wrap:wrap; row-gap:var(--s-1); padding:var(--s-2) 0; }
  .k-checkrows .k-crleft { flex:1 0 auto; }
}
/* A card's quiet action (kit.opener kind link) is a text button on the sentence's left edge, a 24 pixel target. */
.k-card p > button.linkbtn { display:inline-flex; align-items:center; min-height:24px; color:var(--accent); font-weight:500; }
.k-card table.k-plainkv { margin:0; border:0; border-radius:0; background:none; box-shadow:none; }
.k-card table.k-plainkv :is(td, th) { border:0; background:none; }
.k-card table.k-plainkv th { color:var(--muted); font-weight:400; width:12em; padding:var(--s-1) var(--s-3) var(--s-1) 0; }
.k-card table.k-plainkv td { padding:var(--s-1) 0; }
/* Inside a record the main column's own gap sets the step from the tab bar to its body, so the bar adds none. */
.k-tabbody { margin-top:0; }
.k-rmain > .k-tabrow > .k-tabs { margin-bottom:0; }
/* The card lets a long word break anywhere (kit/visual.ts). Inside its tables a word breaks only between words, so a
   heading such as "Passed" never splits. */
.k-card table { overflow-wrap:normal; }
/* A field's hint reads as every other hint: the muted tone at the body weight, never the label's. */
label .hint, label > .hint { display:block; color:var(--muted); font-weight:400; font-size:var(--t-label); margin-top:var(--s-1); }
/* A button beside a value in a facts row sits on the value's line. */
.k-card table.k-plainkv td > button { vertical-align:middle; margin-left:var(--s-2); }
/* A table inside a card ends where the card's padding begins. */
.k-card .tablewrap > table { margin-bottom:0; }
/* A table wider than its column scrolls inside its wrapper and never pushes past its card or the page (rule 18). */
.tablewrap { max-width:100%; overflow-x:auto; }

/* kit.formColumn: a page that is one form, in one column whose text fields take its width (a select keeps its own). */
.k-formcol { max-width:880px; }
.k-formcol form[class*=k-measure], .k-formcol form .field, .k-formcol form :is(input:not([type=checkbox], [type=radio], [type=hidden], [type=file]), textarea) { max-width:none; }
/* kit.errorSummary: the GOV.UK error summary at the top of a refused form, each item a link to its field (rule 11). */
.k-errsum { border:2px solid var(--bad); border-radius:var(--radius); padding:var(--s-3) var(--s-4); background:var(--panel); }
.k-errsum .k-sh { margin:0 0 var(--s-2); }
.k-errsum a { color:var(--bad); font-weight:500; }
.k-errsum ul { margin:0; padding-left:var(--s-5); }
.k-errsum:focus { outline:3px solid var(--focus, var(--accent)); outline-offset:2px; }
.k-errsum .tablewrap { margin-top:var(--s-3); }
/* kit.govField: the label, then the hint, the error and the control, one under the other. */
.k-govfield > label { display:block; font-weight:500; }
.k-govfield > .hint { display:block; color:var(--muted); font-weight:400; margin-top:var(--s-1); }
.k-fielderr { display:block; color:var(--bad); font-weight:500; margin-top:var(--s-1); }
.k-govfield.k-haserr { border-left:4px solid var(--bad); padding-left:var(--s-3); }
.k-govfield.k-haserr > :is(input, select, textarea) { border-color:var(--bad); }
.k-govfield > :is(input:not([type=checkbox],[type=radio],[type=hidden]), select, textarea) { display:block; margin-top:var(--s-2); max-width:100%; }
.k-govfield + .k-govfield { margin-top:var(--s-4); }
/* kit.fillText: a shared dialog's named words, set as it opens. */
b[data-fill-text] { font-weight:600; }
.k-done { margin:0 0 var(--s-4); }
.k-stack > .k-done { margin:0; }
.k-errsum > :last-child, .k-errsum .tablewrap > table { margin-bottom:0; }
/* A one-button form in a row (Remove, Include again) sits on the row's line beside its state. */
:is(td, .k-crright) > form.btnrow { display:inline-flex; margin:0; }
td > .k-tag + form.btnrow { margin-left:var(--s-2); }

/* kit.stickyHead: the call sheet's head stays on screen as the page scrolls (rule 15). */
.k-stickyhead { position:sticky; top:0; z-index:20; background:var(--bg); padding-top:var(--s-2); margin-top:calc(-1 * var(--s-2)); }
.k-stickyhead .pagehead { margin-bottom:var(--s-4); padding-bottom:var(--s-3); border-bottom:1px solid var(--line); }
button.k-stop { background:var(--bad); color:var(--bad-ink, #fff); border-color:var(--bad); font-weight:600; display:inline-flex; align-items:center; gap:var(--s-2); }
button.k-stop:disabled { opacity:.5; }
button.k-stopreason { display:flex; width:100%; justify-content:flex-start; text-align:left; border:1px solid var(--bad); color:var(--bad); background:var(--panel); font-weight:500; }
button.k-stopreason:hover { background:var(--bad); color:var(--bad-ink, #fff); }
.k-stopreasons { display:flex; flex-direction:column; gap:var(--s-2); }
fieldset.choices:has(> .k-stopreasons) { border:0; padding:0; margin:0; min-width:0; max-width:none; }
fieldset.choices:has(> .k-stopreasons) > legend { padding:0; margin-bottom:var(--s-2); font-weight:500; color:var(--ink); }
@media (max-width:760px) { .k-stickyhead .pageactions { flex:1 1 100%; } .k-stickyhead button.k-stop { width:100%; justify-content:center; } }
/* The call sheet's controls are 44 pixels on a phone (rule 20). */
@media (max-width:760px) { .k-callsheet :is(button, select, input:not([type=checkbox]):not([type=radio])) { min-height:44px; } }
/* The outcome list fills its card: the kit caps a list of choices at a reading measure meant for settings pages. */
.k-callsheet .choices { max-width:none; margin:0; padding:0; border:0; min-width:0; }
.k-callsheet .choices > legend { padding:0; margin-bottom:var(--s-2); }
/* The card spaces its forms with its own gap, so a form adds no margin of its own. */
.k-callsheet .k-card > form { margin:0; }
/* A checkbox's row is a whole target: 24 pixels on a desk, 44 on a phone. */
.k-callsheet label.check { display:flex; align-items:center; gap:var(--s-2); min-height:24px; }
@media (max-width:760px) { .k-callsheet label.check { min-height:44px; } }
/* A phone has no keyboard to press, so the Shortcuts button is not drawn there. */
@media (max-width:760px) { .k-keysbtn { display:none; } }
/* kit.keysList: the keyboard shortcuts panel. */
.k-keys { display:grid; grid-template-columns:max-content 1fr; gap:var(--s-2) var(--s-4); margin:0; }
.k-keys dt { display:flex; gap:var(--s-1); } .k-keys dd { margin:0; align-self:center; }
.k-keys kbd { min-width:24px; height:24px; display:inline-flex; align-items:center; justify-content:center; padding:0 var(--s-1); font-family:var(--mono); font-size:var(--t-label); background:var(--panel-2); border:1px solid var(--line); border-radius:4px; }
/* kit.saved: the quiet confirmation that a live action counted (rule 6). */
.k-saved { display:inline-flex; align-items:center; gap:var(--s-1); color:var(--good); font-size:var(--t-label); }
/* kit.fallbackSave: shown only where the page's script does not run. */
.js [data-fallback] { display:none; }
/* A note in the call's log: its words, then when and by whom. */
.k-notes { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:var(--s-2); }
.k-notes li { border-left:2px solid var(--line); padding-left:var(--s-3); white-space:pre-wrap; }
.k-notes small { display:block; color:var(--muted); font-size:var(--t-label); white-space:normal; }

.k-report { display:flex; flex-direction:column; gap:var(--s-3); min-width:0; }
.k-report > header { display:flex; flex-direction:column; gap:var(--s-2); }
.k-report .rtitle { margin:0; font-size:var(--t-block); }
/* On screen the page head already names the engagement and client, so the document's own line under its title is for paper. */
@media screen { .k-report > header > .sub { display:none; } }
.k-report p { margin:0; }
.k-report .sub, .k-report .muted { color:var(--muted); }
.k-report .sm { font-size:var(--t-label); }
.k-report .foot { color:var(--muted); font-size:var(--t-label); }
.k-report .flag { border:1px solid var(--bad); color:var(--bad); background:var(--panel); border-radius:var(--radius); padding:var(--s-2) var(--s-3); font-weight:500; }
.k-report > section { background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); padding:var(--s-5); display:flex; flex-direction:column; gap:var(--s-3); min-width:0; }
.k-report > section > h3 { margin:0; font-size:var(--t-block); }
.k-report table { width:100%; border-collapse:collapse; margin:0; overflow-wrap:normal; }
.k-report th, .k-report td { text-align:left; vertical-align:top; padding:var(--s-2) var(--s-3) var(--s-2) 0; border-bottom:1px solid var(--line); }
.k-report thead th { color:var(--muted); font-weight:500; font-size:var(--t-label); }
.k-report tbody tr:last-child > * { border-bottom:0; }
.k-report .n { text-align:right; white-space:nowrap; }
.k-report table.kv { width:auto; border:0; border-radius:0; background:none; box-shadow:none; }
.k-report table.kv th { color:var(--muted); background:none; font-weight:400; border:0; padding:var(--s-1) var(--s-5) var(--s-1) 0; }
.k-report table.kv td { background:none; overflow-wrap:anywhere; border:0; padding:var(--s-1) 0; }
.k-report .tw { max-width:100%; overflow-x:auto; }
.k-report .kpis { display:flex; flex-wrap:wrap; gap:var(--s-3) var(--s-6); }
.k-report .kpis > div { display:flex; flex-direction:column; gap:var(--s-1); min-width:72px; }
.k-report .kpis span { color:var(--muted); font-size:var(--t-label); }
.k-report .kpis b { font-size:var(--t-block); font-weight:600; line-height:1.2; }
.k-report .kpis small { color:var(--muted); font-size:var(--t-label); }

.bars { margin:0; }
.bars figcaption { font-weight:600; margin:0 0 8px; }
.bars ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.bars li { display:grid; grid-template-columns:minmax(6em, 14em) minmax(4em, 1fr) 4.5em; align-items:center; gap:12px; }
.bars .bl { overflow-wrap:anywhere; }
.bars svg { width:100%; height:12px; display:block; }
.bars .bt { fill:currentColor; opacity:.12; }
.bars .bf { fill:currentColor; opacity:.75; }
.bars .bv { text-align:right; font-variant-numeric:tabular-nums; font-weight:600; }
@media (max-width: 480px) { .bars li { grid-template-columns:1fr 4.5em; } .bars svg { grid-column:1 / -1; grid-row:2; } }
@media print { .bars li { break-inside:avoid; } }

@media print {
  body .shell #nav, body .topbar, body .skiplink, body .backdrop, main .pagehead, main .k-tabrow, main .k-facts, main .k-noprint { display:none; }
  body, body .shell, body .col, body main, body .mainwrap, body .k-record, body .k-rmain { display:block; background:#fff; padding:0; margin:0; overflow:visible; height:auto; }
  .k-report > section { border:0; box-shadow:none; padding:0; break-inside:auto; }
  .k-report .kpis { display:flex; flex-wrap:wrap; }
}


@media (max-width:760px) {
  #nav { position:fixed; top:0; left:0; height:100vh; height:100dvh; transform:translateX(-100%);
    visibility:hidden; transition:transform .22s ease, visibility 0s linear .22s; box-shadow:var(--shadow-lg); }
  body.nav-open #nav { transform:translateX(0); visibility:visible; transition:transform .22s ease; }
  aside .brand .x { display:inline-flex; }
  .topbar { padding:0 var(--s-3); }
  .topbar .menubtn { display:inline-flex; }
  .topbar .tb-left { min-width:0; }
  body.nav-open .backdrop { display:block; position:fixed; inset:0; background:rgba(4,8,14,.55); z-index:35; }
  .mainwrap { padding:var(--s-5) var(--s-3) var(--s-6); }
}
.backdrop { display:none; }
.topbar { grid-template-columns:minmax(0,1fr) max-content; }
.tb-actions { display:flex; align-items:center; gap:var(--s-3); }
.tb-who { color:var(--muted); font-size:var(--t-label); }
.tb-left { display:flex; align-items:center; gap:var(--s-3); min-width:0; }
.k-tag.k-tag-warn { background:color-mix(in srgb, var(--warn) 18%, var(--panel)); color:var(--ink); border-color:color-mix(in srgb, var(--warn) 45%, var(--line)); }
@media (max-width:760px) { .tb-who { display:none; } }
/* The trail's links are full-height targets (docs/design/ux-rules.md, rule 20). On a phone, where Vardion hides the
   trail, its last step stays as the way back (rule 2), drawn as a back link. */
.tb-title { display:flex; align-items:center; min-width:0; }
.tb-title .crumb { display:inline-flex; align-items:center; min-height:32px; }
@media (max-width:760px) {
  .topbar .tb-title { display:flex; }
  .topbar .tb-title > :not(:last-child) { display:none; }
  .topbar .tb-title .crumb:last-child::before { content:"\2039"; margin-right:var(--s-1); font-size:1.2em; }
}
/* The page head (kit/head.ts): the context line above the title, the chips under it. */
.pagehead .k-eyebrow { margin:0 0 var(--s-1); color:var(--muted); font-size:var(--t-label); }
.pagehead .k-chipline { margin-top:var(--s-2); display:flex; flex-wrap:wrap; gap:var(--s-2); align-items:center; }
.pagehead .k-meta { margin:var(--s-2) 0 0; color:var(--muted); font-size:var(--t-label); }
.pagehead { margin-bottom:var(--s-5); }
/* One control size per toolbar (Vardion's kit rules): a switch among the page's actions is as tall as its buttons,
   and its track shows against the page. */
.pageactions { display:flex; align-items:center; gap:var(--s-2); }
/* A segmented control among the actions keeps every segment whole. On a phone such a row wraps instead of scrolling
   sideways, so the page's primary action after it is never off screen (the report's language, Print, Export, Issue). */
.pageactions > .k-seg { flex:none; }
@media (max-width:560px) { .pagetitle .pageactions:has(> .k-seg) { flex-wrap:wrap; overflow:visible; } }
.pageactions .k-seg { height:var(--ctl-h); box-sizing:border-box; align-items:stretch; border:1px solid var(--line); background:var(--panel-2); }
.pageactions .k-seg a { height:auto; display:inline-flex; align-items:center; }
/* One order for the page head at every width (the review of 2026-11-28): the context line, the title with the page's
   actions at its right, the chips, then the meta line. On a phone the actions follow the meta line, after what the
   reader needs before acting, on every page alike (the call sheet, the report and a client drew them above the chips,
   an engagement below). A grid places each part, so the order no longer depends on which parts a page passes.
   Screen only: on paper the print stylesheet hides the head, which display:contents would override. */
@media screen {
.mainwrap .pagehead { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"eye eye" "title act" "chips chips" "meta meta"; column-gap:var(--s-4); align-items:center; }
.mainwrap .pagehead > .pagetitle { display:contents; }
.mainwrap .pagehead > .k-eyebrow { grid-area:eye; }
.mainwrap .pagehead > .pagetitle > .titleleft { grid-area:title; min-height:var(--ctl-h); }
.mainwrap .pagehead > .pagetitle > .pageactions { grid-area:act; justify-self:end; }
.mainwrap .pagehead > .k-chipline { grid-area:chips; }
.mainwrap .pagehead > .k-meta { grid-area:meta; }
}
@media screen and (max-width:760px) {
  .mainwrap .pagehead { grid-template-columns:minmax(0,1fr); grid-template-areas:"eye" "title" "chips" "meta" "act"; }
  .mainwrap .pagehead > .pagetitle > .pageactions { justify-self:stretch; justify-content:flex-start; flex-wrap:wrap; overflow:visible; margin-top:var(--s-3); }
  .mainwrap .pagehead > .k-meta { margin:var(--s-2) 0 0; }
}
/* A filter bar (kit.listBar): a labelled field and its button on one line, the button on the field's line rather
   than on the line of its label (GOV.UK's search pattern), the field wide enough for a login. */
.listtools.listbar { display:flex; flex-wrap:wrap; align-items:flex-end; gap:var(--s-2); }
.listtools.listbar > * { margin:0; }
.listtools.listbar input[type=search] { width:320px; max-width:100%; }
/* Under 700 a table that fits fills its card like any other block (the table fit turns one that does not into cards).
   The kit's rule drew it at its content's width, a small table stopping short of the card's edge. */
@media (max-width:700px) { .js main table:not(.kv, .k-cards) { display:table; width:100%; overflow:hidden; background:var(--panel); border-collapse:separate; border-spacing:0; } }
/* A card's cell of sentences sits under its label across the card, not in the narrow column beside it. */
table.k-cards:not([data-cards]) td.k-cprose[data-cardlabel]:not(.k-ctitle, .k-cref, .k-actions, .k-cact, :has(> details.rowmenu), :empty) { padding-left:0; color:var(--ink); font-size:var(--t-table); }
table.k-cards:not([data-cards]) td.k-cprose[data-cardlabel]:not(.k-ctitle, .k-cref, .k-actions, .k-cact, :has(> details.rowmenu), :empty)::before { position:static; display:block; width:auto; margin-bottom:var(--s-1); font-size:var(--t-caption); }
/* A segmented control that fills its card (the call sheet's queue): its segments share the width. */
.k-seg.k-segfill { display:flex; width:100%; }
.k-seg.k-segfill > a { flex:1 1 0; justify-content:center; }
/* A menu's items keep one height on a phone: the phone rule for main's buttons (taller, wrapping) is for buttons on
   the page, not for the items of an open menu, which drew at 48, 49 and 68 px in one menu. */
@media (max-width:420px) { main details.dropmenu .menu :is(button, a) { min-height:44px; height:auto; white-space:nowrap; padding-block:0; } }
