.wk-page{display:flex;flex-direction:column;gap:12px;min-width:0;color:#36536e}.wk-page .fleet-panel{min-width:0}.shell .wk-tools{flex-wrap:wrap;overflow:visible;justify-content:flex-start}.shell .wk-tools .search{flex:1 1 210px;max-width:330px}.wk-tools select,.wk-tools input[type=date]{height:var(--fleet-action-height);border:1px solid #d7e0ef;border-radius:6px;background:white;color:#344575;font:inherit;font-size:12px;padding:3px 8px;min-width:0}.wk-tools select{width:280px;max-width:100%}.wk-date{display:flex;align-items:center;gap:6px;font-size:12px}.wk-scroll{overflow:auto;max-height:calc(100dvh - 255px)}.wk-table{min-width:1100px!important}.wk-table th{position:sticky;top:0;z-index:3!important}.wk-table small{display:block;font-size:11px;line-height:1.4;color:#788da3;margin-top:3px}.wk-table strong{font-weight:600}.wk-table tbody tr.wk-different td:first-child{box-shadow:inset 3px 0 #ee4b60}.wk-table tbody tr.wk-missing td:first-child{box-shadow:inset 3px 0 #dea13c}.wk-table .icon-btn{width:28px;height:28px}.wk-badge{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#657d93}.wk-badge:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}.wk-badge.danger{color:#cd364b}.wk-badge.warm{color:#9a691e}.wk-badge.valid{color:#168568}.wk-badge.blue{color:#386a93}.wk-footer{gap:8px}.wk-footnote{font-size:12px;line-height:1.5;color:#71839a;margin:0}.wk-empty{padding:40px!important;text-align:center}.wk-alert{padding:12px;background:#fff6e8;color:#906c37;font-size:13px}.wk-evidence{width:100%;border-collapse:collapse;font-size:13px}.wk-evidence th,.wk-evidence td{padding:9px 12px;border:1px solid #e5edf4;text-align:left}.wk-evidence th{background:#f2f5f9}.wk-evidence small{display:block}.wk-evidence .wk-conflict td{background:#fff0f2;color:#b33248}.wk-evidence .wk-incomplete td{background:#fff7e8}.wk-dialog .wk-footnote{margin:10px 0}.wk-dialog .wk-scroll{max-height:360px}
.wk-dialog{max-width:1050px;width:calc(100vw - 40px);max-height:90dvh;border:1px solid #dce6ef;border-radius:12px;padding:24px;color:#36536e;overflow:auto}.wk-dialog::backdrop{background:#16334c66}.wk-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.wk-dialog h2{font-size:22px;margin:0}.wk-dialog h3{font-size:16px}.wk-dialog dl{display:grid;grid-template-columns:180px 1fr;gap:8px 20px;font-size:14px}.wk-dialog dt{color:#7c91a6}.wk-dialog dd{margin:0;overflow-wrap:anywhere}.wk-dialog footer{text-align:right;margin-top:20px}.wk-dialog .wk-scroll{max-height:320px}
@media(max-width:700px){.wk-tools select{width:100%}.shell .wk-tools .search{max-width:none;flex-basis:100%}.wk-scroll{max-height:60dvh}.wk-dialog dl{grid-template-columns:1fr}.wk-dialog{padding:16px}}

/* Reuse the Drivers register's typography, row heights, rules and controls. */
.shell .wk-cards .wk-card-table th:nth-child(6){width:8%}
.shell .wk-cards .wk-card-table td:nth-child(6){text-align:center}
.shell .wk-cards .wk-card-table th:last-child{width:13%}
.shell .wk-cards .wk-card-table td:last-child .btn{width:auto;min-width:0}
.shell .wk-cards .wk-footer{flex:none}
@media(max-width:599px){.shell .wk-cards .wk-card-table th:nth-child(6),.shell .wk-cards .wk-card-table td:nth-child(6){display:none}.shell .wk-cards .wk-card-table th:last-child{width:28%}}

/* Source coverage and audit states stay separate from the card/FBU relation. */
.shell .wk-filterbar .filters{flex-wrap:wrap}
.shell #workshop-root .wk-tools .search{flex-basis:180px;max-width:250px}
#workshop-root .wk-tools select{width:220px}
.shell .wk-tools .wk-onec-button{margin-left:auto;white-space:nowrap}
.wk-onec-status{padding:9px 14px;border-top:1px solid #e5edf4;border-bottom:1px solid #e5edf4;background:#f7fafc;font-size:12px;color:#71839a}
.wk-onec-summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px}
.wk-onec-summary .wk-badge{font-weight:500}
.wk-covered{color:#168568}.wk-not-covered{color:#71839a}
.wk-source-error{margin:5px 0 0;color:#9a691e;line-height:1.5}
.wk-coverage{margin-top:5px}.wk-coverage summary{cursor:pointer;width:fit-content}.wk-coverage ul{margin:7px 0;padding-left:18px;display:flex;flex-wrap:wrap;gap:5px 28px;max-height:120px;overflow:auto}
.wk-onec-record{border-top:1px solid #e5edf4;margin-top:16px;padding-top:2px}
.shell .wk-table{table-layout:fixed;white-space:normal;width:100%}
.shell .wk-table :is(th,td){min-width:0;white-space:normal;overflow-wrap:anywhere;padding-inline:10px}
.shell .wk-table th:nth-child(1){width:8%}.shell .wk-table th:nth-child(2){width:8%}.shell .wk-table th:nth-child(3){width:8%}.shell .wk-table th:nth-child(4){width:14%}.shell .wk-table th:nth-child(5){width:14%}.shell .wk-table th:nth-child(6){width:10%}.shell .wk-table th:nth-child(7){width:13%}.shell .wk-table th:nth-child(8){width:10%}.shell .wk-table th:nth-child(9){width:11%}.shell .wk-table th:nth-child(10){width:4%}
.wk-table .wk-badge{align-items:baseline}.wk-table .wk-badge:before{flex-shrink:0}
.shell .wk-table td:last-child{padding-inline:4px;text-align:center}
.wk-dialog .wk-evidence td{overflow-wrap:anywhere}
@media(max-width:700px){.shell #workshop-root .wk-tools .search{max-width:none;flex-basis:100%}#workshop-root .wk-tools select{width:100%}.shell .wk-tools .wk-onec-button{margin-left:0}.wk-onec-summary{gap:5px 12px}.wk-onec-status{padding:9px 12px}}

/* Transport register: identical header, cell rhythm and restrained status fills. */
.shell .wk-table th{font-size:10px;font-weight:500;color:#000;text-align:center;padding:8px 10px;line-height:1.4;background:#f3f6f9;border-right:1px solid #e9edf2}
.shell .wk-table td{font-size:11px;padding:8px 10px;height:48px;line-height:1.45;border-right:1px solid #edf1f6;border-bottom:1px solid #e8edf3;vertical-align:middle}
.shell .wk-table small{font-size:10px;line-height:1.35;margin-top:2px}
.shell .wk-table .wk-badge{font-size:11px;line-height:1.35}
.shell .wk-table tbody tr.wk-ok td{background:#eaf7f1}
.shell .wk-table tbody tr.wk-ok:hover td{background:#dff2e9}
.shell .wk-table tbody tr.wk-ok td:first-child{box-shadow:inset 3px 0 #19a47f}

.wk-parameters{border:1px solid #e5edf4;border-radius:6px;margin:10px 0;padding:10px 12px;font-size:13px}.wk-parameters summary{cursor:pointer;font-weight:500}.wk-parameters dl{grid-template-columns:230px 1fr}@media(max-width:700px){.wk-parameters dl{grid-template-columns:1fr}}

/* Size source tables from the remaining viewport, including wrapped filters.
   In short windows the page scrolls instead of clipping the footer. */
.shell .content:has(> :is(#workshop-root, #fbu-root)) {
  overflow: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}
.shell :is(#workshop-root, #fbu-root) {
  flex: 1 0 auto;
  height: 100%;
  min-height: min-content;
}
.shell :is(#workshop-root, #fbu-root) > .fleet-panel {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-height: 0;
}
.shell :is(#workshop-root, #fbu-root) > .fleet-panel > :not(.wk-scroll) {
  flex-shrink: 0;
}
.shell :is(#workshop-root, #fbu-root) > .fleet-panel > .wk-scroll {
  flex: 1 1 160px;
  min-height: 160px;
  max-height: none;
}
.shell :is(#workshop-root, #fbu-root) > :not(.fleet-panel) {
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .shell :is(#workshop-root, #fbu-root) .wk-tools {
    gap: 8px;
  }
  .shell :is(#workshop-root, #fbu-root) .wk-tools select {
    width: 100%;
  }
  .shell :is(#workshop-root, #fbu-root) .wk-footer {
    flex-wrap: wrap;
  }
}

/* Exact vehicle identity with a differing plate requires manual review. */
.wk-plate-review{display:block;background:#fff1d6;color:#946019;padding:6px 8px;border-radius:4px}
.wk-plate-source{display:flex;align-items:center;gap:6px;white-space:nowrap}
.wk-plate-source+.wk-plate-source{margin-top:3px}
.wk-table .wk-plate-source .wk-plate-review{display:inline-block;padding:2px 5px;font-weight:600;border-radius:3px}
.wk-table .wk-plate-source small{display:inline;margin:0}
