.admin-shell-tabs .invoice-approved-layout{--invoice-ui-size:12px;--invoice-control-height:30px;direction:rtl;gap:7px!important;text-align:right;font-family:IRANSans,sans-serif!important;overflow:visible}.admin-shell-tabs .invoice-approved-layout>.invoice-bottom-dashboard,.admin-shell-tabs .invoice-approved-layout>.invoice-header-row{grid-column:1/-1;min-width:0;width:100%}.admin-shell-tabs .invoice-approved-layout .invoice-header-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(375px,445px);gap:8px;align-items:start;padding:7px;border:1px solid #e6dce6;border-radius:10px;background:#fff}.admin-shell-tabs .invoice-approved-layout .invoice-header-row>.invoice-party-section{grid-column:1;grid-row:1;min-width:0;min-height:0;margin:0;padding:2px!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible}.admin-shell-tabs .invoice-approved-layout .invoice-header-row>.invoice-topbar{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;align-content:start;min-height:0;min-width:0;width:100%;margin:0;padding:2px!important;background:transparent!important;border:0!important;box-shadow:none!important}.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-header-row>.invoice-topbar{grid-template-columns:repeat(4,minmax(0,1fr))!important}.admin-shell-tabs .invoice-approved-layout .invoice-header-row>.invoice-topbar .invoice-topbar-title{grid-column:1/-1;min-height:18px;padding:0 0 2px;border:0;display:flex;justify-content:flex-end}.admin-shell-tabs .invoice-approved-layout .invoice-header-row>.invoice-topbar label{display:grid;gap:3px!important;min-width:0;align-content:start;font-size:10.5px!important;font-weight:450!important}.admin-shell-tabs .invoice-approved-layout .invoice-header-row .invoice-party-row{display:grid;grid-template-columns:75px minmax(155px,1fr) 26px 26px minmax(110px,.65fr);gap:5px!important;align-items:end}.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-header-row .invoice-party-row{grid-template-columns:minmax(180px,1fr) 26px 26px minmax(120px,.6fr)}.admin-shell-tabs .invoice-approved-layout .invoice-header-row .invoice-party-row label{min-width:0;font-weight:450!important}.admin-shell-tabs .invoice-approved-layout .invoice-header-row .invoice-party-code input{text-align:center}.admin-shell-tabs .invoice-approved-layout .invoice-header-row .invoice-customer-facts{border:0;border-top:1px solid #eee6ed;margin-top:5px;padding-top:5px}.admin-shell-tabs .invoice-approved-layout .invoice-header-row .modern-date-field{display:block;width:100%;min-width:0;position:relative}.admin-shell-tabs .invoice-approved-layout .invoice-header-row .modern-date-field-label:empty{display:none}.admin-shell-tabs .invoice-approved-layout .modern-date-control{display:flex;width:100%;min-width:0;min-height:30px;align-items:center;border-radius:6px;border:1px solid #dfd1dd;background:#fff;position:relative}.admin-shell-tabs .invoice-approved-layout .modern-date-control>input{width:100%;min-width:0;border:0!important;box-shadow:none!important;background:transparent;height:28px!important;min-height:28px!important;padding:2px 4px!important;font-size:11.5px!important;direction:ltr;text-align:center}.admin-shell-tabs .invoice-approved-layout .modern-date-calendar-button{flex:0 0 25px;height:26px;width:25px;min-width:25px;min-height:26px;padding:3px;border:0;border-inline-start:1px solid #eee1eb;border-radius:5px;background:#f8f3f7;color:#8a235e;cursor:pointer}.admin-shell-tabs .invoice-approved-layout .modern-date-calendar-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}.admin-shell-tabs .invoice-approved-layout .modern-date-calendar{position:absolute;z-index:100000;top:calc(100% + 5px);inset-inline-start:0;min-width:262px;max-width:min(340px,90vw);background:#fff;border:1px solid #e5cedd;box-shadow:0 12px 24px rgb(70 22 55/15%);border-radius:10px}.admin-shell-tabs .invoice-approved-layout .invoice-entity-picker .table-action,.admin-shell-tabs .invoice-approved-layout .invoice-header-row .invoice-edit-button.table-action,.admin-shell-tabs .invoice-approved-layout .invoice-header-row .invoice-plus-button.table-action{box-sizing:border-box;width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;max-height:26px!important;border-radius:6px!important;padding:0!important;align-self:end}.admin-shell-tabs .invoice-approved-layout>.invoice-edit-mode-banner{grid-column:1/-1;grid-row:auto}.admin-shell-tabs .invoice-approved-layout .invoice-lines-section{min-width:0;padding:7px!important;border:1px solid #e6dce6!important;border-radius:10px;background:#fff}.admin-shell-tabs .invoice-approved-layout .invoice-line-editor-grid{display:flex!important;flex-wrap:wrap;align-items:end;gap:6px!important}.admin-shell-tabs .invoice-approved-layout .invoice-line-editor-grid>label{min-width:0;flex:1 1 105px}.admin-shell-tabs .invoice-approved-layout .invoice-line-editor-grid>.invoice-product-search{flex:3 1 250px}.admin-shell-tabs .invoice-approved-layout .invoice-line-editor-grid>.invoice-quantity-with-stock{flex:1 1 105px}.admin-shell-tabs .invoice-approved-layout .invoice-line-editor-grid>.purchase-pricing-field{flex:1.2 1 130px}.admin-shell-tabs .invoice-approved-layout .invoice-line-editor-grid>.invoice-stock-facts{flex:1 1 100%;min-width:0;white-space:normal;height:auto!important;min-height:26px}.admin-shell-tabs .invoice-approved-layout .invoice-line-editor-grid>.invoice-add-line{flex:0 0 auto;width:auto!important;min-width:84px;margin:0;min-height:30px}.admin-shell-tabs .invoice-approved-layout .invoice-line-editor-grid>.admin-form-message{flex:1 1 100%}.admin-shell-tabs .invoice-approved-layout .invoice-line-editor-grid .span-2,.admin-shell-tabs .invoice-approved-layout .invoice-line-editor-grid .span-3{grid-column:auto!important}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table-wrap{box-sizing:border-box;display:block;height:clamp(320px,39vh,440px)!important;min-height:320px!important;max-height:440px!important;margin-top:7px;overflow:auto;border-radius:8px;border:1px solid #e7dce4;background:#fff}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table{direction:rtl;width:100%;min-width:1080px;border-collapse:collapse;table-layout:auto;font-size:11px!important}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table th{background:#f8f4f8;color:#463247;font-weight:700;height:28px;font-size:10px!important}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table td{height:26px;color:#3c3244}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table :is(th,td){text-align:right;padding:4px 6px!important;border-bottom:1px solid #eee7ed}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table :is(th,td).invoice-actions-column{position:sticky!important;left:0;z-index:3;width:102px!important;min-width:102px;max-width:102px;background:#fff;border-inline-start:1px solid #e7dce4;box-shadow:2px 0 5px rgb(47 26 45/5%)}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table th.invoice-actions-column{z-index:5;background:#f8f4f8}.admin-shell-tabs .invoice-approved-layout .invoice-row-actions{display:flex;align-items:center;justify-content:flex-start;gap:3px;direction:rtl;white-space:nowrap}.admin-shell-tabs .invoice-approved-layout .invoice-row-actions .table-action{flex:0 0 24px!important;width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important}.admin-shell-tabs .invoice-approved-layout>.invoice-bottom-dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:7px;align-items:stretch}.admin-shell-tabs .invoice-approved-layout .invoice-bottom-dashboard .invoice-drawers{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0}.admin-shell-tabs .invoice-approved-layout .invoice-bottom-dashboard .invoice-summary-panel{min-width:0;margin:0;padding:6px!important}.admin-shell-tabs .invoice-approved-layout .invoice-bottom-dashboard .invoice-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-shell-tabs .invoice-approved-layout .invoice-bottom-dashboard .invoice-summary-grid>div{min-width:0}.admin-shell-tabs .invoice-approved-layout .invoice-final-actions{position:sticky;bottom:0;z-index:10;min-height:44px;padding:6px 8px!important;background:rgb(255 255 255/96%);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.admin-shell-tabs .invoice-approved-layout .invoice-final-actions button{white-space:nowrap}@media(max-width:1180px){.admin-shell-tabs .invoice-approved-layout .invoice-header-row{grid-template-columns:minmax(0,1fr)}.admin-shell-tabs .invoice-approved-layout .invoice-header-row>.invoice-party-section{grid-column:1;grid-row:1}.admin-shell-tabs .invoice-approved-layout .invoice-header-row>.invoice-topbar{grid-column:1;grid-row:2;width:min(100%,540px);justify-self:end}.admin-shell-tabs .invoice-approved-layout .invoice-bottom-dashboard{grid-template-columns:1fr}.admin-shell-tabs .invoice-approved-layout .invoice-bottom-dashboard .invoice-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.admin-shell-tabs .invoice-approved-layout .invoice-header-row .invoice-party-row,.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-header-row .invoice-party-row{grid-template-columns:75px minmax(0,1fr) 26px 26px}.admin-shell-tabs .invoice-approved-layout .invoice-header-row .invoice-party-search{min-width:0}.admin-shell-tabs .invoice-approved-layout .invoice-header-row .invoice-address-field{grid-column:1/-1}.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-header-row>.invoice-topbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-shell-tabs .invoice-approved-layout .invoice-bottom-dashboard .invoice-drawers{grid-template-columns:1fr}}.admin-shell-tabs .invoice-approved-layout .invoice-line-editor-grid>.invoice-price-with-reference{flex:1.5 1 150px;min-width:140px}.admin-shell-tabs .invoice-approved-layout .invoice-price-reference{display:block;margin-top:3px;padding:2px 4px;border-radius:5px;border:1px solid #eee4ec;background:#f9f5f9;color:#756173;font-size:10px;font-weight:350;line-height:1.45;white-space:normal;max-width:100%}.admin-shell-tabs .invoice-approved-layout .invoice-price-reference b{color:#89295e;font-weight:650}.admin-shell-tabs .invoice-approved-layout .invoice-price-reference .is-rise{color:#c64046;font-style:normal}.admin-shell-tabs .invoice-approved-layout .invoice-price-reference .is-fall{color:#168756;font-style:normal}@media(min-width:900px){.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;align-items:start;column-gap:6px!important;row-gap:7px!important}.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label{flex:none;width:auto;max-width:100%;min-width:0}.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label:first-of-type{grid-column:span 4!important}.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label:nth-of-type(2),.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label:nth-of-type(3),.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label:nth-of-type(4),.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label:nth-of-type(5){grid-column:span 2!important}.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label:nth-of-type(6),.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label:nth-of-type(7){grid-column:span 3!important}.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label:nth-of-type(10),.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label:nth-of-type(8),.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label:nth-of-type(9){grid-column:span 1!important}.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>label:nth-of-type(11){grid-column:span 2!important}.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid>.invoice-add-line{grid-column:span 1!important;align-self:end;width:100%!important;padding-inline:4px!important}.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-line-editor-grid :is(.invoice-price-reference,.purchase-pricing-field small,.invoice-stock-under-quantity){display:block;width:100%;max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;font-size:9.5px;line-height:1.45}}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table-wrap,.admin-shell-tabs .invoice-approved-layout:not(.sales-invoice-pro-ui) .invoice-spec-table-wrap{height:204px!important;min-height:204px!important;max-height:204px!important;overflow-x:auto!important;overflow-y:auto!important;scrollbar-gutter:stable}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table th{position:sticky;top:0;z-index:4}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table th.invoice-actions-column{z-index:6}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table tbody tr{height:34px}.admin-shell-tabs .invoice-approved-layout .invoice-spec-table tbody td{height:33px}.admin-shell-tabs .invoice-approved-layout .invoice-adjustment-launch,.admin-shell-tabs .invoice-approved-layout .invoice-settlement-launch{min-height:30px;border-radius:7px;border:1px solid #d8c7d6;background:#fff;color:#792257;padding:4px 10px;font-size:11.5px;font-family:IRANSans,sans-serif;cursor:pointer}.invoice-adjustment-backdrop{position:fixed;inset:0;background:rgb(22 17 29/20%);z-index:999990}.invoice-adjustment-dialog{direction:rtl;font-family:IRANSans,sans-serif}.invoice-adjustment-dialog .invoice-mini-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px}.invoice-adjustment-dialog .invoice-mini-entry>input,.invoice-adjustment-dialog .invoice-mini-entry>select{width:100%;min-width:0;box-sizing:border-box;height:31px;border-radius:6px;padding:4px 6px;font:12px IRANSans,sans-serif}.invoice-adjustment-dialog .invoice-mini-entry>button{justify-self:start}.invoice-adjustment-dialog .invoice-mini-list{max-height:180px;overflow:auto;padding:8px}.invoice-adjustment-summary{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:11px}.invoice-adjustment-summary strong{color:#682154}.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-percent-compact,.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-quantity-compact{flex:0 1 78px!important;min-width:65px!important;max-width:82px!important}.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-percent-compact input,.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-quantity-compact input{width:100%;min-width:0;padding-inline:4px!important;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-add-line{flex:0 0 auto!important;white-space:nowrap;min-width:92px!important}.admin-shell-tabs .sales-invoice-pro-ui .invoice-sales-quick-actions{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;padding:4px 6px;margin:4px 0 2px;border-top:1px solid #ece5ec;border-bottom:1px solid #ece5ec}.admin-shell-tabs .sales-invoice-pro-ui .invoice-sales-quick-actions .invoice-adjustment-summary{gap:6px;flex-wrap:wrap;white-space:normal}.admin-shell-tabs .sales-invoice-pro-ui>.invoice-bottom-dashboard{display:block!important}.admin-shell-tabs .sales-invoice-pro-ui .invoice-spec-table :is(th,td).invoice-actions-column{width:63px!important;min-width:63px!important;max-width:63px!important}.invoice-print-settings-page{font-family:IRANSans,sans-serif;max-width:860px;margin-inline:auto}.invoice-print-settings-page .invoice-output-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.invoice-print-settings-page .invoice-output-settings-grid label{display:flex;flex-direction:column;gap:4px;min-width:0}.invoice-print-settings-page .invoice-output-settings-grid .span-2{grid-column:span 2}.invoice-print-settings-page .invoice-output-settings-grid :is(input:not([type=checkbox]),textarea){box-sizing:border-box;width:100%;min-width:0;padding:5px 8px;border:1px solid #e3d5e1;border-radius:6px;background:#fff;font:12px IRANSans,sans-serif}.invoice-print-settings-page .invoice-output-settings-actions{padding:8px 12px 14px}@media(max-width:600px){.invoice-print-settings-page .invoice-output-settings-grid{grid-template-columns:1fr}.invoice-print-settings-page .invoice-output-settings-grid .span-2{grid-column:auto}}.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-percent-compact,.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-quantity-compact{box-sizing:border-box;flex:0 0 64px!important;width:64px!important;min-width:64px!important;max-width:64px!important}.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-percent-compact input,.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-quantity-compact input{width:100%!important;min-width:0!important;padding-inline:2px!important;text-align:center}.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-add-line{order:1;box-sizing:border-box;flex:0 0 108px!important;width:108px!important;min-width:108px!important;align-self:end!important;padding-inline:5px!important}.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-stock-facts{order:2;flex:1 1 100%!important}.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.admin-form-message{order:3}.invoice-search-option .invoice-search-product-name{display:inline-flex;align-items:center;gap:4px;min-width:0;flex:1 1 auto;justify-content:flex-start;overflow:hidden}.invoice-search-option .invoice-search-product-name>strong{display:block;min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invoice-search-option .invoice-search-product-code{flex:0 0 auto;max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;unicode-bidi:isolate;color:#786576;font-size:10px;font-weight:400}.invoice-search-option .invoice-search-product-stock{flex:0 0 auto;min-width:28px;text-align:left;white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.invoice-search-option .invoice-search-product-stock.is-available{color:#16805b!important;font-weight:750!important}.invoice-search-option .invoice-search-product-stock.is-unavailable{color:#b43b4b!important;font-weight:650!important}.invoice-search-option .invoice-search-product-stock.is-unknown{color:#847785!important;font-weight:400!important}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-header-row>.invoice-topbar{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-header-row>.invoice-topbar .invoice-topbar-title{display:none!important}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-party-row{grid-template-columns:minmax(180px,1fr) 26px 26px!important}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-line-editor-grid.purchase-entry-one-line{display:grid!important;grid-template-columns:minmax(0,2.65fr) minmax(0,.78fr) minmax(0,.72fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.68fr) minmax(0,.78fr) minmax(0,.9fr)!important;align-items:end!important;column-gap:5px!important;row-gap:0!important;min-width:0}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-line-editor-grid.purchase-entry-one-line>label{grid-column:auto!important;grid-row:auto!important;min-width:0!important;width:auto!important;max-width:100%!important;flex:none!important;align-self:end}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-line-editor-grid.purchase-entry-one-line>label>span:first-child{display:block;min-height:16px;line-height:16px;white-space:nowrap;font-size:10px}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-line-editor-grid.purchase-entry-one-line input,.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-line-editor-grid.purchase-entry-one-line select{width:100%;min-width:0;box-sizing:border-box}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-line-editor-grid.purchase-entry-one-line :is(.invoice-price-reference,.purchase-pricing-field small,.invoice-stock-under-quantity){display:none!important}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-line-editor-grid.purchase-entry-one-line>.invoice-add-line{grid-column:auto!important;grid-row:auto!important;align-self:end;height:30px!important;min-height:30px!important;width:100%!important;padding-inline:3px!important;white-space:nowrap}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .purchase-extra-fields{margin-top:6px;padding:4px 6px;border:1px solid #eadfea;border-radius:6px;font-size:10.5px}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .purchase-extra-fields summary{cursor:pointer;color:#7c3364}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .purchase-extra-fields-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;align-items:end;margin-top:5px}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .purchase-extra-fields-grid label{display:grid;gap:3px;min-width:0}@media(max-width:1100px){.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-line-editor-grid.purchase-entry-one-line{grid-template-columns:minmax(150px,2fr) repeat(8,minmax(0,1fr))!important;gap:4px!important}}@media(max-width:760px){.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-line-editor-grid.purchase-entry-one-line{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;row-gap:6px!important}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-line-editor-grid.purchase-entry-one-line>.invoice-product-search{grid-column:1/-1!important}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .purchase-extra-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.admin-shell-tabs .invoice-approved-layout.prepurchase-invoice-unified .invoice-header-row>.invoice-topbar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;align-items:end;padding:5px!important;min-width:0}.admin-shell-tabs .invoice-approved-layout.prepurchase-invoice-unified .invoice-header-row>.invoice-topbar>label{min-width:0;display:grid;gap:3px;font-size:10.5px}.admin-shell-tabs .invoice-approved-layout.prepurchase-invoice-unified .invoice-purchase-entry-grid.purchase-entry-one-line{display:grid!important;grid-template-columns:minmax(0,2.6fr) minmax(0,.8fr) minmax(0,.75fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.7fr) minmax(0,.85fr) minmax(0,.95fr)!important;align-items:end!important;gap:5px!important;min-width:0}.admin-shell-tabs .invoice-approved-layout.prepurchase-invoice-unified .invoice-purchase-entry-grid.purchase-entry-one-line>label{display:grid;gap:3px;min-width:0;align-self:end;font-size:10px;line-height:16px}.admin-shell-tabs .invoice-approved-layout.prepurchase-invoice-unified .invoice-purchase-entry-grid.purchase-entry-one-line :is(input,select){box-sizing:border-box;width:100%;min-width:0}.admin-shell-tabs .invoice-approved-layout.prepurchase-invoice-unified .invoice-purchase-entry-grid.purchase-entry-one-line .purchase-pricing-field small{display:none}.admin-shell-tabs .invoice-approved-layout.prepurchase-invoice-unified .invoice-purchase-entry-grid.purchase-entry-one-line>.invoice-add-line{grid-column:auto!important;width:100%!important;height:30px!important;align-self:end;white-space:nowrap;padding-inline:3px!important}@media(max-width:760px){.admin-shell-tabs .invoice-approved-layout.prepurchase-invoice-unified .invoice-purchase-entry-grid.purchase-entry-one-line{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.admin-shell-tabs .invoice-approved-layout.prepurchase-invoice-unified .invoice-purchase-entry-grid.purchase-entry-one-line>label:first-child{grid-column:1/-1!important}.admin-shell-tabs .invoice-approved-layout.prepurchase-invoice-unified .invoice-header-row>.invoice-topbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.admin-shell-tabs .presale-sales-parity{direction:rtl;display:grid;gap:7px;padding:7px;font-family:IRANSans,sans-serif}.admin-shell-tabs .presale-sales-parity .presale-sales-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 6px 5px;border-bottom:1px solid #eadce7}.admin-shell-tabs .presale-sales-parity .presale-sales-title h2{margin:0;font-size:13px;font-weight:650;color:#742353}.admin-shell-tabs .presale-sales-parity .presale-sales-title small{font-size:10px;color:#816e7c}.admin-shell-tabs .presale-sales-parity .presale-sales-form>fieldset{min-width:0;display:grid;gap:8px;padding:7px;margin:0;border:1px solid #e8dce7;border-radius:9px;background:#fff}.admin-shell-tabs .presale-sales-parity .presale-sales-header{display:grid;grid-template-columns:minmax(180px,2.25fr) minmax(90px,.95fr) minmax(130px,1.2fr) minmax(130px,1.2fr);gap:6px;padding:4px 3px 8px;border-bottom:1px solid #eee3ed}.admin-shell-tabs .presale-sales-parity .presale-sales-header>label{min-width:0;display:grid;gap:3px;align-content:end;font-size:10.5px}.admin-shell-tabs .presale-sales-parity .presale-sales-header>label:has(>input[type=checkbox]){display:flex;align-items:center;gap:5px;justify-content:flex-start}.admin-shell-tabs .presale-sales-parity .presale-sales-item-row{display:grid;grid-template-columns:minmax(190px,3fr) minmax(92px,.9fr) minmax(125px,1fr) minmax(96px,.8fr);gap:6px;align-items:end}.admin-shell-tabs .presale-sales-parity .presale-sales-item-row>label{display:grid;gap:3px;min-width:0;align-content:end;font-size:10.5px}.admin-shell-tabs .presale-sales-parity .presale-sales-item-row :is(input,.invoice-search-select){min-width:0;width:100%;box-sizing:border-box}.admin-shell-tabs .presale-sales-parity .presale-sales-item-row>button{min-height:30px;height:30px;white-space:nowrap}.admin-shell-tabs .presale-sales-parity .presale-sales-items{height:280px;max-height:280px;overflow:auto;border:1px solid #ebe0e9;border-radius:6px}.admin-shell-tabs .presale-sales-parity .presale-sales-notes{display:grid;gap:4px;font-size:10.5px}.admin-shell-tabs .presale-sales-parity .presale-sales-notes textarea{max-height:80px}.admin-shell-tabs .presale-sales-parity .presale-sales-submit{justify-self:end;min-width:120px}@media(max-width:820px){.admin-shell-tabs .presale-sales-parity .presale-sales-header,.admin-shell-tabs .presale-sales-parity .presale-sales-item-row{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell-tabs .presale-sales-parity .presale-sales-item-row>label:first-child{grid-column:1/-1}}.admin-shell-tabs .invoice-approved-layout.prepurchase-invoice-unified .invoice-fast-rule{display:none!important}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .purchase-entry-one-line>label>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .purchase-entry-one-line>.invoice-add-line{overflow:hidden;text-overflow:ellipsis;font-size:10px!important}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .purchase-entry-one-line input[type=number]{appearance:textfield;-moz-appearance:textfield}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .purchase-entry-one-line input[type=number]::-webkit-inner-spin-button,.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .purchase-entry-one-line input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.admin-shell-tabs .purchase-invoice-unified .invoice-header-row>.purchase-photo-shortcut{grid-column:2;grid-row:1;margin:0;padding:0;display:flex;align-items:center;align-self:end;gap:4px}.admin-shell-tabs .purchase-invoice-unified .invoice-header-row>.purchase-photo-shortcut small{display:none}.admin-shell-tabs .purchase-invoice-unified .invoice-header-row>.purchase-photo-shortcut button{height:26px;min-height:26px;padding:0 7px;font-size:11px}.admin-shell-tabs .purchase-invoice-unified .invoice-spec-table-wrap{height:clamp(320px,39vh,440px)!important;min-height:320px!important;max-height:440px!important;flex-shrink:0;overflow:auto}.admin-shell-tabs .purchase-invoice-unified .invoice-entity-picker-actions{display:flex;align-items:center;gap:4px;min-width:0}.admin-shell-tabs .purchase-invoice-unified .invoice-entity-picker-actions>.invoice-search-select{flex:1 1;min-width:0}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-header-row{grid-template-columns:minmax(180px,360px) max-content minmax(420px,1fr);align-items:end;gap:6px}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-header-row>.invoice-party-section{grid-column:1;grid-row:1}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-header-row>.invoice-topbar{grid-column:3;grid-row:1;width:100%;justify-self:stretch}@media(max-width:900px){.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-header-row{grid-template-columns:minmax(180px,1fr) max-content}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-header-row>.invoice-topbar{grid-column:1/-1;grid-row:2}}.admin-sales-invoice-window .sales-invoice-pro-ui .invoice-line-editor-grid>label:nth-of-type(2),.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>label:nth-of-type(2){flex:0 1 112px!important;min-width:90px!important;max-width:128px!important}.admin-sales-invoice-window .sales-invoice-pro-ui .invoice-line-editor-grid>label:nth-of-type(3),.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>label:nth-of-type(3){flex:0 1 92px!important;min-width:78px!important;max-width:110px!important}.admin-sales-invoice-window .sales-invoice-pro-ui .invoice-line-editor-grid>label.invoice-price-with-reference,.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>label.invoice-price-with-reference{flex:0 1 122px!important;min-width:100px!important;max-width:145px!important}.admin-sales-invoice-window .sales-invoice-pro-ui .invoice-line-editor-grid>label:nth-of-type(7),.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>label:nth-of-type(7){flex:0 1 105px!important;min-width:86px!important;max-width:120px!important}.admin-sales-invoice-window .sales-invoice-pro-ui .invoice-line-editor-grid>label:nth-of-type(8),.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>label:nth-of-type(8){flex:1 1 142px!important;min-width:114px!important;max-width:210px!important}:is(.admin-shell-tabs,.admin-sales-invoice-window)
.sales-invoice-pro-ui .invoice-line-editor-grid>label:not(.invoice-product-search)>:is(input,select){box-sizing:border-box;min-width:0;max-width:100%;width:100%}:is(.admin-shell-tabs,.admin-sales-invoice-window)
.sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-summary-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(108px,1fr))!important;gap:3px!important;align-items:stretch}:is(.admin-shell-tabs,.admin-sales-invoice-window)
.sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-summary-grid>div{box-sizing:border-box;min-width:0!important;min-height:30px!important;padding:3px 5px!important;border-radius:5px!important;gap:1px}:is(.admin-shell-tabs,.admin-sales-invoice-window)
.sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-summary-grid :is(span,label){font-size:9px!important;line-height:1.2!important;margin:0!important}:is(.admin-shell-tabs,.admin-sales-invoice-window)
.sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-summary-grid strong{display:block;font-size:10px!important;line-height:1.2!important;white-space:normal;overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}:is(.admin-shell-tabs,.admin-sales-invoice-window)
.sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-summary-panel{padding:4px 5px!important}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-line-editor-grid.purchase-entry-one-line .invoice-price-reference{display:block!important;font-size:10px;line-height:1.24;white-space:normal;overflow-wrap:anywhere;margin-top:2px;color:var(--text-muted,#665562)}.admin-shell-tabs .purchase-invoice-unified .purchase-adjustment-toolbar{padding:3px 8px;gap:8px;min-height:29px;flex-wrap:wrap}.admin-shell-tabs .purchase-invoice-unified .purchase-adjustment-toolbar>.invoice-adjustment-launch{height:27px;min-height:27px;padding:2px 8px}.purchase-adjustment-dialog .invoice-mini-entry{display:flex!important;flex-wrap:wrap;gap:5px;align-items:center;padding:6px}.purchase-adjustment-dialog .invoice-mini-entry select{width:130px!important;flex:0 1 130px}.purchase-adjustment-dialog .invoice-mini-entry input[type=number]{width:100px!important;flex:0 1 100px}.purchase-adjustment-dialog .invoice-mini-entry input[aria-label="شرح اضافات یا هزینه"]{width:155px!important;flex:1 1 125px}.purchase-adjustment-dialog .invoice-mini-entry :is(input,select){height:29px!important;min-width:0;font-size:11px!important}.purchase-adjustment-dialog .invoice-mini-entry button{min-height:29px;padding:2px 9px}.admin-shell-tabs .purchase-invoice-unified .invoice-summary-panel .invoice-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.admin-shell-tabs .purchase-invoice-unified .invoice-summary-panel .invoice-summary-grid>div{min-height:27px;padding:3px 5px}.admin-sales-invoice-window .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-stock-facts,.admin-shell-tabs .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-stock-facts{display:flex!important;flex-wrap:wrap;align-items:center;gap:3px 9px!important;box-sizing:border-box;min-width:0;min-height:24px!important;height:auto!important;padding:2px 5px!important;font-size:9px}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui
.invoice-stock-facts>.invoice-purchase-cost-disclosure{display:inline-flex!important;align-items:center;flex:0 1 auto!important;width:auto!important;max-width:100%;min-width:0;gap:4px!important;margin:0!important;padding:0!important;font-size:9px;background:transparent!important;border:0!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui
.invoice-stock-facts .invoice-purchase-cost-toggle{gap:4px!important;white-space:nowrap;font-size:9px!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui
.invoice-stock-facts .invoice-purchase-cost-details{display:inline-flex!important;align-items:center;gap:3px 6px!important;flex-wrap:wrap!important;padding:0!important;font-size:9px!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui
.invoice-stock-facts .invoice-purchase-cost-details>span{padding:1px 4px!important;border-radius:4px!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui
.invoice-sales-quick-actions{margin:3px 0 0!important;padding:3px 5px!important;display:flex!important;align-items:center;flex-wrap:wrap;gap:4px 10px!important;border-top:1px solid #e9e0e7;border-bottom:0;min-height:27px!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui
.invoice-bottom-dashboard .invoice-summary-grid{grid-template-columns:repeat(auto-fit,minmax(92px,1fr))!important;gap:3px!important;align-items:start!important;margin:0!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui
.invoice-bottom-dashboard .invoice-summary-grid>div{box-sizing:border-box!important;align-self:start!important;height:auto!important;min-height:29px!important;padding:2px 4px!important;margin:0!important;gap:1px!important;border-radius:4px!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui
.invoice-bottom-dashboard .invoice-summary-grid :is(label,span){font-size:9px!important;line-height:1.2!important;margin:0!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui
.invoice-bottom-dashboard .invoice-summary-grid strong{font-size:10px!important;line-height:1.2!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui
.invoice-bottom-dashboard .invoice-summary-panel{box-sizing:border-box!important;align-self:start!important;height:auto!important;padding:3px 4px!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-stock-facts{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;box-sizing:border-box!important;height:27px!important;min-height:27px!important;padding:2px 6px!important;gap:4px 12px!important;white-space:nowrap!important;overflow:hidden!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui .invoice-stock-facts .invoice-purchase-cost-compact{display:inline-flex!important;align-items:center;flex:0 0 auto;gap:3px;white-space:nowrap;font-size:10px}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-summary-grid{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr))!important;align-items:stretch!important;grid-auto-rows:42px!important;gap:4px!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-summary-grid>div{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;height:42px!important;min-height:42px!important;max-height:42px!important;overflow:hidden!important;padding:3px 5px!important;gap:2px!important;border:1px solid #ede5ec!important;border-radius:5px!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-summary-grid label{display:flex!important;align-items:center!important;gap:3px!important;min-height:12px!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-summary-grid label input[type=checkbox]{width:12px!important;height:12px!important;min-height:12px!important;flex:0 0 12px!important;margin:0!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-permission-summary{display:none!important}@media(max-width:1150px){:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}@media(max-width:650px){:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui .invoice-bottom-dashboard .invoice-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}:is(.admin-shell-tabs,.admin-sales-invoice-window) .sales-invoice-pro-ui .invoice-line-editor-grid>.invoice-stock-facts{overflow-x:auto!important}}.admin-shell-tabs .invoice-approved-layout.purchase-invoice-unified .invoice-header-row>.invoice-topbar-with-warehouse{grid-template-columns:repeat(5,minmax(0,1fr))!important}.admin-shell-tabs .invoice-approved-layout.sales-invoice-pro-ui .invoice-header-row>.invoice-topbar-with-warehouse{grid-template-columns:repeat(4,minmax(0,1fr))!important}.invoice-purchase-cost-disclosure{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:4px 7px;margin:1px 0 6px;border:1px solid #eadbe4;border-radius:8px;background:#fffafd;font-family:IRANSans,sans-serif;font-size:10px;color:#652e50}.invoice-purchase-cost-toggle{display:inline-flex;align-items:center;gap:6px;white-space:normal;font-size:10px;font-weight:700;cursor:pointer}.invoice-purchase-cost-toggle input{accent-color:#971b65;width:14px;height:14px;margin:0;flex:none}.invoice-purchase-cost-details{display:flex;gap:8px 13px;align-items:center;flex-wrap:wrap;width:100%;padding-top:5px;border-top:1px solid #f0e2e9;font-size:11px}.invoice-purchase-cost-details>span{padding:4px 8px;background:#fff;border:1px solid #efdfeb;border-radius:7px}.invoice-purchase-cost-details b{color:#6c234b}.invoice-purchase-cost-details>small{font-size:10px;color:#87707f}.invoice-purchase-cost-details .invoice-purchase-cost-warning{color:#b1383f}.invoice-purchase-cost-warehouse{display:flex;gap:5px;align-items:center;font-size:10px}.invoice-purchase-cost-warehouse select{font:inherit;padding:4px 7px;border:1px solid #dec8d4;border-radius:6px;max-width:160px}.invoice-purchase-cost-layers{flex:1 1 100%;font-size:10px}.invoice-purchase-cost-layers summary{cursor:pointer;color:#8d2565;font-weight:700}.invoice-purchase-cost-layers ul{list-style:none;display:grid;gap:3px;padding:5px 0;margin:0}.invoice-purchase-cost-layers li{display:flex;gap:8px;flex-wrap:wrap;padding:4px 8px;border-bottom:1px solid #f0e8ec}@media print{.invoice-purchase-cost-disclosure{display:none!important}}.purchase-photo-shortcut{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-height:35px;padding:5px 9px;border-bottom:1px solid #eee4e9;background:linear-gradient(90deg,#fff,#fff8fb)}.purchase-photo-shortcut .admin-secondary-button{padding:5px 10px;min-height:28px;white-space:nowrap;border:1px solid #dcb4cc;border-radius:8px;color:#862357;background:#fff}.purchase-photo-shortcut small{font-size:10px;color:#816a78}.purchase-photo-panel{padding:8px 11px!important;min-width:0}.purchase-photo-panel[hidden]{display:none!important}.purchase-photo-review{display:grid;gap:9px;direction:rtl;font-size:11px}.purchase-photo-review *{box-sizing:border-box}.purchase-photo-upload{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.purchase-photo-upload>label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:#60465a}.purchase-photo-upload input[type=file]{max-width:270px;border:1px solid #e9dce3;padding:5px;border-radius:7px}.purchase-photo-upload>small{color:#826f79;font-size:10px}.purchase-photo-original summary{cursor:pointer;color:#8a315f}.purchase-photo-original img{display:block;max-width:100%;max-height:280px;object-fit:contain;border:1px solid #eadce6;border-radius:8px;margin:6px 0}.purchase-photo-review-data{display:grid;gap:9px}.purchase-photo-review-data>.admin-muted{margin:0;font-size:10px}.purchase-photo-fields{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.purchase-photo-fields label{display:grid;gap:4px;font-size:10px;min-width:180px;color:#69495e}.purchase-photo-fields input,.purchase-photo-fields select,.purchase-photo-table-wrap input,.purchase-photo-table-wrap select{padding:5px 6px;border:1px solid #decbd7;border-radius:6px;font:inherit;min-width:0;max-width:100%;background:#fff;color:#563247}.purchase-photo-fields>span{font-size:10px;color:#81667a}.purchase-photo-table-wrap{width:100%;max-height:250px;overflow:auto;border:1px solid #eee0e8;border-radius:8px}.purchase-photo-table-wrap .invoice-spec-table{min-width:680px;width:100%;font-size:10px}.purchase-photo-table-wrap .invoice-spec-table th{position:sticky;top:0;background:#fbf1f7}.purchase-photo-table-wrap td:first-child{max-width:155px;white-space:normal;overflow-wrap:anywhere}.purchase-photo-table-wrap input[type=number]{width:82px}.purchase-photo-table-wrap td:nth-child(2){min-width:165px}.purchase-photo-table-wrap .table-action{white-space:nowrap}.purchase-photo-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.purchase-photo-note{margin:0;padding:7px 9px;background:#fff7fb;color:#784460;border:1px solid #eed7e5;border-radius:7px}@media(max-width:650px){.purchase-photo-shortcut small{display:none}.purchase-photo-fields label{min-width:130px}}.purchase-photo-review-queue{display:grid;gap:6px;margin:7px 0;padding:8px 10px;border:1px solid #e1c898;border-radius:7px;background:#fffaf0;font-size:11px;line-height:1.5}.purchase-photo-review-queue>strong{font-size:12px;font-weight:600;color:#754d17}.purchase-photo-review-queue>div{display:flex;flex-wrap:wrap;align-items:center;gap:4px;max-height:89px;overflow-y:auto}.purchase-photo-review-queue button{display:inline-flex;max-width:100%;min-height:25px;align-items:center;padding:3px 7px;border:1px solid #e6d2aa;border-radius:5px;background:#fff;color:#714b1b;font:inherit;font-size:10px;text-align:right;white-space:normal;cursor:pointer}.purchase-photo-review-queue button:hover:not(:disabled){border-color:#c59b49;background:#fff3d9}.purchase-photo-review-queue button:focus-visible{outline:2px solid #c59b49}.purchase-photo-review-queue small{font-size:10px;color:#897354}.purchase-photo-low-confidence{display:flex;align-items:center;gap:5px;margin-top:4px;padding:3px 5px;background:#fff4dc;border:1px solid #ecd4a3;border-radius:5px;color:#81551b;font-size:10px;cursor:pointer;white-space:normal}.purchase-photo-low-confidence input[type=checkbox]{height:15px;width:15px;min-height:15px;min-width:15px;flex:none;margin:0;accent-color:var(--brand,#902564)}.purchase-photo-saved-list{min-width:0;padding:5px 8px;border:1px solid #e6d4df;border-radius:7px;background:#fbf8fa}.purchase-photo-saved-list>summary{cursor:pointer;color:#743653;font-size:11px;font-weight:600}.purchase-photo-saved-list>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px;max-height:102px;overflow:auto}.purchase-photo-saved-list button{max-width:100%;min-height:27px;border:1px solid #dac2d0;border-radius:5px;background:#fff;color:#683d54;padding:4px 8px;font:inherit;font-size:10px;cursor:pointer;white-space:normal}.purchase-photo-saved-list button:hover:not(:disabled){border-color:#9c5980;background:#fff1f7}.purchase-photo-saved-list>small{display:block;margin-top:5px;color:#806778;font-size:10px}.purchase-photo-saved-list>p{margin:5px 0 0;color:#995128;font-size:10px}.invoice-ai-category-suggestion{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 9px;margin-block:5px;font:11.5px IRANSans,sans-serif;border:1px solid #e2d2e0;background:#fbf6fa;color:#60475b;border-radius:8px;min-width:0}.invoice-ai-category-suggestion strong{font-weight:700;color:#742057}.invoice-ai-category-suggestion small{color:#237e63}.invoice-ai-category-suggestion button{min-height:27px;padding:3px 8px;margin-inline-start:auto;font:11px IRANSans,sans-serif}.receipt-ai-panel{direction:rtl;display:grid;gap:11px;max-width:100%;font:12px IRANSans,sans-serif}.receipt-ai-panel :is(input,select,button){font-family:IRANSans,sans-serif}.receipt-ai-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:6px 0}.receipt-ai-head strong{font-size:13px;color:#7c1557}.receipt-ai-actions small,.receipt-ai-head small{font-size:11px;color:#685969;font-weight:300}.receipt-ai-fields>label,.receipt-ai-panel>label{display:grid;gap:5px;min-width:0}.receipt-ai-panel input[type=file]{min-height:30px;max-width:100%}.receipt-ai-panel :is(input:not([type=file],[type=radio]),select){min-width:0;width:100%;max-width:100%;box-sizing:border-box;min-height:30px;padding:4px 7px;font-size:12px;border-radius:7px;border:1px solid #decdda;background:#fff;color:inherit}.receipt-ai-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.receipt-ai-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:9px;border:1px solid #e8dce6;background:#fff;border-radius:9px}.receipt-ai-fields>.receipt-ai-reference{grid-column:span 2}.receipt-ai-fields>.admin-primary-button{grid-column:1/-1;justify-self:start}.receipt-ai-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;background:#fcf6fb;border:1px solid #e9d6e2;padding:10px;border-radius:9px}.receipt-ai-preview>small{grid-column:1/-1;color:#b04141;font-weight:300}.receipt-ai-candidates{border:1px solid #e9d6e2;border-radius:9px;padding:10px;background:#fff;display:grid;justify-items:start;gap:8px}.receipt-ai-bank-row{display:flex;align-items:center;gap:7px;max-width:100%}.receipt-ai-bank-row input{width:auto!important;min-height:auto!important}@media(max-width:950px){.receipt-ai-fields,.receipt-ai-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.receipt-ai-fields,.receipt-ai-preview{grid-template-columns:1fr}.receipt-ai-fields>.receipt-ai-reference{grid-column:1}}.receipt-ai-sms-hint{border:1px solid #e7d9e5;border-radius:8px;padding:7px;background:#fdfafd}.receipt-ai-sms-hint summary{cursor:pointer;font:11.5px IRANSans,sans-serif;color:#752350}.receipt-ai-sms-hint label{display:grid;gap:5px;margin-block:8px;font-size:11px}.receipt-ai-sms-hint textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:64px;border:1px solid #dfcbdc;border-radius:6px;padding:7px;font:11px IRANSans,sans-serif;direction:rtl}.receipt-ai-sms-result{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}.receipt-ai-sms-result small{flex:1 1 100%;color:#984236;font-weight:350}.receipt-ai-sms-result button{margin-inline-start:auto}.receipt-ai-discrepancy{grid-column:1/-1;display:grid;gap:6px;border:1px solid #d9a84f;border-radius:8px;padding:9px;background:#fff8e9;color:#76511e;font-size:12px;line-height:1.6}.receipt-ai-discrepancy strong{font-weight:600;font-size:12px}.receipt-ai-discrepancy ul{margin:0;padding-inline-start:20px;list-style:disc}.receipt-ai-discrepancy li{margin:2px 0}.receipt-ai-discrepancy label{display:flex;align-items:flex-start;gap:7px;cursor:pointer;font-size:12px;line-height:1.6}.receipt-ai-discrepancy input[type=checkbox]{width:16px;height:16px;flex:none;margin-top:2px;accent-color:var(--brand,#932264)}.receipt-ai-discrepancy small{font-size:10px;color:#8a692f}.admin-shell-tabs .inventory-catalog-report .inventory-row-actions{display:flex;align-items:center;gap:4px;white-space:nowrap}.admin-shell-tabs .inventory-catalog-report .inventory-row-actions .table-action{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;min-height:26px;padding:4px;border:1px solid var(--admin-border);border-radius:5px;background:#fff;color:var(--admin-accent)}.admin-shell-tabs .inventory-catalog-report .inventory-row-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.admin-shell-tabs .inventory-catalog-report .inventory-row-actions .is-danger{color:#b4233a}.admin-shell-tabs .inventory-catalog-report .inventory-row-actions button:disabled{opacity:.45;cursor:wait}.admin-shell-tabs .inventory-catalog-report .inventory-report-table td{padding:4px 6px;font-size:11px}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report){--admin-form-font-size:12px;--admin-form-label-size:11px;--admin-form-control-height:29px;--admin-form-gap-x:5px;--admin-form-gap-y:4px;--admin-form-pad-x:6px;--admin-form-pad-y:2px;min-width:0}.admin-shell-tabs .admin-standard-report{display:grid;gap:6px;align-content:start}.admin-shell-tabs .admin-standard-report>*{min-width:0}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) :is(.admin-panel,.admin-detail-card){padding:7px 8px;border:1px solid var(--admin-border);border-radius:8px;box-shadow:none}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) :is(.admin-panel-heading,.admin-detail-heading){min-height:27px;margin:0 0 5px;padding:2px 0 5px;border-bottom:1px solid #eee3e9}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) :is(.admin-panel-heading,.admin-detail-heading) h2{font-size:12px;font-weight:800}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) :is(.admin-panel-heading,.admin-detail-heading) p{margin:1px 0 0;font-size:10px}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-toolbar{display:flex;flex-wrap:wrap;align-items:end;min-height:0;gap:5px;padding:6px;margin-bottom:5px;border:1px solid var(--admin-border);border-radius:8px;background:#fff;box-shadow:none}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-toolbar>label{display:grid;gap:2px;flex:1 1 130px;min-width:110px;font-size:11px;font-weight:700}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-toolbar :is(input:not([type=checkbox]),select,button){min-height:29px!important;height:29px!important;padding:2px 6px!important;border-radius:6px;font-family:IRANSans,sans-serif;font-size:11px!important}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-toolbar button[type=submit]{border:1px solid var(--admin-accent-dark);background:var(--admin-accent);color:#fff}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) :is(.report-date-range-filter,.modern-report-date-range){display:flex;flex-wrap:wrap;align-items:end;gap:5px;min-width:0}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .report-date-filter-label{align-self:center;font-size:10px;color:var(--admin-muted)}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .modern-date-field{min-width:118px;flex:0 1 135px}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .modern-date-preset{min-width:100px;flex:0 1 112px}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .modern-date-control{min-height:29px;grid-template-columns:minmax(0,1fr) 29px}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .modern-date-control>input{min-height:27px!important;height:27px!important;padding:2px 3px!important;direction:ltr;text-align:center;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:11px!important}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .modern-date-calendar-button{min-height:27px!important;height:27px!important;padding:0!important}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) :is(.admin-summary-grid,.admin-metric-grid,.admin-kpi-row){gap:5px;margin:4px 0}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) :is(.admin-summary-grid>div,.admin-metric,.admin-kpi-row>span){padding:5px 7px;border:1px solid var(--admin-border);border-radius:7px;background:#fcf9fb;box-shadow:none;font-size:11px}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-table-wrap{min-width:0;max-width:100%;overflow:auto;border:1px solid var(--admin-border);border-radius:8px}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-table{width:100%;border-collapse:collapse;font-size:11px}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-table th{position:sticky;top:0;z-index:1;height:28px!important;padding:3px 6px!important;background:#f7f0f4;border-bottom:1px solid #e5d5de;color:#624a58;font-size:10px!important;white-space:nowrap;text-align:right}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-table td{height:29px!important;padding:3px 6px!important;border-top:1px solid #f2eaf0;font-size:11px!important;line-height:1.35}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-table tbody tr:nth-child(2n){background:#fcf9fb}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-table tbody tr:is(:hover,:focus-visible){background:#fff0f8!important}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-form-actions{min-height:29px;margin-top:5px!important;padding-top:4px!important;gap:5px;font-size:11px}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-form-actions button{min-height:28px!important;height:28px!important;padding:2px 8px!important;font-size:11px!important}.admin-floating-form-body .admin-standard-report>:is(section,main,div)>.admin-panel-heading:first-child{display:none!important}@media(max-width:680px){.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-toolbar>label{flex:1 1 100%}.admin-shell-tabs :is(.admin-standard-report,.inventory-report,.accounting-report) .admin-toolbar :is(.report-date-range-filter,.modern-report-date-range){width:100%}}.admin-shell-tabs .admin-account-ledger-report .admin-table-wrap{max-height:min(68vh,780px)}.admin-shell-tabs .admin-account-ledger-report .admin-table :is(th,td):nth-child(n+5){direction:ltr;text-align:left;white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.admin-shell-tabs .admin-account-ledger-report .admin-table td:nth-child(7){color:#b4233c;font-weight:700}.admin-shell-tabs .admin-account-ledger-report .admin-table td:nth-child(8){color:#16804a;font-weight:700}.admin-shell-tabs .admin-account-ledger-report .admin-table td:nth-child(4){min-width:150px}.admin-shell-tabs .admin-account-ledger-report .admin-toolbar.admin-ledger-toolbar{display:grid!important;grid-template-columns:minmax(130px,.75fr) minmax(175px,1fr) minmax(455px,2.7fr) auto;align-items:end;gap:6px;min-height:0}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar>label{width:100%;min-width:0;flex:none;align-self:end}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar>.report-date-filter-modern{display:block!important;width:100%;min-width:0;padding:0;margin:0;flex:none;align-self:end}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar>.report-date-filter-modern>.report-date-filter-label{display:none}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar .modern-report-date-range{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(86px,.7fr) 29px!important;align-items:end;gap:5px;width:100%;min-width:0;flex:none}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar :is(.modern-date-field,.modern-date-preset){display:grid!important;min-width:0!important;max-width:none;width:auto!important;flex:none!important;gap:2px;align-self:end}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar .modern-date-control{display:grid!important;grid-template-columns:minmax(0,1fr) 28px!important;width:100%;height:29px;min-height:29px;overflow:visible}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar .modern-date-control>input{width:100%!important;min-width:0!important;height:27px!important;min-height:27px!important;padding:2px 3px!important}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar .modern-date-calendar-button{display:grid!important;place-items:center;width:28px!important;min-width:28px!important;max-width:28px!important;height:27px!important;min-height:27px!important;padding:0!important;background:transparent!important;color:var(--admin-accent-dark)!important;box-shadow:none!important}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar .modern-date-clear{display:grid!important;place-items:center;align-self:end;width:29px!important;min-width:29px!important;max-width:29px!important;height:29px!important;min-height:29px!important;padding:0!important;background:#fff!important;color:var(--admin-accent-dark)!important;box-shadow:none!important}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar>button[type=submit]{width:auto!important;min-width:90px;height:29px!important;min-height:29px!important;align-self:end;padding:2px 8px!important;white-space:nowrap}@media (max-width:1100px){.admin-shell-tabs .admin-account-ledger-report .admin-toolbar.admin-ledger-toolbar{grid-template-columns:minmax(130px,.8fr) minmax(160px,1fr) auto}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar>.report-date-filter-modern{grid-column:1/-1;grid-row:2}}@media (max-width:650px){.admin-shell-tabs .admin-account-ledger-report .admin-toolbar.admin-ledger-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar>.report-date-filter-modern{grid-column:1/-1;grid-row:auto}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar .modern-report-date-range{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 29px!important}.admin-shell-tabs .admin-account-ledger-report .admin-ledger-toolbar .modern-date-preset{grid-column:1/3}}.counterparty-performance-compact{display:flex;flex-direction:column;gap:4px;height:calc(100dvh - 56px);min-height:320px;min-width:0}.counterparty-performance-compact>.admin-help{margin:0!important;padding:0;font-size:11px;line-height:1.5}.counterparty-performance-compact>.admin-toolbar{gap:4px;padding:3px!important;margin:0!important;min-height:0}.counterparty-performance-compact>.admin-toolbar button{min-height:26px!important;height:26px;padding:2px 7px!important;font-size:11px!important;font-weight:400!important}.counterparty-ledger-compact{display:flex!important;flex-direction:column;gap:5px!important;height:calc(100dvh - 56px);min-height:300px;min-width:0;font-size:12px}.counterparty-performance-compact>.counterparty-ledger-compact{flex:1 1;height:auto;min-height:200px}.counterparty-ledger-compact :is(h2,label,th,td,strong,b,button){font-weight:400!important;font-synthesis:none}.counterparty-ledger-compact>.admin-panel-heading{flex:0 0 auto;margin:0!important;padding:2px 0!important;min-height:0!important;border:0}.counterparty-ledger-compact>.admin-panel-heading>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.counterparty-ledger-compact .admin-eyebrow{display:none}.counterparty-ledger-compact>.admin-panel-heading h2{font-size:11px!important;line-height:1.4;margin:0!important;color:var(--text-muted,#746779)}.counterparty-ledger-compact .counterparty-ledger-name{font-family:IRANSans,sans-serif;font-size:20px!important;line-height:1.5!important;font-weight:400!important;margin:0!important;color:var(--text,#24212a)!important;order:-1}.counterparty-ledger-compact>.admin-toolbar{flex:0 0 auto;display:flex!important;flex-wrap:wrap;align-items:end;gap:5px!important;margin:0!important;padding:5px!important;min-height:0!important;border-radius:5px}.counterparty-ledger-compact>.admin-toolbar>label{display:grid;flex:1 1 100px;min-width:85px;max-width:160px;gap:2px!important;font-size:11px!important;margin:0!important}.counterparty-ledger-compact>.admin-toolbar .report-date-filter{display:flex!important;flex-wrap:wrap;align-items:end;flex:0 1 auto!important;width:auto!important;min-width:0!important;gap:4px!important;margin:0!important;padding:0!important;border:0!important}.counterparty-ledger-compact>.admin-toolbar .report-date-filter-label{display:none}.counterparty-ledger-compact>.admin-toolbar :is(input,select,button){min-height:28px!important;height:28px!important;font-size:12px!important;padding:2px 6px!important;line-height:1.3!important;border-radius:4px}.counterparty-ledger-compact>.admin-summary-grid{display:flex!important;flex:0 0 auto;gap:5px!important;margin:0!important;padding:0!important}.counterparty-ledger-compact>.admin-summary-grid>div{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 14px;min-height:0!important;width:100%;padding:5px 8px!important;border-radius:5px;font-size:12px}.counterparty-ledger-compact>.admin-summary-grid :is(small,strong,span){margin:0!important;line-height:1.5;font-size:12px}.counterparty-ledger-compact>.admin-summary-grid strong{font-size:14px}.counterparty-ledger-compact>.counterparty-ledger-source-summary{flex:0 0 auto;font-size:11px;margin:0}.counterparty-ledger-source-summary>summary{cursor:pointer;line-height:1.6;padding:2px 0;color:var(--text-muted,#746779)}.counterparty-ledger-source-summary>.admin-table-wrap{max-height:150px;overflow:auto}.counterparty-ledger-compact>.counterparty-ledger-lines{flex:1 1;min-height:160px;max-height:none!important;overflow:auto;margin:0!important;border-radius:5px}.counterparty-ledger-compact .admin-table :is(th,td){padding:4px 6px!important;height:30px;font-size:12px!important;line-height:1.4!important;vertical-align:middle}.counterparty-ledger-compact .admin-table th{position:sticky;top:0;z-index:1;background:var(--surface,#faf6fa)}.counterparty-ledger-compact .admin-table button{min-height:25px!important;height:25px;padding:2px 6px!important;font-size:11px!important;border-radius:4px}.counterparty-ledger-compact .admin-table caption{font-size:11px;line-height:1.4;padding:2px}.counterparty-ledger-compact>.admin-pagination{flex:0 0 auto;margin:0!important;padding:2px;gap:6px;font-size:11px}.counterparty-ledger-compact>.admin-pagination button{min-height:26px!important;height:26px;padding:2px 8px!important;font-size:11px!important}@media(max-width:640px){.counterparty-ledger-compact .counterparty-ledger-name{font-size:18px!important}.counterparty-ledger-compact>.admin-toolbar>label{flex:1 1 90px;max-width:none}}.customer-performance-report{display:flex;flex-direction:column;gap:7px;min-width:0;font-family:IRANSans,sans-serif}.customer-performance-report>.admin-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0!important;padding:4px 7px!important;min-height:0}.customer-performance-report>.admin-panel-heading h2{line-height:1.5;margin:0}.customer-performance-report>.admin-panel-heading p{line-height:1.5;margin:0;color:var(--text-muted,#756674)}.customer-performance-report>.admin-panel-heading :is(button){font-size:11px!important;min-height:28px!important;padding:3px 9px!important}.customer-performance-report>.admin-toolbar{display:flex;align-items:end;gap:6px;margin:0!important;padding:5px 8px!important;min-height:0!important}.customer-performance-report>.admin-toolbar :is(input,select,button){font-size:12px!important;min-height:29px!important;height:29px!important;padding:3px 6px!important}.customer-performance-modebar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:linear-gradient(100deg,#fff6fa,#fbeaf4);border:1px solid #e9c9dc;border-radius:8px;padding:6px 11px;min-height:46px}.customer-performance-mode-description{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 11px;min-width:0}.customer-performance-mode-description strong{font-size:12px;font-weight:600!important;color:#7b144d}.customer-performance-mode-description span{font-size:11px;color:#655568;font-weight:400}.customer-performance-mode-toggle{display:inline-flex!important;align-items:center!important;gap:8px!important;white-space:nowrap;flex:0 0 auto;min-height:30px!important;height:30px!important;padding:3px 9px!important;border-radius:8px!important;border:1px solid #ad6e94!important;background:#fff!important;color:#7b144d!important;font:inherit;font-size:12px!important;cursor:pointer}.customer-performance-mode-toggle.is-on{border-color:#8c0e54!important;background:#81104e!important;color:#fff!important}.customer-performance-mode-toggle:focus-visible{outline:3px solid #ecac30;outline-offset:2px}.customer-performance-toggle-track{display:flex;align-items:center;flex:0 0 30px;width:30px;height:16px;border-radius:20px;padding:2px;background:#d4cad1;transition:background .15s;box-sizing:border-box}.customer-performance-toggle-track i{display:block;width:12px;height:12px;border-radius:100%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.15);transition:transform .15s}.customer-performance-mode-toggle.is-on .customer-performance-toggle-track{background:#45ad6b}.customer-performance-mode-toggle.is-on .customer-performance-toggle-track i{transform:translateX(-14px)}.customer-performance-selection{display:flex;align-items:center;gap:7px 12px;flex-wrap:wrap;border:1px solid #eee5ec;border-radius:6px;padding:5px 8px;background:var(--surface,#fff)}.customer-performance-selection>label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:400}.customer-performance-selection input{font-size:12px!important;padding:4px 8px!important;min-height:28px!important;height:28px!important;max-width:190px}.customer-performance-selection>span{color:var(--text-muted,#716471);font-size:11px}.customer-performance-selection>strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#862451}.customer-performance-customers{min-width:0;margin:0!important;overflow-x:auto}.customer-performance-customers.is-detail-mode{max-height:min(24vh,225px);overflow:auto;border:1px solid #e9e3e9;border-radius:6px}.customer-performance-customers .admin-table{margin:0!important;width:100%}.customer-performance-customers .admin-table :is(td,th){padding:5px 7px!important;line-height:1.4!important;min-height:0;font-size:12px!important;font-weight:400!important}.customer-performance-customers .admin-table th{position:sticky;top:0;z-index:2;background:var(--surface,#fcf8fc)}.customer-performance-customers .admin-drilldown-row{cursor:pointer}.customer-performance-customers .admin-drilldown-row:nth-child(2n){background:#fbf7fa}.customer-performance-customers .admin-drilldown-row.is-selected{background:#f9e2ee!important;box-shadow:inset -3px 0 #991155}.customer-performance-customers .admin-drilldown-row:focus-visible{outline:2px solid #a61564;outline-offset:-2px}.customer-performance-pagebar{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;font-size:11px}.customer-performance-pagebar button{height:26px;min-height:26px;font-size:11px;padding:3px 8px}.customer-performance-detail-panel{min-height:210px;border-top:2px solid #dcb3cc;padding-top:6px}.customer-performance-detail-empty{padding:25px 12px;text-align:center;border:1px dashed #dec8d4;border-radius:8px;font-size:12px;color:#716176}.customer-performance-detail-panel>.counterparty-ledger-compact.is-embedded{height:auto!important;min-height:270px!important;max-height:none!important;gap:6px!important}.customer-performance-detail-panel .counterparty-ledger-compact.is-embedded>.counterparty-ledger-lines{height:min(43vh,450px);min-height:185px;flex:0 0 auto!important;max-height:min(43vh,450px)!important}.customer-performance-detail-panel .counterparty-ledger-compact.is-embedded>.admin-toolbar{background:#fcf7fa}@media(max-width:640px){.customer-performance-modebar{padding:8px;gap:8px}.customer-performance-mode-description{flex:1 1 100%}.customer-performance-mode-toggle{margin-inline-start:auto}.customer-performance-customers.is-detail-mode{max-height:210px}.customer-performance-detail-panel .counterparty-ledger-compact.is-embedded>.counterparty-ledger-lines{height:42vh;max-height:42vh!important}}@media(prefers-reduced-motion:reduce){.customer-performance-toggle-track,.customer-performance-toggle-track i{transition:none}}.customer-performance-report>.admin-panel-heading{flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap;margin-bottom:2px!important;padding:4px 8px!important}.customer-performance-report>.admin-panel-heading h2{font-size:15px!important;line-height:1.4!important;font-weight:500!important}.customer-performance-report>.admin-panel-heading p{font-size:11px!important;line-height:1.45!important;margin:0!important}.customer-performance-report>.admin-panel-heading .customer-performance-mode-toggle{width:auto!important;max-width:160px!important;flex:0 0 auto!important;padding:4px 9px!important;height:30px!important;min-height:30px!important;border-radius:7px!important;letter-spacing:0!important}.customer-performance-report>.admin-toolbar{margin-bottom:0!important}.customer-performance-report>.customer-performance-detail-panel{padding:5px 0!important;min-height:190px}.customer-performance-report .customer-performance-active-person{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap;margin:0 0 4px;padding:2px 8px;border-right:3px solid #a01863;background:#fbf0f7;border-radius:4px;font-size:12px;line-height:1.5}.customer-performance-report .customer-performance-active-person strong{font-size:14px;font-weight:550!important;color:#6e1548}.customer-performance-report .customer-performance-active-person span{font-size:11px;color:#746470}.customer-performance-detail-panel .counterparty-ledger-compact.is-embedded>.admin-toolbar,.customer-performance-detail-panel .counterparty-ledger-compact.is-embedded>.counterparty-ledger-source-summary,.customer-performance-report>.customer-performance-modebar,.customer-performance-report>.customer-performance-selection{display:none!important}.customer-performance-report .customer-performance-customers.is-detail-mode{max-height:min(22vh,185px)}.customer-performance-report .counterparty-ledger-compact.is-embedded>.counterparty-ledger-lines{height:min(53vh,530px);max-height:min(53vh,530px)!important;min-height:180px}@media (max-width:550px){.customer-performance-report>.admin-panel-heading .customer-performance-mode-toggle{margin-inline-start:auto!important}.customer-performance-report .customer-performance-customers.is-detail-mode{max-height:130px}}.counterparty-performance-single-toggle{display:flex;flex-direction:column;gap:6px;min-height:260px;height:calc(100dvh - 54px);overflow:auto;min-width:0;padding:4px 6px!important}.counterparty-performance-single-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 8px;border-radius:7px;background:#faf5f9;border:1px solid #e9d8e3;flex:0 0 auto;min-height:34px}.counterparty-performance-single-heading>span{font-size:13px;font-weight:550;color:#7c164c}.counterparty-performance-single-heading .customer-performance-mode-toggle{min-height:29px!important;height:29px!important;padding:3px 9px!important;font-size:12px!important;width:auto!important;flex:0 0 auto!important}.counterparty-performance-single-toggle>.counterparty-ledger-compact.is-embedded{flex:1 1 auto;min-height:230px;height:auto!important;max-height:none!important;display:flex!important;flex-direction:column;gap:7px!important}.counterparty-performance-single-toggle .counterparty-performance-person-name{display:flex;align-items:baseline;gap:10px;min-width:0;flex-wrap:wrap;border-bottom:1px solid #e7d9e1;padding:3px 8px}.counterparty-performance-single-toggle .counterparty-performance-person-name strong{color:#712454;font-size:19px!important;font-weight:500!important}.counterparty-performance-single-toggle .counterparty-performance-person-name span{font-size:11px;color:#806d7b}.counterparty-performance-single-toggle .counterparty-ledger-compact>.admin-summary-grid{display:flex!important;margin:0!important;padding:2px 3px!important}.counterparty-performance-single-toggle .counterparty-ledger-compact>.counterparty-ledger-lines{height:min(53vh,470px)!important;max-height:min(53vh,470px)!important;min-height:165px}.counterparty-performance-single-toggle .counterparty-ledger-compact .admin-table :is(td,th){padding:5px 6px!important;font-size:12px!important;line-height:1.4!important}@media(max-width:590px){.counterparty-performance-single-toggle{padding:2px!important}.counterparty-performance-single-heading{gap:5px;padding:3px 6px}.counterparty-performance-single-toggle .counterparty-performance-person-name strong{font-size:16px!important}}