body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box;margin:0;padding:0}body,html{height:100%;overflow:hidden}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0f172a;color:#f8fafc;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.app-loading-screen{align-items:center;background:linear-gradient(135deg,#f8fbff,#eaf5fb 48%,#f4f7fb);display:flex;justify-content:center;min-height:100vh}.app-loading-spinner{animation:appLoadingSpin .7s linear infinite;border:3px solid #0ea5e933;border-radius:50%;border-top-color:#0ea5e9;height:40px;width:40px}@keyframes appLoadingSpin{to{transform:rotate(1turn)}}.App{height:100vh;overflow:hidden}table td,table th{border:1px solid #94a3b829!important}:root{--app-bg:#0f172a;--app-panel:#111827;--app-panel-soft:#162033;--app-panel-raised:#1e293b;--app-border:#94a3b82e;--app-border-strong:#94a3b847;--app-text:#f8fafc;--app-muted:#94a3b8;--app-subtle:#cbd5e1;--app-primary:#0ea5e9;--app-primary-strong:#0284c7;--app-primary-soft:#0ea5e924;--app-success:#16a34a;--app-danger:#dc2626;--app-warning:#d97706;--app-radius:8px;--app-shadow:0 18px 45px #02081747}body:not(.light-theme) .layout{background:radial-gradient(circle at top left,#0ea5e914,#0000 34rem),#0f172a;background:radial-gradient(circle at top left,#0ea5e914,#0000 34rem),var(--app-bg)}body:not(.light-theme) .main-content{background:#0000}body:not(.light-theme) :is(.dashboard-title,.famille-title,.supplier-title,.customer-title,.unit-title,.depot-title,.product-title,.stock-title,.proforma-title,.bl-title,.pf-title,.bl-form-title){color:#f8fafc;color:var(--app-text);letter-spacing:0}body:not(.light-theme) :is(.dashboard-subtitle,.famille-count,.supplier-count,.customer-count,.unit-count,.depot-count,.product-count,.proforma-count,.bl-count){color:#94a3b8;color:var(--app-muted)}body:not(.light-theme) :is(.stat-card,.famille-table-wrapper,.supplier-table-wrapper,.customer-table-wrapper,.unit-table-wrapper,.depot-table-wrapper,.product-table-wrapper,.stock-table-wrapper,.proforma-table-wrapper,.bl-table-wrapper,.pf-form-header-section,.bl-form-header-section,.pf-add-line,.bl-form-add-line,.modal,.confirm-dialog,.searchable-select-menu){background:#111827eb!important;border-color:#94a3b82e!important;border-color:var(--app-border)!important;border-radius:8px!important;border-radius:var(--app-radius)!important;box-shadow:0 18px 45px #02081747;box-shadow:var(--app-shadow)}body:not(.light-theme) :is(.famille-table th,.supplier-table th,.customer-table th,.unit-table th,.depot-table th,.product-table th,.stock-table th,.proforma-table th,.bl-table th,.pf-lines-table th,.bl-form-lines-table th){background:#1e293b!important;border-bottom-color:#94a3b847!important;border-bottom-color:var(--app-border-strong)!important;color:#cbd5e1!important;letter-spacing:.05em}body:not(.light-theme) :is(.famille-table td,.supplier-table td,.customer-table td,.unit-table td,.depot-table td,.product-table td,.stock-table td,.proforma-table td,.bl-table td,.pf-lines-table td,.bl-form-lines-table td){background:#0000;color:#cbd5e1!important;color:var(--app-subtle)!important}body:not(.light-theme) :is(.famille-table tbody tr:hover,.supplier-table tbody tr:hover,.customer-table tbody tr:hover,.unit-table tbody tr:hover,.depot-table tbody tr:hover,.product-table tbody tr:hover,.stock-table tbody tr:hover,.proforma-table tbody tr:hover,.bl-table tbody tr:hover){background:#0ea5e914!important}body:not(.light-theme) :is(.famille-table tbody tr.selected,.supplier-table tbody tr.selected,.customer-table tbody tr.selected,.unit-table tbody tr.selected,.depot-table tbody tr.selected,.product-table tbody tr.selected,.stock-table tbody tr.selected,.proforma-table tbody tr.selected,.bl-table tbody tr.selected){background:#0ea5e924!important;border-left-color:#0ea5e9!important;border-left-color:var(--app-primary)!important}body:not(.light-theme) :is(input,select,textarea,.searchable-select-control){background:#0f172a!important;border-color:#94a3b82e!important;border-color:var(--app-border)!important;border-radius:7px!important;color:#f8fafc!important;color:var(--app-text)!important}body:not(.light-theme) :is(input,select,textarea,.searchable-select-control):focus,body:not(.light-theme) :is(input,select,textarea,.searchable-select-control):focus-within{border-color:#0ea5e9!important;border-color:var(--app-primary)!important;box-shadow:0 0 0 3px #0ea5e924!important}body:not(.light-theme) :is(input,select,textarea,.searchable-select-control):hover:not(:focus):not(:focus-within):not(:disabled){border-color:#0ea5e973!important}body:not(.light-theme) :is(input,select,textarea){caret-color:#f8fafc;caret-color:var(--app-text)}body:not(.light-theme) select option{background:#1e293b;color:#f1f5f9}body:not(.light-theme) :is(.btn-primary,.btn-add,.btn-save){background:#0ea5e9!important;background:var(--app-primary)!important;border-color:#0284c7!important;border-color:var(--app-primary-strong)!important;border-radius:7px!important;box-shadow:0 8px 20px #0ea5e92e;color:#fff!important}body:not(.light-theme) :is(.btn-primary,.btn-add,.btn-save):hover:not(:disabled){background:#0284c7!important;background:var(--app-primary-strong)!important}body:not(.light-theme) :is(.btn-view,.btn-print,.btn-edit){background:#94a3b81a!important;border-color:#94a3b82e!important;border-color:var(--app-border)!important;border-radius:7px!important;color:#cbd5e1!important;color:var(--app-subtle)!important}body:not(.light-theme) :is(.btn-view,.btn-print,.btn-edit):hover:not(:disabled){background:#0ea5e91f!important;border-color:#0ea5e959!important;color:#e0f2fe!important}body:not(.light-theme) :is(.btn-convert-bl,.btn-validate){background:#16a34a1f!important;border-color:#22c55e47!important;border-radius:7px!important;color:#86efac!important}body:not(.light-theme) :is(.btn-danger,.btn-icon-danger){background:#dc26261a!important;border-color:#f871713d!important;border-radius:7px!important;color:#fca5a5!important}body:not(.light-theme) :is(.status-draft){background:#d9770621!important;border-color:#fbbf243d!important;color:#fbbf24!important}body:not(.light-theme) :is(.status-validated){background:#16a34a21!important;border-color:#22c55e3d!important;color:#86efac!important}body:not(.light-theme) :is(.status-cancelled),body:not(.light-theme) :is(.status-unpaid){background:#dc26261f!important;border-color:#f8717138!important;color:#fca5a5!important}body:not(.light-theme) :is(.status-partial){background:#d9770621!important;border-color:#fbbf243d!important;color:#fbbf24!important}body:not(.light-theme) :is(.status-paid){background:#16a34a21!important;border-color:#22c55e3d!important;color:#86efac!important}body:not(.light-theme) :is(.td-total,.pf-foot-total-value,.bl-form-grand-total-value,.pf-grand-total-value){color:#38bdf8!important}body.light-theme{background:#f3f6fa;color:#0f172a}body.light-theme input,body.light-theme select,body.light-theme textarea{caret-color:#18181b;color:#18181b}body.light-theme select option{background:#fff;color:#18181b}body.light-theme :is(input,select,textarea,.searchable-select-trigger):hover:not(:focus):not(:focus-within):not(:disabled){border-color:#6366f180}body.light-theme table td,body.light-theme table th{border:1px solid #0f172a1f!important}body.light-theme .layout{background:#f3f6fa}body.light-theme .dashboard-title{color:#18181b}body.light-theme .dashboard-subtitle{color:#a1a1aa}body.light-theme .stat-card{background:#fff;border-color:#00000014}body.light-theme .stat-card:hover{background:#fff;border-color:#0000001f;box-shadow:0 4px 12px #0000000f}body.light-theme .stat-value{color:#18181b}body.light-theme .stat-label{color:#a1a1aa}body.light-theme .company-card{background:#fff;border-color:#00000014}body.light-theme .company-card-avatar{background:#f1f5f9;border-color:#f3f6fa}body.light-theme .company-card-avatar svg{color:#0284c7}body.light-theme .company-card-name{color:#18181b}body.light-theme .company-detail{color:#3f3f46}body.light-theme .company-detail:hover{background:#00000008}body.light-theme .company-detail-icon{background:#0ea5e914}body.light-theme .company-detail-icon svg{color:#0284c7}body.light-theme .customer-title,body.light-theme .depot-title,body.light-theme .famille-title,body.light-theme .supplier-title,body.light-theme .unit-title{color:#18181b}body.light-theme .customer-count,body.light-theme .depot-count,body.light-theme .famille-count,body.light-theme .supplier-count,body.light-theme .unit-count{background:#6366f114;border-color:#6366f126}body.light-theme .search-box input{background:#fff;border-color:#0000001f;color:#18181b}body.light-theme .search-box input::placeholder{color:#a1a1aa}body.light-theme .search-box input:focus{background:#fff;border-color:#6366f1}body.light-theme .btn-cancel{background:#0000000d;border-color:#0000001a;color:#71717a}body.light-theme .btn-cancel:hover:not(:disabled){background:#00000014;color:#18181b}body.light-theme .customer-error span,body.light-theme .depot-error span,body.light-theme .famille-error span,body.light-theme .supplier-error span,body.light-theme .unit-error span{color:#dc2626}body.light-theme .customer-error button,body.light-theme .depot-error button,body.light-theme .famille-error button,body.light-theme .supplier-error button,body.light-theme .unit-error button{color:#a1a1aa}body.light-theme .customer-error button:hover,body.light-theme .depot-error button:hover,body.light-theme .famille-error button:hover,body.light-theme .supplier-error button:hover,body.light-theme .unit-error button:hover{color:#18181b}body.light-theme .customer-table-wrapper,body.light-theme .depot-table-wrapper,body.light-theme .famille-table-wrapper,body.light-theme .supplier-table-wrapper,body.light-theme .unit-table-wrapper{background:#fff;border-color:#00000014}body.light-theme .customer-table-wrapper::-webkit-scrollbar-thumb,body.light-theme .depot-table-wrapper::-webkit-scrollbar-thumb,body.light-theme .famille-table-wrapper::-webkit-scrollbar-thumb,body.light-theme .supplier-table-wrapper::-webkit-scrollbar-thumb,body.light-theme .unit-table-wrapper::-webkit-scrollbar-thumb{background:#0000001f}body.light-theme .customer-table th,body.light-theme .depot-table th,body.light-theme .famille-table th,body.light-theme .supplier-table th,body.light-theme .unit-table th{background:#d0d4e8;border-bottom-color:#00000014;color:#3d4255}body.light-theme .customer-table td,body.light-theme .depot-table td,body.light-theme .famille-table td,body.light-theme .supplier-table td,body.light-theme .unit-table td{border-bottom-color:#0000000a;color:#52525b}body.light-theme .td-id,body.light-theme .td-secondary{color:#a1a1aa}body.light-theme .customer-table tbody tr:hover,body.light-theme .depot-table tbody tr:hover,body.light-theme .famille-table tbody tr:hover,body.light-theme .supplier-table tbody tr:hover,body.light-theme .unit-table tbody tr:hover{background:#00000005}body.light-theme .customer-table tbody tr.selected,body.light-theme .depot-table tbody tr.selected,body.light-theme .famille-table tbody tr.selected,body.light-theme .supplier-table tbody tr.selected,body.light-theme .unit-table tbody tr.selected{background:#6366f114}body.light-theme .customer-table tbody tr.selected td,body.light-theme .depot-table tbody tr.selected td,body.light-theme .famille-table tbody tr.selected td,body.light-theme .supplier-table tbody tr.selected td,body.light-theme .unit-table tbody tr.selected td{color:#18181b}body.light-theme .famille-table tbody tr.selected .td-id{color:#6366f1}body.light-theme .table-spinner{border-color:#6366f1 #00000014 #00000014}body.light-theme .table-empty span{color:#a1a1aa}body.light-theme .modal-overlay{background:#0006}body.light-theme .modal{background:#fff;border-color:#0000001a;box-shadow:0 25px 60px #00000026}body.light-theme .modal-header h2{color:#18181b}body.light-theme .modal-close{color:#a1a1aa}body.light-theme .modal-close:hover{background:#0000000d;color:#18181b}body.light-theme .modal-error span{color:#dc2626}body.light-theme .modal-field label{color:#71717a}body.light-theme .modal-field input{background:#f4f4f5;border-color:#0000001f;color:#18181b}body.light-theme .modal-field input::placeholder{color:#a1a1aa}body.light-theme .modal-field input:focus{background:#fff;border-color:#6366f1}body.light-theme .confirm-overlay{background:#0006}body.light-theme .confirm-dialog{background:#fff;border-color:#0000001a;box-shadow:0 25px 60px #00000026}body.light-theme .confirm-title{color:#18181b}body.light-theme .login-page{animation:none;background:radial-gradient(circle at 18% 20%,#14b8a62e,#0000 28rem),radial-gradient(circle at 82% 12%,#0ea5e938,#0000 26rem),linear-gradient(135deg,#f8fbff,#eaf5fb 48%,#f4f7fb);background-size:auto}@keyframes loginBgShift{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}body.light-theme .login-bg-shape-1{background:radial-gradient(circle,#0ea5e957,#0000 70%)}body.light-theme .login-bg-shape-2{background:radial-gradient(circle,#14b8a647,#0000 70%)}body.light-theme .login-bg-shape-3{background:radial-gradient(circle,#f472b61f,#0000 70%)}body.light-theme .login-card{background:linear-gradient(180deg,#ffffffeb,#f8fafcdb);border-color:#0f172a1a;box-shadow:inset 0 0 0 1px #ffffffa6,0 28px 70px #0f172a24,0 16px 38px #0ea5e91a}body.light-theme .login-card:before{background:linear-gradient(90deg,#14b8a6,#0ea5e9,#38bdf8)}body.light-theme .login-heading{color:#0f172a}body.light-theme .login-subheading{color:#64748b}body.light-theme .login-error{background:#ef44440f;border-color:#ef444426}body.light-theme .login-error span{color:#dc2626}body.light-theme .login-field label{color:#334155}body.light-theme .login-input-wrap input{background:#ffffffc7;border-color:#0f172a21;color:#0f172a}body.light-theme .login-input-wrap input::placeholder{color:#a1a1aa}body.light-theme .login-input-wrap input:focus{background:#fff;border-color:#0ea5e99e;box-shadow:0 0 0 3px #0ea5e924}body.light-theme .login-input-icon{color:#a1a1aa}body.light-theme .login-input-wrap:focus-within .login-input-icon{color:#38bdf8}body.light-theme .login-toggle-pw svg{color:#a1a1aa}body.light-theme .login-toggle-pw:hover svg{color:#52525b}body.light-theme .product-title,body.light-theme .productform-title{color:#18181b}body.light-theme .product-count{background:#6366f114;border-color:#6366f126}body.light-theme .product-error span{color:#dc2626}body.light-theme .product-error button{color:#a1a1aa}body.light-theme .product-error button:hover{color:#18181b}body.light-theme .product-table-wrapper,body.light-theme .productform-units-table-wrapper{background:#fff;border-color:#00000014}body.light-theme .product-table-wrapper::-webkit-scrollbar-thumb{background:#0000001f}body.light-theme .product-table th,body.light-theme .productform-units-table th{background:#d0d4e8;border-bottom-color:#00000014;color:#3d4255}body.light-theme .product-table td,body.light-theme .productform-units-table td{border-bottom-color:#0000000a;color:#52525b}body.light-theme .product-table tbody tr:hover{background:#00000005}body.light-theme .product-table tbody tr.selected{background:#6366f140;border-left:3px solid #6366f1;box-shadow:inset 0 0 0 1px #6366f14d}body.light-theme .product-table tbody tr.selected .td-percent,body.light-theme .product-table tbody tr.selected td,body.light-theme .product-table tbody tr.selected td.td-purchase,body.light-theme .product-table tbody tr.selected td.td-sale,body.light-theme .product-table tbody tr.selected td.td-sale-normal,body.light-theme .product-table tbody tr.selected td.td-secondary,body.light-theme .product-table tbody tr.selected td.td-stock{color:#18181b}body.light-theme .product-table th.th-purchase{color:#b45309}body.light-theme .product-table th.th-sale{color:#16a34a}body.light-theme .product-table th.th-sale-normal{color:#6366f1}body.light-theme .product-table td.td-purchase{color:#d97706}body.light-theme .product-table td.td-sale{color:#22c55e}body.light-theme .product-table td.td-sale-normal{color:#6366f1}body.light-theme .td-percent{color:#a1a1aa}body.light-theme .product-table th.th-stock{color:#6366f1}body.light-theme .product-table td.td-stock{color:#4f46e5}body.light-theme .status-active{background:#22c55e1a;border-color:#22c55e33;color:#16a34a}body.light-theme .status-inactive{background:#ef444414;border-color:#ef444426;color:#dc2626}body.light-theme .btn-back{background:#0000000d;border-color:#0000001a;color:#71717a}body.light-theme .btn-back:hover{background:#00000014;color:#18181b}body.light-theme .btn-view{background:#6366f114;border-color:#6366f133;color:#6366f1}body.light-theme .btn-view:hover:not(:disabled){background:#6366f126}body.light-theme .btn-icon-danger{color:#a1a1aa}body.light-theme .btn-icon-danger:hover{background:#ef44441a;color:#dc2626}body.light-theme .searchable-select-trigger{background:#f4f4f5;border-color:#0000001f;color:#18181b}body.light-theme .searchable-select-trigger:hover{border-color:#00000040}body.light-theme .searchable-select-trigger.open{background:#fff;border-color:#6366f1}body.light-theme .ss-autocomplete-input,body.light-theme .ss-selected-overlay,body.light-theme .ss-value{color:#18181b}body.light-theme .ss-placeholder{color:#a1a1aa}body.light-theme .searchable-select-dropdown{background:#fff;border-color:#0000001a;box-shadow:0 8px 24px #0000001f}body.light-theme .ss-search-wrapper{border-bottom-color:#0000000f}body.light-theme .ss-search-wrapper svg{color:#a1a1aa}body.light-theme .ss-search-input{color:#18181b}body.light-theme .ss-search-input::placeholder{color:#a1a1aa}body.light-theme .ss-option{color:#52525b}body.light-theme .ss-option:hover{background:#6366f10f;color:#18181b}body.light-theme .ss-option-highlighted{background:#6366f11a;color:#18181b}body.light-theme .ss-option-selected{background:#6366f11a;color:#6366f1}body.light-theme .ss-option-selected.ss-option-highlighted{background:#6366f12e;color:#4338ca}body.light-theme .ss-no-results{color:#a1a1aa}body.light-theme .ss-options::-webkit-scrollbar-thumb{background:#0000001a}body.light-theme .btn-price{background:#f59e0b14;border-color:#f59e0b33;color:#d97706}body.light-theme .btn-price:hover:not(:disabled){background:#f59e0b26;border-color:#f59e0b59}body.light-theme .btn-price-purchase{background:#f59e0b14;border-color:#f59e0b40;color:#b45309}body.light-theme .btn-price-purchase:hover:not(:disabled){background:#f59e0b26;border-color:#f59e0b66}body.light-theme .btn-price-sale{background:#10b98114;border-color:#10b98140;color:#059669}body.light-theme .btn-price-sale:hover:not(:disabled){background:#10b98126;border-color:#10b98166}body.light-theme .pp-title{color:#18181b}body.light-theme .pp-product-name{color:#52525b}body.light-theme .pp-product-ref{background:#6366f114;border-color:#6366f126;color:#6366f1}body.light-theme .pp-product-barcode{background:#0000000a;border-color:#00000014;color:#71717a}body.light-theme .pp-add-unit-select{background:#f4f4f5;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;border-color:#0000001f;color:#18181b}body.light-theme .pp-add-unit-select:focus{background:#fff;border-color:#6366f1}body.light-theme .pp-add-unit-select option{background:#fff;color:#18181b}body.light-theme .pp-add-form input{background:#f4f4f5;border-color:#0000001f;color:#18181b}body.light-theme .pp-add-form input::placeholder{color:#a1a1aa}body.light-theme .pp-add-form input:focus{background:#fff;border-color:#6366f1}body.light-theme .pp-table-wrapper{background:#fff;border-color:#00000014}body.light-theme .pp-table-wrapper::-webkit-scrollbar-thumb{background:#0000001f}body.light-theme .pp-table th{background:#d0d4e8;border-bottom-color:#00000014;color:#3d4255}body.light-theme .pp-table td{border-bottom-color:#0000000a;color:#52525b}body.light-theme .pp-table tbody tr:hover{background:#00000005}body.light-theme .pp-row-last{background:#6366f10d}body.light-theme .pp-row-last:hover{background:#6366f114!important}body.light-theme .pp-price-current{color:#6366f1}body.light-theme .pp-edit-input{background:#f4f4f5;border-color:#6366f1;color:#18181b}body.light-theme .pp-unit-label{color:#71717a}body.light-theme .btn-icon-edit{color:#a1a1aa}body.light-theme .btn-icon-edit:hover{background:#6366f11a;color:#6366f1}body.light-theme .btn-icon-success{color:#a1a1aa}body.light-theme .btn-icon-success:hover{background:#22c55e1a;color:#16a34a}body.light-theme .btn-icon-cancel{color:#a1a1aa}body.light-theme .btn-icon-cancel:hover{background:#ef44441a;color:#dc2626}body.light-theme .pp-card{background:#fff;border-color:#00000014}body.light-theme .pp-card-header h3{color:#18181b}body.light-theme .pp-no-price{color:#a1a1aa}body.light-theme .pp-unit-price-row:hover{background:#00000005}body.light-theme .pp-unit-price-base{background:#6366f10d}body.light-theme .pp-unit-price-name{color:#52525b}body.light-theme .pp-unit-price-formula{color:#a1a1aa}body.light-theme .pp-unit-price-value{color:#18181b}body.light-theme .pp-unit-price-last{color:#a1a1aa}body.light-theme .pp-basic-badge{background:#6366f11a;color:#6366f1}body.light-theme .pp-col-side::-webkit-scrollbar-thumb{background:#0000001f}body.light-theme .sp-title{color:#18181b}body.light-theme .sp-product-name{color:#52525b}body.light-theme .sp-product-ref{background:#6366f114;border-color:#6366f126;color:#6366f1}body.light-theme .sp-add-unit-select{background:#f4f4f5;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;border-color:#0000001f;color:#18181b}body.light-theme .sp-add-unit-select:focus{background:#fff;border-color:#6366f1}body.light-theme .sp-add-unit-select option{background:#fff;color:#18181b}body.light-theme .sp-add-form input{background:#f4f4f5;border-color:#0000001f;color:#18181b}body.light-theme .sp-add-form input::placeholder{color:#a1a1aa}body.light-theme .sp-add-form input:focus{background:#fff;border-color:#6366f1}body.light-theme .sp-table-wrapper{background:#fff;border-color:#00000014}body.light-theme .sp-table-wrapper::-webkit-scrollbar-thumb{background:#0000001f}body.light-theme .sp-table th{background:#d0d4e8;border-bottom-color:#00000014;color:#3d4255}body.light-theme .sp-table td{border-bottom-color:#0000000a;color:#52525b}body.light-theme .sp-table tbody tr:hover{background:#00000005}body.light-theme .sp-row-has-price{background:#6366f108}body.light-theme .sp-row-has-price:hover{background:#6366f10f!important}body.light-theme .sp-price-normal{color:#6366f1}body.light-theme .sp-no-val{color:#d4d4d8}body.light-theme .sp-edit-input{background:#f4f4f5;border-color:#6366f1;color:#18181b}body.light-theme .sp-unit-label{color:#71717a}body.light-theme .sp-basic-badge{background:#6366f11a;color:#6366f1}body.light-theme .sp-purchase-price{color:#d97706}body.light-theme .sp-th-purchase{color:#d97706!important}body.light-theme .sp-th-margin{color:#16a34a!important}body.light-theme .sp-th-coeff{color:#7c3aed!important}body.light-theme .sp-margin-pos{color:#16a34a}body.light-theme .sp-margin-neg{color:#dc2626}body.light-theme .sp-coeff-value{color:#7c3aed}body.light-theme .btn-sale-price{background:#22c55e14;border-color:#22c55e33;color:#16a34a}body.light-theme .btn-sale-price:hover:not(:disabled){background:#22c55e26;border-color:#22c55e4d}body.light-theme .sp-history-overlay{background:#0000004d}body.light-theme .sp-history-popup{background:#fff;border-color:#0000001a;box-shadow:0 20px 60px #00000026}body.light-theme .sp-history-header{border-bottom-color:#00000014}body.light-theme .sp-history-header h3{color:#18181b}body.light-theme .sp-history-unit-name{color:#6366f1}body.light-theme .sp-history-count{color:#a1a1aa}body.light-theme .sp-history-close{background:#0000000a;color:#a1a1aa}body.light-theme .sp-history-close:hover{background:#ef44441a;color:#dc2626}body.light-theme .sp-history-body::-webkit-scrollbar-thumb,body.light-theme .sp-history-table-wrapper::-webkit-scrollbar-thumb{background:#0000001a}body.light-theme .sp-history-table-wrapper::-webkit-scrollbar-thumb:hover{background:#0000002e}body.light-theme .sp-history-idx{color:#a1a1aa}body.light-theme .sp-history-table th{background:#d0d4e8}body.light-theme .sp-history-empty{color:#a1a1aa}body.light-theme .sp-history-table th{border-bottom-color:#00000014;color:#3d4255}body.light-theme .sp-history-table td{border-bottom-color:#0000000a;color:#52525b}body.light-theme .sp-history-table tbody tr:hover{background:#00000005}body.light-theme .sp-history-row-current{background:#6366f10d}body.light-theme .sp-history-row-current:hover{background:#6366f114!important}body.light-theme .sp-tabs,body.light-theme .sp-topbar{border-bottom-color:#00000014}body.light-theme .sp-tab{color:#a1a1aa}body.light-theme .sp-tab:hover{background:#00000005;color:#52525b}body.light-theme .sp-tab-active{border-bottom-color:#6366f1;color:#6366f1}body.light-theme .sp-tab-active:hover{background:#6366f10a;color:#6366f1}body.light-theme .sp-tab-client.sp-tab-active{border-bottom-color:#ec4899;color:#ec4899}body.light-theme .sp-tab-badge{background:#6366f11a;color:#6366f1}body.light-theme .sp-tab-badge-client{background:#ec48991a;color:#ec4899}body.light-theme .sp-unit-bar{background:#fff;border-color:#00000014}body.light-theme .sp-unit-selector{background:#f4f4f5;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;border-color:#0000001f;color:#18181b}body.light-theme .sp-unit-selector:focus{background:#fff;border-color:#6366f1}body.light-theme .sp-unit-selector option{background:#fff;color:#18181b}body.light-theme .sp-purchase-display{background:#f59e0b0f;border-color:#f59e0b26}body.light-theme .sp-purchase-label{color:#92400e}body.light-theme .sp-purchase-value{color:#d97706}body.light-theme .sp-type-label{color:#52525b}body.light-theme .sp-type-label-main{color:#6366f1}body.light-theme .sp-th-percent{color:#7c3aed!important}body.light-theme .sp-row-highlight{background:#6366f10a}body.light-theme .sp-row-highlight:hover{background:#6366f112!important}body.light-theme .sp-percent-input{border-color:#8b5cf6!important;box-shadow:0 0 0 3px #8b5cf614!important}body.light-theme .sp-percent-input,body.light-theme .sp-price-input{background:#f4f4f5!important;color:#18181b!important}body.light-theme .sp-input-warning{background:#f59e0b0f!important;border-color:#f59e0b!important;box-shadow:0 0 0 3px #f59e0b1a!important}body.light-theme .sp-cfa-suffix{color:#a1a1aa}body.light-theme .sp-readonly-val{color:#52525b}body.light-theme .sp-readonly-main{color:#6366f1}body.light-theme .sp-readonly-percent{color:#7c3aed}body.light-theme .sp-save-bar{background:#00000005;border-top-color:#0000000f}body.light-theme .sp-summary-section{background:#fff;border-color:#00000014}body.light-theme .sp-summary-header{border-bottom-color:#0000000f;color:#6366f1}body.light-theme .sp-summary-table-wrapper::-webkit-scrollbar-thumb{background:#0000001a}body.light-theme .sp-summary-row:hover{background:#00000005}body.light-theme .sp-summary-row-active{background:#6366f10f!important;border-left-color:#6366f1}body.light-theme .sp-summary-row-active:hover{background:#6366f11a!important}body.light-theme .sp-add-form{background:#fff;border-color:#00000014}body.light-theme .sp-cp-ref-panel{background:linear-gradient(135deg,#6366f108,#a855f705);border-color:#6366f11a}body.light-theme .sp-cp-ref-card{background:#fff;border-color:#00000014}body.light-theme .sp-cp-ref-card:hover{background:#fafafa;border-color:#00000026}body.light-theme .sp-cp-ref-card-base{background:#6366f108;border-color:#6366f133}body.light-theme .sp-cp-ref-unit{border-bottom-color:#0000000f}body.light-theme .sp-cp-ref-unit-name{color:#18181b}body.light-theme .sp-cp-ref-label{color:#a1a1aa}body.light-theme .sp-cp-ref-value{color:#52525b}body.light-theme .sp-cp-ref-main{color:#6366f1}body.light-theme .sp-cp-ref-achat-row{border-top-color:#f59e0b33}body.light-theme .sp-cp-ref-achat{color:#d97706}body.light-theme .sp-cp-add-form{background:#fff;border-color:#00000014}body.light-theme .sp-cp-customer-select .searchable-select-trigger{background:#f4f4f5;border-color:#0000001f;color:#18181b}body.light-theme .sp-cp-row{background:#ec489905}body.light-theme .sp-cp-row:hover{background:#ec48990f!important}body.light-theme .sp-cp-avatar{background:linear-gradient(135deg,#ec489926,#a855f726);border-color:#ec489940;color:#ec4899}body.light-theme .sp-cp-client-name{color:#18181b}body.light-theme .sp-cp-price{color:#ec4899!important}body.light-theme .stock-title{color:#18181b}body.light-theme .stock-count{background:#6366f114;border-color:#6366f126}body.light-theme .stock-error span{color:#dc2626}body.light-theme .stock-error button{color:#a1a1aa}body.light-theme .stock-error button:hover{color:#18181b}body.light-theme .stock-table-wrapper{background:#fff;border-color:#00000014}body.light-theme .stock-table-wrapper::-webkit-scrollbar-thumb{background:#0000001f}body.light-theme .stock-table th{background:#d0d4e8;border-bottom-color:#00000014;color:#3d4255}body.light-theme .stock-table td{border-bottom-color:#0000000a;color:#52525b}body.light-theme .stock-doc-row:hover{background:#00000005}body.light-theme .stock-filter-date,body.light-theme .stock-filter-select{background:#fff;border-color:#0000001f;color:#18181b}body.light-theme .stock-filter-select option{background:#fff;color:#18181b}body.light-theme .stock-filter-date:focus,body.light-theme .stock-filter-select:focus{background:#fff;border-color:#6366f1}body.light-theme .stock-filter-date::-webkit-calendar-picker-indicator{filter:none}body.light-theme .stock-filter-date-separator{color:#71717a}body.light-theme .stock-detail-search{background:#00000008;border-color:#00000014}body.light-theme .stock-detail-search svg{color:#a1a1aa}body.light-theme .stock-detail-search input{color:#18181b}body.light-theme .stock-detail-search input::placeholder{color:#a1a1aa}body.light-theme .stock-detail-overlay{background:#0006}body.light-theme .stock-confirm-popup,body.light-theme .stock-detail-popup{background:#fff;border-color:#0000001a;box-shadow:0 25px 60px #00000026}body.light-theme .stock-confirm-footer{border-top-color:#00000014}body.light-theme .stock-error-message{color:#71717a}body.light-theme .stock-error-product-name{color:#dc2626}body.light-theme .stock-detail-header{border-bottom-color:#00000014}body.light-theme .stock-detail-header-info h3{color:#18181b}body.light-theme .stock-detail-close{background:#0000000a;color:#a1a1aa}body.light-theme .stock-detail-close:hover{background:#ef44441a;color:#dc2626}body.light-theme .stock-detail-meta{border-bottom-color:#0000000f}body.light-theme .stock-detail-meta-label{color:#a1a1aa}body.light-theme .stock-detail-meta-value{color:#52525b}body.light-theme .stock-detail-body::-webkit-scrollbar-thumb{background:#0000001a}body.light-theme .stock-detail-table{border-color:#0000000f}body.light-theme .stock-detail-table th{background:#d0d4e8;border-bottom-color:#0000000f;color:#3d4255}body.light-theme .stock-detail-table td{border-bottom-color:#00000008;color:#52525b}body.light-theme .td-quantity{color:#18181b!important}body.light-theme .stock-section{background:#fff;border-color:#00000014}body.light-theme .stock-section-title{color:#18181b}body.light-theme .stock-type-btn{background:#00000005;border-color:#00000014;color:#71717a}body.light-theme .stock-type-btn:hover{background:#0000000a;border-color:#00000026;color:#52525b}body.light-theme .stock-type-btn.active{background:var(--type-bg);border-color:var(--type-border);box-shadow:0 1px 3px #00000014;color:var(--type-color);font-weight:700}body.light-theme .stock-field label{color:#71717a}body.light-theme .stock-field-qty input{background:#f4f4f5;border-color:#0000001f;color:#18181b}body.light-theme .stock-field-qty input::placeholder{color:#a1a1aa}body.light-theme .stock-field-qty input:focus{background:#fff;border-color:#6366f1}body.light-theme .stock-items-table-wrapper{border-color:#0000000f}body.light-theme .stock-items-table th{background:#d0d4e8;border-bottom-color:#0000000f;color:#3d4255}body.light-theme .stock-items-table td{border-bottom-color:#00000008;color:#52525b}body.light-theme .stock-form-content::-webkit-scrollbar-thumb{background:#0000001f}body.light-theme .proforma-title{color:#18181b}body.light-theme .proforma-count{background:#6366f114;border-color:#6366f126}body.light-theme .proforma-error span{color:#dc2626}body.light-theme .proforma-error button{color:#a1a1aa}body.light-theme .proforma-error button:hover{color:#18181b}body.light-theme .proforma-table-wrapper{background:#fff;border-color:#00000014}body.light-theme .proforma-table-wrapper::-webkit-scrollbar-thumb{background:#0000001f}body.light-theme .proforma-table th{background:#d0d4e8;border-bottom-color:#00000014;color:#3d4255}body.light-theme .proforma-table th.th-total{color:#6366f1}body.light-theme .proforma-table td{border-bottom-color:#0000000a;color:#52525b}body.light-theme .proforma-table tbody tr:hover{background:#00000005}body.light-theme .proforma-table tbody tr.selected{background:#6366f114}body.light-theme .proforma-table tbody tr.selected td{color:#18181b}body.light-theme .td-docnum{color:#6366f1!important}body.light-theme .td-total{color:#4f46e5!important}body.light-theme .status-draft{background:#facc151a;border-color:#facc154d;color:#a16207}body.light-theme .status-validated{background:#22c55e1a;border-color:#22c55e33;color:#16a34a}body.light-theme .status-cancelled,body.light-theme .status-unpaid{background:#ef444414;border-color:#ef444426;color:#dc2626}body.light-theme .status-partial{background:#facc151a;border-color:#facc154d;color:#a16207}body.light-theme .status-paid{background:#22c55e1a;border-color:#22c55e33;color:#16a34a}body.light-theme .pf-title{color:#1e1b4b}body.light-theme .pf-docnum{background:#6366f10f;border-color:#6366f11f;color:#4f46e5}body.light-theme .pf-loading{color:#a1a1aa}body.light-theme .pf-header-section{background:#fff;border-color:#e4e4e7;box-shadow:0 1px 3px #0000000a}body.light-theme .pf-field label{color:#52525b}body.light-theme .pf-field-value{color:#18181b}body.light-theme .pf-notes-input{background:#fafafa;border-color:#d4d4d8;color:#18181b}body.light-theme .pf-notes-input::placeholder{color:#a1a1aa}body.light-theme .pf-grand-total{background:linear-gradient(135deg,#6366f10a,#6366f114);border-color:#6366f126}body.light-theme .pf-grand-total-label{color:#6366f1}body.light-theme .pf-grand-total-value{color:#4338ca}body.light-theme .pf-add-line{background:#fff;border-color:#e4e4e7;box-shadow:0 1px 3px #0000000a}body.light-theme .pf-add-line-title{color:#3f3f46}body.light-theme .pf-add-field label{color:#52525b}body.light-theme .pf-add-field input,body.light-theme .pf-select{background:#fafafa;border-color:#d4d4d8;color:#18181b}body.light-theme .pf-add-field input::placeholder{color:#a1a1aa}body.light-theme .pf-smart-row{background:linear-gradient(135deg,#6366f108,#6366f10f);border-color:#6366f11a}body.light-theme .pf-smart-label{color:#71717a}body.light-theme .pf-smart-val{color:#4338ca}body.light-theme .pf-smart-stock{color:#15803d}body.light-theme .pf-smart-separator{background:#6366f126}body.light-theme .pf-smart-special{background:#ec48990f;border-color:#ec48991f;color:#be185d}body.light-theme .pf-lines-wrapper{background:#fff;border-color:#e4e4e7;box-shadow:0 1px 3px #0000000a}body.light-theme .pf-lines-wrapper::-webkit-scrollbar-thumb{background:#0000001a}body.light-theme .pf-lines-table th{background:#eef0f6;border-bottom-color:#d4d4d8;color:#3f3f46}body.light-theme .pf-lines-table th.th-total{color:#4f46e5}body.light-theme .pf-lines-table td{border-bottom-color:#f4f4f5;color:#27272a}body.light-theme .pf-lines-table tbody tr:hover{background:#fafafa}body.light-theme .pf-lines-table tfoot td{background:#fafafa;border-top-color:#e4e4e7}body.light-theme .pf-line-inline-input{background:#fafafa;border:1px solid #d4d4d8;color:#18181b}body.light-theme .pf-line-inline-input:focus{border-color:#6366f1}body.light-theme .pf-line-inline-select{background:#fafafa;border:1px solid #d4d4d8;color:#18181b}body.light-theme .pf-line-inline-select:focus{border-color:#6366f1}body.light-theme .pf-line-inline-select option{background:#fff;color:#18181b}body.light-theme .pf-foot-total-label{color:#52525b}body.light-theme .pf-foot-total-value{color:#4338ca!important}body.light-theme .bl-title{color:#18181b}body.light-theme .bl-count{background:#6366f114;border-color:#6366f126}body.light-theme .bl-error span{color:#dc2626}body.light-theme .bl-error button{color:#a1a1aa}body.light-theme .bl-error button:hover{color:#18181b}body.light-theme .bl-table-wrapper{background:#fff;border-color:#00000014}body.light-theme .bl-table-wrapper::-webkit-scrollbar-thumb{background:#0000001f}body.light-theme .bl-table th{background:#d0d4e8;border-bottom-color:#00000014;color:#3d4255}body.light-theme .bl-table th.th-total{color:#6366f1}body.light-theme .bl-table td{border-bottom-color:#0000000a;color:#52525b}body.light-theme .bl-table tbody tr:hover{background:#00000005}body.light-theme .bl-table tbody tr.selected{background:#6366f114}body.light-theme .bl-table tbody tr.selected td{color:#18181b}body.light-theme .bl-form-title{color:#1e1b4b}body.light-theme .bl-form-docnum{background:#6366f10f;border-color:#6366f11f;color:#4f46e5}body.light-theme .bl-form-loading{color:#a1a1aa}body.light-theme .btn-validate{background:#22c55e14;border-color:#22c55e33;color:#16a34a}body.light-theme .btn-validate:hover:not(:disabled){background:#22c55e26;border-color:#22c55e59;box-shadow:0 2px 10px #22c55e1f}body.light-theme .btn-convert-bl{background:#22c55e14;border-color:#22c55e33;color:#16a34a}body.light-theme .btn-convert-bl:hover:not(:disabled){background:#22c55e26;border-color:#22c55e59;box-shadow:0 2px 10px #22c55e1f}body.light-theme .bl-form-header-section{background:#fff;border-color:#e4e4e7;box-shadow:0 1px 3px #0000000a}body.light-theme .bl-form-field label{color:#52525b}body.light-theme .bl-form-field-value{color:#18181b}body.light-theme .bl-form-notes-input{background:#fafafa;border-color:#d4d4d8;color:#18181b}body.light-theme .bl-form-notes-input::placeholder{color:#a1a1aa}body.light-theme .bl-form-grand-total{background:linear-gradient(135deg,#6366f10a,#6366f114);border-color:#6366f126}body.light-theme .bl-form-grand-total-label{color:#6366f1}body.light-theme .bl-form-grand-total-value{color:#4338ca}body.light-theme .bl-form-add-line{background:#fff;border-color:#e4e4e7;box-shadow:0 1px 3px #0000000a}body.light-theme .bl-form-add-line-title{color:#3f3f46}body.light-theme .bl-form-lines-wrapper{background:#fff;border-color:#e4e4e7;box-shadow:0 1px 3px #0000000a}body.light-theme .bl-form-lines-wrapper::-webkit-scrollbar-thumb{background:#0000001a}body.light-theme .bl-form-lines-table th{background:#eef0f6;border-bottom-color:#d4d4d8;color:#3f3f46}body.light-theme .bl-form-lines-table th.th-total{color:#4f46e5}body.light-theme .bl-form-lines-table td{border-bottom-color:#f4f4f5;color:#27272a}body.light-theme .bl-form-lines-table tbody tr:hover{background:#fafafa}body.light-theme .bl-form-lines-table tfoot td{background:#fafafa;border-top-color:#e4e4e7}body.light-theme .bl-form-line-depot-select{background:#fafafa;border-color:#d4d4d8;color:#18181b}body.light-theme .bl-form-line-depot-select:focus{background:#fff;border-color:#6366f1}body.light-theme .bl-form-line-depot-select option{background:#fff;color:#18181b}body.light-theme .bl-form-line-qty-input{background:#fafafa;border:1px solid #d4d4d8;color:#18181b}body.light-theme .bl-form-line-qty-input:focus{border-color:#6366f1}body.light-theme .header{background:#0a1220f5;border-bottom-color:#94a3b829;box-shadow:0 1px 2px #0f172a2e}body.light-theme .sidebar{background:#0f172a;border-right-color:#94a3b829}body.light-theme .menu-toggle,body.light-theme .nav-item{color:#cbd5e1}body.light-theme .menu-toggle:hover,body.light-theme .nav-item:hover{background:#94a3b81a;color:#f8fafc}body.light-theme .user-info{background:#0f172ab8;border-color:#94a3b82e}body.light-theme .user-avatar{background:linear-gradient(135deg,#0ea5e9,#14b8a6)}body.light-theme .header-title,body.light-theme .user-name{color:#f8fafc}body.light-theme .nav-section-chevron,body.light-theme .nav-section-title,body.light-theme .user-role{color:#94a3b8}body.light-theme .nav-section-header:hover{background:#94a3b814}body.light-theme .nav-item.active{background:#0ea5e926;border-color:#0ea5e94d;color:#7dd3fc}body.light-theme :is(.dashboard-title,.famille-title,.supplier-title,.customer-title,.unit-title,.depot-title,.product-title,.stock-title,.proforma-title,.bl-title,.pf-title,.bl-form-title){color:#0f172a;letter-spacing:0}body.light-theme :is(.stat-card,.famille-table-wrapper,.supplier-table-wrapper,.customer-table-wrapper,.unit-table-wrapper,.depot-table-wrapper,.product-table-wrapper,.stock-table-wrapper,.proforma-table-wrapper,.bl-table-wrapper,.pf-form-header-section,.bl-form-header-section,.pf-add-line,.bl-form-add-line,.modal,.confirm-dialog,.searchable-select-menu){background:#fff!important;border-color:#0f172a1a!important;border-radius:8px!important;box-shadow:0 12px 28px #0f172a12}body.light-theme :is(.famille-table th,.supplier-table th,.customer-table th,.unit-table th,.depot-table th,.product-table th,.stock-table th,.proforma-table th,.bl-table th,.pf-lines-table th,.bl-form-lines-table th,.payment-invoices-table th,.ph-table th){background:#e8eef6!important;border-bottom-color:#0f172a24!important;color:#334155!important}body.light-theme :is(.famille-table td,.supplier-table td,.customer-table td,.unit-table td,.depot-table td,.product-table td,.stock-table td,.proforma-table td,.bl-table td,.pf-lines-table td,.bl-form-lines-table td,.payment-invoices-table td,.ph-table td){color:#334155!important}body.light-theme :is(.famille-table tbody tr:hover,.supplier-table tbody tr:hover,.customer-table tbody tr:hover,.unit-table tbody tr:hover,.depot-table tbody tr:hover,.product-table tbody tr:hover,.stock-table tbody tr:hover,.proforma-table tbody tr:hover,.bl-table tbody tr:hover,.payment-invoices-table tbody tr:hover,.ph-row:hover){background:#0ea5e90f!important}body.light-theme :is(.famille-table tbody tr.selected,.supplier-table tbody tr.selected,.customer-table tbody tr.selected,.unit-table tbody tr.selected,.depot-table tbody tr.selected,.product-table tbody tr.selected,.stock-table tbody tr.selected,.proforma-table tbody tr.selected,.bl-table tbody tr.selected){background:#0ea5e91a!important;border-left-color:#0ea5e9!important}body.light-theme :is(input,select,textarea,.searchable-select-control){background:#fff!important;border-color:#0f172a24!important;border-radius:7px!important;color:#0f172a!important}body.light-theme :is(input,select,textarea,.searchable-select-control):focus,body.light-theme :is(input,select,textarea,.searchable-select-control):focus-within{border-color:#0ea5e9!important;box-shadow:0 0 0 3px #0ea5e924!important}body.light-theme :is(.btn-primary,.btn-add,.btn-save){background:#0ea5e9!important;border-color:#0284c7!important;border-radius:7px!important;color:#fff!important}body.light-theme :is(.btn-view,.btn-print,.btn-edit){background:#f8fafc!important;border-color:#0f172a1f!important;border-radius:7px!important;color:#334155!important}body.light-theme :is(.td-total,.pf-foot-total-value,.bl-form-grand-total-value,.pf-grand-total-value){color:#0284c7!important}body.light-theme .customer-balance-debt,body.light-theme .supplier-balance-debt{background:#ef444414;border-color:#ef44442e;color:#dc2626}body.light-theme .customer-balance-credit,body.light-theme .supplier-balance-credit{background:#22c55e14;border-color:#22c55e33;color:#16a34a}body.light-theme .customer-balance-zero,body.light-theme .supplier-balance-zero{background:#eef0f6;border-color:#0000000f;color:#52525b}body:not(.light-theme) :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table){border-collapse:initial;border-spacing:0}body:not(.light-theme) :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table) th{background:linear-gradient(180deg,#1f2b40,#182234)!important;border-bottom:1px solid #38bdf847!important;color:#93a4bd!important;font-size:11px!important;font-size:calc(11px*var(--ui-scale, 1))!important;font-weight:700!important;letter-spacing:.06em;padding:11px 14px!important;position:sticky;text-transform:uppercase;top:0;white-space:nowrap;z-index:3}body:not(.light-theme) :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table) td{color:#cbd5e1!important;font-size:13px!important;font-size:calc(13px*var(--ui-scale, 1))!important;padding:9px 14px!important}body:not(.light-theme) :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table) tbody tr:nth-child(2n) td{background:#94a3b80a}body:not(.light-theme) :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table) tbody tr:hover td{background:#0ea5e91a!important}body:not(.light-theme) :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table) tbody tr.selected td{background:#0ea5e929!important;color:#f1f5f9!important}body.light-theme :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table){border-collapse:initial;border-spacing:0}body.light-theme :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table) th{background:linear-gradient(180deg,#eef1f8,#e3e8f3)!important;border-bottom:1px solid #2563eb47!important;color:#3d4255!important;font-size:11px!important;font-size:calc(11px*var(--ui-scale, 1))!important;font-weight:700!important;letter-spacing:.05em;padding:11px 14px!important;position:sticky;text-transform:uppercase;top:0;white-space:nowrap;z-index:3}body.light-theme :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table) td{font-size:13px!important;font-size:calc(13px*var(--ui-scale, 1))!important;padding:9px 14px!important}body.light-theme :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table) tbody tr:nth-child(2n) td{background:rgba(15,23,42,.022)}body.light-theme :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table) tbody tr:hover td{background:#2563eb0f!important}body.light-theme :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table) tbody tr.selected td{background:#6366f11f!important;color:#18181b!important}body.density-comfortable :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table) td{font-size:14px!important;font-size:calc(14px*var(--ui-scale, 1))!important;padding:13px 16px!important}body.density-comfortable :is(.famille-table,.supplier-table,.customer-table,.unit-table,.depot-table,.product-table,.stock-table,.proforma-table,.bl-table,.payment-invoices-table,.ph-table,.pp-table,.sp-table,.pm-table) th{padding:13px 16px!important}.table-footer-bar{align-items:center;background:#11182780;border:1px solid #94a3b829;border-radius:10px;display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-top:10px;padding:10px 16px}.table-footer-count{color:#94a3b8;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));font-weight:500}.table-footer-count strong{color:#e2e8f0;font-weight:700}.table-footer-total{align-items:baseline;color:#94a3b8;display:inline-flex;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));font-weight:500;gap:8px}.table-footer-total strong{color:#38bdf8;font-size:15px;font-size:calc(15px*var(--ui-scale, 1));font-weight:700;letter-spacing:-.2px}body.light-theme .table-footer-bar{background:#fff;border-color:#00000014}body.light-theme .table-footer-count{color:#71717a}body.light-theme .table-footer-count strong{color:#18181b}body.light-theme .table-footer-total{color:#71717a}body.light-theme .table-footer-total strong{color:#4f46e5}th.th-sortable{cursor:pointer;transition:color .12s ease;-webkit-user-select:none;user-select:none}th.th-sortable .th-sort-inner{align-items:center;display:inline-flex;gap:5px}th.th-sortable .th-sort-icon{flex-shrink:0;height:13px;opacity:.35;transition:opacity .12s ease,transform .12s ease;width:13px}th.th-sortable:hover .th-sort-icon{opacity:.7}th.th-sorted-asc .th-sort-icon,th.th-sorted-desc .th-sort-icon{color:#38bdf8;opacity:1}th.th-sorted-desc .th-sort-icon{transform:rotate(180deg)}body:not(.light-theme) th.th-sortable:hover{color:#e0f2fe!important}body.light-theme th.th-sorted-asc .th-sort-icon,body.light-theme th.th-sorted-desc .th-sort-icon{color:#2563eb}body.light-theme th.th-sortable:hover{color:#1e293b!important}.login-page{align-items:center;background:radial-gradient(circle at 18% 20%,#14b8a62e,#0000 28rem),radial-gradient(circle at 82% 12%,#0ea5e938,#0000 26rem),linear-gradient(135deg,#f8fbff,#eaf5fb 48%,#f4f7fb);display:flex;justify-content:center;min-height:100vh;overflow:hidden;padding:20px;position:relative}.login-bg{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:0}.login-bg-shape{border-radius:50%;filter:blur(76px);opacity:.46;position:absolute}.login-bg-shape-1{animation:bgFloat1 18s ease-in-out infinite;background:radial-gradient(circle,#0ea5e947,#0000 70%);height:420px;right:-5%;top:-10%;width:420px}.login-bg-shape-2{animation:bgFloat2 22s ease-in-out infinite;background:radial-gradient(circle,#14b8a63d,#0000 70%);bottom:-8%;height:350px;left:-5%;width:350px}.login-bg-shape-3{animation:bgFloat3 15s ease-in-out infinite;background:radial-gradient(circle,#60a5fa2e,#0000 70%);height:250px;left:50%;top:50%;transform:translate(-50%,-50%);width:250px}@keyframes bgFloat1{0%,to{transform:translate(0) scale(1)}50%{transform:translate(-30px,30px) scale(1.08)}}@keyframes bgFloat2{0%,to{transform:translate(0) scale(1)}50%{transform:translate(25px,-25px) scale(1.05)}}@keyframes bgFloat3{0%,to{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.12)}}.login-card{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:linear-gradient(180deg,#ffffffeb,#f8fafcdb);border:1px solid #0f172a1a;border-radius:18px;box-shadow:inset 0 0 0 1px #ffffffa6,0 28px 70px #0f172a24,0 16px 38px #0ea5e91a;max-width:430px;overflow:hidden;position:relative;width:100%;z-index:1}.login-card:before{background:linear-gradient(90deg,#14b8a6,#0ea5e9,#38bdf8);content:"";height:3px;left:0;position:absolute;right:0;top:0}.login-card-inner{padding:48px 40px 44px}.login-avatar{align-items:center;background:linear-gradient(135deg,#14b8a629,#0ea5e92e),#f8fafc;border:1px solid #0ea5e938;border-radius:16px;box-shadow:0 12px 30px #0ea5e924;display:flex;height:64px;justify-content:center;margin:0 auto 28px;width:64px}.login-avatar svg{color:#0284c7;height:30px;width:30px}.login-heading{color:#0f172a;font-size:26px;font-size:calc(26px*var(--ui-scale, 1));font-weight:700;letter-spacing:-.3px;margin:0 0 6px;text-align:center}.login-subheading{color:#64748b;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));line-height:1.5;margin:0 0 32px;text-align:center}.login-error{align-items:center;animation:loginShake .45s ease-in-out;background:#dc26261f;border:1px solid #f871713d;border-radius:10px;display:flex;gap:10px;margin-bottom:24px;padding:12px 16px}.login-error svg{color:#f87171;flex-shrink:0;height:18px;width:18px}.login-error span{color:#fecaca;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));line-height:1.4}@keyframes loginShake{0%,to{transform:translateX(0)}20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}}.login-form{width:100%}.login-field{margin-bottom:20px}.login-field label{color:#334155;display:block;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.login-input-wrap{align-items:center;display:flex;position:relative}.login-input-icon{color:#64748b;height:18px;left:14px;pointer-events:none;position:absolute;transition:color .25s;width:18px}.login-input-wrap input{background:#ffffffc7;border:1px solid #0f172a21;border-radius:10px;color:#0f172a;font-family:inherit;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));outline:none;padding:13px 46px 13px 44px;transition:all .25s;width:100%}.login-input-wrap input::placeholder{color:#94a3b8}.login-input-wrap input:focus{background:#fff;border-color:#0ea5e99e;box-shadow:0 0 0 3px #0ea5e924}.login-input-wrap:focus-within .login-input-icon{color:#38bdf8}.login-toggle-pw{align-items:center;background:none;border:none;cursor:pointer;display:flex;justify-content:center;padding:4px;position:absolute;right:12px}.login-toggle-pw svg{color:#94a3b8;height:18px;transition:color .25s;width:18px}.login-toggle-pw:hover svg{color:#334155}.login-btn{align-items:center;background:linear-gradient(135deg,#14b8a6,#0ea5e9 52%,#2563eb);border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-family:inherit;font-size:15px;font-size:calc(15px*var(--ui-scale, 1));font-weight:700;gap:8px;justify-content:center;margin-top:8px;overflow:hidden;padding:14px 24px;position:relative;transition:all .25s;width:100%}.login-btn:before{background:linear-gradient(90deg,#0000,#ffffff38,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s ease;width:100%}.login-btn:hover:before{left:100%}.login-btn:hover{box-shadow:0 14px 30px #0ea5e947;transform:translateY(-2px)}.login-btn:active{transform:translateY(0)}.login-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.login-spinner{animation:loginSpin .65s linear infinite;border:2.5px solid #ffffff40;border-radius:50%;border-top-color:#fff;height:22px;width:22px}@keyframes loginSpin{to{transform:rotate(1turn)}}@media (max-width:480px){.login-page{padding:16px}.login-card-inner{padding:36px 24px 32px}.login-heading{font-size:22px;font-size:calc(22px*var(--ui-scale, 1))}.login-avatar{height:56px;margin-bottom:24px;width:56px}.login-avatar svg{height:26px;width:26px}}.unlock-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:1400}.unlock-panel{background:#141b26;border:1px solid #2a3344;border-radius:12px;box-shadow:0 18px 50px #00000073;color:#e6ebf2;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));max-height:85vh;max-width:520px;overflow-y:auto;padding:18px 20px 16px;width:100%}.unlock-head{align-items:center;display:flex;justify-content:space-between;margin-bottom:14px}.unlock-head h2{font-size:16px;font-size:calc(16px*var(--ui-scale, 1));font-weight:700;margin:0}.unlock-head button{background:#0000;border:none;border-radius:6px;color:#8a97a8;cursor:pointer;font-size:22px;font-size:calc(22px*var(--ui-scale, 1));height:28px;line-height:1;width:28px}.unlock-head button:hover{background:#ffffff12;color:#e6ebf2}.unlock-hint{color:#8a97a8;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));line-height:1.5;margin:0 0 14px}.unlock-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.unlock-field span{color:#8a97a8;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700;letter-spacing:.05em;text-transform:uppercase}.unlock-field input{background:#0e141d;border:1px solid #2a3344;border-radius:8px;color:#e6ebf2;font-family:inherit;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));height:40px;outline:none;padding:0 12px}.unlock-field input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.unlock-error{background:#dc262624;border:1px solid #f8717159;border-radius:8px;color:#fca5a5;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));margin-bottom:12px;padding:9px 12px}.unlock-list{border:1px solid #2a3344;border-radius:10px;list-style:none;margin:0 0 14px;overflow:hidden;padding:0}.unlock-list li{align-items:center;display:flex;gap:10px;padding:10px 12px}.unlock-list li+li{border-top:1px solid #202839}.unlock-account{display:flex;flex:1 1 auto;flex-direction:column;min-width:0}.unlock-account strong{font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:600}.unlock-account span{color:#8a97a8;font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1))}.unlock-state{border-radius:999px;flex-shrink:0;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700;padding:2px 8px}.unlock-state.is-on{background:#16a34a29;color:#4ade80}.unlock-state.is-off{background:#94a3b824;color:#94a3b8}.unlock-state.is-locked{background:#dc262629;color:#fca5a5}.unlock-actions{display:flex;gap:8px;justify-content:flex-end}.unlock-btn{background:#0000;border:1px solid #2a3344;border-radius:8px;color:#cbd5e1;cursor:pointer;flex-shrink:0;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;min-height:34px;padding:0 13px}.unlock-btn:hover:not(:disabled){background:#ffffff0f}.unlock-btn:disabled{cursor:not-allowed;opacity:.5}.unlock-btn-primary{background:#3b82f6;border-color:#3b82f6;color:#fff}.company-setup-page{align-items:center;background:radial-gradient(circle at 18% 20%,#14b8a62e,#0000 28rem),radial-gradient(circle at 82% 12%,#0ea5e938,#0000 26rem),linear-gradient(135deg,#f8fbff,#eaf5fb 48%,#f4f7fb);display:flex;justify-content:center;min-height:100vh;padding:20px}.company-setup-card{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:linear-gradient(180deg,#ffffffeb,#f8fafcdb);border:1px solid #0f172a1a;border-radius:18px;box-shadow:inset 0 0 0 1px #ffffffa6,0 28px 70px #0f172a24,0 16px 38px #0ea5e91a;max-width:600px;overflow:hidden;position:relative;width:100%}.company-setup-card:before{background:linear-gradient(90deg,#14b8a6,#0ea5e9,#38bdf8);content:"";height:3px;left:0;position:absolute;right:0;top:0}.company-setup-card-inner{padding:44px 40px 40px}.company-setup-avatar{align-items:center;background:linear-gradient(135deg,#14b8a629,#0ea5e92e),#f8fafc;border:1px solid #0ea5e938;border-radius:16px;box-shadow:0 12px 30px #0ea5e924;display:flex;height:64px;justify-content:center;margin:0 auto 24px;width:64px}.company-setup-avatar svg{color:#0284c7;height:30px;width:30px}.company-setup-heading{color:#0f172a;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:700;letter-spacing:-.3px;margin:0 0 6px;text-align:center}.company-setup-subheading{color:#64748b;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));line-height:1.5;margin:0 0 28px;text-align:center}.company-setup-error{align-items:center;background:#dc26261f;border:1px solid #f871713d;border-radius:10px;display:flex;gap:10px;margin-bottom:20px;padding:12px 16px}.company-setup-error svg{color:#f87171;flex-shrink:0;height:18px;width:18px}.company-setup-error span{color:#b91c1c;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));line-height:1.4}.company-setup-form{width:100%}.company-setup-grid{grid-gap:0 16px;display:grid;gap:0 16px;grid-template-columns:1fr 1fr}.company-setup-field{margin-bottom:18px}.company-setup-field-full{grid-column:1/-1}.company-setup-field label{color:#334155;display:block;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.company-setup-field input{background:#ffffffc7;border:1px solid #0f172a21;border-radius:10px;color:#0f172a;font-family:inherit;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));outline:none;padding:13px 16px;transition:all .25s;width:100%}.company-setup-field input::placeholder{color:#94a3b8}.company-setup-field input:focus{background:#fff;border-color:#0ea5e99e;box-shadow:0 0 0 3px #0ea5e924}.company-setup-btn{align-items:center;background:linear-gradient(135deg,#14b8a6,#0ea5e9 52%,#2563eb);border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-family:inherit;font-size:15px;font-size:calc(15px*var(--ui-scale, 1));font-weight:700;gap:8px;justify-content:center;margin-top:8px;padding:14px 24px;transition:all .25s;width:100%}.company-setup-btn:hover{box-shadow:0 14px 30px #0ea5e947;transform:translateY(-2px)}.company-setup-btn:active{transform:translateY(0)}.company-setup-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.company-setup-spinner{animation:companySetupSpin .65s linear infinite;border:2.5px solid #ffffff40;border-radius:50%;border-top-color:#fff;height:22px;width:22px}@keyframes companySetupSpin{to{transform:rotate(1turn)}}@media (max-width:560px){.company-setup-card-inner{padding:32px 22px 28px}.company-setup-grid{grid-template-columns:1fr}}.sidebar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0f172a;border-right:1px solid #94a3b82e;bottom:0;left:0;overflow-x:hidden;overflow-y:auto;position:fixed;top:64px;transition:transform .3s cubic-bezier(.4,0,.2,1),width .3s cubic-bezier(.4,0,.2,1);width:212px;z-index:900}.sidebar.open{transform:translateX(0)}.sidebar.closed{transform:translateX(-100%)}.sidebar::-webkit-scrollbar{width:4px}.sidebar::-webkit-scrollbar-track{background:#0000}.sidebar::-webkit-scrollbar-thumb{background:#94a3b840;border-radius:4px}.sidebar-overlay{display:none}.sidebar-nav{padding:14px 10px}.nav-section{margin-bottom:16px}.nav-section-header{align-items:center;background:none;border:none;border-radius:6px;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:4px;padding:5px 9px;transition:background .15s ease;width:100%}.nav-section-header:hover{background:#ffffff0d}.nav-section-title{color:#94a3b8;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.9px;text-transform:uppercase}.nav-section-chevron{color:#94a3b8;height:14px;transform:rotate(-90deg);transition:transform .25s ease;width:14px}.nav-section-chevron.open{transform:rotate(0deg)}.nav-list{display:flex;flex-direction:column;gap:1px;list-style:none;margin:0;max-height:600px;opacity:1;overflow:hidden;padding:0;transition:max-height .3s ease,opacity .25s ease}.nav-list.collapsed{max-height:0;opacity:0}.nav-list.expanded{max-height:600px;opacity:1}.nav-item{align-items:center;background:#0000;border:1px solid #0000;border-radius:7px;color:#cbd5e1;cursor:pointer;display:flex;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500;gap:12px;padding:8px 9px;text-align:left;transition:background .16s ease,color .16s ease,border-color .16s ease;width:100%}.nav-item:hover{background:#ffffff12;color:#fff}.nav-item.active{background:#0ea5e924;border-color:#0ea5e947;color:#7dd3fc}.nav-icon{align-items:center;display:flex;flex-shrink:0;height:20px;justify-content:center;width:20px}.nav-icon svg{height:17px;width:17px}.nav-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:768px){.sidebar-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;display:block;left:0;opacity:0;pointer-events:none;position:fixed;right:0;top:64px;transition:opacity .3s ease;z-index:899}.sidebar-overlay.visible{opacity:1;pointer-events:auto}}.shortcut-bar{align-items:center;background:#94a3b814;border:1px solid #94a3b829;border-radius:8px;color:#94a3b8;display:flex;flex-shrink:0;flex-wrap:wrap;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));gap:6px 16px;margin-top:10px;padding:7px 12px}.shortcut-bar-item{gap:6px;white-space:nowrap}.kbd-hint,.shortcut-bar-item{align-items:center;display:inline-flex}.kbd-hint{background:#94a3b82e;border:solid #94a3b84d;border-radius:4px;border-width:1px 1px 2px;color:inherit;font-family:inherit;font-size:10.5px;font-size:calc(10.5px*var(--ui-scale, 1));font-weight:700;justify-content:center;line-height:1.4;min-width:20px;padding:1px 5px}.btn .kbd-hint{background:#ffffff29;border-color:#ffffff47;margin-left:2px;opacity:.85}body.light-theme .shortcut-bar{background:#f8fafc;border-color:#e2e8f0;color:#64748b}body.light-theme .shortcut-bar .kbd-hint{background:#fff;border-color:#cbd5e1;color:#334155}.settings-page{display:flex;flex-direction:column;height:100%;overflow:hidden}.settings-topbar{align-items:baseline;display:flex;flex-shrink:0;gap:12px;padding-bottom:12px}.settings-title{color:var(--pro-text);font-size:20px;font-size:calc(20px*var(--ui-scale, 1));font-weight:700;margin:0}.settings-subtitle{color:var(--pro-muted);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1))}.settings-content{grid-gap:14px;align-content:start;display:grid;flex:1 1;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr));min-height:0;overflow-y:auto}.settings-column{grid-gap:14px;display:grid;gap:14px;grid-auto-rows:1fr;min-height:0}.settings-card{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);display:flex;flex-direction:column;min-height:0;padding:16px 18px}.settings-card-head{flex-shrink:0}.settings-card-head h2{color:var(--pro-text);font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:700;margin:0}.settings-card-head p{color:var(--pro-muted);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));margin:3px 0 14px}.settings-themes{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}.theme-choice{background:var(--pro-surface-2);border:1px solid var(--pro-border-strong);border-radius:10px;cursor:pointer;display:flex;flex:1 1;flex-direction:column;gap:9px;padding:10px;transition:border-color .12s ease,box-shadow .12s ease}.theme-choice:hover{border-color:var(--pro-muted)}.theme-choice.selected{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft)}.theme-choice-label{align-items:center;color:var(--pro-text);display:flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;gap:7px;justify-content:center}.theme-choice-label svg{color:var(--pro-muted);height:15px;width:15px}.theme-choice.selected .theme-choice-label svg{color:var(--pro-primary)}.theme-preview{border-radius:7px;display:block;height:62px;overflow:hidden;padding:8px;position:relative}.theme-preview-light{background:#f3f5f9;border:1px solid #e2e8f0}.theme-preview-dark{background:#0b1220;border:1px solid #243043}.theme-preview-bar{border-radius:3px;display:block;height:10px;margin-bottom:7px}.theme-preview-light .theme-preview-bar{background:#fff;border:1px solid #e2e8f0}.theme-preview-dark .theme-preview-bar{background:#111a2b;border:1px solid #243043}.theme-preview-ocean{--apercu-fond:#eef3fa;--apercu-cadre:#1f56b3;--apercu-grille:#0b78a8}.theme-preview-emerald{--apercu-fond:#edf6f2;--apercu-cadre:#0c7f5e;--apercu-grille:#0d7480}.theme-preview-orchid{--apercu-fond:#f2effa;--apercu-cadre:#6a3fc8;--apercu-grille:#4250c4}.theme-preview-color{background:var(--apercu-fond);border:1px solid var(--apercu-cadre)}.theme-preview-color .theme-preview-bar{background:var(--apercu-cadre)}.theme-preview-color .theme-preview-line{background:var(--apercu-grille)}.theme-preview-color .theme-preview-line.short{background:#ffc83d}.theme-preview-line{border-radius:3px;display:block;height:7px;margin-bottom:5px}.theme-preview-line.short{width:55%}.theme-preview-light .theme-preview-line{background:#dbe3ee}.theme-preview-dark .theme-preview-line{background:#1e2a3f}.settings-form{display:flex;flex:1 1;flex-direction:column;gap:11px;min-height:0}.settings-field{display:flex;flex-direction:column;gap:5px}.settings-field label{color:var(--pro-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.04em;text-transform:uppercase}.settings-field input{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text);font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));height:var(--pro-control-h);outline:none;padding:0 11px}.settings-field input:focus{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft)}.settings-error{background:var(--pro-danger-soft);border:1px solid var(--pro-danger-border);border-radius:6px;color:var(--pro-danger);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));padding:8px 11px}.settings-actions{display:flex;justify-content:flex-end;margin-top:auto;padding-top:10px}.settings-rows{display:flex;flex-direction:column}.settings-row{align-items:center;display:flex;gap:16px;justify-content:space-between;min-height:calc(var(--pro-control-h) + 10px)}.settings-row+.settings-row{border-top:1px solid var(--pro-border);margin-top:12px;padding-top:12px}.settings-themes+.settings-rows{border-top:1px solid var(--pro-border);margin-top:13px;padding-top:12px}.settings-row-text{display:flex;flex-direction:column;gap:2px;min-width:0}.settings-row-label{color:var(--pro-text);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600}.settings-row-hint{color:var(--pro-muted);font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1));line-height:1.4}.settings-row>:not(.settings-row-text){flex:0 0 auto}.settings-segmented{align-items:center;background:var(--pro-surface-2);border:1px solid var(--pro-border-strong);border-radius:8px;box-sizing:border-box;display:inline-flex;height:var(--pro-control-h);padding:2px}.settings-segmented button{background:#0000;border:none;border-radius:6px;color:var(--pro-text-2);cursor:pointer;font-family:inherit;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));font-weight:600;padding:5px 12px}.settings-segmented button.selected{background:var(--pro-primary);color:#fff}.settings-sizes button.size-choice{align-items:center;color:var(--pro-muted);display:inline-flex;height:100%;justify-content:center;padding:0;width:44px}.settings-sizes button.size-choice:hover:not(.selected){color:var(--pro-text)}.settings-sizes button.size-choice.selected{color:#fff}.settings-sizes .size-glyph{font-family:inherit;font-weight:600;letter-spacing:-.02em;line-height:1}.settings-sizes .size-choice-small .size-glyph{font-size:11px}.settings-sizes .size-choice-normal .size-glyph{font-size:14px}.settings-sizes .size-choice-large .size-glyph{font-size:18px}.settings-select{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text);cursor:pointer;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));height:var(--pro-control-h);min-width:200px;outline:none;padding:0 10px}.settings-select:focus{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft)}@media (max-width:620px){.settings-row{align-items:stretch;flex-direction:column;gap:8px}.settings-select{min-width:0;width:100%}.settings-segmented{align-self:flex-start}}@media (max-width:1180px){.settings-content{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.settings-content{align-items:start;grid-template-columns:minmax(0,1fr)}.settings-column{grid-auto-rows:auto}.settings-actions{margin-top:2px}}.date-range-filter{align-items:center;background:#94a3b81a;border:1px solid #94a3b82e;border-radius:8px;display:inline-flex;gap:8px;padding:5px 10px;transition:border-color .15s ease}.date-range-filter:focus-within{border-color:#0ea5e973}.drf-icon{color:#94a3b8;flex-shrink:0;height:16px;width:16px}.drf-input{background:#0000!important;border:none!important;color:#e2e8f0!important;color-scheme:dark;cursor:pointer;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));min-width:120px;outline:none;padding:2px!important}.drf-input:focus{box-shadow:none!important}.drf-input::-webkit-calendar-picker-indicator{cursor:pointer;filter:invert(.7);opacity:.6}.drf-sep{color:#64748b;flex-shrink:0;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.drf-clear{align-items:center;background:#0000;border:none;border-radius:5px;color:#94a3b8;cursor:pointer;display:inline-flex;flex-shrink:0;height:20px;justify-content:center;padding:0;transition:all .13s ease;width:20px}.drf-clear svg{height:14px;width:14px}.drf-clear:hover{background:#ef444424;color:#fca5a5}body.light-theme .date-range-filter{background:#fff;border-color:#0000001f}body.light-theme .date-range-filter:focus-within{border-color:#6366f1}body.light-theme .drf-icon{color:#a1a1aa}body.light-theme .drf-input{color:#18181b!important;color-scheme:light}body.light-theme .drf-input::-webkit-calendar-picker-indicator{filter:none}body.light-theme .drf-sep{color:#a1a1aa}body.light-theme .drf-clear:hover{background:#ef44441a;color:#dc2626}.users-page{display:flex;flex-direction:column;height:100%;overflow:hidden}.users-topbar{align-items:baseline;display:flex;flex-shrink:0;gap:12px;padding-bottom:10px}.users-title{color:var(--pro-text);font-size:20px;font-size:calc(20px*var(--ui-scale, 1));font-weight:700;margin:0}.users-count{color:var(--pro-muted)}.users-count,.users-error{font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1))}.users-error{align-items:center;background:var(--pro-danger-soft);border:1px solid var(--pro-danger-border);border-radius:var(--pro-radius);color:var(--pro-danger);display:flex;flex-shrink:0;gap:8px;margin-bottom:8px;padding:8px 11px}.users-error svg{flex-shrink:0;height:15px;width:15px}.users-error button{background:#0000;border:none;color:inherit;cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;margin-left:auto}.users-table-wrapper{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);flex:1 1;min-height:0;overflow:auto}.users-table{border-collapse:collapse;width:100%}.users-table th{background:var(--pro-head-bg);border-bottom:1px solid var(--pro-border);color:var(--pro-head-text);font-size:10.5px;font-size:calc(10.5px*var(--ui-scale, 1));font-weight:700;letter-spacing:.04em;padding:7px 10px;position:sticky;text-align:left;text-transform:uppercase;top:0;z-index:1}.users-table td{border-bottom:1px solid var(--pro-border-soft);color:var(--pro-text-2);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));padding:6px 10px;vertical-align:middle}.users-table tbody tr:hover td{background:var(--pro-row-hover)}.users-row-inactive td{font-style:italic;opacity:.6}.users-td-name{color:var(--pro-text);font-weight:600}.users-you{background:var(--pro-primary-soft);border-radius:999px;color:var(--pro-primary);font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-style:normal;font-weight:700;margin-left:6px;padding:1px 6px;text-transform:uppercase}.users-badge{border-radius:999px;display:inline-block;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;padding:1px 8px}.users-badge-on{background:var(--pro-success-soft);border:1px solid var(--pro-success-border);color:var(--pro-success)}.users-badge-off{background:var(--pro-surface-2);border:1px solid var(--pro-border-strong);color:var(--pro-muted)}.users-badge-mobile{background:var(--pro-primary-soft);border:1px solid var(--pro-primary-soft);color:var(--pro-primary)}.users-td-actions{display:flex;gap:10px;justify-content:flex-end}.users-link{background:#0000;border:none;color:var(--pro-primary);cursor:pointer;font-family:inherit;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600;padding:0;white-space:nowrap}.users-link:hover{text-decoration:underline}.users-link-danger{color:var(--pro-danger)}.users-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008c;display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:1200}.users-modal{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);max-height:88vh;max-width:520px;overflow-y:auto;padding:16px 18px 14px;width:100%}.users-modal-narrow{max-width:380px}.users-modal-head{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:14px}.users-modal-head h2{color:var(--pro-text);font-size:15px;font-size:calc(15px*var(--ui-scale, 1));font-weight:700;margin:0}.users-modal-close{background:#0000;border:none;border-radius:6px;color:var(--pro-muted);cursor:pointer;flex-shrink:0;font-size:20px;font-size:calc(20px*var(--ui-scale, 1));height:24px;line-height:1;width:24px}.users-modal-close:hover{background:var(--pro-surface-2);color:var(--pro-text)}.users-form-grid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.users-field{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}.users-form-grid .users-field{margin-bottom:0}.users-field>span{color:var(--pro-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.04em;text-transform:uppercase}.users-field input[type=password],.users-field input[type=text]{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text);font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));height:var(--pro-control-h);outline:none;padding:0 11px}.users-field input:focus{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft)}.users-roles,.users-switches{display:flex;flex-wrap:wrap;gap:8px 16px}.users-switches{border-top:1px solid var(--pro-border);margin-bottom:12px;padding-top:10px}.users-check{align-items:center;color:var(--pro-text-2);cursor:pointer;display:inline-flex;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));gap:6px}.users-check input{accent-color:var(--pro-primary);cursor:pointer;height:14px;margin:0;width:14px}.users-hint{color:var(--pro-muted);font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1));line-height:1.45;margin:0 0 12px}.users-form-error{background:var(--pro-danger-soft);border:1px solid var(--pro-danger-border);border-radius:6px;color:var(--pro-danger);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));margin-bottom:12px;padding:8px 11px}.users-modal-foot{display:flex;gap:8px;justify-content:flex-end}@media (max-width:620px){.users-form-grid{grid-template-columns:minmax(0,1fr)}}.users-tabs{border-bottom:1px solid var(--pro-border);display:flex;flex-shrink:0;gap:4px;margin-bottom:10px}.users-tabs button{background:#0000;border:none;border-bottom:2px solid #0000;color:var(--pro-muted);cursor:pointer;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;padding:7px 14px}.users-tabs button:hover{color:var(--pro-text-2)}.users-tabs button.is-active{border-bottom-color:var(--pro-primary);color:var(--pro-primary)}.users-history-filters{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.users-history-filters select{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text-2);cursor:pointer;font-family:inherit;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));height:var(--pro-control-h);padding:0 10px}.users-badge-fail,.users-row-failed td{background:var(--pro-danger-soft)}.users-badge-fail{border:1px solid var(--pro-danger-border);color:var(--pro-danger)}.users-sub{color:var(--pro-muted);display:block;font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1))}.users-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-size:calc(12px*var(--ui-scale, 1))}.master-gate{align-items:center;display:flex;flex:1 1;justify-content:center;min-height:0;padding:20px}.master-card{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);max-width:400px;padding:22px 24px 20px;text-align:left;width:100%}.master-icon{align-items:center;background:var(--pro-primary-soft);border-radius:11px;color:var(--pro-primary);display:flex;height:42px;justify-content:center;margin-bottom:14px;width:42px}.master-icon svg{height:21px;width:21px}.master-card h2{color:var(--pro-text);font-size:16px;font-size:calc(16px*var(--ui-scale, 1));font-weight:700;margin:0 0 6px}.master-card .users-hint{margin-bottom:16px}.master-warning{background:var(--pro-warning-soft);border:1px solid var(--pro-warning-border);border-radius:8px;color:var(--pro-warning);font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1));line-height:1.5;margin:0 0 16px;padding:9px 11px}.master-warning code{font-size:11px;font-size:calc(11px*var(--ui-scale, 1));word-break:break-all}.master-submit{justify-content:center;width:100%}.users-security{grid-gap:14px;align-content:start;display:grid;flex:1 1;gap:14px;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));min-height:0;overflow-y:auto}.users-sec-card{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);padding:16px 18px}.users-sec-card header h2{color:var(--pro-text);font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:700;margin:0}.users-sec-card header p{color:var(--pro-muted);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));line-height:1.45;margin:3px 0 14px}.users-sec-row{align-items:flex-end;display:flex;gap:10px}.users-sec-row .users-field{flex:1 1 auto;margin-bottom:0}.users-sec-form .users-field input,.users-sec-row .users-field input{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text);font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));height:var(--pro-control-h);outline:none;padding:0 11px}.users-badge em{font-style:normal;opacity:.75}.mb-app{--mb-gap:12px;--mb-radius:14px;--mb-touch:48px;-webkit-text-size-adjust:100%;background:var(--pro-bg);color:var(--pro-text);display:flex;flex-direction:column;font-size:15px;font-size:calc(15px*var(--ui-scale, 1));min-height:100vh;min-height:100dvh}.mb-app-sheet{padding-bottom:calc(72px + env(safe-area-inset-bottom, 0px))}.mb-head,.mb-sheet-head{align-items:center;background:var(--pro-surface);border-bottom:1px solid var(--pro-border);display:flex;gap:10px;padding:calc(10px + env(safe-area-inset-top, 0px)) 14px 10px}.mb-sheet-head{position:sticky;top:0;z-index:10}.mb-head-text,.mb-sheet-head-text{display:flex;flex:1 1 auto;flex-direction:column;min-width:0}.mb-head-text strong,.mb-sheet-head-text strong{font-size:16px;font-size:calc(16px*var(--ui-scale, 1));font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mb-head-text span,.mb-sheet-head-text span{color:var(--pro-muted);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mb-icon-btn{align-items:center;background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:11px;color:var(--pro-text-2);cursor:pointer;display:inline-flex;flex-shrink:0;height:42px;justify-content:center;width:42px}.mb-icon-btn svg{height:19px;width:19px}.mb-search-page{flex:1 1 auto;padding:16px 14px calc(20px + env(safe-area-inset-bottom, 0px))}.mb-scan-cta{align-items:center;background:var(--pro-primary);border:1px solid var(--pro-primary);border-radius:var(--mb-radius);color:#fff;cursor:pointer;display:flex;flex-direction:column;font-family:inherit;font-size:16px;font-size:calc(16px*var(--ui-scale, 1));font-weight:700;gap:10px;justify-content:center;padding:26px 16px;width:100%}.mb-scan-cta svg{height:38px;width:38px}.mb-scan-cta:active{transform:scale(.99)}.mb-or{align-items:center;color:var(--pro-muted);display:flex;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));gap:10px;margin:18px 0 12px}.mb-or:after,.mb-or:before{background:var(--pro-border);content:"";flex:1 1 auto;height:1px}.mb-field{align-items:center;background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:12px;display:flex;gap:9px;height:var(--mb-touch);padding:0 12px}.mb-field:focus-within{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft)}.mb-field>svg{color:var(--pro-muted);flex-shrink:0;height:18px;width:18px}.mb-field input{background:#0000;border:none;color:var(--pro-text);flex:1 1 auto;font-family:inherit;font-size:16px;font-size:calc(16px*var(--ui-scale, 1));min-width:0;outline:none}.mb-field button{background:var(--pro-bg);background:var(--pro-surface-2,var(--pro-bg));border:none;border-radius:50%;color:var(--pro-muted);cursor:pointer;flex-shrink:0;font-size:20px;font-size:calc(20px*var(--ui-scale, 1));height:28px;line-height:1;width:28px}.mb-muted{color:var(--pro-muted);font-size:13.5px;font-size:calc(13.5px*var(--ui-scale, 1));margin:14px 0 0;text-align:center}.mb-error{background:var(--pro-danger-soft);border:1px solid var(--pro-danger-border);border-radius:12px;color:var(--pro-danger);font-size:14px;font-size:calc(14px*var(--ui-scale, 1));line-height:1.4;margin-top:14px;padding:12px 14px}.mb-section-label{color:var(--pro-muted);display:block;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700;letter-spacing:.06em;margin:20px 0 8px;text-transform:uppercase}.mb-list{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:12px;list-style:none;margin:14px 0 0;overflow:hidden;padding:0}.mb-recent .mb-list{margin-top:0}.mb-list li+li{border-top:1px solid var(--pro-border-soft)}.mb-list button{align-items:center;background:#0000;border:none;color:inherit;cursor:pointer;display:flex;font:inherit;gap:10px;min-height:var(--mb-touch);padding:11px 14px;text-align:left;width:100%}.mb-list button:active{background:var(--pro-row-hover)}.mb-list-main{display:flex;flex:1 1 auto;flex-direction:column;min-width:0}.mb-list-main strong{font-size:15px;font-size:calc(15px*var(--ui-scale, 1));font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mb-list-main em{color:var(--pro-muted);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));font-style:normal}.mb-list-stock{background:var(--pro-success-soft);border-radius:999px;color:var(--pro-success);flex-shrink:0;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:700;padding:3px 9px;white-space:nowrap}.mb-list-stock.is-empty{background:var(--pro-danger-soft);color:var(--pro-danger)}.mb-list button>svg{color:var(--pro-muted);flex-shrink:0;height:17px;width:17px}.mb-sheet{flex:1 1 auto;padding:var(--mb-gap) 14px 0}.mb-hero{background:var(--pro-success-soft);border:1px solid var(--pro-success-border);border-radius:var(--mb-radius);color:var(--pro-success);display:flex;flex-direction:column;gap:2px;padding:16px 18px}.mb-hero.is-empty{background:var(--pro-danger-soft);border-color:var(--pro-danger-border);color:var(--pro-danger)}.mb-hero-label{font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700;letter-spacing:.06em;opacity:.85;text-transform:uppercase}.mb-hero-value{font-size:30px;font-size:calc(30px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.01em;line-height:1.1}.mb-hero-sub{font-size:13px;font-size:calc(13px*var(--ui-scale, 1));opacity:.85}.mb-units{display:flex;gap:8px;margin-top:var(--mb-gap);overflow-x:auto;scrollbar-width:none}.mb-units::-webkit-scrollbar{display:none}.mb-unit{align-items:center;background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:12px;color:var(--pro-text-2);cursor:pointer;display:flex;flex:1 0 auto;flex-direction:column;font-family:inherit;gap:1px;min-height:var(--mb-touch);min-width:78px;padding:7px 14px}.mb-unit strong{font-size:16px;font-size:calc(16px*var(--ui-scale, 1));font-weight:700}.mb-unit span{color:var(--pro-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1))}.mb-unit.is-active{background:var(--pro-primary-soft);border-color:var(--pro-primary)}.mb-unit.is-active,.mb-unit.is-active span{color:var(--pro-primary)}.mb-prices{grid-gap:9px;display:grid;gap:9px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:var(--mb-gap)}.mb-price{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:12px;display:flex;flex-direction:column;gap:3px;padding:11px 13px}.mb-price.is-unset{background:#0000;border-style:dashed}.mb-price-label{color:var(--pro-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700;letter-spacing:.04em;text-transform:uppercase}.mb-price-value{font-feature-settings:"tnum";font-size:19px;font-size:calc(19px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;font-weight:800;line-height:1.15}.mb-price-value em{font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-style:normal;margin-left:3px}.mb-price-value em,.mb-price.is-unset .mb-price-value{color:var(--pro-muted);font-weight:600}.mb-price-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:1px}.mb-chip{background:var(--pro-bg);background:var(--pro-surface-2,var(--pro-bg));border-radius:999px;color:var(--pro-text-2);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;padding:1px 7px;white-space:nowrap}.mb-chip.is-positive{background:var(--pro-success-soft);color:var(--pro-success)}.mb-chip.is-negative{background:var(--pro-danger-soft);color:var(--pro-danger)}.mb-depots,.mb-rows{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:12px;margin-top:var(--mb-gap);overflow:hidden}.mb-depots{margin-top:8px}.mb-row{align-items:center;display:flex;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));gap:12px;justify-content:space-between;min-height:44px;padding:9px 14px}.mb-row+.mb-row{border-top:1px solid var(--pro-border-soft)}.mb-row>span{color:var(--pro-muted)}.mb-row>strong{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:700;text-align:right}.mb-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.mb-bottom{background:var(--pro-surface);border-top:1px solid var(--pro-border);bottom:0;display:flex;gap:9px;left:0;padding:9px 14px calc(9px + env(safe-area-inset-bottom, 0px));position:fixed;right:0;z-index:20}.mb-bottom-ghost,.mb-bottom-primary{border-radius:12px;cursor:pointer;font-family:inherit;font-size:15px;font-size:calc(15px*var(--ui-scale, 1));font-weight:700;min-height:var(--mb-touch)}.mb-bottom-ghost{background:var(--pro-surface);border:1px solid var(--pro-border-strong);color:var(--pro-text-2);flex:1 1 40%}.mb-bottom-primary{align-items:center;background:var(--pro-primary);border:1px solid var(--pro-primary);color:#fff;display:inline-flex;flex:1 1 60%;gap:8px;justify-content:center}.mb-bottom-primary svg{height:19px;width:19px}.mb-veil{align-items:center;background:#00000047;display:flex;inset:0;justify-content:center;position:fixed;z-index:30}.mb-spinner{animation:mb-spin .7s linear infinite;border:3px solid #ffffff73;border-radius:50%;border-top-color:#fff;height:34px;width:34px}@keyframes mb-spin{to{transform:rotate(1turn)}}.mb-scan-overlay{background:#000;display:flex;flex-direction:column;inset:0;position:fixed;z-index:1300}.mb-scan-head{align-items:center;color:#fff;display:flex;font-size:16px;font-size:calc(16px*var(--ui-scale, 1));font-weight:700;justify-content:space-between;padding:calc(12px + env(safe-area-inset-top, 0px)) 16px 12px}.mb-scan-head button{background:#ffffff29;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));height:36px;line-height:1;width:36px}.mb-scan-video{flex:1 1 auto;overflow:hidden;position:relative}.mb-scan-video video{display:block;height:100%;object-fit:cover;width:100%}.mb-scan-frame{border:2px solid #ffffffe6;border-radius:12px;box-shadow:0 0 0 9999px #00000073;height:150px;left:7%;position:absolute;right:7%;top:50%;transform:translateY(-50%)}.mb-scan-hint{bottom:22px;color:#fff;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));left:16px;position:absolute;right:16px;text-align:center;text-shadow:0 1px 3px #000c}.mb-scan-error{color:#fff;font-size:15px;font-size:calc(15px*var(--ui-scale, 1));line-height:1.5;margin:0;padding:24px 20px}.mb-scan-foot{padding:14px 16px calc(16px + env(safe-area-inset-bottom, 0px))}.mb-scan-foot button{background:#ffffff1a;border:1px solid #ffffff4d;border-radius:12px;color:#fff;cursor:pointer;font-family:inherit;font-size:15px;font-size:calc(15px*var(--ui-scale, 1));font-weight:700;min-height:48px;min-height:var(--mb-touch,48px);width:100%}@media (min-width:640px){.mb-bottom,.mb-head,.mb-search-page,.mb-sheet,.mb-sheet-head{margin-left:auto;margin-right:auto;max-width:600px}.mb-bottom{border-left:1px solid var(--pro-border);border-radius:14px 14px 0 0;border-right:1px solid var(--pro-border);left:50%;right:auto;transform:translateX(-50%);width:100%}}.header{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0a1220f5;border-bottom:1px solid #94a3b829;height:64px;justify-content:space-between;left:0;padding:0 22px;position:fixed;right:0;top:0;z-index:1000}.header,.header-left{align-items:center;display:flex}.header-left{gap:16px}.menu-toggle{align-items:center;background:#0000;border:none;border-radius:8px;color:#cbd5e1;cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .2s ease;width:40px}.menu-toggle:hover{background:#94a3b81f;color:#fff}.menu-toggle svg{height:20px;width:20px}.header-brand{align-items:center;display:flex;gap:10px}.header-logo{color:#0ea5e9;height:24px;width:24px}.header-logo-box{align-items:center;background:#fff;border-radius:8px;display:flex;height:38px;justify-content:center;max-width:120px;padding:3px 6px}.header-logo-img{display:block;max-height:100%;max-width:100%;object-fit:contain}.header-title{color:#f8fafc;font-size:16px;font-size:calc(16px*var(--ui-scale, 1));font-weight:700;letter-spacing:-.3px}.header-right,.user-info{align-items:center;display:flex;gap:12px}.user-info{background:#0f172ab3;border:1px solid #94a3b82e;border-radius:8px;padding:6px 12px}.user-avatar{align-items:center;background:linear-gradient(135deg,#0ea5e9,#14b8a6);border-radius:8px;color:#fff;display:flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:700;height:34px;justify-content:center;letter-spacing:.5px;width:34px}.user-details{display:flex;flex-direction:column}.user-name{color:#f8fafc;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;line-height:1.3}.user-role{color:#94a3b8;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));line-height:1.3}.logout-button{align-items:center;background:#dc26261a;border:1px solid #f8717138;border-radius:8px;color:#f87171;cursor:pointer;display:flex;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;gap:8px;padding:8px 16px;transition:all .2s ease}.logout-button:hover{background:#dc262629;border-color:#f8717161}.logout-button svg{height:16px;width:16px}.company-button{align-items:center;background:#94a3b81a;border:1px solid #94a3b833;border-radius:8px;color:#cbd5e1;cursor:pointer;display:flex;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;gap:8px;padding:8px 14px;transition:all .2s ease}.company-button.active,.company-button:hover{background:#0ea5e924;border-color:#38bdf859;color:#7dd3fc}.company-button svg{height:16px;width:16px}.density-toggle{align-items:center;background:#94a3b81a;border:1px solid #94a3b833;border-radius:8px;color:#cbd5e1;cursor:pointer;display:flex;height:38px;justify-content:center;transition:all .2s ease;width:38px}.density-toggle:hover{background:#0ea5e924;color:#7dd3fc}.density-toggle svg{height:18px;width:18px}.icon-button{align-items:center;background:#94a3b81a;border:1px solid #94a3b833;border-radius:8px;color:#cbd5e1;cursor:pointer;display:flex;height:38px;justify-content:center;transition:all .2s ease;width:38px}.icon-button:hover{background:#0ea5e924;border-color:#0ea5e959;color:#7dd3fc}.icon-button:hover svg{transform:rotate(35deg)}.icon-button.active{background:#0ea5e933;border-color:#0ea5e973;color:#7dd3fc}.icon-button svg{height:18px;transition:transform .25s ease;width:18px}@media (max-width:640px){.header{padding:0 16px}.company-button span,.header-brand,.logout-button span,.user-details{display:none}.company-button,.logout-button{padding:8px}}.toast-container{bottom:24px;display:flex;flex-direction:column;gap:10px;max-width:min(380px,calc(100vw - 32px));pointer-events:none;position:fixed;right:24px;z-index:9999}.toast{align-items:center;animation:toastIn .2s cubic-bezier(.16,1,.3,1);background:#1e293b;border:1px solid #94a3b833;border-radius:11px;box-shadow:0 14px 40px #02081766;color:#e2e8f0;display:flex;gap:12px;padding:12px 14px;pointer-events:auto}@keyframes toastIn{0%{opacity:0;transform:translateX(24px)}to{opacity:1;transform:translateX(0)}}.toast-icon{align-items:center;border-radius:8px;display:flex;flex-shrink:0;height:28px;justify-content:center;width:28px}.toast-icon svg{height:17px;width:17px}.toast-msg{flex:1 1;font-size:13.5px;font-size:calc(13.5px*var(--ui-scale, 1));font-weight:500;line-height:1.35}.toast-close{align-items:center;background:#0000;border:none;border-radius:6px;color:#94a3b8;cursor:pointer;display:flex;flex-shrink:0;height:22px;justify-content:center;padding:0;transition:all .13s ease;width:22px}.toast-close svg{height:14px;width:14px}.toast-close:hover{background:#94a3b826;color:#e2e8f0}.toast-success{border-left:3px solid #22c55e}.toast-success .toast-icon{background:#22c55e26;color:#4ade80}.toast-error{border-left:3px solid #ef4444}.toast-error .toast-icon{background:#ef444426;color:#f87171}.toast-info{border-left:3px solid #0ea5e9}.toast-info .toast-icon{background:#0ea5e926;color:#38bdf8}.toast-warning{border-left:3px solid #f59e0b}.toast-warning .toast-icon{background:#f59e0b26;color:#fbbf24}body.light-theme .toast{background:#fff;border-color:#0000001a;box-shadow:0 12px 34px #0f172a29;color:#18181b}body.light-theme .toast-close{color:#a1a1aa}body.light-theme .toast-close:hover{background:#0000000d;color:#18181b}body.light-theme .toast-success .toast-icon{background:#22c55e1f;color:#16a34a}body.light-theme .toast-error .toast-icon{background:#ef44441a;color:#dc2626}body.light-theme .toast-info .toast-icon{background:#0ea5e91a;color:#0284c7}body.light-theme .toast-warning .toast-icon{background:#f59e0b1f;color:#d97706}.layout{background:#0f172a;height:100vh;overflow:hidden}.main-content{height:calc(100vh - 64px);margin-top:64px;overflow:hidden;padding:20px 22px;transition:margin-left .3s cubic-bezier(.4,0,.2,1)}.main-content.sidebar-open{margin-left:212px}.main-content.sidebar-closed{margin-left:0}@media (max-width:768px){.main-content.sidebar-closed,.main-content.sidebar-open{margin-left:0}.main-content{padding:20px 16px}}.dashboard{align-items:center;display:flex;height:100%;justify-content:center;margin:0 auto;max-width:1200px;width:100%}.dashboard-header{margin-bottom:32px}.dashboard-title{color:#fff;font-size:28px;font-size:calc(28px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0 0 6px}.dashboard-subtitle{color:#71717a;font-size:15px;font-size:calc(15px*var(--ui-scale, 1));margin:0}.company-card{background:#ffffff08;border:1px solid #ffffff0f;border-radius:20px;box-shadow:0 24px 60px #00000047;max-width:400px;overflow:hidden;position:relative;width:100%}.company-card-banner{background:linear-gradient(135deg,#14b8a6,#0ea5e9 55%,#2563eb);height:88px}.company-card-avatar{align-items:center;background:#18181b;border:4px solid #0f172a;border-radius:20px;box-shadow:0 10px 24px #00000059;display:flex;height:84px;justify-content:center;margin:-42px auto 0;width:84px}.company-card-avatar svg{color:#38bdf8;height:34px;width:34px}.company-card-body{padding:16px 28px 28px;text-align:center}.company-card-name{color:#fff;font-size:19px;font-size:calc(19px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.3px;margin:0}.company-card-divider{background:linear-gradient(90deg,#14b8a6,#0ea5e9);border-radius:2px;height:3px;margin:14px auto 20px;width:48px}.company-card-details{display:flex;flex-direction:column;gap:4px;text-align:left}.company-detail{align-items:center;border-radius:10px;color:#d4d4d8;display:flex;font-size:13.5px;font-size:calc(13.5px*var(--ui-scale, 1));gap:12px;padding:10px 12px;transition:background .2s}.company-detail:hover{background:#ffffff0a}.company-detail-icon{align-items:center;background:#0ea5e91a;border-radius:8px;display:flex;flex-shrink:0;height:30px;justify-content:center;width:30px}.company-detail-icon svg{color:#38bdf8;height:15px;width:15px}.company-detail span{overflow-wrap:anywhere}.stats-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.stat-card{align-items:center;background:#ffffff08;border:1px solid #ffffff0f;border-radius:16px;display:flex;gap:16px;padding:24px;transition:all .2s ease}.stat-card:hover{background:#ffffff0d;border-color:#ffffff1a;transform:translateY(-2px)}.stat-icon{align-items:center;border-radius:12px;display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}.stat-icon svg{height:22px;width:22px}.stat-icon.blue{background:#3b82f61f;color:#60a5fa}.stat-icon.purple{background:#8b5cf61f;color:#a78bfa}.stat-icon.green{background:#22c55e1f;color:#4ade80}.stat-icon.orange{background:#f973161f;color:#fb923c}.stat-info{display:flex;flex-direction:column}.stat-value{color:#fff;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;line-height:1.2}.stat-label{color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));margin-top:2px}@media (max-width:640px){.dashboard-title{font-size:22px;font-size:calc(22px*var(--ui-scale, 1))}.stats-grid{grid-template-columns:1fr}.company-card{max-width:100%}}.confirm-overlay{align-items:center;animation:confirmOverlayIn .2s ease;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0009;display:flex;inset:0;justify-content:center;position:fixed;z-index:3000}@keyframes confirmOverlayIn{0%{opacity:0}to{opacity:1}}.confirm-dialog{animation:confirmDialogIn .25s cubic-bezier(.16,1,.3,1);background:#18181b;border:1px solid #ffffff14;border-radius:16px;box-shadow:0 25px 60px #00000080;margin:20px;max-width:380px;padding:28px 24px 20px;text-align:center;width:100%}@keyframes confirmDialogIn{0%{opacity:0;transform:scale(.95) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.confirm-icon-wrapper{align-items:center;border:1px solid;border-radius:50%;display:flex;height:52px;justify-content:center;margin:0 auto 16px;width:52px}.confirm-icon svg{height:24px;width:24px}.confirm-title{color:#fff;font-size:17px;font-size:calc(17px*var(--ui-scale, 1));font-weight:700;margin:0 0 8px}.confirm-message{color:#a1a1aa;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));line-height:1.5;margin:0 0 24px;white-space:pre-line}.confirm-actions{display:flex;gap:8px;justify-content:center}.confirm-actions .btn{flex:1 1;justify-content:center}.searchable-select{position:relative}.ss-disabled{opacity:.5;pointer-events:none}.searchable-select-trigger{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#fff;cursor:text;display:flex;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));justify-content:space-between;outline:none;padding:0 12px 0 0;text-align:left;transition:all .2s ease;width:100%}.searchable-select-trigger:hover{border-color:#fff3}.searchable-select-trigger.open{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.ss-autocomplete-input{background:#0000;border:none;color:#fff;flex:1 1;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));min-width:0;outline:none;padding:9px 12px}.ss-autocomplete-input::placeholder{color:#52525b}.ss-selected-overlay{align-items:center;bottom:0;color:#fff;cursor:text;display:flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));gap:8px;justify-content:space-between;left:0;overflow:hidden;padding:9px 32px 9px 12px;pointer-events:auto;position:absolute;right:0;text-overflow:ellipsis;top:0;white-space:nowrap}.ss-placeholder{color:#52525b}.ss-value{color:#fff}.ss-chevron{color:#71717a;flex-shrink:0;height:12px;transition:transform .15s ease;width:12px}.searchable-select-trigger.open .ss-chevron{transform:rotate(180deg)}.searchable-select-dropdown{background:#1e1e22;border:1px solid #ffffff1a;border-radius:10px;box-shadow:0 8px 24px #0006;left:0;overflow:hidden;position:absolute;right:0;top:calc(100% + 4px);z-index:100}.ss-options{max-height:200px;overflow-y:auto;padding:4px 0}.ss-options::-webkit-scrollbar{width:4px}.ss-options::-webkit-scrollbar-track{background:#0000}.ss-options::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:2px}.ss-option{align-items:center;color:#d4d4d8;cursor:pointer;display:flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));gap:12px;justify-content:space-between;padding:8px 12px;transition:background .1s ease}.ss-option-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ss-option-right{color:#818cf8;flex-shrink:0;font-family:monospace;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:700}.ss-option-highlighted,.ss-option:hover{background:#6366f11a;color:#fff}.ss-option-selected{background:#6366f126;color:#818cf8;font-weight:600}.ss-option-selected.ss-option-highlighted{background:#6366f140}.ss-no-results{color:#52525b;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:12px;text-align:center}.searchable-select-compact .searchable-select-trigger{border-radius:6px;padding-right:10px}.searchable-select-compact .ss-autocomplete-input{padding:8px 10px}.searchable-select-compact .ss-selected-overlay{padding:8px 28px 8px 10px}.searchable-select-compact .searchable-select-dropdown{min-width:180px}.searchable-select-dropdown.ss-tree{background:var(--pro-surface);border-color:var(--pro-border-strong);max-width:min(440px,90vw);min-width:max(100%,280px);right:auto;width:max-content}.searchable-select-dropdown.ss-tree.ss-align-right{left:auto;right:0}.ss-tree .ss-options{max-height:320px;padding:5px}.ss-tree .ss-option{border-radius:6px;color:var(--pro-text-2);padding:4px 10px 4px 8px}.ss-option-main{align-items:center;display:flex;flex:1 1;gap:4px;min-width:0}.ss-tree-toggle{align-items:center;background:#0000;border:none;border-radius:5px;color:var(--pro-muted);cursor:pointer;display:inline-flex;flex-shrink:0;height:22px;justify-content:center;padding:0;transition:transform .12s ease,background .12s ease,color .12s ease;width:22px}.ss-tree-toggle svg{height:13px;width:13px}.ss-tree-toggle.open{transform:rotate(90deg)}.ss-tree-toggle:hover:not(:disabled){background:var(--pro-border);color:var(--pro-text)}.ss-tree-toggle:disabled{cursor:default}.ss-tree-toggle-placeholder{flex-shrink:0;width:22px}.ss-tree .ss-option-parent .ss-option-label,.ss-tree .ss-option-root .ss-option-label{color:var(--pro-text);font-weight:600}.ss-tree-count{background:var(--pro-surface-2);border:1px solid var(--pro-border);border-radius:999px;color:var(--pro-muted);flex-shrink:0;font-size:10.5px;font-size:calc(10.5px*var(--ui-scale, 1));font-weight:600;line-height:16px;margin-left:4px;padding:0 6px}.ss-tree .ss-option-context .ss-option-label{color:var(--pro-muted);font-weight:400}.ss-tree .ss-option-highlighted,.ss-tree .ss-option:hover{background:var(--pro-row-hover);color:var(--pro-text)}.ss-tree .ss-option-selected,.ss-tree .ss-option-selected.ss-option-highlighted{background:var(--pro-primary-soft);color:var(--pro-primary-hover)}.ss-tree .ss-option-selected .ss-option-label{color:var(--pro-primary-hover);font-weight:700}.rh-overlay{align-items:center;background:#0f172a73;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:1000}.rh-dialog{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:10px;box-shadow:0 20px 50px #0f172a40;display:flex;flex-direction:column;max-height:85vh;overflow:hidden;width:min(720px,100%)}.rh-head{align-items:flex-start;border-bottom:1px solid var(--pro-border);display:flex;gap:16px;justify-content:space-between;padding:16px 18px 12px}.rh-kicker{color:var(--pro-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700;letter-spacing:.06em;text-transform:uppercase}.rh-title{color:var(--pro-text);font-size:18px;font-size:calc(18px*var(--ui-scale, 1));font-weight:700;margin:2px 0 0}.rh-close{background:#0000;border:none;border-radius:6px;color:var(--pro-muted);cursor:pointer;flex-shrink:0;font-size:22px;font-size:calc(22px*var(--ui-scale, 1));height:30px;line-height:1;width:30px}.rh-close:hover{background:var(--pro-surface-2);color:var(--pro-text)}.rh-body{flex:1 1;overflow:auto;padding:16px 18px 8px}.rh-empty{align-items:center;color:var(--pro-muted);display:flex;flex-direction:column;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));gap:10px;padding:28px;text-align:center}.rh-error{color:var(--pro-danger)}.rh-timeline{border-left:2px solid var(--pro-border);list-style:none;margin:0;padding:0 0 0 18px}.rh-entry{padding:0 0 16px 14px;position:relative}.rh-dot{background:currentColor;border:2px solid var(--pro-surface);border-radius:50%;height:12px;left:-25px;position:absolute;top:3px;width:12px}.rh-entry-head{align-items:center;display:flex;flex-wrap:wrap;gap:6px 10px}.rh-action{align-items:center;border-radius:4px;display:inline-flex;font-size:10.5px;font-size:calc(10.5px*var(--ui-scale, 1));font-weight:600;height:19px;padding:0 7px;white-space:nowrap}.rh-related{color:var(--pro-text);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));font-weight:600}.rh-meta{color:var(--pro-muted);font-size:12px;font-size:calc(12px*var(--ui-scale, 1))}.rh-meta b{color:var(--pro-text-2);font-weight:600}.rh-create{color:var(--pro-success)}.rh-action.rh-create{background:var(--pro-success-soft)}.rh-update{color:var(--pro-primary)}.rh-action.rh-update{background:var(--pro-primary-soft)}.rh-delete{color:var(--pro-danger)}.rh-action.rh-delete{background:var(--pro-danger-soft)}.rh-restore{color:#b45309}.rh-action.rh-restore{background:#fef3c7}.rh-changes{border:1px solid var(--pro-border);border-collapse:collapse;border-radius:6px;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));margin-top:8px;width:100%}.rh-changes td{border-bottom:1px solid var(--pro-border-soft);padding:5px 9px;vertical-align:top;word-break:break-word}.rh-changes tr:last-child td{border-bottom:none}.rh-field{background:var(--pro-surface-2);color:var(--pro-text-2);font-weight:600;width:30%}.rh-before{color:var(--pro-danger);text-decoration:line-through;text-decoration-color:#dc262666;width:35%}.rh-after{color:var(--pro-success);font-weight:600}.rh-created{color:var(--pro-text);display:flex;flex-wrap:wrap;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));gap:4px 14px;margin-top:6px}.rh-created b{color:var(--pro-muted);font-weight:600}.rh-foot{align-items:center;background:var(--pro-surface-2);border-top:1px solid var(--pro-border);color:var(--pro-muted);display:flex;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));gap:16px;padding:9px 18px}.rh-count{margin-left:auto}.famille-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.famille-topbar{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;justify-content:space-between;padding-bottom:20px}.famille-title-section{align-items:baseline;display:flex;gap:12px}.famille-title{color:#fff;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.famille-count{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:20px;color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500;padding:3px 10px}.famille-actions{gap:8px}.famille-actions,.search-box{align-items:center;display:flex}.search-box{position:relative}.search-box svg{color:#52525b;height:16px;left:12px;pointer-events:none;position:absolute;width:16px}.search-box input{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#fff;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));outline:none;padding:9px 14px 9px 36px;transition:all .2s ease;width:220px}.search-box input::placeholder{color:#52525b}.search-box input:focus{background:#ffffff14;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;gap:6px;padding:9px 16px;transition:all .15s ease;white-space:nowrap}.btn svg{height:15px;width:15px}.btn:disabled{cursor:not-allowed;opacity:.35}.btn-primary{background:#6366f1;color:#fff}.btn-primary:hover:not(:disabled){background:#4f46e5;box-shadow:0 2px 10px #6366f14d}.btn-secondary{background:#6366f11f;border:1px solid #6366f133;color:#818cf8}.btn-secondary:hover:not(:disabled){background:#6366f133;box-shadow:0 2px 10px #6366f126}.btn-edit{background:#fbbf241f;border:1px solid #fbbf2433;color:#fbbf24}.btn-edit:hover:not(:disabled){background:#fbbf2433;border-color:#fbbf2466}.btn-danger{background:#ef44441a;border:1px solid #ef444433;color:#ef4444}.btn-danger:hover:not(:disabled){background:#ef44442e;border-color:#ef444466}.btn-cancel{background:#ffffff0f;border:1px solid #ffffff1a;color:#a1a1aa}.btn-cancel:hover:not(:disabled){background:#ffffff1a;color:#fff}.famille-error{align-items:center;animation:fadeIn .2s ease;background:#ef444414;border:1px solid #ef444433;border-radius:10px;display:flex;flex-shrink:0;gap:10px;margin-bottom:16px;padding:10px 16px}.famille-error svg{color:#ef4444;flex-shrink:0;height:16px;width:16px}.famille-error span{color:#fca5a5;flex:1 1;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.famille-error button{background:none;border:none;color:#71717a;cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;padding:0 4px}.famille-error button:hover{color:#fff}.famille-table-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;overflow-y:auto}.famille-table-wrapper::-webkit-scrollbar{width:5px}.famille-table-wrapper::-webkit-scrollbar-track{background:#0000}.famille-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.famille-table{border-collapse:collapse;table-layout:fixed;width:100%}.famille-table thead{position:sticky;top:0;z-index:2}.famille-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:12px 16px;text-align:left;text-transform:uppercase}.th-id{width:80px}.famille-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));padding:12px 16px}.td-id{color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600}.famille-table tbody tr{cursor:pointer;transition:all .12s ease}.famille-table tbody tr:hover{background:#ffffff0a}.famille-table tbody tr.selected{background:#6366f11a;border-left:3px solid #6366f1}.famille-table tbody tr.selected td{color:#fff}.famille-table tbody tr.selected .td-id{color:#a78bfa}.table-empty{color:#52525b;padding:60px 20px!important;text-align:center}.table-empty svg{height:40px;margin-bottom:12px;opacity:.4;width:40px}.table-empty span{color:#71717a;display:block;font-size:14px;font-size:calc(14px*var(--ui-scale, 1))}.table-spinner{animation:spin .7s linear infinite;border:2.5px solid #ffffff1a;border-radius:50%;border-top-color:#6366f1;height:24px;margin:0 auto 12px;width:24px}@keyframes spin{to{transform:rotate(1turn)}}.modal-overlay{align-items:center;animation:overlayIn .2s ease;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0009;display:flex;inset:0;justify-content:center;position:fixed;z-index:2000}@keyframes overlayIn{0%{opacity:0}to{opacity:1}}.modal{animation:modalIn .25s cubic-bezier(.16,1,.3,1);background:#18181b;border:1px solid #ffffff14;border-radius:16px;box-shadow:0 25px 60px #00000080;margin:20px;max-width:440px;width:100%}@keyframes modalIn{0%{opacity:0;transform:scale(.95) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-header{align-items:center;display:flex;justify-content:space-between;padding:20px 24px 0}.modal-header h2{color:#fff;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));font-weight:700;margin:0}.modal-close{align-items:center;background:#0000;border:none;border-radius:8px;color:#71717a;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .15s ease;width:32px}.modal-close:hover{background:#ffffff0f;color:#fff}.modal-close svg{height:18px;width:18px}.modal-body{padding:20px 24px}.modal-error{align-items:center;background:#ef444414;border:1px solid #ef444433;border-radius:8px;display:flex;gap:8px;margin-bottom:16px;padding:10px 14px}.modal-error svg{color:#ef4444;flex-shrink:0;height:16px;width:16px}.modal-error span{color:#fca5a5}.modal-error span,.modal-field label{font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.modal-field label{color:#a1a1aa;display:block;font-weight:600;margin-bottom:6px}.modal-field input{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#fff;font-family:inherit;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));outline:none;padding:11px 14px;transition:all .2s ease;width:100%}.modal-field input::placeholder{color:#52525b}.modal-field input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.modal-footer{display:flex;gap:8px;justify-content:flex-end;padding:16px 24px 20px}.btn-spinner{animation:spin .6s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:16px;width:16px}@media (max-width:768px){.famille-topbar{align-items:flex-start;flex-direction:column}.famille-actions{flex-wrap:wrap;width:100%}.search-box,.search-box input{width:100%}.btn span{display:none}.btn{padding:9px 10px}}.fam-tree-cell{gap:7px;min-width:0}.fam-toggle,.fam-tree-cell{align-items:center;display:inline-flex}.fam-toggle{background:#0000;border:none;border-radius:4px;color:var(--pro-muted);cursor:pointer;flex-shrink:0;height:20px;justify-content:center;padding:0;transition:transform .12s ease,background .12s ease;width:20px}.fam-toggle svg{height:13px;width:13px}.fam-toggle:hover{background:var(--pro-surface-2);color:var(--pro-text)}.fam-toggle.open{transform:rotate(90deg)}.fam-toggle-placeholder{display:inline-block;flex-shrink:0;width:20px}.fam-icon{color:var(--pro-muted);flex-shrink:0;height:15px;width:15px}.fam-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fam-name-root{font-weight:600}.fam-parent-hint{color:var(--pro-muted);display:block;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));margin-top:6px}.supplier-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.supplier-topbar{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;justify-content:space-between;padding-bottom:20px}.supplier-title-section{align-items:baseline;display:flex;gap:12px}.supplier-title{color:#fff;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.supplier-count{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:20px;color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500;padding:3px 10px}.supplier-actions{align-items:center;display:flex;gap:8px}.supplier-error{align-items:center;animation:fadeIn .2s ease;background:#ef444414;border:1px solid #ef444433;border-radius:10px;display:flex;flex-shrink:0;gap:10px;margin-bottom:16px;padding:10px 16px}.supplier-error svg{color:#ef4444;flex-shrink:0;height:16px;width:16px}.supplier-error span{color:#fca5a5;flex:1 1;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.supplier-error button{background:none;border:none;color:#71717a;cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;padding:0 4px}.supplier-error button:hover{color:#fff}.supplier-table-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;overflow-y:auto}.supplier-table-wrapper::-webkit-scrollbar{width:5px}.supplier-table-wrapper::-webkit-scrollbar-track{background:#0000}.supplier-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.supplier-table{border-collapse:collapse;table-layout:fixed;width:100%}.supplier-table thead{position:sticky;top:0;z-index:2}.supplier-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:12px 16px;text-align:left;text-transform:uppercase}.supplier-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));overflow:hidden;padding:12px 16px;text-overflow:ellipsis;white-space:nowrap}.td-secondary{color:#a1a1aa}.supplier-table tbody tr{cursor:pointer;transition:all .12s ease}.supplier-table tbody tr:hover{background:#ffffff0a}.supplier-table tbody tr.selected{background:#6366f11a;border-left:3px solid #6366f1}.supplier-table tbody tr.selected td{color:#fff}.supplier-balance{border-radius:20px;display:inline-block;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.3px;padding:3px 10px;white-space:nowrap}.supplier-balance-debt{background:#ef44441f;border:1px solid #ef444438;color:#fca5a5}.supplier-balance-credit{background:#22c55e1f;border:1px solid #22c55e3d;color:#86efac}.supplier-balance-zero{background:#ffffff0f;border:1px solid #ffffff14;color:#a1a1b5}.modal-wide{max-width:540px}.modal-fields-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.modal-field-full{grid-column:1/-1}@media (max-width:768px){.supplier-topbar{align-items:flex-start;flex-direction:column}.supplier-actions{flex-wrap:wrap;width:100%}.modal-fields-grid{grid-template-columns:1fr}}.customer-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.customer-topbar{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;justify-content:space-between;padding-bottom:20px}.customer-title-section{align-items:baseline;display:flex;gap:12px}.customer-title{color:#fff;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.customer-count{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:20px;color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500;padding:3px 10px}.customer-actions{align-items:center;display:flex;gap:8px}.customer-error{align-items:center;animation:fadeIn .2s ease;background:#ef444414;border:1px solid #ef444433;border-radius:10px;display:flex;flex-shrink:0;gap:10px;margin-bottom:16px;padding:10px 16px}.customer-error svg{color:#ef4444;flex-shrink:0;height:16px;width:16px}.customer-error span{color:#fca5a5;flex:1 1;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.customer-error button{background:none;border:none;color:#71717a;cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;padding:0 4px}.customer-error button:hover{color:#fff}.customer-table-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;overflow-y:auto}.customer-table-wrapper::-webkit-scrollbar{width:5px}.customer-table-wrapper::-webkit-scrollbar-track{background:#0000}.customer-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.customer-table{border-collapse:collapse;table-layout:fixed;width:100%}.customer-table thead{position:sticky;top:0;z-index:2}.customer-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:12px 16px;text-align:left;text-transform:uppercase}.customer-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));overflow:hidden;padding:12px 16px;text-overflow:ellipsis;white-space:nowrap}.customer-table tbody tr{cursor:pointer;transition:all .12s ease}.customer-table tbody tr:hover{background:#ffffff0a}.customer-table tbody tr.selected{background:#6366f11a;border-left:3px solid #6366f1}.customer-table tbody tr.selected td{color:#fff}.customer-balance{border-radius:20px;display:inline-block;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.3px;padding:3px 10px;white-space:nowrap}.customer-balance-debt{background:#ef44441f;border:1px solid #ef444438;color:#fca5a5}.customer-balance-credit{background:#22c55e1f;border:1px solid #22c55e3d;color:#86efac}.customer-balance-zero{background:#ffffff0f;border:1px solid #ffffff14;color:#a1a1b5}@media (max-width:768px){.customer-topbar{align-items:flex-start;flex-direction:column}.customer-actions{flex-wrap:wrap;width:100%}}.unit-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.unit-topbar{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;justify-content:space-between;padding-bottom:20px}.unit-title-section{align-items:baseline;display:flex;gap:12px}.unit-title{color:#fff;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.unit-count{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:20px;color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500;padding:3px 10px}.unit-actions{gap:8px}.unit-actions,.unit-error{align-items:center;display:flex}.unit-error{animation:fadeIn .2s ease;background:#ef444414;border:1px solid #ef444433;border-radius:10px;flex-shrink:0;gap:10px;margin-bottom:16px;padding:10px 16px}.unit-error svg{color:#ef4444;flex-shrink:0;height:16px;width:16px}.unit-error span{color:#fca5a5;flex:1 1;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.unit-error button{background:none;border:none;color:#71717a;cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;padding:0 4px}.unit-error button:hover{color:#fff}.unit-table-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;overflow-y:auto}.unit-table-wrapper::-webkit-scrollbar{width:5px}.unit-table-wrapper::-webkit-scrollbar-track{background:#0000}.unit-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.unit-table{border-collapse:collapse;table-layout:fixed;width:100%}.unit-table thead{position:sticky;top:0;z-index:2}.unit-table th{background:#2d2d4a;border-bottom:1px solid #db121214;color:#a1a1b5;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:12px 16px;text-align:left;text-transform:uppercase}.unit-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));padding:12px 16px}.unit-table tbody tr{cursor:pointer;transition:all .12s ease}.unit-table tbody tr:hover{background:#ffffff0a}.unit-table tbody tr.selected{background:#6366f11a;border-left:3px solid #6366f1}.unit-table tbody tr.selected td{color:#fff}@media (max-width:768px){.unit-topbar{align-items:flex-start;flex-direction:column}.unit-actions{flex-wrap:wrap;width:100%}}.depot-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.depot-topbar{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;justify-content:space-between;padding-bottom:20px}.depot-title-section{align-items:baseline;display:flex;gap:12px}.depot-title{color:#fff;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.depot-count{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:20px;color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500;padding:3px 10px}.depot-actions{gap:8px}.depot-actions,.depot-error{align-items:center;display:flex}.depot-error{animation:fadeIn .2s ease;background:#ef444414;border:1px solid #ef444433;border-radius:10px;flex-shrink:0;gap:10px;margin-bottom:16px;padding:10px 16px}.depot-error svg{color:#ef4444;flex-shrink:0;height:16px;width:16px}.depot-error span{color:#fca5a5;flex:1 1;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.depot-error button{background:none;border:none;color:#71717a;cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;padding:0 4px}.depot-error button:hover{color:#fff}.depot-table-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;overflow-y:auto}.depot-table-wrapper::-webkit-scrollbar{width:5px}.depot-table-wrapper::-webkit-scrollbar-track{background:#0000}.depot-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.depot-table{border-collapse:collapse;table-layout:fixed;width:100%}.depot-table thead{position:sticky;top:0;z-index:2}.depot-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:12px 16px;text-align:left;text-transform:uppercase}.depot-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));padding:12px 16px}.depot-table tbody tr{cursor:pointer;transition:all .12s ease}.depot-table tbody tr:hover{background:#ffffff0a}.depot-table tbody tr.selected{background:#6366f11a;border-left:3px solid #6366f1}.depot-table tbody tr.selected td{color:#fff}@media (max-width:768px){.depot-topbar{align-items:flex-start;flex-direction:column}.depot-actions{flex-wrap:wrap;width:100%}}.depot-default-badge{align-items:center;background:var(--pro-primary-soft);border-radius:999px;color:var(--pro-primary);display:inline-flex;font-size:10.5px;font-size:calc(10.5px*var(--ui-scale, 1));font-weight:600;height:18px;margin-left:8px;padding:0 7px;vertical-align:middle}.product-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.product-topbar{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;justify-content:space-between;padding-bottom:20px}.product-title-section{align-items:baseline;display:flex;gap:12px}.product-title{color:#fff;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.product-count{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:20px;color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500;padding:3px 10px}.product-actions{align-items:center;display:flex;gap:8px}.product-filter-famille{min-width:200px}.btn-view{background:#6366f11f;border:1px solid #6366f133;color:#818cf8}.btn-view:hover:not(:disabled){background:#6366f133;border-color:#6366f166}.btn-price{background:#f59e0b1f;border:1px solid #f59e0b33;color:#fbbf24}.btn-price:hover:not(:disabled){background:#f59e0b33;border-color:#f59e0b66}.btn-price-purchase{background:#f59e0b1f;border:1px solid #f59e0b33;color:#fbbf24}.btn-price-purchase:hover:not(:disabled){background:#f59e0b33;border-color:#f59e0b66}.btn-price-sale{background:#34d3991f;border:1px solid #34d39933;color:#34d399}.btn-price-sale:hover:not(:disabled){background:#34d39933;border-color:#34d39966}.btn-sale-price{background:#22c55e1f;border:1px solid #22c55e33;color:#4ade80}.btn-sale-price:hover:not(:disabled){background:#22c55e33;border-color:#22c55e66}.btn-calc{background:#0ea5e91f;border:1px solid #0ea5e933;color:#38bdf8}.btn-calc:hover:not(:disabled){background:#0ea5e933;border-color:#0ea5e966}.btn-low-stock{background:#ef44441f;border:1px solid #ef444433;color:#f87171}.btn-low-stock:hover:not(:disabled){background:#ef444433;border-color:#ef444466}.btn-order{background:#22c55e1f;border:1px solid #22c55e33;color:#4ade80}.btn-order:hover:not(:disabled){background:#22c55e33;border-color:#22c55e66}.td-check,.th-check{text-align:center;width:30px}.calc-overlay{align-items:center;animation:calcOverlayIn .2s ease;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0009;display:flex;inset:0;justify-content:center;position:fixed;z-index:3000}@keyframes calcOverlayIn{0%{opacity:0}to{opacity:1}}.calc-popup{animation:calcPopupIn .25s cubic-bezier(.16,1,.3,1);background:#18181b;border:1px solid #ffffff14;border-radius:16px;box-shadow:0 25px 60px #00000080;margin:20px;max-height:80vh;max-width:540px;overflow-y:auto;padding:0;width:100%}@keyframes calcPopupIn{0%{opacity:0;transform:scale(.95) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.calc-popup::-webkit-scrollbar{width:5px}.calc-popup::-webkit-scrollbar-track{background:#0000}.calc-popup::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.calc-popup-header{align-items:center;background:#18181b;border-bottom:1px solid #ffffff0f;display:flex;gap:12px;padding:20px 24px 16px;position:sticky;top:0;z-index:1}.calc-popup-icon{align-items:center;background:#0ea5e91f;border:1px solid #0ea5e933;border-radius:10px;display:flex;flex-shrink:0;height:40px;justify-content:center;width:40px}.calc-popup-icon svg{color:#38bdf8;height:20px;width:20px}.calc-popup-title{color:#fff;flex:1 1;font-size:17px;font-size:calc(17px*var(--ui-scale, 1));font-weight:700;margin:0}.calc-popup-close{background:none;border:none;color:#71717a;cursor:pointer;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));line-height:1;padding:0 4px;transition:color .15s}.calc-popup-close:hover{color:#fff}.calc-filters{align-items:center;border-bottom:1px solid #ffffff0f;display:flex;flex-wrap:wrap;gap:8px;padding:16px 24px}.calc-filter-label{color:#71717a;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.calc-filter-label,.calc-filter-tag{font-size:12px;font-size:calc(12px*var(--ui-scale, 1))}.calc-filter-tag{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:20px;color:#a1a1aa;padding:3px 10px}.calc-filter-count{background:#0ea5e91a;border-color:#0ea5e933;color:#38bdf8}.calc-loading{align-items:center;color:#71717a;display:flex;flex-direction:column;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));gap:12px;padding:40px 24px}.calc-section{padding:16px 24px}.calc-section-title{color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;margin:0 0 12px;text-transform:uppercase}.calc-table{border-collapse:collapse;width:100%}.calc-table th{border-bottom:1px solid #ffffff0f;color:#52525b;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;padding:8px 12px;text-align:left;text-transform:uppercase}.calc-th-right{text-align:right!important}.calc-table td{border-bottom:1px solid #ffffff0a;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));padding:10px 12px}.calc-td-depot{color:#d4d4d8;font-weight:500}.calc-td-value{color:#fbbf24;font-family:JetBrains Mono,Fira Code,monospace;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;text-align:right}.calc-empty{color:#52525b!important;font-style:italic;padding:16px!important;text-align:center!important}.calc-grand-total{background:#ffffff05;border-radius:0 0 16px 16px;border-top:1px solid #ffffff14;padding:16px 24px 20px}.calc-grand-total-row{align-items:center;display:flex;justify-content:space-between}.calc-grand-label{color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:600}.calc-grand-value{color:#fbbf24;font-family:JetBrains Mono,Fira Code,monospace;font-size:20px;font-size:calc(20px*var(--ui-scale, 1));font-weight:700}.product-error{align-items:center;animation:fadeIn .2s ease;background:#ef444414;border:1px solid #ef444433;border-radius:10px;display:flex;flex-shrink:0;gap:10px;margin-bottom:16px;padding:10px 16px}.product-error svg{color:#ef4444;flex-shrink:0;height:16px;width:16px}.product-error span{color:#fca5a5;flex:1 1;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.product-error button{background:none;border:none;color:#71717a;cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;padding:0 4px}.product-error button:hover{color:#fff}.product-table-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;overflow-y:auto}.product-table-wrapper::-webkit-scrollbar{width:5px}.product-table-wrapper::-webkit-scrollbar-track{background:#0000}.product-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.product-table{border-collapse:collapse;width:100%}.product-table thead{position:sticky;top:0;z-index:2}.product-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:12px 16px;text-align:left;text-transform:uppercase}.th-status{text-align:center;width:100px}.th-price{text-align:right;width:110px}.td-price{font-family:JetBrains Mono,Fira Code,monospace;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));text-align:right;white-space:nowrap}.td-percent{color:#71717a;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;margin-left:4px}.product-table th.th-purchase{color:#d97706}.product-table th.th-sale{color:#22c55e}.product-table th.th-sale-normal{color:#818cf8}.product-table td.td-purchase{color:#fbbf24}.product-table td.td-sale{color:#86efac}.product-table td.td-sale-normal{color:#a78bfa;font-weight:700}.product-table th.th-stock{color:#818cf8}.product-table td.td-stock{color:#a5b4fc;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));white-space:nowrap}.product-table td.td-stock-total,.product-table th.th-stock-total{border-right:1px solid #0891b24d}.product-table th.th-stock-total{color:#0e7490}.product-table td.td-stock-total{color:#0891b2;font-weight:700}body:not(.light-theme) .product-table td.td-stock-total,body:not(.light-theme) .product-table th.th-stock-total{border-right-color:#22d3ee4d}body:not(.light-theme) .product-table th.th-stock-total{color:#22d3ee}body:not(.light-theme) .product-table td.td-stock-total{color:#67e8f9}.product-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));padding:12px 16px}.product-table tbody tr{cursor:pointer;transition:all .12s ease}.product-table tbody tr:hover{background:#ffffff0a}.product-table tbody tr.selected{background:#6366f140;border-left:3px solid #818cf8;box-shadow:inset 0 0 0 1px #6366f14d}.product-table tbody tr.selected td{color:#fff}.status-badge{border-radius:20px;display:inline-block;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600;padding:3px 10px;text-align:center}.status-active{background:#22c55e1f;border:1px solid #22c55e33;color:#4ade80}.status-inactive{background:#ef44441a;border:1px solid #ef444433;color:#f87171}@media (max-width:768px){.product-topbar{align-items:flex-start;flex-direction:column}.product-actions{flex-wrap:wrap;width:100%}.search-box,.search-box input{width:100%}}.productform-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.productform-loading{align-items:center;color:var(--pro-muted);display:flex;flex-direction:column;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));gap:12px;height:100%;justify-content:center}.pfx-file-input{display:none}.productform-topbar{display:flex;flex-direction:column;flex-shrink:0;gap:8px;padding-bottom:8px}.pfx-head{align-items:center;display:flex;gap:12px}.pfx-head,.pfx-head-text{min-width:0}.pfx-head-title-row{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.productform-title{color:var(--pro-text);font-size:20px;font-size:calc(20px*var(--ui-scale, 1));font-weight:700;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pfx-head-sub{color:var(--pro-muted);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));margin-top:2px}.btn-back{align-items:center;background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:8px;color:var(--pro-muted);cursor:pointer;display:flex;flex-shrink:0;height:34px;justify-content:center;padding:0;transition:background .12s ease,color .12s ease;width:34px}.btn-back:hover{background:var(--pro-surface-2);color:var(--pro-text)}.btn-back svg{height:18px;width:18px}.productform-actions{align-items:center;display:flex;gap:6px}.pfx-actions-sep{background:var(--pro-border);height:20px;margin:0 4px;width:1px}.pfx-status{align-items:center;border:1px solid #0000;border-radius:999px;display:inline-flex;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;gap:5px;height:20px;padding:0 8px}.pfx-status:before{background:currentColor;border-radius:50%;content:"";height:6px;width:6px}.pfx-status-on{background:var(--pro-success-soft);border-color:var(--pro-success-border);color:var(--pro-success)}.pfx-status-off{background:var(--pro-surface-2);border-color:var(--pro-border);color:var(--pro-muted)}.pfx-editing-tag{align-items:center;background:var(--pro-primary-soft);border-radius:999px;color:var(--pro-primary);display:inline-flex;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;height:20px;padding:0 8px}.pfx-error{align-items:center;background:var(--pro-danger-soft);border:1px solid var(--pro-danger-border);border-radius:var(--pro-radius);color:var(--pro-danger);display:flex;flex-shrink:0;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));gap:10px;margin-bottom:10px;padding:9px 12px}.pfx-error svg{flex-shrink:0;height:16px;width:16px}.pfx-error span{flex:1 1}.pfx-error button{background:none;border:none;color:inherit;cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;opacity:.7}.pfx-error button:hover{opacity:1}.pfx-body{grid-gap:10px;display:grid;flex:1 1;gap:10px;grid-template-columns:minmax(0,1fr) 240px;min-height:0;overflow:hidden}.pfx-aside,.pfx-main{display:flex;flex-direction:column;gap:10px;min-height:0;min-width:0}.pfx-body::-webkit-scrollbar{width:6px}.pfx-body::-webkit-scrollbar-thumb{background:var(--pro-border-strong);border-radius:3px}.pfx-card{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);padding:10px 14px 12px}.pfx-card-units{display:flex;flex:1 1;flex-direction:column;min-height:0}.pfx-card-head{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-bottom:8px}.pfx-card-head h3{align-items:center;color:var(--pro-muted);display:flex;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:700;gap:8px;letter-spacing:.06em;margin:0;text-transform:uppercase}.pfx-count{align-items:center;background:var(--pro-primary-soft);border-radius:999px;color:var(--pro-primary);display:inline-flex;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));height:18px;justify-content:center;letter-spacing:0;min-width:20px;padding:0 6px}.pfx-grid{grid-gap:2px 10px;display:grid;gap:2px 10px;grid-template-columns:repeat(6,minmax(0,1fr))}.pfx-card-info{flex-shrink:0;padding:6px 12px 8px}.pfx-card-info .pfx-card-head{margin-bottom:4px}.pfx-span-2{grid-column:span 2}.pfx-span-full{grid-column:1/-1}.pfx-field{display:flex;flex-direction:column;gap:2px;min-width:0}.pfx-field>label{align-items:center;color:var(--pro-text-2);display:flex;font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1));font-weight:600;gap:6px;line-height:1.3}.pfx-required{color:var(--pro-danger)}.pfx-input{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;box-sizing:border-box;color:var(--pro-text);font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));height:30px;outline:none;padding:0 10px;transition:border-color .12s ease,box-shadow .12s ease;width:100%}textarea.pfx-input{height:30px;line-height:1.4;min-height:30px;padding:5px 10px;resize:vertical}.pfx-input-strong{font-weight:600}.pfx-input::placeholder{color:var(--pro-muted);opacity:.7}.pfx-input:focus{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft)}.pfx-mono{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;letter-spacing:.02em}.pfx-value{align-items:center;color:var(--pro-text);display:flex;font-size:13.5px;font-size:calc(13.5px*var(--ui-scale, 1));min-height:24px;white-space:pre-wrap;word-break:break-word}.pfx-value-empty{color:var(--pro-muted);font-style:italic}.pfx-switch{align-items:center;background:#0000;border:1px solid #0000;border-radius:6px;color:var(--pro-text-2);cursor:pointer;display:inline-flex;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));gap:10px;height:30px;padding:0 10px 0 6px;text-align:left}.pfx-switch:focus-visible{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft);outline:none}.pfx-switch-track{background:var(--pro-border-strong);border-radius:10px;flex-shrink:0;height:20px;position:relative;transition:background .15s ease;width:36px}.pfx-switch-knob{background:#fff;border-radius:50%;box-shadow:0 1px 2px #00000040;height:14px;left:3px;position:absolute;top:3px;transition:transform .15s ease;width:14px}.pfx-switch.on .pfx-switch-track{background:var(--pro-success)}.pfx-switch.on .pfx-switch-knob{transform:translateX(16px)}.pfx-field .searchable-select-trigger{min-height:30px}.pfx-field .ss-autocomplete-input,.pfx-field .ss-selected-overlay{padding-bottom:5px;padding-top:5px}.pfx-btn-ghost{align-items:center;background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text-2);cursor:pointer;display:inline-flex;font-family:inherit;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));font-weight:500;gap:6px;height:30px;padding:0 10px;transition:background .12s ease,border-color .12s ease}.pfx-btn-ghost:hover:not(:disabled){background:var(--pro-surface-2);border-color:var(--pro-muted);color:var(--pro-text)}.pfx-btn-ghost:disabled{cursor:not-allowed;opacity:.45}.pfx-btn-ghost svg{color:var(--pro-primary);height:14px;width:14px}.pfx-btn-danger{color:var(--pro-danger)}.pfx-btn-danger:hover:not(:disabled){background:var(--pro-danger-soft);border-color:var(--pro-danger-border);color:var(--pro-danger)}.pfx-units-wrapper{border:1px solid var(--pro-border);border-radius:6px;flex:1 1;min-height:0;overflow:auto}.productform-units-table{border-collapse:collapse;width:100%}.productform-units-table th{background:var(--pro-head-bg);border-bottom:1px solid var(--pro-border);color:var(--pro-head-text);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.05em;padding:6px 12px;position:sticky;text-align:left;text-transform:uppercase;top:0;z-index:1}.productform-units-table td{border-bottom:1px solid var(--pro-border-soft);color:var(--pro-text);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:5px 12px;vertical-align:middle}.productform-units-table tbody tr:last-child td{border-bottom:none}.productform-units-table tbody tr:focus-within{background:var(--pro-row-selected)}.th-center{text-align:center!important}.td-center{text-align:center}.pfx-th-action{width:44px}.pfx-td-unit{min-width:180px}.pfx-unit-name{gap:8px}.pfx-lock,.pfx-unit-name{align-items:center;display:inline-flex;font-weight:600}.pfx-lock{background:var(--pro-surface-2);border:1px solid var(--pro-border);border-radius:4px;color:var(--pro-muted);cursor:help;font-size:10.5px;font-size:calc(10.5px*var(--ui-scale, 1));gap:4px;height:18px;padding:0 6px}.pfx-lock svg{height:11px;width:11px}.btn-icon:disabled{background:#0000;cursor:not-allowed;opacity:.35}.pfx-td-muted{color:var(--pro-muted)!important;font-size:12.5px!important;font-size:calc(12.5px*var(--ui-scale, 1))!important;white-space:nowrap}.pfx-num{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.pfx-tag{align-items:center;background:var(--pro-primary-soft);border-radius:4px;color:var(--pro-primary);display:inline-flex;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;height:20px;padding:0 8px}.pfx-formula-input{font-feature-settings:"tnum";background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;box-sizing:border-box;color:var(--pro-text);font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;height:30px;outline:none;padding:0 8px;text-align:right;width:90px}.pfx-formula-input:focus{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft)}.pfx-formula-input:disabled{cursor:not-allowed;opacity:.5}.pfx-radio{background:#0000;border:2px solid var(--pro-border-strong);border-radius:50%;cursor:pointer;height:18px;padding:0;position:relative;transition:border-color .12s ease;vertical-align:middle;width:18px}.pfx-radio.on{border-color:var(--pro-primary)}.pfx-radio.on:after{background:var(--pro-primary);border-radius:50%;content:"";inset:3px;position:absolute}.pfx-radio:focus-visible{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft);outline:none}.pfx-units-empty{align-items:center;border:1px dashed var(--pro-border-strong);border-radius:6px;color:var(--pro-muted);display:flex;flex:1 1;flex-direction:column;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));gap:6px;justify-content:center;padding:14px}.pfx-units-empty svg{height:32px;opacity:.5;width:32px}.pfx-hint{font-size:12px;font-size:calc(12px*var(--ui-scale, 1));opacity:.8}.pfx-image-box{aspect-ratio:1/1;background:var(--pro-surface-2);border:1px solid var(--pro-border);border-radius:6px;margin:0 auto;max-height:200px;max-width:200px;overflow:hidden;width:100%}.pfx-image-box img{display:block;height:100%;object-fit:contain;width:100%}.pfx-image-drop,.pfx-image-empty{align-items:center;color:var(--pro-muted);display:flex;flex-direction:column;font-family:inherit;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));gap:8px;height:100%;justify-content:center;width:100%}.pfx-image-drop{background:#0000;border:2px dashed var(--pro-border-strong);border-radius:6px;cursor:pointer;transition:border-color .12s ease,color .12s ease}.pfx-image-drop:hover{border-color:var(--pro-primary);color:var(--pro-primary)}.pfx-image-drop svg,.pfx-image-empty svg{height:34px;opacity:.6;width:34px}.pfx-image-actions{display:flex;gap:6px;margin-top:8px}.pfx-image-actions .pfx-btn-ghost{flex:1 1;justify-content:center}.pfx-summary{display:flex;flex-direction:column;margin:0}.pfx-summary>div{border-bottom:1px solid var(--pro-border-soft);display:flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));gap:10px;justify-content:space-between;padding:4px 0}.pfx-summary>div:last-child{border-bottom:none}.pfx-summary dt{color:var(--pro-muted)}.pfx-summary dd{color:var(--pro-text);font-weight:600;margin:0;text-align:right}.btn-icon{align-items:center;background:#0000;border:none;border-radius:6px;cursor:pointer;display:inline-flex;height:30px;justify-content:center;padding:0;transition:background .12s ease,color .12s ease;width:30px}.btn-icon svg{height:16px;width:16px}.btn-icon-danger{color:var(--pro-muted)}.btn-icon-danger:hover{background:var(--pro-danger-soft);color:var(--pro-danger)}@media (max-width:1100px){.pfx-body{grid-template-columns:minmax(0,1fr);overflow-y:auto}.pfx-aside{flex-direction:row;flex-wrap:wrap}.pfx-aside>.pfx-card{flex:1 1 260px}.pfx-image-box{max-width:220px}.pfx-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:700px){.pfx-grid{grid-template-columns:minmax(0,1fr)}.pfx-span-2{grid-column:auto}}.pfx-td-warn{color:#dc2626;color:var(--pro-danger,#dc2626);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600}.pfx-cost-group{display:contents}.pfx-field-cost label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pp-page{height:calc(100vh - 100px);overflow:hidden}.pp-loading,.pp-page{display:flex;flex-direction:column}.pp-loading{align-items:center;color:#71717a;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));gap:12px;height:100%;justify-content:center}.pp-topbar{flex-shrink:0;gap:16px;justify-content:space-between;padding-bottom:20px}.pp-title-section,.pp-topbar{align-items:center;display:flex}.pp-title-section{gap:12px}.pp-title{color:#fff;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;line-height:1.2;margin:0}.pp-subtitle{color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500}.pp-product-info{align-items:center;display:flex;flex-wrap:wrap;gap:10px;margin-top:2px}.pp-product-name{color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:600}.pp-product-ref{background:#6366f11a;border:1px solid #6366f133;border-radius:4px;color:#818cf8}.pp-product-barcode,.pp-product-ref{font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:500;padding:1px 8px}.pp-product-barcode{background:#ffffff0d;border:1px solid #ffffff14;border-radius:4px;color:#a1a1aa}.pp-content{gap:16px;min-height:0}.pp-col-main,.pp-content{display:flex;flex:1 1;overflow:hidden}.pp-col-main{min-width:0}.pp-col-main,.pp-col-side{flex-direction:column;gap:12px}.pp-col-side{display:flex;flex-shrink:0;overflow-y:auto;width:320px}.pp-col-side::-webkit-scrollbar{width:5px}.pp-col-side::-webkit-scrollbar-track{background:#0000}.pp-col-side::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.pp-unit-label{color:#a1a1aa;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600}.pp-basic-badge{background:#6366f126;border-radius:4px;color:#818cf8;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;padding:1px 6px;text-transform:uppercase}.pp-add-form{display:flex;flex-shrink:0;gap:8px}.pp-add-unit-select{appearance:none;background:#ffffff0d;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;border:1px solid #ffffff1a;border-radius:8px;color:#fff;cursor:pointer;font-family:inherit;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));outline:none;padding:9px 32px 9px 14px;transition:all .2s ease;width:160px}.pp-add-unit-select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.pp-add-unit-select option{background:#18181b;color:#fff}.pp-add-form input{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#fff;flex:1 1;font-family:inherit;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));outline:none;padding:9px 14px;transition:all .2s ease}.pp-add-form input::placeholder{color:#52525b}.pp-add-form input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.pp-table-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;overflow-y:auto}.pp-table-wrapper::-webkit-scrollbar{width:5px}.pp-table-wrapper::-webkit-scrollbar-track{background:#0000}.pp-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.pp-table{border-collapse:collapse;table-layout:fixed;width:100%}.pp-table thead{position:sticky;top:0;z-index:2}.pp-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:12px 16px;text-align:left;text-transform:uppercase}.pp-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));padding:12px 16px}.pp-table tbody tr{transition:all .12s ease}.pp-table tbody tr:hover{background:#ffffff0a}.pp-row-last{background:#6366f10d}.pp-row-last:hover{background:#6366f114!important}.pp-price{font-weight:500}.pp-price-current{color:#818cf8;font-weight:700}.pp-edit-input{background:#ffffff0d;border:1px solid #6366f1;border-radius:6px;box-shadow:0 0 0 3px #6366f11f;color:#fff;font-family:inherit;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));outline:none;padding:6px 10px;width:120px}.pp-action-buttons{align-items:center;display:flex;gap:4px;justify-content:center}.btn-icon-edit{color:#71717a}.btn-icon-edit:hover{background:#6366f11f;color:#818cf8}.btn-icon-success{color:#71717a}.btn-icon-success:hover{background:#22c55e1f;color:#4ade80}.btn-icon-cancel{color:#71717a}.btn-icon-cancel:hover{background:#ef44441f;color:#ef4444}.pp-card{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;padding:16px 20px}.pp-card-header{align-items:center;display:flex;gap:10px;margin-bottom:16px}.pp-card-header svg{color:#6366f1;flex-shrink:0;height:18px;width:18px}.pp-card-header h3{color:#e4e4e7;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:700;margin:0}.pp-current-price-value{color:#818cf8;font-size:32px;font-size:calc(32px*var(--ui-scale, 1));font-weight:800;letter-spacing:-1px;padding:12px 0;text-align:center}.pp-current-price-unit{color:#71717a;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:500;letter-spacing:0}.pp-no-price{color:#52525b;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:16px 0;text-align:center}.pp-unit-prices-list{display:flex;flex-direction:column;gap:4px}.pp-unit-price-row{align-items:center;border-radius:8px;display:flex;justify-content:space-between;padding:10px 12px;transition:all .12s ease}.pp-unit-price-row:hover{background:#ffffff0a}.pp-unit-price-base{background:#6366f10f}.pp-unit-price-info{align-items:center;display:flex;gap:8px}.pp-unit-price-name{color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:600}.pp-unit-price-formula{color:#52525b;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:500}.pp-unit-price-values{align-items:flex-end;display:flex;flex-direction:column;gap:2px}.pp-unit-price-value{color:#e4e4e7;font-size:15px;font-size:calc(15px*var(--ui-scale, 1));font-weight:700}.pp-unit-price-last{color:#52525b;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:500}@media (max-width:900px){.pp-content{flex-direction:column;overflow-y:auto}.pp-col-side{flex-direction:row;flex-wrap:wrap;overflow-y:visible;width:100%}.pp-col-side .pp-card{flex:1 1;min-width:250px}.pp-col-main{overflow:visible}.pp-table-wrapper{max-height:400px}}.sp-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.sp-loading{color:#71717a;flex-direction:column;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));height:100%;justify-content:center}.sp-loading,.sp-topbar{align-items:center;display:flex;gap:12px}.sp-topbar{border-bottom:1px solid #ffffff0f;flex-shrink:0;justify-content:space-between;margin-bottom:0;padding-bottom:12px}.sp-title-section{align-items:center;display:flex;gap:14px}.sp-title{color:#fff;font-size:22px;font-size:calc(22px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;line-height:1.2;margin:0}.sp-product-info{align-items:center;display:flex;flex-wrap:wrap;gap:10px;margin-top:2px}.sp-product-name{color:#d4d4d8;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600}.sp-product-ref{background:#6366f11a;border:1px solid #6366f126;border-radius:6px;color:#818cf8;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;padding:2px 8px}.sp-content{display:flex;flex:1 1;flex-direction:column;gap:10px;min-height:0;overflow:hidden}.sp-unit-label{color:#d4d4d8;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;margin-right:6px}.sp-basic-badge{background:#6366f126;border-radius:4px;color:#818cf8;display:inline-block;font-size:9px;font-size:calc(9px*var(--ui-scale, 1));font-weight:700;letter-spacing:.5px;padding:2px 6px;text-transform:uppercase;vertical-align:middle}.sp-add-form{gap:6px;padding:10px 12px}.sp-add-form,.sp-unit-bar{background:#ffffff05;border:1px solid #ffffff0f;border-radius:10px;display:flex;flex-shrink:0}.sp-unit-bar{align-items:center;gap:12px;justify-content:space-between;padding:10px 14px}.sp-unit-bar-left{align-items:center;display:flex;gap:14px}.sp-unit-bar-right{align-items:center;display:flex;gap:6px}.sp-unit-selector{appearance:none;background:#ffffff0f;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;border:1px solid #ffffff1f;border-radius:8px;color:#fff;cursor:pointer;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;min-width:180px;outline:none;padding:8px 32px 8px 12px;transition:all .2s ease}.sp-unit-selector:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.sp-unit-selector option{background:#18181b;color:#fff}.sp-purchase-display{align-items:center;background:#fbbf240f;border:1px solid #fbbf2426;border-radius:8px;display:flex;gap:8px;padding:6px 12px}.sp-purchase-label{color:#a1a1aa;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.3px;text-transform:uppercase}.sp-purchase-value{font-feature-settings:"tnum";color:#fbbf24;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;font-weight:800}.sp-add-unit-select{appearance:none;background:#ffffff0d;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;border:1px solid #ffffff1a;border-radius:8px;color:#fff;cursor:pointer;font-family:inherit;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:500;outline:none;padding:7px 28px 7px 10px;transition:all .2s ease;width:140px}.sp-add-unit-select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.sp-add-unit-select option{background:#18181b;color:#fff}.sp-add-form input{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#fff;flex:1 1;font-family:inherit;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:500;outline:none;padding:7px 10px;transition:all .2s ease}.sp-add-form input::placeholder{color:#52525b}.sp-add-form input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.sp-table-wrapper{background:#00000026;border:1px solid #ffffff0f;border-radius:12px;flex:0 1 auto;min-height:0;overflow-y:auto}.sp-table-wrapper::-webkit-scrollbar{width:4px}.sp-table-wrapper::-webkit-scrollbar-track{background:#0000}.sp-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.sp-table{border-collapse:collapse;width:100%}.sp-table thead{position:sticky;top:0;z-index:2}.sp-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:700;letter-spacing:.8px;padding:8px 12px;text-align:left;text-transform:uppercase}.sp-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:8px 12px}.sp-table tbody tr{transition:all .12s ease}.sp-table tbody tr:hover{background:#ffffff0a}.sp-row-has-price{background:#6366f108}.sp-row-has-price:hover{background:#6366f10f!important}.sp-price{font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600}.sp-price-normal{color:#818cf8;font-weight:700}.sp-purchase-price{color:#fbbf24;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:700}.sp-th-purchase{color:#d97706!important}.sp-no-val{color:#3f3f46;font-style:italic}.sp-th-margin{color:#059669!important}.sp-th-coeff{color:#7c3aed!important}.sp-margin-cell{display:flex;flex-direction:column;gap:1px}.sp-margin-value{font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:700}.sp-margin-pct{font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600}.sp-margin-pos{color:#34d399}.sp-margin-neg{color:#f87171}.sp-coeff-value{color:#a78bfa;font-weight:700}.sp-coeff-value,.sp-edit-input{font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.sp-edit-input{background:#ffffff0f;border:1.5px solid #6366f1;border-radius:6px;box-shadow:0 0 0 3px #6366f11f;color:#fff;font-family:inherit;font-weight:500;outline:none;padding:6px 10px;width:100px}.sp-th-percent{color:#8b5cf6!important}.sp-percent-input{border-color:#8b5cf6!important;box-shadow:0 0 0 3px #8b5cf61a!important;width:90px}.sp-price-input{width:130px}.sp-input-warning{background:#f59e0b0d!important;border-color:#f59e0b!important;box-shadow:0 0 0 3px #f59e0b26!important}.sp-readonly-val{color:#d4d4d8;display:inline-block;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;padding:6px 10px}.sp-readonly-main{color:#818cf8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:700}.sp-readonly-percent{color:#a78bfa;font-weight:600}.sp-price-input-wrap{align-items:center;display:flex;gap:6px}.sp-cfa-suffix{color:#71717a;flex-shrink:0;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700;letter-spacing:.5px}.sp-type-label{color:#d4d4d8;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600}.sp-type-label-main{color:#818cf8;font-weight:700}.sp-row-highlight{background:#6366f10a}.sp-row-highlight:hover{background:#6366f112!important}.sp-save-bar{background:#0000001a;border-top:1px solid #ffffff0f;display:flex;justify-content:flex-end;padding:10px 14px}.sp-save-btn{min-width:140px}.sp-summary-section{background:#0000001a;border:1px solid #ffffff0f;border-radius:10px;flex-shrink:0;overflow:hidden}.sp-summary-header{align-items:center;border-bottom:1px solid #ffffff0f;color:#818cf8;display:flex;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700;gap:8px;letter-spacing:.5px;padding:8px 14px;text-transform:uppercase}.sp-summary-header svg{height:14px;width:14px}.sp-summary-table-wrapper{max-height:180px;overflow-y:auto}.sp-summary-table-wrapper::-webkit-scrollbar{width:4px}.sp-summary-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.sp-summary-table{font-size:12px;font-size:calc(12px*var(--ui-scale, 1))}.sp-summary-row{cursor:pointer;transition:all .12s ease}.sp-summary-row:hover{background:#ffffff0a}.sp-summary-row-active{background:#6366f114!important;border-left:3px solid #6366f1}.sp-summary-row-active:hover{background:#6366f11f!important}.sp-action-buttons{align-items:center;display:flex;gap:3px;justify-content:center}.sp-tabs{border-bottom:2px solid #ffffff0f;display:flex;flex-shrink:0;gap:0;margin:0;padding:0}.sp-tab{align-items:center;background:#0000;border:none;border-bottom:2px solid #0000;border-radius:0;color:#52525b;cursor:pointer;display:flex;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;gap:8px;margin-bottom:-2px;padding:10px 20px;position:relative;transition:all .2s ease;white-space:nowrap}.sp-tab svg{flex-shrink:0;height:16px;width:16px}.sp-tab:hover{background:#ffffff05;color:#a1a1aa}.sp-tab-active{background:#0000;border-bottom-color:#6366f1;color:#818cf8}.sp-tab-active:hover{background:#6366f10a;color:#818cf8}.sp-tab-client.sp-tab-active{border-bottom-color:#ec4899;color:#f472b6}.sp-tab-client.sp-tab-active:hover{background:#f472b60a;color:#f472b6}.sp-tab-badge{background:#6366f126;border-radius:10px;color:#818cf8;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:700;line-height:1.3;min-width:20px;padding:2px 7px;text-align:center}.sp-tab-badge-client{background:#f472b626;color:#f472b6}.sp-cp-ref-panel{background:linear-gradient(135deg,#6366f108,#a855f705);border:1px solid #6366f11a;border-radius:10px;flex-shrink:0;padding:10px 14px}.sp-cp-ref-header{align-items:center;color:#818cf8;display:flex;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:700;gap:6px;letter-spacing:.8px;margin-bottom:8px;text-transform:uppercase}.sp-cp-ref-header svg{color:#818cf8;height:13px;width:13px}.sp-cp-ref-cards{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.sp-cp-ref-cards::-webkit-scrollbar{height:3px}.sp-cp-ref-cards::-webkit-scrollbar-thumb{background:#ffffff14;border-radius:3px}.sp-cp-ref-card{background:#0003;border:1px solid #ffffff0d;border-radius:8px;flex:1 1;min-width:130px;padding:8px 10px;transition:all .15s ease}.sp-cp-ref-card:hover{background:#00000047;border-color:#ffffff1f}.sp-cp-ref-card-base{background:#6366f10d;border-color:#6366f133}.sp-cp-ref-card-base:hover{border-color:#6366f14d}.sp-cp-ref-unit{align-items:center;border-bottom:1px solid #ffffff0d;display:flex;gap:5px;margin-bottom:6px;padding-bottom:5px}.sp-cp-ref-unit-name{color:#e4e4e7;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700}.sp-cp-ref-prices{display:flex;flex-direction:column;gap:2px}.sp-cp-ref-price-row{align-items:center;display:flex;gap:8px;justify-content:space-between}.sp-cp-ref-label{color:#52525b;font-size:9px;font-size:calc(9px*var(--ui-scale, 1));font-weight:700;letter-spacing:.3px;text-transform:uppercase}.sp-cp-ref-value{font-feature-settings:"tnum";color:#a1a1aa;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;font-weight:600}.sp-cp-ref-main{color:#818cf8;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:800}.sp-cp-ref-achat-row{border-top:1px dashed #fbbf2426;margin-top:2px;padding-top:3px}.sp-cp-ref-achat{color:#fbbf24;font-weight:700}.sp-cp-add-form{flex-wrap:wrap;gap:6px;padding:8px 12px}.sp-cp-customer-select{flex:2 1;min-width:220px}.sp-cp-customer-select .searchable-select{width:100%}.sp-cp-customer-select .searchable-select-trigger{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#fff;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:500;height:auto;min-height:0;min-height:auto;padding:7px 10px}.sp-cp-table{table-layout:auto}.sp-cp-row{background:#f472b605;transition:all .15s ease}.sp-cp-row:hover{background:#f472b612!important}.sp-cp-client-cell{align-items:center;display:flex;gap:10px}.sp-cp-avatar{align-items:center;background:linear-gradient(135deg,#f472b640,#a855f740);border:1.5px solid #f472b64d;border-radius:8px;color:#f472b6;display:flex;flex-shrink:0;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:800;height:30px;justify-content:center;text-transform:uppercase;width:30px}.sp-cp-client-name{color:#e4e4e7;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600}.sp-cp-price{color:#f472b6!important;font-size:14px!important;font-size:calc(14px*var(--ui-scale, 1))!important;font-weight:800!important}@media (max-width:900px){.sp-add-form{flex-wrap:wrap}.sp-add-unit-select{width:100%}.sp-add-form input{min-width:0}.sp-table-wrapper{max-height:400px}.sp-cp-ref-cards{flex-direction:column}.sp-cp-ref-card{min-width:0;min-width:auto}.sp-tabs{overflow-x:auto}}.sp-history-overlay{align-items:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#000000a6;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.sp-history-popup{animation:sp-popup-in .25s cubic-bezier(.16,1,.3,1);background:#18181b;border:1px solid #ffffff1a;border-radius:18px;box-shadow:0 30px 90px #000000b3,0 0 0 1px #ffffff0d;display:flex;flex-direction:column;max-height:70vh;max-width:92vw;width:800px}@keyframes sp-popup-in{0%{opacity:0;transform:scale(.95) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.sp-history-header{align-items:flex-start;border-bottom:1px solid #ffffff14;display:flex;flex-shrink:0;justify-content:space-between;padding:20px 24px}.sp-history-header-info{display:flex;flex-direction:column;gap:4px}.sp-history-header h3{color:#e4e4e7;font-size:17px;font-size:calc(17px*var(--ui-scale, 1));font-weight:800;margin:0}.sp-history-unit-name{color:#818cf8;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:700}.sp-history-count{color:#52525b;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600}.sp-history-close{align-items:center;background:#ffffff0d;border:none;border-radius:8px;color:#71717a;cursor:pointer;display:flex;flex-shrink:0;height:32px;justify-content:center;margin-top:2px;transition:all .15s ease;width:32px}.sp-history-close:hover{background:#ef44441f;color:#ef4444}.sp-history-close svg{height:15px;width:15px}.sp-history-body{flex:1 1;min-height:0;overflow:hidden;padding:0}.sp-history-body::-webkit-scrollbar{width:4px}.sp-history-body::-webkit-scrollbar-track{background:#0000}.sp-history-body::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.sp-history-table-wrapper{max-height:100%;overflow-y:auto;padding:0 4px 8px 0}.sp-history-table-wrapper::-webkit-scrollbar{width:5px}.sp-history-table-wrapper::-webkit-scrollbar-track{background:#0000}.sp-history-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.sp-history-table-wrapper::-webkit-scrollbar-thumb:hover{background:#ffffff2e}.sp-history-loading{align-items:center;color:#71717a;display:flex;flex-direction:column;gap:10px}.sp-history-empty,.sp-history-loading{font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:32px 0}.sp-history-empty{color:#52525b;text-align:center}.sp-history-table{border-collapse:collapse;width:100%}.sp-history-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:700;letter-spacing:.8px;padding:10px 16px;position:sticky;text-align:left;text-transform:uppercase;top:0;z-index:1}.sp-history-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:10px 16px}.sp-history-idx{color:#3f3f46;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;width:36px}.sp-history-table tbody tr{transition:all .12s ease}.sp-history-table tbody tr:hover{background:#ffffff0a}.sp-history-row-current{background:#6366f10f}.sp-history-row-current:hover{background:#6366f11a!important}.print-buttons-group{align-items:center;display:flex;gap:6px}.btn-icon-print{align-items:center;background:#0000;border:1px solid #ffffff1a;border-radius:8px;color:#71717a;cursor:pointer;display:flex;height:34px;justify-content:center;padding:0;transition:all .15s ease;width:34px}.btn-icon-print svg{height:16px;width:16px}.btn-icon-print:hover{background:#6366f11f;border-color:#6366f14d;color:#6366f1}.btn-icon-print-a5{border-color:#f59e0b33}.btn-icon-print-a5:hover{background:#f59e0b1f;border-color:#f59e0b4d;color:#f59e0b}.btn-icon-print-ticket{border-color:#10b98133}.btn-icon-print-ticket:hover{background:#10b9811f;border-color:#10b9814d;color:#10b981}.stock-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.stock-topbar{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;justify-content:space-between;padding-bottom:20px}.stock-title-section{align-items:center;display:flex;gap:12px}.stock-title{color:#fff;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.stock-count{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:20px;color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500;padding:3px 10px}.stock-actions{gap:8px}.stock-actions,.stock-error{align-items:center;display:flex}.stock-error{animation:fadeIn .2s ease;background:#ef444414;border:1px solid #ef444433;border-radius:10px;flex-shrink:0;gap:10px;margin-bottom:16px;padding:10px 16px}.stock-error svg{color:#ef4444;flex-shrink:0;height:16px;width:16px}.stock-error span{color:#fca5a5;flex:1 1;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.stock-error button{background:none;border:none;color:#71717a;cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;padding:0 4px}.stock-error button:hover{color:#fff}.stock-filters{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:10px;padding-bottom:16px}.stock-filter-item{min-width:200px}.stock-filter-item .searchable-select-trigger{overflow:hidden}.stock-filter-item .ss-value{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stock-filter-dates{align-items:center;display:flex;gap:0;min-width:auto}.stock-filter-date-separator{color:#71717a;flex-shrink:0;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));margin:0 6px}.stock-filter-date,.stock-filter-select{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#d4d4d8;cursor:pointer;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));outline:none;padding:8px 12px;transition:all .15s ease;width:100%}.stock-filter-select option{background:#18181b;color:#d4d4d8}.stock-filter-date:focus,.stock-filter-select:focus{background:#6366f10d;border-color:#6366f1}.stock-filter-date::-webkit-calendar-picker-indicator{cursor:pointer;filter:invert(.7)}.btn-icon-refresh{align-items:center;background:#0000;border:1px solid #ffffff1a;border-radius:8px;color:#71717a;cursor:pointer;display:flex;flex-shrink:0;height:36px;justify-content:center;padding:0;transition:all .15s ease;width:36px}.btn-icon-refresh svg{height:16px;width:16px}.btn-icon-refresh:hover{background:#ffffff0f;border-color:#ffffff26;color:#d4d4d8}.stock-table-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;overflow-y:auto}.stock-table-wrapper::-webkit-scrollbar{width:5px}.stock-table-wrapper::-webkit-scrollbar-track{background:#0000}.stock-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.stock-table{border-collapse:collapse;table-layout:fixed;width:100%}.stock-table thead{position:sticky;top:0;z-index:2}.stock-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:12px 16px;text-align:left;text-transform:uppercase}.stock-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));padding:12px 16px}.stock-doc-row{cursor:pointer;transition:all .12s ease}.stock-doc-row:hover{background:#ffffff0a}.stock-doc-row.expanded{background:#6366f10f}.td-expand{text-align:center;width:50px}.stock-status-badge,.stock-type-badge{align-items:center;border:1px solid;border-radius:20px;display:inline-flex;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600;letter-spacing:.3px;padding:4px 12px}.stock-detail-overlay{align-items:center;animation:fadeIn .15s ease;background:#0009;display:flex;inset:0;justify-content:center;position:fixed;z-index:1000}.stock-detail-popup{animation:slideUp .2s ease;background:#18181b;border:1px solid #ffffff14;border-radius:14px;box-shadow:0 25px 60px #00000080;display:flex;flex-direction:column;max-height:80vh;max-width:600px;width:90%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.stock-detail-header{align-items:center;border-bottom:1px solid #ffffff0f;display:flex;justify-content:space-between;padding:18px 20px}.stock-detail-header-info{align-items:center;display:flex;gap:12px}.stock-detail-header-info h3{color:#fff;font-size:16px;font-size:calc(16px*var(--ui-scale, 1));font-weight:700;margin:0}.stock-detail-header-actions{align-items:center;display:flex;gap:6px}.stock-detail-close{align-items:center;background:#ffffff0d;border:none;border-radius:8px;color:#71717a;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .15s ease;width:32px}.stock-detail-close svg{height:16px;width:16px}.stock-detail-close:hover{background:#ef44441f;color:#ef4444}.stock-detail-meta{border-bottom:1px solid #ffffff0f;display:flex;gap:20px;padding:14px 20px}.stock-detail-meta-item{display:flex;flex-direction:column;gap:2px}.stock-detail-meta-label{color:#71717a;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;text-transform:uppercase}.stock-detail-meta-value{color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:500}.stock-detail-body{flex:1 1;overflow-y:auto;padding:16px 20px 20px}.stock-detail-search{align-items:center;background:#ffffff0a;border:1px solid #ffffff14;border-radius:8px;display:flex;gap:8px;margin-bottom:12px;padding:8px 12px}.stock-detail-search svg{color:#71717a;flex-shrink:0;height:15px;width:15px}.stock-detail-search input{background:none;border:none;color:#d4d4d8;flex:1 1;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));outline:none}.stock-detail-search input::placeholder{color:#52525b}.stock-detail-body::-webkit-scrollbar{width:4px}.stock-detail-body::-webkit-scrollbar-track{background:#0000}.stock-detail-body::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.stock-detail-table{border:1px solid #ffffff0f;border-collapse:collapse;border-radius:8px;overflow:hidden;width:100%}.stock-detail-table th{background:#2d2d4a;border-bottom:1px solid #ffffff0f;color:#a1a1b5;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:8px 14px;text-align:left;text-transform:uppercase}.stock-detail-table td{border-bottom:1px solid #ffffff08;color:#a1a1aa;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:8px 14px}.stock-detail-table tbody tr:last-child td{border-bottom:none}.td-quantity{color:#fff!important;font-weight:600}.td-secondary{color:#71717a!important;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.stock-form-content{display:flex;flex:1 1;flex-direction:column;gap:10px;min-height:0;overflow:hidden}.stock-section{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex-shrink:0;padding:14px 16px}.stock-section-title{color:#d4d4d8;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;letter-spacing:-.2px;margin:0 0 10px}.stock-type-depot-row{display:flex;flex-shrink:0;gap:10px}.stock-section-type{flex:1.5 1;min-width:0}.stock-section-depot{flex:1 1;min-width:0}.stock-type-selector{display:flex;gap:10px}.stock-type-btn{align-items:center;background:#ffffff08;border:2px solid #ffffff0f;border-radius:10px;color:#71717a;cursor:pointer;display:flex;flex:1 1;flex-direction:row;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;gap:8px;justify-content:center;padding:8px 12px;transition:all .15s ease}.stock-type-btn:hover{background:#ffffff0d;border-color:#ffffff1f;color:#d4d4d8}.stock-type-btn.active{background:var(--type-bg);border-color:var(--type-border);box-shadow:0 0 20px var(--type-bg);color:var(--type-color)}.stock-type-btn:disabled{cursor:not-allowed;opacity:.5;pointer-events:none}.stock-type-btn.active:disabled{opacity:.7}.stock-type-icon{align-items:center;display:flex;justify-content:center}.stock-type-icon,.stock-type-icon svg{height:18px;width:18px}.stock-depot-row{display:flex;gap:16px}.stock-field{flex:1 1}.stock-field label{color:#71717a;display:block;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;margin-bottom:6px;text-transform:uppercase}.stock-depot-single{background:#f4f4f5;background:var(--bg-secondary,#f4f4f5);border:1px solid #e4e4e7;border:1px solid var(--border-color,#e4e4e7);border-radius:8px;color:#18181b;color:var(--text-primary,#18181b);font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:500;padding:8px 12px}.stock-add-item-row{align-items:flex-start;display:flex;gap:10px;margin-bottom:10px}.stock-field-product{flex:2 1}.stock-field-unit{flex:1.5 1}.stock-field-qty{flex:0.8 1}.stock-field-qty input{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;color:#fff;font-family:inherit;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));outline:none;padding:9px 12px;transition:all .15s ease;width:100%}.stock-field-qty input::placeholder{color:#52525b}.stock-field-qty input:focus{background:#6366f10d;border-color:#6366f1}.btn-add-item{flex-shrink:0;min-width:40px;padding:9px 12px!important}.btn-add-item svg{height:18px;width:18px}.stock-items-table-wrapper{border:1px solid #ffffff0f;border-radius:8px;overflow:hidden}.stock-items-table{border-collapse:collapse;width:100%}.stock-items-table th{background:#2d2d4a;border-bottom:1px solid #ffffff0f;color:#a1a1b5;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:10px 14px;text-align:left;text-transform:uppercase}.stock-items-table td{border-bottom:1px solid #ffffff08;color:#d4d4d8;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:10px 14px}.stock-items-table tbody tr:last-child td{border-bottom:none}.stock-section-items{display:flex;flex:1 1;flex-direction:column;min-height:0;overflow:hidden}.stock-items-table-wrapper{flex:1 1;min-height:0;overflow-y:auto}.stock-items-table-wrapper::-webkit-scrollbar{width:4px}.stock-items-table-wrapper::-webkit-scrollbar-track{background:#0000}.stock-items-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.stock-form-footer{display:flex;flex-shrink:0;gap:10px;justify-content:flex-end;padding-top:6px}.btn-save svg{height:16px;width:16px}.stock-items-table .td-actions{align-items:center;display:flex;gap:4px}.stock-items-table .btn-icon-danger,.stock-items-table .btn-icon-edit{align-items:center;background:#0000;border:none;border-radius:6px;color:#71717a;cursor:pointer;display:flex;height:32px;justify-content:center;padding:0;transition:all .15s ease;width:32px}.stock-items-table .btn-icon-danger svg,.stock-items-table .btn-icon-edit svg{height:16px;width:16px}.stock-items-table .btn-icon-edit:hover{background:#6366f11f;color:#6366f1}.stock-items-table .btn-icon-danger:hover{background:#ef44441f;color:#ef4444}.stock-items-table .editing-row{background:#6366f10f}.stock-cancel-popup{align-items:center;background:#18181b;border:1px solid #ffffff14;border-radius:14px;display:flex;flex-direction:column;gap:12px;max-width:400px;padding:28px;text-align:center;width:90%}.stock-cancel-icon{align-items:center;background:#ef44441f;border-radius:50%;display:flex;height:48px;justify-content:center;margin-bottom:4px;width:48px}.stock-cancel-icon svg{color:#ef4444;height:24px;width:24px}.stock-cancel-popup h3{color:#fff;font-size:16px;font-size:calc(16px*var(--ui-scale, 1));font-weight:600;margin:0}.stock-cancel-popup p{color:#a1a1aa;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));line-height:1.5;margin:0}.stock-cancel-actions{display:flex;gap:10px;margin-top:8px;width:100%}.stock-cancel-actions .btn{flex:1 1}.stock-confirm-popup{animation:slideUp .2s ease;background:#18181b;border:1px solid #ffffff14;border-radius:14px;box-shadow:0 25px 60px #00000080;display:flex;flex-direction:column;max-height:80vh;max-width:700px;width:90%}.stock-confirm-footer{border-top:1px solid #ffffff0f;display:flex;gap:10px;justify-content:flex-end;padding:16px 20px}.stock-error-popup{max-width:500px}.stock-error-header{border-bottom-color:#ef444426}.stock-error-header .stock-detail-header-info h3{color:#ef4444}.stock-error-icon{color:#ef4444;flex-shrink:0;height:22px;width:22px}.stock-error-message{color:#a1a1aa;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));line-height:1.5;margin:0 0 14px}.stock-error-product-name{color:#ef4444;font-weight:600}.th-stock-err{text-align:right}.td-stock-real{color:#818cf8}.td-stock-real,.td-stock-requested{font-family:JetBrains Mono,Fira Code,monospace;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;text-align:right}.td-stock-requested{color:#fbbf24}@media (max-width:768px){.stock-topbar{align-items:flex-start}.stock-add-item-row,.stock-depot-row,.stock-topbar,.stock-type-selector{flex-direction:column}.stock-detail-content{padding-left:16px}}.stock-doc-number{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.stock-depot-stocks{align-items:center;background:var(--pro-surface-2);border:1px solid var(--pro-border);border-radius:8px;display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:8px;padding:6px 10px}.stock-depot-stocks-label{color:var(--pro-muted);font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:700;letter-spacing:.06em;text-transform:uppercase}.stock-depot-stock{align-items:baseline;display:inline-flex;gap:6px}.stock-depot-stock-name{color:var(--pro-text-2);font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1))}.stock-depot-stock-value{font-feature-settings:"tnum";color:var(--pro-text);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;font-weight:700}.stock-depot-stock-value.empty{color:var(--pro-muted);font-weight:600}.stock-depot-stocks-unit{color:var(--pro-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));margin-left:auto}.multi-select{min-width:0;position:relative}.ms-trigger{align-items:center;background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text);cursor:pointer;display:flex;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));gap:6px;height:var(--pro-control-h);padding:0 8px 0 11px;text-align:left;width:100%}.ms-trigger:hover:not(:disabled){border-color:var(--pro-muted)}.ms-trigger.ms-active,.ms-trigger.open{border-color:var(--pro-primary)}.ms-trigger.ms-active{color:var(--pro-primary);font-weight:600}.ms-trigger:disabled{cursor:not-allowed;opacity:.5}.ms-summary{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ms-clear{align-items:center;background:var(--pro-primary-soft);border-radius:50%;color:var(--pro-primary);display:inline-flex;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));height:16px;justify-content:center;line-height:1;width:16px}.ms-clear:hover{background:var(--pro-primary);color:#fff}.ms-chevron{color:var(--pro-muted);flex-shrink:0;height:12px;width:12px}.ms-dropdown{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:8px;box-shadow:0 10px 24px #0f172a2e;left:0;min-width:220px;padding:6px;position:absolute;right:0;top:calc(100% + 4px);z-index:60}.ms-search{background:var(--pro-surface-2);border:1px solid var(--pro-border);border-radius:6px;box-sizing:border-box;color:var(--pro-text);font-family:inherit;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));height:30px;margin-bottom:6px;outline:none;padding:0 9px;width:100%}.ms-search:focus{border-color:var(--pro-primary)}.ms-options{max-height:260px;overflow-y:auto}.ms-option{align-items:center;border-radius:5px;color:var(--pro-text);cursor:pointer;display:flex;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));gap:8px;padding:5px 7px}.ms-option:hover{background:var(--pro-row-hover)}.ms-option-selected{color:var(--pro-primary);font-weight:600}.ms-option input{accent-color:var(--pro-primary)}.ms-empty{color:var(--pro-muted);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));padding:10px;text-align:center}.ms-clear-all{background:var(--pro-surface-2);border:1px solid var(--pro-border);border-radius:6px;color:var(--pro-text-2);cursor:pointer;font-family:inherit;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));margin-top:6px;padding:5px;width:100%}.ms-clear-all:hover{background:var(--pro-row-hover);color:var(--pro-text)}.sh-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.sh-filter-product{width:280px}.sh-filter-depot{width:180px}.sh-types{border:1px solid var(--pro-border-strong);border-radius:6px;display:inline-flex;overflow:hidden}.sh-type{background:var(--pro-surface);border:none;border-right:1px solid var(--pro-border);color:var(--pro-text-2);cursor:pointer;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));font-weight:500;height:var(--pro-control-h);padding:0 11px}.sh-type:last-child{border-right:none}.sh-type:hover{background:var(--pro-surface-2)}.sh-type.active{background:var(--pro-primary);color:#fff}.sh-summary{display:flex;flex-shrink:0;flex-wrap:wrap;gap:10px;margin-bottom:12px}.sh-card{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);display:flex;flex-direction:column;gap:2px;min-width:180px;padding:10px 14px}.sh-card-label{color:var(--pro-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.4px;text-transform:uppercase}.sh-card-value{font-feature-settings:"tnum";color:var(--pro-text);font-size:17px;font-size:calc(17px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;font-weight:700}.sh-card-in .sh-card-value{color:var(--pro-success)}.sh-card-out .sh-card-value{color:var(--pro-danger)}.sh-product{color:var(--pro-text);font-weight:600}.sh-sub{color:var(--pro-muted);font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1));margin-top:1px}.sh-move{border:1px solid;border-radius:999px;display:inline-block;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700;padding:1px 8px}.sh-move-in{background:var(--pro-success-soft);border-color:var(--pro-success-border);color:var(--pro-success)}.sh-move-out{background:var(--pro-danger-soft);border-color:var(--pro-danger-border);color:var(--pro-danger)}.sh-qty-in,.sh-qty-out{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:700}.sh-qty-in{color:var(--pro-success)}.sh-qty-out{color:var(--pro-danger)}.sh-card-current{border-color:var(--pro-primary);min-width:260px}.sh-card-current .sh-card-value{color:var(--pro-primary)}.sh-depots{color:var(--pro-muted);display:flex;flex-wrap:wrap;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));gap:4px 12px;margin-top:4px}.sh-depot b{color:var(--pro-text-2);font-weight:600}.sh-depot-deleted{color:var(--pro-danger)}.sh-balance-negative{color:var(--pro-danger)!important}.sh-doc-link{align-items:flex-start;background:#0000;border:1px solid #0000;border-radius:5px;color:var(--pro-text);cursor:pointer;display:flex;flex-direction:column;font-family:inherit;font-size:inherit;gap:1px;margin:-2px -6px;padding:2px 6px;text-align:left}.sh-doc-link .sh-doc-number{color:var(--pro-primary);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600}.sh-doc-link:focus-visible .sh-doc-number,.sh-doc-link:hover .sh-doc-number{text-decoration:underline}.sh-doc-link:focus-visible,.sh-doc-link:hover{background:var(--pro-primary-soft);outline:none}.sh-cumul{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.sh-cumul-mixed{color:var(--pro-muted);font-weight:500}.inv-status{border:1px solid;border-radius:999px;display:inline-block;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700;padding:1px 9px}.inv-status-draft{background:#fffbeb;border-color:#fde68a;color:#b45309}.inv-status-validated{background:var(--pro-success-soft);border-color:var(--pro-success-border);color:var(--pro-success)}.inv-status-cancelled{background:var(--pro-danger-soft);border-color:var(--pro-danger-border);color:var(--pro-danger)}.inv-progress{background:var(--pro-border);border-radius:3px;height:5px;margin-bottom:3px;overflow:hidden}.inv-progress-bar{background:var(--pro-primary);height:100%}.inv-progress-label{color:var(--pro-muted);font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1))}.inv-positive{color:var(--pro-success)!important}.inv-negative{color:var(--pro-danger)!important}.inv-create-modal{max-width:480px;width:100%}.inv-create-body{gap:14px}.inv-create-body,.inv-field{display:flex;flex-direction:column}.inv-field{gap:5px}.inv-field label{color:var(--pro-text-2);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600}.inv-field input[type=text]{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text);height:var(--pro-control-h);padding:0 10px}.inv-check,.inv-field input[type=text]{font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.inv-check{align-items:center;color:var(--pro-text-2);cursor:pointer;display:flex;gap:8px}.inv-hint{color:var(--pro-muted);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));margin:0}.inv-topbar{flex-wrap:wrap;gap:10px}.inv-topbar .bl-title-section{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.inv-actions{align-items:center;background:none;border:none;display:flex;gap:8px;margin:0;padding:0}.inv-dirty{color:#b45309;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600}.inv-summary{display:flex;flex-shrink:0;flex-wrap:wrap;gap:10px;margin-bottom:10px}.inv-card{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);display:flex;flex-direction:column;gap:2px;min-width:160px;padding:9px 14px}.inv-card-label{color:var(--pro-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.4px;text-transform:uppercase}.inv-card-value{font-feature-settings:"tnum";color:var(--pro-text);font-size:17px;font-size:calc(17px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;font-weight:700}.inv-card-positive .inv-card-value{color:var(--pro-success)}.inv-card-negative .inv-card-value{color:var(--pro-danger)}.inv-card-notes{color:var(--pro-text-2);flex:1 1;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.inv-filters{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.inv-search{flex:1 1;max-width:460px;min-width:260px}.inv-count{align-items:center;display:flex;flex-wrap:wrap;gap:6px}.inv-count-unit{align-items:center;color:var(--pro-muted);display:inline-flex;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));gap:3px}.inv-count-input{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:5px;color:var(--pro-text);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));height:28px;padding:0 6px;text-align:right;width:62px}.inv-count-input:focus{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft);outline:none}.inv-mini-btn{background:var(--pro-surface-2);border:1px solid var(--pro-border);border-radius:5px;color:var(--pro-muted);cursor:pointer;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));height:26px;width:26px}.inv-mini-btn:hover{border-color:var(--pro-primary);color:var(--pro-primary)}.inv-row-counted td:first-child{box-shadow:inset 3px 0 0 var(--pro-success)}.print-menu{display:inline-flex;position:relative}.print-menu-trigger{align-items:center;background:#94a3b81a;border:1px solid #94a3b82e;border-radius:8px;color:#cbd5e1;cursor:pointer;display:inline-flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;gap:7px;padding:7px 14px;transition:all .15s ease}.print-menu-trigger svg{flex-shrink:0;height:16px;width:16px}.print-menu-caret{height:13px!important;margin-left:-1px;opacity:.7;transition:transform .18s ease;width:13px!important}.print-menu.open .print-menu-caret{transform:rotate(180deg)}.print-menu-trigger:hover:not(:disabled){background:#0ea5e924;border-color:#0ea5e966;color:#e0f2fe}.print-menu.open .print-menu-trigger{background:#0ea5e929;border-color:#0ea5e973;color:#e0f2fe}.print-menu-trigger:disabled{cursor:not-allowed;opacity:.5}.print-menu-dropdown{animation:printMenuIn .14s ease;background:#1e293b;border:1px solid #94a3b833;border-radius:10px;box-shadow:0 18px 45px #02081773;display:flex;flex-direction:column;gap:2px;min-width:200px;padding:6px;position:absolute;right:0;top:calc(100% + 6px);z-index:60}@keyframes printMenuIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.print-menu-item{align-items:center;background:#0000;border:none;border-radius:7px;color:#e2e8f0;cursor:pointer;display:flex;gap:11px;padding:9px 11px;text-align:left;transition:background .13s ease;width:100%}.print-menu-item svg{color:#38bdf8;flex-shrink:0;height:19px;width:19px}.print-menu-item:hover{background:#0ea5e924}.print-menu-item-text{display:flex;flex-direction:column;gap:1px;line-height:1.25}.print-menu-item-title{color:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600}.print-menu-item-sub{color:#94a3b8;font-size:11px;font-size:calc(11px*var(--ui-scale, 1))}body.light-theme .print-menu-trigger{background:#3b82f614;border-color:#3b82f633;color:#2563eb}body.light-theme .print-menu-trigger:hover:not(:disabled),body.light-theme .print-menu.open .print-menu-trigger{background:#3b82f626;border-color:#3b82f666;color:#1d4ed8}body.light-theme .print-menu-dropdown{background:#fff;border-color:#0000001a;box-shadow:0 12px 34px #0f172a29}body.light-theme .print-menu-item{color:#27272a}body.light-theme .print-menu-item svg{color:#2563eb}body.light-theme .print-menu-item:hover{background:#3b82f614}body.light-theme .print-menu-item-sub{color:#a1a1aa}.print-menu-item.is-active{background:#0ea5e924}.print-menu-item:disabled{background:#0000;cursor:not-allowed;opacity:.45}.print-menu-item-kbd{margin-left:auto;padding-left:16px}body.light-theme .print-menu-item.is-active{background:#3b82f614}.proforma-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.proforma-topbar{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;justify-content:space-between;padding-bottom:20px}.proforma-title-section{align-items:baseline;display:flex;gap:12px}.proforma-title{color:#fff;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.proforma-count{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:20px;color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500;padding:3px 10px}.proforma-actions{align-items:center;display:flex;gap:8px}.proforma-error{align-items:center;animation:fadeIn .2s ease;background:#ef444414;border:1px solid #ef444433;border-radius:10px;display:flex;flex-shrink:0;gap:10px;margin-bottom:16px;padding:10px 16px}.proforma-error svg{color:#ef4444;flex-shrink:0;height:16px;width:16px}.proforma-error span{color:#fca5a5;flex:1 1;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.proforma-error button{background:none;border:none;color:#71717a;cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;padding:0 4px}.proforma-error button:hover{color:#fff}.proforma-table-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;min-height:0;overflow-y:auto}.proforma-table-wrapper::-webkit-scrollbar{width:5px}.proforma-table-wrapper::-webkit-scrollbar-track{background:#0000}.proforma-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.proforma-table{border-collapse:collapse;table-layout:fixed;width:100%}.proforma-table thead{position:sticky;top:0;z-index:2}.proforma-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:12px 16px;text-align:left;text-transform:uppercase}.proforma-table th.th-total{color:#6366f1;text-align:right}.proforma-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));overflow:hidden;padding:12px 16px;text-overflow:ellipsis;white-space:nowrap}.proforma-table tbody tr{cursor:pointer;transition:all .12s ease}.proforma-table tbody tr:hover{background:#ffffff0a}.proforma-table tbody tr.selected{background:#6366f11a;border-left:3px solid #6366f1}.proforma-table tbody tr.selected td{color:#fff}.td-docnum{color:#a5b4fc!important;letter-spacing:.5px}.td-docnum,.td-total{font-family:monospace;font-weight:600}.td-total{color:#6366f1!important;text-align:right}.td-notes{max-width:200px}.proforma-status{border-radius:20px;display:inline-block;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.3px;padding:3px 10px}.status-draft{background:#facc151a;border:1px solid #facc1533;color:#facc15}.status-validated{background:#22c55e1a;border:1px solid #22c55e33;color:#22c55e}.status-cancelled{background:#ef444414;border:1px solid #ef444426;color:#ef4444}@media (max-width:768px){.proforma-topbar{align-items:flex-start;flex-direction:column}.proforma-actions{flex-wrap:wrap;width:100%}}.wa-modal{max-width:520px;width:100%}.wa-title{align-items:center;display:flex;gap:10px}.wa-title-icon{align-items:center;background:#25d36624;border-radius:8px;color:#25d366;display:inline-flex;height:30px;justify-content:center;width:30px}.wa-title-icon svg{height:18px;width:18px}.wa-body{display:flex;flex-direction:column;gap:14px}.wa-file{background:var(--pro-surface-2);border:1px solid var(--pro-border);border-radius:10px;gap:12px;padding:10px 12px}.wa-file,.wa-file-icon{align-items:center;display:flex}.wa-file-icon{background:#dc2626;border-radius:6px;color:#fff;flex-shrink:0;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:800;height:44px;justify-content:center;letter-spacing:.5px;width:38px}.wa-file-info{display:flex;flex:1 1;flex-direction:column;gap:2px;min-width:0}.wa-file-name{color:var(--pro-text);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wa-file-status{color:var(--pro-muted);font-size:12px;font-size:calc(12px*var(--ui-scale, 1))}.wa-file-error .wa-file-status{color:var(--pro-danger)}.wa-spinner{border-color:var(--pro-border-strong);border-top-color:var(--pro-primary)}.wa-link{background:none;border:none;color:var(--pro-primary);cursor:pointer;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600;padding:4px 6px}.wa-link:hover{text-decoration:underline}.wa-field{display:flex;flex-direction:column;gap:5px}.wa-field label{color:var(--pro-text-2);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600}.wa-field input,.wa-field textarea{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text);font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));line-height:1.45;padding:8px 10px;width:100%}.wa-field textarea{resize:vertical}.wa-field input:focus,.wa-field textarea:focus{border-color:#25d366;box-shadow:0 0 0 3px #25d3662e;outline:none}.wa-hint{color:var(--pro-muted);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));margin:0}.wa-btn{align-items:center;background:#25d366!important;border-color:#25d366!important;color:#fff!important;display:inline-flex;gap:7px}.wa-btn:hover:not(:disabled){background:#1ebe5b!important;border-color:#1ebe5b!important}.wa-btn svg{height:16px;width:16px}.btn-whatsapp svg{color:#25d366!important}.em-modal{max-width:520px;width:100%}.em-title{align-items:center;display:flex;gap:10px}.em-title-icon{align-items:center;background:var(--pro-primary-soft);border-radius:8px;color:var(--pro-primary);display:inline-flex;height:30px;justify-content:center;width:30px}.em-title-icon svg{height:18px;width:18px}.em-body{display:flex;flex-direction:column;gap:14px}.em-file{background:var(--pro-surface-2);border:1px solid var(--pro-border);border-radius:10px;gap:12px;padding:10px 12px}.em-file,.em-file-icon{align-items:center;display:flex}.em-file-icon{background:#dc2626;border-radius:6px;color:#fff;flex-shrink:0;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:800;height:44px;justify-content:center;letter-spacing:.5px;width:38px}.em-file-info{display:flex;flex:1 1;flex-direction:column;gap:2px;min-width:0}.em-file-name{color:var(--pro-text);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.em-file-status{color:var(--pro-muted);font-size:12px;font-size:calc(12px*var(--ui-scale, 1))}.em-file-error .em-file-status{color:var(--pro-danger)}.em-spinner{border-color:var(--pro-border-strong);border-top-color:var(--pro-primary)}.em-link{background:none;border:none;color:var(--pro-primary);cursor:pointer;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600;padding:4px 6px}.em-link:hover{text-decoration:underline}.em-field{display:flex;flex-direction:column;gap:5px}.em-field label{color:var(--pro-text-2);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600}.em-field input,.em-field textarea{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text);font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));line-height:1.45;padding:8px 10px;width:100%}.em-field textarea{resize:vertical}.em-field input:focus,.em-field textarea:focus{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft);outline:none}.em-hint{color:var(--pro-muted);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));margin:0}.em-btn{align-items:center;background:var(--pro-primary)!important;border-color:var(--pro-primary)!important;color:#fff!important;display:inline-flex;gap:7px}.em-btn:hover:not(:disabled){background:var(--pro-primary-hover)!important;border-color:var(--pro-primary-hover)!important}.em-btn svg{height:16px;width:16px}.dt-block{gap:2px!important;min-width:250px!important}.dt-top{align-items:center;display:flex;flex-wrap:wrap;gap:2px 16px;justify-content:space-between;width:100%}.dt-top:empty{display:none}.dt-row{align-items:center;display:flex;gap:10px;justify-content:space-between;width:100%}.dt-row-inline{gap:7px;width:auto}.dt-value{font-feature-settings:"tnum";color:#a1a1b5;color:var(--pro-text-2,#a1a1b5);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;font-weight:600}.dt-off{font-feature-settings:"tnum";color:#dc2626;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;font-weight:600;min-width:72px;text-align:right}.dt-field{align-items:center;display:inline-flex;gap:3px;margin-left:auto}.dt-input{font-feature-settings:"tnum";background:#ffffff0a;background:var(--pro-surface,#ffffff0a);border:1px solid #ffffff24;border:1px solid var(--pro-border-strong,#ffffff24);border-radius:6px;color:#e0e2ea;color:var(--pro-text,#e0e2ea);font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;font-weight:600;height:26px;outline:none;padding:0 6px;text-align:right;width:52px}.dt-input-wide{width:76px}.dt-input:focus{border-color:#6366f1;border-color:var(--pro-primary,#6366f1);box-shadow:0 0 0 3px #6366f126}.dt-input.is-invalid{border-color:#ef4444;box-shadow:0 0 0 3px #ef444426}.dt-suffix{color:#71717a;color:var(--pro-muted,#71717a);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600}.dt-error{align-self:flex-end;color:#dc2626;font-size:10.5px;font-size:calc(10.5px*var(--ui-scale, 1));font-weight:600;max-width:250px;text-align:right}.dt-net-sep{border-top:1px solid #ffffff1a;border-top:1px solid var(--pro-border,#ffffff1a);margin-top:4px;padding-top:5px}.dt-hint{align-self:flex-end;letter-spacing:0!important;text-transform:none!important}.pf-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.pf-loading{color:#71717a;flex-direction:column;height:100%;justify-content:center}.pf-loading,.pf-topbar{align-items:center;display:flex;gap:12px}.pf-topbar{flex-shrink:0;flex-wrap:wrap;justify-content:space-between;padding-bottom:16px}.pf-topbar-left{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.pf-topbar-right{align-items:center;display:flex;gap:8px}.btn-print{align-items:center;background:#3b82f61a;border:1px solid #3b82f633;border-radius:8px;color:#60a5fa;cursor:pointer;display:inline-flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;gap:6px;padding:7px 16px;transition:all .15s}.btn-print svg{height:16px;width:16px}.btn-print:hover{background:#3b82f633;border-color:#3b82f666;box-shadow:0 2px 10px #3b82f626}.btn-convert-bl:hover{background:#22c55e33;border-color:#22c55e66;box-shadow:0 2px 10px #22c55e26}.pf-title{color:#fff;font-size:22px;font-size:calc(22px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.pf-docnum{background:#6366f11a;border:1px solid #6366f133;border-radius:6px;color:#a5b4fc;font-family:monospace;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:600;padding:3px 10px}.pf-content{display:flex;flex:1 1;flex-direction:column;gap:16px;overflow:hidden}.pf-header-section{align-items:flex-start;background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;display:flex;flex-shrink:0;gap:24px;padding:16px 20px}.pf-header-fields{display:flex;flex:1 1;flex-wrap:wrap;gap:20px}.pf-field{display:flex;flex:1 1;flex-direction:column;gap:6px;min-width:180px}.pf-field label{color:#71717a;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;text-transform:uppercase}.pf-field-value{color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1))}.pf-notes-input{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;color:#e0e2ea;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));min-height:38px;padding:8px 12px;resize:vertical;transition:border-color .15s}.pf-notes-input:focus{border-color:#6366f1;outline:none}.pf-notes-input::placeholder{color:#52525b}.pf-grand-total{align-items:flex-end;background:#6366f10f;border:1px solid #6366f126;border-radius:10px;display:flex;flex-direction:column;flex-shrink:0;gap:4px;min-width:160px;padding:8px 16px}.pf-grand-total-label{color:#71717a;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;text-transform:uppercase}.pf-grand-total-value{color:#818cf8;font-family:monospace;font-size:22px;font-size:calc(22px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px}.pf-add-line{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex-shrink:0;padding:14px 18px}.pf-add-line-title{color:#a1a1b5;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:700;letter-spacing:.5px;margin:0 0 10px;text-transform:uppercase}.pf-add-line-row{align-items:flex-end;display:flex;flex-wrap:wrap;gap:10px}.pf-add-field{display:flex;flex-direction:column;gap:5px}.pf-add-field label{color:#71717a;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.4px;text-transform:uppercase}.pf-add-product{flex:2 1;min-width:200px}.pf-add-unit{flex:1 1;min-width:120px}.pf-add-price,.pf-add-qty{width:110px}.pf-add-action{width:44px}.pf-select{appearance:none;background:#ffffff0a;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;border:1px solid #ffffff1a;border-radius:8px;color:#e0e2ea;cursor:pointer;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:8px 10px}.pf-select:focus{border-color:#6366f1;outline:none}.pf-add-field input{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;box-sizing:border-box;color:#e0e2ea;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:8px 10px;width:100%}.pf-add-field input:focus{border-color:#6366f1;outline:none}.pf-add-field input::placeholder{color:#52525b}.pf-add-btn{min-width:auto!important;padding:8px 12px!important}.pf-add-btn svg{height:16px;width:16px}.pf-loading-dot{color:#6366f1;font-weight:600;margin-left:4px}.pf-smart-row{background:#6366f10a;border:1px solid #6366f114;border-radius:8px;display:flex;flex-wrap:wrap;gap:16px;margin-top:10px;padding:8px 12px}.pf-smart-item{align-items:center;display:flex;gap:6px}.pf-smart-separator{background:#6366f133;height:20px;margin:0 4px;width:1px}.pf-smart-label{color:#71717a;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.3px;text-transform:uppercase}.pf-smart-val{color:#a5b4fc;font-family:monospace;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600}.pf-smart-stock{color:#22c55e}.pf-smart-badge{border-radius:10px;display:inline-block;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;margin-top:4px;padding:2px 8px}.pf-smart-special{background:#ec48991a;border:1px solid #ec489933;color:#ec4899}.pf-lines-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;min-height:0;overflow-y:auto}.pf-lines-wrapper::-webkit-scrollbar{width:5px}.pf-lines-wrapper::-webkit-scrollbar-track{background:#0000}.pf-lines-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.pf-lines-table{border-collapse:collapse;table-layout:fixed;width:100%}.pf-lines-table thead{position:sticky;top:0;z-index:2}.pf-lines-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:10px 14px;text-align:left;text-transform:uppercase}.pf-lines-table th.th-total{color:#6366f1;text-align:right}.pf-lines-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));overflow:hidden;padding:10px 14px;text-overflow:ellipsis;white-space:nowrap}.pf-lines-table tbody tr:hover{background:#ffffff08}.pf-lines-table tfoot td{border-bottom:none;border-top:1px solid #6366f126;padding:12px 14px}.pf-line-inline-input{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:6px;box-sizing:border-box;color:#e0e2ea;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:4px 8px;width:80px}.pf-line-inline-input:focus{border-color:#6366f1;outline:none}.pf-line-inline-select{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:6px;color:#e0e2ea;cursor:pointer;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));padding:4px 8px;width:100%}.pf-line-inline-select:focus{border-color:#6366f1;outline:none}.pf-line-inline-select option{background:#1e1e2f;color:#e0e2ea}.pf-lines-table .btn-icon-danger{align-items:center;background:#0000;border:none;border-radius:4px;color:#71717a;cursor:pointer;display:inline-flex;height:24px;justify-content:center;padding:0;width:24px}.pf-lines-table .btn-icon-danger svg{height:14px;width:14px}.pf-lines-table .btn-icon-danger:hover{background:#ef44441f;color:#ef4444}.pf-foot-total-label{color:#a1a1b5;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:700;letter-spacing:.5px;text-align:right;text-transform:uppercase}.pf-foot-total-value{color:#818cf8!important;font-size:15px!important;font-size:calc(15px*var(--ui-scale, 1))!important;font-weight:800!important}@media (max-width:900px){.pf-add-line-row,.pf-header-section{flex-direction:column}.pf-add-price,.pf-add-qty{width:100%}}.bl-form-line-qty-input.is-invalid,.pf-add-field input.is-invalid,.pf-line-inline-input.is-invalid{border-color:#ef4444!important;box-shadow:0 0 0 3px #ef444426!important}.lcp-item{gap:6px}.lcp-price{color:var(--pro-primary)}.lcp-details{color:var(--pro-muted);font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1));white-space:nowrap}.lcp-none{color:var(--pro-muted);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-style:italic}.btn-convert-bl{align-items:center;background:#22c55e1a;border:1px solid #22c55e33;border-radius:8px;color:#22c55e;cursor:pointer;display:inline-flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;gap:6px;padding:7px 16px;transition:all .15s}.btn-convert-bl svg{height:16px;width:16px}.btn-convert-bl:hover:not(:disabled){background:#22c55e33;border-color:#22c55e66;box-shadow:0 2px 10px #22c55e26}.btn-convert-bl:disabled{cursor:not-allowed;opacity:.5}.payment-modal{--pm-text:#d4d4d8;--pm-muted:#a1a1b5;--pm-surface:#ffffff08;--pm-border:#ffffff14;--pm-accent:#818cf8;--pm-success:#4ade80;--pm-warning:#fbbf24;--pm-danger:#f87171;width:min(480px,100%)}body.light-theme .payment-modal{--pm-text:#27272a;--pm-muted:#52525b;--pm-surface:#f4f6fb;--pm-border:#e4e4e7;--pm-accent:#4f46e5;--pm-success:#15803d;--pm-warning:#a16207;--pm-danger:#b91c1c}.pm-loading{align-items:center;color:var(--pm-muted);display:flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));gap:10px;justify-content:center;padding:24px 0}.pm-summary{display:flex;gap:12px;margin-bottom:16px}.pm-summary-item{background:var(--pm-surface);border:1px solid var(--pm-border);border-radius:10px;display:flex;flex:1 1;flex-direction:column;gap:4px;padding:10px 14px}.pm-summary-label{color:var(--pm-muted);font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;text-transform:uppercase}.pm-summary-value{font-family:monospace;font-size:16px;font-size:calc(16px*var(--ui-scale, 1));font-weight:800}.pm-summary-remaining{color:var(--pm-warning)}.pm-summary-credit{color:var(--pm-success)}.pm-checkbox-label{align-items:center;color:var(--pm-text)!important;cursor:pointer;display:flex!important;font-size:13px!important;font-size:calc(13px*var(--ui-scale, 1))!important;font-weight:500!important;gap:8px;letter-spacing:normal!important;margin-bottom:8px;text-transform:none!important}.pm-checkbox-label input[type=checkbox]{accent-color:var(--pm-accent);cursor:pointer;height:15px;width:15px}.pm-totals{background:var(--pm-surface);border:1px solid var(--pm-border);border-radius:10px;display:flex;flex-direction:column;gap:6px;margin-top:16px;padding:12px 14px}.pm-totals-row{align-items:center;color:var(--pm-text);display:flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;justify-content:space-between}.pm-totals-row span:last-child{color:var(--pm-accent);font-family:monospace}.pm-totals-excess span:last-child{color:var(--pm-success)}.pm-errors{background:#ef444414;border:1px solid #ef444433;border-radius:8px;color:var(--pm-danger);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));gap:4px;margin:14px 0 0;padding:10px 12px 10px 28px}.bl-page,.pm-errors{display:flex;flex-direction:column}.bl-page{height:calc(100vh - 100px);overflow:hidden}.bl-topbar{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;justify-content:space-between;padding-bottom:20px}.bl-title-section{align-items:baseline;display:flex;gap:12px}.bl-title{color:#fff;font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.bl-count{background:#ffffff0f;border:1px solid #ffffff0f;border-radius:20px;color:#71717a;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500;padding:3px 10px}.bl-actions{gap:8px}.bl-actions,.bl-error{align-items:center;display:flex}.bl-error{animation:fadeIn .2s ease;background:#ef444414;border:1px solid #ef444433;border-radius:10px;flex-shrink:0;gap:10px;margin-bottom:16px;padding:10px 16px}.bl-error svg{color:#ef4444;flex-shrink:0;height:16px;width:16px}.bl-error span{color:#fca5a5;flex:1 1;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.bl-error button{background:none;border:none;color:#71717a;cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;padding:0 4px}.bl-error button:hover{color:#fff}.bl-table-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;min-height:0;overflow-y:auto}.bl-table-wrapper::-webkit-scrollbar{width:5px}.bl-table-wrapper::-webkit-scrollbar-track{background:#0000}.bl-table-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.bl-table{border-collapse:collapse;table-layout:fixed;width:100%}.bl-table thead{position:sticky;top:0;z-index:2}.bl-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:12px 16px;text-align:left;text-transform:uppercase}.bl-table th.th-total{color:#6366f1;text-align:right}.bl-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));overflow:hidden;padding:12px 16px;text-overflow:ellipsis;white-space:nowrap}.bl-table tbody tr{cursor:pointer;transition:all .12s ease}.bl-table tbody tr:hover{background:#ffffff0a}.bl-table tbody tr.selected{background:#6366f11a;border-left:3px solid #6366f1}.bl-table tbody tr.selected td{color:#fff}.bl-status{border-radius:20px;display:inline-block;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.3px;padding:3px 10px}@media (max-width:768px){.bl-topbar{align-items:flex-start;flex-direction:column}.bl-actions{flex-wrap:wrap;width:100%}}.invoice-origin-type{background:var(--pro-surface-2);border:1px solid var(--pro-border);border-radius:4px;color:var(--pro-text-2);display:inline-block;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;padding:0 6px}.payment-history-modal{--phm-text:#d4d4d8;--phm-muted:#a1a1b5;--phm-surface:#ffffff08;--phm-surface-head:#2d2d4a;--phm-border:#ffffff14;--phm-accent:#818cf8;--phm-success:#4ade80;--phm-warning:#fbbf24;width:min(560px,100%)}body.light-theme .payment-history-modal{--phm-text:#27272a;--phm-muted:#52525b;--phm-surface:#f4f6fb;--phm-surface-head:#e8eef6;--phm-border:#e4e4e7;--phm-accent:#4f46e5;--phm-success:#15803d;--phm-warning:#a16207}.phm-loading{align-items:center;color:var(--phm-muted);display:flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));gap:10px;justify-content:center;padding:24px 0}.phm-summary{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.phm-stat{background:var(--phm-surface);border:1px solid var(--phm-border);border-radius:10px;display:flex;flex:1 1;flex-direction:column;gap:4px;min-width:110px;padding:10px 12px}.phm-stat-label{color:var(--phm-muted);font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;text-transform:uppercase}.phm-stat-value{color:var(--phm-text);font-family:monospace;font-size:15px;font-size:calc(15px*var(--ui-scale, 1));font-weight:700}.phm-paid{color:var(--phm-success)}.phm-note,.phm-remaining{color:var(--phm-warning)}.phm-note{background:#f59e0b14;border:1px solid #f59e0b33;border-radius:8px;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));margin-bottom:12px;padding:8px 12px}.phm-list-wrapper{border:1px solid var(--phm-border);border-radius:10px;overflow:hidden}.phm-table{border-collapse:collapse;width:100%}.phm-table th{background:var(--phm-surface-head);border-bottom:1px solid var(--phm-border);color:var(--phm-muted);font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:8px 14px;text-align:left;text-transform:uppercase}.phm-table th.th-total{color:var(--phm-accent);text-align:right}.phm-table td{border-bottom:1px solid var(--phm-border);color:var(--phm-text);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:8px 14px}.phm-table tr:last-child td{border-bottom:none}.phm-table td.td-total{font-feature-settings:"tnum";color:var(--phm-accent);font-variant-numeric:tabular-nums;font-weight:600;text-align:right}.phm-empty,.phm-notes{color:var(--phm-muted)}.phm-empty{font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:18px!important;text-align:center}.bl-form-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.bl-form-loading{color:#71717a;flex-direction:column;height:100%;justify-content:center}.bl-form-loading,.bl-form-topbar{align-items:center;display:flex;gap:12px}.bl-form-topbar{flex-shrink:0;flex-wrap:wrap;justify-content:space-between;padding-bottom:16px}.bl-form-topbar-left{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.bl-form-topbar-right{align-items:center;display:flex;gap:8px}.bl-form-title{color:#fff;font-size:22px;font-size:calc(22px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.bl-form-docnum{background:#6366f11a;border:1px solid #6366f133;border-radius:6px;color:#a5b4fc;font-family:monospace;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));font-weight:600;padding:3px 10px}.btn-validate{align-items:center;background:#22c55e1a;border:1px solid #22c55e33;border-radius:8px;color:#22c55e;cursor:pointer;display:inline-flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;gap:6px;padding:7px 16px;transition:all .15s}.btn-validate svg{height:16px;width:16px}.btn-validate:hover{background:#22c55e33;border-color:#22c55e66;box-shadow:0 2px 10px #22c55e26}.btn-validate:disabled{cursor:not-allowed;opacity:.5}.bl-form-content{display:flex;flex:1 1;flex-direction:column;gap:16px;overflow:hidden}.bl-form-header-section{align-items:flex-start;background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;display:flex;flex-shrink:0;gap:24px;padding:16px 20px}.bl-form-header-fields{display:flex;flex:1 1;flex-wrap:wrap;gap:20px}.bl-form-field{display:flex;flex:1 1;flex-direction:column;gap:6px;min-width:180px}.bl-form-field label{color:#71717a;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;text-transform:uppercase}.bl-form-field-value{color:#d4d4d8;font-size:14px;font-size:calc(14px*var(--ui-scale, 1))}.bl-form-notes-input{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;color:#e0e2ea;font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));min-height:38px;padding:8px 12px;resize:vertical;transition:border-color .15s}.bl-form-notes-input:focus{border-color:#6366f1;outline:none}.bl-form-notes-input::placeholder{color:#52525b}.bl-form-grand-total{align-items:flex-end;background:#6366f10f;border:1px solid #6366f126;border-radius:10px;display:flex;flex-direction:column;flex-shrink:0;gap:4px;min-width:160px;padding:8px 16px}.bl-form-grand-total-label{color:#71717a;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;text-transform:uppercase}.bl-form-grand-total-value{color:#818cf8;font-family:monospace;font-size:22px;font-size:calc(22px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px}.bl-form-add-line{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex-shrink:0;padding:14px 18px}.bl-form-add-line-title{color:#a1a1b5;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:700;letter-spacing:.5px;margin:0 0 10px;text-transform:uppercase}.bl-form-add-line-row{align-items:flex-end;display:flex;flex-wrap:wrap;gap:10px}.bl-form-add-depot{flex:1 1;min-width:120px}.bl-form-lines-wrapper{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;flex:1 1;min-height:0;overflow-y:auto}.bl-form-lines-wrapper::-webkit-scrollbar{width:5px}.bl-form-lines-wrapper::-webkit-scrollbar-track{background:#0000}.bl-form-lines-wrapper::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.bl-form-lines-table{border-collapse:collapse;table-layout:fixed;width:100%}.bl-form-lines-table thead{position:sticky;top:0;z-index:2}.bl-form-lines-table th{background:#2d2d4a;border-bottom:1px solid #ffffff14;color:#a1a1b5;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:10px 14px;text-align:left;text-transform:uppercase}.bl-form-lines-table th.th-total{color:#6366f1;text-align:right}.bl-form-lines-table td{border-bottom:1px solid #ffffff0a;color:#d4d4d8;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));overflow:hidden;padding:10px 14px;text-overflow:ellipsis;white-space:nowrap}.bl-form-lines-table tbody tr:hover{background:#ffffff08}.bl-form-lines-table td.bl-form-depot-cell{overflow:visible;position:relative;z-index:3}.bl-form-depot-cell .searchable-select{z-index:20}.bl-form-depot-cell .searchable-select-dropdown{z-index:200}.bl-form-lines-table tfoot td{border-bottom:none;border-top:1px solid #6366f126;padding:12px 14px}.bl-form-line-depot-select{width:100%}.bl-form-line-depot-select .searchable-select-trigger{background:#ffffff0a;border-radius:6px;min-height:28px}.bl-form-line-depot-select .ss-autocomplete-input,.bl-form-line-depot-select .ss-selected-overlay{font-size:12px;font-size:calc(12px*var(--ui-scale, 1))}.bl-form-line-depot-select .searchable-select-dropdown{min-width:190px}.bl-form-line-qty-input{background:#ffffff0a;border:1px solid #ffffff1a;border-radius:6px;box-sizing:border-box;color:#e0e2ea;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:4px 8px;width:80px}.bl-form-line-qty-input:focus{border-color:#6366f1;outline:none}.bl-form-lines-table .btn-icon-danger{align-items:center;background:#0000;border:none;border-radius:4px;color:#71717a;cursor:pointer;display:inline-flex;flex-shrink:0;height:24px;justify-content:center;padding:0;width:24px}.bl-form-lines-table .btn-icon-danger svg{height:14px;width:14px}.bl-form-lines-table .btn-icon-danger:hover{background:#ef44441f;color:#ef4444}.bl-stock-overlay{align-items:center;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0000008c;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:1000}.bl-stock-popup{background:#24243b;border:1px solid #ffffff14;border-radius:12px;box-shadow:0 18px 50px #00000059;display:flex;flex-direction:column;max-height:min(620px,calc(100vh - 40px));overflow:hidden;width:min(460px,100%)}.bl-stock-header{align-items:flex-start;border-bottom:1px solid #ffffff0f;display:flex;gap:16px;justify-content:space-between;padding:18px 20px 12px}.bl-stock-header h3{color:#fff;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));font-weight:800;margin:0 0 4px}.bl-stock-header span{color:#a1a1b5;display:block;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.bl-stock-close{align-items:center;background:#ffffff0a;border:1px solid #ffffff14;border-radius:8px;color:#a1a1b5;cursor:pointer;display:inline-flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.bl-stock-close svg{height:16px;width:16px}.bl-stock-close:hover{background:#ffffff14;color:#fff}.bl-stock-meta{border-bottom:1px solid #ffffff0f;display:flex;gap:8px;padding:12px 20px}.bl-stock-meta span{background:#6366f11a;border-radius:6px;color:#c7d2fe;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600;min-width:0;padding:4px 10px}.bl-stock-body{overflow-y:auto;padding:12px}.bl-stock-table{border-collapse:collapse;width:100%}.bl-stock-table td,.bl-stock-table th{border-bottom:1px solid #ffffff0f;padding:10px 12px;text-align:left}.bl-stock-table th{color:#a1a1b5;font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:700;letter-spacing:.8px;text-transform:uppercase}.bl-stock-table td{color:#e0e2ea;font-size:13px;font-size:calc(13px*var(--ui-scale, 1))}.bl-stock-table .bl-stock-qty{color:#818cf8;font-family:monospace;font-weight:700;text-align:right}.bl-stock-empty{align-items:center;color:#a1a1b5;display:flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));gap:10px;justify-content:center;min-height:120px}.pay-status{width:fit-content}@media (max-width:900px){.bl-form-add-line-row,.bl-form-header-section{flex-direction:column}}.bl-form-locked-note{background:var(--pro-primary-soft);border:1px solid var(--pro-border);border-left:3px solid var(--pro-primary);border-radius:8px;color:var(--pro-text-2);flex-shrink:0;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:9px 12px}.payment-page{--pay-text:#d4d4d8;--pay-text-strong:#fff;--pay-text-muted:#a1a1b5;--pay-text-faint:#71717a;--pay-surface:#ffffff05;--pay-surface-raised:#2d2d4a;--pay-surface-hover:#ffffff0a;--pay-border:#ffffff12;--pay-shadow:none;--pay-accent:#818cf8;--pay-accent-strong:#6366f1;--pay-accent-soft:#6366f114;--pay-accent-border:#6366f133;--pay-success:#4ade80;--pay-success-strong:#22c55e;--pay-success-soft:#22c55e1a;--pay-success-border:#22c55e40;--pay-danger:#f87171;--pay-danger-strong:#ef4444;--pay-danger-soft:#ef44441a;--pay-danger-border:#ef444440;--pay-input-bg:#ffffff0d;--pay-input-border:#ffffff24;--pay-input-text:#f1f1f4;display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}body.light-theme .payment-page{--pay-text:#27272a;--pay-text-strong:#0f172a;--pay-text-muted:#52525b;--pay-text-faint:#71717a;--pay-surface:#fff;--pay-surface-raised:#eef0f6;--pay-surface-hover:#f4f6fb;--pay-border:#e0e2ea;--pay-shadow:0 1px 3px #0f172a0f;--pay-accent:#4338ca;--pay-accent-strong:#4f46e5;--pay-accent-soft:#4f46e512;--pay-accent-border:#4f46e538;--pay-success:#15803d;--pay-success-strong:#16a34a;--pay-success-soft:#16a34a14;--pay-success-border:#16a34a47;--pay-danger:#b91c1c;--pay-danger-strong:#dc2626;--pay-danger-soft:#dc262612;--pay-danger-border:#dc262640;--pay-input-bg:#fff;--pay-input-border:#d4d4d8;--pay-input-text:#18181b}.payment-topbar{align-items:center;display:flex;flex-shrink:0;justify-content:space-between;padding-bottom:16px}.payment-title{color:var(--pay-text-strong);font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.payment-success{align-items:center;background:var(--pay-success-soft);border:1px solid var(--pay-success-border);border-radius:10px;display:flex;flex-shrink:0;gap:10px;margin-bottom:16px;padding:10px 16px}.payment-success svg{color:var(--pay-success-strong);flex-shrink:0;height:16px;width:16px}.payment-success span{color:var(--pay-success);flex:1 1;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500}.payment-success button{background:none;border:none;color:var(--pay-text-faint);cursor:pointer;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));line-height:1;padding:0 4px}.payment-success button:hover{color:var(--pay-text-strong)}.payment-customer-bar{align-items:flex-end;background:var(--pay-surface);border:1px solid var(--pay-border);border-radius:12px;box-shadow:var(--pay-shadow);display:flex;flex-shrink:0;flex-wrap:wrap;gap:20px;margin-bottom:16px;padding:16px 20px}.payment-customer-select{flex:1 1;max-width:420px;min-width:280px}.payment-credit-badge{align-items:flex-end;background:var(--pay-success-soft);border:1px solid var(--pay-success-border);border-radius:10px;display:flex;flex-direction:column;gap:4px;min-width:160px;padding:8px 16px}.payment-credit-label{color:var(--pay-text-muted);font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;text-transform:uppercase}.payment-credit-value{color:var(--pay-success-strong);font-family:monospace;font-size:18px;font-size:calc(18px*var(--ui-scale, 1));font-weight:800}.pay-stats{display:flex;flex:1 1;flex-wrap:wrap;gap:12px;justify-content:flex-end}.pay-stat{background:var(--pay-surface-raised);border:1px solid var(--pay-border);gap:12px;min-width:190px;padding:10px 16px}.pay-stat,.pay-stat-icon{align-items:center;border-radius:10px;display:flex}.pay-stat-icon{flex-shrink:0;height:40px;justify-content:center;width:40px}.pay-stat-icon svg{height:20px;width:20px}.pay-stat-icon-neutral{background:var(--pay-accent-soft);color:var(--pay-accent)}.pay-stat-icon-danger{background:var(--pay-danger-soft);color:var(--pay-danger)}.pay-stat-icon-success{background:var(--pay-success-soft);color:var(--pay-success)}.pay-stat-body{display:flex;flex-direction:column;gap:2px;min-width:0}.pay-stat-label{color:var(--pay-text-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.4px;text-transform:uppercase}.pay-stat-value{font-feature-settings:"tnum";color:var(--pay-text-strong);font-size:18px;font-size:calc(18px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;font-weight:800;letter-spacing:-.3px;white-space:nowrap}.pay-stat-value-danger{color:var(--pay-danger)}.pay-stat-value-success{color:var(--pay-success-strong)}.payment-empty-state{align-items:center;color:var(--pay-text-faint);display:flex;flex:1 1;flex-direction:column;font-size:14px;font-size:calc(14px*var(--ui-scale, 1));gap:12px;justify-content:center}.payment-empty-state svg{height:40px;opacity:.4;width:40px}.payment-content{display:flex;flex:1 1;gap:16px;min-height:0;overflow:hidden}.payment-invoices-panel{display:flex;flex:2 1;flex-direction:column;min-width:0;overflow:hidden}.payment-summary-panel{background:var(--pay-surface);border:1px solid var(--pay-border);border-radius:12px;box-shadow:var(--pay-shadow);display:flex;flex:1 1;flex-direction:column;gap:14px;max-width:360px;min-width:300px;overflow-y:auto;padding:18px}.payment-panel-title{align-items:center;color:var(--pay-text-muted);display:flex;flex-shrink:0;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:700;gap:8px;letter-spacing:.5px;margin:0 0 10px;text-transform:uppercase}.payment-panel-title:before{background:var(--pay-accent-strong);border-radius:2px;content:"";flex-shrink:0;height:14px;width:3px}.payment-panel-count{background:var(--pay-surface-raised);border-radius:20px;color:var(--pay-text-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;padding:2px 8px}.payment-invoices-wrapper{background:var(--pay-surface);border:1px solid var(--pay-border);border-radius:12px;box-shadow:var(--pay-shadow);flex:1 1;min-height:0;overflow-y:auto}.payment-invoices-table{border-collapse:collapse;table-layout:fixed;width:100%}.payment-invoices-table thead{position:sticky;top:0;z-index:2}.payment-invoices-table th{background:var(--pay-surface-raised);border-bottom:1px solid var(--pay-border);color:var(--pay-text-muted);font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:10px 14px;text-align:left;text-transform:uppercase}.payment-invoices-table th.th-total{color:var(--pay-accent-strong);text-align:right}.payment-invoices-table td{border-bottom:1px solid var(--pay-border);color:var(--pay-text);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));overflow:hidden;padding:10px 14px;text-overflow:ellipsis;white-space:nowrap}.payment-invoices-table td.td-total{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:600;text-align:right}.payment-invoices-table tbody tr:hover{background:var(--pay-surface-hover)}.payment-invoices-table tbody tr.selected{background:var(--pay-accent-soft)}.payment-amount-input{background:var(--pay-input-bg);border:1px solid var(--pay-input-border);border-radius:6px;box-sizing:border-box;color:var(--pay-input-text);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:6px 8px;width:100%}.payment-amount-input:focus{border-color:var(--pay-accent-strong);outline:none}.payment-amount-input:disabled{cursor:not-allowed;opacity:.45}.pay-status{border:1px solid #0000;border-radius:20px;display:inline-block;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.3px;padding:3px 10px;white-space:nowrap}.payment-field{display:flex;flex-direction:column;gap:6px}.payment-field label{color:var(--pay-text-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;text-transform:uppercase}.payment-field input[type=number],.payment-field textarea{background:var(--pay-input-bg);border:1px solid var(--pay-input-border);border-radius:8px;color:var(--pay-input-text);font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));padding:8px 12px}.payment-field input[type=number]:focus,.payment-field textarea:focus{border-color:var(--pay-accent-strong);outline:none}.payment-field textarea{min-height:38px;resize:vertical}.payment-credit-toggle{gap:8px}.payment-checkbox-label{align-items:center;color:var(--pay-text);cursor:pointer;display:flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:500;gap:8px;letter-spacing:normal;text-transform:none}.payment-checkbox-label input[type=checkbox]{accent-color:var(--pay-accent-strong);cursor:pointer;height:15px;width:15px}.payment-totals{background:var(--pay-accent-soft);border:1px solid var(--pay-accent-border);border-radius:10px;display:flex;flex-direction:column;gap:8px;padding:12px 14px}.payment-totals-row{align-items:center;color:var(--pay-text-muted);display:flex;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));justify-content:space-between}.payment-totals-row span:last-child{color:var(--pay-text);font-family:monospace;font-weight:600}.payment-totals-highlight{border-top:1px solid var(--pay-border);font-weight:700;padding-top:8px}.payment-totals-highlight span:last-child{color:var(--pay-accent);font-size:14px;font-size:calc(14px*var(--ui-scale, 1))}.payment-totals-negative span:last-child{color:var(--pay-danger-strong)!important}.payment-validation-list{background:var(--pay-danger-soft);border:1px solid var(--pay-danger-border);border-radius:8px;color:var(--pay-danger);display:flex;flex-direction:column;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:500;gap:4px;margin:0;padding:10px 12px 10px 28px}.payment-submit-btn{justify-content:center;margin-top:auto;width:100%}.payment-submit-btn:disabled{cursor:not-allowed;opacity:.5}@media (max-width:900px){.payment-content{flex-direction:column;overflow-y:auto}.payment-summary-panel{max-width:none}}.pay-stats-history{flex-shrink:0;gap:10px;justify-content:flex-start;margin-bottom:16px}.pay-stats-history .pay-stat{flex:1 1 150px;gap:10px;min-width:150px;padding:8px 12px}.pay-stats-history .pay-stat-icon{border-radius:8px;height:32px;width:32px}.pay-stats-history .pay-stat-icon svg{height:16px;width:16px}.pay-stats-history .pay-stat-label{font-size:10px;font-size:calc(10px*var(--ui-scale, 1))}.pay-stats-history .pay-stat-value{font-size:15px;font-size:calc(15px*var(--ui-scale, 1))}.ph-empty{flex:1 1;flex-direction:column;gap:6px;padding:24px;text-align:center}.ph-empty,.ph-empty-icon{align-items:center;display:flex;justify-content:center}.ph-empty-icon{background:var(--pay-accent-soft);border:1px solid var(--pay-accent-border);border-radius:24px;color:var(--pay-accent);height:84px;margin-bottom:14px;width:84px}.ph-empty-icon svg{height:40px;width:40px}.ph-empty-title{color:var(--pay-text-strong);font-size:17px;font-size:calc(17px*var(--ui-scale, 1));font-weight:700;letter-spacing:-.2px;margin:0}.ph-empty-text{color:var(--pay-text-faint);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));line-height:1.5;margin:0;max-width:380px}.ph-table-wrapper{background:var(--pay-surface);border:1px solid var(--pay-border);border-radius:12px;box-shadow:var(--pay-shadow);flex:1 1;min-height:0;overflow-y:auto}.ph-table{border-collapse:collapse;table-layout:fixed;width:100%}.ph-table thead{position:sticky;top:0;z-index:2}.ph-table th{background:var(--pay-surface-raised);border-bottom:1px solid var(--pay-border);color:var(--pay-text-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.8px;padding:12px 16px;text-align:left;text-transform:uppercase}.ph-table th.th-total{color:var(--pay-accent-strong);text-align:right}.ph-table td{border-bottom:1px solid var(--pay-border);color:var(--pay-text);font-size:14px;font-size:calc(14px*var(--ui-scale, 1));overflow:hidden;padding:12px 16px;text-overflow:ellipsis;white-space:nowrap}.ph-table td.td-total{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:600;text-align:right}.ph-row{cursor:pointer;transition:background .12s ease}.ph-row:hover{background:var(--pay-surface-hover)}.ph-row.expanded{background:var(--pay-accent-soft)}.ph-chevron{color:var(--pay-text-faint);height:14px;transition:transform .15s ease;width:14px}.ph-chevron.open{color:var(--pay-accent);transform:rotate(90deg)}.ph-detail-row td{background:var(--pay-surface-raised);border-bottom:1px solid var(--pay-border);padding:0}.ph-detail{padding:12px 20px 12px 44px}.ph-detail-empty,.ph-detail-loading{align-items:center;color:var(--pay-text-faint);display:flex;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));gap:10px;padding:6px 0}.ph-detail-table{border-collapse:collapse;width:100%}.ph-detail-table th{border-bottom:1px solid var(--pay-border);color:var(--pay-text-muted);font-size:10px;font-size:calc(10px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;padding:6px 10px;text-align:left;text-transform:uppercase}.ph-detail-table th.th-total{text-align:right}.ph-detail-table td{border-bottom:1px solid var(--pay-border);color:var(--pay-text);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));padding:6px 10px}.ph-detail-table td.td-total{color:var(--pay-accent);font-family:monospace;font-weight:600;text-align:right}.releve-page{--rv-text:#d4d4d8;--rv-strong:#fff;--rv-muted:#94a3b8;--rv-faint:#71717a;--rv-surface:#ffffff05;--rv-raised:#1e293b;--rv-hover:#0ea5e914;--rv-border:#94a3b829;--rv-shadow:none;--rv-accent:#38bdf8;--rv-accent-soft:#0ea5e924;--rv-green:#4ade80;--rv-green-soft:#22c55e24;--rv-red:#f87171;--rv-red-soft:#ef444424;display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}body.light-theme .releve-page{--rv-text:#27272a;--rv-strong:#0f172a;--rv-muted:#52525b;--rv-faint:#a1a1aa;--rv-surface:#fff;--rv-raised:#eef1f8;--rv-hover:#2563eb0d;--rv-border:#00000014;--rv-shadow:0 1px 3px #0f172a0f;--rv-accent:#2563eb;--rv-accent-soft:#2563eb1a;--rv-green:#16a34a;--rv-green-soft:#16a34a1a;--rv-red:#dc2626;--rv-red-soft:#dc26261a}.releve-topbar{align-items:center;display:flex;flex-shrink:0;gap:12px;justify-content:space-between;padding-bottom:16px}.releve-title{color:var(--rv-strong);font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.releve-print-btn{align-items:center;background:var(--rv-accent-soft);border:1px solid var(--rv-accent-soft);border-radius:8px;color:var(--rv-accent);cursor:pointer;display:inline-flex;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:600;gap:7px;padding:8px 16px;transition:all .15s ease}.releve-print-btn svg{height:16px;width:16px}.releve-print-btn:hover:not(:disabled){border-color:var(--rv-accent);filter:brightness(1.08)}.releve-print-btn:disabled{cursor:not-allowed;opacity:.45}.releve-customer-bar{align-items:flex-end;background:var(--rv-surface);border:1px solid var(--rv-border);border-radius:12px;box-shadow:var(--rv-shadow);display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;margin-bottom:16px;padding:16px 20px}.releve-customer-select{flex:1 1;max-width:420px;min-width:280px}.releve-field{display:flex;flex-direction:column;gap:6px}.releve-field label{color:var(--rv-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.5px;text-transform:uppercase}.releve-stats{display:flex;flex-shrink:0;flex-wrap:wrap;gap:12px;margin-bottom:16px}.releve-stat{background:var(--rv-raised);border:1px solid var(--rv-border);flex:1 1 200px;gap:12px;padding:12px 16px}.releve-stat,.releve-stat-icon{align-items:center;border-radius:10px;display:flex}.releve-stat-icon{flex-shrink:0;height:42px;justify-content:center;width:42px}.releve-stat-icon svg{height:20px;width:20px}.rv-blue{background:var(--rv-accent-soft);color:var(--rv-accent)}.rv-green{background:var(--rv-green-soft);color:var(--rv-green)}.rv-red{background:var(--rv-red-soft);color:var(--rv-red)}.releve-stat-body{display:flex;flex-direction:column;gap:2px;min-width:0}.releve-stat-label{color:var(--rv-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.4px;text-transform:uppercase}.releve-stat-value{font-feature-settings:"tnum";color:var(--rv-strong);font-size:19px;font-size:calc(19px*var(--ui-scale, 1));font-variant-numeric:tabular-nums;font-weight:800;letter-spacing:-.3px;white-space:nowrap}.rv-val-green{color:var(--rv-green)}.rv-val-red{color:var(--rv-red)}.releve-table-wrapper{background:var(--rv-surface);border:1px solid var(--rv-border);border-radius:12px;box-shadow:var(--rv-shadow);flex:1 1;min-height:0;overflow-y:auto}.releve-table{border-collapse:collapse;table-layout:fixed;width:100%}.releve-table thead{position:sticky;top:0;z-index:2}.releve-table th{background:var(--rv-raised);color:var(--rv-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:700;letter-spacing:.05em;padding:11px 14px;text-align:left;text-transform:uppercase}.releve-table td,.releve-table th{border-bottom:1px solid var(--rv-border)}.releve-table td{color:var(--rv-text);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));overflow:hidden;padding:9px 14px;text-overflow:ellipsis;white-space:nowrap}.releve-table tbody tr:hover td{background:var(--rv-hover)}.rv-r{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-align:right}.rv-secondary{color:var(--rv-muted)}.rv-debit{color:var(--rv-red);font-weight:600}.rv-credit{color:var(--rv-green);font-weight:600}.rv-solde{color:var(--rv-strong);font-weight:700}.rv-badge{border:1px solid #0000;border-radius:20px;display:inline-block;font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.2px;padding:3px 10px}.rv-badge-facture{background:var(--rv-accent-soft);border-color:var(--rv-accent-soft);color:var(--rv-accent)}.rv-badge-paiement{background:var(--rv-green-soft);border-color:var(--rv-green-soft);color:var(--rv-green)}.releve-footer{align-items:center;background:var(--rv-raised);border:1px solid var(--rv-border);border-radius:10px;display:flex;flex-shrink:0;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-top:10px;padding:10px 16px}.releve-footer-count{color:var(--rv-muted);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1))}.releve-footer-count strong{color:var(--rv-strong);font-weight:700}.releve-footer-totals{display:flex;flex-wrap:wrap;gap:20px}.releve-footer-totals span{color:var(--rv-muted);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1))}.releve-footer-totals strong{color:var(--rv-strong);font-weight:700;margin-left:4px}.releve-empty{flex:1 1;flex-direction:column;gap:8px;padding:24px;text-align:center}.releve-empty,.releve-empty-icon{align-items:center;display:flex;justify-content:center}.releve-empty-icon{background:var(--rv-accent-soft);border:1px solid var(--rv-border);border-radius:24px;color:var(--rv-accent);height:84px;margin-bottom:12px;width:84px}.releve-empty-icon svg{height:40px;width:40px}.releve-empty-title{color:var(--rv-strong);font-size:17px;font-size:calc(17px*var(--ui-scale, 1));font-weight:700;letter-spacing:-.2px;margin:0}.releve-empty-text{color:var(--rv-faint);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));line-height:1.5;margin:0;max-width:380px}.releve-table .table-empty{color:var(--rv-faint);padding:40px 14px;text-align:center}.bl-form-origin{align-items:center;background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:999px;color:var(--pro-primary);cursor:pointer;display:inline-flex;font-family:inherit;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600;height:22px;padding:0 9px}.bl-form-origin:hover:not(:disabled){background:var(--pro-primary-soft)}.bl-form-origin:disabled{color:var(--pro-text-2);cursor:default}.bl-form-locked-info{background:var(--pro-primary-soft);border:1px solid var(--pro-border);border-left:3px solid var(--pro-primary);border-radius:var(--pro-radius);color:var(--pro-text-2);flex-shrink:0;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));margin-bottom:10px;padding:8px 12px}.td-child-doc{color:var(--pro-primary);font-weight:600;white-space:nowrap}.cs-page{display:flex;flex-direction:column;height:calc(100vh - 100px);overflow:hidden}.cs-topbar{align-items:flex-start;display:flex;flex-shrink:0;gap:16px;justify-content:space-between;padding-bottom:16px}.cs-title{color:var(--pro-text);font-size:24px;font-size:calc(24px*var(--ui-scale, 1));font-weight:800;letter-spacing:-.5px;margin:0}.cs-subtitle{color:var(--pro-muted);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));margin:4px 0 0}.cs-content{display:flex;flex:1 1;flex-direction:column;gap:16px;max-width:860px;overflow-y:auto}.cs-card{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);padding:18px 20px}.cs-card-title{color:var(--pro-muted);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));font-weight:700;letter-spacing:.4px;margin:0 0 14px;text-transform:uppercase}.cs-logo-row{flex-wrap:wrap;gap:20px}.cs-dropzone,.cs-logo-row{align-items:center;display:flex}.cs-dropzone{background:var(--pro-surface-2);border:1.5px dashed var(--pro-border-strong);border-radius:10px;cursor:pointer;flex-shrink:0;height:120px;justify-content:center;padding:12px;transition:border-color .15s ease,background .15s ease;width:180px}.cs-dropzone.drag-over,.cs-dropzone:focus-visible,.cs-dropzone:hover{background:var(--pro-primary-soft);border-color:var(--pro-primary);outline:none}.cs-dropzone.has-logo{background-color:#fff;background-image:linear-gradient(45deg,#f1f5f9 25%,#0000 0),linear-gradient(-45deg,#f1f5f9 25%,#0000 0),linear-gradient(45deg,#0000 75%,#f1f5f9 0),linear-gradient(-45deg,#0000 75%,#f1f5f9 0);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;border-style:solid}.cs-dropzone img{max-height:100%;max-width:100%;object-fit:contain}.cs-dropzone-empty{align-items:center;color:var(--pro-muted);display:flex;flex-direction:column;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));gap:8px;text-align:center}.cs-dropzone-empty svg{height:28px;width:28px}.cs-logo-help{flex:1 1;min-width:220px}.cs-logo-help p{color:var(--pro-muted);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));margin:0 0 10px}.cs-logo-actions{display:flex;gap:8px}.cs-grid{grid-gap:12px 16px;display:grid;gap:12px 16px;grid-template-columns:repeat(2,minmax(0,1fr))}.cs-field{display:flex;flex-direction:column;gap:5px}.cs-field-full{margin-bottom:12px}.cs-field label{color:var(--pro-text-2);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));font-weight:600}.cs-field input{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text);font-size:13px;font-size:calc(13px*var(--ui-scale, 1));height:var(--pro-control-h);padding:0 10px}.cs-field input:focus{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft);outline:none}@media (max-width:720px){.cs-grid{grid-template-columns:1fr}}:root{--ui-scale:1}:root.ui-small{--ui-scale:0.88}:root.ui-large{--ui-scale:1.15}body{--pro-bg:#f3f5f9;--pro-surface:#fff;--pro-surface-2:#f8fafc;--pro-border:#e2e8f0;--pro-border-strong:#cbd5e1;--pro-border-soft:#eef2f6;--pro-text:#0f172a;--pro-text-2:#334155;--pro-muted:#64748b;--pro-primary:#0284c7;--pro-primary-hover:#0369a1;--pro-primary-soft:#e0f2fe;--pro-row-hover:#f5f9fd;--pro-row-selected:#e8f4fc;--pro-danger:#dc2626;--pro-danger-soft:#fef2f2;--pro-danger-border:#fecaca;--pro-success:#15803d;--pro-success-soft:#f0fdf4;--pro-success-border:#bbf7d0;--pro-warning:#b45309;--pro-warning-soft:#fffbeb;--pro-warning-border:#fde68a;--pro-shadow:0 1px 2px #0f172a0d;--pro-radius:8px;--pro-control-h:calc(34px*var(--ui-scale, 1));--pro-head-bg:#f5f7fa;--pro-head-text:#5b6b80;--pro-row-alt:#fafbfc;--pro-row-selected-line:#bfdcf3;--pro-grid-row-h:calc(30px*var(--ui-scale, 1));--pro-grid-head-h:calc(32px*var(--ui-scale, 1))}body:not(.light-theme){--pro-bg:#0b1220;--pro-surface:#111a2b;--pro-surface-2:#152036;--pro-border:#94a3b829;--pro-border-strong:#94a3b847;--pro-border-soft:#94a3b814;--pro-text:#f1f5f9;--pro-text-2:#cbd5e1;--pro-muted:#8b9ab1;--pro-primary:#0ea5e9;--pro-primary-hover:#0284c7;--pro-primary-soft:#0ea5e924;--pro-row-hover:#0ea5e90f;--pro-row-selected:#0ea5e924;--pro-danger:#f87171;--pro-danger-soft:#dc26261a;--pro-danger-border:#f871714d;--pro-success:#4ade80;--pro-success-soft:#16a34a1a;--pro-success-border:#4ade8047;--pro-warning:#fbbf24;--pro-warning-soft:#b4530929;--pro-warning-border:#fbbf244d;--pro-shadow:none;--pro-head-bg:#141e33;--pro-head-text:#8b9ab1;--pro-row-alt:rgba(148,163,184,.035);--pro-row-selected-line:#0ea5e94d}html:root body .layout,html:root body.light-theme .layout{background:var(--pro-bg)!important}html:root body :is(.customer-topbar,.supplier-topbar,.famille-topbar,.unit-topbar,.depot-topbar,.product-topbar,.proforma-topbar,.bl-topbar,.stock-topbar,.payment-topbar,.releve-topbar){align-items:center!important;min-height:34px;padding-bottom:12px!important}html:root body :is(.customer-title,.supplier-title,.famille-title,.unit-title,.depot-title,.product-title,.proforma-title,.bl-title,.stock-title,.payment-title,.releve-title,.bl-form-title,.pf-title,.productform-title,.pp-title,.sp-title){color:var(--pro-text)!important;font-size:20px!important;font-size:calc(20px*var(--ui-scale, 1))!important;font-weight:700!important;letter-spacing:-.01em!important;line-height:1.2}html:root body :is(.customer-count,.supplier-count,.famille-count,.unit-count,.depot-count,.product-count,.proforma-count,.bl-count,.stock-count){background:var(--pro-surface)!important;border:1px solid var(--pro-border)!important;border-radius:999px!important;color:var(--pro-muted)!important;font-size:12px!important;font-size:calc(12px*var(--ui-scale, 1))!important;font-weight:500!important;padding:2px 9px!important}.page-toolbar{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);flex-shrink:0;gap:10px 16px;justify-content:space-between;margin-bottom:12px;padding:7px 8px}.page-toolbar,.page-toolbar-actions{align-items:center;display:flex;flex-wrap:wrap}.page-toolbar-actions{gap:6px}.page-toolbar-filters{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}html:root body .page-toolbar .stock-filters{gap:6px!important;padding-bottom:0!important}html:root body .page-toolbar .stock-filter-item{min-width:150px!important}html:root body .page-toolbar .stock-filter-dates{min-width:0!important}html:root body .page-toolbar :is(.stock-filter-select,.stock-filter-date,.product-filter-status){background:var(--pro-surface)!important;border:1px solid var(--pro-border-strong)!important;border-radius:6px!important;color:var(--pro-text-2)!important;font-size:13px!important;font-size:calc(13px*var(--ui-scale, 1))!important;height:var(--pro-control-h);padding:0 10px!important}html:root body .page-toolbar .btn-icon-refresh{border-radius:6px;height:var(--pro-control-h);width:var(--pro-control-h)}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) :is(.btn,.print-menu-trigger){background:var(--pro-surface)!important;border:1px solid var(--pro-border-strong)!important;border-radius:6px!important;box-shadow:0 1px 2px #0f172a0a!important;color:var(--pro-text-2)!important;font-size:13px!important;font-size:calc(13px*var(--ui-scale, 1))!important;font-weight:500!important;gap:6px;height:var(--pro-control-h);line-height:1;padding:0 12px!important;transition:background .12s ease,border-color .12s ease,color .12s ease}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) :is(.btn,.print-menu-trigger) svg{color:var(--pro-muted);height:15px;width:15px}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) :is(.btn,.print-menu-trigger):hover:not(:disabled){background:var(--pro-surface-2)!important;border-color:var(--pro-muted)!important;color:var(--pro-text)!important}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) .btn:disabled{box-shadow:none!important;cursor:not-allowed;opacity:.45!important}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) :is(.btn-primary,.btn-save,.btn-add){background:var(--pro-primary)!important;border-color:var(--pro-primary)!important;color:#fff!important}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) :is(.btn-primary,.btn-save,.btn-add) svg{color:#fff}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) :is(.btn-primary,.btn-save,.btn-add):hover:not(:disabled){background:var(--pro-primary-hover)!important;border-color:var(--pro-primary-hover)!important;color:#fff!important}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) :is(.btn-edit,.btn-view,.btn-secondary) svg{color:var(--pro-primary)}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) .btn-danger{color:var(--pro-danger)!important}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) .btn-danger svg{color:var(--pro-danger)}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) .btn-danger:hover:not(:disabled){background:var(--pro-danger-soft)!important;border-color:var(--pro-danger-border)!important;color:var(--pro-danger)!important}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) :is(.btn-validate,.btn-convert-bl){color:var(--pro-success)!important}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) :is(.btn-validate,.btn-convert-bl) svg{color:var(--pro-success)}html:root body :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions) :is(.btn-validate,.btn-convert-bl):hover:not(:disabled){background:var(--pro-success-soft)!important;border-color:var(--pro-success-border)!important;color:var(--pro-success)!important}html:root body .page-toolbar-actions>.btn-primary:first-child{margin-right:4px}html:root body .page-toolbar .search-box input{background:var(--pro-surface)!important;border:1px solid var(--pro-border-strong)!important;border-radius:6px!important;box-shadow:none!important;color:var(--pro-text)!important;font-size:13px!important;font-size:calc(13px*var(--ui-scale, 1))!important;height:var(--pro-control-h);padding:0 12px 0 34px!important;width:240px}html:root body .page-toolbar .search-box input:focus{border-color:var(--pro-primary)!important;box-shadow:0 0 0 3px var(--pro-primary-soft)!important}html:root body .page-toolbar .search-box svg{color:var(--pro-muted);height:15px;left:11px;width:15px}html:root body .page-toolbar .date-range-filter{background:var(--pro-surface)!important;border:1px solid var(--pro-border-strong)!important;border-radius:6px;height:var(--pro-control-h);padding:0 10px}html:root body .page-toolbar .drf-input{color:var(--pro-text-2)!important;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));min-width:112px}html:root body .page-toolbar .searchable-select-control,html:root body .page-toolbar .searchable-select-trigger{border-radius:6px!important;min-height:var(--pro-control-h)}html:root body :is(.customer-table-wrapper,.supplier-table-wrapper,.famille-table-wrapper,.unit-table-wrapper,.depot-table-wrapper,.product-table-wrapper,.proforma-table-wrapper,.bl-table-wrapper,.stock-table-wrapper,.ph-table-wrapper,.releve-table-wrapper,.pp-table-wrapper,.pm-table-wrapper,.payment-invoices-wrapper,.bl-form-lines-wrapper,.pf-lines-wrapper,.productform-units-table-wrapper,.sp-table-wrapper){background:var(--pro-surface)!important;border:1px solid var(--pro-border)!important;border-radius:var(--pro-radius)!important;box-shadow:var(--pro-shadow)!important}html:root body :is(.customer-table-wrapper,.supplier-table-wrapper,.famille-table-wrapper,.unit-table-wrapper,.depot-table-wrapper,.product-table-wrapper,.proforma-table-wrapper,.bl-table-wrapper,.stock-table-wrapper,.ph-table-wrapper,.releve-table-wrapper):has(+:is(.table-footer-bar,.releve-footer)){border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table){border-collapse:initial!important;border-spacing:0!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) th{background:linear-gradient(var(--pro-border),var(--pro-border)) 0 /1px 14px no-repeat,var(--pro-head-bg)!important;border:0!important;border-bottom:1px solid var(--pro-border)!important;color:var(--pro-head-text)!important;font-size:10.5px!important;font-size:calc(10.5px*var(--ui-scale, 1))!important;font-weight:600!important;height:var(--pro-grid-head-h);letter-spacing:.05em!important;line-height:1!important;padding:0 10px!important;text-transform:uppercase;vertical-align:middle;white-space:nowrap}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) th:first-child{background:var(--pro-head-bg)!important;padding-left:14px!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) th:last-child{padding-right:14px!important}html:root body th.th-sortable .th-sort-icon{height:11px;width:11px}html:root body th.th-sortable:hover{color:var(--pro-text)!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) td:not(.table-empty){background:#0000!important;border:0!important;border-bottom:1px solid var(--pro-border-soft)!important;color:var(--pro-text-2)!important;font-size:12.5px!important;font-size:calc(12.5px*var(--ui-scale, 1))!important;height:var(--pro-grid-row-h);line-height:1.3!important;padding:3px 10px!important;vertical-align:middle}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) td:first-child:not(.table-empty){padding-left:14px!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) td:last-child:not(.table-empty){padding-right:14px!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pm-table) td:not(.table-empty){overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) :is(td,td *){font-feature-settings:"tnum";font-family:inherit!important;font-variant-numeric:tabular-nums}html:root body :is(.bl-form-lines-table,.pf-lines-table,.payment-invoices-table,.productform-units-table) td input:not([type=checkbox]){font-size:12.5px!important;font-size:calc(12.5px*var(--ui-scale, 1))!important;height:26px!important;padding-bottom:0!important;padding-top:0!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) tbody tr{background:#0000!important;border-left:0!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) tbody tr:nth-child(2n) td:not(.table-empty){background:var(--pro-row-alt)!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) tbody tr:hover td:not(.table-empty){background:var(--pro-row-hover)!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.pp-table,.pm-table,.payment-invoices-table,.sp-table) tbody tr.selected td:not(.table-empty){background:var(--pro-row-selected)!important;border-bottom-color:var(--pro-row-selected-line)!important;color:var(--pro-text)!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.pp-table,.pm-table,.payment-invoices-table,.sp-table) tbody tr.selected td:first-child{box-shadow:inset 2px 0 0 var(--pro-primary)}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) td.table-empty{background:#0000!important;border:0!important;color:var(--pro-muted)!important;font-size:12.5px!important;font-size:calc(12.5px*var(--ui-scale, 1))!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table) :is(td:is(.td-secondary,.rv-secondary),td .td-secondary){color:var(--pro-muted)!important}html:root body :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table) :is(td:is(.td-total,.pf-foot-total-value),td .td-total){color:var(--pro-text)!important;font-weight:600!important}html:root body :is(.proforma-table,.bl-table,.payment-invoices-table) td.td-docnum:not(.table-empty){color:var(--pro-primary)!important;font-weight:600!important}html:root body :is(.bl-form-lines-table,.pf-lines-table) tfoot td{background:var(--pro-head-bg)!important;border-bottom:0!important;border-top:1px solid var(--pro-border)!important;font-weight:600!important;height:var(--pro-grid-head-h)}html:root body :is(.table-footer-bar,.releve-footer){align-items:center;background:var(--pro-surface-2)!important;border:1px solid var(--pro-border)!important;border-radius:0 0 var(--pro-radius) var(--pro-radius)!important;border-top:0!important;box-shadow:var(--pro-shadow)!important;display:flex;flex-shrink:0;flex-wrap:wrap;gap:6px 16px;justify-content:space-between;margin-top:0!important;min-height:28px;padding:3px 14px!important}html:root body :is(.table-footer-count,.releve-footer-count){color:var(--pro-muted)!important;font-size:11.5px!important;font-size:calc(11.5px*var(--ui-scale, 1))!important;font-weight:400!important}html:root body :is(.table-footer-count,.releve-footer-count) strong{color:var(--pro-text-2)!important;font-weight:600!important}html:root body .releve-footer-totals{align-items:center;color:var(--pro-muted)!important;display:inline-flex;font-size:12px!important;font-size:calc(12px*var(--ui-scale, 1))!important;gap:0}html:root body :is(.table-footer-total,.releve-footer-totals>span){align-items:baseline;border-left:1px solid var(--pro-border);color:var(--pro-muted)!important;display:inline-flex;font-size:11.5px!important;font-size:calc(11.5px*var(--ui-scale, 1))!important;font-weight:400!important;gap:6px!important;padding:0 12px}html:root body .table-footer-count+.table-footer-total,html:root body :is(.table-footer-total,.releve-footer-totals>span):first-child{border-left:0}html:root body :is(.table-footer-total,.releve-footer-totals>span):last-child{padding-right:0}html:root body .releve-footer-totals>span>strong,html:root body .table-footer-total strong{font-feature-settings:"tnum";color:var(--pro-text)!important;font-size:12px!important;font-size:calc(12px*var(--ui-scale, 1))!important;font-variant-numeric:tabular-nums;font-weight:600!important;letter-spacing:0!important}html:root body .table-footer-bar>span:not(.table-footer-count):not(.table-footer-total){gap:0!important}html:root body .table-footer-bar>span:not(.table-footer-count):not(.table-footer-total)>.table-footer-total:first-child{border-left:0}html:root body :is(.bl-form-topbar,.pf-topbar){align-items:stretch!important;flex-direction:column!important;gap:10px!important;justify-content:flex-start!important;padding-bottom:12px!important}html:root body :is(.bl-form-topbar-left,.pf-topbar-left){flex-wrap:wrap}html:root body :is(.bl-form-topbar-right,.pf-topbar-right){align-items:center;background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);display:flex;flex-wrap:wrap;gap:6px!important;justify-content:flex-start!important;padding:7px 8px}html:root body .productform-topbar{align-items:stretch!important;flex-direction:column!important;gap:10px!important}html:root body .productform-actions{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);flex-wrap:wrap;gap:6px!important;justify-content:flex-start!important;padding:7px 8px}html:root body :is(.bl-form-topbar-right,.pf-topbar-right,.productform-actions):empty{display:none}html:root body :is(.bl-form-header-section,.pf-form-header-section,.bl-form-add-line,.pf-add-line){background:var(--pro-surface)!important;border:1px solid var(--pro-border)!important;border-radius:var(--pro-radius)!important;box-shadow:var(--pro-shadow)!important}html:root body :is(.bl-status,.proforma-status,.pay-status,.stock-status,.customer-balance,.supplier-balance,.stock-type-badge,.stock-status-badge,.rv-badge,.status-badge){align-items:center;border-radius:4px!important;display:inline-flex!important;font-size:10.5px!important;font-size:calc(10.5px*var(--ui-scale, 1))!important;font-weight:600!important;height:19px;letter-spacing:.01em;line-height:1!important;padding:0 7px!important;white-space:nowrap}@media (max-width:900px){.page-toolbar-filters{margin-left:0;width:100%}html:root body .page-toolbar .search-box,html:root body .page-toolbar .search-box input{width:100%}}html:root body .page-toolbar .stock-filters{border-top:1px solid var(--pro-border-soft);margin-left:0!important;padding-top:7px!important;width:100%}html:root body :is(.bl-form-grand-total-value,.pf-grand-total-value){font-feature-settings:"tnum";color:var(--pro-text)!important;font-family:inherit!important;font-size:20px!important;font-size:calc(20px*var(--ui-scale, 1))!important;font-variant-numeric:tabular-nums;font-weight:700!important}html:root body :is(.bl-form-grand-total,.pf-grand-total){background:var(--pro-surface-2)!important;border:1px solid var(--pro-border)!important;border-radius:var(--pro-radius)!important}html:root body .doc-origin-link{align-items:center;background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:999px;color:var(--pro-primary);cursor:pointer;display:inline-flex;font-family:inherit;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));font-weight:600;margin:-1px 0;padding:1px 8px}html:root body .doc-origin-link:focus-visible,html:root body .doc-origin-link:hover:not(:disabled){background:var(--pro-primary-soft);outline:none}html:root body .doc-origin-link:disabled{color:var(--pro-text-2);cursor:default}html:root body .doc-free-name-input:disabled{background:var(--pro-surface-2)!important;border-color:var(--pro-border)!important;border-style:dashed!important;color:var(--pro-muted)!important;cursor:not-allowed;opacity:.7}html:root body .doc-free-name-input:disabled::placeholder{color:var(--pro-muted)!important;font-style:italic}html:root body :is(.pf-page,.bl-form-page){--pro-control-h:calc(30px*var(--ui-scale, 1));height:100%!important}html:root body :is(.pf-topbar,.bl-form-topbar){gap:7px!important;padding-bottom:7px!important}html:root body :is(.pf-topbar-right,.bl-form-topbar-right){padding:5px 6px!important}html:root body :is(.pf-content,.bl-form-content){gap:7px!important}html:root body .pf-header-section{background:var(--pro-surface)!important;border:1px solid var(--pro-border)!important;border-radius:var(--pro-radius)!important;box-shadow:var(--pro-shadow)!important}html:root body :is(.pf-header-section,.bl-form-header-section){gap:12px!important;padding:8px 12px!important}html:root body :is(.pf-header-fields,.bl-form-header-fields){gap:6px 12px!important}html:root body :is(.pf-field,.bl-form-field){gap:2px!important;min-width:140px!important}html:root body :is(.pf-field,.bl-form-field)>label{color:var(--pro-muted)!important;font-size:9.5px!important;font-size:calc(9.5px*var(--ui-scale, 1))!important;letter-spacing:.06em!important}html:root body :is(.pf-field-value,.bl-form-field-value){color:var(--pro-text)!important;font-size:12.5px!important;font-size:calc(12.5px*var(--ui-scale, 1))!important}html:root body :is(.pf-notes-input,.bl-form-notes-input){font-size:12.5px!important;font-size:calc(12.5px*var(--ui-scale, 1))!important;height:var(--pro-control-h)!important;min-height:var(--pro-control-h)!important;padding:6px 10px!important}html:root body :is(.pf-add-line,.bl-form-add-line){padding:7px 10px 8px!important}html:root body :is(.pf-add-line-title,.bl-form-add-line-title){color:var(--pro-muted)!important;font-size:10px!important;font-size:calc(10px*var(--ui-scale, 1))!important;letter-spacing:.06em!important;margin:0 0 5px!important}html:root body :is(.pf-add-line-row,.bl-form-add-line-row){gap:7px!important}html:root body .pf-add-field{gap:2px!important}html:root body .pf-add-field>label{font-size:9.5px!important;font-size:calc(9.5px*var(--ui-scale, 1))!important;letter-spacing:.06em!important}html:root body :is(.pf-add-qty,.pf-add-price){width:88px!important}html:root body .pf-add-product{min-width:160px!important}html:root body .pf-add-unit{min-width:100px!important}html:root body .bl-form-add-depot{min-width:110px!important}html:root body .pf-add-field input{font-size:12.5px!important;font-size:calc(12.5px*var(--ui-scale, 1))!important;height:var(--pro-control-h);padding:0 9px!important}html:root body .pf-add-btn{height:var(--pro-control-h);padding:0!important;width:100%}html:root body :is(.pf-page,.bl-form-page) :is(.ss-autocomplete-input,.ss-selected-overlay){font-size:12.5px!important;font-size:calc(12.5px*var(--ui-scale, 1))!important;height:var(--pro-control-h);padding-bottom:0!important;padding-top:0!important}html:root body .pf-smart-row{gap:4px 10px!important;margin-top:5px!important;padding:4px 9px!important}html:root body .pf-smart-label{font-size:9.5px!important;font-size:calc(9.5px*var(--ui-scale, 1))!important}html:root body .pf-smart-val{font-feature-settings:"tnum";font-family:inherit!important;font-size:12px!important;font-size:calc(12px*var(--ui-scale, 1))!important;font-variant-numeric:tabular-nums}html:root body :is(.bl-form-locked-note,.bl-form-locked-info){font-size:11.5px!important;font-size:calc(11.5px*var(--ui-scale, 1))!important;margin-bottom:0!important;padding:5px 10px!important}html:root body :is(.pf-grand-total,.bl-form-grand-total){min-width:218px!important;padding:5px 11px!important}html:root body :is(.pf-grand-total-value,.bl-form-grand-total-value){font-size:17px!important;font-size:calc(17px*var(--ui-scale, 1))!important}html:root body :is(.pf-page,.bl-form-page) .dt-input{height:24px}html:root body :is(.pf-page,.bl-form-page) .shortcut-bar{font-size:11.5px!important;font-size:calc(11.5px*var(--ui-scale, 1))!important;gap:4px 14px!important;margin-top:6px!important;padding:5px 10px!important}html:root body :is(.pf-field:has(>.pf-field-value),.bl-form-field:has(>.bl-form-field-value)){align-items:baseline;flex:0 1 auto;flex-direction:row!important;gap:6px!important;min-width:0!important}html:root body :is(.pf-field:has(>.pf-field-value),.bl-form-field:has(>.bl-form-field-value))>label{flex-shrink:0}html:root body :is(.pf-add-line-title,.bl-form-add-line-title){display:none!important}html:root body :is(.pf-header-section,.bl-form-header-section){padding:7px 11px!important}html:root body :is(.pf-grand-total,.bl-form-grand-total){min-width:250px!important}html:root body :is(.pf-page,.bl-form-page) .dt-net-sep{margin-top:3px!important;padding-top:4px!important}html:root body :is(.proforma-page,.bl-page,.product-page){--pro-control-h:calc(28px*var(--ui-scale, 1))}html:root body :is(.proforma-page,.bl-page,.product-page) .page-toolbar{gap:6px 10px!important;margin-bottom:8px!important;padding:5px 7px!important}html:root body :is(.proforma-page,.bl-page,.product-page) :is(.page-toolbar-actions,.page-toolbar-filters){gap:5px!important}html:root body :is(.proforma-page,.bl-page,.product-page,.pf-page,.bl-form-page) :is(.page-toolbar,.pf-topbar-right,.bl-form-topbar-right) :is(.btn,.print-menu-trigger){font-size:12px!important;font-size:calc(12px*var(--ui-scale, 1))!important;gap:5px!important;height:28px!important;padding:0 8px!important}html:root body :is(.proforma-page,.bl-page,.product-page,.pf-page,.bl-form-page) :is(.page-toolbar,.pf-topbar-right,.bl-form-topbar-right) :is(.btn,.print-menu-trigger) svg{height:14px!important;width:14px!important}html:root body :is(.proforma-page,.bl-page,.product-page,.pf-page,.bl-form-page) :is(.page-toolbar,.pf-topbar-right,.bl-form-topbar-right) .btn .kbd-hint{font-size:9px!important;font-size:calc(9px*var(--ui-scale, 1))!important;margin-left:1px!important;min-width:0!important;opacity:.75;padding:0 3px!important}html:root body :is(.proforma-page,.bl-page,.product-page) .page-toolbar .search-box input{font-size:12px!important;font-size:calc(12px*var(--ui-scale, 1))!important;width:200px!important}html:root body :is(.proforma-page,.bl-page,.product-page) .page-toolbar :is(.drf-input,.stock-filter-select,.product-filter-status){font-size:12px!important;font-size:calc(12px*var(--ui-scale, 1))!important}html:root body :is(.proforma-page,.bl-page,.product-page) .page-toolbar :is(.ss-autocomplete-input,.ss-selected-overlay){font-size:12px!important;font-size:calc(12px*var(--ui-scale, 1))!important;height:var(--pro-control-h);padding-bottom:0!important;padding-top:0!important}html:root body .product-page .page-toolbar-filters{flex:1 1 62%;min-width:340px}html:root body .product-page .page-toolbar .search-box{flex:1 1 auto;min-width:0}html:root body .product-page .page-toolbar .search-box input{width:100%!important}html:root body .product-page .page-toolbar .product-filter-status{cursor:pointer;flex:0 0 auto;min-width:118px}html:root body .product-table tbody tr.product-row-inactive td{color:var(--pro-muted)!important;font-style:italic}html:root body :is(.pf-header-section,.bl-form-header-section):not(:has(input,textarea,.searchable-select)){gap:20px!important;padding:13px 16px!important}html:root body :is(.pf-header-section,.bl-form-header-section):not(:has(input,textarea,.searchable-select)) :is(.pf-header-fields,.bl-form-header-fields){gap:10px 26px!important}html:root body :is(.pf-header-section,.bl-form-header-section):not(:has(input,textarea,.searchable-select)) :is(.pf-field,.bl-form-field){gap:8px!important}html:root body :is(.pf-header-section,.bl-form-header-section):not(:has(input,textarea,.searchable-select)) :is(.pf-field,.bl-form-field)>label{font-size:10px!important;font-size:calc(10px*var(--ui-scale, 1))!important}html:root body :is(.pf-header-section,.bl-form-header-section):not(:has(input,textarea,.searchable-select)) :is(.pf-field-value,.bl-form-field-value){font-size:13.5px!important;font-size:calc(13.5px*var(--ui-scale, 1))!important}html:root body :is(.pf-header-section,.bl-form-header-section):not(:has(input,textarea,.searchable-select)) :is(.pf-grand-total,.bl-form-grand-total){padding:9px 14px!important}html:root body :is(.pf-header-section,.bl-form-header-section):not(:has(input,textarea,.searchable-select)) :is(.pf-grand-total-value,.bl-form-grand-total-value){font-size:20px!important;font-size:calc(20px*var(--ui-scale, 1))!important}html:root body .product-table tbody tr.product-row-low-stock td:not(.table-empty){background:var(--pro-danger-soft)!important;color:var(--pro-danger)!important}html:root body .product-table tbody tr.product-row-low-stock td:first-child{box-shadow:inset 3px 0 0 var(--pro-danger)}html:root body .product-table tbody tr.product-row-low-stock.selected td:not(.table-empty),html:root body .product-table tbody tr.product-row-low-stock:hover td:not(.table-empty){background:var(--pro-danger-border)!important}html:root body .product-table tbody tr.product-row-low-stock.product-row-inactive td:not(.table-empty){color:var(--pro-danger)!important}html:root body .table-footer-low-stock{align-items:center;background:var(--pro-danger-soft);border:1px solid var(--pro-danger-border);border-radius:999px;color:var(--pro-danger);display:inline-flex;font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1));font-weight:600;gap:5px;margin-left:12px;padding:2px 9px}html:root body .product-table td.td-check,html:root body .product-table th.th-check{padding-left:8px!important;padding-right:0!important;text-align:center;width:30px}html:root body .product-table td.td-check input,html:root body .product-table th.th-check input{accent-color:var(--pro-primary);cursor:pointer;height:14px;margin:0;vertical-align:middle;width:14px}html:root body .product-table tbody tr.product-row-low-stock td.td-check{box-shadow:inset 3px 0 0 var(--pro-danger)}html:root body .page-toolbar .btn-low-stock{color:var(--pro-danger)!important}html:root body .page-toolbar .btn-low-stock svg{color:var(--pro-danger)}html:root body .page-toolbar .btn-low-stock:hover:not(:disabled){background:var(--pro-danger-soft)!important;border-color:var(--pro-danger-border)!important}html:root body .page-toolbar .btn-order{color:var(--pro-success)!important}html:root body .page-toolbar .btn-order svg{color:var(--pro-success)}html:root body .page-toolbar .btn-order:hover:not(:disabled){background:var(--pro-success-soft)!important;border-color:var(--pro-success-border)!important}html:root body :is(.pf-lines-table,.bl-form-lines-table) .pf-line-inline-select{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:5px;color:var(--pro-text);cursor:pointer;font-family:inherit;font-size:12px;font-size:calc(12px*var(--ui-scale, 1));height:26px;min-width:52px;padding:0 4px;width:100%}html:root body :is(.pf-lines-table,.bl-form-lines-table) .pf-line-inline-select:focus{border-color:var(--pro-primary);box-shadow:0 0 0 2px var(--pro-primary-soft);outline:none}html:root body :is(.pf-lines-table,.bl-form-lines-table) .pf-line-inline-select option{background:var(--pro-surface);color:var(--pro-text)}@keyframes pro-line-flash{0%,70%{box-shadow:inset 0 0 0 999px var(--pro-primary-soft)}to{box-shadow:inset 0 0 0 999px #0000}}@keyframes pro-line-flash-edge{0%,70%{box-shadow:inset 0 0 0 999px var(--pro-primary-soft),inset 3px 0 0 var(--pro-primary)}to{box-shadow:inset 0 0 0 999px #0000,inset 3px 0 0 #0000}}html:root body :is(.pf-lines-table,.bl-form-lines-table) tbody tr.line-flash td{animation:pro-line-flash 2.4s ease-out}html:root body :is(.pf-lines-table,.bl-form-lines-table) tbody tr.line-flash td:first-child{animation-name:pro-line-flash-edge}html:root body .page-toolbar .btn.btn-square{justify-content:center;padding:0!important;width:var(--pro-control-h)}html:root body .page-toolbar .toolbar-divider{background:var(--pro-border-strong);height:16px;margin:0 3px;width:1px}html:root body .product-selection-bar{align-items:center;background:var(--pro-primary-soft);border:1px solid var(--pro-primary-soft);border-radius:var(--pro-radius);display:flex;flex-shrink:0;gap:10px;margin-bottom:8px;padding:5px 10px}html:root body .product-selection-bar .psb-count{align-items:center;color:var(--pro-primary);display:inline-flex;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));font-weight:600;gap:6px;margin-right:auto}html:root body .product-selection-bar .psb-count svg{height:14px;width:14px}html:root body .product-selection-bar .btn{background:var(--pro-surface)!important;border:1px solid var(--pro-success-border)!important;color:var(--pro-success)!important;font-size:12px!important;font-size:calc(12px*var(--ui-scale, 1))!important;height:26px!important;padding:0 10px!important}html:root body .product-selection-bar .btn svg{color:var(--pro-success);height:14px!important;width:14px!important}html:root body .product-selection-bar .btn:hover:not(:disabled){background:var(--pro-success-soft)!important}html:root body .product-selection-bar .psb-clear{background:#0000;border:none;color:var(--pro-primary);padding:0;text-decoration:underline}html:root body .pay-refund-btn,html:root body .product-selection-bar .psb-clear{cursor:pointer;font-family:inherit;font-size:12px;font-size:calc(12px*var(--ui-scale, 1))}html:root body .pay-refund-btn{align-self:center;background:var(--pro-surface);border:1px solid var(--pro-success-border);border-radius:6px;color:var(--pro-success);font-weight:600;margin-left:auto;padding:3px 10px}html:root body .pay-refund-btn:hover:not(:disabled){background:var(--pro-success-soft)}html:root body .pay-refund-btn:disabled{cursor:not-allowed;opacity:.45}html:root body .pay-refund-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008c;display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:1200}html:root body .pay-refund-modal{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);max-width:380px;padding:18px 20px;width:100%}html:root body .pay-refund-modal h2{color:var(--pro-text);font-size:15px;font-size:calc(15px*var(--ui-scale, 1));font-weight:700;margin:0 0 6px}html:root body .pay-refund-help{color:var(--pro-muted);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));line-height:1.45;margin:0 0 14px}html:root body .pay-refund-credit{align-items:center;background:var(--pro-success-soft);border:1px solid var(--pro-success-border);border-radius:7px;color:var(--pro-success);display:flex;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));justify-content:space-between;margin-bottom:14px;padding:7px 11px}html:root body .pay-refund-field{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}html:root body .pay-refund-field span{color:var(--pro-muted);font-size:11px;font-size:calc(11px*var(--ui-scale, 1));font-weight:600;letter-spacing:.04em;text-transform:uppercase}html:root body .pay-refund-field input{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:6px;color:var(--pro-text);font-family:inherit;font-size:13px;font-size:calc(13px*var(--ui-scale, 1));height:var(--pro-control-h);outline:none;padding:0 11px}html:root body .pay-refund-field input:focus{border-color:var(--pro-primary);box-shadow:0 0 0 3px var(--pro-primary-soft)}html:root body .pay-refund-error{background:var(--pro-danger-soft);border:1px solid var(--pro-danger-border);border-radius:6px;color:var(--pro-danger);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));margin-bottom:12px;padding:8px 11px}html:root body .pay-refund-actions{display:flex;gap:8px;justify-content:flex-end}html:root body .doc-validated-edit-banner{align-items:center;background:var(--pro-warning-soft);border:1px solid var(--pro-warning-border);border-radius:var(--pro-radius);color:var(--pro-warning);display:flex;flex-shrink:0;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));gap:8px;line-height:1.4;margin-bottom:8px;padding:6px 11px}html:root body .doc-validated-edit-banner svg{flex-shrink:0;height:15px;width:15px}html:root body :is(.proforma-table,.bl-table) td.td-child-doc{color:var(--pro-primary)!important;font-weight:600;white-space:nowrap}html:root body :is(.pf-lines-table,.bl-form-lines-table) tbody tr.line-stock-short td{box-shadow:inset 0 0 0 999px var(--pro-danger-soft)}html:root body :is(.pf-lines-table,.bl-form-lines-table) tbody tr.line-stock-short td:first-child{box-shadow:inset 0 0 0 999px var(--pro-danger-soft),inset 3px 0 0 var(--pro-danger)}html:root body .doc-stock-short-banner{align-items:flex-start;background:var(--pro-danger-soft);border:1px solid var(--pro-danger-border);border-radius:var(--pro-radius);color:var(--pro-danger);display:flex;flex-shrink:0;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));gap:9px;line-height:1.45;margin:0 0 8px;padding:8px 12px}html:root body .doc-stock-short-banner svg{flex-shrink:0;height:15px;margin-top:1px;width:15px}html:root body .doc-stock-short-banner ul{margin:3px 0 0;padding-left:16px}html:root body .doc-stock-short-banner li{margin-top:1px}html:root body .bl-form-lines-table td.td-cbm{font-feature-settings:"tnum";color:var(--pro-text-2)!important;font-variant-numeric:tabular-nums;text-align:right}html:root body .pf-foot-note{background:var(--pro-warning-soft);border:1px solid var(--pro-warning-border);border-radius:999px;color:var(--pro-warning);font-size:10.5px;font-size:calc(10.5px*var(--ui-scale, 1));font-weight:600;margin-left:8px;padding:1px 7px;white-space:nowrap}html:root body .bl-form-lines-table :is(td.td-charge,td.td-unit-cost){font-feature-settings:"tnum";color:var(--pro-text-2)!important;font-variant-numeric:tabular-nums}html:root body .bl-form-charges-chip{align-items:center;align-self:flex-end;background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:999px;color:var(--pro-text-2);cursor:pointer;display:inline-flex;font-family:inherit;font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1));font-weight:600;gap:5px;margin-bottom:3px;padding:2px 9px;transition:border-color .12s ease,color .12s ease}html:root body .bl-form-charges-chip svg{color:var(--pro-muted);height:13px;width:13px}html:root body .bl-form-charges-chip em{color:var(--pro-muted);font-style:normal;font-weight:500}html:root body .bl-form-charges-chip:hover{border-color:var(--pro-primary);color:var(--pro-primary)}html:root body .bl-form-charges-chip:hover svg{color:var(--pro-primary)}html:root body .bl-form-charges-chip.is-warning{background:var(--pro-warning-soft);border-color:var(--pro-warning-border);color:var(--pro-warning)}html:root body .bl-form-charges-chip.is-warning :is(svg,em){color:var(--pro-warning)}html:root body .doc-charges-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008c;display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:1200}html:root body .doc-charges-modal{background:var(--pro-surface);border:1px solid var(--pro-border);border-radius:var(--pro-radius);box-shadow:var(--pro-shadow);max-height:85vh;max-width:470px;overflow-y:auto;padding:16px 18px 14px;width:100%}html:root body .doc-charges-head{align-items:flex-start;display:flex;gap:12px;margin-bottom:12px}html:root body .doc-charges-head h2{color:var(--pro-text);font-size:15px;font-size:calc(15px*var(--ui-scale, 1));font-weight:700;margin:0}html:root body .doc-charges-head p{color:var(--pro-muted);font-size:11.5px;font-size:calc(11.5px*var(--ui-scale, 1));line-height:1.45;margin:4px 0 0}html:root body .doc-charges-close{background:#0000;border:none;border-radius:6px;color:var(--pro-muted);cursor:pointer;flex-shrink:0;font-size:20px;font-size:calc(20px*var(--ui-scale, 1));height:24px;line-height:1;width:24px}html:root body .doc-charges-close:hover{background:var(--pro-surface-2);color:var(--pro-text)}html:root body .doc-charges-table{border-collapse:collapse;width:100%}html:root body .doc-charges-table th{background:var(--pro-head-bg);border-bottom:1px solid var(--pro-border);color:var(--pro-head-text);font-size:10.5px;font-size:calc(10.5px*var(--ui-scale, 1));font-weight:700;letter-spacing:.04em;padding:4px 8px;text-align:left;text-transform:uppercase}html:root body .doc-charges-table th.th-total{text-align:right}html:root body .doc-charges-table td{border-bottom:1px solid var(--pro-border-soft);color:var(--pro-text-2);font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));padding:4px 8px}html:root body .doc-charges-table td.td-total{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-align:right}html:root body .doc-charges-table input{background:var(--pro-surface);border:1px solid var(--pro-border-strong);border-radius:5px;color:var(--pro-text);font-family:inherit;font-size:12.5px;font-size:calc(12.5px*var(--ui-scale, 1));height:26px;outline:none;padding:0 8px;width:100%}html:root body .doc-charges-table td.td-total input{text-align:right}html:root body .doc-charges-table input:focus{border-color:var(--pro-primary);box-shadow:0 0 0 2px var(--pro-primary-soft)}html:root body .doc-charges-empty{color:var(--pro-muted);padding:14px 8px!important;text-align:center}html:root body .doc-charges-table tfoot td{border-bottom:0;border-top:1px solid var(--pro-border-strong);color:var(--pro-text);font-weight:700}html:root body .doc-charges-warning{background:var(--pro-warning-soft);border:1px solid var(--pro-warning-border);border-radius:7px;color:var(--pro-warning);font-size:12px;font-size:calc(12px*var(--ui-scale, 1));line-height:1.4;margin:10px 0 0;padding:7px 10px}html:root body .doc-charges-foot{align-items:center;display:flex;gap:8px;justify-content:space-between;margin-top:14px}html:root body .doc-charges-foot .btn:only-child{margin-left:auto}html:root body .btn-back{flex:0 0 34px;height:34px;min-width:34px;padding:0!important;width:34px}html:root body .btn-back svg{display:block;flex:0 0 18px;height:18px!important;min-width:18px;overflow:visible;width:18px!important}body.theme-color{--c-nav:#173f85;--c-nav-dark:#123369;--c-nav-text:#e1eaf8;--c-nav-muted:#9db8e3;--c-top:#1f56b3;--c-top-dark:#18468f;--c-grid:#0b78a8;--c-grid-dark:#085d84;--c-grid-soft:#d6ecf6;--c-grid-line:#a3d0e6;--c-band:#dce7f8;--c-accent:#ffc83d;--c-accent-soft:#ffecb0;--c-accent-line:#f0a81e;--pro-bg:#eef3fa;--pro-surface:#fff;--pro-surface-2:#f4f7fc;--pro-border:#c3d2ea;--pro-border-strong:#9bb3da;--pro-border-soft:#dce5f3;--pro-text:#0e2247;--pro-text-2:#1d3359;--pro-muted:#52678b;--pro-primary-soft:#d9e6fa;--pro-row-alt:#e9f4fa;--pro-row-hover:#d3eaf5}body.theme-color.palette-emerald{--c-nav:#0b3b30;--c-nav-dark:#072b23;--c-nav-text:#dcf1ea;--c-nav-muted:#8cc7b4;--c-top:#0c7f5e;--c-top-dark:#09664b;--c-grid:#0d7480;--c-grid-dark:#0a5a64;--c-grid-soft:#d5edef;--c-grid-line:#a3d2d6;--c-band:#dcf1e8;--pro-bg:#edf6f2;--pro-surface-2:#f2f9f6;--pro-border:#bcd8cd;--pro-border-strong:#94bfae;--pro-border-soft:#d8e9e2;--pro-text:#0c2a22;--pro-text-2:#1b3f35;--pro-muted:#4b6b61;--pro-primary-soft:#d5efe4;--pro-row-alt:#e7f5f6;--pro-row-hover:#d2ecee}body.theme-color.palette-orchid{--c-nav:#2a1a52;--c-nav-dark:#1e1140;--c-nav-text:#e7e0f7;--c-nav-muted:#b3a2de;--c-top:#6a3fc8;--c-top-dark:#5530a8;--c-grid:#4250c4;--c-grid-dark:#333fa3;--c-grid-soft:#dfe2f8;--c-grid-line:#b5bbec;--c-band:#e8e1f8;--pro-bg:#f2effa;--pro-surface-2:#f7f5fc;--pro-border:#cdc3e6;--pro-border-strong:#ab9cd3;--pro-border-soft:#e2dcf1;--pro-text:#1f1440;--pro-text-2:#33265a;--pro-muted:#635a85;--pro-primary-soft:#e6dcf9;--pro-row-alt:#eff0fc;--pro-row-hover:#dfe2f8}body.theme-color{--pro-primary:var(--c-top);--pro-primary-hover:var(--c-top-dark);--pro-row-selected:var(--c-accent-soft);--pro-row-selected-line:var(--c-accent-line);--pro-head-bg:var(--c-grid);--pro-head-text:#fff;--pro-danger:#b3261e;--pro-danger-soft:#fde7e5;--pro-danger-border:#f6c1bc;--pro-success:#1b6e37;--pro-success-soft:#e0f5e6;--pro-success-border:#9ad6ac;--pro-warning:#8a4b00;--pro-warning-soft:#fff3d6;--pro-warning-border:#f2cf7e;--pro-shadow:0 1px 2px #0d224014,0 2px 6px #0d22400f}body.light-theme.theme-color{background:var(--pro-bg);color:var(--pro-text)}body.theme-color .header{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--c-top);border-bottom:1px solid var(--c-top-dark);box-shadow:0 2px 8px #0d22402e}body.theme-color :is(.menu-toggle,.header-title,.header-logo,.user-name){color:#fff}body.theme-color .menu-toggle:hover{background:#ffffff29}body.theme-color .user-info{background:#00000024;border-color:#fff3}body.theme-color .user-avatar{background:var(--c-accent);color:var(--c-nav-dark)}body.theme-color .user-role{color:#ffffffd1}body.theme-color :is(.company-button,.icon-button,.density-toggle,.logout-button){background:#ffffff1f;border-color:#ffffff3d;color:#fff}body.theme-color :is(.company-button,.icon-button).active,body.theme-color :is(.company-button,.icon-button,.density-toggle):hover{background:#fff;border-color:#fff;color:var(--c-top-dark)}body.theme-color .logout-button:hover{background:#c0392b;border-color:#c0392b;color:#fff}body.theme-color .sidebar{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--c-nav);border-right:1px solid var(--c-nav-dark)}body.theme-color :is(.nav-section-title,.nav-section-chevron){color:var(--c-nav-muted)}body.theme-color .nav-section-header:hover{background:#ffffff14}body.theme-color .nav-item{color:var(--c-nav-text)}body.theme-color .nav-item .nav-icon{color:var(--c-nav-muted)}body.theme-color .nav-item:hover{background:#ffffff1a;color:#fff}body.theme-color .nav-item:hover .nav-icon{color:#fff}body.theme-color .nav-item.active{background:var(--c-accent);border-color:var(--c-accent);color:var(--c-nav-dark);font-weight:700}body.theme-color .nav-item.active .nav-icon{color:var(--c-nav-dark)}body.theme-color .sidebar::-webkit-scrollbar-thumb{background:#ffffff47}html:root body.theme-color :is(.customer-count,.supplier-count,.famille-count,.unit-count,.depot-count,.product-count,.proforma-count,.bl-count,.stock-count){background:var(--pro-primary-soft)!important;border-color:#0000!important;color:var(--c-top-dark)!important;font-weight:600!important}html:root body.theme-color :is(.page-toolbar,.bl-form-topbar-right,.pf-topbar-right,.productform-actions){background:var(--c-band);border-color:var(--pro-border)}html:root body.theme-color :is(.table-footer-bar,.releve-footer){background:var(--c-grid-soft)!important;border-color:var(--c-grid-line)!important}html:root body.theme-color :is(.table-footer-total,.releve-footer-totals>span){border-left-color:var(--c-grid-line)}html:root body.theme-color .releve-footer-totals>span>strong,html:root body.theme-color .table-footer-total strong{color:var(--c-grid-dark)!important}html:root body.theme-color :is(.customer-table-wrapper,.supplier-table-wrapper,.famille-table-wrapper,.unit-table-wrapper,.depot-table-wrapper,.product-table-wrapper,.proforma-table-wrapper,.bl-table-wrapper,.stock-table-wrapper,.ph-table-wrapper,.releve-table-wrapper,.pp-table-wrapper,.pm-table-wrapper,.payment-invoices-wrapper,.bl-form-lines-wrapper,.pf-lines-wrapper,.productform-units-table-wrapper,.sp-table-wrapper){border-color:var(--c-grid-line)!important}html:root body.theme-color :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) th{background:linear-gradient(#ffffff47,#ffffff47) 0 /1px 14px no-repeat,var(--pro-head-bg)!important;border-bottom-color:var(--c-grid-dark)!important}html:root body.theme-color :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) th:first-child{background:var(--pro-head-bg)!important}html:root body.theme-color th.th-sortable:hover{color:var(--c-accent)!important}html:root body.theme-color th.th-sortable .th-sort-icon{opacity:.6}html:root body.theme-color th.th-sortable:hover .th-sort-icon,html:root body.theme-color th:is(.th-sorted-asc,.th-sorted-desc) .th-sort-icon{color:var(--c-accent);opacity:1}html:root body.theme-color :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.releve-table,.pp-table,.pm-table,.payment-invoices-table,.bl-form-lines-table,.pf-lines-table,.productform-units-table,.sp-table) tbody tr:not(.selected) td:not(.table-empty){border-bottom-color:var(--c-grid-soft)!important}html:root body.theme-color :is(.bl-form-lines-table,.pf-lines-table) tfoot td{background:var(--c-grid-soft)!important;border-top-color:var(--c-grid-line)!important;color:var(--pro-text)!important}html:root body.theme-color :is(.customer-table,.supplier-table,.famille-table,.unit-table,.depot-table,.product-table,.proforma-table,.bl-table,.stock-table,.ph-table,.pp-table,.pm-table,.payment-invoices-table,.sp-table) tbody tr.selected td:first-child{box-shadow:inset 4px 0 0 var(--c-accent-line)}html:root body.theme-color :is(.bl-stock-table,.stock-detail-table,.stock-items-table,.ph-detail-table,.phm-table,.sp-history-table,.calc-table,.rh-changes,.users-table,.doc-charges-table) th{background:var(--pro-head-bg)!important;border-color:var(--c-grid-dark)!important;color:var(--pro-head-text)!important}body.light-theme.theme-color .modal{border-color:var(--pro-border-strong);box-shadow:0 24px 60px #0d22404d}body.light-theme.theme-color .modal-header{background:var(--c-top);border-radius:15px 15px 0 0;padding:13px 16px 13px 22px}body.light-theme.theme-color .modal-header h2{color:#fff}body.light-theme.theme-color .modal-close{color:#ffffffd1}body.light-theme.theme-color .modal-close:hover{background:#fff3;color:#fff}html:root body.theme-color :is(.bl-form-header-section,.pf-form-header-section,.pf-header-section,.bl-form-add-line,.pf-add-line){border-top:3px solid var(--c-top)!important}body.theme-color .settings-card{border-top:3px solid var(--c-top)}body.light-theme.theme-color :is(.stat-card,.company-card){border-color:var(--pro-border);box-shadow:var(--pro-shadow)}html:root body.theme-color :is(.bl-form-grand-total,.pf-grand-total){background:var(--c-accent-soft)!important;border-color:var(--c-accent-line)!important}html:root body.theme-color :is(.bl-form-grand-total-value,.pf-grand-total-value){color:var(--pro-text)!important}body.theme-color .main-content :is(input,select,textarea):not([type=checkbox]):not([type=radio]){border-color:var(--pro-border-strong)}body.theme-color .main-content :is(input,select,textarea):focus{border-color:var(--c-top)}body.theme-color ::selection{background:var(--c-accent-soft);color:var(--pro-text)}body.theme-color .main-content ::-webkit-scrollbar-thumb{background:var(--pro-border-strong);border-radius:6px}body.light-theme.theme-color :is(.btn-primary,.btn-add,.btn-save){background:var(--c-top)!important;border-color:var(--c-top-dark)!important}body.light-theme.theme-color :is(.btn-primary,.btn-add,.btn-save):hover:not(:disabled){background:var(--c-top-dark)!important}body.light-theme.theme-color .btn-back{background:#fff;border-color:var(--pro-border-strong);box-shadow:var(--pro-shadow);color:var(--c-top-dark)}body.light-theme.theme-color .btn-back svg{stroke-width:2.5}body.light-theme.theme-color .btn-back:hover{background:var(--c-top);border-color:var(--c-top);color:#fff}body.light-theme.theme-color .searchable-select-trigger.open{border-color:var(--c-top);box-shadow:0 0 0 3px var(--pro-primary-soft)}body.light-theme.theme-color .ss-option-highlighted,body.light-theme.theme-color .ss-option:hover{background:var(--pro-row-hover);color:var(--pro-text)}body.light-theme.theme-color .ss-option-selected,body.light-theme.theme-color .ss-option-selected.ss-option-highlighted{background:var(--pro-primary-soft);color:var(--c-top-dark);font-weight:600}