.ov-filter, .ov-actions, .ov-state, .ov-sectionhead, .ov-participant-head { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.ov-filter { margin:0 0 16px; }
.ov-filter label { display:inline-flex; align-items:center; gap:8px; color:var(--muted); font-size:.88rem; }
.ov-filter select, .ov-query { border:1px solid var(--edge); background:white; color:var(--ink); border-radius:9px; padding:8px 10px; min-height:38px; }
.ov-query input { min-width:150px; width:100%; border:0; color:var(--ink); outline-offset:1px; }
.ov-query .ic { width:17px; height:17px; }
.ov-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.ov-stat { display:flex; align-items:stretch; gap:12px; min-height:86px; padding:14px 16px; }
.ov-stat-rule { width:4px; flex-shrink:0; border-radius:3px; background:var(--stat); }
.ov-stat span:not(.ov-stat-rule) { color:var(--muted); font-size:.87rem; }
.ov-stat strong { display:block; color:var(--ink); line-height:1.15; font-size:1.7rem; letter-spacing:-.045em; }
.ov-panels { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(230px,1fr); gap:16px; align-items:start; }
.ov-panel { padding:21px; margin:0 0 16px; min-width:0; }
.ov-panel h2 { font-size:1.18rem; }
.ov-caption { margin:6px 0 12px; color:var(--muted); font-size:.88rem; line-height:1.48; }
.ov-table { border-collapse:collapse; width:100%; font-size:.86rem; }
.ov-table th, .ov-table td { text-align:left; padding:9px 8px; vertical-align:middle; border-bottom:1px solid var(--edge); }
.ov-table thead th { font-size:.77rem; font-weight:600; color:var(--muted); background:#f7f9fa; }
.ov-table tbody th { font-weight:550; }
[data-stages] th small { display:block; font-size:.76rem; font-weight:400; color:var(--muted); }
.ov-stage-count { min-width:32px; min-height:32px; padding:3px 6px; border:0; border-radius:6px; background:transparent; color:var(--teal); font:inherit; font-weight:650; font-variant-numeric:tabular-nums; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.ov-stage-count:hover, .ov-stage-count:focus-visible { background:#e7f2ee; }
.ov-selection { margin-bottom:12px; padding:10px 12px; border-radius:8px; background:#edf5f2; }
.ov-selection .textbtn { margin-left:8px; }
.ov-grades div > span { display:block; height:6px; background:#e8efee; border-radius:5px; overflow:hidden; }
.ov-grades i { display:block; height:100%; background:var(--teal); border-radius:5px; }
.ov-grades { display:grid; gap:14px; margin:14px 0 22px; }
.ov-grades > div { display:grid; grid-template-columns:27px 1fr 32px; gap:12px; align-items:center; }
.ov-grades strong { text-align:right; font-size:.91rem; }
.ov-grades div:nth-child(1) i { background:#8e7440; }
.ov-grades div:nth-child(3) i { background:#56809d; }
.ov-grades div:nth-child(4) i { background:#9b7654; }
.ov-grades div:nth-child(5) i { background:#9a666c; }
.ov-subheading { padding-top:14px; border-top:1px solid var(--edge); font-size:.97rem; }
.ov-participant-head, .ov-sectionhead { margin-bottom:14px; justify-content:space-between; }
.ov-pending, .ov-record > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:11px 4px; border-top:1px solid var(--edge); }
.ov-record>summary { cursor:pointer; list-style:none; }
.ov-record>summary::-webkit-details-marker { display:none; }
.ov-record .ov-state .ic { width:16px; height:16px; }
.ov-record[open] .ov-state .ic { transform:rotate(180deg); }
.ov-person { display:inline-flex; align-items:center; gap:10px; }
.ov-person b { font-size:.94rem; }
.ov-person small, .ov-directory small, .ov-check small, .ov-team small { display:block; font-weight:400; font-size:.79rem; color:var(--muted); }
.ov-letter { color:#1e5954; font-weight:700; background:#eef5f2; padding:2px 7px; border-radius:5px; }
.ov-record-detail { padding:12px 14px; margin:0 0 12px; background:#f6f9f9; border-radius:10px; }
.ov-phases { margin:0 0 12px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.ov-phases dt { font-size:.8rem; color:var(--muted); }
.ov-phases dd { margin:4px 0 0; }
.ov-teams { display:grid; gap:11px; grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr)); }
.ov-team { padding:14px; border-radius:11px; border:1px solid var(--edge); }
.ov-team h3 { font-size:1rem; }
.ov-team p { font-size:.88rem; margin:11px 0; }
.ov-actions { gap:12px; }
.ov-actions .textbtn, .ov-directory .textbtn, .ov-list .textbtn { font-size:.82rem; }
.ov-list { margin:0; list-style:none; padding:0; }
.ov-list li { display:flex; align-items:center; justify-content:space-between; padding:7px 0; }
.ov-checks { max-height:45vh; overflow:auto; border:1px solid var(--edge); border-radius:9px; padding:6px 12px; }
.ov-check { display:flex; align-items:center; gap:8px; padding:5px 0; }
.ov-check input { accent-color:var(--teal); }
.ov-member-role, .ov-directory .textbtn { display:block; }
[data-dest][hidden] { display:none; }
.ov-member-role + .ov-member-role { margin-top:8px; }
.ov-directory .textbtn { margin-top:3px; }
.ov-role-teams { min-width:0; border:0; padding:0; margin:0; }
.ov-role-teams legend { padding:0; margin-bottom:7px; font-weight:600; }
.ov-role-teams .ov-checks { max-height:220px; }
.ov-role-teams .ov-check { padding:7px 0; }
.ov-role-confirm { padding:12px; align-items:flex-start; background:#fff5df; color:#604615; border-radius:8px; }
.ov-role-confirm input { margin-top:3px; flex-shrink:0; }
.ov-role-teams[hidden], .ov-role-confirm[hidden], [data-role-revoked][hidden] { display:none; }
@media(max-width:1050px){ .ov-panels { grid-template-columns:1fr; gap:0; } }
@media(max-width:780px){ .ov-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }.ov-phases { grid-template-columns:1fr 1fr; } }
