:root{--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);--appbar-height:56px;--tabbar-height:60px;--mobile-gutter:.7rem}.mobile-tabbar{z-index:15;padding:.3rem calc(.35rem + var(--safe-left)) calc(.3rem + var(--safe-bottom)) calc(.35rem + var(--safe-right));border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface-solid) 97%, transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;align-items:stretch;gap:.15rem;display:none;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 30px #0f172a1a}.nexus-app .mobile-tab,.nexus-app a.mobile-tab,.nexus-app button.mobile-tab{letter-spacing:.01em;text-align:center;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:.14rem;min-height:52px;padding:.3rem .15rem;font-family:inherit;font-size:.63rem;font-weight:700;line-height:1.1;text-decoration:none;transition:color .16s,background .16s;display:flex;color:var(--muted)!important;box-shadow:none!important;background:0 0!important;border:0!important}.nexus-app .mobile-tab .nav-icon,.nexus-app .mobile-tab svg{flex:none;width:22px;height:22px}.nexus-app .mobile-tab .nav-icon{box-shadow:none;background:0 0;border:0;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.nexus-app .mobile-tab .nav-icon svg,.nexus-app .mobile-tab>svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.mobile-tab-label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.nexus-app .mobile-tab:active{transform:none;background:color-mix(in srgb, var(--accent) 14%, transparent)!important}.nexus-app .mobile-tab.is-active{color:var(--accent)!important;background:color-mix(in srgb, var(--accent) 12%, transparent)!important}.nexus-app .mobile-tab.is-active .nav-icon svg,.nexus-app .mobile-tab.is-active>svg{stroke-width:2.1px}.nexus-app .mobile-tab:hover{transform:none}.mobile-top-heading{flex-direction:column;justify-content:center;gap:.05rem;min-width:0;display:none}.mobile-top-page{max-width:100%;color:var(--text);letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;font-family:Space Grotesk,Manrope,sans-serif;font-size:.98rem;font-weight:700;line-height:1.15;display:block;overflow:hidden}.mobile-top-actions{flex:none;align-items:center;gap:.3rem;display:none}@media (width<=900px){.nexus-app .mobile-tabbar{display:grid}.nexus-app .main{padding:0 var(--mobile-gutter) calc(var(--tabbar-height) + var(--safe-bottom) + .75rem)}.nexus-app .mobile-top,html.theme-dark .nexus-app .mobile-top{z-index:30;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-items:center;gap:.55rem;display:flex;position:sticky;top:0;min-height:var(--appbar-height)!important;margin:0 calc(var(--mobile-gutter) * -1) .7rem!important;padding:.35rem calc(var(--mobile-gutter) + var(--safe-right)) .35rem calc(var(--mobile-gutter) + var(--safe-left))!important;padding-top:calc(.35rem + var(--safe-top))!important;border:0!important;border-bottom:1px solid var(--line)!important;background:color-mix(in srgb, var(--surface-solid) 97%, transparent)!important;box-shadow:none!important;border-radius:0!important}.nexus-app .mobile-top .menu-toggle{border-radius:12px;order:-1;border:1px solid var(--line)!important;min-width:40px!important;min-height:40px!important;color:var(--text)!important;box-shadow:none!important;background:0 0!important;margin:0!important}.nexus-app .mobile-top .menu-toggle span{background:var(--text)}.nexus-app .mobile-brand{flex:auto;align-items:center;min-width:0;display:flex;gap:.5rem!important}.nexus-app .mobile-brand-logo{border-radius:9px!important;flex:0 0 32px!important;width:32px!important;height:32px!important}.nexus-app .mobile-brand>strong{display:none}html.has-mobile-chrome .nexus-app .mobile-top-heading{flex:auto;display:flex}html.has-mobile-chrome .nexus-app .mobile-top-actions{display:flex}html.has-mobile-chrome .nexus-app .mobile-top-actions>.page-head-actions{flex:none;justify-content:flex-end;gap:.3rem;display:inline-flex;width:auto!important}html:not(.has-mobile-chrome) .nexus-app .mobile-brand>strong{display:inline}html.has-mobile-chrome .nexus-app .page-head{display:none}.nexus-app .page{-webkit-backdrop-filter:none;backdrop-filter:none;margin:0;border-radius:16px!important;padding:.72rem!important}.nexus-app .page:before{display:none}.nexus-app .theme-toggle,.nexus-app .notif-toggle{min-width:40px;min-height:40px;border-radius:12px!important;width:40px!important;height:40px!important}.nexus-app .notif-panel,html.theme-dark .nexus-app .notif-panel{top:calc(var(--appbar-height) + var(--safe-top) + .35rem);border-radius:16px;width:auto;max-height:min(70dvh,460px);position:fixed;left:.6rem;right:.6rem}.nexus-app .sidebar,html.sidebar-collapsed .nexus-app .sidebar{width:min(84vw,320px)!important;padding-top:calc(1rem + var(--safe-top))!important;padding-bottom:calc(1rem + var(--safe-bottom))!important;border-radius:0 22px 22px 0!important}.nexus-app .nav{gap:.2rem}.nexus-app .nav a{border-radius:12px;min-height:48px;font-size:.92rem}.nexus-app .sidebar-footer{gap:.5rem;padding-top:.75rem}.nexus-app .sidebar-footer button,.nexus-app .sidebar-footer .secondary{justify-content:center;width:100%;min-height:44px}.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 .movement-panel,.nexus-app .movement-meta-card,.nexus-app .movement-side-card,.nexus-app .movement-people-card,.nexus-app .movement-note-card{border-radius:16px!important}.nexus-app .alert,.nexus-app .errors{border-radius:14px;font-size:.85rem}.nexus-app .toolbar{grid-template-columns:minmax(0,1fr);gap:.5rem;margin-bottom:.7rem;padding:0;display:grid}.nexus-app .toolbar>*,.nexus-app .toolbar form,.nexus-app .toolbar button,.nexus-app .toolbar .button{justify-content:center;width:100%;min-height:46px}.nexus-app .content-card-head{gap:.6rem}.nexus-app .product-icon-button{gap:.5rem;padding-inline:.9rem;width:100%!important}.nexus-app .product-icon-button:after{content:attr(aria-label);font-size:.88rem;font-weight:750}.nexus-app .list-filter-row{grid-template-columns:minmax(0,1fr);gap:.55rem;display:grid}.nexus-app .list-filter-row>*,.nexus-app .list-filter-search,.nexus-app .list-filter-row .filter-pill{width:100%;min-width:0}.nexus-app .list-filter-actions{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem;width:100%;display:grid}.nexus-app .list-filter-actions>*{justify-content:center;width:100%;min-height:46px}.nexus-app .filter-toggle-summary{min-height:48px}.nexus-app input:not([type=checkbox]):not([type=radio]),.nexus-app select,.nexus-app textarea{font-size:16px!important}.nexus-app input:not([type=checkbox]):not([type=radio]):not([type=file]),.nexus-app select{min-height:46px}.nexus-app textarea{min-height:96px}.nexus-app input[type=checkbox],.nexus-app input[type=radio]{width:20px;height:20px}.nexus-app .fields.two,.nexus-app .grid.two,.nexus-app .grid.cards,.nexus-app .modal-panel .fields.two,.nexus-app .modal-datetime-grid{grid-template-columns:minmax(0,1fr)!important}.nexus-app button,.nexus-app .button{min-height:44px}.nexus-app .inline-form{gap:.4rem;display:grid}html .nexus-app [class*=table-wrap].has-x-scroll,html.theme-dark .nexus-app .page [class*=table-wrap].has-x-scroll{box-shadow:inset -16px 0 16px -16px #0f172a52!important}html .nexus-app [class*=table-wrap].has-x-scroll.is-x-end,html.theme-dark .nexus-app .page [class*=table-wrap].has-x-scroll.is-x-end{box-shadow:inset 16px 0 16px -16px #0f172a52!important}.nexus-app .pagination{justify-content:center}.nexus-app .pager-list{flex-wrap:wrap;justify-content:center;gap:.3rem}.nexus-app .pager-link{border-radius:12px;min-width:42px;min-height:42px}.nexus-app .modal{place-items:end stretch!important;padding:0!important}.nexus-app .modal.show{place-items:end stretch}.nexus-app .modal-panel,html.theme-dark .nexus-app .modal-panel{padding-bottom:var(--safe-bottom);-webkit-backdrop-filter:none;backdrop-filter:none;scrollbar-gutter:auto;animation:.22s cubic-bezier(.32,.72,0,1) nexus-sheet-up;border-bottom:0!important;border-left:0!important;border-right:0!important;border-radius:22px 22px 0 0!important;width:100%!important;max-width:none!important;max-height:92dvh!important;margin:0!important}.nexus-app .modal-head,html.theme-dark .nexus-app .modal-head{z-index:6;position:sticky;top:0;padding-top:1.1rem!important}.nexus-app .modal-head:before{content:"";background:var(--line-strong);opacity:.7;border-radius:999px;width:40px;height:4px;position:absolute;top:.42rem;left:50%;transform:translate(-50%)}.nexus-app .modal-head h3{font-size:1.02rem}.nexus-app .modal-close{border-radius:12px;min-width:40px;min-height:40px}.nexus-app .modal-panel>form,.nexus-app .modal-panel>.grid-form{padding:.9rem!important}.nexus-app .modal-actions{z-index:6;padding-bottom:calc(.85rem + var(--safe-bottom));grid-template-columns:minmax(0,1fr);gap:.5rem;display:grid;position:sticky;bottom:0}.nexus-app .modal-actions button,.nexus-app .modal-actions .button{justify-content:center;width:100%;min-height:48px}.nexus-app .system-expiry-actions{display:grid}.nexus-app .system-expiry-actions button{width:100%;min-height:48px}}@keyframes nexus-sheet-up{0%{opacity:.6;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media (width<=700px){.nexus-app table.is-compact-table{width:100%!important;min-width:0!important}.nexus-app table.is-compact-table th,.nexus-app table.is-compact-table td{overflow-wrap:anywhere;white-space:normal!important;width:auto!important;min-width:0!important;max-width:none!important}.nexus-app table.is-compact-table>tbody>tr>th:first-child{width:38%!important}.nexus-app .is-card-wrap,html.theme-dark .nexus-app .is-card-wrap{min-width:0!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;overflow:visible!important}.nexus-app table.is-card-table{border-spacing:0!important;width:100%!important;min-width:0!important;display:block!important}.nexus-app table.is-card-table>thead{display:none!important}.nexus-app table.is-card-table>tbody,.nexus-app table.is-card-table>tfoot{gap:.5rem;display:grid!important}.nexus-app table.is-card-table>tfoot{margin-top:.5rem}.nexus-app table.is-card-table>tbody>tr,.nexus-app table.is-card-table>tfoot>tr,html.theme-dark .nexus-app table.is-card-table>tbody>tr,html.theme-dark .nexus-app table.is-card-table>tfoot>tr{box-shadow:var(--shadow-soft);position:relative;border:1px solid var(--line)!important;background:var(--surface-solid)!important;border-radius:14px!important;width:100%!important;padding:.15rem .85rem!important;display:block!important}.nexus-app table.is-card-table>tfoot>tr{background:var(--surface-2)!important;border-color:var(--line-strong)!important}.nexus-app table.is-card-table>tbody>tr[data-card-collapsible]{cursor:pointer;-webkit-tap-highlight-color:transparent;padding-right:2.5rem!important}.nexus-app table.is-card-table>tbody>tr[data-card-collapsible]:active{background:var(--surface-2)!important}.nexus-app table.is-card-table>tbody>tr[data-card-media]{grid-template-columns:56px minmax(0,1fr);align-items:start;column-gap:.75rem;display:grid!important}.nexus-app table.is-card-table>tbody>tr[data-card-media]>td{grid-column:2}.nexus-app table.is-card-table td[data-card-role=media]{grid-row:1;align-self:center;border:0!important;grid-column:1!important;padding:.6rem 0!important;display:block!important}.nexus-app table.is-card-table td[data-card-role=media]:before{display:none!important}.nexus-app table.is-card-table>tbody>tr[data-card-collapsible]:after{content:"";border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform-origin:50%;pointer-events:none;border-radius:1px;width:9px;height:9px;transition:transform .18s;position:absolute;top:1.25rem;right:1rem;transform:rotate(45deg)}.nexus-app table.is-card-table>tbody>tr.is-expanded:after{transform:rotate(-135deg)}.nexus-app table.is-card-table>tbody>tr[data-card-collapsible]>td:not([data-card-summary]):not([data-card-role=media]){display:none!important}.nexus-app table.is-card-table>tbody>tr[data-card-collapsible].is-expanded>td:not([data-card-blank]){display:grid!important}.nexus-app table.is-card-table>tbody>tr[data-card-collapsible].is-expanded>td[data-card-role=media]{display:block!important}.nexus-app table.is-card-table>tbody>tr>td,.nexus-app table.is-card-table>tbody>tr>th,.nexus-app table.is-card-table>tfoot>tr>td,.nexus-app table.is-card-table>tfoot>tr>th,html.theme-dark .nexus-app table.is-card-table>tbody>tr>td,html.theme-dark .nexus-app table.is-card-table>tfoot>tr>td{overflow-wrap:anywhere;grid-template-columns:clamp(4.5rem,32%,9.5rem) minmax(0,1fr);place-items:start;gap:.55rem;line-height:1.35;border:0!important;border-bottom:1px solid var(--line)!important;text-align:left!important;white-space:normal!important;width:auto!important;min-width:0!important;max-width:none!important;padding:.5rem 0!important;font-size:.86rem!important;display:grid!important}.nexus-app table.is-card-table>tbody>tr>td:last-child,.nexus-app table.is-card-table>tfoot>tr>td:last-child,.nexus-app table.is-card-table>tbody>tr[data-card-collapsible]:not(.is-expanded)>td[data-card-summary]:last-of-type{border-bottom:0!important}.nexus-app table.is-card-table>tbody>tr>td:before,.nexus-app table.is-card-table>tfoot>tr>td:before{content:attr(data-label);color:var(--muted);letter-spacing:.06em;text-transform:uppercase;overflow-wrap:anywhere;padding-top:.12rem;font-size:.68rem;font-weight:800;line-height:1.3;display:block}.nexus-app table.is-card-table td[data-label=""]:before{display:none}.nexus-app table.is-card-table td[data-card-lead]{gap:.1rem;font-weight:750;line-height:1.25;grid-template-columns:minmax(0,1fr)!important;padding-top:.75rem!important;font-size:.98rem!important}.nexus-app table.is-card-table td[data-card-lead]:before{display:none}.nexus-app table.is-card-table td[data-card-blank]{display:none!important}.nexus-app table.is-card-table td[data-card-blank][data-card-summary]:after{content:"—";color:var(--muted)}.nexus-app table.is-card-table td[data-card-full]{gap:.25rem;grid-template-columns:minmax(0,1fr)!important}.nexus-app table.is-card-table td[data-card-full]:before{font-size:.66rem}.nexus-app table.is-card-table tr[data-card-empty]{box-shadow:none;border-style:dashed!important}.nexus-app table.is-card-table tr[data-card-empty]>td{color:var(--muted);text-align:center!important;border-bottom:0!important;padding:1.1rem 0!important;display:block!important}.nexus-app table.is-card-table tr[data-card-empty]>td:before{display:none}.nexus-app table.is-card-table .table-actions{flex-wrap:wrap;gap:.4rem;width:100%;justify-content:flex-start!important;display:flex!important}.nexus-app table.is-card-table .table-actions form{display:contents}.nexus-app table.is-card-table .table-actions button,.nexus-app table.is-card-table .table-actions .button,.nexus-app table.is-card-table .table-actions .list-action-icon{border-radius:12px!important;min-width:44px!important;min-height:44px!important}.nexus-app table.is-card-table img{max-width:100%;height:auto}.nexus-app table.is-card-table .product-thumb,.nexus-app table.is-card-table .product-image-empty{text-align:center;line-height:1.2;border-radius:12px!important;width:56px!important;height:56px!important;font-size:.55rem!important}.nexus-app table.is-card-table>tbody>tr>td>*,.nexus-app table.is-card-table>tfoot>tr>td>*{max-width:100%}.nexus-app table.is-card-table>tbody>tr>td *,.nexus-app table.is-card-table>tfoot>tr>td *{overflow-wrap:anywhere;white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important}}@media (width<=360px){:root{--mobile-gutter:.55rem}.nexus-app .page{padding:.6rem!important}.nexus-app .mobile-tab{font-size:.58rem}.nexus-app table.is-card-table>tbody>tr>td,.nexus-app table.is-card-table>tfoot>tr>td{grid-template-columns:minmax(0,1fr);gap:.14rem}.nexus-app .list-filter-actions{grid-template-columns:minmax(0,1fr)}}@media (height<=460px) and (orientation:landscape) and (width<=950px){.nexus-app .mobile-tabbar{display:none}.nexus-app .main{padding-bottom:calc(var(--safe-bottom) + .6rem)}.nexus-app .modal-panel{border-radius:0!important;max-height:100dvh!important}}@media (width<=640px){.nexus-auth{padding:calc(.7rem + var(--safe-top)) .7rem calc(.7rem + var(--safe-bottom))!important}.nexus-auth .intro h1{font-size:1.9rem!important}.nexus-auth input,.nexus-auth button{min-height:48px;font-size:16px!important}}.nexus-app :focus-visible,.nexus-auth :focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media print{.mobile-tabbar,.mobile-top{display:none!important}html.has-mobile-chrome .nexus-app .page-head{display:block!important}.nexus-app .main{padding:0!important}}@media (prefers-reduced-motion:reduce){.nexus-app .modal-panel{animation:none!important}}
