/* REBOOSTLAB macro: scoped geometry parity with approved Fuel dashboard.
   Reference: fuel-vietnam-dashboard/public/assets/reboostlab-brand.css
   and reboostlab-unified-ui.css, main a48fc429 (19/11/2026).
   Do not import the Fuel stylesheet wholesale: it includes sector-specific rules. */
body.rb-app--macro{--rb-ui-font:Inter,Roboto,Arial,sans-serif;--rb-ui-sidebar:228px;--rb-ui-topbar:72px;--rb-ui-header-line:#24543B;--rb-ui-button-surface:#0E2C20;--rb-ui-button-ink:#E5F4EA;font-family:var(--rb-ui-font);font-size:12px;line-height:1.55;font-variant-numeric:tabular-nums}
.rb-app--macro .sidebar{box-sizing:border-box;width:228px;min-width:228px;padding:16px;position:fixed;top:0;bottom:0;height:100dvh;overflow-y:auto;display:flex;flex-direction:column}
.rb-app--macro .main{margin-left:228px;min-width:0}
.rb-app--macro .sidebar .rb-brand{display:flex;flex:0 0 54px;align-items:center;width:100%;height:54px;min-height:54px;max-height:54px;gap:11px;margin:0 0 16px;padding:0}
.rb-app--macro .sidebar .rb-brand-mark{box-sizing:border-box;flex:0 0 34px;width:34px;height:34px;min-width:34px;min-height:34px;border-radius:9px;font:800 21px/1 var(--rb-ui-font)}
.rb-app--macro .sidebar .rb-brand-copy{display:flex;flex-direction:column;min-width:0;gap:3px}
.rb-app--macro .sidebar .rb-brand-name{display:block;font:800 15px/18px var(--rb-ui-font);letter-spacing:.01em;color:#E5F4EA;text-decoration:none}
.rb-app--macro .sidebar .rb-brand-tagline{display:block;max-width:157px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#91B4A0;font:600 10px/13px var(--rb-ui-font);letter-spacing:.015em}
.rb-app--macro .nav-caption{margin:0 0 12px;font:800 10px/1.55 var(--rb-ui-font);letter-spacing:.13em;color:#91B4A0}
.rb-app--macro .nav-btn{min-height:43px;padding:9px 8px;gap:8px;font:650 12px/1.4 var(--rb-ui-font);border-radius:9px}
.rb-app--macro .nav-glyph{font-size:16px;width:19px;flex:0 0 19px}
.rb-app--macro .rb-side-status{display:flex;align-items:center;gap:9px;min-height:60px;padding:12px;border:1px solid #24543B;border-radius:11px;margin-top:auto;background:#0B2419}
.rb-app--macro .rb-side-status .status-dot{width:8px;height:8px;min-width:8px;border-radius:50%;background:#92D45E;box-shadow:0 0 0 3px rgba(146,212,94,.12)}
.rb-app--macro .rb-side-status[data-health="error"] .status-dot{background:#F07B7B;box-shadow:none}
.rb-app--macro .rb-side-status[data-health="retained"] .status-dot{background:#F4BF67;box-shadow:none}
.rb-app--macro .rb-side-status .side-status-copy{display:flex;flex-direction:column;min-width:0;gap:4px}
.rb-app--macro .rb-side-status .loaded-status{display:block;color:#E5F4EA;font:650 11px/1.35 var(--rb-ui-font)}
.rb-app--macro .rb-side-status .mini-sub{display:block;color:#91B4A0;font:400 10px/1.4 var(--rb-ui-font);margin:0}
.rb-app--macro .topbar{box-sizing:border-box;position:sticky;top:0;z-index:35;height:72px;min-height:72px;padding:10px 16px;gap:12px;align-items:center;border:0;border-bottom:1px solid #24543B;background:#06150F;box-shadow:none}
.rb-app--macro .top-eyebrow{font:500 10px/1.3 var(--rb-ui-font);letter-spacing:.055em;color:#91B4A0}
.rb-app--macro .top-eyebrow strong{font-weight:800;color:#E5F4EA}
.rb-app--macro .topbar-subtitle{font:500 11px/1.5 var(--rb-ui-font);margin-top:5px;color:#91B4A0}
.rb-app--macro .rb-head-actions{gap:8px}
.rb-app--macro .rb-head-status{box-sizing:border-box;height:34px;min-height:34px;max-height:34px;padding:7px 11px;border:1px solid #24543B;border-radius:18px;background:#0E2C20;color:#E5F4EA;font:650 10px/12px var(--rb-ui-font);white-space:nowrap;box-shadow:none}
.rb-app--macro .rb-head-refresh{box-sizing:border-box;height:40px;min-height:40px;max-height:40px;padding:9px 12px;gap:5px;border:1px solid #24543B;border-radius:9px;background:#0E2C20;color:#E5F4EA;font:700 11px/1.2 var(--rb-ui-font);box-shadow:none}
.rb-app--macro .rb-head-refresh:hover{background:#173D29;border-color:#3F7753}
.rb-app--macro .rb-head-refresh:focus-visible{outline:2px solid #92D45E;outline-offset:2px}
.rb-app--macro .rb-footer{padding:12px 23px 25px;background:transparent;border-top:1px solid #24543B;font:400 10px/1.55 var(--rb-ui-font);letter-spacing:0;color:#91B4A0}
.rb-app--macro .rb-footer a{color:#E5F4EA;text-decoration:none}
.rb-app--macro .rb-footer a:hover{text-decoration:underline}
.rb-app--macro .kpi-value{font:700 28px/1.1 var(--rb-ui-font);letter-spacing:-.035em;color:#E5F4EA;font-variant-numeric:tabular-nums}
.rb-app--macro .kpi-title{font:800 10px/1.55 var(--rb-ui-font);letter-spacing:.12em}
.rb-app--macro .kpi-note{font:400 11px/1.55 var(--rb-ui-font)}
.rb-app--macro .field label{font:800 10px/1.55 var(--rb-ui-font);letter-spacing:.12em}
.rb-app--macro .field select{font:400 12px/normal var(--rb-ui-font)}
.rb-app--macro .section-head h2{font:700 21px/1.55 var(--rb-ui-font);letter-spacing:-.025em}
.rb-app--macro .macro-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:132px;padding:18px 22px;margin:0 0 20px;border:1px solid #24543B;border-radius:11px;background:#0B2419}
.rb-app--macro .macro-hero .hero-eyebrow{font:800 10px/1.5 var(--rb-ui-font);letter-spacing:.12em;color:#92D45E}
.rb-app--macro .macro-hero h2{margin:5px 0;font:700 clamp(21px,2vw,28px)/1.25 var(--rb-ui-font);letter-spacing:-.03em}
.rb-app--macro .macro-hero p{max-width:750px;margin:6px 0 0;color:#91B4A0;font:400 11px/1.6 var(--rb-ui-font)}
.rb-app--macro .macro-hero .hero-meta{display:flex;flex-direction:column;flex:0 0 auto;max-width:175px;gap:5px;border-left:1px solid #24543B;padding-left:20px;color:#91B4A0;font:500 10px/1.4 var(--rb-ui-font)}
.rb-app--macro .macro-hero .hero-meta strong{font:700 17px/1.3 var(--rb-ui-font);color:#E5F4EA}
.rb-app--macro .macro-hero .hero-meta span{white-space:nowrap}
@media(max-width:1024px){
 .rb-app--macro .sidebar{top:72px;bottom:auto;height:calc(100dvh - 72px);width:228px;min-width:228px}
 .rb-app--macro .main{margin-left:0}
 .rb-app--macro .mobile-identity{display:flex;flex:1 1 auto;min-width:0;gap:8px}
 .rb-app--macro .mobile-identity .rb-mobile-mark{width:34px;height:34px;min-width:34px;border-radius:9px}
 .rb-app--macro .mobile-brand-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:2px;line-height:1.15}
 .rb-app--macro .mobile-brand-copy .rb-mobile-name{display:block;font:800 13px/16px var(--rb-ui-font);letter-spacing:.01em;color:#E5F4EA;white-space:nowrap}
 .rb-app--macro .mobile-brand-copy .rb-mobile-tagline{display:block;font:600 9px/12px var(--rb-ui-font);letter-spacing:.02em;color:#91B4A0;white-space:nowrap}
}
@media(max-width:760px){
 .rb-app--macro .topbar{height:64px;min-height:64px;padding:8px 12px;gap:7px}
 .rb-app--macro .sidebar{top:64px;height:calc(100dvh - 64px)}
 .rb-app--macro .rb-head-status{display:none}
 .rb-app--macro .rb-head-refresh{height:42px;min-height:42px;max-height:42px}
 .rb-app--macro .kpi-value{font-size:21px}
 .rb-app--macro .section-head h2{font-size:17px}
 .rb-app--macro .macro-hero{min-height:0;gap:12px;flex-wrap:wrap;padding:14px 15px}
 .rb-app--macro .macro-hero h2{font-size:23px}
 .rb-app--macro .macro-hero .hero-meta{flex:1 1 100%;max-width:none;padding:10px 0 0;border-left:0;border-top:1px solid #24543B;flex-direction:row;justify-content:space-between;align-items:center}
 .rb-app--macro .rb-footer{padding:12px 12px 25px}
}
@media(max-width:390px){
 .rb-app--macro .topbar{padding:7px 9px}
 .rb-app--macro .mobile-identity{gap:6px}
 .rb-app--macro .mobile-identity .rb-mobile-mark{width:34px;height:34px;min-width:34px}
 .rb-app--macro .mobile-brand-copy .rb-mobile-name{font-size:12px}
 .rb-app--macro .mobile-brand-copy .rb-mobile-tagline{font-size:8px}
 .rb-app--macro .rb-head-refresh{width:44px;min-width:44px;height:42px}
}
/* Drawer backdrop must sit below sticky topbar, allowing the menu button to close it. */
@media(max-width:1024px){.rb-app--macro .topbar{z-index:55}}