/* GCUELLAR ERP adaptation of Hope UI. Business forms preserve their original hooks. */
:root{--tblr-primary:#206bc4;--tblr-primary-rgb:32,107,196;--tblr-font-sans-serif:Inter,'Segoe UI',sans-serif;--erp-sidebar:250px;--erp-accent:#f76707}
[data-theme=forest]{--tblr-primary:#2b8a57;--tblr-primary-rgb:43,138,87;--erp-accent:#2fb344}
[data-theme=graphite]{--tblr-primary:#7952b3;--tblr-primary-rgb:121,82,179;--erp-accent:#ae3ec9}
html{--ink:var(--tblr-body-color);--muted:var(--tblr-secondary);--green:var(--tblr-primary);--line:var(--tblr-border-color);--paper:var(--tblr-body-bg);--soft:var(--tblr-bg-surface-secondary);--surface:var(--tblr-bg-surface-secondary)}
body.erp-hope{background:var(--tblr-body-bg);color:var(--tblr-body-color);font-family:var(--tblr-font-sans-serif);font-size:14px;line-height:1.5}
.erp-hope h1{font-size:26px;letter-spacing:-.5px;font-weight:600}.erp-hope h2{font-size:18px;letter-spacing:-.2px}.erp-hope small,.erp-hope .muted{color:var(--tblr-secondary)}
.erp-hope .sidebar{display:flex;flex-direction:column;align-items:stretch;width:var(--erp-sidebar);position:fixed;inset:0 auto 0 0;height:100vh;padding:24px 14px 16px;background:#182433;color:#dce4ef;border:0;z-index:1030;overflow:hidden;box-shadow:1px 0 0 #ffffff0c}
.erp-hope .sidebar .brand{margin:0 10px 27px;font-size:18px;gap:10px}.erp-hope .brand small{font-size:8px;color:#9ba9bc}.erp-hope .mark{border-radius:8px;background:var(--tblr-primary);width:36px;height:36px;font-size:25px}
.erp-hope .sidebar-label{margin:0 10px 8px;color:#9ba9bc;font-size:10px;letter-spacing:1px}.erp-hope .sidebar select{background-color:#223246;color:#e9eef6;border-color:#3b4a5c;font-size:12px;min-height:38px}
.erp-hope .sidebar nav{display:block;margin:20px -4px 15px;padding:0 4px;overflow:auto;flex:1;scrollbar-color:#516172 transparent;scrollbar-width:thin}
.erp-hope .sidebar nav a{color:#b9c6d7;padding:10px 12px;font-size:13px;border-radius:5px;margin:2px 0;white-space:normal}
.erp-hope .sidebar nav details{margin:5px 0;padding:0;background:none}.erp-hope .sidebar nav summary{display:flex;align-items:center;padding:12px 10px;color:#c9d4e3;font-size:13px;font-weight:500;list-style:none;border-radius:5px}
.erp-hope .sidebar nav details[open]>summary{background:transparent;color:#fff}.erp-hope .sidebar nav summary:hover,.erp-hope .sidebar nav a:hover{background:#25364b;color:#fff;text-decoration:none}
.erp-hope .sidebar nav details a{margin-left:31px;font-size:12px;padding:9px 10px}.erp-hope .sidebar nav a.active{background:#206bc426;box-shadow:inset 3px 0 var(--tblr-primary);border:0;color:#fff}
.erp-hope .menu-label{display:flex;align-items:center;gap:10px}.erp-hope .menu-icon{display:flex;opacity:.8}.erp-hope .sidebar-bottom{display:flex;padding:15px 5px 0;margin:0;border-color:#344052;flex-shrink:0}.erp-hope .sidebar-bottom strong{font-size:12px}.erp-hope .sidebar-bottom small{color:#98a8bc}.erp-hope .sidebar-bottom .avatar{background:#2b3e55;color:#fff;flex-shrink:0}.erp-hope .logout{padding:0;min-width:28px}
.erp-hope .shell{margin-left:var(--erp-sidebar);min-width:0}.erp-hope .topbar{height:65px;padding:0 30px;background:var(--tblr-bg-surface);gap:12px;border-bottom:1px solid var(--tblr-border-color)}
.erp-hope .breadcrumb{margin:0;font-size:13px;color:var(--tblr-secondary)}.erp-hope .breadcrumb b{color:var(--tblr-body-color)}.erp-hope .top-actions{gap:6px;width:auto}.erp-hope .toolbar-btn{padding:8px;gap:7px;min-height:36px;min-width:36px;background:transparent;border-color:transparent;color:var(--tblr-secondary)}.erp-hope .toolbar-btn:hover{background:var(--tblr-bg-surface-secondary);color:var(--tblr-primary)}.erp-hope kbd{font:10px var(--tblr-font-sans-serif);background:var(--tblr-bg-surface-secondary);color:var(--tblr-secondary);border:1px solid var(--tblr-border-color);padding:3px 5px;border-radius:3px}.erp-hope .profile-link{margin-left:8px;background:var(--tblr-primary);color:#fff;width:32px;height:32px;border-radius:6px}
.erp-hope main{max-width:none;padding:24px 30px;margin:auto;min-width:0}.erp-hope .qa-banner{background:#f59f000c;border-color:#f59f0040;color:#a66b00;padding:6px 12px;margin-bottom:18px;font-size:10px;letter-spacing:.3px;text-align:left}
.erp-hope .companybar{margin-bottom:24px;padding-bottom:18px;gap:12px;border-color:var(--tblr-border-color)}.erp-hope .companybar strong{font-size:14px}.erp-hope .companybar select{max-width:380px;width:380px;font-size:12px;margin:0}.erp-hope .companybar .eyebrow{color:var(--tblr-secondary)}
.erp-hope .page-heading{margin:18px 0 24px}.erp-hope .page-heading p{font-size:13px;color:var(--tblr-secondary)}.erp-hope .eyebrow{color:var(--tblr-secondary);font-size:10px;letter-spacing:1px;margin-bottom:6px}
.erp-hope .card{background:var(--tblr-bg-surface);color:var(--tblr-body-color);padding:22px;border:1px solid var(--tblr-border-color);border-radius:6px;box-shadow:0 2px 4px #18243304;min-width:0;display:block;margin-bottom:22px}
.erp-hope .btn{font-family:inherit;letter-spacing:normal;gap:8px;font-weight:500;min-height:36px;padding:8px 14px;border-radius:4px;font-size:13px}.erp-hope .btn-primary,.erp-hope .btn:not(.secondary):not(.danger):not([class*=btn-]):not(.toolbar-btn){background:var(--tblr-primary);border-color:var(--tblr-primary);color:#fff}.erp-hope .btn:hover{filter:brightness(.97)}
.erp-hope .btn.secondary{background:var(--tblr-bg-surface);color:var(--tblr-body-color);border-color:var(--tblr-border-color)}.erp-hope .btn.secondary:hover{background:var(--tblr-bg-surface-secondary)}.erp-hope .btn.danger{background:transparent;color:var(--tblr-danger);border-color:var(--tblr-danger)}.erp-hope .small-btn{min-height:30px;padding:5px 10px;font-size:12px}
.erp-hope label{color:var(--tblr-body-color);font-size:12px;font-weight:500;margin:12px 0}.erp-hope input:not([type=checkbox]):not([type=radio]),.erp-hope select,.erp-hope textarea{background-color:var(--tblr-bg-forms);color:var(--tblr-body-color);border-color:var(--tblr-border-color);border-radius:4px;font-size:13px;min-height:38px;padding:8px 12px;box-shadow:none;max-width:100%}.erp-hope select{padding-right:32px}
.erp-hope input:focus,.erp-hope select:focus,.erp-hope textarea:focus{outline:none;border-color:var(--tblr-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--tblr-primary) 15%,transparent)}.erp-hope input[type=checkbox],.erp-hope input[type=radio]{display:inline-block;width:16px;height:16px;min-height:16px;margin:0 6px 0 0;padding:0;vertical-align:middle;flex-shrink:0}.erp-hope .form-check-input:checked{background-color:var(--tblr-primary);border-color:var(--tblr-primary)}
.erp-hope .table-wrap{overflow:auto;max-width:100%}.erp-hope table:not(.invoice-table){font-size:12px;color:var(--tblr-body-color);margin-bottom:0}.erp-hope th{background:var(--tblr-bg-surface-secondary);color:var(--tblr-secondary);font-size:11px;font-weight:600;border-color:var(--tblr-border-color);padding:12px;text-transform:none;letter-spacing:0}.erp-hope td{padding:12px;border-color:var(--tblr-border-color-translucent);color:inherit}.erp-hope .num{font-variant-numeric:tabular-nums}.erp-hope .report-scroll{max-height:70vh}.erp-hope .report-table thead th,.erp-hope .report-subtotal{background:var(--tblr-bg-surface-secondary)}.erp-hope .table>:not(caption)>*>*{background-color:transparent}.erp-hope .table>thead>tr>th,.erp-hope .table>tfoot>tr>th{background:var(--tblr-bg-surface-secondary)}
.erp-hope .metrics article,.erp-hope .indicator-strip,.erp-hope .module-card{background:var(--tblr-bg-surface);border-color:var(--tblr-border-color);border-radius:6px;box-shadow:0 2px 4px #18243304}.erp-hope .metrics article{padding:20px}.erp-hope .metrics article:first-child{border-top:1px solid var(--tblr-border-color)}.erp-hope .metrics strong{font-size:25px;font-weight:600;color:var(--tblr-body-color)}.erp-hope .metrics article>span{color:var(--tblr-secondary)}.erp-hope .indicator-strip strong{font-size:20px;color:var(--tblr-body-color)}.erp-hope .indicator-strip span,.erp-hope .indicator-strip small{color:var(--tblr-secondary)}.erp-hope .indicator-strip>div{border-color:var(--tblr-border-color)}
.erp-hope .section-heading h2{font-size:17px}.erp-hope .portal-grid{grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr)}.erp-hope .portal-heading h1{font-size:28px}.erp-hope .profile-avatar{border-radius:8px;background:color-mix(in srgb,var(--tblr-primary) 12%,transparent);color:var(--tblr-primary)}.erp-hope .profile-top,.erp-hope .profile-theme{border-color:var(--tblr-border-color)}.erp-hope .task-list a,.erp-hope .deadline-row{color:var(--tblr-body-color);border-color:var(--tblr-border-color)}.erp-hope .task-list a:hover{background:var(--tblr-bg-surface-secondary)}.erp-hope .task-icon{background:color-mix(in srgb,var(--tblr-primary) 10%,transparent);color:var(--tblr-primary);border-radius:5px}.erp-hope .portal-empty{background:var(--tblr-bg-surface-secondary);color:var(--tblr-secondary)}.erp-hope .system-note{background:color-mix(in srgb,var(--erp-accent) 9%,transparent);color:var(--tblr-body-color);border-color:var(--erp-accent)}
.erp-hope .module-card{color:var(--tblr-body-color)}.erp-hope .module-card h3{font-size:16px}.erp-hope .module-card p{color:var(--tblr-secondary)}.erp-hope .module-number,.erp-hope .module-arrow,.erp-hope .module-state{color:var(--tblr-primary)}.erp-hope .module-pending{background:var(--tblr-bg-surface-secondary);box-shadow:none}.erp-hope .badge{font-size:11px;padding:5px 8px;font-weight:500;border-radius:4px;letter-spacing:0}.erp-hope .badge.green{background:#2fb34418;color:#238636}.erp-hope .badge.amber{background:#f59f001a;color:#b47700}.erp-hope .badge.gray{background:var(--tblr-bg-surface-secondary);color:var(--tblr-secondary)}
.erp-hope .notice{background:#2fb34412;color:var(--tblr-body-color);border-color:#2fb34455}.erp-hope .error{background:#d6393910;color:var(--tblr-danger);border-color:#d6393933}.erp-hope details[open]{background:var(--tblr-bg-surface-secondary)}.erp-hope summary{color:var(--tblr-primary)}.erp-hope .tabs a.selected{background:color-mix(in srgb,var(--tblr-primary) 12%,transparent);color:var(--tblr-primary)}.erp-hope footer{border-color:var(--tblr-border-color);color:var(--tblr-secondary)}
.erp-hope .trend-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:10px 0 20px}.erp-hope .trend-series{min-width:0}.erp-hope .trend-series>strong{display:block;font-size:12px;margin-bottom:15px}.erp-hope .trend-series .sparkline{display:block}.erp-hope .trend-series svg{max-width:100%;height:auto}.erp-hope .finance-trend{overflow:hidden}.erp-hope .finance-trend .table{min-width:630px}
.erp-hope .offcanvas{background:var(--tblr-bg-surface);color:var(--tblr-body-color);z-index:1050}.erp-hope .offcanvas-header{border-bottom:1px solid var(--tblr-border-color)}.erp-hope .offcanvas-body label{margin-top:24px}.erp-hope .offcanvas-body select{margin-top:6px}.erp-hope .modal-footer{font-size:12px}.erp-hope #navigation-results{max-height:50vh;overflow:auto}.erp-hope .dropdown-menu{z-index:1040;min-width:250px}.erp-hope .dropdown-header{font-size:12px}.erp-hope .dropdown-item{font-size:13px}.erp-hope .btn-close{min-width:24px;min-height:24px}.erp-hope .offcanvas-backdrop,.erp-hope .modal-backdrop{z-index:1040}
[data-bs-theme=dark] .erp-hope .qa-banner{color:#ffca6e}[data-bs-theme=dark] .erp-hope .badge.amber{color:#ffca6e}[data-bs-theme=dark] .erp-hope .badge.green{color:#6bd88b}[data-bs-theme=dark] .erp-hope .onboarding{background:var(--tblr-bg-surface)}
[data-density=compact] .erp-hope table:not(.invoice-table) td,[data-density=compact] .erp-hope table:not(.invoice-table) th{padding-top:6px;padding-bottom:6px}[data-layout-width=boxed] .erp-hope main{max-width:1320px}
.erp-hope.login-page{background:var(--tblr-body-bg)}.erp-hope .login-card{max-width:420px;padding:32px;border-top:3px solid var(--tblr-primary)}.erp-hope .login-main{flex:1;display:flex;padding:24px 20px;align-items:center;justify-content:center}.erp-hope .login-header{padding:26px 5vw}.erp-hope .login-header .brand{margin:0}.erp-hope .login-card h1{font-size:24px}.erp-hope .login-submit{width:100%;margin-top:24px}.erp-hope .login-card label{margin:20px 0 8px}.erp-hope .login-card input{min-height:42px}.erp-hope .login-footer{padding:22px 5vw;margin-top:0}.erp-hope .login-help{font-size:12px}.erp-hope .password-field button{color:var(--tblr-primary)}
@media(min-width:992px){.erp-hope .sidebar-toggle{display:none}}
@media(max-width:991px){.erp-hope .sidebar{display:none}.erp-hope .sidebar.mobile-open{display:flex!important;width:270px;position:fixed;inset:0 auto 0 0;z-index:1035;box-shadow:0 0 0 100vw #0007}.erp-hope .sidebar.mobile-open>form,.erp-hope .sidebar.mobile-open>.sidebar-label{display:block}.erp-hope .sidebar.mobile-open nav{display:block;flex:1}.erp-hope .sidebar.mobile-open nav a{white-space:normal}.erp-hope .sidebar.mobile-open nav a span{display:initial}.erp-hope .sidebar.mobile-open .sidebar-bottom{display:flex}.erp-hope .shell{margin-left:0}.erp-hope .sidebar-toggle{display:inline-flex}.erp-hope main{padding:20px}.erp-hope .topbar{padding:0 20px}.erp-hope .portal-grid{grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr)}}
@media(max-width:650px){.erp-hope main{padding:16px}.erp-hope .topbar{height:58px;padding:0 16px;justify-content:space-between}.erp-hope .toolbar-label,.erp-hope kbd{display:none}.erp-hope .companybar{align-items:stretch;flex-direction:column;gap:8px}.erp-hope .companybar select{width:100%;max-width:none}.erp-hope .companybar strong{font-size:13px}.erp-hope .companybar small{margin-left:0;display:block}.erp-hope .page-heading{align-items:flex-start;flex-wrap:wrap}.erp-hope h1,.erp-hope .portal-heading h1{font-size:24px}.erp-hope .portal-grid{grid-template-columns:1fr}.erp-hope .trend-grid{grid-template-columns:1fr}.erp-hope .card{padding:16px}.erp-hope .module-grid{grid-template-columns:1fr 1fr}.erp-hope .module-card h3{font-size:14px}.erp-hope .metrics strong{font-size:20px}.erp-hope .indicator-strip strong{font-size:15px}.erp-hope .section-heading{flex-wrap:wrap}.erp-hope .offcanvas{max-width:100vw}}
.erp-hope input:not([type=checkbox]):not([type=radio]),.erp-hope select,.erp-hope textarea{border:1px solid var(--tblr-border-color)}
.erp-hope .brand .mark{color:#fff}
.erp-hope .pill{background:var(--tblr-bg-surface-secondary);color:var(--tblr-secondary);border-color:var(--tblr-border-color)}
.erp-hope input[type=checkbox],.erp-hope input[type=radio]{border:1px solid var(--tblr-border-color)}
.erp-hope .sidebar-mobile-close{display:none}
[data-bs-theme=dark] .erp-hope main a:not(.btn):not(.module-card):not(.deadline-row){color:#80baff}
@media(max-width:991px){.erp-hope .sidebar-mobile-close{display:block;position:absolute;right:8px;top:7px;border:0;background:transparent;color:#cad5e3;font-size:22px;width:30px;height:30px;cursor:pointer}}
@media print{.erp-hope .sidebar,.erp-hope .topbar,.erp-hope .offcanvas,.erp-hope .modal,.erp-hope .qa-banner{display:none!important}.erp-hope .shell{margin:0}.erp-hope main{padding:0;max-width:none}.erp-hope{background:#fff!important;color:#000!important}.erp-hope .card{box-shadow:none;border:0}.erp-hope .report-scroll{overflow:visible;max-height:none}}
@media(max-width:650px){.erp-hope .breadcrumb{display:none}}
.erp-hope .trend-series .sparkline{width:100%}.erp-hope .trend-series .sparkline svg{width:100%;height:auto}
.erp-hope .trend-series .sparkline{height:auto;line-height:0}.erp-hope .trend-series .sparkline svg{display:block;position:static}

/* Persistent company context and module navigation. */
.erp-hope .organization-label{margin-top:16px;margin-bottom:6px}
.erp-hope .topbar{position:sticky;top:0;z-index:1020;height:auto;min-height:82px;padding-top:10px;padding-bottom:10px}
.erp-hope .topbar .breadcrumb{flex:1;min-width:0}
.erp-hope .header-company{width:350px;max-width:38vw;flex-shrink:0;margin:0}
.erp-hope .header-company label{display:block;font-size:9px;letter-spacing:1px;color:var(--tblr-secondary);margin:0 0 3px}
.erp-hope .header-company select{margin:0;font-size:12px;width:100%;text-overflow:ellipsis}
.erp-hope .company-readonly{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;border-left:3px solid var(--tblr-warning);padding:12px 16px;margin-bottom:20px;background:var(--tblr-bg-surface-secondary);font-size:12px}
.erp-hope .company-readonly strong{width:100%}.erp-hope .company-readonly a{margin-left:auto}
@media(min-width:992px) and (max-width:1250px){.erp-hope .topbar .toolbar-label,.erp-hope .topbar kbd{display:none}.erp-hope .header-company{width:300px}.erp-hope .topbar{padding-left:20px;padding-right:20px}}
@media(max-width:767px){.erp-hope .topbar{flex-wrap:wrap;gap:8px}.erp-hope .topbar .breadcrumb{display:none}.erp-hope .top-actions{margin-left:auto}.erp-hope .header-company{width:100%;max-width:none}.erp-hope .topbar{padding:10px 16px}.erp-hope .header-company select{font-size:12px}}

/* Hope's light navigation, indigo accent and spacious cards. The aliases retain
   compatibility with existing report templates without loading a second theme. */
:root{
    --hope-primary:#3a57e8;--hope-primary-rgb:58,87,232;--hope-ink:#232d42;
    --hope-muted:#64718a;--hope-surface:#fff;--hope-background:#f5f6fa;
    --hope-subtle:#f2f5fb;--hope-line:#e6eaf2;--hope-accent:#f6a447;
    --tblr-primary:var(--hope-primary);--tblr-primary-rgb:var(--hope-primary-rgb);
    --tblr-body-color:var(--hope-ink);--tblr-secondary:var(--hope-muted);
    --tblr-body-bg:var(--hope-background);--tblr-bg-surface:var(--hope-surface);
    --tblr-bg-surface-secondary:var(--hope-subtle);--tblr-bg-forms:var(--hope-surface);
    --tblr-border-color:var(--hope-line);--tblr-border-color-translucent:var(--hope-line);
    --tblr-danger:#bd352a;--tblr-warning:#d48b1d;--erp-accent:var(--hope-accent);
    --tblr-font-sans-serif:Inter,'Segoe UI',Arial,sans-serif;--erp-sidebar:268px;
    --bs-primary:var(--hope-primary);--bs-primary-rgb:var(--hope-primary-rgb);
    --bs-body-bg:var(--hope-background);--bs-body-color:var(--hope-ink);
    --bs-border-color:var(--hope-line);--bs-link-color:var(--hope-primary);
    --bs-link-hover-color:var(--hope-primary);--bs-secondary-color:var(--hope-muted);
}
[data-theme=forest]{--hope-primary:#188765;--hope-primary-rgb:24,135,101;--hope-accent:#d2a648;--tblr-primary:var(--hope-primary);--tblr-primary-rgb:var(--hope-primary-rgb);--erp-accent:var(--hope-accent)}
[data-theme=graphite]{--hope-primary:#7752cc;--hope-primary-rgb:119,82,204;--hope-accent:#ba79da;--tblr-primary:var(--hope-primary);--tblr-primary-rgb:var(--hope-primary-rgb);--erp-accent:var(--hope-accent)}
[data-bs-theme=dark]{--hope-ink:#e6ebf5;--hope-muted:#abb6cb;--hope-surface:#202a3d;--hope-background:#171f2f;--hope-subtle:#283349;--hope-line:#354057;--tblr-danger:#ff9689;--tblr-warning:#f5bd5f;color-scheme:dark}
html{--nav-text:var(--hope-muted);--nav-active:var(--hope-subtle);--accent:var(--hope-accent);--dark:var(--hope-surface);--ink:var(--hope-ink);--muted:var(--hope-muted);--green:var(--hope-primary);--line:var(--hope-line);--paper:var(--hope-background);--soft:var(--hope-subtle);--surface:var(--hope-subtle)}
body.erp-hope{font-size:14px;line-height:1.6}
.erp-hope h1,.erp-hope h2,.erp-hope h3,.erp-hope h4,.erp-hope h5,.erp-hope h6{color:var(--hope-ink)}
.erp-hope :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid color-mix(in srgb,var(--hope-primary) 65%,white);outline-offset:3px}
.erp-hope .skip-link{position:fixed;left:20px;top:-80px;z-index:1100;padding:12px 18px;background:var(--hope-primary);color:#fff;border-radius:8px}
.erp-hope .skip-link:focus{top:12px}
.erp-hope .sidebar{background:var(--hope-surface);color:var(--hope-ink);padding:28px 20px 20px;border-right:1px solid var(--hope-line);box-shadow:4px 0 24px #17274b03;transform:none}
.erp-hope .sidebar .brand{color:var(--hope-ink);margin:0 4px 31px;font-size:18px;letter-spacing:.7px;gap:11px}
.erp-hope .brand .mark{background:var(--hope-primary);border-radius:10px;color:#fff;box-shadow:0 4px 10px color-mix(in srgb,var(--hope-primary) 20%,transparent);width:39px;height:39px;font-size:25px;padding:0}
.erp-hope .brand small{color:var(--hope-muted);font-size:8px;letter-spacing:1.6px}
.erp-hope .sidebar-label{color:var(--hope-muted);margin:0 4px 8px;font-size:9px;font-weight:650;letter-spacing:1.3px}
.erp-hope .sidebar .organization-label{margin-top:17px;margin-bottom:6px}
.erp-hope .sidebar>form{margin:0}
.erp-hope .sidebar select{background-color:var(--hope-subtle);border:1px solid var(--hope-line);color:var(--hope-ink);border-radius:8px;font-size:12px;min-height:41px}
.erp-hope .sidebar>form:first-of-type select{background-color:color-mix(in srgb,var(--hope-primary) 7%,var(--hope-surface));border-color:color-mix(in srgb,var(--hope-primary) 21%,var(--hope-surface));color:var(--hope-primary);font-weight:600}
.erp-hope .sidebar nav{margin:25px -5px 20px;padding:0 5px;scrollbar-color:var(--hope-line) transparent}
.erp-hope .sidebar nav>a{font-weight:600;font-size:13px;padding:12px 14px;margin-bottom:17px}
.erp-hope .sidebar nav a,.erp-hope .sidebar nav summary{color:var(--hope-muted);border-radius:8px}
.erp-hope .sidebar nav summary{padding:12px 11px;font-size:12px;font-weight:600;letter-spacing:.1px}
.erp-hope .sidebar nav details[open]>summary{color:var(--hope-ink);background:transparent}
.erp-hope .sidebar nav summary:hover,.erp-hope .sidebar nav a:hover{background:var(--hope-subtle);color:var(--hope-primary)}
.erp-hope .sidebar nav details a{margin-left:31px;padding:9px 11px;font-size:12px}
.erp-hope .sidebar nav a.active{background:var(--hope-primary);color:#fff;box-shadow:0 5px 12px color-mix(in srgb,var(--hope-primary) 18%,transparent);border:0}
.erp-hope .sidebar nav summary::after{font-size:17px;font-weight:400}
.erp-hope .menu-icon{opacity:1}
.erp-hope .menu-icon svg{width:20px;height:20px}
.erp-hope .sidebar-bottom{border-color:var(--hope-line);padding:18px 3px 0;gap:10px}
.erp-hope .sidebar-bottom strong{color:var(--hope-ink);font-size:12px;display:block;overflow-wrap:anywhere}
.erp-hope .sidebar-bottom small{color:var(--hope-muted);font-size:10px}
.erp-hope .sidebar-bottom .avatar{background:color-mix(in srgb,var(--hope-primary) 12%,var(--hope-surface));color:var(--hope-primary);border-radius:10px;width:36px;height:36px}
.erp-hope .logout{color:var(--hope-muted);border-radius:7px}
.erp-hope .logout:hover{background:var(--hope-subtle);color:var(--hope-primary)}
.erp-hope .topbar{min-height:88px;border-bottom:1px solid var(--hope-line);background:var(--hope-surface);box-shadow:0 3px 22px #17274b03;padding:14px 32px;gap:16px}
.erp-hope .topbar .sidebar-toggle{position:static;transform:none;width:auto;height:auto;margin:0;right:auto;left:auto;top:auto;bottom:auto;flex-shrink:0;box-shadow:none}
.erp-hope .breadcrumb{font-size:12px;display:flex;gap:5px;flex-wrap:wrap;line-height:1.5}
.erp-hope .breadcrumb b{font-weight:600;color:var(--hope-ink)}
.erp-hope .top-actions{gap:3px}
.erp-hope .toolbar-btn{border-radius:9px;padding:8px;box-shadow:none}
.erp-hope .toolbar-btn svg{width:20px;height:20px}
.erp-hope .profile-link{background:color-mix(in srgb,var(--hope-primary) 12%,var(--hope-surface));color:var(--hope-primary);border-radius:10px;margin-left:7px;width:36px;height:36px;font-weight:650}
.erp-hope .header-company{width:360px;max-width:36vw;border-left:1px solid var(--hope-line);padding-left:20px}
.erp-hope .header-company label{font-size:9px;font-weight:600;letter-spacing:1.2px;margin-bottom:4px}
.erp-hope .header-company select{background-color:var(--hope-subtle);border:1px solid var(--hope-line);min-height:38px;border-radius:7px;font-size:12px;font-weight:500}
.erp-hope main{padding:25px 32px 30px}
.erp-hope .qa-banner{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:var(--hope-muted);padding:0 0 14px;font-size:10px;letter-spacing:.45px;margin:0 0 10px;border-bottom:1px solid var(--hope-line)}
.erp-hope .qa-banner::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--hope-accent);flex-shrink:0}
.erp-hope .page-heading{margin:22px 0 26px;gap:20px}
.erp-hope h1{font-size:29px;font-weight:600;letter-spacing:-.8px}
.erp-hope h2{font-size:18px;font-weight:600;letter-spacing:-.2px}
.erp-hope h3{font-size:16px;font-weight:600}
.erp-hope .page-heading p{font-size:13px;line-height:1.65;max-width:770px}
.erp-hope .eyebrow{color:var(--hope-primary);font-size:9px;font-weight:650;letter-spacing:1.6px;margin-bottom:8px}
.erp-hope .card{padding:26px;border-radius:12px;border:1px solid color-mix(in srgb,var(--hope-line) 45%,transparent);box-shadow:0 5px 24px #17274b05;margin-bottom:24px}
.erp-hope .card h2{margin-bottom:8px}
.erp-hope .btn{min-height:39px;border-radius:8px;font-size:12px;font-weight:600;letter-spacing:.1px;padding:9px 16px;box-shadow:none}
.erp-hope .btn-primary,.erp-hope .btn:not(.secondary):not(.danger):not([class*=btn-]):not(.toolbar-btn){background:var(--hope-primary);border-color:var(--hope-primary);box-shadow:0 4px 9px color-mix(in srgb,var(--hope-primary) 13%,transparent)}
.erp-hope .btn-primary:hover,.erp-hope .btn-primary:focus{background:var(--hope-primary);border-color:var(--hope-primary);filter:brightness(.92);color:#fff}
.erp-hope .btn.secondary{background:var(--hope-surface);color:var(--hope-ink);border:1px solid var(--hope-line)}
.erp-hope .btn.secondary:hover{background:var(--hope-subtle);color:var(--hope-primary)}
.erp-hope .small-btn{padding:6px 11px;min-height:32px;font-size:11px}
.erp-hope .btn:disabled,.erp-hope input:disabled,.erp-hope select:disabled,.erp-hope textarea:disabled{opacity:.65;cursor:not-allowed}
.erp-hope input:not([type=checkbox]):not([type=radio]),.erp-hope select,.erp-hope textarea{border:1px solid var(--hope-line);border-radius:7px;min-height:42px;line-height:1.5;padding:10px 12px;font-size:13px;background-color:var(--hope-surface);color:var(--hope-ink)}
.erp-hope select{padding-right:34px}
.erp-hope textarea{display:block;width:100%;margin-top:6px;resize:vertical}
.erp-hope label{font-weight:600;font-size:12px;margin:13px 0;line-height:1.5}
.erp-hope label small{font-weight:400}
.erp-hope .form-control:disabled,.erp-hope input[readonly],.erp-hope textarea[readonly]{background:var(--hope-subtle)}
.erp-hope th{background:var(--hope-subtle);color:var(--hope-muted);padding:13px 14px;font-size:11px;font-weight:600}
.erp-hope td{padding:14px;border-color:var(--hope-line);font-size:12px}
.erp-hope .table-hover>tbody>tr:hover>*{box-shadow:none;background:color-mix(in srgb,var(--hope-primary) 3%,var(--hope-surface));color:var(--hope-ink)}
.erp-hope .table{--bs-table-color:var(--hope-ink);--bs-table-hover-color:var(--hope-ink);--bs-table-border-color:var(--hope-line);--bs-table-bg:transparent}
.erp-hope .table>:not(caption)>*>*{color:var(--hope-ink)}
.erp-hope .table>thead>tr>th{color:var(--hope-muted)}
.erp-hope .table-vcenter td{vertical-align:middle}
.erp-hope .metrics article,.erp-hope .indicator-strip,.erp-hope .module-card{border:1px solid color-mix(in srgb,var(--hope-line) 65%,transparent);border-radius:12px;box-shadow:0 5px 24px #17274b05}
.erp-hope .metrics article{padding:24px;position:relative;overflow:hidden}
.erp-hope .metrics article:first-child{border-top:1px solid var(--hope-line)}
.erp-hope .metrics article::before{content:'';display:block;width:27px;height:4px;border-radius:5px;background:var(--hope-primary);margin-bottom:15px}
.erp-hope .metrics article:nth-child(2)::before{background:#079aa2}
.erp-hope .metrics article:nth-child(3)::before{background:#f6a447}
.erp-hope .metrics article:nth-child(4)::before{background:#9770df}
.erp-hope .metrics strong{font-weight:600;font-size:28px;letter-spacing:-.7px;margin:8px 0}
.erp-hope .module-card{padding:22px;transition:border-color .16s,transform .16s;position:relative;overflow:hidden}
.erp-hope a.module-card:hover{border-color:var(--hope-primary);transform:translateY(-2px);text-decoration:none}
.erp-hope .module-number{display:inline-grid;place-items:center;min-width:34px;height:34px;border-radius:9px;font-size:12px;background:color-mix(in srgb,var(--hope-primary) 9%,var(--hope-surface));font-weight:600;margin-bottom:16px}
.erp-hope .module-card p{font-size:12px;line-height:1.65}
.erp-hope .module-pending{background:var(--hope-subtle)}
.erp-hope .badge{border-radius:5px;padding:5px 8px;font-size:10px;font-weight:600;line-height:1.3;letter-spacing:.15px}
.erp-hope .badge.green{background:#1aa05314;color:#167744}
.erp-hope .badge.amber{background:#f6a44720;color:#a4650a}
.erp-hope .badge.gray{background:var(--hope-subtle);color:var(--hope-muted)}
.erp-hope .bg-success-lt,.erp-hope .bg-green-lt{background:#1aa05314!important;color:#167744!important}
.erp-hope .bg-yellow-lt,.erp-hope .bg-warning-lt{background:#f6a44720!important;color:#a4650a!important}
.erp-hope .bg-secondary-lt{background:var(--hope-subtle)!important;color:var(--hope-muted)!important}
.erp-hope .bg-primary-lt{background:color-mix(in srgb,var(--hope-primary) 9%,var(--hope-surface))!important;color:var(--hope-primary)!important}
.erp-hope .bg-danger-lt{background:#c0322114!important;color:var(--tblr-danger)!important}
.erp-hope .text-orange{color:var(--hope-accent)!important}
.erp-hope .row-cards{--bs-gutter-x:24px;--bs-gutter-y:0}
.erp-hope .notice,.erp-hope .error{border-radius:9px;font-size:13px}
.erp-hope .company-readonly{border-radius:9px;background:color-mix(in srgb,var(--hope-accent) 9%,var(--hope-surface));border-left-color:var(--hope-accent)}
.erp-hope .tabs{gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--hope-line);padding-bottom:10px}
.erp-hope .tabs a{border-radius:7px;padding:8px 14px}
.erp-hope .tabs a.selected{background:color-mix(in srgb,var(--hope-primary) 9%,var(--hope-surface));color:var(--hope-primary);font-weight:600}
.erp-hope main details[open]{background:var(--hope-subtle);border-radius:9px;padding:15px}
.erp-hope main details form{min-width:0}
.erp-hope summary{color:var(--hope-primary)}
.erp-hope .dropdown-menu,.erp-hope .modal-content,.erp-hope .offcanvas,.erp-hope .list-group-item{background:var(--hope-surface);color:var(--hope-ink);border-color:var(--hope-line)}
.erp-hope .dropdown-menu{box-shadow:0 8px 35px #17274b15;border-radius:10px;padding:9px}
.erp-hope .dropdown-header{color:var(--hope-muted);font-size:11px;font-weight:600;padding:10px}
.erp-hope .dropdown-item{border-radius:6px;color:var(--hope-ink);padding:8px 10px;font-size:12px}
.erp-hope .dropdown-item:hover,.erp-hope .list-group-item-action:hover{background:var(--hope-subtle);color:var(--hope-primary)}
.erp-hope .offcanvas{width:380px;max-width:100vw}
.erp-hope .modal-content{border-radius:12px;box-shadow:0 14px 50px #17274b1c}
.erp-hope .modal-header,.erp-hope .modal-footer,.erp-hope .offcanvas-header{border-color:var(--hope-line)}
.erp-hope .modal-title,.erp-hope .offcanvas-title{font-size:18px}
.erp-hope .text-secondary{color:var(--hope-muted)!important}
.erp-hope .alert-info{background:color-mix(in srgb,var(--hope-primary) 8%,var(--hope-surface));border-color:color-mix(in srgb,var(--hope-primary) 20%,var(--hope-surface));color:var(--hope-ink);font-size:12px;border-radius:8px}
.erp-hope footer{margin-top:38px;font-size:10px;letter-spacing:.15px}
.erp-hope .portal-heading h1{font-size:29px}
.erp-hope .profile-avatar,.erp-hope .company-icon,.erp-hope .onboarding-icon{background:color-mix(in srgb,var(--hope-primary) 9%,var(--hope-surface));color:var(--hope-primary);border-radius:12px}
[data-bs-theme=dark] .erp-hope .badge.green{color:#7adfac}
[data-bs-theme=dark] .erp-hope .badge.amber{color:#ffc775}
[data-bs-theme=dark] .erp-hope .bg-success-lt,[data-bs-theme=dark] .erp-hope .bg-green-lt{color:#7adfac!important}
[data-bs-theme=dark] .erp-hope .bg-yellow-lt,[data-bs-theme=dark] .erp-hope .bg-warning-lt{color:#ffc775!important}
[data-bs-theme=dark] .erp-hope .btn-close{filter:invert(1) grayscale(1) brightness(2)}
[data-bs-theme=dark] .erp-hope .qa-banner{color:var(--hope-muted)}
[data-bs-theme=dark] .erp-hope .sidebar>form:first-of-type select,[data-bs-theme=dark] .erp-hope .eyebrow,[data-bs-theme=dark] .erp-hope .profile-link{color:#adbcff}
[data-bs-theme=dark] .erp-hope main a:not(.btn):not(.module-card):not(.deadline-row){color:#adbcff}
[data-bs-theme=dark] .erp-hope main :is(.text-primary,.module-number,.module-arrow,.module-state){color:#adbcff!important}
[data-bs-theme=dark] .erp-hope .bg-primary-lt{color:#adbcff!important}
[data-bs-theme=dark] .erp-hope main summary{color:#adbcff}

/* A calm split entry screen using the same product palette. */
.erp-hope.login-page{display:flex;flex-direction:column;min-height:100vh;background:var(--hope-surface)}
.erp-hope .login-header{padding:27px 4vw;border-bottom:1px solid var(--hope-line);position:relative;z-index:1}
.erp-hope .login-header .brand{font-size:18px;color:var(--hope-ink)}
.erp-hope .qa-chip{background:#fff6e6;border:1px solid #f7dfb5;color:#96651b;font-size:10px;padding:5px 12px;border-radius:6px;letter-spacing:.3px}
.erp-hope .login-main{display:grid;grid-template-columns:1.08fr 1fr;max-width:none;width:100%;padding:0;margin:0;align-items:stretch;flex:1}
.erp-hope .hope-login-story{display:flex;flex-direction:column;justify-content:center;background:#f1f4ff;padding:70px max(45px,6vw);position:relative;overflow:hidden}
.erp-hope .hope-login-story::after{content:'';width:360px;height:360px;border:70px solid #3a57e807;border-radius:50%;position:absolute;bottom:-180px;left:-160px;pointer-events:none}
.erp-hope .hope-login-story .eyebrow{color:#3a57e8;font-size:10px;letter-spacing:2px;margin-bottom:26px}
.erp-hope .hope-login-story h2{font-size:clamp(34px,3.3vw,52px);line-height:1.18;letter-spacing:-1.8px;color:#232d42;font-weight:600;margin-bottom:23px}
.erp-hope .hope-login-story>p{font-size:15px;color:#64718a;line-height:1.8;max-width:420px}
.erp-hope .hope-login-flow{display:grid;gap:12px;margin:30px 0 38px;max-width:390px;position:relative;z-index:1}
.erp-hope .hope-login-flow>div{display:grid;grid-template-columns:40px 1fr;column-gap:13px;align-items:center;background:#fff;border:1px solid #e6eaf6;border-radius:12px;padding:16px 19px;box-shadow:0 7px 18px #30418c04}
.erp-hope .hope-flow-icon{grid-row:span 2;display:grid;place-items:center;background:#edf0fe;border-radius:9px;color:#3a57e8;height:40px;font-size:12px;font-weight:600}
.erp-hope .hope-login-flow strong{font-size:13px;font-weight:600;color:#232d42}
.erp-hope .hope-login-flow small{font-size:11px;color:#64718a}
.erp-hope .hope-login-caption{color:#8290a8;font-size:11px;letter-spacing:.1px}
.erp-hope .hope-login-access{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:55px 30px;background:var(--hope-surface)}
.erp-hope .login-card{width:100%;max-width:410px;padding:0;border:0;box-shadow:none;border-radius:0;margin:0}
.erp-hope .login-symbol{display:none}
.erp-hope .login-card h1{font-size:27px;letter-spacing:-.7px;margin-bottom:10px}
.erp-hope .login-card .muted{font-size:13px;line-height:1.7;margin-bottom:28px}
.erp-hope .login-card input{min-height:46px;border-radius:7px}
.erp-hope .login-card label{margin:20px 0 8px;font-size:12px}
.erp-hope .login-submit{min-height:46px;margin-top:24px;justify-content:space-between;padding:11px 17px}
.erp-hope .login-help{margin-top:27px;border-top:1px solid var(--hope-line);padding-top:20px;font-size:11px;color:var(--hope-muted)}
.erp-hope .login-help strong{font-size:12px;font-weight:600;color:var(--hope-ink)}
.erp-hope .login-help p{margin:5px 0 0;line-height:1.7}
.erp-hope .login-environment{margin:26px 0 0;color:var(--hope-muted);font-size:10px}
.erp-hope .login-footer{padding:20px 4vw;margin:0;border-top:1px solid var(--hope-line);background:var(--hope-surface);font-size:10px}
@media(min-width:992px) and (max-width:1350px){.erp-hope .topbar{padding:14px 24px}.erp-hope .header-company{width:300px;max-width:35vw;padding-left:14px}.erp-hope .topbar .toolbar-label,.erp-hope .topbar kbd{display:none}.erp-hope .breadcrumb{font-size:11px}.erp-hope main{padding:24px}}
@media(max-width:991px){.erp-hope .sidebar.mobile-open{width:278px;padding:28px 20px 20px;box-shadow:0 0 0 100vw #141c3380}.erp-hope .sidebar-mobile-close{color:var(--hope-muted)}.erp-hope .topbar{padding:12px 22px;min-height:80px}.erp-hope .header-company{width:330px;max-width:43vw}.erp-hope .toolbar-label,.erp-hope kbd{display:none}.erp-hope main{padding:22px}.erp-hope .hope-login-story{padding:50px 35px}.erp-hope .hope-login-story h2{font-size:36px}.erp-hope .hope-login-access{padding:45px 28px}}
@media(max-width:767px){.erp-hope .topbar{padding:10px 16px;gap:8px;min-height:0}.erp-hope .topbar .breadcrumb{display:none}.erp-hope .header-company{width:100%;max-width:none;border:0;padding:0}.erp-hope .header-company select{min-height:37px;font-size:11px}.erp-hope .header-company label{font-size:8px}.erp-hope main{padding:17px 16px}.erp-hope .page-heading{margin:18px 0 23px}.erp-hope h1,.erp-hope .portal-heading h1{font-size:25px}.erp-hope .card{padding:19px}.erp-hope .metrics{gap:12px}.erp-hope .metrics article{padding:18px}.erp-hope .metrics strong{font-size:23px}.erp-hope .module-card{padding:18px}.erp-hope .login-main{grid-template-columns:1fr}.erp-hope .hope-login-story{display:none}.erp-hope .hope-login-access{padding:45px 25px}.erp-hope .login-header{padding:24px}.erp-hope .login-header .brand{font-size:16px}.erp-hope .login-header .brand small{font-size:7px}.erp-hope .qa-chip{font-size:9px;padding:4px 8px}.erp-hope .login-footer{padding:20px 24px}.erp-hope .login-environment{text-align:center}.erp-hope .qa-banner{font-size:9px;letter-spacing:0}.erp-hope .tabs{gap:3px}.erp-hope .tabs a{font-size:11px;padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.erp-hope *,.erp-hope *::before,.erp-hope *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{html{--hope-ink:#111;--hope-muted:#555;--hope-surface:#fff;--hope-background:#fff;--hope-subtle:#f5f5f5;--hope-line:#ddd;color-scheme:light}.erp-hope .skip-link,.erp-hope .company-readonly{display:none!important}.erp-hope main{padding:0}.erp-hope .metrics article::before{display:none}.erp-hope .card{padding:0;box-shadow:none;border:0}.erp-hope a{color:inherit!important}}
