@media screen{:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--radius-control:8px;--radius-card:12px;--radius-dialog:16px;--shadow-card:0 1px 3px rgb(16 24 40/3%);--shadow-popover:0 12px 32px rgb(16 24 40/12%);--surface-subtle:#f8f9fc;--border-strong:#d3d8e3;--success-soft:#edf8f1;--warning-soft:#fff8eb;--danger-soft:#fff2f1}.app-shell{font-size:calc(14px * var(--ui-font-scale));line-height:1.55}.ui-icon{display:inline-block;flex-shrink:0;vertical-align:middle}.app-shell .topbar{background:var(--surface);backdrop-filter:none;gap:16px}.app-shell .topbar-title{min-width:0}.app-shell .topbar-title strong{line-height:1.45;font-size:calc(16px * var(--ui-font-scale))}.app-shell .side-nav :is(a,button){min-height:44px;font-size:calc(14px * var(--ui-font-scale));gap:12px}.app-shell .side-nav :is(a,button).active{background:var(--primary-light);color:var(--primary);box-shadow:none}.app-shell .nav-mark{display:grid;place-items:center}.app-shell .business-block{background:var(--surface)}.app-shell .business-block strong{font-size:calc(13px * var(--ui-font-scale))}.app-shell .business-block small{font-size:calc(11px * var(--ui-font-scale))}.app-shell .notification{display:grid;place-items:center}.app-shell .global-search{border-color:var(--border)}.app-shell :is(.dashboard-page-heading,.page-heading,.products-heading,.products-page-heading,.purchases-heading,.dealers-heading,.finance-heading,.inventory-heading,.report-heading,.returns-heading,.users-heading,.settings-heading,.documents-heading,.library-heading,.activity-heading,.product-form-heading,.product-detail-heading){gap:var(--space-4);margin-bottom:var(--space-6);flex-wrap:wrap}.app-shell :is(.workspace,.purchase-review-workspace) h1:not(.business-document *){font-size:calc(26px * var(--ui-font-scale));line-height:1.4;letter-spacing:-.3px}.app-shell :is(.dashboard-panel,.settings-card,.product-info-card,.product-history-card,.product-tab-panel,.finance-panel,.inventory-panel,.users-panel,.activity-panel,.report-data-panel,.dealer-profile-panel,.return-form-panel,.return-side-panel,.purchase-form-card,.purchase-review-card,.detail-card,.account-card,.dealer-card,.document-card,.expense-list-panel,.product-table-panel,.purchase-table-panel,.dealer-table-panel,.finance-table-panel){border-color:var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow-card);background-image:none}.app-shell :is(.dashboard-panel,.settings-card,.purchase-form-card,.purchase-review-card,.product-info-card,.detail-card,.return-form-panel)>header{padding:var(--space-4) var(--space-5);gap:var(--space-3)}.app-shell :is(.dashboard-panel,.settings-card,.purchase-form-card,.purchase-review-card,.product-info-card,.detail-card,.return-form-panel) h2{font-size:calc(18px * var(--ui-font-scale));line-height:1.5}.app-shell :is(.dashboard-panel,.settings-card,.purchase-form-card,.purchase-review-card,.product-info-card) h3{font-size:calc(15px * var(--ui-font-scale));line-height:1.5}.app-shell :is(.primary-button,.secondary-button,.danger-button){min-height:44px;padding:9px 16px;border-radius:var(--radius-control);font-size:calc(14px * var(--ui-font-scale));line-height:1.5;gap:8px;box-shadow:none;white-space:normal;text-align:center}.app-shell :is(.primary-button,.secondary-button,.danger-button):disabled{cursor:not-allowed;opacity:.55}.app-shell :is(button,a,input,select,textarea):focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 35%,transparent);outline-offset:3px}.app-shell :is(.field,.settings-field){min-width:0;gap:6px;font-size:calc(13px * var(--ui-font-scale));line-height:1.5}.app-shell :is(.field,.settings-field) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){min-height:44px;min-width:0;max-width:100%;border-color:var(--border-strong);border-radius:var(--radius-control);font-size:calc(14px * var(--ui-font-scale));line-height:1.5;padding:9px 12px;box-shadow:none}.app-shell :is(.field,.settings-field) :is(input,select,textarea):disabled{background:var(--surface-subtle);color:var(--secondary);cursor:not-allowed}.app-shell :is(.field,.settings-field) small{font-size:calc(12px * var(--ui-font-scale));line-height:1.6;color:var(--secondary)}.app-shell :is(input[type=checkbox],input[type=radio]){accent-color:var(--primary)}.app-shell :is(.product-controls,.purchase-controls,.inventory-filters,.expense-filters,.report-filter-bar,.library-filters,.activity-filters,.dealer-controls,.users-controls){border-color:var(--border);border-radius:var(--radius-card);gap:12px}.app-shell :is(.product-tabs,.purchase-tabs,.finance-tabs,.inventory-tabs,.returns-tabs,.users-tabs,.analysis-tabs,.dealer-detail-tabs,.product-detail-tabs){gap:4px}.app-shell :is(.product-tabs,.purchase-tabs,.finance-tabs,.inventory-tabs,.returns-tabs,.users-tabs,.analysis-tabs,.dealer-detail-tabs,.product-detail-tabs) :is(button,a){min-height:44px;padding:8px 12px;font-size:calc(13px * var(--ui-font-scale));line-height:1.5}.app-shell :is(.product-table,.purchase-table,.finance-table,.dealer-table,.inventory-table,.users-table,.activity-table,.report-table,.transaction-table,.history-table) :is(th,td){padding:14px 16px;font-size:calc(13px * var(--ui-font-scale));line-height:1.6;vertical-align:middle}.app-shell :is(.product-table,.purchase-table,.finance-table,.dealer-table,.inventory-table,.users-table,.activity-table,.report-table,.transaction-table,.history-table) th{background:var(--surface-subtle);color:var(--secondary);font-weight:600}.app-shell :is(.stock-badge,.role-badge,.aging-badge,.direction-badge,.audit-action-badge,.pnl-badge){font-size:calc(12px * var(--ui-font-scale));line-height:1.5;border-radius:6px;padding:3px 8px}.app-shell :is(.overview-card,.product-summary-card,.finance-summary-grid article,.dealer-summary-grid article,.purchase-summary-grid article,.profit-summary-grid article,.report-summary-grid article,.user-summary-grid article,.product-detail-metrics article){padding:20px;border-radius:var(--radius-card);box-shadow:none;background-image:none}.app-shell :is(.overview-card>strong,.stock-metric-grid strong,.product-summary-card>strong,.product-detail-metrics article>strong,.user-summary-grid article>strong,.finance-summary-grid article>strong,.dealer-summary-grid article>strong,.purchase-summary-grid article>strong,.profit-summary-grid article>strong,.report-summary-grid article>strong){font-family:var(--font-anek),var(--font-inter),sans-serif;font-size:calc(28px * var(--ui-font-scale));font-weight:600;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.app-shell .overview-card:after{display:none}.app-shell :is(.overview-card small,.overview-card-top>span,.stock-metric-grid span){font-size:calc(12px * var(--ui-font-scale));line-height:1.5}.app-shell .dashboard-quick-actions :is(a,button){min-height:76px;gap:12px;box-shadow:none}.app-shell .dashboard-quick-actions strong{font-size:calc(14px * var(--ui-font-scale));line-height:1.5}.app-shell .dashboard-quick-actions small{font-size:calc(12px * var(--ui-font-scale));white-space:normal;line-height:1.5}.app-shell :is(.search-results,.notification-menu,.user-menu){box-shadow:var(--shadow-popover);border-radius:12px}.app-shell .notification-row{gap:12px}.app-shell .notification-row :is(p,time,em){line-height:1.6}.app-shell .settings-nav :is(a,button){min-height:48px}.app-shell .advanced-product-line{border-radius:10px;box-shadow:none}.app-shell .purchase-form-card>header{flex-wrap:wrap}.app-shell .purchase-form-card>header>div:not(.advanced-editor-header-actions){flex:1 1 190px;min-width:min(190px,100%)}.app-shell .purchase-form-card>header>.advanced-editor-header-actions{flex:1 1 220px;flex-wrap:wrap;justify-content:flex-start}.app-shell .transaction-section-toggle{margin-left:auto;min-height:44px}.app-shell .transaction-section-toggle>small{font-size:calc(12px * var(--ui-font-scale))}.app-shell .advanced-line-footer{flex-wrap:wrap;align-items:center}.app-shell .advanced-line-footer>button{flex:0 0 auto;max-width:100%;min-height:44px;padding:8px 12px}.app-shell .purchase-document-sticky>header{padding:12px 16px;gap:12px;flex-wrap:wrap}.app-shell .purchase-document-sticky>header>div{flex-wrap:wrap;gap:6px}.app-shell .purchase-document-sticky>header button{min-height:36px;min-width:36px;border-radius:8px}.app-shell .sale-payment-actions>button{min-height:44px;padding:10px 16px;border:1px solid var(--primary);background:var(--primary-light);color:var(--primary);box-shadow:none;font-size:calc(14px * var(--ui-font-scale))}.app-shell .advanced-unit-row{box-shadow:none}.app-shell :is(.purchase-review-toolbar,.new-transaction-toolbar){gap:12px;border-radius:10px;box-shadow:none}.calculator-window{box-shadow:0 12px 32px rgb(16 24 40/12%)}.calculator-window-header{background:#f8f8ff}.app-shell .setting-field{font-size:calc(13px * var(--ui-font-scale));line-height:1.5;gap:6px}.app-shell .setting-field :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:44px;font-size:calc(14px * var(--ui-font-scale));border-color:var(--border-strong);border-radius:var(--radius-control)}.app-shell .settings-nav button{gap:12px;padding:12px}.app-shell .settings-nav button.active{background:var(--primary-light);color:var(--primary)}.app-shell .settings-nav button.active i{background:var(--surface);color:var(--primary)}.app-shell .settings-nav strong{font-size:calc(14px * var(--ui-font-scale))}.app-shell .settings-nav small{font-size:calc(11px * var(--ui-font-scale));line-height:1.5}.app-shell .settings-logo-copy :is(p,small){font-size:calc(12px * var(--ui-font-scale));line-height:1.6}.app-shell .overview-grid{margin-top:20px}.app-shell .backup-summary{background-image:none;box-shadow:none}.app-shell .ui-state{line-height:1.6}.app-shell .ui-state>i{display:grid;place-items:center;box-shadow:none}.dialog-panel{border:1px solid var(--border);border-radius:16px;box-shadow:0 20px 60px rgb(16 24 40/18%)}.dialog-panel :is(.dialog-header,.dialog-footer){gap:12px;padding:20px 24px}.dialog-panel .dialog-body{padding:24px}:is(.app-shell,.dialog-panel) :is(button,a):has(>.ui-icon){align-items:center;gap:8px}:is(.app-shell,.dialog-panel) :is(.row-actions,.user-menu,.create-menu) :is(button,a):has(>.ui-icon){justify-content:flex-start}.row-actions>summary{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:6px;border-radius:var(--radius-control)}.row-actions>div{border-radius:var(--radius-card);border-color:var(--border);box-shadow:var(--shadow-popover);padding:6px}.row-actions>div :is(a,button){min-height:40px;padding:9px 12px;font-size:calc(14px * var(--ui-font-scale));line-height:1.5;gap:8px;border-radius:6px}.dialog-panel :is(.primary-button,.secondary-button,.danger-button){min-height:44px;padding:9px 16px;font-size:calc(14px * var(--ui-font-scale));line-height:1.5;border-radius:var(--radius-control);box-shadow:none}.dialog-panel .field{min-width:0;gap:6px;align-content:start;font-size:calc(14px * var(--ui-font-scale))}.dialog-panel .form-grid{align-content:start}.dialog-panel .field :is(input:not([type=checkbox]):not([type=radio]),select){height:44px;align-self:start}.dialog-panel .field :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:44px;min-width:0;width:100%;padding:9px 12px;font-size:calc(14px * var(--ui-font-scale));border-radius:var(--radius-control);border-color:var(--border-strong)}.dialog-panel .dialog-header>button{width:40px;min-height:40px;flex-shrink:0}.dialog-panel h2{font-size:calc(20px * var(--ui-font-scale));line-height:1.45}.dialog-panel :is(.field small,.dialog-header p){font-size:calc(12px * var(--ui-font-scale));line-height:1.6}.dialog-panel :is(button,a,input,select,textarea):focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 35%,transparent);outline-offset:3px}.app-shell :is(.product-table-wrap,.purchase-table-wrap,.finance-table-wrap,.dealer-table-wrap,.inventory-table-wrap,.users-table-wrap,.activity-table-wrap,.report-table-wrap,.transaction-table-wrap,.history-table-wrap) :is(th,td){font-size:calc(14px * var(--ui-font-scale));line-height:1.55;padding:12px 16px;vertical-align:middle}.app-shell :is(.product-table-wrap,.purchase-table-wrap,.finance-table-wrap,.dealer-table-wrap,.inventory-table-wrap,.users-table-wrap,.activity-table-wrap,.report-table-wrap,.transaction-table-wrap,.history-table-wrap) th{background:var(--surface-subtle);color:var(--secondary);font-size:calc(12px * var(--ui-font-scale));font-weight:600}.app-shell :is(.purchase-status,.table-status,.user-status,.product-active-status,.report-status,.cheque-status,.detail-status,.purchase-draft-label){font-size:calc(12px * var(--ui-font-scale));line-height:1.5;border-radius:6px;padding:3px 8px;white-space:normal;display:inline-block;max-width:100%}.app-shell :is(.purchase-due,.report-negative,.report-positive,.ui-money,.advanced-net-total,.part-total){font-variant-numeric:tabular-nums;text-align:right}.app-shell :is(.purchase-total-editor,.create-total-card,.profit-overview-grid aside) :is(dd,strong){font-variant-numeric:tabular-nums}.app-shell .purchase-total-editor :is(dt,dd){font-size:calc(14px * var(--ui-font-scale));line-height:1.6}.app-shell .purchase-total-editor dd{text-align:right;margin-left:12px}.app-shell .advanced-product-line{background:var(--surface)}.app-shell .advanced-unit-row{background:var(--surface-subtle);border-color:transparent;border-radius:var(--radius-control)}.app-shell .settings-logo-card{background:var(--surface);box-shadow:none}.app-shell .settings-nav button.active :is(small,b){color:var(--secondary)}.app-shell .advanced-line-footer>.advanced-net-total{margin-left:auto}.app-shell .settings-card .settings-card{box-shadow:none;border-color:transparent;border-radius:0}.app-shell .side-nav :is(a,button)>span:last-child{white-space:normal;line-height:1.5}.app-shell .side-nav .active .ui-icon{stroke-width:2}.app-shell .global-search{min-width:0}.app-shell .global-search>span{display:inline-flex;flex:0 0 auto}.app-shell .global-search input{min-width:0}.app-shell .notification-row>i{display:grid;place-items:center}.app-shell :is(.purchase-preview-stage,.document-preview-stage){background:#eef0f5}.app-shell .ui-state{border-style:solid;border-color:transparent;background:transparent}.app-shell .ui-state p{max-width:48ch;margin-inline:auto;font-size:calc(14px * var(--ui-font-scale))}.app-shell :is(.advanced-editor-header-actions,.field-label-action) :is(button,a){min-height:36px;line-height:1.5;font-size:calc(12px * var(--ui-font-scale))}@media (min-width:1280px){.app-shell :is(.products-workspace,.purchases-workspace,.sales-workspace,.finance-workspace,.inventory-workspace,.reports-workspace,.settings-workspace){max-width:1680px;width:100%}}@media (max-width:780px){.app-shell :is(.row-actions>summary,.row-actions>div a,.row-actions>div button){min-height:44px}.app-shell :is(.purchase-total-editor,.create-total-card){padding:16px}.app-shell .responsive-card-table td{padding:10px 12px}.app-shell .responsive-card-table .ui-money{text-align:inherit}.dialog-panel .dialog-footer{gap:8px}}@media (max-width:1024px){.app-shell .dashboard-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:780px){.app-shell :is(.workspace,.purchase-review-workspace) h1:not(.business-document *){font-size:calc(24px * var(--ui-font-scale))}.app-shell .topbar{gap:8px;padding-inline:12px}.app-shell :is(.overview-card,.product-summary-card,.purchase-summary-grid article,.finance-summary-grid article){padding:16px}.app-shell :is(.overview-card>strong,.purchase-summary-grid article>strong,.finance-summary-grid article>strong){font-size:calc(24px * var(--ui-font-scale))}.app-shell :is(.dashboard-panel,.settings-card,.purchase-form-card,.purchase-review-card)>header{padding:16px;flex-wrap:wrap}.dialog-panel :is(.dialog-header,.dialog-footer,.dialog-body){padding:16px}}@media (max-width:480px){.app-shell .dashboard-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .dashboard-quick-actions :is(a,button){padding:12px;gap:8px}}@media (prefers-reduced-motion:reduce){.app-shell *,.dialog-panel *{scroll-behavior:auto;transition-duration:0s;animation-duration:.01ms;animation-iteration-count:1}}}@media screen{.transaction-validation-root{display:contents}.transaction-error-summary{margin:12px 0;padding:14px 18px;border-left:3px solid #c52c3e;border-radius:8px;background:#fff3f3;color:#9e2030}.transaction-error-summary ul{margin:6px 0 0;padding-left:20px}.transaction-error-summary button{background:none;border:0;padding:4px 0;text-align:left;color:inherit;text-decoration:underline;font:inherit;cursor:pointer}.transaction-field-error{display:block;grid-column:1/-1;font-size:13px;line-height:1.45;color:#b42335;padding-top:4px;white-space:normal}.transaction-field-error[hidden]{display:none}.purchase-review-workspace [aria-invalid=true]{border-color:#c52c3e!important;outline-color:#c52c3e}.purchase-review-workspace [data-field]{scroll-margin-block:130px}.transaction-view-controls{display:flex;align-items:center;gap:14px;padding:10px 0;color:var(--secondary);font-size:13px}.transaction-view-controls button{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--primary);font:inherit;min-height:40px;cursor:pointer}.purchase-review-split.transaction-split-resizable{align-items:start;gap:0}.transaction-split-resizable>:is(.purchase-form-stack,.purchase-edit-pane){container:transaction-form/inline-size;background:#fff;border:1px solid var(--border);border-radius:12px;padding:0;gap:0;min-width:0}.purchase-review-workspace .transaction-form-section{border:0;border-radius:0;box-shadow:none;background:transparent;margin:0;overflow:visible}.purchase-review-workspace .transaction-form-section+.transaction-form-section{border-top:1px solid #eaecf2}.purchase-review-workspace .transaction-form-section>header{padding:18px 20px 12px;background:transparent;border:0;gap:10px;flex-wrap:wrap}.transaction-form-section>header>div:first-of-type{flex:1;min-width:140px}.purchase-review-workspace .transaction-form-section>header h2{font-size:17px;line-height:1.5}.purchase-review-workspace .transaction-form-section>header p{font-size:13px;line-height:1.5}.purchase-review-workspace .transaction-section-toggle{flex:0 0 44px;min-width:44px;width:44px;height:44px;padding:0;background:transparent;border:0;margin-left:auto;display:grid;place-items:center}.transaction-section-summary{color:var(--secondary);overflow-wrap:anywhere}.purchase-review-workspace .advanced-editor-header-actions{margin:0;flex-wrap:wrap;gap:8px}.purchase-review-workspace .advanced-editor-header-actions button{border:0;background:transparent;padding:6px}.purchase-review-workspace .advanced-product-line{border:0;background:transparent;box-shadow:none;border-radius:0;padding:0}.purchase-review-workspace .advanced-product-line+.advanced-product-line{border-top:1px solid var(--border);padding-top:18px;margin-top:18px}.purchase-review-workspace .advanced-line-heading{grid-template-columns:minmax(0,1fr) auto 36px;gap:10px;padding:0 0 12px}.purchase-review-workspace .quantity-part-list{padding:0;background:transparent;border:0}.purchase-review-workspace .quantity-part-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px 0;border:0;border-top:1px dashed #e5e7ef;background:transparent;border-radius:0}.purchase-review-workspace .quantity-part-index{display:none}.purchase-review-workspace .quantity-part-row>label:first-of-type{grid-column:span 2}.purchase-review-workspace .quantity-part-row :is(.part-note,.part-total,.remove-quantity-part){grid-column:auto}.purchase-review-workspace .quantity-part-row .part-total{justify-self:end;align-self:center;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.purchase-review-workspace .quantity-part-row .remove-quantity-part{justify-self:end}.purchase-review-workspace .quantity-part-row label small{font-size:13px}.purchase-review-workspace .advanced-line-footer{display:flex;flex-wrap:wrap;gap:12px;background:transparent;border:0;padding:10px 0}.purchase-review-workspace .add-quantity-part{border:0;background:transparent;padding:8px 0}.purchase-review-workspace .line-discount-control{display:flex;flex-wrap:wrap;min-width:0}.purchase-review-workspace .line-discount-control :is(input,select){max-width:160px}.purchase-review-workspace .advanced-net-total{margin-left:auto;text-align:right}.purchase-review-workspace .purchase-total-editor{grid-template-columns:minmax(0,1fr);gap:20px}.purchase-review-workspace .purchase-total-editor dl{background:#f8f9fc;padding:16px;border-radius:8px}.purchase-review-workspace .purchase-total-editor dd{text-align:right;font-variant-numeric:tabular-nums}.purchase-review-workspace .purchase-preview-stage .live-document-scale{width:780px;max-width:none;zoom:var(--document-fit,1)}.purchase-review-workspace .purchase-document-sticky>header{flex-wrap:wrap;gap:10px}.purchase-review-workspace .purchase-document-sticky>header>div{flex-wrap:wrap;min-width:0}.purchase-review-workspace .attachment-thumbnails{flex-wrap:wrap;gap:6px}.purchase-review-workspace .purchase-document-sticky{box-shadow:none}.document-appearance-menu{position:relative}.document-appearance-menu summary{cursor:pointer;padding:8px 10px;border:1px solid var(--border);border-radius:6px;color:var(--primary);font-size:13px}.document-appearance-menu[open]>.document-identity-controls{position:absolute;top:100%;right:0;z-index:30;display:grid;gap:6px;min-width:180px;padding:10px;border:1px solid var(--border);border-radius:8px;background:white;box-shadow:0 8px 24px #2020441a}.purchase-review-workspace .purchase-preview-stage{min-height:420px;padding:16px;background:#e9ebf0}@container transaction-form (min-width: 700px){.purchase-review-workspace .quantity-part-row{grid-template-columns:minmax(150px,1.5fr) repeat(3,minmax(72px,1fr)) minmax(85px,auto) 44px}.purchase-review-workspace .quantity-part-row>label:first-of-type{grid-column:auto}.purchase-review-workspace .purchase-total-editor{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}@container transaction-form (max-width: 620px){.purchase-review-workspace .advanced-line-heading{grid-template-columns:minmax(0,1fr) 36px}.purchase-review-workspace .advanced-line-heading .product-combobox{grid-column:1/-1}.purchase-review-workspace .advanced-line-summary{text-align:left}.purchase-review-workspace .quantity-part-row,.purchase-review-workspace .split-payment-row{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-review-workspace .split-payment-row>label:first-child{grid-column:1/-1}.purchase-review-workspace .advanced-editor-header-actions{order:4;width:100%}.purchase-review-workspace .purchase-delivery-options{display:grid;grid-template-columns:1fr}}@container transaction-form (max-width: 400px){.purchase-review-workspace :is(.purchase-info-grid,.purchase-review-fields,.purchase-charge-fields,.purchase-attachment-grid,.attachment-upload-fields,.split-payment-row){grid-template-columns:minmax(0,1fr)}.purchase-review-workspace .span-2{grid-column:1/-1}.purchase-review-workspace .transaction-form-section>header{padding:16px 12px 10px}.purchase-review-workspace .customer-picker-row{flex-wrap:wrap}.purchase-review-workspace .customer-picker-row select{width:100%}.purchase-review-workspace .product-combobox-options button{flex-wrap:wrap}.purchase-review-workspace .product-combobox-options button b{width:100%;text-align:left}}@media (min-width:1025px){.purchase-review-split.transaction-split-resizable{grid-template-columns:minmax(320px,var(--transaction-left,47%)) 14px minmax(300px,1fr)}.purchase-review-split.transaction-split-resizable.preview-hidden{grid-template-columns:minmax(0,1fr)}.transaction-split-resizable.preview-hidden>:is(.transaction-split-handle,.purchase-document-pane){display:none}}@media (max-width:1024px){.transaction-view-controls{display:none}.purchase-review-split.transaction-split-resizable{display:block}.transaction-split-handle{display:none}.purchase-review-workspace .purchase-review-toolbar nav{flex-wrap:wrap}}.new-transaction-review .transaction-split-resizable>.purchase-form-stack{display:grid;gap:12px;border:0;background:transparent;box-shadow:none}.new-transaction-review .transaction-form-section{overflow:hidden;border:1px solid #e4e6f0;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(28,27,70,.04)}.new-transaction-review .transaction-form-section+.transaction-form-section{border-top:1px solid #e4e6f0}.new-transaction-review .transaction-form-section>header{min-height:64px;padding:12px 14px;background:#f6f5ff;border-bottom:1px solid #eceaf8}.new-transaction-review .transaction-form-section.is-collapsed>header{border-bottom-color:transparent}.new-transaction-review .transaction-form-section>header>span{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border:1px solid #ddd9ff;border-radius:999px;background:#fff;color:var(--primary);font:750 calc(12px * var(--ui-font-scale)) var(--font-inter)}.new-transaction-review .transaction-form-section>header h2{font-size:calc(16px * var(--ui-font-scale))}.new-transaction-review .transaction-form-section>header p{margin-top:2px;font-size:calc(12px * var(--ui-font-scale))}.new-transaction-review .transaction-section-toggle{width:32px;height:32px;min-width:32px;min-height:32px;flex-basis:32px;border:0;background:transparent}.new-transaction-review .purchase-attachment-grid,.new-transaction-review .purchase-info-grid{padding:14px;gap:12px}.new-transaction-review .purchase-attachment-grid>.span-2,.new-transaction-review .purchase-info-grid>.span-2{grid-column:1/-1}.new-transaction-review .sale-info-topline{display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.new-transaction-review .transaction-inline-create{min-height:44px;padding:0 12px;border:1px solid #d7d4f4;border-radius:9px;background:#fff;color:var(--primary);font-weight:700;white-space:nowrap;cursor:pointer}.new-transaction-review .transaction-inline-create:hover{background:#f6f5ff}.new-transaction-review .customer-picker-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}.new-transaction-review .customer-picker-row>button{min-height:44px;padding:0 12px;border:1px solid #d7d4f4;border-radius:9px;background:#fff;color:var(--primary);font-weight:700;cursor:pointer}.new-transaction-review .purchase-info-grid input[readonly]{background:#f7f8fa;color:#707789}.new-transaction-review .advanced-product-lines{display:grid;gap:12px;padding:14px;background:transparent}.new-transaction-review .advanced-product-line{overflow:visible;border:1px solid #e6e7f2;border-radius:12px;background:#fff;padding:12px;box-shadow:none}.new-transaction-review .advanced-product-line+.advanced-product-line{margin-top:0;padding-top:12px;border-top:1px solid #e6e7f2}.new-transaction-review .purchase-items-card>header{align-items:flex-start}.new-transaction-review .purchase-items-card>header>div:first-of-type{flex:0 1 auto}.new-transaction-review .product-count-pill{align-self:flex-start;margin-top:1px;padding:2px 10px;border-radius:999px;background:#fff;color:#3d3a9e;font-size:calc(12px * var(--ui-font-scale));font-weight:700;white-space:nowrap}.new-transaction-review .purchase-items-card .transaction-section-toggle{margin-left:auto}.new-transaction-review .purchase-items-card .advanced-editor-header-actions{flex:1 0 100%;justify-content:flex-start;gap:16px;padding-top:2px}.new-transaction-review .purchase-items-card .advanced-editor-header-actions button{min-height:28px;padding:0;border:0;background:transparent;color:var(--primary);font-size:calc(14px * var(--ui-font-scale));font-weight:700}.new-transaction-review .advanced-product-line{padding:14px 14px 8px;background:#fbfbfe}.new-transaction-review .advanced-line-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:end;padding:0;background:transparent;border:0}.new-transaction-review .advanced-line-heading .product-combobox{grid-column:1;grid-row:1}.new-transaction-review .product-combobox input{background-image:linear-gradient(45deg,transparent 50%,#667085 0),linear-gradient(135deg,#667085 50%,transparent 0);background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px);background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:34px}.new-transaction-review .advanced-line-heading .delete-purchase-line{grid-column:2;grid-row:1;align-self:end;width:42px;height:44px}.new-transaction-review .line-stock{grid-column:1;grid-row:2;display:grid;gap:2px}.new-transaction-review .line-stock>span{color:var(--secondary);font-size:calc(12px * var(--ui-font-scale))}.new-transaction-review .line-stock>strong{color:#067647;font-size:calc(22px * var(--ui-font-scale));font-weight:750;line-height:1.2}.new-transaction-review .line-stock>strong.danger-text{color:var(--danger-strong)}.new-transaction-review .advanced-line-summary{grid-column:2;grid-row:2;min-height:0;justify-items:end;text-align:right}.new-transaction-review .advanced-line-summary strong{color:#241f78;font-size:calc(22px * var(--ui-font-scale));font-weight:750}.new-transaction-review .quantity-part-list{padding:0}.new-transaction-review .quantity-part-row{grid-template-columns:minmax(150px,1.5fr) minmax(72px,.7fr) minmax(96px,.9fr) minmax(96px,.9fr) auto 36px;gap:8px;align-items:end;margin-top:12px;padding:12px 0 0;border:0;border-top:1px dashed #e4e6f0;border-radius:0;background:transparent}.new-transaction-review .quantity-part-index{display:none}.new-transaction-review .quantity-part-row label small{font-size:calc(12px * var(--ui-font-scale))}.new-transaction-review .part-total{color:#241f78;font-size:calc(16px * var(--ui-font-scale));font-weight:750}.new-transaction-review .add-quantity-part{flex:0 0 auto;width:auto;min-height:36px;padding:4px 0;border:0;border-radius:0;background:transparent;color:var(--primary);font-weight:700;text-align:left}.new-transaction-review .advanced-line-footer{align-items:end;margin-top:4px;padding-top:10px;border-top:1px solid #ececf3}.new-transaction-review .line-discount-control{margin-left:0}.new-transaction-review .advanced-net-total{margin-left:auto}.new-transaction-review .advanced-net-total strong{color:#241f78;font-size:calc(20px * var(--ui-font-scale))}.new-transaction-review .add-purchase-line{width:calc(100% - 28px);margin:0 14px 14px;min-height:44px;border:1px dashed #c5c2ef;border-radius:10px;background:#f7f6ff;color:var(--primary);font-weight:700}.new-transaction-review .pay-later-note{margin:14px}.new-transaction-review .sale-payment-actions{padding:0 14px 14px}.new-transaction-review .sale-payment-actions .add-split-payment{width:100%;border:1px dashed #c5c2ef;border-radius:10px;background:var(--primary-soft);color:var(--primary);box-shadow:none}.new-transaction-review .sale-payment-actions .add-split-payment:hover{background:#f3f1ff}.new-transaction-review .purchase-delivery-options{padding:14px;gap:10px}.new-transaction-review .purchase-delivery-options label{min-height:64px;align-items:center;border-radius:12px;background:#fff}.new-transaction-review .purchase-delivery-options label.selected{border-color:var(--primary);background:var(--primary-soft);box-shadow:none}.new-transaction-review .purchase-delivery-options strong{font-size:calc(13px * var(--ui-font-scale))}.new-transaction-review .attachment-dropzone{position:relative;min-height:148px;padding:22px 16px;display:grid;justify-items:center;align-content:center;gap:6px;border:1px dashed #c9c6ef;border-radius:12px;background:#fbfbff;color:var(--secondary);text-align:center;cursor:pointer}.new-transaction-review .attachment-dropzone strong{color:var(--text);font-size:calc(14px * var(--ui-font-scale))}.new-transaction-review .attachment-dropzone small{color:var(--muted)}.new-transaction-review .attachment-dropzone input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.new-transaction-review .attachment-chosen-list{margin:0;padding:0;display:grid;gap:6px;list-style:none}.new-transaction-review .attachment-chosen-list li{min-height:40px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--border);border-radius:8px;background:#fff;font-size:calc(12px * var(--ui-font-scale))}.new-transaction-review .attachment-chosen-list li span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.new-transaction-review .attachment-chosen-list button{flex:0 0 auto;min-height:28px;padding:0 8px;border:0;background:transparent;color:#b42318;font-weight:700;cursor:pointer}.new-transaction-review .create-total-card .purchase-total-editor{grid-template-columns:minmax(0,1fr)}.new-transaction-review .purchase-total-editor .grand{min-height:48px;margin-inline:0;padding-inline:14px;border-radius:8px}.new-transaction-review .purchase-total-editor .grand dd{font-size:calc(18px * var(--ui-font-scale))}.new-transaction-review .purchase-total-editor .success-text,.new-transaction-review .purchase-total-editor .success-text dd{color:#067647}@container transaction-form (min-width: 480px){.new-transaction-review .purchase-delivery-options{grid-template-columns:repeat(3,minmax(0,1fr))}}@container transaction-form (max-width: 420px){.new-transaction-review .customer-picker-row,.new-transaction-review .sale-info-topline{grid-template-columns:minmax(0,1fr)}.new-transaction-review .customer-picker-row>button,.new-transaction-review .transaction-inline-create{width:100%}}.purchase-review-workspace:not(.new-transaction-review) .line-stock{grid-column:1;grid-row:2;display:grid}.purchase-review-workspace:not(.new-transaction-review) .line-stock>span{color:var(--secondary);font-size:calc(12px * var(--ui-font-scale))}.purchase-review-workspace:not(.new-transaction-review) .advanced-line-summary{grid-column:2;grid-row:1}.purchase-review-workspace:not(.new-transaction-review) .advanced-line-heading>.delete-purchase-line{grid-column:3;grid-row:1}.product-count-pill{padding:2px 8px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:calc(11px * var(--ui-font-scale));font-weight:700;white-space:nowrap}.app-shell .new-transaction-review .purchase-items-card>header>div:first-of-type{flex:0 1 auto;min-width:0}.app-shell .new-transaction-review .purchase-items-card>header>.product-count-pill{order:2;align-self:flex-start;margin-top:2px;background:#fff}.app-shell .new-transaction-review .purchase-items-card>header>.transaction-section-toggle{order:4;margin-left:auto}.app-shell .new-transaction-review .purchase-items-card>header>.advanced-editor-header-actions{flex:1 0 100%;order:5;justify-content:flex-start;margin-left:38px;gap:18px}.app-shell .new-transaction-review .purchase-items-card .advanced-editor-header-actions button{min-height:32px;padding:0;border:0;background:transparent;box-shadow:none}.app-shell .new-transaction-review .advanced-line-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}.app-shell .new-transaction-review .advanced-line-heading .product-combobox{grid-column:1;grid-row:1}.app-shell .new-transaction-review .advanced-line-heading>.delete-purchase-line{grid-column:2;grid-row:1;justify-self:end;align-self:end}.app-shell .new-transaction-review .line-stock{grid-column:1;grid-row:2}.app-shell .new-transaction-review .line-stock>strong{display:block;color:#067647;font-size:calc(22px * var(--ui-font-scale));font-weight:750;line-height:1.15}.app-shell .new-transaction-review .advanced-line-summary{grid-column:2;grid-row:2;justify-items:end;text-align:right}.app-shell .new-transaction-review .advanced-line-summary strong{display:block;color:#241f78;font-size:calc(22px * var(--ui-font-scale));font-weight:750;white-space:nowrap}.app-shell .new-transaction-review .quantity-part-row{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(68px,.65fr) minmax(92px,.85fr) minmax(92px,.85fr) max-content 36px;align-items:end}.app-shell .new-transaction-review .quantity-part-row>.part-total,.app-shell .new-transaction-review .quantity-part-row>.remove-quantity-part,.app-shell .new-transaction-review .quantity-part-row>label{grid-column:auto;min-width:0}.app-shell .new-transaction-review .quantity-part-row .part-error,.app-shell .new-transaction-review .quantity-part-row .part-note{grid-column:1/-1}.app-shell .new-transaction-review .part-total{white-space:nowrap;justify-self:end}.app-shell .new-transaction-review .advanced-line-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px 16px;border-top:0;padding-top:8px}.app-shell .new-transaction-review .advanced-line-footer>.add-quantity-part{grid-column:1/-1;justify-self:start;width:auto;max-width:none;min-height:36px;padding:2px 0 8px;border:0;background:transparent;box-shadow:none}.app-shell .new-transaction-review .advanced-line-footer>.advanced-net-total,.app-shell .new-transaction-review .advanced-line-footer>.line-discount-control{border-top:1px solid #ececf3;padding-top:12px;margin:0}.app-shell .new-transaction-review .advanced-line-footer>.advanced-net-total{justify-self:end;text-align:right}}@media print{.document-appearance-menu,.transaction-error-summary,.transaction-field-error,.transaction-view-controls{display:none!important}}