/* Full-width KPI ledger with an in-context member detail panel. */
.kc{width:100%;min-width:0}
.kc-controls{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:0 0 16px;border-bottom:1px solid var(--line)}
.kc-controls .seg{gap:20px}
.kc-period-inputs{display:flex;align-items:center;gap:8px}
.kc-period-inputs .btn{padding:6px;min-width:26px}
.kc-period-inputs input{width:82px;padding:5px 7px}
.kc-period-inputs select,.kc-breakdown select{padding:5px 8px}
.kc-breakdown{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--sub)}
.kc-view-tabs{display:flex;gap:24px;margin:18px 0}
.kc-view-tabs button{font-size:14px;padding:5px 0}
.kc-person-picker label{display:flex;flex-direction:column;gap:5px;min-width:0}
.kc-person-picker label>span{font-size:11px;color:var(--sub)}
.kc-person-picker select{font:inherit;font-size:13px;min-height:34px;padding:5px 8px;border:1px solid var(--line2);background:var(--surface);color:var(--txt);max-width:100%}
.kc-person-picker{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:0 0 22px;max-width:750px}
.kc-person-picker label{width:320px;max-width:70%}
.kc-title{display:flex;gap:12px;align-items:baseline;margin:0 0 12px;min-height:26px}
.kc-title h2{font-size:17px;display:flex;gap:9px;align-items:baseline}
.kc-title h2 small{font-size:11px;font-weight:500;color:var(--sub)}
.kc-title>span{font-size:12px;color:var(--sub)}
.kc-title .kc-progress{margin-left:auto;color:var(--warn)}
.kc-table-scroll{width:100%;max-width:100%;overflow:auto;border-top:2px solid var(--txt);border-bottom:1px solid var(--line);max-height:calc(100vh - 340px);min-height:180px}
.kc-table{width:100%;min-width:var(--table-min-width);table-layout:fixed;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.kc-table .kc-name-col{width:142px}
.kc-table .kc-total-col{width:86px}
.kc-table .kc-average-col{width:74px}
.kc-table .kc-coverage-col{width:62px}
.kc-table .kc-date-col{width:88px}
.kc-table th,.kc-table td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:right;vertical-align:middle;background:var(--surface);line-height:1.45;overflow-wrap:anywhere}
.kc-table th{font-size:12px;font-weight:600}
.kc-table td{font-size:15px}
.kc-table thead th{position:sticky;top:0;z-index:2;background:var(--table-head);height:46px;white-space:nowrap}
.kc-table small{display:block;margin-top:3px;font-size:10px;color:var(--sub);font-weight:500;line-height:1.35}
.kc-table tbody th{white-space:normal}
.kc-table .kc-sticky{position:sticky;left:0;z-index:1;text-align:left;box-shadow:1px 0 var(--line)}
.kc-table thead .kc-sticky{z-index:3}
.kc-table tbody tr:hover>*{background:var(--hover)}
.kc-table .kc-total{font-weight:700;background:#f5f6f0}
.kc-table .kc-coverage{font-size:12px;color:var(--sub)}
.kc-table .kc-date{font-size:12px}
.kc-table .kc-future{color:var(--text3);background:#fafbf8}
.kc-table button{border:0;background:none;font:inherit;font-weight:600;color:inherit;padding:0;cursor:pointer}
.kc-table button:hover{text-decoration:underline;text-underline-offset:3px}
.kc-table button.kc-person-name{font-size:13px;letter-spacing:-.03em;text-align:left}
.kc-unavailable{color:var(--text3);font-weight:400}
.kc-table sup{font-size:10px;margin-left:2px;color:var(--warn)}
.kc-table small.kc-provisional{font-size:9px;color:var(--warn);white-space:nowrap}
.kc-table.kc-person-table tbody th{font-size:12px}
.kc-six-months .kc-table{min-width:600px}
.kc-six-months .kc-name-col{width:128px}
.kc-six-months .kc-total-col{width:74px}
.kc-six-months .kc-average-col{width:68px}
.kc-six-months .kc-coverage-col{width:60px}
.kc-six-months .kc-table th,.kc-six-months .kc-table td{padding-left:5px;padding-right:5px}
.kc-six-months .kc-table td{font-size:14px}
.kc-wide-months .kc-table{min-width:1050px}
.kc-table-notice{font-size:12px;margin:0 0 12px;color:var(--sub)}
.kc-other{margin-top:24px;max-width:580px}
.kc-other h3{font-size:14px;margin-bottom:10px}
.kc-other-table{border-collapse:collapse;width:100%;font-size:12px;font-variant-numeric:tabular-nums}
.kc-other-table th,.kc-other-table td{padding:9px 8px;border-bottom:1px solid var(--line);text-align:left}
.kc-other-table thead th{color:var(--sub);font-size:11px;font-weight:500}
.kc-other-table tbody th{font-weight:600;width:42%}
.kc-other-table td:nth-child(2){font-size:15px;font-weight:600;width:25%}
.kc-other-table td small{font-size:10px;margin-left:6px;font-weight:500;color:var(--sub)}
.kc-note{font-size:11px;color:var(--sub);margin-top:12px;line-height:1.8}
.kc-details{margin-top:16px;font-size:12px;color:var(--sub);max-width:700px}
.kc-details summary{cursor:pointer;padding:7px 0}
.kc-details p{margin:8px 0 14px;font-size:11px}
.kc-details dl>div{display:grid;grid-template-columns:145px 1fr;gap:16px;padding:8px 0;border-top:1px solid var(--line)}
.kc-details dt{color:var(--txt);font-weight:600}
.kc-details dd{margin:0}
.kc-details dd span{display:block;margin-top:4px}
.kc-empty,.kc-loading,.kc-error{padding:35px 12px;color:var(--sub);font-size:13px}
.kc-error p{margin-bottom:12px}
.kc-eval-link{display:flex;justify-content:flex-end;padding-bottom:20px}
@media(max-width:1120px){.kc-controls{gap:16px}.kc-title{max-width:100%}}
@media(max-width:760px){.kc-controls{gap:12px}.kc-period-inputs{gap:6px}.kc-controls .seg{gap:18px}.kc-person-picker{align-items:start;flex-wrap:wrap}.kc-person-picker label{width:100%;max-width:100%}.kc-table .kc-name-col{width:128px}.kc-details dl>div{grid-template-columns:1fr;gap:3px}.kc-title .kc-progress{font-size:10px}}
/* Column filters and their anchored dialogs. */
.kc-staff-table .kc-name-col{width:164px}
.kc-staff-table .kc-coverage-col{width:74px}
.kc-staff-table thead th{padding:10px 5px}
.kc-table-caption{caption-side:top;text-align:left;padding:14px 8px 12px;background:var(--surface);border-bottom:1px solid var(--line)}
.kc-caption-line{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.kc-caption-line>span{font-size:11px;color:var(--sub)}
.kc-caption-line .kc-progress{margin-left:auto;color:var(--warn)}
.kc-table .kc-metric-button{font-size:17px;font-weight:700;text-align:left}
.kc-metric-button span{font-size:13px;color:var(--sub)}
.kc-active-filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:9px}
.kc-table .kc-active-filters button{font-size:10px;font-weight:500;background:#f1f2ec;padding:3px 6px;white-space:normal;text-align:left;max-width:100%}
.kc-active-filters button span{margin-left:3px;color:var(--sub)}
.kc-table .kc-active-filters .kc-clear-all{background:none;color:var(--sub);padding:3px}
.kc-caption-line+.kc-table-notice,.kc-active-filters+.kc-table-notice{margin:10px 0 0;font-size:11px}
.kc-staff-heading{margin:0 0 7px}
.kc-attribute-filters{display:flex;gap:8px;align-items:center}
.kc-table .kc-filter-button{display:inline-flex;gap:4px;align-items:center;justify-content:flex-end;vertical-align:middle}
.kc-table .kc-attribute-filters button{font-size:10px;font-weight:500;gap:2px}
.kc-table .kc-filter-icon{padding:3px 0 3px 4px;vertical-align:middle;line-height:1}
.kc-table .is-filtered{color:#625811;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#c7b83e}
.kc-table .is-filtered svg{fill:#e7dfab}
.kc-table .kc-person-attributes{color:var(--sub);font-size:10px;line-height:1.5}
.kc-retired{font-size:9px;font-weight:400;margin-left:5px;color:var(--sub)}
.kc-six-months .kc-staff-table{min-width:660px}
.kc-six-months .kc-staff-table .kc-coverage-col{width:68px}
.kc-six-months .kc-staff-table thead th{font-size:11px}
.kc-filter-pop{position:fixed;inset:auto;margin:0;width:300px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;padding:16px;border:1px solid var(--line2);box-shadow:0 6px 24px #20251b18;background:var(--surface);color:var(--txt);font-family:inherit;font-size:13px}
.kc-filter-pop [hidden]{display:none!important}
.kc-pop-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.kc-pop-title strong{font-size:14px}
.kc-pop-title button,.kc-pop-actions>button:first-child:not(.btn){border:0;background:none;color:var(--sub);font:inherit;cursor:pointer;padding:3px}
.kc-pop-title button{font-size:20px;line-height:1}
.kc-pop-field{display:flex;flex-direction:column;gap:6px;font-size:11px;margin:12px 0;color:var(--sub)}
.kc-filter-pop input:not([type=checkbox]),.kc-filter-pop select{font-family:inherit;font-size:13px;width:100%;min-width:0;padding:7px 8px;border:1px solid var(--line2);background:var(--surface);color:var(--txt)}
.kc-check-list{max-height:250px;overflow:auto}
.kc-check-list label{display:flex;align-items:center;gap:8px;padding:8px 2px;font-size:12px}
.kc-check-list input{accent-color:var(--txt);width:14px;height:14px;flex-shrink:0}
.kc-pop-help{font-size:11px;color:var(--sub);line-height:1.6;margin:8px 0}
.kc-rookie-rule{font-size:11px;line-height:1.8;padding:10px 0;border-top:1px solid var(--line);color:var(--sub)}
.kc-rookie-rule strong{color:var(--txt);font-weight:500}
.kc-number-range{display:flex;gap:12px;margin:12px 0}
.kc-number-range label{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--sub)}
.kc-pop-actions{display:flex;justify-content:flex-end;align-items:center;gap:20px;border-top:1px solid var(--line);margin-top:14px;padding-top:12px}
.kc-pop-error{font-size:11px;color:var(--danger,#a43b32);line-height:1.6}
.kc-table button:focus-visible,.kc-filter-pop button:focus-visible{outline:2px solid var(--txt);outline-offset:3px}

/* Search, display modes and columns stay above the scrolling ledger. */
.kc button,.kc select,.kc input{font-family:inherit}
.kc button{cursor:pointer}
.kc button:focus-visible,.kc input:focus-visible,.kc select:focus-visible,.kc-table-scroll:focus-visible{outline:2px solid var(--txt);outline-offset:3px}
.kc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.kc-controls{gap:28px;border:0;padding-bottom:12px}
.kc-controls .seg{gap:8px}
.kc-controls .seg button{padding:7px 12px;border:1px solid transparent;font-size:13px}
.kc-controls .seg button.on{background:var(--txt);color:var(--surface);border-color:var(--txt)}
.kc-period-inputs input,.kc-period-inputs select,.kc-breakdown select{height:36px}
.kc-period-inputs .btn{height:36px;min-width:34px;border:1px solid var(--line)}
.kc-view-tabs{gap:26px;align-items:center;margin:0 0 18px;border-bottom:1px solid var(--line)}
.kc-view-tabs button{padding:10px 0 13px}
.kc-period-note{margin-left:auto;color:var(--sub);font-size:12px}
.kc-list-toolbar{margin-bottom:10px}
.kc-search-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.kc-search{display:flex;align-items:center;gap:9px;border:1px solid var(--line2);padding:0 10px;width:240px;min-height:36px;color:var(--sub)}
.kc-search input{border:0;background:transparent;width:100%;min-width:0;padding:7px 0;font-size:13px;color:var(--txt)}
.kc-search:focus-within{outline:2px solid var(--txt);outline-offset:1px}
.kc-search input:focus-visible{outline:0}
.kc-search-filters>select{font-size:12px;min-height:36px;padding:5px 28px 5px 10px;border:1px solid var(--line2);background:var(--surface);color:var(--txt)}
.kc-search-filters>.kc-filter-button{display:inline-flex;gap:8px;align-items:center;background:var(--surface);border:1px solid var(--line2);color:var(--sub);font-size:12px;min-height:36px;padding:6px 12px}
.kc-search-filters>.is-filtered{border-color:#a99a54;color:#625811;background:var(--attention)}
.kc-active-filters button{border:0;background:var(--selected);color:var(--sub);font-size:11px;padding:3px 7px;text-align:left}
.kc-active-filters .kc-clear-all{background:transparent}
.kc-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;min-height:34px}
.kc-result-count{display:flex;align-items:baseline;gap:6px;color:var(--sub);font-size:12px}
.kc-result-count strong{font-size:22px;font-weight:600;color:var(--txt)}
.kc-sort-note{margin-left:12px;font-size:11px}
.kc-column-groups{display:flex;gap:2px;background:var(--card2);padding:3px;border:1px solid var(--line)}
.kc-column-groups button{font-size:12px;font-weight:500;border:0;color:var(--sub);background:transparent;padding:5px 15px}
.kc-column-groups button.on{background:var(--surface);color:var(--txt);box-shadow:0 0 0 1px var(--line2)}
.kc-metric-select{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--sub)}
.kc-metric-select select{font:inherit;font-weight:600;color:var(--txt);background:var(--surface);border:1px solid var(--line2);padding:7px 10px;min-width:180px}
.kc-workspace{display:grid;grid-template-columns:minmax(0,1fr);align-items:start}
.kc-workspace.has-detail{grid-template-columns:minmax(0,1fr) 360px;gap:24px}
.kc-workspace #kc-results{min-width:0}
.kc-overview{min-width:var(--overview-width);table-layout:fixed}
.kc-overview th,.kc-overview td{padding:10px 14px;height:58px}
.kc-overview thead th{height:62px;padding-top:11px;padding-bottom:11px}
.kc-overview thead small{font-size:10px;font-weight:500}
.kc-overview thead th.kc-sticky{font-size:12px}
.kc-overview tbody th small{font-size:10px}
.kc-overview .kc-affiliation{text-align:left}
.kc-overview td.kc-affiliation{font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.kc-overview .kc-affiliation small{font-size:10px;line-height:1.4}
.kc-overview button.kc-person-name{font-size:14px;font-weight:600;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:23px}
.kc-overview .kc-value{font-size:18px;line-height:1.2;font-weight:600;white-space:nowrap}
.kc-overview .kc-record-note{font-size:10px;color:var(--sub);margin-top:3px}
.kc-metric-heading{display:flex;gap:3px;justify-content:flex-end;align-items:center}
.kc-metric-heading>button:first-child{white-space:normal;text-align:right;font-size:11px;line-height:1.5}
.kc-metric-heading .kc-filter-icon{padding:5px 0 5px 3px;flex:none}
.kc-sort-arrow{padding-left:4px;color:var(--sub);font-size:11px}
.kc-overview .kc-sorted{background:#f7f8f2}
.kc-overview thead .kc-sorted{background:#ecefe3}
.kc-table tbody tr.is-selected>*{background:var(--attention)}
.kc-table tbody tr.is-selected>.kc-sticky{box-shadow:inset 3px 0 #9b883a,1px 0 var(--line)}
.kc-table tbody tr:last-child>*{border-bottom:0}
.kc-table .kc-staff-heading{margin-bottom:4px}
.kc-table small.kc-provisional{font-size:9px;margin-top:2px}
.kc-side-detail{border-top:2px solid var(--txt);padding:12px 20px 20px;background:#f8f9f5;max-height:calc(100vh - 340px);overflow:auto;scrollbar-gutter:stable}
.kc-detail-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--sub)}
.kc-detail-top button{border:0;background:transparent;color:var(--sub);font-size:23px;padding:0 3px;line-height:1.3}
.kc-side-detail h2{font-size:23px;letter-spacing:-.04em;margin:9px 0 7px}
.kc-detail-affiliation{font-size:12px;color:var(--sub)}
.kc-detail-period{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:17px 0 5px;border-top:1px solid var(--line2);padding-top:12px;font-size:12px;color:var(--sub)}
.kc-detail-metrics>div{display:flex;justify-content:space-between;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}
.kc-detail-metrics dt{font-size:12px;font-weight:600}
.kc-detail-metrics small{display:block;font-size:10px;font-weight:500;color:var(--sub);margin-top:3px}
.kc-detail-metrics dd{text-align:right;flex:none;margin:0;font-variant-numeric:tabular-nums}
.kc-detail-metrics strong{font-size:21px;font-weight:600;line-height:1.2}
.kc-detail-metrics small.kc-provisional{color:var(--warn)}
.kc-detail-unit{font-size:10px;color:var(--sub);margin-left:5px}
.kc-detail-actions{display:grid;gap:8px;padding-top:18px}
.kc-detail-actions .btn{border:1px solid var(--line2);text-align:left;min-height:36px;background:var(--surface)}
.kc-detail-actions .btn:first-child{background:var(--txt);color:var(--surface);border-color:var(--txt)}
.kc-person-picker{max-width:none;margin-bottom:18px}
.kc-person-picker label{width:360px}
.kc-other{max-width:none}
.kc-other-table{max-width:none}
.kc-other-table th,.kc-other-table td{padding:12px 14px}
.kc-details{max-width:none}
.kc-details dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:36px}
.kc-table-caption{padding:10px 0}
.kc-table-caption .kc-table-notice{margin:0}
@media(min-width:1500px){.kc-workspace.has-detail{grid-template-columns:minmax(0,1fr) 390px;gap:28px}.kc-side-detail{padding-left:24px;padding-right:24px}.kc-workspace:not(.has-detail) .kc-person-table{min-width:700px}.kc-overview th,.kc-overview td{padding-left:18px;padding-right:18px}.kc-metric-heading>button:first-child{font-size:12px}}
@media(max-width:1100px){.kc-workspace.has-detail{grid-template-columns:minmax(0,1fr)}.kc-workspace.has-detail #kc-results{display:none}.kc-side-detail{position:static;width:100%;max-height:none;padding:20px 24px}.kc-period-note{font-size:11px}.kc-sort-note{display:none}}
@media(max-width:760px){.kc-controls{gap:12px}.kc-controls .seg{gap:2px}.kc-controls .seg button{padding:6px 10px}.kc-view-tabs{gap:21px;flex-wrap:wrap;margin-bottom:14px}.kc-view-tabs button{font-size:13px}.kc-period-note{width:100%;margin:-4px 0 10px}.kc-search{width:100%}.kc-search-filters{gap:7px}.kc-search-filters>.kc-filter-button{padding:6px 10px}.kc-search-filters>select{max-width:140px}.kc-list-heading{gap:10px}.kc-column-groups button{padding:5px 10px}.kc-metric-select select{min-width:0;max-width:210px}.kc-table-scroll{max-height:62vh;min-height:200px}.kc-details dl{grid-template-columns:1fr}.kc-detail-top button{min-width:36px;min-height:36px}.kc-note{font-size:10px}}

.kc-navigation{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);margin-bottom:18px}
.kc-navigation .kc-controls{padding:0 0 14px;gap:20px;flex:none}
.kc-navigation .kc-view-tabs{margin:0;border:0;gap:24px;flex-wrap:wrap;justify-content:flex-end}
.kc-navigation .kc-view-tabs button{padding:8px 0 17px;font-size:13px}
.kc-period-note:empty{display:none}
.kc-period-note:not(:empty){flex-basis:100%;margin:0 0 9px;text-align:right}
.kc-search-filters .kc-reset{background:none;border:0;color:var(--sub);padding:7px;font-size:11px}
.kc-metric-heading>button:first-child{white-space:nowrap}
.kc-overview .kc-affiliation>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kc-overview .kc-affiliation small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1250px){.kc-navigation{display:block}.kc-navigation .kc-view-tabs{justify-content:flex-start}.kc-navigation .kc-view-tabs button{padding-bottom:12px}.kc-period-note:not(:empty){flex-basis:auto;margin:0 0 8px auto}}
@media(max-width:760px){.kc-navigation .kc-controls{gap:12px;flex-wrap:wrap}.kc-navigation .kc-view-tabs{gap:20px}.kc-period-note:not(:empty){flex-basis:100%;text-align:left;margin:0 0 8px}}

.kc-detail-full{display:block;width:100%;background:var(--txt);color:var(--surface);border:1px solid var(--txt);margin:12px 0 4px;padding:8px 10px;text-align:left;font-size:12px}
.kc-person-picker>label{margin-right:auto}
/* Period rankings and recorded knowledge-test outcomes. */
.kc-ranking-controls{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin:0 0 20px}
.kc-ranking-controls label{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--sub)}
.kc-ranking-controls select{padding:7px 12px;font:inherit;font-weight:600;border:1px solid var(--line2);background:var(--surface);color:var(--txt)}
.kc-ranking-controls input{accent-color:var(--txt);width:16px;height:16px}
.kc-ranking-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}
.kc-ranking-title h2{font-size:19px;font-weight:600;line-height:1.4}
.kc-ranking-title h2 span{font-size:12px;color:var(--sub);font-weight:500;margin-left:14px}
.kc-ranking-title p,.kc-ranking-title>span{font-size:11px;color:var(--sub);margin-top:5px}
.kc-ranking-table{min-width:820px}
.kc-ranking-table th,.kc-ranking-table td{padding:14px 18px}
.kc-ranking-table .kc-rank-number{text-align:center;font-size:23px;font-weight:600;line-height:1.2;color:var(--sub)}
.kc-ranking-table tbody tr:nth-child(-n+3) .kc-rank-number{color:var(--txt)}
.kc-ranking-table .kc-rank-number small{display:inline;margin-left:3px;font-size:10px}
.kc-ranking-table td.kc-rank-score{padding-right:28px}
.kc-rank-score strong{font-size:24px;font-weight:600;letter-spacing:-.03em}
.kc-rank-score span{font-size:11px;color:var(--sub);margin-left:8px}
.kc-rank-track{height:4px;background:var(--line);margin-top:7px;overflow:hidden}
.kc-rank-track span{display:block;height:100%;background:#737d43;margin:0}
.kc-knowledge-table{min-width:680px}
.kc-knowledge-table th,.kc-knowledge-table td{text-align:left;padding:14px 20px}
.kc-exam-result{display:inline-block;white-space:nowrap;padding:4px 9px;font-size:11px;font-weight:600;background:var(--hover);color:var(--sub)}
.kc-exam-result.pass{background:#edf0dd;color:#414c18}
.kc-exam-result.fail{background:#f7e9e6;color:#904338}
.kc-exam-detail{margin-top:25px}
.kc-exam-detail h3{font-size:13px;font-weight:600;margin-bottom:8px}
.kc-exam-detail>div{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.kc-exam-detail strong{font-size:12px;font-weight:500}
.kc-exam-detail small{display:block;font-size:11px;color:var(--sub);margin-top:4px}
.kc-exam-detail p{font-size:12px;color:var(--sub);line-height:1.8}
.kc-navigation{display:block}
.kc-navigation .kc-view-tabs{justify-content:flex-start}
.kc-navigation .kc-view-tabs button{padding-bottom:12px}
.kc-period-note:not(:empty){flex-basis:auto;margin:0 0 8px auto}
@media(max-width:760px){.kc-ranking-controls{gap:12px;margin-bottom:16px}.kc-ranking-controls .kc-complete-label{width:100%;font-size:11px}.kc-ranking-title>span{display:none}.kc-navigation .kc-view-tabs{gap:16px}.kc-navigation .kc-view-tabs button{font-size:12px}.kc-ranking-table{min-width:700px}.kc-ranking-table th,.kc-ranking-table td{padding:12px}.kc-knowledge-table{min-width:560px}}

/* Compact ledger: context belongs in the member drawer, filters in column headers. */
.kc-navigation{margin-bottom:16px}
.kc-navigation .kc-controls{padding-bottom:8px}
.kc-navigation .kc-view-tabs button{min-height:40px;padding:8px 0 12px}
.kc-list-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-bottom:14px}
.kc-search-filters{gap:8px;flex:1}
.kc-search{width:196px}
.kc-list-heading{margin:0;gap:8px;justify-content:flex-start;flex-wrap:wrap}
.kc-list-toolbar>.kc-active-filters{flex-basis:100%;order:3;margin:0}
.kc-result-count{font-size:12px;white-space:nowrap;margin-left:4px}
.kc-metric-select{gap:0}
.kc-metric-select select{min-width:0;min-height:38px;font-size:13px}
.kc-complete-label{display:flex;align-items:center;gap:7px;min-height:38px;font-size:12px;white-space:nowrap;color:var(--sub)}
.kc-complete-label input{width:17px;height:17px;accent-color:var(--txt)}
.kc input:not([type=checkbox]),.kc select,.kc-search,.kc-search-filters>.kc-filter-button,.kc-period-inputs .btn{border-color:#8a9182}
.kc-column-groups button{min-height:32px}
.kc-table-scroll{max-height:calc(100dvh - 305px);min-height:220px}
.kc-table .kc-name-col{width:144px}
.kc-table .kc-store-col{width:108px}
.kc-table .kc-role-col{width:100px}
.kc-table .kc-rank-col{width:56px}
.kc-table th,.kc-table td{padding:8px 12px;height:48px}
.kc-table thead th{height:48px;padding:6px 10px}
.kc-table .kc-affiliation{text-align:left;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kc-table button.kc-person-name{font-size:14px;min-height:32px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a8ae9f}
.kc-table button.kc-person-name:hover{text-decoration-color:var(--txt)}
.kc-table .kc-value{font-size:17px;font-weight:600;white-space:nowrap}
.kc-table .kc-filter-button{min-height:32px;justify-content:flex-start;gap:6px}
.kc-table .kc-filter-icon{width:28px;height:32px;padding:6px;flex:none;display:inline-flex;align-items:center;justify-content:center;border-radius:2px}
.kc-filter-icon svg,.kc-filter-button svg{width:12px;height:12px}
.kc-table .kc-filter-icon:hover,.kc-table .kc-filter-button:hover{background:#e8ebdf;text-decoration:none}
.kc-metric-heading{gap:2px;align-items:center}
.kc-metric-heading>button:first-child{min-height:32px;font-size:12px;white-space:normal;min-width:0;display:inline-flex;align-items:center;justify-content:flex-end}
.kc-sort-arrow{flex:none}
.kc-overview .kc-sorted{background:#f4f6ed}
.kc-table .kc-coverage{font-size:14px}
.kc-ranking-table{min-width:870px}
.kc-ranking-table .kc-rank-number{font-size:20px;padding:8px;color:var(--sub)}
.kc-ranking-table td.kc-rank-score{padding:8px 16px}
.kc-rank-score strong{font-size:21px}
.kc-rank-track{margin-top:4px;height:3px}
.kc-knowledge-table{min-width:810px}
.kc-exam-result{font-size:12px}
.kc-side-detail{max-height:calc(100dvh - 305px)}
.kc-detail-top button{min-width:32px;min-height:32px}
.kc-detail-metrics small,.kc-detail-unit,.kc-exam-detail small{font-size:12px}
.kc-detail-top{font-size:12px}
.kc-details{margin-top:10px}
.kc-details summary{min-height:36px;display:list-item;padding:8px 0}
.kc-details p{font-size:12px}
.kc-pop-title button{min-width:32px;min-height:32px}
.kc-active-filters button{min-height:28px;font-size:12px}
.kc-mobile-store{display:none}
.kc-six-months .kc-staff-table{min-width:var(--table-min-width)}
/* Custom selection controls occupy the same positions as the ledger controls. */
.kc-period-inputs>.kc-select{width:170px}
.kc-search-filters>.kc-select{width:100px;flex:none}
.kc-metric-select>.kc-select{width:100%;min-width:0}
.kc-metric-select:has(#kc-metric){min-width:190px}
.kc-metric-select:has(#kc-aggregation){min-width:124px}
.kc-metric-select:has(#kc-knowledge-result){min-width:160px}
.kc-person-picker .kc-select,.kc-pop-field>.kc-select{width:100%}
.kc-breakdown>.kc-select{min-width:130px}
@media(max-width:1100px){.kc-side-detail{max-height:none}.kc-list-toolbar{gap:10px}.kc-search-filters{flex-basis:100%}}
@media(max-width:760px){
  .kc-navigation{margin-bottom:12px}
  .kc-navigation .kc-controls{gap:8px;padding-bottom:5px}
  .kc-controls .seg button{min-height:36px}
  .kc-period-inputs{width:100%;gap:5px}
  .kc-period-inputs input{width:68px}
  .kc-period-inputs select{flex:1;min-width:0}
  .kc-period-inputs>.kc-select{flex:1;min-width:0}
  .kc-navigation .kc-view-tabs{flex-wrap:nowrap;overflow-x:auto;gap:18px;white-space:nowrap;scrollbar-width:thin}
  .kc-navigation .kc-view-tabs button{flex:none;font-size:13px;min-height:44px}
  .kc-period-note:not(:empty){flex:none;margin:0;font-size:12px}
  .kc-search-filters{flex-wrap:nowrap;gap:6px}
  .kc-search{width:auto;flex:1;min-width:70px;padding:0 7px}
  .kc-search input{font-size:13px}
  .kc-search-filters>select{max-width:81px;padding-left:7px;padding-right:19px}
  .kc-search-filters>.kc-select{width:81px}
  .kc-search-filters>.kc-filter-button{padding:5px 8px}
  .kc-search-filters .kc-reset{font-size:12px;padding:5px}
  .kc-result-count{display:none}
  .kc-list-heading{width:100%;gap:8px}
  .kc-mobile-store{display:block;margin-left:auto}
  .kc-mobile-store button{display:flex;align-items:center;gap:6px;border:1px solid #8a9182;background:var(--surface);color:var(--sub);min-height:38px;padding:5px 8px;font-size:12px}
  .kc-list-heading .kc-metric-select:first-child{flex:1;min-width:0}
  .kc-list-heading:has(#kc-aggregation) .kc-metric-select:first-child{flex:0 0 calc(100% - 128px);min-width:0}
  .kc-list-heading:has(#kc-aggregation) .kc-metric-select:nth-child(2){flex:0 0 120px;min-width:120px}
  .kc-metric-select select{max-width:none;width:100%;font-size:13px}
  .kc-list-toolbar{margin-bottom:10px}
  .kc-table-scroll{max-height:calc(100dvh - 378px);min-height:260px}
  .kc-table .kc-name-col{width:116px}
  .kc-table .kc-store,.kc-table .kc-store-col{display:none}
  .kc-table .kc-role-col{width:88px}
  .kc-table th,.kc-table td{padding:7px 8px;height:46px}
  .kc-table thead th{padding:6px}
  .kc-table button.kc-person-name{font-size:13px}
  .kc-overview{min-width:calc(var(--overview-width) - 148px)}
  .kc-metric-heading>button:first-child{font-size:12px}
  .kc-table .kc-filter-icon{width:26px;height:32px;padding:6px}
  .kc-table .kc-rank-col{width:40px}
  .kc-ranking-table{min-width:684px}
  .kc-ranking-table .kc-score-col{width:140px}
  .kc-ranking-table thead th{white-space:normal}
  .kc-ranking-table .kc-sticky{left:40px}
  .kc-ranking-table .kc-rank-number,.kc-ranking-table thead th:first-child{position:sticky;left:0;z-index:1;background:var(--surface)}
  .kc-ranking-table thead th:first-child{z-index:3;background:var(--table-head)}
  .kc-knowledge-table{min-width:650px}
  .kc-side-detail{padding:16px}
}

/* Ledger states: muted gaps, unbroken figures, readable empty results and quiet reloads. */
.kc .kc-unavailable{color:var(--sub);font-weight:400}
.kc-table tbody th{color:var(--txt)}
.kc-overview td,.kc-staff-table td,.kc-person-table td,.kc-ranking-table td{white-space:nowrap}
.kc-wide-months .kc-table,.kc-six-months .kc-table{min-width:var(--table-min-width)}
.kc-table-scroll .kc-table .kc-total-col{width:96px}
.kc-table-scroll .kc-table .kc-average-col{width:100px}
.kc-table-scroll .kc-staff-table .kc-average-col{width:124px}
.kc-table-scroll .kc-table .kc-coverage-col{width:96px}
.kc-table .kc-role-col{width:136px}
.kc-table .kc-future{color:var(--sub)}
.kc-table td.kc-empty{height:auto;padding:28px 0;text-align:left;white-space:normal}
.kc-empty-body{position:sticky;left:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:min(360px,calc(100vw - 48px));padding:0 12px}
.kc-empty-body p{margin:0;font-size:13px;color:var(--sub)}
.kc-table .kc-empty-body button{min-height:32px;font-size:14px;font-weight:700;color:var(--txt);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--txt)}
.kc-workspace.is-loading{cursor:progress}
.kc-workspace.is-loading>#kc-results,.kc-workspace.is-loading>.kc-side-detail{pointer-events:none;animation:kc-dim .12s ease-out .15s forwards}
@keyframes kc-dim{to{opacity:.6}}
@media(prefers-reduced-motion:reduce){.kc-workspace.is-loading>#kc-results,.kc-workspace.is-loading>.kc-side-detail{animation-duration:0s}}

/* Wide ledgers: the right edge fades while columns remain; month tables keep 合計 pinned instead. */
#kc-results{position:relative}
#kc-results.kc-more-right::after{content:"";position:absolute;z-index:4;top:var(--kc-edge-top,0);right:var(--kc-edge-right,0);width:24px;height:var(--kc-edge-height,0);pointer-events:none;background:linear-gradient(to left,var(--table-head) 3px,rgb(243 245 239 / 0)) 0 0/100% var(--kc-edge-head,0px) no-repeat,linear-gradient(to left,var(--surface) 3px,rgb(255 255 255 / 0)) 0 var(--kc-edge-head,0px)/100% 100% no-repeat}
#kc-results:has(.kc-staff-table)::after{content:none}
.kc-staff-table td.kc-total,.kc-staff-table thead th:has([data-sort="total"]){position:sticky;right:0;z-index:1;box-shadow:-1px 0 var(--line)}
.kc-staff-table thead th:has([data-sort="total"]){z-index:3}
#kc-results.kc-more-right .kc-staff-table td.kc-total::before,#kc-results.kc-more-right .kc-staff-table thead th:has([data-sort="total"])::before{content:"";position:absolute;top:0;bottom:0;right:100%;width:8px;pointer-events:none;background:linear-gradient(to left,rgb(34 37 31 / .10),rgb(34 37 31 / 0))}

/* Headers: labels end on the figures' right edge; the sorted and filtered columns read in ink. */
.kc-table thead th{padding-left:12px;padding-right:12px}
.kc-table thead small{font-size:11px}
.kc-ranking-table thead th:first-child{text-align:center}
.kc-ranking-table thead th:nth-child(3){padding-right:16px}
.kc-metric-heading>button[data-sort]{display:inline-flex;align-items:center;justify-content:flex-end;min-width:0;min-height:32px;font-size:12px;line-height:1.5;text-align:right;white-space:nowrap}
.kc-staff-table thead th:not(.kc-affiliation) .kc-filter-button{flex-direction:row-reverse}
.kc-table thead th[aria-sort=ascending],.kc-table thead th[aria-sort=descending],.kc-table thead th[aria-sort=ascending] button,.kc-table thead th[aria-sort=descending] button{color:var(--txt)}
.kc-table thead th:has(.is-filtered) button{color:var(--txt);font-weight:700}
@media(min-width:761px){.kc-overview{min-width:calc(var(--overview-width) + 36px)}}

/* Flat markers: text tabs, square swatches and plain text instead of filled boxes.
   Selection and active filters use ink; yellow stays for items that need action and the primary button. */
.kc-controls .seg button.on{background:none;color:var(--txt);border-color:var(--txt);font-weight:700;box-shadow:none}
.kc-navigation .kc-view-tabs button{font-size:14px}
.kc-column-groups{gap:18px;padding:0;border:0;background:none}
.kc-column-groups button{min-height:36px;padding:6px 0;font-size:12px;font-weight:600;color:var(--sub);background:none;box-shadow:inset 0 -2px 0 transparent}
.kc-column-groups button:hover{color:var(--txt)}
.kc-column-groups button.on{color:var(--txt);font-weight:700;background:none;box-shadow:inset 0 -2px 0 var(--txt)}
.kc-exam-result{display:inline-flex;align-items:center;gap:6px;padding:0;background:none;color:var(--sub);font-size:13px;font-weight:700}
.kc-exam-result::before{content:"";flex:none;width:6px;height:6px;background:currentColor}
.kc-exam-result.pass{color:var(--ok);background:none}
.kc-exam-result.fail{color:var(--danger);background:none}
.kc-exam-result.unknown::before{background:none;box-shadow:inset 0 0 0 1px currentColor}
.kc-exam-detail:not(:has(>div)){display:none}
.kc-knowledge-table col:nth-child(3){width:220px}
.kc-knowledge-table .kc-role-col{width:auto}
.kc-knowledge-table td{font-size:14px}
.kc-list-toolbar>.kc-active-filters{gap:4px 18px}
.kc-active-filters button{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:2px 0;border:0;background:none;color:var(--txt);font-size:12px;font-weight:500}
.kc-active-filters button::before{content:"";flex:none;width:6px;height:6px;background:var(--txt)}
.kc-active-filters button span{margin-left:2px;color:var(--sub);font-family:-apple-system,"Hiragino Sans","Noto Sans JP",sans-serif;font-size:14px;line-height:1}
.kc-active-filters button:hover{text-decoration:underline;text-underline-offset:3px}
.kc-active-filters .kc-reset{margin-left:6px;color:var(--sub);text-decoration:underline;text-underline-offset:3px;text-decoration-color:#a8ae9f}
.kc-active-filters .kc-reset::before{content:none}
.kc-active-filters .kc-reset:hover{color:var(--txt);text-decoration-color:var(--txt)}
.kc-table tbody tr.is-selected>*{background:var(--surface)}
.kc-overview tbody tr.is-selected>.kc-sorted{background:#f4f6ed}
.kc-table tbody tr.is-selected>.kc-total{background:#f5f6f0}
.kc-table tbody tr.is-selected>.kc-future{background:#fafbf8}
.kc-table tbody tr.is-selected>.kc-sticky{box-shadow:inset 3px 0 var(--txt),1px 0 var(--line)}
.kc-table .is-filtered{color:var(--txt);text-decoration:none}
.kc-table .is-filtered svg,.kc-search-filters>.is-filtered svg,.kc-mobile-store .is-filtered svg{fill:currentColor}
.kc-search-filters>.is-filtered,.kc-mobile-store .is-filtered{border-color:var(--txt);color:var(--txt);background:var(--surface)}

/* Toolbar: magnifier-only search, one focus ring, controls on one text line. */
.kc-search input:focus,.kc-filter-pop .kc-pop-search input:focus{box-shadow:none}
.kc input[type=search]::-webkit-search-cancel-button,.kc-filter-pop input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;width:14px;height:14px;cursor:pointer;background:center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2362685c' stroke-width='1.6'%3E%3Cpath d='M2 2l8 8M10 2 2 10'/%3E%3C/svg%3E")}
.kc-search-filters>.kc-filter-button{color:var(--txt);font-size:13px;font-weight:500;line-height:1}
.kc .kc-select-value{line-height:1}
/* kpi-select.css loads after this file; the extra parent keeps menus square like every other control. */
.kc .kc-select .kc-select-trigger,.kc-filter-pop .kc-select .kc-select-trigger,.kc-select .kc-select-menu,.kc-select .kc-select-option{border-radius:0}
.kc-search-filters>.kc-result-count{align-items:center;gap:0;min-height:36px;line-height:1.4}
.kc-mobile-store button{line-height:1}

/* Filter dialogs: search, square checks and the yellow primary button. */
.kc-filter-pop .kc-pop-search{display:flex;align-items:center;gap:8px;min-height:36px;margin:12px 0;padding:0 8px;border:1px solid #8a9182;color:var(--sub)}
.kc-filter-pop .kc-pop-search input{min-height:34px;padding:6px 0;border:0;background:transparent}
.kc-filter-pop .kc-pop-search input:focus-visible{outline:0}
.kc-filter-pop .kc-pop-search:focus-within{outline:2px solid var(--txt);outline-offset:1px}
.kc-pop-actions .btn.primary{min-height:36px}
.kc-pop-title button,.kc-detail-top button{font-family:-apple-system,"Hiragino Sans","Noto Sans JP",sans-serif;font-weight:400}
.kc-check-list input[type=checkbox],.kc-complete-label input[type=checkbox]{-webkit-appearance:none;appearance:none;flex:none;width:16px;height:16px;margin:0;border:1px solid #8a9182;border-radius:0;background:var(--surface) center/12px no-repeat;cursor:pointer}
.kc-check-list input[type=checkbox]:checked,.kc-complete-label input[type=checkbox]:checked{border-color:var(--txt);background-color:var(--txt);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5.2'/%3E%3C/svg%3E")}
.kc-check-list input[type=checkbox]:focus-visible,.kc-complete-label input[type=checkbox]:focus-visible{outline:2px solid var(--txt);outline-offset:2px}
@media(forced-colors:active){.kc-check-list input[type=checkbox],.kc-complete-label input[type=checkbox]{-webkit-appearance:auto;appearance:auto}}

/* Member detail: one white surface beside the ledger, text links, compact key-value table. */
.kc-workspace.has-detail>.kc-side-detail{background:var(--surface);border-left:1px solid var(--line);padding-left:24px}
.kc-side-detail .kc-detail-full,.kc-detail-actions .btn,.kc-detail-actions .btn:first-child{display:inline-flex;align-items:center;width:auto;min-height:36px;margin:8px 0 0;padding:6px 0;border:0;background:none;color:var(--txt);font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a8ae9f}
.kc-side-detail .kc-detail-full{margin:2px 0 6px}
.kc-side-detail .kc-detail-full:hover,.kc-detail-actions .btn:hover{text-decoration-color:var(--txt)}
.kc-detail-actions{padding-top:10px;justify-items:start}
.kc-person-table .kc-name-col{width:220px}
.kc-person-table tbody th{white-space:nowrap}
.kc-table.kc-person-table tbody th small{display:inline;margin:0 0 0 2px;font-size:12px}
.kc-table.kc-person-table tbody th small::before{content:"（"}
.kc-table.kc-person-table tbody th small::after{content:"）"}
.kc-other-table{width:auto;min-width:min(560px,100%);border-top:2px solid var(--txt)}
.kc-other-table tbody th{background:var(--surface);color:var(--txt)}
.kc-other-table tbody th,.kc-other-table thead th:first-child{width:220px}
.kc-other-table td:nth-child(2),.kc-other-table thead th:nth-child(2){width:150px;text-align:right;padding-right:40px}
.kc-other-table tbody tr:last-child>*{border-bottom:1px solid var(--line)}

@media(max-width:1100px){.kc-workspace.has-detail>.kc-side-detail{border-left:0;padding-left:0;padding-right:0}}
@media(max-width:760px){
  .kc-navigation .kc-view-tabs{flex-wrap:wrap;overflow-x:visible;justify-content:space-between;gap:0 10px}
  .kc-navigation .kc-view-tabs button{font-size:12px}
  .kc-navigation .kc-view-tabs .kc-period-note:not(:empty){order:-1;flex-basis:100%;margin:0 0 2px;text-align:left}
  .kc-column-groups{gap:16px}
  .kc-column-groups button{padding:6px 0}
  .kc-table thead th{padding-left:8px;padding-right:8px}
  .kc-table .kc-role-col{width:88px}
  .kc-person-table .kc-name-col{width:150px}
  .kc-ranking-table td.kc-rank-score,.kc-ranking-table thead th:nth-child(3){padding-right:36px}
  .kc-search-filters>.kc-select .kc-select-trigger{gap:6px}
  .kc-search-filters>.kc-result-count{display:flex;flex:none;justify-content:flex-end;width:44px;margin-left:0}
  .kc-count-note{display:none}
  .kc-table-scroll .kc-staff-table{min-width:0}
  .kc-table-scroll .kc-staff-table .kc-month-col{width:70px}
  .kc-table-scroll .kc-staff-table .kc-total-col{width:84px}
  .kc-mobile-store button{min-height:36px;color:var(--txt);font-size:13px;font-weight:500}
  .kc-active-filters button{min-height:32px}
  .kc-detail-top button,.kc-pop-title button{min-width:44px;min-height:44px}
  .kc-other-table td:nth-child(2),.kc-other-table thead th:nth-child(2){padding-right:16px}
}
