/* 2ao — dashboard "ภาพรวมต่อรายการ" (pages/dash_overview.js), admin pack field + "สูงกว่าปกติ" tag. Link from index.html and admin.html. */
.ov-sort { background: none; border: 0; padding: 2px 0; font: inherit; font-weight: 700; color: inherit; cursor: pointer; white-space: nowrap; }
.ov-sort:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ov-card .dash-tools { margin: 8px 0; }
.ov-head { margin-bottom: 8px; align-items: flex-end; }
.ov-tbl td.num, .ov-tbl th.num { white-space: nowrap; }
.t10-pack-row { display: block; margin-top: 6px; line-height: 1.3; }
td .t10-pack-row input.t10-in.t10-in-pack { display: block; width: 100%; min-width: 4.5em; box-sizing: border-box; margin-top: 2px; }
.t10-pack-hint { margin-top: 2px; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
.t2b-qtywarn { margin-left: 4px; white-space: nowrap; }
/* 2aq: folded overview card (PCU dashboard) · heat map รายการทั้งหมด (admin network) */
.ov-fold > .ov-sum { cursor: pointer; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; list-style: revert; }
.ov-fold > .ov-sum h3 { display: inline; margin: 0; }
.ov-fold[open] > .ov-sum { margin-bottom: 6px; }
.ov-fold > .ov-sum:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ov-more-row { margin-top: 8px; }
.hm-head { margin-bottom: 8px; }
.hm-tbl .hm-none { white-space: nowrap; }
.hm-part { font-size: 0.7rem; }

/* 2as: per-round ledger (expand row in ภาพรวมต่อรายการ) + "not entered yet" tags */
.ov-led-btn { margin-left: 6px; padding: 0 6px; min-height: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text); font-size: 0.85em; cursor: pointer; }
.ov-led-row > td { background: var(--surface-2, var(--surface)); padding: 8px 12px; }
.led-tbl { max-width: 520px; margin: 0 0 4px; }
.led-tag { display: inline-block; padding: 0 6px; border-radius: 6px; font-size: 0.85em; border: 1px solid var(--line); color: var(--muted, inherit); white-space: nowrap; }
.led-tag.led-miss { border-color: #d9a400; color: #8a6400; background: color-mix(in srgb, #ffd54a 18%, transparent); }
.led-tag.led-warn { border-color: #c62828; color: #c62828; }
.led-notice .led-list { margin: 0 0 4px; padding-left: 18px; }
@media (prefers-color-scheme: dark) { .led-tag.led-miss { color: #ffd54a; } .led-tag.led-warn { color: #ff8a80; border-color: #ff8a80; } }
