/* Reguvex Core v4.13.0 — Critical Layout Recovery
 * Final non-destructive UI guard loaded after the known-working v4.11 stylesheet chain.
 * This file deliberately avoids broad display:none rules and avoids replacing the page DOM.
 */
:root{--rgx-recovery-radius:2px;--rgx-recovery-border:#d9e1eb;--rgx-recovery-canvas:#f5f7fa;--rgx-recovery-text:#102a56;--rgx-recovery-muted:#61718a;--rgx-recovery-blue:#2754a6;}

body.reguvex-dashboard-page .rgd-app,
body.reguvex-application-shell .rgd-app{min-height:100dvh!important;background:var(--rgx-recovery-canvas)!important;}
body.reguvex-dashboard-page .rgd-workspace,
body.reguvex-application-shell .rgd-workspace{display:flex!important;flex-direction:column!important;min-height:100dvh!important;min-width:0!important;background:var(--rgx-recovery-canvas)!important;}
body.reguvex-dashboard-page .rgd-topbar,
body.reguvex-application-shell .rgd-topbar{display:flex!important;visibility:visible!important;opacity:1!important;min-height:54px!important;border-radius:0!important;box-shadow:none!important;}
body.reguvex-dashboard-page .rgd-content,
body.reguvex-application-shell .rgd-content{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;min-width:0!important;min-height:1px!important;padding:14px 16px 18px!important;background:var(--rgx-recovery-canvas)!important;}
body.reguvex-dashboard-page .rgd-dashboard-footer,
body.reguvex-application-shell .rgd-dashboard-footer{display:flex!important;visibility:visible!important;opacity:1!important;margin-top:auto!important;min-height:36px!important;padding:7px 16px!important;border-radius:0!important;box-shadow:none!important;}

/* flatter, denser system without hiding content */
body.reguvex-dashboard-page .rgd-panel,
body.reguvex-dashboard-page .rgd-card,
body.reguvex-dashboard-page .rgd-report-card,
body.reguvex-dashboard-page .rgd-price-card,
body.reguvex-dashboard-page .rgd-current-plan-card,
body.reguvex-dashboard-page .rgd-settings-panel,
body.reguvex-dashboard-page .rgd-document-card,
body.reguvex-dashboard-page .rgd-issue-card,
body.reguvex-dashboard-page .rgd-link-panel,
body.reguvex-dashboard-page .rgd-upgrade-card,
body.reguvex-dashboard-page .rgd-list-item,
body.reguvex-dashboard-page .rgd-review-item,
body.reguvex-application-shell .rgd-panel,
body.reguvex-application-shell .rgd-card,
body.reguvex-application-shell .rgd-report-card,
body.reguvex-application-shell .rgd-price-card,
body.reguvex-application-shell .rgd-current-plan-card,
body.reguvex-application-shell .rgd-settings-panel,
body.reguvex-application-shell .rgd-document-card,
body.reguvex-application-shell .rgd-issue-card,
body.reguvex-application-shell .rgd-link-panel,
body.reguvex-application-shell .rgd-upgrade-card,
body.reguvex-application-shell .rgd-list-item,
body.reguvex-application-shell .rgd-review-item{border-radius:var(--rgx-recovery-radius)!important;box-shadow:none!important;}

body.reguvex-dashboard-page .rgd-button,
body.reguvex-dashboard-page button,
body.reguvex-dashboard-page input,
body.reguvex-dashboard-page select,
body.reguvex-dashboard-page textarea,
body.reguvex-dashboard-page .rgd-status,
body.reguvex-dashboard-page .rgd-tab,
body.reguvex-application-shell .rgd-button,
body.reguvex-application-shell button,
body.reguvex-application-shell input,
body.reguvex-application-shell select,
body.reguvex-application-shell textarea,
body.reguvex-application-shell .rgd-status,
body.reguvex-application-shell .rgd-tab{border-radius:var(--rgx-recovery-radius)!important;}

body.reguvex-dashboard-page .rgd-side-nav a,
body.reguvex-dashboard-page .rgd-sidebar-foot a,
body.reguvex-dashboard-page .rgd-nav-group-details,
body.reguvex-dashboard-page .rgd-nav-group-details summary,
body.reguvex-application-shell .rgd-side-nav a,
body.reguvex-application-shell .rgd-sidebar-foot a,
body.reguvex-application-shell .rgd-nav-group-details,
body.reguvex-application-shell .rgd-nav-group-details summary{border-radius:0!important;box-shadow:none!important;}

body.reguvex-dashboard-page .rgd-content h1,
body.reguvex-application-shell .rgd-content h1{font-size:24px!important;line-height:1.2!important;font-weight:600!important;}
body.reguvex-dashboard-page .rgd-content h2,
body.reguvex-application-shell .rgd-content h2{font-size:20px!important;line-height:1.25!important;font-weight:600!important;}
body.reguvex-dashboard-page .rgd-content h3,
body.reguvex-application-shell .rgd-content h3{font-size:14px!important;line-height:1.3!important;font-weight:600!important;}
body.reguvex-dashboard-page .rgd-content p,
body.reguvex-application-shell .rgd-content p{font-size:12.5px!important;line-height:1.45!important;font-weight:400!important;}
body.reguvex-dashboard-page .rgd-content strong,
body.reguvex-application-shell .rgd-content strong{font-weight:600!important;}

/* Sidebar remains full-height but only its menu region scrolls. */
@media(min-width:1101px){
  body.reguvex-dashboard-page .rgd-sidebar,
  body.reguvex-application-shell .rgd-sidebar{position:sticky!important;top:0!important;height:100dvh!important;min-height:100dvh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:0!important;}
  body.reguvex-dashboard-page .rgd-side-nav,
  body.reguvex-application-shell .rgd-side-nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;}
  body.reguvex-dashboard-page .rgd-sidebar-foot,
  body.reguvex-application-shell .rgd-sidebar-foot{flex:0 0 auto!important;margin-top:auto!important;}
}

@media(max-width:1100px){
  body.reguvex-dashboard-page .rgd-content,
  body.reguvex-application-shell .rgd-content{padding:12px!important;}
}
