* { box-sizing: border-box; }
body { margin: 0; color: #172538; background: #f4f6f9; font: 16px/1.5 system-ui, sans-serif; height: 100dvh; display: flex; flex-direction: column; }
p { margin: 4px 0; color: #526078; }
a { color: #174da2; text-underline-offset: 3px; }
form { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 8px 12px; overflow-x: auto; white-space: nowrap; }
label { display: flex; flex: 0 0 auto; }
.search-field { flex: 1 0 180px; }
.search-field input { width: 100%; }
input, select, button { font: inherit; font-size: 13px; background: white; color: inherit; border: 1px solid #aab5c5; border-radius: 4px; padding: 5px 8px; height: 32px; }
select { max-width: 230px; }
form a { font-size: 13px; }
button { cursor: pointer; }
output { font-size: 13px; color: #526078; }
main { flex: 1; min-height: 0; overflow: auto; background: white; border-top: 1px solid #c9d1dd; }
table { border-collapse: separate; border-spacing: 0; width: 100%; text-align: left; }
th { position: sticky; top: 0; z-index: 1; background: #203249; color: white; font-size: 13px; white-space: nowrap; }
th, td { padding: 12px 16px; border-bottom: 1px solid #dde3eb; vertical-align: top; }
td { font-size: 15px; overflow-wrap: anywhere; }
td:nth-child(1) { min-width: 290px; font-weight: bold; }
td:nth-child(2) { min-width: 230px; }
td:nth-child(3) { min-width: 115px; }
td:nth-child(4) { min-width: 370px; white-space: pre-wrap; }
td:nth-child(5), td:nth-child(6) { white-space: nowrap; }
td:nth-child(7), td:nth-child(8) { min-width: 85px; }
td:nth-child(9) { min-width: 280px; }
tbody tr:nth-child(even) { background: #f5f7fa; }
tbody tr:hover { background: #eaf1fb; }
#message { padding: 24px 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:focus-visible { outline: 3px solid #347be2; outline-offset: 2px; }

/* A readable projection of the inventory for the presentation overlay. */
.proposal-context { display: none; }
.presentation form { flex-wrap: wrap; white-space: normal; padding: 12px 16px; }
.presentation :is(input, select, button) { font-size: 18px; height: 42px; }
.presentation output, .presentation form a { font-size: 16px; }
.presentation table { table-layout: fixed; }
.presentation :is(th, td) { min-width: 0; padding: 16px 20px; }
.presentation th { font-size: 20px; }
.presentation td { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.4; }
.presentation :is(th, td):nth-child(1) { width: 36%; }
.presentation :is(th, td):nth-child(3) { width: 16%; }
.presentation :is(th, td):nth-child(4) { width: 48%; }
.presentation :is(th, td):nth-child(2),
.presentation :is(th, td):nth-child(n+5) { display: none; }
.presentation .proposal-context { display: block; margin-top: 12px; font-size: 16px; font-weight: normal; color: #526078; }
