:root{--bg:#f3f2ed;--bg-soft:#f8f7f3;--surface:#ffffffe6;--surface-solid:#fffefa;--surface-2:#f7f5ef;--text:#1d1d1b;--muted:#72716a;--line:#24231f1c;--line-strong:#24231f33;--accent:#e45d3f;--accent-2:#c8442d;--accent-3:#20201e;--ink:#20201e;--glow:#e45d3f2e;--danger:#c33b37;--warning:#b86d13;--success:#15806a;--status-bg:#edf8f3;--status-border:#15806a2e;--status-warn-bg:#fff7e8;--status-warn-border:#b86d1333;--shadow:0 18px 60px #1f1e1b14;--shadow-soft:0 8px 26px #1f1e1b0f;--field-bg:#fffefa;--table-head:#f1efe8;--table-row:#fffefa;--table-row-alt:#fbfaf6;--table-row-hover:#f6f2ea;--radius-xl:20px;--radius-lg:16px;--radius-md:12px;--sidebar-width:272px;--sidebar-collapsed-width:82px}html.theme-dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111210;--bg-soft:#181916;--surface:#1f201df0;--surface-solid:#1c1d1a;--surface-2:#23241f;--text:#f2f0e8;--muted:#a7a49b;--line:#eeeadc1f;--line-strong:#eeeadc38;--accent:#f0785b;--accent-2:#ff9a7f;--accent-3:#f7f4eb;--ink:#f7f4eb;--glow:#f0785b33;--danger:#ff8580;--warning:#efb35e;--success:#5dc9ae;--status-bg:#15806a2e;--status-border:#5dc9ae38;--status-warn-bg:#b86d132e;--status-warn-border:#efb35e38;--shadow:0 20px 65px #00000047;--shadow-soft:0 10px 30px #0003;--field-bg:#22231f;--table-head:#272822;--table-row:#1c1d1a;--table-row-alt:#20211d;--table-row-hover:#2a2923}html{background:var(--bg)}body.nexus-app{background:radial-gradient(circle at 88% -12%, #e45d3f14, transparent 28rem), var(--bg);color:var(--text);letter-spacing:-.01em;font-family:Manrope,Segoe UI,sans-serif}html.theme-dark body.nexus-app,html.theme-dark body.nexus-app .app-shell,html.theme-dark body.nexus-app .main,html.theme-dark body.nexus-app .page{background:radial-gradient(circle at 88% -12%, #f0785b0f, transparent 28rem), var(--bg)!important}body.nexus-app:before{display:none}.nexus-app .app-shell{background:0 0}.nexus-app .sidebar,html.theme-dark .nexus-app .sidebar{width:var(--sidebar-width);color:#f5f2e9;border:0;border-right:1px solid #ffffff0f;gap:1rem;padding:1rem;box-shadow:8px 0 32px #1d1d1b14;background:radial-gradient(circle at 20% 0,#f0785b26,#0000 17rem),#1e1f1c!important}.nexus-app .sidebar-top{border-bottom:1px solid #ffffff14;align-items:center;gap:.6rem;min-height:64px;padding:.35rem .25rem .8rem}.nexus-app .brand{grid-template-rows:auto auto;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:.08rem .75rem}.nexus-app .brand-logo{background:#fff;border:1px solid #ffffff24;border-radius:14px;grid-row:1/3;width:48px;height:48px;padding:2px;box-shadow:0 8px 24px #0000003d}.nexus-app .brand small{color:#f58b70;letter-spacing:.18em;align-self:end;font-size:.58rem}.nexus-app .brand h1{letter-spacing:-.035em;align-self:start;font-size:1rem;color:#fff!important}.nexus-app .brand-branches{background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;grid-column:1/-1;margin-top:.55rem;padding:.5rem .65rem;font-size:.7rem;color:#aaa99f!important}.nexus-app .sidebar-close{color:#d9d6cb;width:36px;min-width:36px;min-height:36px;box-shadow:none;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:10px;margin:0}.nexus-app .sidebar-close:hover{color:#fff;box-shadow:none;background:#ffffff1c}.nexus-app .nav{gap:.22rem;padding:.2rem 0}.nexus-app .nav a,html.theme-dark .nexus-app .nav a{border:1px solid #0000;border-radius:12px;gap:.72rem;min-height:43px;padding:.52rem .62rem;font-size:.82rem;font-weight:650;transition:color .16s,background .16s,transform .16s;color:#c5c3ba!important}.nexus-app .nav a:hover,html.theme-dark .nexus-app .nav a:hover{border-color:#ffffff0f;transform:translate(2px);color:#fff!important;background:#ffffff0f!important}.nexus-app .nav a.active,html.theme-dark .nexus-app .nav a.active{box-shadow:0 10px 24px #c8442d33;color:#fff!important;background:linear-gradient(110deg,#e45d3ff0,#c8442df0)!important;border-color:#f48b703d!important}.nexus-app .nav-icon,html.theme-dark .nexus-app .nav-icon{border-radius:9px;width:30px;height:30px;color:currentColor!important;background:#ffffff0f!important;border:0!important}.nexus-app .nav a.active .nav-icon,html.theme-dark .nexus-app .nav a.active .nav-icon{color:#fff!important;background:#ffffff24!important}.nexus-app .nav-icon svg{width:17px;height:17px}.nexus-app .nav-expiry-card,html.theme-dark .nexus-app .nav-expiry-card{border-radius:12px;color:#f4d1c8!important;box-shadow:none!important;background:#f0785b14!important;border-color:#f0785b3d!important}.nexus-app .nav-expiry-card small,html.theme-dark .nexus-app .nav-expiry-card small{color:#f59780!important}.nexus-app .nav-expiry-card strong,html.theme-dark .nexus-app .nav-expiry-card strong{color:#fff!important}.nexus-app .nav-expiry-card span,html.theme-dark .nexus-app .nav-expiry-card span{color:#c9c7bf!important}html.theme-dark .nexus-app .nav-expiry-card{background:#ffffff0b!important;border-color:#ff9a7f33!important}html.theme-dark .nexus-app .nav-expiry-card small{color:#ff9a7f!important}html.theme-dark .nexus-app .nav-expiry-card strong{color:#f7f4eb!important}html.theme-dark .nexus-app .nav-expiry-card span{color:#b9b5aa!important}.nexus-app .nav-expiry-card.is-urgent,html.theme-dark .nexus-app .nav-expiry-card.is-urgent{background:#c33b3733!important;border-color:#ff858075!important;box-shadow:0 10px 24px #c33b371f!important}.nexus-app .nav-expiry-card.is-urgent small,.nexus-app .nav-expiry-card.is-urgent strong,.nexus-app .nav-expiry-card.is-urgent span,html.theme-dark .nexus-app .nav-expiry-card.is-urgent small,html.theme-dark .nexus-app .nav-expiry-card.is-urgent strong,html.theme-dark .nexus-app .nav-expiry-card.is-urgent span{color:#ffd5d2!important}.nexus-app .sidebar-footer{border-top-color:#ffffff14;gap:.5rem;padding-top:.8rem}.nexus-app .user-chip,html.theme-dark .nexus-app .user-chip{border-radius:12px;padding:.55rem;background:#ffffff0a!important;border:1px solid #ffffff14!important}.nexus-app .user-chip:hover{background:#ffffff14!important}.nexus-app .user-avatar{color:#fff;box-shadow:none;background:#f0785b}.nexus-app .user-meta strong{color:#f5f2e9!important}.nexus-app .user-meta small{color:#99988f!important}.nexus-app .sidebar-footer .secondary,html.theme-dark .nexus-app .sidebar-footer .secondary{color:#bab8ae!important;box-shadow:none!important;background:#ffffff0a!important;border-color:#ffffff14!important}html.sidebar-collapsed .nexus-app .brand{grid-template-columns:1fr;display:grid}html.sidebar-collapsed .nexus-app .brand-logo{grid-row:auto;width:44px;height:44px}.nexus-app .main{min-width:0;padding:clamp(.7rem,1.4vw,1.25rem);background:0 0!important}.nexus-app .page{-webkit-backdrop-filter:none;backdrop-filter:none;border:0;border-radius:0;padding:clamp(1rem,1.7vw,1.5rem);overflow:visible;box-shadow:none!important;background:0 0!important}.nexus-app .page:before{display:none}.nexus-app .page-head,html.theme-dark .nexus-app .page-head{z-index:120;-webkit-backdrop-filter:blur(18px)saturate(1.25);backdrop-filter:blur(18px)saturate(1.25);border-radius:0;margin:calc(-1*clamp(1rem,1.7vw,1.5rem)) calc(-1*clamp(1rem,1.7vw,1.5rem)) 1.35rem;padding:1rem clamp(1rem,1.7vw,1.5rem);border:0!important;border-bottom:1px solid var(--line)!important;background:color-mix(in srgb, var(--bg) 88%, transparent)!important;box-shadow:none!important}.nexus-app .page-head h2{letter-spacing:-.055em;font-size:clamp(1.5rem,2.1vw,2rem);font-weight:700;color:var(--text)!important}.nexus-app .page-head .eyebrow,.nexus-app .section-title{color:var(--accent-2);letter-spacing:.14em;font-size:.65rem}.nexus-app .page-head p:not(.eyebrow){font-size:.82rem;color:var(--muted)!important}.nexus-app .theme-toggle,.nexus-app .notif-toggle,.nexus-app .sidebar-reopen,html.theme-dark .nexus-app .theme-toggle,html.theme-dark .nexus-app .notif-toggle,html.theme-dark .nexus-app .sidebar-reopen{border-radius:13px;width:42px;height:42px;border:1px solid var(--line)!important;background:var(--surface-solid)!important;color:var(--text)!important;box-shadow:var(--shadow-soft)!important}.nexus-app .theme-toggle:hover,.nexus-app .notif-toggle:hover,.nexus-app .sidebar-reopen:hover{transform:translateY(-1px);border-color:var(--line-strong)!important}.nexus-app .notif-badge{background:var(--accent);border-color:var(--bg)}.nexus-app .notif-panel,html.theme-dark .nexus-app .notif-panel{border-radius:16px;padding:.65rem;border:1px solid var(--line)!important;background:var(--surface-solid)!important;box-shadow:var(--shadow)!important}.nexus-app .card,.nexus-app .dashboard-kpi,.nexus-app .dashboard-panel,.nexus-app .report-kpi,.nexus-app .report-panel,.nexus-app .payables-card,.nexus-app .receivables-card,.nexus-app .settings-add-panel,.nexus-app .filter-accordion,.nexus-app .movement-panel,.nexus-app .movement-meta-card,.nexus-app .movement-side-card,.nexus-app .movement-people-card,.nexus-app .movement-note-card{-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line)!important;border-radius:var(--radius-lg)!important;background:var(--surface-solid)!important;color:var(--text)!important;box-shadow:var(--shadow-soft)!important}.nexus-app .card:hover,.nexus-app .dashboard-kpi:hover,.nexus-app .dashboard-panel:hover,.nexus-app .report-panel:hover{border-color:var(--line-strong)!important;box-shadow:0 14px 38px #1f1e1b17!important}.nexus-app .card h3,.nexus-app .dashboard-panel h3,.nexus-app .report-panel h3,.nexus-app .modal-head h3{letter-spacing:-.035em;color:var(--text)!important}.nexus-app .dashboard-hero,.nexus-app .report-hero,.nexus-app .movement-hero,html.theme-dark .nexus-app .dashboard-hero,html.theme-dark .nexus-app .report-hero,html.theme-dark .nexus-app .movement-hero{color:#fff!important;background:radial-gradient(circle at 88% 15%,#f0785b47,#0000 15rem),linear-gradient(125deg,#20211e 0%,#2c2d28 62%,#39352f 100%)!important;border:1px solid #ffffff14!important;border-radius:22px!important;box-shadow:0 22px 52px #1f1e1b29!important}.nexus-app .dashboard-hero:after{border-color:#f0785b21}.nexus-app .dashboard-date,.nexus-app .report-period,.nexus-app .movement-type-chip{color:#f59780!important}.nexus-app .dashboard-hero-copy,.nexus-app .report-hero-copy,.nexus-app .movement-hero-copy,.nexus-app .dashboard-hero-side span{color:#f6f3eaad!important}.nexus-app .dashboard-hero-side,.nexus-app .report-hero-meta,.nexus-app .movement-hero-side{background:#ffffff0f!important;border-color:#ffffff1a!important;border-radius:16px!important}.nexus-app .dashboard-kpi:before{background:var(--kpi-color,var(--accent));border-radius:0 0 8px 8px;width:auto;height:3px;inset:0 1rem auto}.nexus-app .dashboard-kpi,.nexus-app .report-kpi{min-height:128px;padding:1.05rem}.nexus-app .dashboard-kpi-value,.nexus-app .report-number,.nexus-app .stat-value{color:var(--text);text-shadow:none}.nexus-app .table-wrap,.nexus-app .inventory-table-wrap,.nexus-app .product-table-wrap,.nexus-app .report-table-wrap,.nexus-app .receipt-items-wrap,html.theme-dark .nexus-app .table-wrap,html.theme-dark .nexus-app .page [class*=table-wrap]{overflow:auto;border:1px solid var(--line)!important;border-radius:var(--radius-lg)!important;background:var(--surface-solid)!important;box-shadow:var(--shadow-soft)!important}.nexus-app table{border-spacing:0}.nexus-app th,html.theme-dark .nexus-app th{letter-spacing:.075em;box-shadow:none;padding:.72rem .78rem;font-size:.65rem;font-weight:800;border-bottom-color:var(--line)!important;background:var(--table-head)!important;color:var(--muted)!important}.nexus-app td,html.theme-dark .nexus-app td{padding:.7rem .78rem;font-size:.84rem;border-bottom-color:var(--line)!important;color:var(--text)!important}.nexus-app table tbody tr:nth-child(odd),html.theme-dark .nexus-app table tbody tr:nth-child(odd){background:var(--table-row)!important}.nexus-app table tbody tr:nth-child(2n),html.theme-dark .nexus-app table tbody tr:nth-child(2n){background:var(--table-row-alt)!important}.nexus-app table tbody tr:hover,html.theme-dark .nexus-app table tbody tr:hover{background:var(--table-row-hover)!important}.nexus-app label,html.theme-dark .nexus-app label{font-size:.82rem;font-weight:650;color:var(--text)!important}.nexus-app input[type=text],.nexus-app input[type=email],.nexus-app input[type=password],.nexus-app input[type=number],.nexus-app input[type=date],.nexus-app input[type=search],.nexus-app select,.nexus-app textarea,html.theme-dark .nexus-app input,html.theme-dark .nexus-app select,html.theme-dark .nexus-app textarea{min-height:44px;border:1px solid var(--line-strong)!important;border-radius:var(--radius-md)!important;background:var(--field-bg)!important;color:var(--text)!important;box-shadow:inset 0 1px #ffffff59!important}.nexus-app input:focus,.nexus-app select:focus,.nexus-app textarea:focus,html.theme-dark .nexus-app input:focus,html.theme-dark .nexus-app select:focus,html.theme-dark .nexus-app textarea:focus{outline:3px solid var(--glow)!important;border-color:var(--accent)!important;box-shadow:none!important}.nexus-app button,.nexus-app .button{background:var(--accent);color:#fff;border:1px solid #0000;border-radius:12px;min-height:42px;font-weight:750;box-shadow:0 8px 20px #c8442d29}.nexus-app button:hover,.nexus-app .button:hover{background:var(--accent-2);transform:translateY(-1px);box-shadow:0 11px 24px #c8442d33}.nexus-app button.secondary,.nexus-app .button.secondary,html.theme-dark .nexus-app button.secondary,html.theme-dark .nexus-app .button.secondary{border-color:var(--line)!important;background:var(--surface-solid)!important;color:var(--text)!important;box-shadow:var(--shadow-soft)!important}.nexus-app button.secondary:hover,.nexus-app .button.secondary:hover{border-color:var(--line-strong)!important;background:var(--surface-2)!important}.nexus-app button.danger,.nexus-app .button.danger{background:var(--danger)}.nexus-app .filter-pill,.nexus-app .report-preset,.nexus-app .movement-tag,.nexus-app [class*=badge]{border-radius:999px!important}.nexus-app .modal{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.nexus-app .modal-backdrop{background:#1212107a}.nexus-app .modal-panel,html.theme-dark .nexus-app .modal-panel{border:1px solid var(--line)!important;background:var(--surface-solid)!important;color:var(--text)!important;border-radius:22px!important;box-shadow:0 32px 90px #14141247!important}.nexus-app .modal-head,.nexus-app .modal-actions,html.theme-dark .nexus-app .modal-head,html.theme-dark .nexus-app .modal-actions{border-color:var(--line)!important;background:color-mix(in srgb, var(--surface-solid) 94%, transparent)!important}.nexus-app .modal-section,html.theme-dark .nexus-app .modal-section{border-radius:14px;border:1px solid var(--line)!important;background:var(--surface-2)!important;box-shadow:none!important}.nexus-app .modal-close{border-radius:12px}.nexus-app .system-expiry-modal,html.theme-dark .nexus-app .system-expiry-modal{--system-expiry-panel-bg:var(--surface-solid);--system-expiry-primary-text:var(--text);--system-expiry-secondary-text:var(--muted);--system-expiry-border:var(--line);--system-expiry-control-bg:var(--surface-2);--system-expiry-control-hover-bg:color-mix(in srgb, var(--accent) 8%, var(--surface-2));--system-expiry-icon-bg:color-mix(in srgb, var(--warning) 14%, var(--surface-solid));--system-expiry-icon-text:var(--warning);--system-expiry-icon-border:color-mix(in srgb, var(--warning) 26%, transparent);--system-expiry-accent-text:var(--warning);--system-expiry-stat-bg:var(--surface-2);--system-expiry-stat-label:var(--muted);--system-expiry-stat-value:var(--warning);--system-expiry-contact-bg:color-mix(in srgb, var(--accent) 7%, var(--surface-solid));--system-expiry-contact-border:color-mix(in srgb, var(--accent) 22%, transparent);--system-expiry-contact-text:var(--text);--system-expiry-action-bg:var(--surface-2);--system-expiry-action-border:var(--line)}.nexus-app .system-expiry-modal .modal-panel,html.theme-dark .nexus-app .system-expiry-modal .modal-panel{border-color:var(--system-expiry-border)!important;background:var(--system-expiry-panel-bg)!important;color:var(--system-expiry-primary-text)!important}.nexus-app .system-expiry-contact a,html.theme-dark .nexus-app .system-expiry-contact a{background:var(--accent)!important;color:#fff!important;box-shadow:0 10px 22px var(--glow)!important}.nexus-app .alert,.nexus-app .errors{border-radius:14px}.nexus-app .pager-link,html.theme-dark .nexus-app .pager-link{border-radius:11px;min-width:38px;height:38px;border-color:var(--line)!important;background:var(--surface-solid)!important;color:var(--text)!important}.nexus-app .pager-link.is-active{border-color:var(--accent)!important;background:var(--accent)!important;color:#fff!important}.nexus-app .app-loading-overlay,.nexus-auth .app-loading-overlay{background:color-mix(in srgb, var(--bg) 72%, transparent)}.nexus-app .app-loading-card,.nexus-auth .app-loading-card{border-radius:16px}.nexus-app .app-loading-spinner,.nexus-auth .app-loading-spinner{border-color:#e45d3f2e;border-top-color:var(--accent)}body.nexus-auth{--bg:#efeee8;--panel:#fffefaeb;--surface:#fffefa;--line:#24231f1f;--text:#1d1d1b;--muted:#737169;--accent:#e45d3f;--accent-2:#c8442d;--ink:#20201e;--danger:#c33b37;--shadow:0 30px 90px #201f1c2e;background:radial-gradient(circle at 8% 5%,#e45d3f2e,#0000 26rem),radial-gradient(circle at 95% 90%,#15806a1a,#0000 24rem),#efeee8;min-height:100vh;padding:clamp(1rem,3vw,2rem)}.nexus-auth .shell{background:var(--panel);width:min(1040px,100%);min-height:min(650px,100vh - 4rem);box-shadow:var(--shadow);border:1px solid #24231f1a;border-radius:28px}.nexus-auth .intro{color:#f7f4eb;background:radial-gradient(circle at 80% 18%,#f0785b47,#0000 16rem),linear-gradient(145deg,#1d1e1b 0%,#2d2e29 100%);border:0;padding:clamp(2rem,5vw,4rem);position:relative;overflow:hidden}.nexus-auth .intro:after{content:"";border:3rem solid #f0785b17;border-radius:50%;width:22rem;height:22rem;position:absolute;bottom:-10rem;right:-8rem}.nexus-auth .intro-logo{z-index:1;background:#fff;border:1px solid #ffffff29;border-radius:24px;width:112px;height:112px;padding:3px;position:relative;box-shadow:0 20px 45px #0000003d}.nexus-auth .intro small{z-index:1;color:#f59780;position:relative}.nexus-auth .intro h1{z-index:1;color:#fff;letter-spacing:-.065em;max-width:9ch;font-size:clamp(2.3rem,5vw,4.2rem);position:relative}.nexus-auth .intro p{z-index:1;color:#f7f4ebad;max-width:42ch;position:relative}.nexus-auth .form-wrap{background:#fffefa;padding:clamp(2rem,4vw,3.5rem)}.nexus-auth .form-wrap h2{color:var(--text);letter-spacing:-.045em;font-size:1.7rem}.nexus-auth label{color:var(--text);font-weight:650}.nexus-auth input[type=text],.nexus-auth input[type=email],.nexus-auth input[type=password]{min-height:50px;color:var(--text);background:#f9f8f3;border:1px solid #24231f29;border-radius:14px}.nexus-auth input:focus{border-color:var(--accent);box-shadow:none;outline:3px solid #e45d3f29}.nexus-auth button{background:var(--accent);color:#fff;text-align:center;border:0;border-radius:14px;justify-content:center;align-items:center;min-height:50px;font-weight:800;line-height:1.2;display:inline-flex;box-shadow:0 12px 26px #c8442d33}.nexus-auth button:hover{background:var(--accent-2);transform:translateY(-1px)}.nexus-auth .tenant-link{color:var(--accent-2)}.nexus-auth-admin .intro{background:radial-gradient(circle at 78% 16%,#f0785b38,#0000 15rem),linear-gradient(145deg,#151614 0%,#262722 100%)}@media (width<=1024px){.nexus-app .sidebar,html.sidebar-collapsed .nexus-app .sidebar{border-radius:0 20px 20px 0;width:min(86vw,292px);box-shadow:20px 0 60px #12121047}.nexus-app .mobile-top,html.theme-dark .nexus-app .mobile-top{border-radius:16px;border:1px solid var(--line)!important;background:var(--surface-solid)!important;box-shadow:var(--shadow-soft)!important}}@media (width<=760px){.nexus-app .main{padding:.55rem}.nexus-app .page{padding:.8rem}.nexus-app .page-head,html.theme-dark .nexus-app .page-head{margin:-.8rem -.8rem 1rem;padding:.9rem .8rem}.nexus-app .page-head-top{align-items:flex-start}.nexus-app .page-head h2{font-size:1.35rem}.nexus-app .dashboard-hero,.nexus-app .report-hero,.nexus-app .movement-hero{border-radius:18px!important}.nexus-app .card,.nexus-app .dashboard-kpi,.nexus-app .dashboard-panel,.nexus-app .report-panel{border-radius:14px!important}.nexus-app .modal-panel,html.theme-dark .nexus-app .modal-panel{border-radius:20px 20px 0 0!important}.nexus-auth{padding:.7rem!important}.nexus-auth .shell{border-radius:22px;min-height:0}.nexus-auth .intro{padding:1.6rem}.nexus-auth .intro-logo{border-radius:18px;width:76px;height:76px}.nexus-auth .intro h1{max-width:none;font-size:2.25rem}.nexus-auth .form-wrap{padding:1.6rem}}@media (prefers-reduced-motion:reduce){.nexus-app *,.nexus-auth *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
