/* NEXAKOR V4.22 — Contextual Actions, Compact Masters, Premium Sidebar */
:root{--nx422-row-h:34px;--nx422-field-h:34px}
.sidebar .nav-item{min-height:36px;gap:10px;border-radius:9px;margin:1px 6px;padding:7px 9px;font-weight:560;letter-spacing:-.01em}
.sidebar .nav-icon,.sidebar .nx-v398-nav-icon{width:22px;height:22px;display:inline-grid;place-items:center;flex:0 0 22px;color:currentColor}
.sidebar .nav-icon svg,.sidebar .nx-v398-nav-icon svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.sidebar .nav-item.active .nav-icon svg{stroke-width:2.15}
html[data-sidebar-variant="aurora"] .sidebar,html[data-sidebar-variant="executive"] .sidebar{color:#edf6ff}
html[data-sidebar-variant="aurora"] .sidebar .nav-item,html[data-sidebar-variant="executive"] .sidebar .nav-item{color:#dcecff}
html[data-sidebar-variant="aurora"] .sidebar .nav-group-toggle,html[data-sidebar-variant="executive"] .sidebar .nav-group-toggle{color:#9fb7d2}
html[data-sidebar-variant="corporate"] .sidebar,html[data-sidebar-variant="minimal"] .sidebar{color:#162235}
html[data-sidebar-variant="corporate"] .sidebar .nav-item,html[data-sidebar-variant="minimal"] .sidebar .nav-item{color:#23364d}
.form-grid.compact-form,.drawer .form-grid,.modal.full .form-grid{gap:8px 10px}.field{gap:4px}.field>span,.field>label,label.field>span{font-size:11px;font-weight:650}.field input,.field select,.field textarea{min-height:var(--nx422-field-h);padding:6px 9px}.field textarea{min-height:58px}
.drawer.xlarge .drawer-body,.modal.full .modal-body{padding:12px 14px}.tabs{min-height:34px;gap:3px}.tabs .tab,.tabs button{min-height:32px;padding:5px 9px}
.dg-toolbar{min-height:38px;padding:5px 6px;gap:6px}.dg-table td,.dg-table th{padding:6px 8px}.dg-table.dense td,.dg-table.dense th{padding:4px 7px}.nx-row-more{min-width:32px;font-size:18px;line-height:1}
.nx-context-menu{position:fixed;z-index:2147483200;min-width:230px;max-width:320px;background:var(--surface,#fff);color:var(--text,#172033);border:1px solid var(--border,#d8e0ea);border-radius:12px;padding:6px;box-shadow:0 18px 48px rgba(15,23,42,.24)}.nx-context-menu button{display:block;width:100%;border:0;background:transparent;color:inherit;text-align:left;padding:8px 10px;border-radius:8px;cursor:pointer}.nx-context-menu button:hover,.nx-context-menu button:focus{background:var(--surface-2,#eef4fa);outline:none}.nx-context-menu button:disabled{opacity:.45;cursor:not-allowed}.nx-context-menu hr{border:0;border-top:1px solid var(--border,#d8e0ea);margin:5px}
.fin-line-actions{white-space:nowrap}.fin-app-count{display:inline-grid;place-items:center;min-width:16px;height:16px;border-radius:99px;background:var(--primary,#2b6ff3);color:#fff;font-size:10px;margin-left:2px}.nx-v422-apply-head{font-size:12px;color:var(--muted,#667085);padding:4px 0 8px}.nx-v422-apply-list{display:grid;gap:6px;max-height:430px;overflow:auto}.nx-v422-apply-row{display:grid;grid-template-columns:auto 1fr auto 120px;align-items:center;gap:10px;border:1px solid var(--border,#d8e0ea);border-radius:10px;padding:7px 9px}.nx-v422-apply-row span{display:grid}.nx-v422-apply-row small{color:var(--muted,#667085)}.nx-v422-tax-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:10px}
.transaction-entry-grid{max-height:calc(100dvh - 300px);overflow:auto}.transaction-entry-grid .sales-lines{min-width:980px}.transaction-entry-grid tbody tr{height:38px}.transaction-entry-footer{position:sticky;bottom:0;background:var(--surface,#fff);z-index:4;border-top:1px solid var(--border,#d8e0ea);padding:6px}
@media(max-width:900px){.nx-v422-tax-grid{grid-template-columns:1fr}.nx-v422-apply-row{grid-template-columns:auto 1fr}.nx-v422-apply-row>strong,.nx-v422-apply-row>input{grid-column:2}.drawer.xlarge .drawer-body,.modal.full .modal-body{padding:8px}.form-grid{gap:7px}.field.span-3,.field.span-4,.field.span-6{grid-column:span 6}}
