/* kitwatch dashboard: what the Go port adds to app.css (the design's
   stylesheet, copied as it is). Only for things the prototype has no class
   for: the sign-out control, the drawer the script opens, multi-select,
   and the places where the dashboard's data is shaped differently from
   the prototype's sample. Same tokens, no new colours. */

/* ---- shell: the signed-in line carries sign out; the access level may be a box with a form ---- */
.me { align-items: center; justify-content: space-between; }
.me-out { display: inline; }
.me-out button { padding: 0; border: 0; background: none; color: var(--text-3); font-size: var(--fs-sm); cursor: pointer; }
.me-out button:hover { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.lvl-end { display: block; margin-top: 2px; }
.lvl-end button { padding: 0; border: 0; background: none; color: var(--reveal); font-size: var(--fs-sm); text-decoration: underline; cursor: pointer; }
.lvl--revealed > span { color: var(--reveal); }
.side-foot > a { display: block; color: var(--text-2); }
.side-foot > a:hover { color: var(--text); }
.side-foot > a[aria-current="page"] { color: var(--text); }

/* ---- a fragment of a page shown in clear says so at its top ---- */
.kw-cue { margin: 0 0 var(--s3); }

/* ---- the drawer: the script fills it with an object's page; the list narrows beside it ---- */
.kw-dr { position: fixed; z-index: 40; top: 0; right: 0; bottom: 0; width: 520px; overflow-y: auto; min-height: 0; scrollbar-width: thin; }
.kw-dr[hidden] { display: none; }
.kw-dr .dp-top { position: sticky; top: calc(-1 * var(--s4)); z-index: 2; margin: calc(-1 * var(--s4)) calc(-1 * var(--s6)) 0; padding: var(--s3) var(--s6); background: var(--raised); border-bottom: 1px solid var(--line); }
.kw-dr .dp-acts { flex-basis: auto; margin-left: auto; }
.kw-dr-pos { margin: var(--s2) 0 0; font-size: var(--fs-sm); text-align: right; }
.kw-dr-pos:empty { display: none; }
body.kw-dr-open .main { margin-right: 520px; }
@media (max-width: 1380px) { .kw-dr { width: 480px; } body.kw-dr-open .main { margin-right: 480px; } }
/* an object's page inside the drawer: its band without the page chrome, its side column under it */
.kw-dr .ph { margin: 0; padding: var(--s3) 0 0; background: none; border: 0; }
.kw-dr .ph-top .back, .kw-dr .crumbs { display: none; }
.kw-dr .ph-top { justify-content: flex-end; }
.kw-dr .title-row { margin-top: var(--s2); }
.kw-dr .title-row h1 { font-size: var(--fs-sect); line-height: 1.3; }
.kw-dr .detail { display: block; }
.kw-dr .props { position: static; padding-top: var(--s3); border-top: 1px solid var(--line); }
.kw-dr .props .kv { grid-template-columns: 112px minmax(0, 1fr); }
.kw-dr .sect { padding-top: var(--s4); }
.kw-dr .msum .dq { grid-template-columns: 120px minmax(0, 1fr); }
.kw-dr .tabs--seg { margin-bottom: var(--s2); }
.row--open > .r, .row--open > td { background: var(--active); }
tr.row--open > td:first-child { box-shadow: inset 2px 0 0 var(--marker); }

/* ---- multi-select: a checkbox per row and a bar that sends the picked rows to a case ---- */
.r-sel { position: relative; z-index: 2; display: grid; place-items: center; width: 20px; height: 20px; cursor: pointer; }
.r-sel input { margin: 0; accent-color: var(--accent-bg); }
.vr-id .r-sel { display: inline-grid; vertical-align: -4px; margin-right: 6px; }
.kw-sel { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); padding: var(--s2) var(--s3);
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--raised); font-size: var(--fs-sm); color: var(--text-2); }
.js .kw-sel { display: none; }
.js .kw-sel.on { display: flex; }
.kw-sel-n { margin-right: auto; }

/* ---- small pieces the port needs ---- */
.kw-sub { display: block; font-size: var(--fs-sm); line-height: 1.5; }
.kw-after { margin-top: 6px; }
.kw-raw { max-height: 480px; overflow: auto; }
.kw-swap-busy { opacity: .6; transition: opacity .2s var(--ease); }
.hc.kw-hc { display: block; animation: hc-in .15s var(--ease) both; }

/* ---- words and pieces the data has and the prototype's sample does not ---- */
.kw-vd { text-transform: capitalize; }
.kw-vlink:hover { text-decoration: none; }
.kw-lead { margin: 0 0 var(--s3); font-size: var(--fs-base); color: var(--text-2); }
.kw-lead strong, .kw-lead b { color: var(--text); font-weight: 500; }
.kw-why { margin-top: var(--s3); max-width: 92ch; color: var(--text); line-height: 1.55; }
.kw-findings { margin-top: var(--s3); border-top: 1px solid var(--line); }
.kw-findings li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.kw-findings .fn { color: var(--text-3); font-size: var(--fs-sm); }
.kw-cats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 var(--s3); font-size: var(--fs-base); }
.kw-cat .n { margin-left: 4px; color: var(--text-3); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.kw-chart { margin-top: var(--s2); }
.kw-tabs .tabs--seg { margin: 0 0 var(--s3); }
.kw-harm { width: 100%; }
.harm-t.kw-harm th:nth-child(1) { width: auto; } .harm-t.kw-harm th:nth-child(2), .harm-t.kw-harm th:nth-child(3) { width: 112px; }
/* linked bots: the dashboard has no life spans for a pair, so a row is one column */
.links.kw-links .lb { grid-template-columns: minmax(0, 1fr); }
.kw-sample { margin: 2px 0 0 22px; align-items: center; }
.kw-note { margin: 0 0 var(--s3); }
/* lists and tables with fewer columns than the prototype's sample */
.xc-h.kw-norec, .xc--page.kw-norec .xc-m { grid-template-columns: 72px var(--xc-from) 104px minmax(0, 1fr); }
.kw-tpls .tr { grid-template-columns: 22px minmax(0, 1fr) 150px 110px 140px 96px; }
.kw-tpls .kw-tr { grid-template-columns: 22px minmax(0, 1fr) 96px 96px; }
.kw-bl th.bl-v { width: 140px; } .kw-bl th.bl-last { width: 140px; } .kw-bl th.bl-n { width: 140px; }
.kw-bl .kw-id { margin-top: 0; font-size: var(--fs-sm); color: var(--text-3); }
.kw-hub td { height: auto; padding-top: 0; font-size: var(--fs-sm); color: var(--text-2); }
.kw-hub .hubm { margin-right: 6px; }
.kw-bdl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 3px 0; font-size: var(--fs-sm); color: var(--text-2); }
.kw-bdl .c { color: var(--text-3); font-variant-numeric: tabular-nums; }
.kw-export { display: inline; }
.kw-start { max-width: 640px; }
.kw-recent { margin-top: 6px; }
.kw-recent li { padding: 3px 0; }
.kw-withheld { font-family: var(--font-sans); font-size: var(--fs-sm); white-space: normal; }
.mono-t { font-family: var(--font-mono); font-weight: 500; }
/* filter dropdowns that hold a field rather than choices */
.kw-dd-dates { min-width: 0; }
.dd-pop .kw-dl { display: flex; justify-content: space-between; gap: 10px; height: auto; padding: 4px 6px; color: var(--text-2); }
.dd-pop .kw-dl:hover { background: transparent; }
.dd-pop .kw-dl input { height: 28px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); color: var(--text); }
.kw-rf, .lfil { flex-wrap: wrap; }
/* prose pages and forms */
.kw-prose { max-width: 72ch; }
.kw-prose p + p { margin-top: var(--s3); }
.kw-prose p { line-height: 1.6; color: var(--text); }
.kw-err { max-width: 640px; padding-top: var(--s8); }
.kw-auth-err { color: var(--text); font-weight: 500; }
.kw-ok { margin-bottom: var(--s3); color: var(--text); }
.kw-form { display: grid; grid-template-columns: 180px minmax(0, 520px); gap: 10px 12px; align-items: start; font-size: var(--fs-base); }
.kw-form > label { padding-top: 6px; color: var(--text-2); }
.kw-form input, .kw-form select, .kw-form textarea { min-height: var(--ctl); padding: 4px 8px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: inherit; }
.kw-form textarea { font-family: var(--font-mono); font-size: var(--fs-meta); }
.kw-form input:focus, .kw-form select:focus, .kw-form textarea:focus { border-color: var(--focus); outline: none; }
.kw-form-n { grid-column: 2; font-size: var(--fs-sm); color: var(--text-3); }
.kw-form-n .mono { color: var(--text-2); }
.kw-form-a { grid-column: 2; display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); }
/* a chip whose filter is in the query text is taken away by a POST form: its button looks like the chip's link */
.fchip form { display: contents; }
.fchip button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text-3); cursor: pointer; }
.fchip button:hover { background: var(--hover); color: var(--text); }
.fchip button .i { width: 12px; height: 12px; }
form.fchip { margin: 0; }
/* with the drawer open, a list narrows as the prototype's open Explore does: the rail goes, the row keeps its sentence, bot and time */
body.kw-dr-open .ex { grid-template-columns: minmax(0, 1fr); }
body.kw-dr-open .ex > .bpanel { display: none; }
body.kw-dr-open .xlw { --cols: 20px minmax(0, 1fr) 120px 48px; }
body.kw-dr-open .xlw .r-v, body.kw-dr-open .xlw .r-src .r-chat, body.kw-dr-open .xl-h > span:nth-child(2) { display: none; }
body.kw-dr-open .xlw .r-src .pv { display: block; overflow: hidden; text-overflow: ellipsis; }
body.kw-dr-open .sband-links, body.kw-dr-open .ans2-r { display: none; }
body.kw-dr-open table.vr .vr-br, body.kw-dr-open table.vr .vr-src { display: none; }
/* the values tab keeps its four numbers, narrowed as the prototype's xlw--val.xlw--narrow, their headings shortened */
body.kw-dr-open .xlw--val { --cols: minmax(0, 1fr) 36px 36px 36px 48px; }
body.kw-dr-open .xlw--val .xl-h > span:nth-child(2) { display: block; }
body.kw-dr-open .xlw--val .xl-h [data-short] { font-size: 0; }
body.kw-dr-open .xlw--val .xl-h [data-short]::after { content: attr(data-short); font-size: var(--fs-sm); }
/* a long value (a user agent) ends in an ellipsis on its row's first line, the "from … messages" tail giving way first, never over the next column */
.xlw--val .r-t--flex > .vk, .xlw--val .r-t--flex > .tag { flex: none; }
.xlw--val .r-t--flex > .vx { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xlw--val .r-t--flex > .r-tail { flex: 1 1 0; }
/* without the script the bar cannot count: it says nothing about how many are picked */
html:not(.js) .kw-sel-n { visibility: hidden; }
/* casework: the working case in the sidebar, "In cases" in a page's band, a person's verdict beside the model's */
.kw-tray .w { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kw-incases { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 6px; }
.kw-incases a { display: inline-flex; align-items: center; gap: 4px; color: var(--text); }
.kw-incases a .i { width: 13px; height: 13px; color: var(--text-3); }
.kw-pv { display: block; font-size: var(--fs-sm); line-height: 18px; }
.kw-pv .prio { font-size: var(--fs-sm); }
.acp .rvl-pop select, .acp .rvl-pop input[type=text] { width: 100%; }
#verdicts .verdict { margin-top: 0; }
/* a popover form in a header's actions stays a column (app.css lays the actions' other forms inline) */
.ph-top .acts .rvl-pop, .ex-acts .rvl-pop { display: grid; }
.kw-wrap { overflow-wrap: anywhere; }
/* cases: open and closed groups in one table, removed items and notes greyed, a note's remove button */
.cl tr.kw-grp th { padding: 18px 0 6px; border-bottom: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); text-align: left; }
.cl tbody:first-of-type tr.kw-grp th { padding-top: 10px; }
.cl tr.kw-grp:hover th { background: none; }
.cl tr.kw-grp .n { margin-left: 6px; letter-spacing: 0; }
.kw-removed .ci-t, .kw-removed .ci-x, .kw-removed .ci-s, .kw-removed > p { opacity: .6; }
.kw-cn-x { margin-left: auto; }
.kw-cn-x button { padding: 0; border: 0; background: none; color: var(--text-3); font-size: var(--fs-sm); cursor: pointer; }
.kw-cn-x button:hover { color: var(--text); text-decoration: underline; }
.kw-sum { margin-top: 4px; font-size: var(--fs-base); color: var(--text); white-space: pre-wrap; }
.ci-ra form { display: inline; }
.kw-cedit textarea, .kw-cedit input[type=text], .kw-cedit select { min-height: var(--ctl); padding: 4px 8px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: inherit; }
.c-tabs > a { font-size: var(--fs-sm); }
.cl .status, .cl .cl-st, .ph .title-row .status, .ph .title-row .cl-st { text-transform: capitalize; }
/* a sealed chat or person by the short tag of its reference: "private chat ·9c26c6" */
.seal { font-family: var(--font-mono); font-size: .92em; letter-spacing: 0; color: var(--text-2); }
/* Explore: a run of one bot and one template folded after its third row, opened in place */
.xl > .xfold { position: relative; border-bottom: 1px solid var(--line); }
.xfold > .fold { margin: 0; font-size: inherit; line-height: inherit; }
.xfold > .fold > .fold-a { display: flex; padding: 7px 0 7px 30px; font-size: var(--fs-sm); line-height: 18px; }
.xfold > .fold > .fold-a:hover { background: var(--hover); text-decoration: none; }
.xfold > .fold[open] > .fold-a { border-bottom: 1px solid var(--line); }
.xl--fold > .row:last-child { border-bottom: 0; }
/* My activity: no From column (the view has no address); a row's second line joined by " · " */
.kw-act .arow { grid-template-columns: 92px 128px minmax(0, 1fr) 236px; }
.a-sub > span + span::before { content: " · "; color: var(--text-3); }
.a-sub .a-clear { color: var(--reveal); font-weight: 500; }
.a-sub .a-out--refused, .a-sub .a-out--failed, .a-sub .a-out--aborted { color: var(--text-2); }
.a-what q, .a-sub q { color: var(--text); }
.a-why q { color: var(--text-2); }
.me a.who { color: inherit; }
.me a.who:hover { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1380px) {
  .kw-act .arow { grid-template-columns: 88px 120px minmax(0, 1fr) 200px; }
  .kw-act .arow--h > span:last-child { display: block; }
}
/* step 5: actors, groups, brands and the linked-bots grammar */
/* The Actors list's messages: a door to Explore, a number as the row shows it. */
.il-n.kw-door button { color: var(--text); }
.kw-grp { grid-template-columns: minmax(0, 1fr) 360px 96px 88px; }
.il-s a.dim { color: var(--text-3); }
.links .lb:not(.lb--sk) > * { grid-column: 1 / -1; }
.lb-h .il-bots { padding-top: 0; }
.lb-dec, .lb-what, .kw-pd, .kw-addb { padding-left: 22px; font-size: var(--fs-sm); color: var(--text-2); }
.lb-what .v { margin-left: 4px; }
.lb--off { opacity: .6; }
.kw-pd .lnk, .kw-nl .lnk, .kw-nlbox .lnk { margin-left: 0; }
.kw-pd .rvl-pop, .kw-nl .rvl-pop { min-width: 300px; }
.evi .ew { min-width: 0; color: var(--text); }
.evi .ew .v { margin-right: 4px; }
.evi-ctx .ek, .evi-ctx .ew { color: var(--text-2); }
.kw-see { margin-left: 6px; font-size: var(--fs-xs); color: var(--text-3); }
.kw-see a { color: var(--text-3); }
.kw-nl { display: inline-block; margin-left: 8px; font-size: var(--fs-xs); }
.kw-nlf { display: grid; gap: 6px; }
.kw-nlf + .kw-nlf { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.kw-offl li { display: flex; align-items: center; gap: 10px; padding: 3px 0; }
.kw-lh { margin-top: var(--s5); }
.kw-nlbox { margin-top: var(--s4); }
.kw-inl { display: inline; }
.kw-door { display: inline; }
.kw-door button { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; }
.kw-door button:hover { text-decoration: underline; text-underline-offset: 2px; }
.kw-scroll { overflow-x: auto; }
.kw-cap { text-transform: capitalize; }
.kw-pfnote { font-size: var(--fs-sm); }
.kw-psf { margin-top: var(--s3); gap: 8px; }
.kw-psin .lnk { margin-left: 8px; }
.kw-alias { display: block; }
.kw-pf + .kw-pf { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.kw-pf { display: grid; gap: 6px; }
.kw-hist li { padding: 4px 0; font-size: var(--fs-sm); }
/* weekday by hour: Madrid time or UTC, a radio pair without script */
.kw-hm .kw-hm-u { display: none; }
#tz-u:checked ~ .kw-hm-m { display: none; }
#tz-u:checked ~ .kw-hm-u { display: flex; }
.kw-tz label { display: inline-flex; align-items: center; height: 26px; padding: 0 8px; font-size: var(--fs-sm); color: var(--text-2); cursor: pointer; }
.kw-tz label + label { border-left: 1px solid var(--line-2); }
#tz-m:checked ~ .sect-h label[for="tz-m"], #tz-u:checked ~ .sect-h label[for="tz-u"] { background: var(--active); color: var(--text); }
#tz-m:focus-visible ~ .sect-h label[for="tz-m"], #tz-u:focus-visible ~ .sect-h label[for="tz-u"] { outline: 2px solid var(--accent); outline-offset: -3px; }
.kw-bmap select { max-width: 200px; }
.kw-scroll .tbl td:last-child, .detail .tbl td:last-child form { white-space: nowrap; }
.kw-ucf::first-letter, .kw-ucf > span::first-letter { text-transform: uppercase; }
.kw-ucf > span { display: inline-block; }
/* Explore rows first: the deferred parts' places while they load */
.sk--line { height: 12px; width: 46%; margin: 6px 0; }
.ans2 .sk--line { width: 28%; height: 10px; margin: 2px 0; }
.bpanel .sk--line { width: 72%; margin: 12px 0; }
.sk--chart { width: 100%; height: 64px; }
.sk--n { display: inline; background: none; color: var(--text-3); font-weight: 400; }
[aria-busy="true"] .sk, .sk[aria-busy="true"] { animation: sk-pulse 1.6s ease-in-out infinite; }
/* filter dropdowns: an option kept, alone (only) or left out (−) */
.dd > summary .dd-v { color: var(--text); font-weight: 500; }
.dd--set > summary { border-color: var(--accent); }
.dd-opts { min-width: 280px; max-height: 360px; overflow-y: auto; }
.dd-o { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px auto; align-items: center; gap: 4px; border-radius: var(--r-sm); }
.dd-o > :first-child { grid-column: 1; } .dd-o .c { grid-column: 2; } .dd-o .dd-x { grid-column: 3; justify-content: center; } .dd-o .dd-only { grid-column: 4; }
.dd-o:hover { background: var(--hover); }
.dd-o > span:first-child { display: block; padding: 7px 6px; font-size: var(--fs-meta); color: var(--text); white-space: nowrap; }
.dd-list .dd-o a:hover { background: none; }
.dd-o .c { padding: 0 4px; }
.dd-list .dd-o .dd-x, .dd-list .dd-o .dd-only { display: inline-flex; align-items: center; height: 24px; padding: 0 6px; border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--text-3); }
.dd-list .dd-o .dd-x:hover, .dd-list .dd-o .dd-only:hover { background: var(--active); color: var(--text); }
.dd-o--in > :first-child { font-weight: 500; }
.dd-o--in > :first-child::before { content: "✓ "; color: var(--accent); }
.dd-form { display: grid; gap: 6px; padding: 4px 6px; }
.dd-form label { display: flex; height: auto; gap: 8px; padding: 0; }
.dd-form label:hover { background: none; }
.side-health { margin-bottom: 6px; font-size: var(--fs-sm); }
.side-health:not(.side-health--live)::before { background: var(--text-3); }
.mv--hit { box-shadow: inset 0 -2px 0 var(--mark-bg); }
.dd-o--zero > :first-child, .dd-o--zero .c, .dd-o--out > :first-child { color: var(--text-3); }
@media (hover: hover) {
  .dd-list .dd-o .dd-x, .dd-list .dd-o .dd-only { opacity: 0; }
  .dd-o:hover .dd-x, .dd-o:hover .dd-only, .dd-o:focus-within .dd-x, .dd-o:focus-within .dd-only { opacity: 1; }
}
.kw-dr-open .ex-tabs { flex-wrap: wrap; row-gap: 8px; }
.hc.kw-hc { font-family: var(--font-sans); font-size: var(--fs-sm); line-height: 1.5; letter-spacing: normal; }
/* Feed: filter values as links with their counts; the fold's door a link-styled form; with the
   drawer open the list narrows to priority · item · when and the panel steps aside (the drawer
   takes its place); an item's own page */
.kw-fdd a { display: flex; justify-content: space-between; gap: 16px; }
.kw-fdd a[aria-current] { background: var(--active); }
.kw-fdd .c { color: var(--text-3); font-size: var(--fs-sm); }
.fold-f .kw-door button { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; }
.fold-f .kw-door button:hover { text-decoration: underline; text-underline-offset: 2px; }
.kw-dr-open .fd { grid-template-columns: minmax(0, 1fr); }
.kw-dr-open .fd-panel { display: none; }
.kw-dr-open .fd-list .fr-h, .kw-dr-open .fd-list .fr { grid-template-columns: 60px minmax(0, 1fr) 50px; }
.kw-dr-open .fd-list .fr-why, .kw-dr-open .fd-list .fr-h > span:nth-child(3) { display: none; }
.fd-ih { margin-top: var(--s2); font-size: var(--fs-sect); font-weight: 500; line-height: 1.3; color: var(--text-2); }
.fd-ip .dp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: var(--s3); }
.fd-ip .dp-row > form { display: inline-flex; gap: 6px; }
.fd-line { margin-top: var(--s4); font-size: var(--fs-base); line-height: 1.5; color: var(--text-2); }
.fd-line b { color: var(--text); font-weight: 500; }
.fd-ref { margin-top: var(--s3); font-size: var(--fs-sm); }
a[href^="/record/"], .vr-id .pv { white-space: nowrap; }
/* the records list: a record's label wraps under its R-number (its chat's
   tag on the next line) rather than run into the next column */
.vr-id.kw-rid .pv { white-space: normal; }
/* a value chip stays inside its column: the wrapper of its hover card
   takes the column's width, the value is cut with an ellipsis (the whole
   of it in the title) */
.kw-vw { display: inline-flex; max-width: 100%; min-width: 0; vertical-align: top; }
.kw-vw > .v { min-width: 0; max-width: 100%; overflow: hidden; }
.kw-vw > .v .v-x { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kw-vw > .v .v-k { flex: none; }
/* Explore: what the words name (one line of names under its sentence),
   and a search with no message, whose note is the answer */
.xp-names { margin: 2px 0 var(--s4); font-size: var(--fs-base); line-height: 1.6; }
.xp-names-t { color: var(--text); font-weight: 500; }
.xp-names-l { color: var(--text-2); }
.xp-names-l .sep { color: var(--text-3); }
.kw-xp > .kw-note { margin-top: var(--s4); font-size: var(--fs-lg); line-height: 1.5; max-width: 92ch; color: var(--text-2); }
.kw-xp > .kw-note .sep { padding: 0 4px; color: var(--text-3); }
/* A typed value no stored value is: its line leads the answer, smaller */
.kw-xp > .kw-novalue { font-size: var(--fs-meta); line-height: 18px; }
.kw-xp > .kw-novalue + .xp-ans > .answer { margin-top: var(--s1); }
/* The stored values containing it, first on Values: one row a value */
.kw-xc { margin: var(--s1) 0 var(--s6); }
.kw-xc-t { margin-bottom: var(--s2); font-size: var(--fs-meta); line-height: 18px; color: var(--text-2); }
.kw-xc-l { border-top: 1px solid var(--line); }
.kw-xc-l li { display: grid; grid-template-columns: minmax(0, 1fr) 96px 112px 72px; gap: var(--s3); align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.kw-xc-l a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: var(--fs-meta); }
.kw-xc-l .num { color: var(--text-2); }
/* A value page's search for the messages containing it: a link's look */
.kw-also { margin: calc(-1 * var(--s2)) 0 var(--s4); }
.kw-also button { padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-meta); color: var(--accent); cursor: pointer;
  text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 3px; }
.kw-also button:hover { color: var(--text); }
/* Credentials: the tab names the section; counts, as-of and "?" on one
   line; a dense table whose columns fit the page, chips clipped, a
   password, code or card a quiet mark in its own slot */
.kw-tabbed { padding-top: var(--s4); }
.kw-cred-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: var(--s3); }
.kw-cred-h > p { font-size: var(--fs-md); color: var(--text-2); }
.kw-cred-h .asof { font-size: var(--fs-sm); color: var(--text-3); }
.kw-credt { table-layout: fixed; }
.kw-credt th, .kw-credt td { padding-left: 8px; padding-right: 8px; }
.kw-credt td { overflow-wrap: anywhere; }
.kw-credt th .help-pop { right: auto; left: 0; white-space: normal; }
.kw-credt .cr-login { width: 22%; }
.kw-credt .cr-has { width: 92px; }
.kw-credt .cr-bot { width: 11%; }
.kw-credt .cr-date { width: 132px; }
.kw-credt .cr-rec { width: 64px; }
.kw-credt .kw-vw { margin: 2px 0; }
.kw-credt .mono { font-size: var(--fs-meta); }
.cr-g { display: inline-grid; grid-template-columns: repeat(3, 16px); column-gap: 6px; vertical-align: middle; color: var(--text-2); }
.cr-g .i { display: block; width: 15px; height: 15px; }
.cr-pw { grid-column: 1; }
.cr-code { grid-column: 2; }
.cr-card { grid-column: 3; }

/* A linked bot's evidence lines: a long date range and the count wrap in
   their own columns instead of printing over each other. */
.lb .evi .ed, .lb .evi .eo { white-space: normal; }
/* The URLs on a host, folded under its row's chip. */
.kw-fold { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin-top: 4px; }
/* A chat's transcript: a sender too long for its column ends in an
   ellipsis, never over the type beside it. */
.xc--page .xc-from { overflow: hidden; text-overflow: ellipsis; }
/* A chat's kind in its title row, with a capital as a sentence starts. */
.kw-kind { display: inline-block; }
.kw-kind::first-letter { text-transform: uppercase; }

/* A brand's per-day counts as a table, under its chart. */
.kw-daytbl { margin-top: 8px; }
.kw-daytbl summary.lnk { margin-left: 0; list-style: none; }
.kw-daytbl .tbl { margin-top: 6px; }
