:root{color-scheme:light;--bhg-color-primary: #17324d;--bhg-color-primary-strong: #0d2438;--bhg-color-primary-soft: #e6eef6;--bhg-color-bg: #f5f7fa;--bhg-color-surface: #ffffff;--bhg-color-surface-alt: #eef2f6;--bhg-color-border: #d8e0e8;--bhg-color-border-strong: #b7c4d1;--bhg-color-text: #17202a;--bhg-color-muted: #667587;--bhg-color-heading: #101820;--bhg-color-good: #17633a;--bhg-color-good-soft: #e8f5ee;--bhg-color-warning: #b65f12;--bhg-color-warning-soft: #fff3e6;--bhg-color-danger: #a4232f;--bhg-color-danger-soft: #fdecef;--bhg-color-info: #24577a;--bhg-color-info-soft: #e6f1f8;--bhg-color-neutral: #5f6872;--bhg-color-neutral-soft: #eceff2;--bhg-shadow-subtle: 0 1px 2px rgb(15 23 42 / 7%);--bhg-shadow-elevated: 0 14px 34px rgb(15 23 42 / 16%);--bhg-radius-sm: 3px;--bhg-radius-md: 6px;--bhg-radius-lg: 10px;--bhg-space-1: 3px;--bhg-space-2: 6px;--bhg-space-3: 10px;--bhg-space-4: 14px;--bhg-space-5: 20px;--bhg-space-6: 28px;--bhg-sidebar-width: 220px;--bhg-sidebar-collapsed-width: 68px;--bhg-topbar-height: 52px;--bhg-sidebar-bg: #101820;--bhg-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--bhg-header-bg: var(--bhg-color-surface-alt);--bhg-cell-bg: var(--bhg-color-surface)}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bhg-color-bg);color:var(--bhg-color-text);font-family:var(--bhg-font-sans);font-size:13px;line-height:1.45;-webkit-font-smoothing:antialiased}h1,h2,h3,h4{margin:0 0 var(--bhg-space-2);color:var(--bhg-color-heading);font-weight:600}h1{font-size:20px}h2{font-size:16.5px}h3{font-size:13.5px}p{margin:0 0 var(--bhg-space-3)}a{color:var(--bhg-color-primary)}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--bhg-color-primary);outline-offset:2px}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}.app-shell{display:grid;grid-template-columns:var(--bhg-sidebar-width) minmax(0,1fr);min-height:100vh}.app-shell.sidebar-collapsed{grid-template-columns:var(--bhg-sidebar-collapsed-width) minmax(0,1fr)}.sidebar{display:flex;flex-direction:column;background:var(--bhg-sidebar-bg);color:#f8fafc;padding:var(--bhg-space-4) 0}.brand{display:flex;align-items:center;gap:var(--bhg-space-2);padding:0 var(--bhg-space-4) var(--bhg-space-4);border:none;background:none;color:inherit;cursor:pointer;text-align:left}.brand-mark{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:var(--bhg-radius-md);background:var(--bhg-color-primary);color:#fff;font-weight:700;flex-shrink:0}.brand-name{display:flex;flex-direction:column;line-height:1.2}.brand-name strong{font-size:13.5px}.brand-name span{font-size:10px;letter-spacing:.08em;color:#fff9;text-transform:uppercase}.sidebar-collapsed .brand-name{display:none}.sidebar-nav{display:flex;flex-direction:column;gap:var(--bhg-space-1);padding:0 var(--bhg-space-2);flex:1;overflow-y:auto}.nav-section{margin-top:var(--bhg-space-4)}.nav-section-label{display:block;padding:0 var(--bhg-space-2) var(--bhg-space-1);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#ffffff73}.sidebar-collapsed .nav-section-label{display:none}.nav-item{display:flex;align-items:center;gap:var(--bhg-space-3);padding:var(--bhg-space-2) var(--bhg-space-3);border-radius:var(--bhg-radius-md);border:none;background:none;color:#ffffffc7;text-decoration:none;cursor:pointer;font-size:12.5px;white-space:nowrap}.nav-item:hover{background:#ffffff0f;color:#fff}.nav-item.active{background:#ffffff1f;color:#fff;font-weight:600}.nav-item svg{flex-shrink:0;width:16px;height:16px}.sidebar-collapsed .nav-item{justify-content:center;width:38px;height:38px;padding:0}.sidebar-collapsed .nav-item span{display:none}.sidebar-footer{display:flex;align-items:center;justify-content:space-between;padding:var(--bhg-space-3) var(--bhg-space-4) 0;border-top:1px solid rgb(255 255 255 / 10%);margin-top:var(--bhg-space-3)}.sidebar-version{font-size:10px;color:#ffffff73}.sidebar-collapsed .sidebar-version{display:none}.sidebar-toggle{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:var(--bhg-radius-sm);border:none;background:#ffffff14;color:#fff;cursor:pointer}.sidebar-toggle svg{transition:transform .15s ease}.sidebar-collapsed .sidebar-toggle svg{transform:rotate(180deg)}.shell-main{display:flex;flex-direction:column;min-width:0}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;height:var(--bhg-topbar-height);padding:0 var(--bhg-space-5);background:#ffffffeb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--bhg-color-border)}.topbar-title{font-weight:600;font-size:13.5px;color:var(--bhg-color-heading)}.topbar-right{display:flex;align-items:center;gap:var(--bhg-space-3)}.topbar-status{display:flex;align-items:center;gap:var(--bhg-space-2);font-size:11.5px;color:var(--bhg-color-muted)}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--bhg-color-neutral)}.status-dot.ok{background:var(--bhg-color-good)}.status-dot.fail{background:var(--bhg-color-danger)}.topbar-divider{width:1px;height:24px;background:var(--bhg-color-border)}.content-area{flex:1;padding:var(--bhg-space-5)}.user-menu{position:relative}.user-menu-trigger{display:flex;align-items:center;gap:var(--bhg-space-2);border:none;background:none;cursor:pointer;padding:var(--bhg-space-1) var(--bhg-space-2);border-radius:var(--bhg-radius-md);color:var(--bhg-color-text)}.user-menu-trigger:hover{background:var(--bhg-color-surface-alt)}.avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--bhg-color-primary);color:#fff;font-weight:600;flex-shrink:0}.avatar-sm{width:24px;height:24px;font-size:11px}.avatar-lg{width:38px;height:38px;font-size:14px}.user-menu-name{font-size:12px;font-weight:500;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(300px,90vw);background:var(--bhg-color-surface);border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-lg);box-shadow:var(--bhg-shadow-elevated);z-index:30;overflow:hidden}.user-dropdown-card{display:flex;flex-direction:column;align-items:center;gap:var(--bhg-space-2);padding:var(--bhg-space-5) var(--bhg-space-4);text-align:center}.user-dropdown-card strong{font-size:13px}.user-dropdown-card .email{font-size:11.5px;color:var(--bhg-color-muted)}.dropdown-divider{height:1px;background:var(--bhg-color-border)}.dropdown-item{display:block;width:100%;text-align:left;padding:var(--bhg-space-3) var(--bhg-space-4);border:none;background:none;cursor:pointer;font-size:12.5px;color:var(--bhg-color-text);text-decoration:none}.dropdown-item:hover{background:var(--bhg-color-surface-alt)}.dropdown-item.danger{color:var(--bhg-color-danger)}.notification-bell{position:relative}.notification-bell-trigger{position:relative;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:var(--bhg-radius-md);border:none;background:none;cursor:pointer;color:var(--bhg-color-muted)}.notification-bell-trigger:hover{background:var(--bhg-color-surface-alt);color:var(--bhg-color-text)}.notification-badge{position:absolute;top:1px;right:1px;min-width:15px;height:15px;padding:0 4px;border-radius:999px;background:var(--bhg-color-danger);color:#fff;font-size:9px;font-weight:700;display:flex;align-items:center;justify-content:center}.notification-panel{width:min(360px,92vw);max-height:70vh;display:flex;flex-direction:column}.notification-panel-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bhg-space-4);border-bottom:1px solid var(--bhg-color-border)}.notification-panel-header h3{margin:0}.notification-panel-subtext{font-size:11px;color:var(--bhg-color-muted)}.notification-list{list-style:none;margin:0;padding:0;overflow-y:auto}.notification-item{display:flex;align-items:flex-start;gap:var(--bhg-space-2);width:100%;text-align:left;padding:var(--bhg-space-3) var(--bhg-space-4);border:none;background:none;border-bottom:1px solid var(--bhg-color-border);cursor:pointer;font-size:12px}.notification-item:hover{background:var(--bhg-color-surface-alt)}.notification-item--unread{background:var(--bhg-color-primary-soft)}.notification-dot{flex-shrink:0;width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--bhg-color-info)}.notification-item-body{flex:1;min-width:0}.notification-time{display:block;margin-top:2px;font-size:11px;color:var(--bhg-color-muted)}button{cursor:pointer}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--bhg-space-2);padding:6px 12px;border-radius:var(--bhg-radius-md);border:1px solid transparent;font-size:12.5px;font-weight:500;line-height:1.2}.btn-primary{background:var(--bhg-color-primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--bhg-color-primary-strong)}.btn-secondary{background:var(--bhg-color-surface);border-color:var(--bhg-color-border-strong);color:var(--bhg-color-text)}.btn-secondary:hover:not(:disabled){background:var(--bhg-color-surface-alt)}.btn-danger{background:var(--bhg-color-danger-soft);color:var(--bhg-color-danger)}button:disabled{opacity:.5;cursor:not-allowed}label{font-size:12px;color:var(--bhg-color-muted)}input,select,textarea{padding:5px 8px;border-radius:var(--bhg-radius-sm);border:1px solid var(--bhg-color-border-strong);background:var(--bhg-color-surface);color:var(--bhg-color-text)}input:disabled,select:disabled,textarea:disabled{background:var(--bhg-color-surface-alt);color:var(--bhg-color-muted)}table{width:100%;border-collapse:collapse;font-size:12.5px;background:var(--bhg-color-surface)}th,td{padding:var(--bhg-space-2) var(--bhg-space-3);border-bottom:1px solid var(--bhg-color-border);text-align:left}th{color:var(--bhg-color-muted);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.03em}.page{display:flex;flex-direction:column;gap:var(--bhg-space-4);max-width:1400px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--bhg-space-4);flex-wrap:wrap}.page-header h1,.page-header h2{margin-bottom:2px}.page-header-subtitle{color:var(--bhg-color-muted);font-size:12px;margin:0}.page-actions{display:flex;gap:var(--bhg-space-2);flex-wrap:wrap}.card{background:var(--bhg-color-surface);border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);box-shadow:var(--bhg-shadow-subtle);padding:var(--bhg-space-4)}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:var(--bhg-space-4)}.entity-card{display:block;width:100%;text-align:left;border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);box-shadow:var(--bhg-shadow-subtle);padding:var(--bhg-space-4);cursor:pointer;display:flex;flex-direction:column;gap:var(--bhg-space-2)}.entity-card:hover{border-color:var(--bhg-color-border-strong)}.entity-card-title{font-weight:600;color:var(--bhg-color-heading)}.entity-card-meta{font-size:11.5px;color:var(--bhg-color-muted)}.badge{display:inline-flex;align-items:center;gap:4px;padding:1px 8px;border-radius:999px;font-size:10.5px;font-weight:600}.badge-good{background:var(--bhg-color-good-soft);color:var(--bhg-color-good)}.badge-warning{background:var(--bhg-color-warning-soft);color:var(--bhg-color-warning)}.badge-danger{background:var(--bhg-color-danger-soft);color:var(--bhg-color-danger)}.badge-info{background:var(--bhg-color-info-soft);color:var(--bhg-color-info)}.badge-neutral{background:var(--bhg-color-neutral-soft);color:var(--bhg-color-neutral)}.state-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--bhg-space-2);text-align:center;padding:var(--bhg-space-6) var(--bhg-space-4);border:1px dashed var(--bhg-color-border-strong);border-radius:var(--bhg-radius-md);color:var(--bhg-color-muted)}.state-panel.state-error{border-style:solid;border-color:var(--bhg-color-danger-soft);background:var(--bhg-color-danger-soft);color:var(--bhg-color-danger)}.state-panel h3{color:inherit;margin:0}.loading-block{display:block;padding:var(--bhg-space-2) 0}.skeleton-line{display:block;height:12px;border-radius:var(--bhg-radius-sm);background:linear-gradient(90deg,var(--bhg-color-surface-alt) 25%,var(--bhg-color-border) 37%,var(--bhg-color-surface-alt) 63%);background-size:400% 100%;animation:skeleton-shimmer 1.4s ease infinite;margin-bottom:var(--bhg-space-2)}@keyframes skeleton-shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}[role=alert]{padding:var(--bhg-space-3) var(--bhg-space-4);border-radius:var(--bhg-radius-md);background:var(--bhg-color-danger-soft);color:var(--bhg-color-danger);font-size:13px}[role=status]:not(.state-panel):not(.loading-block){padding:var(--bhg-space-3) var(--bhg-space-4);border-radius:var(--bhg-radius-md);background:var(--bhg-color-info-soft);color:var(--bhg-color-info);font-size:13px}.auth-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bhg-color-bg);padding:var(--bhg-space-5)}.auth-card{width:min(420px,100%);background:var(--bhg-color-surface);border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-lg);box-shadow:var(--bhg-shadow-elevated);padding:var(--bhg-space-6);text-align:center}.auth-brand{display:flex;flex-direction:column;align-items:center;gap:var(--bhg-space-1);margin-bottom:var(--bhg-space-5)}.auth-brand-mark{width:48px;height:48px;border-radius:var(--bhg-radius-md);background:var(--bhg-color-primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}.auth-brand strong{font-size:16px;color:var(--bhg-color-heading)}.auth-brand span{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--bhg-color-muted)}.auth-card p{color:var(--bhg-color-muted);font-size:13.5px}.auth-spinner{width:32px;height:32px;margin:0 auto var(--bhg-space-4);border:3px solid var(--bhg-color-border);border-top-color:var(--bhg-color-primary);border-radius:50%;animation:auth-spin .8s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-icon{width:48px;height:48px;margin:0 auto var(--bhg-space-4);border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--bhg-color-info-soft);color:var(--bhg-color-info)}.auth-icon.danger{background:var(--bhg-color-danger-soft);color:var(--bhg-color-danger)}.auth-footnote{margin-top:var(--bhg-space-4);font-size:12px;color:var(--bhg-color-muted)}@media (max-width: 1024px){.content-area{padding:var(--bhg-space-4)}}@media (max-width: 768px){.app-shell{grid-template-columns:var(--bhg-sidebar-collapsed-width) minmax(0,1fr)}.brand-name,.nav-section-label,.sidebar-version{display:none}.nav-item{justify-content:center;width:44px;height:44px;padding:0}.nav-item span{display:none}.page-header{flex-direction:column}.user-menu-name{display:none}}.app-shell{grid-template-columns:var(--bhg-sidebar-width) minmax(0,1fr);transition:grid-template-columns .18s ease}.sidebar{position:sticky;top:0;height:100vh;gap:var(--bhg-space-4);padding:var(--bhg-space-4) var(--bhg-space-3);border-right:1px solid rgb(255 255 255 / 8%)}.brand{display:grid;justify-items:center;gap:var(--bhg-space-1);min-height:76px;padding:0 0 var(--bhg-space-2);text-decoration:none}.brand-logo{position:relative;display:block;width:min(140px,92%);padding-bottom:22px}.brand-logo img{display:block;width:100%;height:auto}.brand-group{position:absolute;right:2px;bottom:5px;color:#ffffffc7;font-size:18px;font-weight:300;letter-spacing:1.6px}.brand-product{position:absolute;left:0;bottom:0;color:#ffffff94;font-size:9px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.brand-compact-mark{display:none;width:34px;height:34px;align-items:center;justify-content:center;border:1px solid rgb(255 255 255 / 22%);border-radius:var(--bhg-radius-md);color:#fff;font-size:13px;font-weight:800}.sidebar-nav{gap:var(--bhg-space-1);padding:0}.nav-item{min-height:32px;gap:var(--bhg-space-3);border:1px solid transparent;border-radius:var(--bhg-radius-sm);color:#adbdcab3;padding:0 var(--bhg-space-3);transition:border-color .16s ease,background-color .16s ease,color .16s ease,transform .16s ease}.nav-item:hover,.nav-item:focus-visible{border-color:#ffffff17;background:#ffffff0f;color:#dbe6ef}.nav-item.active{border-color:#ffffff24;background:#ffffff1c;color:#fff}.nav-icon{display:flex;width:15px;height:15px;flex:0 0 auto}.nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis}.nav-section{display:grid;gap:var(--bhg-space-1);margin-top:var(--bhg-space-4);padding-top:var(--bhg-space-3);border-top:1px solid rgb(255 255 255 / 10%)}.nav-section-label{color:#adbdca8c;font-weight:700;letter-spacing:.1em}.sidebar-footer{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:var(--bhg-space-2);align-items:center;padding:var(--bhg-space-3) 0 0}.sidebar-version{text-align:center}.sidebar-toggle{border:1px solid transparent;background:transparent;color:#adbdca8a;transition:border-color .16s ease,background-color .16s ease,color .16s ease}.sidebar-toggle:hover,.sidebar-toggle:focus-visible{border-color:#ffffff2e;background:#ffffff12;color:#dbe6ef}.sidebar-collapsed .sidebar{align-items:center;padding-inline:var(--bhg-space-3)}.sidebar-collapsed .brand{min-height:48px}.sidebar-collapsed .brand-logo,.sidebar-collapsed .brand-group,.sidebar-collapsed .brand-product,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-section-label{display:none}.sidebar-collapsed .brand-compact-mark{display:inline-flex}.sidebar-collapsed .sidebar-nav,.sidebar-collapsed .nav-section{width:100%}.sidebar-collapsed .nav-item{width:38px;min-height:38px;justify-content:center;padding:0}.sidebar-collapsed .sidebar-footer{grid-template-columns:1fr;justify-items:center;border-top:0}.sidebar-collapsed .sidebar-version{display:block;font-size:10px}.shell-main{min-width:0;background:var(--bhg-color-bg)}.topbar{min-height:var(--bhg-topbar-height);height:auto;gap:var(--bhg-space-4)}.topbar-title{font-weight:700}.topbar-status{flex-wrap:wrap;justify-content:flex-end}.topbar-status-sep{width:1px;height:14px;background:var(--bhg-color-border)}.content-area{width:min(100%,1480px);margin:0 auto;padding:var(--bhg-space-5)}.page,.page-inner{width:100%;max-width:none}.page-header{align-items:flex-end;margin-bottom:var(--bhg-space-4)}.page-header h1{margin:0;font-size:22px;line-height:1.2;font-weight:700}.page-header-subtitle{max-width:760px;margin-top:var(--bhg-space-2);font-size:12px}.panel{border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);box-shadow:var(--bhg-shadow-subtle);padding:var(--bhg-space-4)}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:var(--bhg-space-3);margin-bottom:var(--bhg-space-4)}.panel-header h2,.panel h3{margin:0}.panel-kicker{margin:3px 0 0;color:var(--bhg-color-muted);font-size:11.5px}.btn{min-height:30px;border-radius:var(--bhg-radius-sm);transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.btn:hover:not(:disabled){box-shadow:0 6px 18px #0f172a14}.btn-sm{min-height:26px;padding:0 var(--bhg-space-3);font-size:11.5px}.icon-button{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:var(--bhg-radius-sm);background:transparent;color:var(--bhg-color-muted)}.icon-button:hover,.icon-button:focus-visible{border-color:var(--bhg-color-border);background:var(--bhg-color-surface-alt);color:var(--bhg-color-heading)}.btn-danger{border-color:var(--bhg-color-danger);background:#fff}.btn-danger:hover:not(:disabled){background:var(--bhg-color-danger-soft)}.search-input{min-height:32px;min-width:min(360px,100%);flex:1}.table-wrap{max-width:100%;overflow-x:auto}.panel-table-wrap{border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);box-shadow:var(--bhg-shadow-subtle);max-width:100%;overflow-x:auto}.sync-table{min-width:0;width:100%}.sync-table th,.sync-table td{white-space:nowrap;padding-left:var(--bhg-space-2);padding-right:var(--bhg-space-2)}.data-table{min-width:960px;border-collapse:collapse;table-layout:fixed}.data-table th{height:38px;background:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.data-table td{height:40px;vertical-align:middle}.data-table tbody tr:hover{background:#f9fbfd}.admin-users-table{min-width:860px}.admin-users-table th:nth-child(1),.admin-users-table td:nth-child(1){width:21%}.admin-users-table th:nth-child(2),.admin-users-table td:nth-child(2){width:21%}.admin-users-table th:nth-child(3),.admin-users-table td:nth-child(3){width:11%}.admin-users-table th:nth-child(4),.admin-users-table td:nth-child(4){width:18%}.admin-users-table th:nth-child(5),.admin-users-table td:nth-child(5){width:8%}.admin-users-table th:nth-child(6),.admin-users-table td:nth-child(6){width:11%}.admin-users-table th:nth-child(7),.admin-users-table td:nth-child(7){width:8%}.admin-users-table th:last-child,.admin-users-table td:last-child{width:9%}.user-cell{display:flex;min-width:0;align-items:center;gap:var(--bhg-space-2)}.user-cell span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;overflow:hidden;border-radius:50%;background:#0e304e;color:#fff;box-shadow:inset 0 0 0 1px #ffffff24}.user-avatar img{width:100%;height:100%;object-fit:cover}.user-avatar-xs{width:20px;height:20px;font-size:9px}.user-avatar-sm{width:28px;height:28px;font-size:11px}.user-avatar-lg{width:44px;height:44px;font-size:14px}.user-avatar-initials{font-weight:800;letter-spacing:.02em}.avatar{background:#0e304e}.user-menu-trigger{min-height:34px;border-radius:var(--bhg-radius-sm);padding:var(--bhg-space-1) var(--bhg-space-2)}.user-menu-name{max-width:180px;font-weight:700}.user-menu-chevron{width:11px;height:11px;color:var(--bhg-color-muted);transition:transform .16s ease}.user-menu-chevron.open{transform:rotate(180deg)}.dropdown-panel{border-radius:var(--bhg-radius-md)}.user-dropdown-card .badge{margin-top:var(--bhg-space-1)}.badge-row{display:flex;flex-wrap:wrap;gap:var(--bhg-space-1)}.muted{color:var(--bhg-color-muted)}.row-muted{opacity:.56}.row-actions{display:flex;flex-wrap:wrap;gap:var(--bhg-space-2)}.admin-page{gap:var(--bhg-space-4)}.admin-tabs{display:flex;gap:0;border-bottom:2px solid var(--bhg-color-border)}.admin-tab-btn{display:inline-flex;min-height:36px;align-items:center;gap:var(--bhg-space-2);border:0;border-bottom:2px solid transparent;background:transparent;color:var(--bhg-color-muted);font-size:12.5px;font-weight:700;margin-bottom:-2px;padding:0 var(--bhg-space-4)}.admin-tab-btn.active{border-bottom-color:var(--bhg-color-primary);color:var(--bhg-color-primary)}.tab-count{display:inline-flex;min-width:18px;height:18px;align-items:center;justify-content:center;border-radius:999px;background:var(--bhg-color-surface-alt);color:var(--bhg-color-muted);font-size:10.5px}.admin-tab-btn.active .tab-count{background:var(--bhg-color-primary-soft);color:var(--bhg-color-primary)}.admin-filters{display:flex;flex-wrap:wrap;align-items:center;gap:var(--bhg-space-3)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;background:#1018208f;padding:var(--bhg-space-4)}.modal-box{width:min(680px,100%);max-height:min(760px,calc(100vh - 48px));overflow:auto;border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);box-shadow:var(--bhg-shadow-elevated)}.modal-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:var(--bhg-space-3);border-bottom:1px solid var(--bhg-color-border);background:#fffffff5;padding:var(--bhg-space-4) var(--bhg-space-5)}.modal-header h2{margin:0;font-size:15.5px}.modal-body{display:grid;gap:var(--bhg-space-4);padding:var(--bhg-space-4)}.modal-form{display:grid;gap:var(--bhg-space-3)}.modal-form label,.scope-form-grid label{display:grid;gap:var(--bhg-space-1);color:var(--bhg-color-muted);font-size:11px;font-weight:700}.modal-form input:not([type=checkbox]),.modal-form select,.scope-form-grid select{min-height:32px;width:100%}.checkbox-field{display:flex!important;align-items:center;gap:var(--bhg-space-2)}.checkbox-field input{width:14px;height:14px;padding:0}.modal-actions{display:flex;justify-content:flex-end;gap:var(--bhg-space-2)}.admin-user-detail{display:flex;align-items:center;gap:var(--bhg-space-3);border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-bg);padding:var(--bhg-space-3)}.admin-detail-name,.admin-detail-email{margin:0}.admin-detail-name{color:var(--bhg-color-heading);font-weight:800}.admin-detail-email{color:var(--bhg-color-muted);font-size:11.5px}.scope-editor{display:grid;gap:var(--bhg-space-3);border-top:1px solid var(--bhg-color-border);padding-top:var(--bhg-space-4)}.scope-list{display:grid;gap:var(--bhg-space-2);list-style:none;margin:0;padding:0}.scope-list li{display:flex;align-items:center;justify-content:space-between;gap:var(--bhg-space-3);border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-sm);padding:var(--bhg-space-3)}.scope-list strong,.scope-list span{display:block}.scope-list span{color:var(--bhg-color-muted);font-size:11px}.scope-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--bhg-space-3)}@media (max-width: 900px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:1fr}.sidebar,.sidebar-collapsed .sidebar{position:static;height:auto;align-items:stretch}.sidebar-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar-toggle{display:none}.sidebar-collapsed .brand-logo,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-section-label{display:block}.sidebar-collapsed .brand-compact-mark{display:none}.sidebar-collapsed .nav-item{width:auto;padding:0 var(--bhg-space-3);justify-content:flex-start}.topbar,.page-header{align-items:stretch;flex-direction:column}.topbar-right,.topbar-status{justify-content:flex-start}.content-area{padding:var(--bhg-space-4)}.scope-form-grid{grid-template-columns:1fr}}.dashboard-page,.planning-page,.approvals-page,.consolidation-page{gap:var(--bhg-space-4)}.module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--bhg-space-4)}.module-card{display:grid;min-height:128px;align-content:start;gap:var(--bhg-space-2);border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);box-shadow:var(--bhg-shadow-subtle);color:inherit;padding:var(--bhg-space-5);text-decoration:none;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.module-card:hover,.module-card:focus-visible{border-color:var(--bhg-color-border-strong);box-shadow:0 10px 26px #0f172a17;transform:translateY(-1px)}.module-card span{width:max-content;border-radius:999px;background:var(--bhg-color-primary-soft);color:var(--bhg-color-primary);font-size:10px;font-weight:800;padding:2px 8px;text-transform:uppercase}.module-card strong{color:var(--bhg-color-heading);font-size:15.5px}.module-card p,.process-step p,.system-callout p,.add-line-panel p{margin:0;color:var(--bhg-color-muted)}.process-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--bhg-space-3)}.process-step{display:grid;min-height:100px;align-content:start;gap:var(--bhg-space-2);border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:linear-gradient(180deg,#fff,#f8fafc);padding:var(--bhg-space-3)}.process-step span{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:50%;background:var(--bhg-color-primary);color:#fff;font-size:11px;font-weight:800}.process-step strong{color:var(--bhg-color-heading)}.system-callout{display:grid;gap:var(--bhg-space-1);border:1px solid #f1c27d;border-left:4px solid var(--bhg-color-warning);border-radius:var(--bhg-radius-md);background:#fff9f0;padding:var(--bhg-space-4)}.system-callout strong{color:var(--bhg-color-heading)}.scope-chip-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:var(--bhg-space-3)}.scope-chip{display:grid;gap:2px;border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-sm);background:#f8fafc;padding:var(--bhg-space-3)}.scope-chip span{color:var(--bhg-color-info);font-size:11px;font-weight:800;text-transform:uppercase}.scope-chip strong{color:var(--bhg-color-heading)}.scope-chip small{color:var(--bhg-color-muted)}.control-panel{display:grid;gap:var(--bhg-space-4);border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);box-shadow:var(--bhg-shadow-subtle);padding:var(--bhg-space-4)}.filter-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:var(--bhg-space-3);align-items:end}.filter-bar label{display:grid;gap:var(--bhg-space-1);font-weight:700}.filter-bar input:not([type=checkbox]),.filter-bar select{width:100%;min-height:32px}.toggle-field{display:flex!important;min-height:32px;align-items:center;gap:var(--bhg-space-2);color:var(--bhg-color-text)}.toggle-field input{width:14px;height:14px;padding:0}.planning-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:var(--bhg-space-3)}.summary-tile{display:grid;gap:var(--bhg-space-1);border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-sm);background:#f8fafc;padding:var(--bhg-space-3)}.summary-tile span{color:var(--bhg-color-muted);font-size:10px;font-weight:800;text-transform:uppercase}.summary-tile strong{min-width:0;overflow:hidden;color:var(--bhg-color-heading);font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.budget-grid-wrap{max-height:calc(100vh - 360px);min-height:340px;overflow:auto;border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);box-shadow:var(--bhg-shadow-subtle)}.budget-table{min-width:1440px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:11.5px}.budget-table th,.budget-table td{height:36px;padding:5px 7px}.budget-table thead th{position:sticky;top:0;z-index:4;background:#f3f6fa;border-bottom:1px solid var(--bhg-color-border-strong);text-align:right}.budget-table thead th:first-child,.budget-table thead th:nth-child(2),.budget-table thead th:last-child,.budget-table thead th:nth-last-child(2){text-align:left}.budget-table tbody tr:hover td{background:#f9fbfd}.sticky-col{position:sticky;background:var(--bhg-color-surface)}.budget-table thead .sticky-col{z-index:6;background:#f3f6fa}.account-col{left:0;z-index:3}.contract-col{z-index:3;border-right:1px solid var(--bhg-color-border)}.account-cell strong,.account-cell span,.contract-cell strong,.contract-cell span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-cell strong,.contract-cell strong{color:var(--bhg-color-heading);font-size:11px}.account-cell span,.contract-cell span{color:var(--bhg-color-muted);font-size:10.5px}.money-input{width:100%;min-width:76px;height:26px;border-radius:var(--bhg-radius-sm);text-align:right}.budget-table td[data-status=dirty] .money-input{border-color:#d89029;background:#fff5df}.budget-table td[data-status=saving] .money-input{border-color:var(--bhg-color-info);background:var(--bhg-color-info-soft)}.budget-table td[data-status=saved] .money-input{border-color:#9fc9b1}.budget-table td[data-status=conflict] .money-input,.budget-table td[data-status=error] .money-input{border-color:var(--bhg-color-danger);background:var(--bhg-color-danger-soft)}.money-total{color:var(--bhg-color-heading);font-weight:800;text-align:right;white-space:nowrap}.add-line-panel{display:grid;grid-template-columns:minmax(240px,1.1fr) minmax(260px,1fr) minmax(220px,.8fr) auto;gap:var(--bhg-space-3);align-items:end;border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);box-shadow:var(--bhg-shadow-subtle);padding:var(--bhg-space-4)}.add-line-panel h3{margin-bottom:2px}.add-line-panel label{display:grid;gap:var(--bhg-space-1);font-weight:700}.add-line-panel select{min-height:32px;width:100%}.approvals-table th:first-child{width:36px}.approvals-table th:last-child,.cycles-table th:last-child{width:22%}.financial-table{min-width:1040px}.financial-table td:nth-child(3),.financial-table td:nth-child(4),.financial-table td:nth-child(5),.financial-table td:nth-child(6){font-variant-numeric:tabular-nums;text-align:right}.subtotal-row{background:#eef4f9;font-weight:800}.subtotal-row td{border-top:1px solid var(--bhg-color-border-strong)}.icon-button.danger{color:var(--bhg-color-danger)}.auth-logo{width:min(210px,78%);margin:0 auto}.auth-logo img{display:block;width:100%;height:auto;filter:invert(1)}@media (max-width: 1100px){.process-strip,.add-line-panel{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 720px){.process-strip,.add-line-panel{grid-template-columns:1fr}.budget-grid-wrap{max-height:none}}.planning-stepper-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:var(--bhg-space-4);align-items:start}.step-sidebar{position:sticky;top:calc(var(--bhg-topbar-height) + var(--bhg-space-4));display:grid;gap:var(--bhg-space-2)}.step-nav-item{display:grid;grid-template-columns:26px minmax(0,1fr);gap:var(--bhg-space-2);align-items:center;border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);color:var(--bhg-color-text);padding:var(--bhg-space-3);text-align:left}.step-nav-item:hover,.step-nav-item.active{border-color:var(--bhg-color-primary);background:var(--bhg-color-primary-soft)}.step-nav-item span{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:50%;background:var(--bhg-color-surface-alt);color:var(--bhg-color-muted);font-size:11px;font-weight:800}.step-nav-item.active span{background:var(--bhg-color-primary);color:#fff}.step-nav-item strong,.step-nav-item small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.step-nav-item strong{color:var(--bhg-color-heading);font-size:12px}.step-nav-item small{grid-column:2;color:var(--bhg-color-muted);font-size:10.5px}.step-workspace{display:grid;min-width:0;gap:var(--bhg-space-4)}.step-header{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--bhg-space-4);border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);box-shadow:var(--bhg-shadow-subtle);padding:var(--bhg-space-4)}.step-header h2{margin:0;font-size:18px}.step-header p{margin:var(--bhg-space-1) 0 0;color:var(--bhg-color-muted)}.step-eyebrow{display:inline-flex;margin-bottom:var(--bhg-space-1);color:var(--bhg-color-info);font-size:10px;font-weight:800;text-transform:uppercase}.step-metrics{display:grid;min-width:min(520px,100%);grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--bhg-space-2)}.budget-grid-wrap--step{max-height:calc(100vh - 350px)}.budget-table--step{min-width:2220px}.budget-table--step .account-col{width:320px}.budget-table--step .average-col{width:96px}.budget-table--step .summary-col{width:124px}.budget-table--step .pct-col{width:96px}.budget-table--step .justification-col,.budget-table--step .justification-cell{width:340px}.budget-table--step .actions-col{width:112px}.account-cell small{display:block;margin-top:2px;color:var(--bhg-color-info);font-size:10px}.justification-cell textarea{width:100%;min-height:46px;resize:vertical;line-height:1.25}.actual-month-cell{background:#eef7f1;color:#14532d;font-variant-numeric:tabular-nums;text-align:right}.actual-month-cell strong,.actual-month-cell span{display:block}.actual-month-cell strong{color:#14532d;font-size:11px}.actual-month-cell span{color:#3f7d55;font-size:9px;font-weight:800;text-transform:uppercase}.row-actions.compact{flex-wrap:wrap;gap:var(--bhg-space-1)}.row-actions.compact .btn{min-height:24px;padding:0 var(--bhg-space-2);font-size:11px}.row-actions-menu{position:relative;display:inline-flex}.row-actions-menu-trigger{font-weight:700;letter-spacing:1px}.row-actions-menu .dropdown-panel{width:max-content;min-width:160px;max-width:min(280px,90vw)}.data-table.compact-rows td{height:30px;padding-top:var(--bhg-space-1);padding-bottom:var(--bhg-space-1)}.scope-summary-cell{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.add-line-panel--compact{grid-template-columns:minmax(260px,1fr) minmax(220px,.7fr) auto}.inline-add-table-row td{height:auto;padding:var(--bhg-space-2);background:#f8fafc}.inline-add-trigger{display:inline-flex;min-height:34px;align-items:center;gap:var(--bhg-space-2);border:1px dashed var(--bhg-color-border-strong);border-radius:var(--bhg-radius-sm);background:#fff;color:var(--bhg-color-primary);font-weight:800;padding:0 var(--bhg-space-3)}.inline-add-trigger span{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:999px;background:var(--bhg-color-primary);color:#fff;font-size:15px;line-height:1}.inline-add-trigger:disabled{color:var(--bhg-color-muted);cursor:not-allowed}.inline-add-form{display:grid;grid-template-columns:minmax(360px,1.2fr) minmax(320px,1fr) auto;gap:var(--bhg-space-3);align-items:end}.inline-add-form label{display:grid;gap:var(--bhg-space-1);color:var(--bhg-color-muted);font-size:11px;font-weight:800;text-transform:uppercase}.inline-add-form select{min-height:34px;width:100%;font-size:12px;text-transform:none}.inline-add-actions{display:flex;gap:var(--bhg-space-2)}.step-footer{display:flex;justify-content:flex-end;gap:var(--bhg-space-2)}.version-tag{display:inline-flex;align-items:center;gap:var(--bhg-space-1);font-variant-numeric:tabular-nums}.review-summary-panel,.review-panel{display:grid;gap:var(--bhg-space-4)}.review-panel{border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);box-shadow:var(--bhg-shadow-subtle);padding:var(--bhg-space-4)}.review-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:var(--bhg-space-4)}.review-group-table td:nth-child(3),.review-group-table td:nth-child(4),.review-group-table td:nth-child(5),.review-line-table td:nth-child(3),.review-line-table td:nth-child(4),.review-line-table td:nth-child(5){text-align:right;font-variant-numeric:tabular-nums}.monthly-bars{display:grid;gap:var(--bhg-space-2)}.monthly-bar{display:grid;grid-template-columns:28px minmax(0,1fr);gap:var(--bhg-space-2);align-items:center}.monthly-bar span{color:var(--bhg-color-muted);font-size:11px;font-weight:700}.monthly-bar div{display:grid;gap:2px}.monthly-bar i,.monthly-bar b{display:block;height:6px;min-width:2px;border-radius:999px}.monthly-bar i{background:var(--bhg-color-primary)}.monthly-bar b{background:var(--bhg-color-warning)}.return-note,.table-context-strip{border:1px solid var(--bhg-color-warning-soft);border-radius:var(--bhg-radius-md);background:#fff9f0;color:var(--bhg-color-heading);padding:var(--bhg-space-3)}.table-context-strip{display:flex;align-items:center;gap:var(--bhg-space-3);border-bottom:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md) var(--bhg-radius-md) 0 0;background:var(--bhg-color-surface)}@media (max-width: 1100px){.planning-stepper-layout,.review-grid{grid-template-columns:1fr}.step-sidebar{position:static;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.step-header{align-items:stretch;flex-direction:column}.step-metrics{min-width:0}}@media (max-width: 720px){.step-metrics,.add-line-panel--compact,.inline-add-form{grid-template-columns:1fr}.inline-add-actions{justify-content:flex-start}}.meu-budget-table{min-width:860px}.meu-budget-table .disclosure-toggle{background:none;border:none;padding:0;font:inherit;font-weight:700;cursor:pointer;text-align:left}.meu-budget-table .row-group{cursor:pointer;background:#f4f7fb;font-weight:700}.meu-budget-table .row-account .disclosure-toggle{font-weight:600}.meu-budget-table .row-cost-center .disclosure-toggle,.meu-budget-table .row-month{font-weight:400;color:var(--bhg-color-text-muted)}.meu-budget-table .indent-1{padding-left:var(--bhg-space-4)}.meu-budget-table .indent-2{padding-left:var(--bhg-space-5, 2.5rem)}.meu-budget-table .indent-3{padding-left:calc(var(--bhg-space-5, 2.5rem) + var(--bhg-space-4))}.meu-budget-table .row-total{font-weight:700;background:#eef2f7}.budget-cockpit .panel-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:var(--bhg-space-3)}.cockpit-cycle-select{display:grid;gap:var(--bhg-space-1);font-weight:700}.cockpit-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:var(--bhg-space-3);margin:var(--bhg-space-3) 0}.cockpit-back{margin-bottom:var(--bhg-space-3)}.cockpit-quadrants{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:var(--bhg-space-3)}.cockpit-quadrant{display:grid;gap:var(--bhg-space-2);text-align:left;padding:var(--bhg-space-4);border:1px solid var(--bhg-color-border);border-radius:var(--bhg-radius-md);background:var(--bhg-color-surface);cursor:pointer}.cockpit-quadrant:hover{box-shadow:var(--bhg-shadow-subtle)}.cockpit-quadrant-metrics{display:grid;gap:var(--bhg-space-1);font-size:.9em;color:var(--bhg-color-text-muted)}.cockpit-table .cockpit-row{cursor:pointer}.cockpit-table .cockpit-row:hover{background:#f4f7fb}.sync-observability-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:var(--bhg-space-4)}.summary-tile-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:var(--bhg-space-3);margin:var(--bhg-space-3) 0}.impersonation-banner{display:flex;align-items:center;justify-content:space-between;gap:var(--bhg-space-3);padding:var(--bhg-space-2) var(--bhg-space-4);background:#fff3cd;color:#7a5c00;border-bottom:1px solid #f0d68a;font-weight:600}.audit-metadata{white-space:pre-wrap;font-family:monospace;font-size:.85em;background:#f4f7fb;padding:var(--bhg-space-3);border-radius:var(--bhg-radius-sm, 4px);margin:0}
