/* Ops Phase 1 (ops_build only): flag chips (text + color, never color alone), dashboard table/cards, card photos. */
.ops-chip { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: .85rem; font-weight: 600; border: 1px solid transparent; white-space: normal; overflow-wrap: anywhere; }
.ops-ok { background: #dff3e4; color: #0d4d1f; border-color: #8fcb9f; }
.ops-noexp { background: #e6eef8; color: #12355b; border-color: #9db7d6; }
.ops-d60 { background: #fff4c2; color: #4d3b00; border-color: #e0c75a; }
.ops-d30 { background: #ffe0c2; color: #5c2800; border-color: #e5a066; }
.ops-expired { background: #fbd5d5; color: #6b0000; border-color: #d97a7a; }
.ops-missing { background: #e9e9e9; color: #222; border-color: #9a9a9a; border-style: dashed; }
.ops-nodocs { background: #f3e8fb; color: #3d1258; border-color: #b991d4; border-style: dashed; }
.ops-reg { display: block; font-size: .82rem; margin-top: 2px; }
.ops-reg-not_found, .ops-reg-error, .ops-reg-warn { color: #8a0000; font-weight: 700; }
.ops-tablewrap { overflow-x: auto; max-width: 100%; }
.ops-table { table-layout: fixed; width: 100%; font-size: .9rem; }
.ops-table th[scope=row] { width: 11%; text-align: left; overflow-wrap: anywhere; }
.ops-table th, .ops-table td { vertical-align: top; overflow-wrap: anywhere; padding: 6px 4px; }
.ops-selfrow { outline: 3px solid #12355b; outline-offset: -3px; }
.ops-legend .ops-chip { margin: 2px; }
.ops-counts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.ops-dl { display: grid; grid-template-columns: minmax(7rem, 40%) 1fr; gap: 4px 10px; margin: 0; }
.ops-dl dd { margin: 0; overflow-wrap: anywhere; }
.ops-cardlist { list-style: none; padding: 0; }
.ops-cardimg { max-width: 100%; height: auto; display: block; margin-top: 6px; border: 1px solid #999; }
.ops-unconf { color: #6b0000; }
.ops-onblist { list-style: none; padding: 0; }
@media (min-width: 700px) and (max-width: 1099px) { .ops-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } }
/* links: explicit high-contrast color + 48px touch targets */
.ops .pm-main a:not(.pm-btn), .ops .pm-sample a { color: #0b3d91; }
.ops-table tbody th { background: #fff; padding: 6px 4px; }
.ops-table th a, .ops-subcard h2 a, .ops-src a { display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; }
/* wide dashboard: use the PM page width even if the pm-mode class is not on <body> yet */
.wrap:has(.ops) { max-width: 1400px; }
@media (min-width: 1100px) { .ops-table { font-size: .85rem; } .ops-table th[scope=col] { font-size: .8rem; } }
.ops-table thead th:nth-child(1) { width: 12%; }
.ops-table thead th:nth-child(2) { width: 16%; }
.ops-table thead th:last-child { width: 8%; }
.ops-unverified { display: inline-block; margin-left: 4px; padding: 1px 6px; border: 1px dashed #6b0000; border-radius: 10px; color: #6b0000; font-size: .8rem; font-weight: 600; }   /* license date not confirmed by the issuer */
.ops-matchunconf, .ops-needsemail { display: inline-block; margin-left: 4px; padding: 1px 6px; border: 1px dashed #5a3d00; border-radius: 10px; color: #5a3d00; font-size: .8rem; font-weight: 600; }   /* markers, not flag levels */
.ops-hold, .ops-stale { display: inline-block; margin-left: 4px; padding: 1px 6px; border: 1px dashed #3d3d6b; border-radius: 10px; color: #2e2e5c; font-size: .8rem; font-weight: 600; }
