/* The top of the Patching page (design study D9) and the shared compliance ring. Existing tokens only. */
.pv-tabs { display: flex; gap: 6px; margin: 0 0 16px; flex-wrap: wrap; }
.pv-tabs .tab { padding: 7px 14px; border-radius: var(--pill); border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.pv-tabs .tab.on { background: var(--accent-dim); color: var(--accent); border-color: transparent; }
.pv-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.pv-hero { display: flex; gap: 22px; align-items: center; margin: 0; }
.pv-hero .ring { flex: none; }
.pv-bar-wrap { flex: 1; min-width: 0; }
.pv-bar { display: flex; height: 12px; border-radius: var(--pill); overflow: hidden; background: rgba(255,255,255,.06); }
.pv-bar i { display: block; height: 100%; }
.pv-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.pv-legend b { color: var(--text); font-variant-numeric: tabular-nums; margin-left: 2px; }
.pv-sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.pv-ok { background: var(--ok); } .pv-warn { background: var(--high); } .pv-bad { background: var(--critical); }
.pv-cyan { background: var(--dex-cyan); } .pv-grey { background: rgba(255,255,255,.22); }
.pv-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pv-tile { text-align: left; cursor: pointer; font: inherit; color: inherit; margin: 0; }
.pv-tile .n { font-size: 32px; }
.pv-tile.pv-hot-bad .n { color: var(--critical); }
.pv-tile.pv-hot-warn .n { color: var(--high); }
.pv-lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.pv-lists > .panel { margin: 0 0 16px; }
table.pv-table td { vertical-align: middle; }
.pv-sub { font-size: 12px; margin-top: 2px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the update titles are long: they shorten with an ellipsis (the full title is in the hover) so the list never scrolls sideways */
.pv-lists table.pv-table th, .pv-lists table.pv-table td { padding-left: 8px; padding-right: 8px; }
.pv-fail { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pv-fail:first-of-type { border-top: 0; }
.pv-fail-main { min-width: 0; flex: 1; line-height: 1.5; }
.pv-fail-act { gap: 8px; }
@media (max-width: 1100px) { .pv-top, .pv-lists { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .pv-hero { flex-direction: column; align-items: stretch; } .pv-hero .ring { align-self: center; } }
