/* Branis Recycling — workspace design system. Logo palette: oxblood + olive. */
:root {
  --rm-brand: #850b13; --rm-brand-dark: #65080e; --rm-olive: #706e3a;
  --rm-green: var(--rm-brand); --rm-green-dark: var(--rm-brand-dark);
  --rm-surface: #f7f6f2; --rm-paper: #fff; --rm-ink: #242823; --rm-muted: #666a60;
  --rm-line: #e7e7df; --rm-card-border: var(--rm-line); --rm-radius: 14px;
  --rm-sidebar-bg: #eeeee7; --rm-sidebar-fg: #55594e; --rm-focus: #858346;
  --bs-primary: #850b13; --bs-primary-rgb: 133,11,19;
  --bs-link-color: #850b13; --bs-link-color-rgb: 133,11,19; --bs-link-hover-color: #65080e;
  --bs-body-color: #242823; --bs-body-bg: #fff; --bs-secondary-color: #666a60;
  --bs-border-color: #e7e7df; --bs-tertiary-bg: #f7f6f2;
}
[data-bs-theme="dark"] {
  --rm-surface: #191b18; --rm-paper: #232620; --rm-ink: #efeee7; --rm-muted: #b0b3a7;
  --rm-line: #3a3d34; --rm-sidebar-bg: #20231d; --rm-sidebar-fg: #c5c8bb;
  --bs-body-color: #efeee7; --bs-body-bg: #232620; --bs-secondary-color: #b0b3a7;
  --bs-border-color: #3a3d34; --bs-tertiary-bg: #2b2e27;
  --bs-link-color: #e3aca5; --bs-link-color-rgb: 227,172,165; --bs-link-hover-color: #f0cec9;
}
* { box-sizing: border-box; }
body { background: var(--rm-surface); color: var(--rm-ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: .9rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
::selection { background: #e7d5bf; color: #3b2420; }
.rm-shell { display: flex; min-height: 100dvh; }
.rm-sidebar { width: 256px; flex-shrink: 0; background: var(--rm-sidebar-bg); color: var(--rm-sidebar-fg); border-right: 1px solid var(--rm-line); }
.rm-sidebar.offcanvas-lg { --bs-offcanvas-width: 280px; --bs-offcanvas-bg: var(--rm-sidebar-bg); }
@media (min-width: 992px) { .rm-sidebar.offcanvas-lg { background: var(--rm-sidebar-bg) !important; position: sticky; top: 0; height: 100dvh; overflow-y: auto; scrollbar-width: thin; } }
.rm-brand { padding: 1.35rem .9rem 1.1rem; }
.rm-brand a { color: var(--rm-ink); }
.rm-brand-logo { width: 76px; height: 62px; object-fit: contain; flex-shrink: 0; }
.rm-brand-wordmark { font-weight: 780; letter-spacing: .17em; font-size: 1.05rem; line-height: 1.5; }
.rm-brand-wordmark small { font-size: .6rem; font-weight: 500; letter-spacing: .09em; color: var(--rm-muted); text-transform: uppercase; }
.rm-nav-search { margin: .3rem 1rem .8rem; position: relative; }
.rm-nav-search > i { position: absolute; top: .6rem; left: .65rem; color: var(--rm-muted); font-size: .8rem; }
.rm-nav-search input { width: 100%; min-height: 38px; border: 1px solid var(--rm-line); border-radius: 8px; background: var(--rm-paper); color: var(--rm-ink); padding: .45rem .6rem .45rem 1.9rem; font-size: .75rem; }
.rm-nav-search input::placeholder { color: var(--rm-muted); }
.rm-nav { padding: 0 .75rem 1.5rem; }
.rm-nav-section { margin-bottom: .3rem; }
.rm-nav-heading { width: 100%; min-height: 43px; display: flex; align-items: center; gap: .65rem; background: none; border: none; color: var(--rm-sidebar-fg); padding: .75rem .5rem; text-align: left; text-transform: uppercase; font-weight: 650; font-size: .6rem; letter-spacing: .09em; }
.rm-nav-heading > i:first-child { font-size: .9rem; color: var(--rm-olive); }
.rm-nav-heading .bi-chevron-down { font-size: .55rem; transition: transform .15s; }
.rm-nav-heading[aria-expanded="false"] .bi-chevron-down { transform: rotate(-90deg); }
.rm-nav-link { display: flex; align-items: center; gap: .7rem; min-height: 40px; margin: 2px 0; padding: .55rem .75rem; color: var(--rm-sidebar-fg); border-radius: 8px; font-size: .8rem; text-decoration: none; line-height: 1.4; }
.rm-nav-link i { width: 1rem; font-size: .95rem; opacity: .7; }
.rm-nav-link:hover { background: #85834613; color: var(--rm-ink); }
.rm-nav-link.active { color: var(--rm-brand); background: #850b130b; font-weight: 650; }
.rm-nav-link.active i { opacity: 1; }
.rm-nav-link[hidden], .rm-nav-section[hidden] { display: none !important; }
.rm-sidebar-footer { display: flex; gap: .65rem; padding: 1.1rem 1.2rem; border-top: 1px solid var(--rm-line); font-size: .65rem; color: var(--rm-sidebar-fg); }
.rm-sidebar-footer small { display: block; margin-top: .2rem; color: var(--rm-muted); font-size: .58rem; }
.rm-live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--rm-olive); flex-shrink: 0; margin-top: .4rem; box-shadow: 0 0 0 3px #85834616; }
.rm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rm-topbar { position: sticky; top: 0; z-index: 1020; min-height: 78px; padding: .85rem 2rem; border-bottom: 1px solid var(--rm-line); background: var(--rm-surface); gap: 1.5rem !important; }
.rm-workspace-label { display: flex; align-items: center; gap: .7rem; min-width: 215px; font-size: .75rem; font-weight: 600; }
.rm-workspace-label small { display: block; font-size: .65rem; font-weight: 400; color: var(--rm-muted); margin-top: .1rem; }
.rm-workspace-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--rm-line); border-radius: 10px; font-size: .95rem; color: var(--rm-olive); background: var(--rm-paper); }
.rm-global-search { max-width: 420px; min-width: 0; }
.rm-global-search .input-group-text { background: transparent; border: none; padding-right: .3rem; color: var(--rm-muted); }
.rm-global-search input { border: none; background: transparent; font-size: .78rem; }
.rm-global-search input:focus { background: var(--rm-paper); box-shadow: none; }
.rm-icon-button { color: var(--rm-muted); width: 36px; min-height: 36px; border: 1px solid var(--rm-line); background: var(--rm-paper); border-radius: 50% !important; }
.rm-icon-button:hover { color: var(--rm-brand); border-color: var(--rm-olive); }
.rm-account-button { font-size: .75rem; gap: .5rem !important; padding-inline: .75rem; color: var(--rm-ink); }
.rm-account-button > i { color: var(--rm-olive); font-size: 1.4rem; }
.dropdown-menu { border-color: var(--rm-line); border-radius: 12px; padding: .4rem; box-shadow: 0 12px 40px #24282312; font-size: .82rem; }
.dropdown-item { padding: .6rem .7rem; border-radius: 6px; }
.dropdown-item i { margin-right: .5rem; }
.rm-content { padding: 2rem 2.25rem 3rem; max-width: 1660px; margin-inline: auto; width: 100%; }
.rm-content:focus { outline: none; }
.rm-page-header { padding-bottom: 1.25rem; margin-bottom: 1.4rem !important; border-bottom: 1px solid var(--rm-line); }
.rm-page-header h1 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); font-weight: 650; letter-spacing: -.055em; line-height: 1.25; overflow-wrap: anywhere; margin-top: .15rem; }
.rm-page-header .text-body-secondary { font-size: .75rem !important; margin-top: .5rem; }
.rm-page-header form { flex-wrap: wrap; max-width: 100%; }
.rm-page-header form > div { min-width: 0; }
.rm-page-header form > .form-select { width: auto; flex: 1 1 140px; }
.rm-eyebrow { display: block; color: var(--rm-muted); font-size: .6rem; letter-spacing: .14em; font-weight: 650; margin-bottom: .6rem; }
.rm-heading-dot { color: var(--rm-brand); }
.card { --bs-card-border-color: var(--rm-line); --bs-card-border-radius: var(--rm-radius); }
.rm-card { border: 1px solid var(--rm-line); border-radius: var(--rm-radius); box-shadow: none; overflow: clip; }
.rm-card > .card-header { background: transparent; border-bottom: 1px solid var(--rm-line); padding: 1rem 1.25rem; font-size: .82rem; font-weight: 600; }
.rm-card > .card-body { padding: 1.25rem; }
.btn { font-size: .8rem; font-weight: 550; border-radius: 8px; padding: .6rem .9rem; transition: background .15s, border-color .15s; }
.btn-sm { font-size: .74rem; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: .45rem .75rem; }
.btn-primary { --bs-btn-bg: var(--rm-brand); --bs-btn-border-color: var(--rm-brand); --bs-btn-hover-bg: var(--rm-brand-dark); --bs-btn-hover-border-color: var(--rm-brand-dark); --bs-btn-active-bg: var(--rm-brand-dark); --bs-btn-active-border-color: var(--rm-brand-dark); --bs-btn-disabled-bg: var(--rm-brand); --bs-btn-disabled-border-color: var(--rm-brand); box-shadow: 0 2px 3px #65080e12; }
.btn-secondary { --bs-btn-bg: #42483b; --bs-btn-border-color: #42483b; --bs-btn-hover-bg: #30362b; --bs-btn-hover-border-color: #30362b; }
.btn-outline-primary { --bs-btn-color: var(--rm-brand); --bs-btn-border-color: #d8bdba; --bs-btn-hover-bg: var(--rm-brand); --bs-btn-hover-border-color: var(--rm-brand); --bs-btn-active-bg: var(--rm-brand-dark); }
.btn-outline-secondary { --bs-btn-color: var(--rm-sidebar-fg); --bs-btn-border-color: var(--rm-line); --bs-btn-hover-bg: var(--rm-sidebar-bg); --bs-btn-hover-color: var(--rm-ink); --bs-btn-hover-border-color: #b7baad; }
.text-bg-primary { background: var(--rm-brand) !important; }
.form-control, .form-select { min-height: 40px; font-size: .82rem; border: 1px solid var(--rm-line); border-radius: 8px; padding: .6rem .75rem; color: var(--rm-ink); background-color: var(--rm-paper); }
.form-select { padding-right: 2.25rem; }
.form-control::placeholder { color: var(--rm-muted); opacity: .85; }
.form-control:focus, .form-select:focus { border-color: var(--rm-olive); box-shadow: 0 0 0 3px #8583461a; background-color: var(--rm-paper); color: var(--rm-ink); }
.form-label { color: var(--rm-sidebar-fg); font-size: .75rem; font-weight: 600; }
.form-text { color: var(--rm-muted); font-size: .73rem; line-height: 1.5; }
.form-check-input:checked { background-color: var(--rm-brand); border-color: var(--rm-brand); }
.form-check-input:focus { border-color: var(--rm-olive); box-shadow: 0 0 0 3px #8583461a; }
.rm-table { font-size: .8rem; }
.rm-table > :not(caption) > * > * { padding: .9rem 1.15rem; border-bottom-color: var(--rm-line); }
.rm-table thead th { font-size: .6rem; font-weight: 650; text-transform: uppercase; letter-spacing: .075em; color: var(--rm-muted); background: var(--bs-tertiary-bg); white-space: nowrap; padding-block: .85rem; }
.rm-table td { vertical-align: middle; max-width: 360px; overflow-wrap: anywhere; }
.rm-table td a { text-decoration: none; }
.rm-table td a:hover { text-decoration: underline; }
.rm-table tbody tr:last-child td { border-bottom-width: 0; }
.table { --bs-table-hover-bg: #85834608; }
.table-responsive { overscroll-behavior-x: contain; scrollbar-width: thin; }
.table-responsive:focus-visible { outline-offset: -3px; }
.rm-dl dt { font-size: .72rem; font-weight: 500; color: var(--rm-muted); }
.rm-dl dd { margin-bottom: 1.2rem; font-size: .85rem; overflow-wrap: anywhere; }
.badge { border-radius: 5px; font-weight: 550; padding: .4em .6em; font-size: .65rem; }
.badge-status { text-transform: none; }
.rm-formset td { min-width: 130px; }
.rm-formset td .form-control, .rm-formset td .form-select { min-height: 36px; font-size: .8rem; }
.rm-form-actions { position: sticky; bottom: .75rem; z-index: 10; background: var(--rm-paper); border: 1px solid var(--rm-line); border-radius: 12px; padding: .75rem; box-shadow: 0 4px 20px #2428230a; }
.nav-pills { gap: .3rem; padding: .3rem; background: var(--rm-sidebar-bg); border-radius: 10px; width: fit-content; max-width: 100%; }
.nav-pills .nav-link { padding: .5rem .85rem !important; min-height: 36px; display: flex; align-items: center; color: var(--rm-muted); border-radius: 7px; font-size: .75rem; font-weight: 550; }
.nav-pills .nav-link.active { background: var(--rm-paper); color: var(--rm-brand); box-shadow: 0 1px 4px #2428230a; }
.rm-dashboard-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0; }
.rm-summary-card { border: 1px solid var(--rm-line); border-radius: 14px; padding: 1.2rem 1.3rem; background: var(--rm-paper); }
.rm-summary-card:first-child { background: var(--rm-brand); color: #fff; border-color: var(--rm-brand); }
.rm-summary-top { display: flex; align-items: center; justify-content: space-between; font-size: .56rem; text-transform: uppercase; letter-spacing: .07em; gap: .3rem; color: var(--rm-muted); margin-bottom: 1.1rem; }
.rm-summary-icon { display: grid; place-items: center; width: 30px; height: 30px; background: #8583460e; color: var(--rm-olive); border-radius: 9px; font-size: 1rem; flex-shrink: 0; }
.rm-summary-card:first-child .rm-summary-top { color: #e8c5c1; }
.rm-summary-card:first-child .rm-summary-icon { background: #ffffff15; color: #f0dbb7; }
.rm-summary-label { font-size: .75rem; opacity: .85; }
.rm-summary-value { font-size: clamp(1.65rem,2.5vw,2.4rem); font-weight: 620; letter-spacing: -.055em; line-height: 1.3; margin: .3rem 0 .85rem; overflow-wrap: anywhere; }
.rm-summary-foot { font-size: .63rem; opacity: .8; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.rm-summary-foot a { color: inherit; font-size: 1rem; }
.rm-summary-foot a::before { content: ''; display: inline-block; min-height: 24px; vertical-align: middle; }
.rm-section-links { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.25rem 0; }
.rm-section-links a { border: 1px solid var(--rm-line); color: var(--rm-muted); border-radius: 30px; padding: .4rem .75rem; font-size: .65rem; text-decoration: none; }
.rm-section-links a:hover { color: var(--rm-brand); border-color: #d8bdba; }
.rm-explore-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin: 2rem 0 1rem; }
.rm-explore-heading h2 { font-size: 1.25rem; letter-spacing: -.035em; margin: 0; font-weight: 600; }
.rm-explore-heading > span { color: var(--rm-muted); font-size: .67rem; }
.rm-metric-sections { border-top: 1px solid var(--rm-line); }
.rm-metric-section { border-bottom: 1px solid var(--rm-line); scroll-margin-top: 150px; }
.rm-metric-section summary { display: flex; align-items: center; gap: 1rem; list-style: none; padding: 1.2rem .3rem; cursor: pointer; }
.rm-metric-section summary::-webkit-details-marker { display: none; }
.rm-section-number { font-size: .65rem; color: var(--rm-olive); font-variant-numeric: tabular-nums; }
.rm-section-name { font-size: .85rem; font-weight: 550; }
.rm-section-count { font-size: .65rem; color: var(--rm-muted); margin-left: auto; }
.rm-metric-section summary > i { color: var(--rm-muted); font-size: .8rem; margin-left: .5rem; }
.rm-metric-section[open] summary > i { transform: rotate(45deg); }
.rm-kpi { border: 1px solid var(--rm-line); border-radius: 10px; padding: 1rem; height: 100%; background: var(--rm-paper); position: relative; }
.rm-kpi .label { color: var(--rm-muted); font-size: .62rem; font-weight: 550; text-transform: uppercase; letter-spacing: .055em; margin-bottom: .5rem; }
.rm-kpi .value { font-size: 1.65rem; font-weight: 600; line-height: 1.25; letter-spacing: -.04em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rm-kpi .sub { margin-top: .4rem; color: var(--rm-muted); font-size: .67rem; }
.rm-kpi a { color: inherit; text-decoration: none; }
.rm-kpi a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.rm-kpi:has(a):hover { border-color: var(--rm-olive); }
.num { font-variant-numeric: tabular-nums; text-align: right; }
.rm-empty-state { padding: 2.5rem 1rem; text-align: center; }
.rm-empty-state > i { display: block; font-size: 1.8rem; color: var(--rm-olive); margin-bottom: .75rem; }
.rm-empty-state strong { color: var(--rm-ink); font-size: .85rem; font-weight: 550; }
.rm-empty-state p { margin-bottom: 1rem; }
.alert { border-radius: 10px; font-size: .82rem; }
.pagination { gap: .3rem; flex-wrap: wrap; }
.page-link { border: 1px solid var(--rm-line); border-radius: 6px !important; font-size: .75rem; }
.rm-terminal .btn { padding: .8rem 1.3rem; font-size: 1rem; min-height: 48px; }
.rm-weight-display { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 3rem; font-weight: 700; }
.rm-auth { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; background: var(--rm-surface); }
.rm-auth-story { background: #710c14; color: #faf3e6; padding: 2.5rem 3.75rem; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.rm-auth-story::after { content: ''; width: 550px; height: 550px; position: absolute; right: -270px; bottom: -240px; border: 90px solid #ffffff04; border-radius: 50%; pointer-events: none; }
.rm-auth-brand { display: flex; align-items: center; gap: .85rem; color: #faf3e6; text-decoration: none; }
.rm-auth-brand:hover { color: #faf3e6; }
.rm-auth-brand img { width: 90px; height: 75px; object-fit: contain; }
.rm-auth-brand > span { font-size: 1.3rem; font-weight: 650; letter-spacing: .16em; }
.rm-auth-brand small { display: block; font-size: .55rem; font-weight: 400; letter-spacing: .2em; opacity: .7; margin-top: .2rem; }
.rm-auth-copy { margin-block: auto; padding-block: 4rem; max-width: 470px; position: relative; z-index: 1; }
.rm-auth-copy .rm-eyebrow { color: #d8c29b; margin-bottom: 1.5rem; }
.rm-auth-copy h1 { font-size: clamp(2.7rem,4.3vw,4.8rem); line-height: 1.07; letter-spacing: -.06em; font-weight: 550; margin-bottom: 1.5rem; }
.rm-auth-copy p { font-size: .9rem; line-height: 1.85; color: #e1c3bf; max-width: 345px; }
.rm-auth-pill { display: flex; align-items: center; gap: .65rem; margin-top: 2rem; font-size: .67rem; color: #e9ddc4; }
.rm-auth-pill .rm-live-dot { background: #c5bd7b; margin: 0; }
.rm-auth-story footer { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: space-between; font-size: .6rem; color: #d3ada9; }
.rm-auth-form { padding: 3rem; display: flex; flex-direction: column; }
.rm-auth-form-inner { width: 100%; max-width: 370px; margin: auto; padding-block: 3rem; }
.rm-auth-form h2 { font-size: 2.5rem; letter-spacing: -.06em; font-weight: 600; margin-bottom: .6rem; }
.rm-auth-description { color: var(--rm-muted); font-size: .83rem; margin-bottom: 2.5rem; }
.rm-auth-form .form-control { min-height: 48px; background-color: var(--rm-paper); }
.rm-auth-submit { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding-inline: 1.1rem; margin-top: .5rem; }
.rm-auth-help { border-top: 1px solid var(--rm-line); margin-top: 2rem; padding-top: 1.25rem; display: flex; gap: .65rem; align-items: center; color: var(--rm-muted); font-size: .7rem; }
.rm-auth-help i { color: var(--rm-olive); font-size: 1rem; }
.rm-auth-form footer { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: space-between; color: var(--rm-muted); font-size: .6rem; }
.rm-skip-link { position: fixed; left: 1rem; top: -100px; z-index: 2000; padding: .75rem 1rem; background: var(--rm-paper); border: 2px solid var(--rm-brand); border-radius: 8px; }
.rm-skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--rm-focus); outline-offset: 3px; }
[data-bs-theme="dark"] .rm-nav-link.active { color: #e9b9b0; background: #850b1340; }
[data-bs-theme="dark"] .btn-outline-primary { --bs-btn-color: #e3aca5; --bs-btn-border-color: #97645e; }
.rm-print { max-width: 800px; margin: 0 auto; background: white; color: black; padding: 1.5rem; }
@media (max-width: 1199px) { .rm-topbar { gap: .75rem !important; } .rm-content { padding-inline: 1.5rem; } .rm-summary-card { padding: 1rem; } }
@media (max-width: 991px) { .rm-sidebar.offcanvas-lg { overflow-y: auto; } .rm-topbar { padding-inline: 1.25rem; } .rm-dashboard-summary { grid-template-columns: repeat(2,minmax(0,1fr)); } .rm-auth-story { padding: 2rem; } .rm-auth-form { padding: 2rem; } }
@media (max-width: 767px) { .rm-auth { grid-template-columns: 1fr; } .rm-auth-story { padding: 1.3rem 1.5rem; } .rm-auth-brand img { width: 70px; height: 55px; } .rm-auth-copy { padding: 1.5rem 0 .5rem; margin: 0; } .rm-auth-copy h1 { font-size: 2rem; margin-bottom: .5rem; } .rm-auth-copy .rm-eyebrow, .rm-auth-copy p, .rm-auth-pill, .rm-auth-story footer { display: none; } .rm-auth-form { padding: 1.75rem 1.5rem; min-height: 65dvh; } .rm-auth-form-inner { padding-block: 1.5rem 2rem; } .rm-auth-form h2 { font-size: 2rem; } }
@media (max-width: 575px) {
  .rm-content { padding: 1.25rem .85rem 2rem; } .rm-topbar { flex-wrap: wrap; gap: .5rem !important; padding: .65rem .85rem; min-height: 64px; }
  .rm-global-search { order: 3; flex-basis: 100%; max-width: none; border-top: 1px solid var(--rm-line); padding-top: .3rem; }
  .rm-page-header > .me-auto { width: 100%; } .rm-page-header h1 { font-size: 1.7rem; }
  .rm-page-header form > div { flex: 1 1 130px; } .rm-page-header form input { width: 100%; }
  .rm-dashboard-summary { gap: .65rem; } .rm-summary-top { font-size: .52rem; margin-bottom: .7rem; } .rm-summary-icon { width: 25px; height: 25px; font-size: .8rem; }
  .rm-summary-value { font-size: 1.7rem; } .rm-summary-card { padding: .9rem; } .rm-summary-foot { font-size: .58rem; } .rm-summary-label { font-size: .67rem; }
  .rm-section-links { gap: .35rem; } .rm-section-links a { font-size: .6rem; padding: .35rem .55rem; }
  .rm-kpi { padding: .85rem; } .rm-kpi .value { font-size: 1.4rem; }
  .rm-section-name { font-size: .75rem; } .rm-section-count { font-size: .58rem; } .rm-metric-section summary { gap: .6rem; }
  .rm-table > :not(caption) > * > * { padding: .75rem .85rem; } .rm-card > .card-body { padding: 1rem; }
  input, select, textarea { font-size: 16px !important; } .btn-sm { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .rm-sidebar, .rm-topbar, .no-print, .rm-messages, .rm-skip-link, .rm-form-actions, .rm-section-links { display: none !important; } .rm-content { padding: 0; max-width: none; } body { background: white; } .rm-card { border: 0; box-shadow: none; } .rm-metric-section > * { display: block; } }
.rm-portal-nav { border-bottom: 1px solid var(--rm-line); background: var(--rm-paper); padding-block: .7rem; }
.rm-portal-nav .navbar-brand { color: var(--rm-ink); font-size: .85rem; }
.rm-portal-wordmark { font-weight: 650; letter-spacing: -.02em; }
.rm-portal-wordmark small { display: block; font-size: .6rem; color: var(--rm-muted); font-weight: 400; letter-spacing: .02em; margin-top: .2rem; }
.rm-portal-nav .nav-link { font-size: .73rem; padding-inline: .65rem !important; }
.rm-page-header:has(.rm-eyebrow) > form { display: grid !important; grid-template-columns: minmax(130px, 1fr) minmax(130px, 1fr); gap: .5rem; }
@media (max-width: 575px) { .rm-page-header:has(.rm-eyebrow) > form { width: 100%; } }
.rm-print > .d-flex { flex-wrap: wrap; gap: 1rem; }
.rm-print table { min-width: 560px; }
.rm-validation-summary a { color: inherit; }
@media (max-width: 575px) { .rm-print { padding: 1rem; } }
@media print { .table-responsive { overflow: visible !important; } .rm-print table { min-width: 0; } }
/* Status colors remain distinct and readable on the warm workspace surface. */
.btn-outline-danger { --bs-btn-color: #bb2433; --bs-btn-border-color: #d8a4aa; --bs-btn-hover-bg: #bb2433; --bs-btn-hover-border-color: #bb2433; }
.btn-outline-success { --bs-btn-color: #166d46; --bs-btn-border-color: #92b8a6; --bs-btn-hover-bg: #166d46; --bs-btn-hover-border-color: #166d46; }
.btn-outline-warning { --bs-btn-color: #805900; --bs-btn-border-color: #ccb77d; --bs-btn-hover-bg: #805900; --bs-btn-hover-border-color: #805900; --bs-btn-hover-color: white; }
.text-body-tertiary { color: var(--rm-muted) !important; }
.rm-table td a { text-decoration: underline; text-decoration-color: #850b1340; }
[data-bs-theme="dark"] .btn-outline-danger { --bs-btn-color: #f29eaa; --bs-btn-border-color: #9b5963; }
[data-bs-theme="dark"] .btn-outline-success { --bs-btn-color: #93d1ad; --bs-btn-border-color: #5b8e70; }
[data-bs-theme="dark"] .btn-outline-warning { --bs-btn-color: #e4c471; --bs-btn-border-color: #a08a50; }
.rm-document-logo { width: 68px; height: 52px; object-fit: contain; margin-right: .6rem; vertical-align: middle; }
@media print {
  html[data-bs-theme] { --bs-body-color: #000; --bs-body-bg: #fff; --bs-tertiary-bg: #f2f2f0; --rm-muted: #555; --rm-ink: #000; --rm-paper: #fff; --rm-line: #ddd; }
  .table { --bs-table-color: #000; --bs-table-bg: #fff; }
  .rm-print { color: #000; background: #fff; }
}
.nav-pills .nav-link.active, .rm-section-links a:hover, .rm-icon-button:hover { color: var(--bs-link-color); }
[data-bs-theme="dark"] { --rm-olive: #c0bc7a; }
[data-bs-theme="dark"] .rm-heading-dot { color: #e3aca5; }
