/* Keep physical selections aligned and readable in every entry form. */
.formgrid>.field:has(.item-choice-table){grid-column:1/-1;min-width:0}
.item-choice-table{width:100%;max-width:100%;margin:.65rem 0 1rem;overflow-x:auto;border:1px solid var(--border,#dce2e8);border-radius:.5rem}
.item-choice-table table{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed;margin:0;font-size:.9rem}
.item-choice-table th,.item-choice-table td{padding:.7rem .8rem;text-align:left;vertical-align:middle;border-bottom:1px solid var(--border,#dce2e8);overflow-wrap:anywhere;white-space:normal}
.item-choice-table thead th{font-weight:600;background:var(--surface-alt,#f3f5f7)}
.item-choice-table .item-choice-check{width:4.5rem;text-align:center}
.item-choice-table input[type=checkbox]{display:inline-block;width:1.2rem!important;height:1.2rem!important;min-height:0!important;padding:0!important;margin:0!important;vertical-align:middle;accent-color:var(--accent,#315f95)}
.item-choice-table td label{display:block;margin:0!important;font-weight:500;cursor:pointer;line-height:1.5}
.item-choice-table td:last-child{color:var(--muted,#657180);font-size:.85rem;line-height:1.5}
.item-choice-table .item-choice-group th{background:var(--surface-alt,#f3f5f7);font-size:.8rem;font-weight:600}
.item-choice-table tr:has(input:checked){background:color-mix(in srgb,var(--accent,#315f95) 8%,transparent)}
.item-choice-table tr:focus-within{outline:2px solid var(--accent,#315f95);outline-offset:-2px}
.item-choice-table tbody:last-child tr:last-child>*{border-bottom:0}
@media(max-width:600px){.item-choice-table th,.item-choice-table td{padding:.6rem .45rem}.item-choice-table table{font-size:.85rem}.item-choice-table .item-choice-check{width:3.1rem}.item-choice-table td:last-child{font-size:.78rem}}
