.rg-page {display:grid;gap:1.15rem}
.rg-page .pagehead {margin-bottom:0}
.rg-panel {min-width:0;padding:0;overflow:hidden}
.rg-filters {display:flex;align-items:end;gap:.85rem;flex-wrap:wrap;padding:1.15rem 1.3rem;background:var(--white,#fff);border-bottom:1px solid var(--border)}
.rg-filters label {min-width:8.5rem;max-width:100%;flex:1 1 9rem}
.rg-filters label:first-child {flex-grow:2;min-width:min(14rem,100%)}
.rg-filters input,.rg-filters select {width:100%}
.rg-count {color:var(--muted);font-size:.88rem;font-weight:650;padding:.95rem 1.3rem .55rem}
.rg-scroll {overflow-x:auto}
.rg-table {width:100%;border-collapse:collapse;font-size:.91rem;line-height:1.4;text-align:left}
.rg-table th,.rg-table td {padding:.83rem .85rem;vertical-align:top;border-bottom:1px solid var(--line)}
.rg-table th:first-child,.rg-table td:first-child {padding-left:1.3rem}
.rg-table th:last-child,.rg-table td:last-child {padding-right:1.3rem}
.rg-table th {font-size:.80rem;background:var(--paper);font-weight:650;color:var(--muted);white-space:nowrap}
.rg-table tr:last-child td {border-bottom:0}
.rg-table td:first-child {min-width:9rem}
.rg-main {font-weight:590}
.rg-sub {display:block;margin-top:.19rem;color:var(--muted);font-size:.82rem;font-weight:430}
.rg-link {color:var(--rg-link,#075875);font-weight:640;text-decoration-thickness:1px;text-underline-offset:3px}
.rg-pill {display:inline-flex;white-space:nowrap;border-radius:1rem;background:#e8f1f5;color:#285269;font-weight:650;font-size:.77rem;padding:.25rem .55rem}
.rg-ok {background:#e2f3ed;color:#28634e}.rg-warn {background:#fff0d6;color:#80530e}.rg-danger {background:#ffe7e3;color:#943c32}
.rg-downloads,.rg-end,.rg-pager {display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.rg-downloads {flex-wrap:nowrap}
.rg-pager,.rg-end {justify-content:flex-end}
.rg-pager,.rg-panel .rg-end {padding:.75rem 1.3rem}
.rg-pager span {color:var(--muted);margin-right:.3rem;font-size:.87rem}
.rg-footnote,.rg-empty {color:var(--muted);padding:1rem 1.3rem;font-size:.88rem}
.rg-dialog {width:min(620px,calc(100% - 2rem));max-height:86vh;padding:0;color:var(--ink);background:var(--white,#fff);border:1px solid var(--border);border-radius:13px;box-shadow:0 20px 65px #152d3d40}
.rg-dialog::backdrop {background:#0a24356e}
.rg-modal-head {display:flex;justify-content:space-between;align-items:center;gap:.5rem;border-bottom:1px solid var(--border);padding:1rem 1.2rem}
.rg-modal-head h2 {font-size:1.2rem}
.rg-modal-body {padding:1.2rem;max-height:65vh;overflow:auto}
.rg-list {list-style:none;margin:0;padding:0}
.rg-list li {padding:.65rem 0;border-bottom:1px solid var(--line)}
.rg-modal-body .rg-end {margin-top:1rem}
.rg-context,.rg-error {font-size:.87rem;color:var(--muted)}
.rg-error:not(:empty) {padding:.5rem 0;color:#a43528}
.rg-recommendation {margin:.55rem 0 1rem;font-weight:630}
.rg-action-form fieldset {border:0;min-width:0;padding:0;margin:0}
.rg-action-form fieldset[disabled] {opacity:.8}
.rg-fieldgrid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-bottom:.8rem}
[data-theme="dark"] .rg-page {--rg-link:#85cadc}
@media(max-width:680px){.rg-filters {padding:1rem;gap:.65rem}.rg-fieldgrid {grid-template-columns:1fr}.rg-count{padding:.75rem 1rem}.rg-table th:first-child,.rg-table td:first-child {padding-left:1rem}}
