/* Disclosure tracker, redesign 20260925d.
   Colours, type and spacing follow the Kelvin Law design system. Everything is
   scoped to .kt or body.tracker-page, so the shared site menu keeps its own styles. */

/* Page frame */
html { scroll-padding-top: calc(var(--header, 86px) + 8px); }
body.tracker-page { margin: 0; background: #0a0a0a; color: #f5f5f0; font-family: "Space Mono", ui-monospace, Menlo, monospace; font-size: 14px; line-height: 1.6; }
.tracker-page:has(.kt-dialog[open]) { overflow: hidden; }
.tracker-page .site-nav { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.tracker-page .site-nav .logo { line-height: 1.6; }
.tracker-page .site-nav .nav-links { margin: 0; padding: 0; }
.tracker-page .site-nav .nav-search input { height: auto; }
.tracker-page .skip-link { position: fixed; top: 10px; left: 10px; z-index: 10002; padding: 10px 14px; background: #f5f5f0; color: #0a0a0a; font: 700 13px/20px "Space Mono", ui-monospace, monospace; text-decoration: none; transform: translateY(-160%); }
.tracker-page .skip-link:focus { transform: none; }
.tracker-page > footer { box-sizing: border-box; max-width: 1264px; margin: 0 auto; padding: 20px 32px 40px; color: #9a9a9a; font-size: 12px; line-height: 18px; }
.tracker-page > footer span { display: block; padding-top: 20px; border-top: 1px solid #2a2a27; }

/* Tokens */
.kt {
  --ground: #0a0a0a; --raised: #141413; --line: #2a2a27; --line-strong: #6a6a65;
  --ink: #f5f5f0; --cream: #e8e4dc; --gray: #9a9a9a;
  --forest: #2d5a27; --moss: #4a7c43; --moss-light: #8fbf86;
  --display: "Playfair Display", Georgia, serif; --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --label-w: 320px; --cell-w: 25px; --gap-w: 10px; --row-h: 21px; --head-h: 72px; --ring: 16px; --sq: 10px;
  box-sizing: border-box; max-width: 1264px; margin: 0 auto; overflow-x: clip;
  padding: calc(var(--header, 86px) + 24px) 32px 32px;
  color: var(--ink); font-family: var(--mono); font-size: 14px; line-height: 1.6;
}
.kt *, .kt *::before, .kt *::after { box-sizing: border-box; }
.kt [hidden] { display: none !important; }
.kt a { color: var(--moss-light); text-underline-offset: 4px; }
.kt button { margin: 0; font-family: var(--mono); -webkit-tap-highlight-color: transparent; }
.kt button:focus-visible, .kt a:focus-visible { outline: 2px solid var(--moss-light); outline-offset: 2px; }
.kt-name:focus, .kt-board:focus { outline: none; }
.kt-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Layout. Wide screens: text column on the left, table on the right. */
.kt-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "board" "extra"; row-gap: 28px; }
.kt-intro { grid-area: intro; min-width: 0; }
.kt-board { grid-area: board; position: relative; min-width: 0; }
.kt-extra { grid-area: extra; min-width: 0; }
.kt-side { display: none; }
@media (min-width: 1264px) {
  .kt-layout { grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "intro board" "extra board"; column-gap: 48px; row-gap: 0; align-items: start; }
  .kt-side { grid-area: 1 / 1 / 3 / 2; position: sticky; top: calc(var(--header, 86px) + 12px); min-width: 0; max-height: calc(100vh - var(--header, 86px) - 24px); overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 24px 0; }
  .kt-side .kt-panel-head { position: sticky; top: 0; z-index: 1; padding-bottom: 4px; background: var(--ground); }
  .kt.is-panel .kt-side { display: block; }
  .kt.is-panel .kt-extra, .kt.is-panel .kt-intro-b, .kt.is-panel .kt-intro-a > :not(.kt-title) { display: none; }
  .kt.is-panel .kt-title { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Tablets and small laptops: a short intro band, the table, then the legend and chart side by side. */
@media (min-width: 700px) and (max-width: 1263px) {
  .kt-layout { row-gap: 32px; }
  .kt-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 48px; align-items: end; }
  .kt-extra { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .kt-extra .kt-legend { margin-top: 6px; grid-template-columns: max-content; }
  .kt-extra .kt-chart-wrap { margin-top: 0; padding-top: 0; border-top: 0; }
}

/* Intro */
.kt-eyebrow { margin: 0; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss-light); }
.kt-title { margin: 10px 0 0; font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 44px; letter-spacing: -0.015em; color: var(--ink); }
.kt-lede { margin: 12px 0 0; font-size: 14px; line-height: 22px; color: var(--cream); }
.kt-facts { margin: 10px 0 0; font-size: 12px; line-height: 18px; color: var(--gray); }
.kt-facts span { display: block; }
.kt-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 12px 0 0; font-size: 12px; line-height: 18px; }
.kt-textbtn { padding: 0; border: 0; background: none; color: var(--moss-light); font-size: 12px; line-height: 18px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
/* Every link and button in the intro is at least 24 pixels tall. */
.kt-links a, .kt-links .kt-textbtn { display: inline-flex; align-items: center; min-height: 24px; }
.kt-actions { display: flex; margin-top: 24px; }
.kt-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 24px; border: 1px solid var(--line-strong); border-radius: 0; background: transparent; color: var(--ink); font-size: 13px; line-height: 20px; letter-spacing: 0.04em; text-align: left; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.kt-btn:hover { border-color: var(--ink); }
.kt-btn.is-on { background: var(--forest); border-color: var(--forest); color: #f5f5f0; }
.kt-btn.is-on:hover { background: var(--moss); border-color: var(--moss); }
.kt-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.kt-summary { margin: 8px 0 0; font-size: 12px; line-height: 18px; color: var(--gray); }

/* Legend and change chart */
.kt-legend { display: grid; grid-template-columns: max-content max-content; gap: 6px 24px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 18px; color: var(--cream); }
.kt-legend li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.kt-key { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: var(--ring); height: var(--ring); border: 1.5px solid transparent; }
.kt-key.is-bar { align-items: flex-end; }
.kt-key.is-bar i { display: block; width: 6px; height: 12px; background: var(--moss); }
.kt-chart-wrap { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.kt-h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 30px; color: var(--ink); }
.kt-note { margin: 4px 0 12px; font-size: 12px; line-height: 18px; color: var(--gray); }
.kt-chart { margin: 0; padding: 0; list-style: none; }
.kt-chart li { display: grid; grid-template-columns: 84px 110px 1px 110px; align-items: center; height: 17px; transition: background-color 0.2s; }
.kt-chart li.is-hot { background: var(--raised); }
.kt-chart .lbl { padding-right: 8px; font-size: 11px; line-height: 17px; color: var(--cream); text-align: right; white-space: nowrap; }
.kt-chart .arm { display: flex; align-items: center; gap: 6px; height: 17px; }
.kt-chart .arm-less { justify-content: flex-end; }
.kt-chart .axis { height: 17px; background: var(--line-strong); }
.kt-chart .bar { height: 8px; }
.kt-chart .arm-less .bar { background: var(--cream); }
.kt-chart .arm-more .bar { background: var(--moss-light); }
.kt-chart .num { font-size: 11px; line-height: 17px; color: var(--cream); }

/* Table */
.kt-status { margin: 0; font-size: 13px; line-height: 20px; color: var(--gray); }
.kt-foot { margin: 10px 0 0; font-size: 12px; line-height: 18px; color: var(--gray); }
.kt-foot + .kt-foot { margin-top: 4px; }
.kt-table { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: calc(var(--label-w) + 18 * var(--cell-w) + 5 * var(--gap-w)); font-size: 12px; line-height: 1; }
.kt-table col.kt-cl { width: var(--label-w); }
.kt-table col.kt-cc { width: var(--cell-w); }
.kt-table col.kt-cc.g { width: calc(var(--cell-w) + var(--gap-w)); }
.kt-table th, .kt-table td { padding: 0; border: 0; font-weight: 400; text-align: left; vertical-align: middle; transition: background-color 0.2s; }
.kt-table .g { padding-left: var(--gap-w); }
.kt-groups th, .kt-groups td { height: 18px; vertical-align: bottom; }
.kt-groups .gl { display: flex; justify-content: flex-start; overflow: visible; border-bottom: 1px solid var(--moss); font-size: 9px; line-height: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--moss-light); white-space: nowrap; }
.kt-labels th, .kt-labels td { position: relative; height: var(--head-h); vertical-align: bottom; }
.kt-colsort { position: absolute; left: 8px; bottom: 4px; padding: 0; border: 0; background: none; color: var(--cream); font-size: 11px; line-height: 14px; white-space: nowrap; transform-origin: 0 100%; transform: rotate(-60deg); cursor: pointer; transition: color 0.2s; }
.kt-labels th.g .kt-colsort { left: calc(var(--gap-w) + 8px); }
.kt-colsort:hover, .kt-colsort.is-col-hot { color: var(--ink); }
.kt-colsort.is-sorted { color: var(--moss-light); }
/* Phones show the column names as plain labels and sort with the menu above the table. */
.kt-collabel { display: none; position: absolute; left: 8px; bottom: 4px; color: var(--cream); font-size: 11px; line-height: 14px; white-space: nowrap; transform-origin: 0 100%; transform: rotate(-60deg); pointer-events: none; transition: color 0.2s; }
.kt-labels th.g .kt-collabel { left: calc(var(--gap-w) + 8px); }
.kt-collabel.is-col-hot { color: var(--ink); }
.kt-collabel.is-sorted, .kt-namelabel.is-sorted { color: var(--moss-light); }
.kt-namelabel { display: none; padding: 0 0 3px; color: var(--cream); font-size: 10px; line-height: 12px; }
.kt-sortbar { display: none; }
.kt-totals th, .kt-totals td { height: 38px; vertical-align: bottom; }
.kt-namesort { padding: 0 0 4px; border: 0; background: none; color: var(--cream); font-size: 11px; line-height: 14px; letter-spacing: 0.04em; cursor: pointer; }
.kt-namesort.is-sorted { color: var(--moss-light); }
.kt-namesort .short { display: none; }
.kt-tot { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; width: var(--cell-w); height: 38px; padding-bottom: 3px; transition: background-color 0.2s; }
.kt-tot .n { font-size: 10px; line-height: 12px; color: var(--gray); }
.kt-tot .bar { display: block; width: 8px; height: max(2px, calc(20px * var(--share, 0))); background: var(--moss); }
.kt-table tbody th, .kt-table tbody td { height: var(--row-h); }
.kt-cobtn { display: flex; align-items: center; gap: 6px; width: 100%; height: var(--row-h); padding: 0 4px 0 0; border: 0; background: none; color: var(--cream); font-size: 12px; line-height: 1; text-align: left; white-space: nowrap; cursor: pointer; transition: opacity 0.2s, color 0.2s; }
.kt-coname { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.kt-cotick { flex-shrink: 0; font-size: 11px; color: var(--gray); }
.kt-cotick b { font-weight: 400; }
.kt-cell { display: flex; align-items: center; justify-content: center; width: var(--cell-w); height: var(--row-h); padding: 0; border: 0; background: none; cursor: pointer; transition: opacity 0.2s, background-color 0.2s; }
.kt-cell:focus-visible, .kt-cobtn:focus-visible { outline-color: var(--ink); }
.kt-cell:focus-visible { outline-offset: -1px; }
.kt-ring { display: flex; align-items: center; justify-content: center; width: var(--ring); height: var(--ring); border: 1.5px solid transparent; }
.kt-sq { display: block; width: var(--sq); height: var(--sq); border: 1px solid var(--line-strong); }
.v2 .kt-sq, .kt-sq.v2 { background: var(--moss-light); border-color: var(--moss-light); }
.v1 .kt-sq, .kt-sq.v1 { border-color: var(--moss); background: linear-gradient(to top, var(--moss) 50%, transparent 50%); }
.vn .kt-sq { display: none; }
.is-more .kt-ring, .kt-key.is-more { border-color: var(--moss-light); }
.is-less .kt-ring, .kt-key.is-less { border: 1.5px dashed var(--cream); }
.kt-table tr.is-hot > th, .kt-table tr.is-hot > td, .kt-table tr.is-sel > th, .kt-table tr.is-sel > td, .kt-cell.is-col-hot, .kt-tot.is-col-hot { background: var(--raised); }
.kt-table tr.is-sel .kt-cobtn { color: var(--moss-light); }
.kt.is-changes .kt-cell:not(.is-more):not(.is-less) { opacity: 0.16; }
.kt.is-changes tbody tr:not(.has-change) .kt-cobtn { color: var(--gray); }
.kt.is-changes tbody tr:not(.has-change) .kt-cotick { color: var(--gray); }

/* Result card: beside the pointer with a mouse, docked to the bottom on touch screens. */
.kt-card { position: absolute; top: 0; left: 0; z-index: 5; width: 250px; padding: 12px 14px; border: 1px solid var(--line-strong); background: var(--raised); pointer-events: none; }
.kt-card.is-docked { position: fixed; top: auto; left: 12px; right: 12px; bottom: 12px; width: auto; max-width: 480px; z-index: 9000; pointer-events: auto; }
.kt-card .v { margin: 0; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--ink); }
.kt-card .f { margin: 4px 0 0; font-size: 12px; line-height: 17px; color: var(--cream); }
.kt-card .t { margin: 0; font-size: 12px; line-height: 17px; color: var(--gray); }
.kt-card .c { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 12px; line-height: 17px; color: var(--cream); }
.kt-card .k { margin: 8px 0 0; font-size: 11px; line-height: 16px; color: var(--gray); }
.kt-card .acts { display: flex; gap: 24px; margin-top: 10px; }
.kt-card .acts .kt-textbtn { min-height: 32px; }
.kt-card .acts .kt-textbtn.is-plain { color: var(--cream); }
.kt-mark { display: inline-block; flex-shrink: 0; width: 10px; height: 10px; border: 1.5px solid var(--moss-light); }
.kt-mark.is-less { border-style: dashed; border-color: var(--cream); }

/* Company and method panel: in the left column on wide screens, a dialog elsewhere. */
.kt-dialog { position: fixed; inset: 0 0 0 auto; box-sizing: border-box; width: min(440px, 100%); max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0 24px 40px; border: 0; border-left: 1px solid var(--line); background: var(--ground); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.kt-dialog::backdrop { background: rgba(10, 10, 10, 0.72); }
.kt-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kt-panel-head .kt-btn { min-height: 40px; padding: 9px 18px; }
.kt-side .kt-eyebrow, .kt-dialog .kt-eyebrow { margin-top: 20px; }
.kt-dialog .kt-panel-head { position: sticky; top: 0; z-index: 1; padding: 16px 0 12px; background: var(--ground); }
.kt-dialog .kt-panel-head .kt-eyebrow { margin-top: 0; }
.kt-dialog .kt-name { margin-top: 4px; }
.kt-name { margin: 8px 0 0; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 36px; color: var(--ink); }
.kt-meta { margin: 8px 0 0; font-size: 12px; line-height: 18px; color: var(--gray); }
.kt-arrowlink { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 13px; line-height: 20px; text-decoration: none; }
.kt-arrowlink:hover span { text-decoration: underline; }
.kt-arrowlink svg { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.125em; }
.kt-tagrow { margin-top: 12px; }
.kt-tag { display: inline-block; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11px; line-height: 20px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); }
.kt-group { margin-top: 18px; }
.kt-group h3 { margin: 0; padding-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 10px; line-height: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss-light); }
.kt-item { padding: 5px 0; border-bottom: 1px solid var(--line); }
.kt-item.is-focus { background: var(--raised); box-shadow: -8px 0 0 var(--raised), 8px 0 0 var(--raised); }
.kt-item .row { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 18px; }
.kt-item .it { color: var(--cream); }
.kt-item .iv { color: var(--ink); text-align: right; }
.kt-item .ic { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 11px; line-height: 16px; color: var(--gray); }
.kt-item .ik { margin: 2px 0 0; font-size: 11px; line-height: 16px; color: var(--gray); }
.kt-notes { margin-top: 16px; }
.kt-notes p, .kt-method p { margin: 0 0 10px; font-size: 12px; line-height: 19px; color: var(--cream); }
.kt-method { margin-top: 12px; }
.kt-mail { display: inline-block; margin-top: 8px; font-size: 12px; line-height: 18px; }

/* Laptop screens of different heights: keep all 30 rows on one screen. */
@media (min-width: 1264px) and (max-height: 879px) { .kt { --row-h: 19px; padding-top: calc(var(--header, 86px) + 12px); } }
@media (min-width: 1264px) and (max-height: 801px) { .kt { --row-h: 18px; } }
@media (min-width: 1264px) and (max-height: 771px) { .kt { --row-h: 17px; } }
@media (min-width: 1264px) and (max-height: 741px) { .kt { --row-h: 16px; } }
@media (min-width: 1264px) and (max-height: 711px) { .kt { --row-h: 14px; --ring: 13px; --sq: 8px; } }

/* Tablets */
@media (min-width: 700px) and (max-width: 899px) {
  .kt { --label-w: clamp(120px, calc(100vw - 584px), 320px); }
}

/* Phones */
@media (max-width: 699px) {
  .kt { --label-w: 44px; --cell-w: 16px; --gap-w: 4px; --row-h: 16px; --head-h: 58px; --ring: 13px; --sq: 8px; padding: calc(var(--header, 76px) + 16px) 16px 24px; }
  .kt-layout { row-gap: 16px; }
  .kt-eyebrow { font-size: 11px; }
  .kt-title { margin-top: 6px; font-size: 34px; line-height: 40px; }
  .kt-lede { display: none; }
  .kt:not(.is-changes) .kt-summary { display: none; }
  .kt-facts { margin-top: 6px; }
  .kt-facts .kt-ver { display: none; }
  .kt-actions { flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
  .kt-links { margin-top: 10px; }
  .kt-btn { padding: 11px 16px; }
  .kt-groups { display: none; }
  .kt-colsort, .kt-namesort { display: none; }
  .kt-collabel { display: block; left: 4px; bottom: 2px; font-size: 10px; line-height: 12px; transform: rotate(-64deg); }
  .kt-labels th.g .kt-collabel { left: calc(var(--gap-w) + 4px); }
  .kt-namelabel { display: inline-block; }
  .kt-sortbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; width: 100%; }
  .kt-sortlabel { font-size: 12px; line-height: 18px; color: var(--gray); }
  .kt-sortsel { flex: 1 1 150px; min-width: 0; min-height: 44px; margin: 0; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 0; background-color: var(--ground); color: var(--ink); font: 13px/20px var(--mono); color-scheme: dark; }
  .kt-sortsel:focus-visible { outline: 2px solid var(--moss-light); outline-offset: 2px; }
  .kt-sortrev { flex: 0 0 auto; }
  .kt-totals th, .kt-totals td, .kt-tot { height: 26px; }
  .kt-tot { gap: 1px; padding-bottom: 2px; }
  .kt-tot .n { font-size: 9px; line-height: 10px; }
  .kt-tot .bar { width: 6px; height: max(2px, calc(13px * var(--share, 0))); }
  .kt-namesort { padding-bottom: 3px; font-size: 10px; line-height: 12px; letter-spacing: 0; }
  .kt-namesort .long { display: none; }
  .kt-namesort .short { display: inline; }
  .kt-coname { display: none; }
  .kt-cobtn { gap: 0; padding: 0; }
  .kt-cotick { font-size: 11px; color: var(--cream); }
  .kt-cotick b { color: var(--gray); }
  .kt-foot { font-size: 11px; line-height: 16px; }
  .kt-chart li { grid-template-columns: 84px 100px 1px 100px; }
  .kt-chart .lbl, .kt-chart .num { font-size: 10px; }
  .kt-legend { gap: 6px 16px; font-size: 11px; line-height: 16px; }
  .kt-dialog { width: 100%; padding: 0 16px 40px; border-left: 0; }
  .kt-name { font-size: 28px; line-height: 34px; }
}
@media (max-width: 389px) {
  .kt { --cell-w: 14px; --gap-w: 3px; --ring: 12px; --sq: 8px; }
  .kt-collabel { left: 3px; }
  .kt-labels th.g .kt-collabel { left: calc(var(--gap-w) + 3px); }
}
@media (max-width: 359px) {
  .kt { --label-w: 38px; --cell-w: 13px; --gap-w: 2px; --ring: 11px; --sq: 7px; --head-h: 54px; }
  .kt-collabel { left: 2px; font-size: 9px; line-height: 11px; }
  .kt-labels th.g .kt-collabel { left: calc(var(--gap-w) + 2px); }
  .kt-cotick { font-size: 10px; }
  .kt-tot .n { font-size: 8px; line-height: 9px; }
  .kt-chart li { grid-template-columns: 76px 92px 1px 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .kt *, .kt *::before, .kt *::after { transition: none !important; }
}
@media print {
  .tracker-page .site-nav { display: none; }
  .kt { padding-top: 0; }
  .kt-card, .kt-actions, .kt-dialog { display: none !important; }
}
