:root{--background:#f3f6f5;--foreground:#17212b;--card:#ffffff;--card-foreground:#17212b;--popover:#ffffff;--popover-foreground:#17212b;--primary:#11735f;--primary-foreground:#ffffff;--secondary:#e8f0ec;--secondary-foreground:#25443a;--muted:#eef3f6;--muted-foreground:#667885;--accent:#e6f3ef;--accent-foreground:#0c5d57;--destructive:#c73d45;--border:#dbe4e9;--input:#d3dfe5;--ring:#54b7ad;--sidebar:#123c36;--sidebar-foreground:#e6f1ec;--sidebar-primary:#91c8b5;--sidebar-primary-foreground:#123c36;--sidebar-accent:#235148;--sidebar-accent-foreground:#ffffff;--sidebar-border:#31574e;--sidebar-ring:#91c8b5;--radius:0.8rem}body,html{background:var(--background)}body{color:#17212b;direction:rtl;min-width:320px}button,input,select,textarea{font:inherit}.app-shell{background:var(--background);min-height:100svh}[data-sidebar=sidebar]{background:linear-gradient(180deg,#123c36,#0d2f2a)}.brand-panel{min-height:88px;flex-direction:row;align-items:center;gap:12px;padding:18px 18px 14px;border-bottom:1px solid rgb(255 255 255/10%)}.brand-mark{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;color:#213a32;background:#d6a84b}.brand-mark svg{width:24px;height:24px}.brand-panel div:last-child{display:flex;min-width:0;flex-direction:column;gap:3px}.brand-panel strong{font-size:1rem;color:white}.brand-panel span{font-size:.75rem;color:#adc5bb}[data-sidebar=group-label]{color:#91b6a8;font-size:.72rem}[data-sidebar=menu-button]{min-height:38px;border-radius:10px;color:#e6f1ec}.priority-menu{padding-top:10px;padding-bottom:4px}.nav-accordion{padding-block:2px}.nav-group-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;border-radius:9px;padding:8px 12px;color:#b8d1c8;font-size:.81rem;font-weight:800;text-align:right}.nav-group-toggle.open,.nav-group-toggle:hover{background:#1e4a40;color:white}.nav-group-toggle svg{width:15px;height:15px;transition:transform .2s}.nav-group-toggle.open svg{transform:rotate(-90deg)}.nav-accordion [data-sidebar=group-content]{padding:3px 7px 5px 0}.nav-accordion [data-sidebar=menu-button]{min-height:32px;padding-block:4px;font-size:.79rem}[data-sidebar=menu-button] svg{color:#a6c9bd}[data-sidebar=menu-button][data-active=true]{background:#28584e;color:white;box-shadow:inset -3px 0 #91c8b5}[data-sidebar=menu-button][data-active=true] svg{color:#a6c9bd}.user-panel{flex-flow:row wrap;align-items:center;gap:10px;margin:10px;padding:12px;border:1px solid rgb(255 255 255/10%);border-radius:14px;background:rgb(255 255 255/5%)}.avatar{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:#d6a84b;color:#213a32;font-weight:800}.user-panel div:last-child{display:flex;flex-direction:column;overflow:hidden}.user-panel strong{overflow:hidden;color:white;font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.user-panel span{color:#adc5bb;font-size:.72rem}.preview-user-button{width:100%;border:1px solid rgb(255 255 255/12%)!important;color:#d8e9ef!important;font-size:.72rem!important}.preview-user-button:hover{background:rgb(255 255 255/9%)!important;color:white!important}.topbar{position:sticky;top:0;z-index:8;min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px clamp(18px,3vw,38px);border-bottom:1px solid #dce5ea;background:rgb(250 252 253/90%);backdrop-filter:blur(16px)}.topbar h1{font-size:clamp(1.15rem,2vw,1.45rem);font-weight:800;color:#25443a}.topbar p{margin-top:3px;color:#71818c;font-size:.82rem}.topbar-actions{display:flex;align-items:center;gap:10px}.company-select{width:210px;background:white;border-color:#d4e0e6}.online-pill{display:flex;align-items:center;gap:7px;border:1px solid #cfe4df;border-radius:999px;padding:7px 11px;background:#effaf7;color:#26746d;font-size:.78rem}.online-pill span{width:7px;height:7px;border-radius:50%;background:#27a584;box-shadow:0 0 0 3px rgb(39 165 132/14%)}.workspace{width:100%;max-width:1540px;margin:0 auto;padding:clamp(18px,3vw,38px)}.surface-card{overflow:hidden;border:1px solid #dbe4e9;border-radius:17px;background:white;box-shadow:0 7px 24px rgb(28 56 75/5%)}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border-bottom:1px solid #e5ebef}.toolbar-buttons,.toolbar-searches{display:flex;align-items:center;gap:9px}.category-filter{width:170px;background:white}.search-box{position:relative;width:min(380px,42vw)}.search-box svg{position:absolute;top:10px;right:11px;z-index:1;width:17px;color:#7a8b96}.search-box input{padding-right:36px;background:#f8fafb}.surface-card [data-slot=table-head]{height:45px;padding-inline:14px;background:#f3f7f9;color:#5d707d;font-size:.78rem;text-align:right}.surface-card [data-slot=table-cell]{padding:13px 14px;color:#2d3c46}.surface-card [data-slot=table-row]:hover{background:#f8fbfc}.compact-table{width:100%;min-width:0;overflow-x:auto}.compact-table table{width:100%;min-width:0;table-layout:auto}.compact-table [data-slot=table-head]{height:32px;padding:5px 7px;font-size:.7rem}.compact-table [data-slot=table-cell]{height:40px;padding:5px 7px;font-size:.74rem}.compact-table .title-cell{min-width:0;gap:1px;overflow-wrap:anywhere}.compact-table .title-cell strong{font-size:.8rem}.compact-table .title-cell span{font-size:.68rem}.record-actions{display:flex;align-items:center;gap:4px;white-space:nowrap}.danger-action{color:#bd3540!important}.danger-action:hover{background:#fff0f1!important;color:#9f2530!important}.limited-user-mode .danger-action{display:none!important}.quote-compact{overflow-x:auto}.quote-compact,.quote-compact table{width:100%;min-width:0}.quote-compact [data-slot=table-head]{height:34px;padding:5px 7px;font-size:.72rem}.quote-compact [data-slot=table-cell]{height:43px;padding:5px 7px;font-size:.75rem}.quote-number{color:#173b59!important;font-weight:850;text-align:right}.quote-amount{color:#173b59!important;white-space:nowrap}.compact-actions{gap:2px}.compact-actions button[data-size=icon-xs]{width:27px;height:27px}.compact-actions button:not([data-size=icon-xs]){width:auto;height:27px;padding-inline:6px}.compact-actions svg{width:15px}.bank-page table,.check-list table,.finance-list table,.product-compact table,.purchase-compact .title-cell,.purchase-compact table,.quote-compact .title-cell{min-width:0}.purchase-actions{justify-content:flex-start}.purchase-actions button{flex:none;height:28px}.customer-project-list{display:grid;max-height:210px;overflow-y:auto;gap:5px;border:1px solid #dbe7e2;border-radius:11px;padding:7px;background:#f7faf8}.customer-project-list>div{display:flex;align-items:center;gap:5px;border-radius:7px;padding:5px 8px;background:white}.customer-project-list>div>span{display:grid;flex:1;gap:1px;min-width:0}.customer-project-list strong{color:#205d4b;font-size:.83rem}.customer-project-list p,.customer-project-list small{color:#70827b;font-size:.72rem}.revert-action{border-color:#e5b765!important;background:#fff9eb!important;color:#92600d!important}.title-cell{display:flex;min-width:0;flex-direction:column;gap:2px}.title-cell strong{color:#173b59;font-size:.9rem}.title-cell span{color:#84929b;font-size:.73rem}.surface-card small{color:#7f8d96;font-size:.68rem}.status{border:0;font-weight:700}.status.done{background:#e4f5ee;color:#1d775d}.status.open{background:#fff3d8;color:#93610b}.status.overdue{background:#fee8e8;color:#b8323c}.empty-state,.loading-card{min-height:320px;display:grid;place-items:center;align-content:center;gap:8px;color:#7a8b95}.empty-state svg{width:34px;height:34px;color:#55afa6}.empty-state strong{color:#284657}.error-banner{gap:12px;padding:12px 14px;border:1px solid #f3c4c6;border-radius:12px;background:#fff0f0;color:#a02e36}.error-banner,.user-preview-banner{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.user-preview-banner{gap:14px;padding:10px 14px;border:1px solid #b8dbe0;border-radius:13px;background:#edf8f9;color:#235d67}.user-preview-banner>div{display:flex;align-items:center;gap:10px}.user-preview-banner svg{width:18px}.user-preview-banner span{display:flex;flex-direction:column;gap:2px}.user-preview-banner small{color:#62818a;font-size:.72rem}.dashboard-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.scope-line{grid-column:1/-1;display:flex;align-items:center;gap:9px;color:#788792;font-size:.8rem}.scope-line strong{color:#173b59}.date-chip{margin-right:auto;border:1px solid #dce5e9;border-radius:999px;padding:5px 10px;background:white}.kpi-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.kpi-card{position:relative;display:flex;align-items:center;gap:14px;min-height:118px;overflow:hidden;border:1px solid #dce6eb;border-radius:17px;padding:20px;background:white;box-shadow:0 7px 24px rgb(28 56 75/4%)}.kpi-card:after{content:"";position:absolute;inset:auto auto -36px -24px;width:110px;height:110px;border-radius:50%;background:currentColor;opacity:.055}.kpi-icon{display:grid;place-items:center;width:47px;height:47px;flex:0 0 47px;border-radius:14px;background:currentColor}.kpi-icon svg{width:22px;color:white}.kpi-card div:last-child{min-width:0;display:flex;flex-direction:column;gap:8px}.kpi-card span{color:#71808a;font-size:.78rem}.kpi-card strong{color:#173b59;font-size:clamp(.95rem,1.5vw,1.18rem)}.kpi-card.blue{color:#447fa2}.kpi-card.teal{color:#42a79d}.kpi-card.green{color:#3b9568}.kpi-card.orange{color:#ca8246}.attention-card,.chart-card{min-height:320px}.project-card{grid-column:1/-1}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #e7ecef}.section-head h2{color:#173b59;font-size:1rem;font-weight:800}.section-head p{margin-top:4px;color:#7b8a94;font-size:.76rem}.bars{display:flex;flex-direction:column;gap:20px;padding:28px 20px}.bar-row{display:grid;grid-template-columns:130px 1fr 100px;align-items:center;gap:12px;font-size:.78rem}.bar-row>span{color:#405663}.bar-row strong{color:#173b59;text-align:left}.bar-track{height:12px;overflow:hidden;border-radius:999px;background:#eaf0f3}.bar-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#58c1b7,#277494);box-shadow:0 3px 10px rgb(39 116 148/20%)}.attention-list{display:flex;flex-direction:column;padding:7px 14px 14px}.attention-list button{display:grid;grid-template-columns:42px 1fr 22px;align-items:center;gap:12px;border:0;border-bottom:1px solid #edf1f3;padding:14px 4px;background:transparent;text-align:right;cursor:pointer}.attention-list button:last-child{border-bottom:0}.attention-list button:hover{background:#f8fbfc}.attention-list button>div{display:flex;flex-direction:column;gap:4px}.attention-list strong{color:#2e4654;font-size:.85rem}.attention-list div span{color:#86949c;font-size:.74rem}.attention-list>button>svg{width:18px;color:#91a0a8}.attention-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px}.attention-icon svg{width:19px}.attention-icon.red{background:#fee9e9;color:#bd444b}.attention-icon.amber{background:#fff1d5;color:#a87016}.attention-icon.blue{background:#e3f0f6;color:#367695}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding-block:4px}.field{display:flex;flex-direction:column;gap:7px}.field-wide{grid-column:1/-1}.field label{color:#445b68;font-size:.8rem}.field button,.field input,.field textarea{background:#fbfcfd}.field textarea{min-height:82px;resize:vertical;border:1px solid #d3dfe5;border-radius:9px;padding:10px 12px;color:#243b49;outline:none}.field textarea:focus{border-color:#54b7ad;box-shadow:0 0 0 3px rgb(84 183 173/14%)}.boolean-field{display:flex;align-items:center;gap:9px;min-height:58px;border:1px solid #dbe4e9;border-radius:10px;padding:13px;background:#f8fbfc;color:#36515f}.boolean-field input{width:18px;height:18px;accent-color:#2b7d78}.quote-form{display:flex;flex-direction:column;gap:8px;min-width:0}.quote-meta-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px 8px;padding:0 0 7px;border-bottom:1px solid #dce7eb}.quote-meta-grid .field{gap:2px}.quote-meta-grid .field label,.quote-meta-grid .settlement-field>label{font-size:.72rem}.quote-meta-grid button,.quote-meta-grid input{height:30px}.purchase-source{display:grid;grid-template-columns:34px auto 1fr;align-items:center;gap:10px;border-right:3px solid #43a49b;padding:8px 11px;background:#eff9f7;color:#49626e}.purchase-source>svg{width:20px;color:#277e77}.purchase-source>div{display:flex;flex-direction:column;gap:2px}.purchase-source small,.purchase-source span{color:#71838c;font-size:.68rem}.purchase-source strong{color:#174b5b;font-size:.82rem}.purchase-source small{justify-self:end}.settlement-field{display:flex;flex-direction:column;gap:7px}.settlement-field>label{color:#445b68;font-size:.8rem}.settlement-options{display:grid;grid-template-columns:1fr 1fr;gap:6px}.settlement-options label{display:flex;height:36px;align-items:center;justify-content:center;gap:6px;border:1px solid #d4e0e5;border-radius:9px;background:white;color:#667984;font-size:.75rem;cursor:pointer}.settlement-options label.selected{border-color:#4da89f;background:#e7f6f3;color:#1f6f68;font-weight:750;box-shadow:inset 0 0 0 1px #4da89f}.settlement-options input{width:15px;height:15px;accent-color:#2b7d78}.settlement-with-date{grid-row:span 2}.settlement-date{display:flex;flex-direction:column;gap:6px;margin-top:4px}.settlement-date label{color:#526975;font-size:.72rem}.method-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.method-options label{display:flex;min-height:38px;align-items:center;justify-content:center;gap:7px;border:1px solid #d4e0e5;border-radius:9px;background:#fff;color:#667984;cursor:pointer}.method-options label.selected{border-color:#4da89f;background:#e7f6f3;color:#1f6f68;font-weight:750}.method-options input{width:15px;height:15px;accent-color:#2b7d78}.quote-meta-grid input:disabled{border-style:dashed;background:#edf1f3;color:#9aa6ad}.quote-lines-wrap{overflow:hidden;border-block:1px solid #cfdde3;background:#fff}.quote-lines-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 4px;border-bottom:1px solid #dbe5e9;background:#f5f9fa}.quote-lines-head>div{display:flex;flex-direction:column;gap:3px}.quote-lines-head strong{color:#173b59;font-size:.88rem}.quote-lines-head span{color:#6e808a;font-size:.73rem}.quote-lines-scroll{max-height:52vh;overflow-y:auto;overflow-x:hidden}.quote-lines-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.quote-lines-table th{position:sticky;top:0;z-index:5;height:34px;border-bottom:1px solid #0a6f91;padding:6px;background:#0d86ad;color:white;font-size:.68rem;font-weight:700;text-align:right;white-space:nowrap}.quote-lines-table th:first-child{width:4%;text-align:center}.quote-lines-table th:nth-child(2){width:23%}.quote-lines-table th:nth-child(3){width:8%}.quote-lines-table th:nth-child(4),.quote-lines-table th:nth-child(5){width:7%}.quote-lines-table th:nth-child(6){width:12%}.quote-lines-table th:nth-child(7){width:7%}.quote-lines-table th:nth-child(8){width:14%}.quote-lines-table th:nth-child(9){width:12%}.quote-lines-table th:last-child{width:6%}.quote-lines-table td{height:45px;border-bottom:1px solid #e1e8eb;padding:4px;vertical-align:middle}.quote-lines-table tbody tr:nth-child(2n){background:#f8fbfc}.quote-lines-table tbody tr:last-child td{border-bottom:0}.quote-lines-table input{width:100%;min-width:0;height:32px;border-color:transparent;border-radius:5px;background:transparent;padding-inline:7px;font-size:.72rem}.quote-lines-table input:hover{border-color:#d5e1e6;background:white}.quote-lines-table input:focus{border-color:#54b7ad;background:white}.quote-lines-table .row-number{background:#eaf4f7;color:#126b8d;font-size:.72rem;font-weight:800;text-align:center}.quote-lines-table .line-total{overflow:hidden;color:#173b59;font-size:.72rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.product-picker-cell{position:relative;vertical-align:top!important}.product-picker-cell>div[data-slot=input-group]{width:100%;background:white}.product-picker-cell>small{display:block;margin-top:4px;color:#71848f;font-size:.69rem}.product-option{display:flex;min-width:0;flex-direction:column;gap:3px;text-align:right}.product-option strong{overflow:hidden;color:#183d58;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.product-option small,.product-option span{color:#71828c;font-size:.7rem}.product-suggestions{position:absolute;top:calc(100% - 2px);right:0;z-index:40;width:min(430px,80vw);max-height:280px;overflow-y:auto;border:1px solid #cbdde4;border-radius:9px;background:white;box-shadow:0 10px 24px rgb(16 48 69/12%)}.product-suggestions>button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;border:0;border-bottom:1px solid #e5ecef;padding:9px 10px;background:white;cursor:pointer}.product-suggestions>button:last-child{border-bottom:0}.product-suggestions>button.is-active,.product-suggestions>button:focus-visible,.product-suggestions>button:hover{background:#dff4f1;outline:0;box-shadow:inset -3px 0 #42a79d}.product-suggestions>button b{color:#176c75;font-size:.72rem;white-space:nowrap}.no-product{padding:10px;color:#71828c;font-size:.72rem;text-align:center}.customer-picker{position:relative}.customer-picker>div[data-slot=input-group]{width:100%;background:white}.customer-suggestions{position:absolute;top:calc(100% + 4px);right:0;left:0;z-index:30;overflow:hidden;border:1px solid #cbdde4;border-radius:10px;background:white;box-shadow:0 12px 26px rgb(16 48 69/16%)}.customer-suggestions>button{display:flex;width:100%;flex-direction:column;gap:3px;border:0;border-bottom:1px solid #e5ecef;padding:9px 10px;background:white;text-align:right;cursor:pointer}.customer-suggestions>button:last-child{border-bottom:0}.customer-suggestions>button.is-active,.customer-suggestions>button:hover{background:#dff4f1;box-shadow:inset -3px 0 #42a79d}.customer-suggestions strong{color:#173b59;font-size:.78rem}.customer-suggestions span{color:#74858f;font-size:.68rem}.project-picker{position:relative}.project-suggestions{position:absolute;top:calc(100% + 4px);right:0;left:0;z-index:31;overflow:hidden;border:1px solid #cbdde4;border-radius:10px;background:white;box-shadow:0 12px 26px rgb(16 48 69/16%)}.project-suggestions>button{display:flex;width:100%;flex-direction:column;gap:3px;border:0;border-bottom:1px solid #e5ecef;padding:8px 10px;background:white;text-align:right;cursor:pointer}.project-suggestions>button:last-child{border-bottom:0}.project-suggestions>button.is-active,.project-suggestions>button:hover{background:#dff4f1;box-shadow:inset -3px 0 #42a79d}.project-suggestions strong{color:#173b59;font-size:.78rem}.project-suggestions span{color:#74858f;font-size:.68rem}.quote-adjustments{display:grid;grid-template-columns:minmax(180px,230px) minmax(210px,280px);gap:10px 14px;align-items:end;border-bottom:1px solid #dce7eb;padding-bottom:10px}.quote-adjustments .boolean-field{min-height:36px;border:0;padding:5px 0;background:transparent}.quote-final-notes{margin-top:3px}.quote-final-notes textarea{min-height:58px}.invoice-cost-fields{display:flex;flex-direction:column;gap:10px;border:1px solid #d7e4e8;border-radius:12px;padding:12px;background:#f7fafb}.invoice-cost-head>div{display:flex;flex-direction:column;gap:3px}.invoice-cost-head strong{color:#173b59;font-size:.82rem}.invoice-cost-fields>small,.invoice-cost-head span{color:#72848e;font-size:.69rem;line-height:1.8}.invoice-cost-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.quote-preview{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid #d8e5e8;border-radius:9px;background:#f3f8f9}.quote-preview span{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;padding:7px 10px;color:#6f808a;font-size:.7rem}.quote-preview strong{color:#1f4b62;font-size:.78rem}.quote-preview .grand-total{background:#173b59;color:#b9d4df}.quote-preview .grand-total strong{color:white}.quote-terms-bar{display:grid;grid-template-columns:130px 130px minmax(190px,1.4fr) 90px 125px 140px 100px;gap:8px;align-items:end;border:1px solid #d7e4e8;border-radius:10px;padding:7px 9px;background:#f7fafb}.quote-terms-bar .field,.quote-terms-bar .settlement-field{gap:3px}.quote-terms-bar label{font-size:.69rem}.quote-terms-bar input{height:31px;font-size:.72rem}.quote-terms-bar .settlement-options{gap:4px}.quote-terms-bar .settlement-options label{height:31px;border-radius:7px;font-size:.7rem}.quote-terms-bar .official-field{min-height:31px;margin:0;padding:5px 7px;white-space:nowrap}.document-sheet{width:min(680px,92vw)!important;max-width:680px!important;gap:0;overflow:hidden;background:#f6f9fa}.document-sheet [data-slot=sheet-header]{border-bottom:1px solid #dbe4e9;padding:22px 24px 18px;background:white}.document-sheet [data-slot=sheet-title]{color:#153b5b;font-size:1.16rem;font-weight:850}.document-sheet-body{min-height:0;overflow-y:auto;padding:18px 22px 28px}.document-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.document-summary>div{display:flex;min-height:75px;flex-direction:column;gap:7px;border:1px solid #dce6ea;border-radius:12px;padding:12px;background:white}.document-summary span{color:#74858f;font-size:.72rem}.document-summary strong{overflow-wrap:anywhere;color:#24475b;font-size:.86rem}.document-section{margin-top:14px;overflow:hidden;border:1px solid #dce5e9;border-radius:14px;background:white}.document-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e2eaed;padding:12px 14px;background:#edf5f6}.document-section-head strong{color:#1b4b61;font-size:.82rem}.document-section-head span{color:#71838d;font-size:.72rem}.document-items{width:100%;border-collapse:collapse}.document-items td,.document-items th{border-bottom:1px solid #e9eef0;padding:10px 12px;text-align:right}.document-items th{color:#6b7d87;font-size:.7rem;font-weight:700}.document-items td{color:#304853;font-size:.76rem}.document-items tbody tr:last-child td{border-bottom:0}.document-items .money-cell{text-align:left;white-space:nowrap}.profit-items{min-width:680px}.profit-summary{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #dce5e9;background:#f7fafb}.profit-summary>div{display:flex;flex-direction:column;gap:4px;padding:11px 13px;border-left:1px solid #e0e8eb}.profit-summary>div:last-child{border-left:0}.profit-summary span{color:#74858f;font-size:.68rem}.profit-summary strong{color:#173b59;font-size:.8rem}.profit-hint{padding:10px 14px;border-top:1px solid #e3eaed;background:#fff8e9;color:#865d16;font-size:.72rem}.document-totals{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dce5e9;padding:13px 14px;background:#f9fbfc}.document-totals span{color:#687b86;font-size:.76rem}.document-totals strong{color:#123f59;font-size:1rem}.document-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.document-notes p{padding:14px;color:#415966;font-size:.8rem;line-height:1.9;white-space:pre-wrap}.movement-target{display:flex;min-height:58px;flex-direction:column;justify-content:center;gap:4px;border:1px solid #d8e4e8;border-radius:10px;padding:10px 13px;background:#f5fafb}.movement-target span{color:#74858f;font-size:.72rem}.movement-target strong{color:#173b59;font-size:.86rem}.history-list{display:flex;flex-direction:column;padding:4px 14px 10px}.history-row{display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:10px;min-height:51px;border-bottom:1px solid #edf1f2}.history-row:last-child{border-bottom:0}.history-dot{width:8px;height:8px;border-radius:50%;background:#45aaa0;box-shadow:0 0 0 4px #e2f4f1}.history-row div{display:flex;flex-direction:column;gap:3px}.history-row strong{color:#38505d;font-size:.76rem}.history-row span,.history-row time{color:#82919a;font-size:.68rem}.import-controls{display:grid;grid-template-columns:220px 1fr auto;align-items:end;gap:12px}.excel-drop{position:relative;display:grid;min-height:92px;grid-template-columns:34px 1fr;align-content:center;column-gap:10px;overflow:hidden;border:1px dashed #91b7c2;border-radius:13px;padding:14px;background:#f4fafb;cursor:pointer}.excel-drop svg{grid-row:1/3;align-self:center;color:#18828b}.excel-drop strong{color:#204b60;font-size:.82rem}.excel-drop span{color:#71838d;font-size:.7rem}.excel-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}.import-message{border-radius:10px;padding:10px 12px;background:#eaf6f4;color:#266d68;font-size:.78rem}.import-preview{max-height:330px;overflow:auto;border:1px solid #dce6ea;border-radius:12px}.import-preview>span{display:block;padding:10px 14px;color:#71838d;font-size:.74rem}.statement-surface{overflow-x:auto}.statement-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border-bottom:1px solid #dce6ea;padding:16px;background:#f6fafb}.statement-summary>div{display:flex;min-height:76px;flex-direction:column;justify-content:center;gap:7px;border:1px solid #d9e5e9;border-radius:12px;padding:12px 14px;background:white}.statement-summary span{color:#71838e;font-size:.76rem}.statement-summary strong{color:#173b59;font-size:1rem}.statement-sheet{width:min(980px,96vw)!important;max-width:980px!important;gap:0;background:#f5f8fa}.finance-form{gap:12px 16px;padding:2px 1px 8px}.finance-form-intro{grid-column:1/-1;display:flex;align-items:center;gap:12px;border:1px solid #b8d7ce;border-radius:12px;padding:12px 15px;background:linear-gradient(110deg,#e8f4ef,#f7fbf9);color:#194e43}.finance-form-intro>div:nth-child(2){display:grid;flex:1;gap:3px}.finance-form-intro strong{font-size:.92rem}.finance-form-intro span{font-size:.72rem;color:#55756c}.finance-form-intro b{font-size:.72rem;color:#2d715d}.finance-form-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:#23765e;color:white}.finance-form-icon svg{width:19px}.finance-form .field,.finance-form .settlement-field{min-width:0}.finance-form .field label,.finance-form .settlement-field>label{color:#31574e;font-weight:700;font-size:.75rem}.finance-form .field button,.finance-form .field input{height:38px;border-color:#d2e2dc;background:white}.finance-form .field textarea{min-height:64px;border-color:#d2e2dc;background:white}.finance-form .method-options label,.finance-form .settlement-options label{border-color:#d2e2dc}.finance-form .method-options label.selected,.finance-form .settlement-options label.selected{border-color:#3b9779;background:#e4f3ec;color:#17674e}.finance-validation{border:1px solid #eab2ae;border-radius:9px;padding:9px 12px;background:#fff3f1;color:#a43030;font-size:.78rem}.purchase-export-list{display:grid;max-height:55vh;overflow:auto;gap:6px;padding:4px}.purchase-export-list label{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:5px 12px;padding:10px 12px;border:1px solid #d9e6df;border-radius:9px;cursor:pointer}.purchase-export-list input{accent-color:#23765e}.purchase-export-list strong{font-size:.8rem}.purchase-export-list span{font-size:.78rem}.purchase-export-list small{grid-column:2/-1;color:#617b70;font-size:.7rem}.user-form{display:grid;gap:17px}.user-access{display:grid;gap:6px;padding:15px;border:1px solid #d4e5db;border-radius:12px;background:#f7faf8}.user-access strong{color:#245e49;font-size:.87rem}.user-access>span{color:#688073;font-size:.72rem}.user-access>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin-top:8px}.user-access label{display:flex;gap:8px;align-items:center;padding:9px;border:1px solid #d9e7df;border-radius:8px;background:white;font-size:.78rem}.user-access input,.user-permissions input{accent-color:#23765e}.user-permissions{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.operator-login{min-height:100vh;display:grid;place-items:center;padding:18px;background:linear-gradient(140deg,#e1f0e9,#f9fcfa)}.operator-login form{display:grid;width:min(410px,100%);gap:16px;padding:30px;border:1px solid #d0e1d6;border-radius:18px;background:white;box-shadow:0 20px 55px #27514018}.operator-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;color:white;background:#23765e;font-size:1.5rem;font-weight:900}.operator-login h1{margin:0;color:#1d5542;font-size:1.35rem}.operator-login p,.operator-login small{margin:0;color:#718678;font-size:.82rem}.operator-login label{display:grid;gap:6px;color:#31574b;font-size:.8rem;font-weight:700}.operator-login button{background:#23765e}.statement-sheet [data-slot=sheet-header]{border-bottom:1px solid #dbe5e9;padding:20px 24px;background:white}.statement-sheet-body{min-height:0;overflow-y:auto;padding:18px}.statement-party{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.statement-party>div{display:flex;min-height:66px;flex-direction:column;justify-content:center;gap:5px;border:1px solid #dbe5e9;border-radius:11px;padding:10px 12px;background:white}.statement-party span{color:#74858f;font-size:.7rem}.statement-party strong{color:#173b59;font-size:.84rem}.statement-actions{display:flex;gap:8px;margin-block:14px}.statement-ledger{overflow-x:auto;border:1px solid #dbe5e9;border-radius:12px;background:white}.statement-ledger table{width:100%;min-width:0}.statement-ledger [data-slot=table-head]{height:33px;padding:5px 7px}.statement-ledger [data-slot=table-cell]{height:39px;padding:5px 7px;font-size:.73rem}.balance-due{color:#b13a42!important;font-weight:800}.balance-clear{color:#23765e!important;font-weight:800}.bank-summary{border-bottom:1px solid #dce6ea;padding:16px;background:#f6fafb}.bank-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.bank-summary-head strong{color:#173b59;font-size:.94rem}.bank-summary-head span{color:#71838e;font-size:.74rem}.bank-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.bank-cards article{display:grid;gap:5px;border:1px solid #d9e5e9;border-radius:12px;padding:12px 14px;background:white}.bank-cards article strong{color:#173b59;font-size:.84rem}.bank-cards article span{color:#667a86;font-size:.72rem}.bank-cards article b{color:#23765e;font-size:.75rem}.bank-page .bank-summary{border-bottom:0}.bank-page table{min-width:0}.bank-actions{flex-wrap:wrap;gap:5px}.bank-actions,.bank-page-head{display:flex;align-items:center}.bank-page-head{justify-content:space-between;gap:16px;border-bottom:1px solid #dce6ea;padding:14px 16px;background:#fff}.bank-page-head>div{display:flex;min-width:0;flex-direction:column;gap:4px}.bank-page-head strong{color:#173b59;font-size:.9rem}.bank-page-head span{color:#71838e;font-size:.72rem}.field-hint{display:block;margin-top:5px;color:#8a6c2a;font-size:.68rem;line-height:1.7}.checkbook-source{display:flex;min-height:66px;flex-direction:column;justify-content:center;gap:3px;border:1px solid #cfe2df;border-radius:10px;padding:9px 12px;background:#eff9f7}.checkbook-source small,.checkbook-source span{color:#67817e;font-size:.68rem}.checkbook-source strong{color:#1f625d;font-size:.8rem}.commission-table table{min-width:0}.check-tabs{display:flex;gap:6px;overflow-x:auto;border-bottom:1px solid #dce6ea;padding:10px 14px;background:#f7fafb}.check-tabs button{border:1px solid #d6e1e6;border-radius:999px;padding:7px 13px;background:white;color:#617582;font-size:.74rem;white-space:nowrap;cursor:pointer}.check-tabs button.active{border-color:#438f89;background:#e3f4f1;color:#176861;font-weight:800}.settings-loading{min-height:190px;display:grid;place-items:center;color:#74858f}.numbering-settings{display:flex;flex-direction:column;gap:16px}.numbering-grid{display:grid;grid-template-columns:1.4fr .65fr .8fr 1fr;align-items:end;gap:12px;border:1px solid #dbe6ea;border-radius:13px;padding:14px;background:#f6fafb}.number-preview{display:flex;min-height:64px;flex-direction:column;justify-content:center;gap:4px;border-radius:11px;padding:9px 13px;background:#173b59}.number-preview span{color:#b9cfda;font-size:.7rem}.number-preview strong{color:white;font-size:1.08rem;letter-spacing:.07em;text-align:left}.numbering-users{overflow:hidden;border:1px solid #dbe5e9;border-radius:13px}.numbering-users-head{display:flex;flex-direction:column;gap:3px;border-bottom:1px solid #dbe5e9;padding:11px 14px;background:#edf5f6}.numbering-users-head strong{color:#1d4c61;font-size:.82rem}.numbering-users-head span{color:#74858f;font-size:.7rem}.numbering-user{display:grid;grid-template-columns:1fr 1.4fr 70px;align-items:center;gap:12px;border-bottom:1px solid #edf1f3;padding:10px 14px}.numbering-user:last-child{border-bottom:0}.numbering-user>div{display:flex;flex-direction:column;gap:3px}.numbering-user strong{color:#304c5b;font-size:.78rem}.numbering-user span{color:#829099;font-size:.67rem}.numbering-user input:last-child{text-align:center;font-weight:850}.company-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.company-asset-upload{position:relative;display:grid;min-height:135px;grid-template-columns:1fr 92px;grid-template-rows:auto auto 1fr;gap:3px 12px;overflow:hidden;border:1px dashed #94b7c2;border-radius:13px;padding:14px;background:#f5fafb;cursor:pointer}.company-asset-upload>span{color:#173b59;font-size:.78rem;font-weight:800}.company-asset-upload>strong{color:#29756f;font-size:.75rem}.company-asset-upload>small{color:#74858f;font-size:.68rem;line-height:1.7}.company-asset-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.company-asset-upload img{grid-column:2;grid-row:1/4;width:92px;height:92px;align-self:center;object-fit:contain;border:1px solid #d9e5e9;border-radius:9px;padding:6px;background:white}.print-document,.print-purchase-list,.print-receipt,.print-statement{display:none}.sale-menu-note{max-width:260px;padding:5px 9px;color:#6d7973;font-size:.8rem;line-height:1.7}.sale-return-dialog{max-height:90dvh;overflow-y:auto}.sale-return-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;border:1px solid var(--border);padding:12px;border-radius:8px;background:white}.sale-return-summary dt{color:var(--muted-foreground);font-size:.85rem}.sale-return-summary dd{margin-top:3px;font-size:.95rem;font-weight:700;overflow-wrap:anywhere}.sale-return-confirm,.sale-return-effect{font-size:.9rem;line-height:1.85}.sale-return-confirm{display:flex;align-items:flex-start;gap:8px;cursor:pointer}.sale-return-confirm input{flex:0 0 16px;width:16px;height:16px;margin-top:6px;accent-color:var(--primary)}.sale-action-error{padding:9px 12px;border-radius:6px;background:#fff1f1;color:#ad3037;font-size:.9rem;line-height:1.8}.sale-return-notice{border:1px solid #e2c9a8;border-radius:9px;background:#fffbf4;padding:12px;margin-bottom:16px;line-height:1.8;font-size:.9rem}.sale-return-notice span{color:#796c59;font-size:.8rem}.sale-return-notice p{white-space:pre-wrap}.invoice-page{box-sizing:border-box;display:flex;width:210mm;min-height:297mm;flex-direction:column;padding:8mm 9mm 7mm;page-break-after:always;break-after:page;background:white;color:#111;font-family:Vazirmatn,Tahoma,sans-serif;print-color-adjust:exact;-webkit-print-color-adjust:exact}.invoice-page:last-child{page-break-after:auto;break-after:auto}.invoice-header{display:grid;min-height:19mm;grid-template-columns:1fr .9fr 1fr;align-items:center;gap:6mm;border-bottom:1.2pt solid #176b58;padding-bottom:2.4mm}.invoice-issuer{display:grid;grid-template-columns:1fr;align-items:center;gap:2.5mm}.invoice-issuer img,.invoice-logo-fallback{width:12mm;height:12mm;object-fit:contain}.invoice-logo-fallback{display:grid;place-items:center;border:.8pt solid #34454c;font-size:9pt;font-weight:850}.invoice-issuer strong{color:#151b1e;font-size:11pt;line-height:1.45}.invoice-issuer-contact{display:grid;grid-column:1/-1;gap:.8mm;color:#111;font-size:8pt;line-height:1.45}.invoice-issuer-contact b{display:inline-block;font-size:9pt;font-weight:850}.invoice-issuer-address{font-size:7pt;overflow-wrap:anywhere;white-space:pre-wrap}.invoice-title{text-align:center}.invoice-title h1{margin:0;color:#111;font-size:15pt;font-weight:900}.invoice-number{display:grid;justify-items:end;gap:1mm;font-size:7.4pt}.invoice-number b{font-weight:800}.invoice-buyer-grid{display:grid;grid-template-columns:repeat(5,1fr);overflow:hidden;margin-top:2.5mm;border:.7pt solid #505b60;border-radius:2mm}.invoice-buyer-grid>div{display:grid;min-height:8mm;grid-template-columns:auto 1fr;align-items:center;gap:2mm;border-left:.5pt solid #aeb5b8;border-bottom:.5pt solid #aeb5b8;padding:1.2mm 2mm}.invoice-buyer-grid>div:first-child,.invoice-buyer-grid>div:nth-child(2){grid-column:span 2}.invoice-buyer-grid>div:nth-child(3),.invoice-buyer-grid>div:nth-child(7){border-left:0}.invoice-buyer-grid>div:nth-child(n+4){border-bottom:0}.invoice-buyer-grid span{color:#4a555a;font-size:6.9pt;font-weight:700}.invoice-buyer-grid strong{overflow-wrap:anywhere;font-size:7.4pt}.invoice-buyer-grid .buyer-address{grid-column:span 2}.invoice-continuation{display:grid;grid-template-columns:repeat(3,1fr);gap:4mm;margin-top:2.5mm;border:.7pt solid #69747a;padding:1.5mm 2mm;font-size:7.2pt}.invoice-items{width:100%;margin-top:2.5mm;table-layout:fixed;border-collapse:collapse}.invoice-items thead{display:table-header-group}.invoice-items tr{page-break-inside:avoid;break-inside:avoid}.invoice-items td,.invoice-items th{border:.55pt solid #727c80;padding:1.2mm 1.15mm;text-align:right;vertical-align:middle;line-height:1.45}.invoice-items th{background:#f0f2f2;color:#161b1d;font-size:6.7pt;font-weight:850;white-space:nowrap}.invoice-items td{font-size:7.1pt;overflow-wrap:anywhere}.invoice-items tbody tr:nth-child(2n) td{background:#fafafa}.invoice-items th:first-child{width:5%}.invoice-items th:nth-child(2){width:47%}.invoice-items th:nth-child(3),.invoice-items th:nth-child(4){width:7%}.invoice-items th:nth-child(5){width:12%}.invoice-items th:nth-child(6){width:8%}.invoice-items th:nth-child(7){width:14%}.invoice-carry{display:flex;align-items:center;justify-content:space-between;border:.7pt solid #505b60;border-top:0;padding:1.5mm 2mm;font-size:7.3pt}.invoice-carry-before{margin-top:2.5mm;border-top:.7pt solid #505b60}.invoice-carry strong{font-size:8pt}.invoice-final-blocks{display:grid;grid-template-columns:1fr 1fr;gap:2mm;margin-top:2.5mm}.invoice-commercial,.invoice-summary{overflow:hidden;border:.7pt solid #4e595e;border-radius:1.5mm}.invoice-commercial>div,.invoice-summary>div{display:grid;min-height:6.1mm;grid-template-columns:41% 1fr;align-items:center;border-bottom:.45pt solid #b3b9bc}.invoice-commercial>div:last-child,.invoice-summary>div:last-child{border-bottom:0}.invoice-commercial span,.invoice-summary span{padding:.9mm 1.5mm;color:#353f43;font-size:6.6pt;font-weight:750}.invoice-commercial strong,.invoice-summary strong{padding:.9mm 1.5mm;border-right:.45pt solid #b3b9bc;font-size:6.8pt;font-weight:650}.invoice-summary .invoice-grand-total{min-height:7mm;border-top:.9pt solid #30383c}.invoice-summary .invoice-grand-total span,.invoice-summary .invoice-grand-total strong{font-size:7.3pt;font-weight:900}.invoice-words{display:grid;min-height:7mm;grid-template-columns:24mm 1fr;align-items:center;margin-top:2mm;border:.7pt solid #596469}.invoice-words span,.invoice-words strong{padding:1.2mm 1.8mm;font-size:7pt}.invoice-words span{font-weight:800}.invoice-words strong{border-right:.45pt solid #b3b9bc;font-weight:650}.invoice-notes{display:grid;min-height:13mm;grid-template-columns:26mm 1fr;margin-top:2mm;border:.7pt solid #596469}.invoice-notes span{display:grid;place-items:center;padding:1mm;font-size:7pt;font-weight:800}.invoice-notes p{margin:0;border-right:.45pt solid #b3b9bc;padding:1.5mm 2mm;font-size:6.8pt;line-height:1.65;white-space:pre-wrap}.invoice-signatures{display:grid;grid-template-columns:1fr 1fr;gap:18mm;margin-top:3mm}.buyer-signature,.seller-stamp{position:relative;display:grid;min-height:30mm;place-items:start center;border:.7pt solid #596469;padding:2mm;font-size:7.3pt;font-weight:800}.buyer-signature{border:0}.seller-stamp img{position:absolute;right:50%;bottom:2mm;width:28mm;height:22mm;translate:50% 0;object-fit:contain;opacity:.92}.buyer-signature i{position:absolute;right:18mm;bottom:7mm;left:18mm;border-bottom:.7pt solid #6b7478}.invoice-footer{display:flex;min-height:7mm;align-items:end;justify-content:space-between;gap:8mm;margin-top:auto;border-top:.8pt solid #176b58;padding-top:1.5mm;color:#30393d;font-size:6.5pt}@media print{@page{size:A4 portrait;margin:0}body,html{width:210mm;min-height:297mm;background:white!important}body *{visibility:hidden!important}.print-document,.print-document *,.print-purchase-list,.print-purchase-list *,.print-receipt,.print-receipt *,.print-statement,.print-statement *{visibility:visible!important}.print-purchase-list{position:absolute;inset:0;display:block;padding:18mm 15mm;background:white;color:#222;font-size:9pt}.print-purchase-list header{display:flex;justify-content:space-between;align-items:end;border-bottom:2px solid #26775e;padding-bottom:4mm;margin-bottom:5mm}.print-purchase-list header strong{font-size:16pt}.print-purchase-list table{width:100%;border-collapse:collapse}.print-purchase-list thead{display:table-header-group}.print-purchase-list tr{break-inside:avoid}.print-purchase-list td,.print-purchase-list th{border:1px solid #899b91;padding:2.5mm;text-align:right}.print-purchase-list th{background:#edf3ef}.print-receipt,.print-statement{position:fixed;padding:35px}.print-document,.print-receipt,.print-statement{inset:0;display:block;background:white;color:#111}.print-document{position:absolute;padding:0}.receipt-head{display:flex;justify-content:space-between;border-bottom:2px solid #173b59;padding-bottom:14px;font-size:18px}.receipt-meta{display:flex;gap:30px;padding-block:18px}.print-receipt table{width:100%;border-collapse:collapse}.print-receipt td,.print-receipt th{border:1px solid #777;padding:12px;text-align:right}.receipt-sign{margin-top:90px;padding-inline:60px}.print-statement header,.receipt-sign{display:flex;justify-content:space-between}.print-statement header{align-items:flex-start;border-bottom:3px solid #173b59;padding-bottom:16px}.print-statement header div{display:flex;flex-direction:column;gap:5px}.print-statement header strong{color:#173b59;font-size:23px}.print-statement header span{color:#55707d}.print-statement table{width:100%;border-collapse:collapse}.print-statement th{background:#173b59;color:white}.print-statement td,.print-statement th{border:1px solid #87959c;padding:8px;text-align:right}.print-statement{position:absolute;inset:0;height:auto;padding:18mm 14mm;font-size:9pt}.print-statement header{border-color:#26775e;padding-bottom:4mm;gap:6mm}.print-statement header strong{color:#205d4b;font-size:17pt}.print-statement header b{max-width:60%;font-size:11pt}.print-statement .print-meta{display:flex;flex-wrap:wrap;gap:3mm 10mm;padding:4mm 0;font-size:8pt}.print-statement .print-opening{padding:2.5mm 3mm;border:1px solid #8eaaa0;margin-bottom:3mm}.print-statement th{background:#e6f0eb;color:#1b493c}.print-statement td,.print-statement th{padding:2.2mm 2.5mm;border-color:#9baca5;line-height:1.5}.print-statement tr{break-inside:avoid}.print-statement thead{display:table-header-group}.print-statement .print-total{display:flex;justify-content:space-between;border-top:1px solid #53816f;padding:3mm;margin-top:3mm;font-weight:800}}@media (max-width:1000px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.project-card{grid-column:auto}.attention-card,.chart-card{min-height:auto}}@media (max-width:1200px){.quote-meta-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (max-width:1000px){.quote-meta-grid,.quote-terms-bar{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:720px){.topbar{align-items:flex-start;flex-direction:column;padding:13px 16px}.topbar-actions{width:100%}.company-select{flex:1;width:auto}.online-pill{display:none}.workspace{padding:14px}.kpi-grid,.statement-party,.statement-summary{grid-template-columns:1fr}.kpi-card{min-height:96px}.bank-page-head,.table-toolbar{align-items:stretch;flex-direction:column}.toolbar-buttons,.toolbar-searches{align-items:stretch;flex-wrap:wrap}.search-box{width:100%}.category-filter{flex:1;width:auto}.toolbar-buttons button{flex:1}.company-assets,.form-grid,.import-controls,.numbering-grid,.quote-adjustments,.quote-meta-grid,.quote-terms-bar{grid-template-columns:1fr}.method-options{grid-template-columns:repeat(2,1fr)}.numbering-user{grid-template-columns:1fr 1fr 56px}.field-wide{grid-column:auto}.quote-lines-head{align-items:stretch;flex-direction:column}.quote-preview{grid-template-columns:repeat(2,1fr)}.quote-preview .grand-total{grid-column:1/-1}.bar-row{grid-template-columns:90px 1fr}.bar-row strong{grid-column:2}.surface-card [data-slot=table-cell],.surface-card [data-slot=table-head]{padding-inline:10px}.date-chip{display:none}.bank-summary-head{align-items:flex-start;flex-direction:column}}@media (max-width:620px){.document-summary{grid-template-columns:1fr 1fr}.document-sheet-body{padding-inline:14px}.document-items td:nth-child(2),.document-items th:nth-child(2){display:none}}@media (max-width:900px){.invoice-cost-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-summary{grid-template-columns:repeat(2,1fr)}.profit-summary>div:last-child{grid-column:1/-1}}@media (max-width:720px){.quote-lines-table td:nth-child(3),.quote-lines-table td:nth-child(4),.quote-lines-table td:nth-child(7),.quote-lines-table td:nth-child(8),.quote-lines-table th:nth-child(3),.quote-lines-table th:nth-child(4),.quote-lines-table th:nth-child(7),.quote-lines-table th:nth-child(8){display:none}.quote-lines-table th:first-child{width:7%}.quote-lines-table th:nth-child(2){width:37%}.quote-lines-table th:nth-child(5){width:11%}.quote-lines-table th:nth-child(6){width:19%}.quote-lines-table th:nth-child(9){width:18%}.quote-lines-table th:last-child{width:8%}.invoice-cost-grid{grid-template-columns:1fr}}.image-export-host{position:fixed;inset:auto auto auto -10000px;z-index:-1;width:210mm;pointer-events:none;background:#fff}.image-export-host .print-document{position:relative;display:block!important;width:210mm;background:#fff}.image-export-host .invoice-page{height:297mm;min-height:297mm;break-after:auto;overflow:hidden}@media print{.image-export-host{display:none!important}}.image-page-list{display:flex;gap:10px;max-height:55vh;overflow:auto}.image-page-list a{display:flex;flex:0 0 130px;flex-direction:column;gap:8px;padding:8px;border:1px solid #d9e5dc;border-radius:8px;font-size:12px;text-align:center;color:#1c5948}.image-page-list img{width:100%;height:145px;object-fit:contain;background:#fff}.commission-panel .table-toolbar p{font-size:12px;color:#667c76;margin-top:5px}.commission-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:16px}.commission-totals>div{background:#f1f7f5;border:1px solid #dbe9e4;border-radius:10px;padding:12px}.commission-totals span{display:block;font-size:12px;color:#59736b;margin-bottom:7px}.commission-totals strong{font-size:17px;color:#175f50}.commission-ledger{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.commission-ledger td,.commission-ledger th{padding:10px 12px;text-align:right;border-bottom:1px solid #e2ebe7;overflow-wrap:anywhere}.commission-ledger th{background:#f5f8f7}.commission-ledger th:nth-child(2){width:36%}.commission-help{font-size:11px;color:#5a7069;padding:14px 18px;border-top:1px solid #e2ebe7;line-height:2}.commission-wait{display:block;font-size:10px;color:#936829;margin-top:3px}.commission-pending{padding:15px;font-size:12px;background:#fffaf1}.commission-pending summary{cursor:pointer}.commission-pending>div{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #ece3d3}.commission-pending small{color:#947140}@media(max-width:640px){.commission-totals{grid-template-columns:1fr}.commission-ledger td,.commission-ledger th{padding:6px;font-size:10px}}@media print{.commission-print{position:absolute!important;padding:18mm 10mm!important}.commission-ledger{font-size:10px}.commission-ledger tr{break-inside:avoid}.commission-ledger thead{display:table-header-group}}.execution-projects{min-width:0}.exec-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.exec-heading h2{font-size:23px;font-weight:800;color:#205d4b;margin:4px 0}.exec-heading p,.exec-heading small{color:#64766f;font-size:12px}.exec-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0}.exec-stats>div{padding:16px;background:white;border:1px solid #dae7df;border-radius:12px;display:grid;gap:8px}.exec-stats span{color:#687c72;font-size:12px}.exec-stats strong{color:#205d4b;font-size:21px}.exec-stats small{font-weight:400;font-size:11px}.exec-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 0}.surface-card .exec-actions{padding:14px}.exec-intro,.exec-note{display:flex;gap:10px;align-items:center;padding:12px 16px;color:#5d7467;background:#f4f8f5;font-size:12px}.exec-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.exec-table td,.exec-table th{padding:10px 12px;text-align:right;border-bottom:1px solid #e9efeb;overflow-wrap:anywhere}.exec-table th{background:#f5f8f6;color:#526f60;font-weight:600}.exec-table small{display:block;color:#7a8981;font-size:10px;margin-top:3px}.exec-status{font-size:11px;padding:3px 7px;background:#eaf4ee;color:#205d4b;border-radius:5px}.exec-details{padding:20px;display:grid;gap:12px;font-size:13px;white-space:pre-wrap}.exec-details button{justify-self:start}.exec-attach{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:15px;border-bottom:1px solid #e1ebe5;font-size:12px}.exec-attach select{padding:7px;border:1px solid #cddbd3;border-radius:6px;background:white;max-width:100%}.exec-signatures{display:flex;justify-content:space-around;padding-top:12mm}@media (max-width:760px){.exec-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.exec-table td,.exec-table th{padding:8px 5px;font-size:10px}.exec-heading{align-items:flex-start}}@media print{.exec-print p{margin:3mm 0;font-size:8pt}.exec-print h3{margin:5mm 0 2mm}.exec-print .exec-signatures{break-inside:avoid}}.member-panel{overflow:hidden}.member-panel .table-toolbar p{font-size:.875rem;color:var(--muted-foreground);margin-top:.3rem}.field>select,.member-panel select,.member-period-form textarea{border:1px solid var(--border);border-radius:8px;padding:8px 12px;background:var(--background);font:inherit;max-width:100%}.member-period-form{margin:16px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--background)}.member-confirm{display:flex;gap:10px;align-items:center;margin:16px 0;font-size:.875rem}.member-period{margin:12px 16px;border:1px solid var(--border);border-radius:10px;padding:12px}.member-period summary{cursor:pointer;display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:.875rem}.member-period summary span{flex:1;color:var(--muted-foreground)}.member-panel .commission-ledger{table-layout:fixed;width:100%}.member-panel .commission-ledger td{overflow-wrap:anywhere}.member-period-form .commission-ledger input{min-width:0;width:100%}.member-panel .block{display:block}.member-panel .commission-ledger td,.member-panel .commission-ledger th{padding:9px 8px}.member-panel .commission-help{margin:12px 16px}.member-period>p{font-size:.875rem;margin:10px 0}@media(max-width:700px){.member-panel .commission-ledger{table-layout:auto}.member-panel .commission-ledger td,.member-panel .commission-ledger th{padding:6px 4px;font-size:.75rem}.member-period-form{margin:8px;padding:10px}}.user-panel .install-app-button{width:100%;justify-content:flex-start;grid-column:1/-1;font-size:.875rem}.install-app-help{display:grid;gap:14px;font-size:.875rem;line-height:1.9}.install-app-help p:last-child{color:var(--muted-foreground)}.catalog-settings{border:1px solid #dce7e0;border-radius:10px;padding:14px;display:grid;gap:12px}.catalog-settings h3{font-weight:700;font-size:14px}.catalog-settings p{font-size:12px;color:#64776b}.catalog-settings>div{display:grid;gap:7px}.catalog-source-list{display:flex;gap:10px;flex-wrap:wrap}.catalog-source-list label{display:flex;gap:6px;align-items:center;font-size:12px}.sales-compact table{table-layout:fixed;width:100%;min-width:0}.sales-compact [data-slot=table-cell],.sales-compact [data-slot=table-head]{white-space:normal;overflow-wrap:anywhere;padding:6px 5px;font-size:11px}.sales-compact .title-cell strong{font-size:12px}.sales-compact .title-cell span{font-size:10px;white-space:normal}.sales-compact th:nth-child(2){width:18%}.sales-compact th:nth-child(3){width:16%}.sales-compact th:last-child{width:66px}.sales-compact .status{white-space:normal;text-align:center;font-size:10px}.sales-compact .quote-amount{white-space:normal;font-variant-numeric:tabular-nums}.sales-compact .quote-amount small{display:block;font-size:9px}@media(max-width:760px){.sales-compact thead{display:none}.sales-compact tbody{display:grid;gap:8px}.sales-compact tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dce7e0;border-radius:9px;padding:7px}.sales-compact td{display:block;width:auto!important;min-width:0}.sales-compact td:before{display:block;color:#728278;font-size:10px;content:attr(data-label)}.sales-compact td:last-child{grid-column:1/-1;justify-self:end}}.radis-backup-summary{border:1px solid #d4e5dc;background:#f2f8f5;border-radius:12px;padding:16px;line-height:1.9}.radis-backup-summary p{font-size:13px;margin:8px 0}.radis-backup-note,.radis-backup-summary small{font-size:12px;color:#62756a;line-height:1.9}.radis-backup-result{display:flex;align-items:flex-start;gap:8px;color:#087f6d;font-size:13px}.radis-backup-result small{display:block;margin-top:4px}.radis-backup-result svg{flex-shrink:0;width:19px}.pf-workspace-mode{--sidebar-width:13rem!important;background:var(--background)}.pf-workspace-mode .topbar{display:none}.pf-workspace-mode .topbar h1{font-size:.94rem;color:#25443a}.pf-workspace-mode .topbar p{display:none}.pf-workspace-mode .online-pill{padding:4px 9px}.pf-workspace-mode .workspace{display:flex;flex-direction:column;max-width:none;min-height:0;height:100dvh;padding:10px 16px 14px}.pf-workspace-mode .error-banner,.pf-workspace-mode .user-preview-banner{flex-shrink:0;margin-bottom:6px;padding:5px 10px}.pf-editor{--pf-line:#dfe7e4;--pf-ink:#213b32;--pf-muted:#697a75;--pf-green:#11735f;--pf-pale:#e6f3ef;display:flex;flex-direction:column;gap:9px;min-width:0;min-height:0;flex:1;color:var(--pf-ink)}.pf-heading{display:flex;align-items:center;gap:18px;flex-shrink:0;min-height:44px}.pf-heading h2{margin:1px 0 0;font-size:1.13rem;font-weight:700}.pf-breadcrumb{font-size:.75rem;color:var(--pf-muted)}.pf-number{margin-inline-start:auto;text-align:left}.pf-number span{display:block;font-size:.75rem;color:var(--pf-muted)}.pf-number strong{display:block;font-size:1rem;color:var(--pf-green)}.pf-heading button{font-size:.8rem}.pf-sheet{display:flex;flex-direction:column;flex:1;min-height:0;border:1px solid var(--pf-line);border-radius:13px;background:#fff;box-shadow:0 4px 18px rgb(18 60 54/4%);overflow:hidden}.pf-field{display:flex;flex-direction:column;min-width:0;gap:2px}.pf-field label{font-size:.75rem;line-height:1.5;color:var(--pf-muted);font-weight:400}.pf-editor button[data-slot=select-trigger],.pf-editor input{font-size:.875rem}.pf-field button[data-slot=select-trigger],.pf-field input{width:100%;min-width:0;height:29px;min-height:29px;padding:2px 5px;border:1px solid transparent;border-radius:5px;background:transparent;box-shadow:none}.pf-field button[data-slot=select-trigger]:hover,.pf-field input:hover{background:#f5faf7;border-color:#d5e3dc}.pf-field input:focus-visible{border-color:#56a58b;outline:none;box-shadow:0 0 0 2px #e6f3ef}.pf-field input:disabled{background:#f5f7f6}.pf-meta{display:grid;grid-template-columns:1.15fr 1.45fr 1.25fr 1fr;border-bottom:1px solid var(--pf-line);flex-shrink:0}.pf-meta>.pf-field{padding:4px 10px;border-inline-end:1px solid var(--pf-line)}.pf-meta>.pf-field:last-child{border-inline-end:0}.pf-meta [data-slot=select-trigger] svg{width:14px;height:14px;color:var(--pf-green)}.pf-editor [data-slot=input-group]{width:100%;height:29px;min-height:29px;border:1px solid transparent;border-radius:5px;box-shadow:none;background:transparent}.pf-editor [data-slot=input-group]:focus-within{border-color:#56a58b;background:#eff8f4;box-shadow:0 0 0 2px #e6f3ef}.pf-editor [data-slot=input-group] input{padding:2px 5px;height:27px;min-height:0;box-shadow:none;border:0}.pf-editor [data-slot=input-group-addon]{padding:0 3px}.pf-editor [data-slot=input-group-button]{width:22px;height:24px;padding:0}.pf-grid-toolbar{display:flex;justify-content:space-between;align-items:center;padding:3px 10px;background:#f8faf9;border-bottom:1px solid var(--pf-line);flex-shrink:0}.pf-grid-toolbar>span{display:flex;align-items:center;gap:8px;font-size:.82rem}.pf-grid-toolbar>span svg{width:15px;height:15px;color:var(--pf-green)}.pf-grid-toolbar small{color:var(--pf-muted);font-size:.75rem;margin-inline-start:6px}.pf-grid-toolbar button{height:27px;font-size:.75rem;color:var(--pf-green)}.pf-grid-scroll{min-height:120px;flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-color:#b6ccc2 #f3f7f5;scrollbar-width:thin}.pf-grid{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed}.pf-grid th{position:sticky;top:0;z-index:1;text-align:right;height:31px;padding:3px 5px;background:#edf3f0;color:#5f7168;border-bottom:1px solid #d4dfd9;font-size:.75rem;font-weight:500;white-space:nowrap}.pf-grid th:first-child{text-align:center}.pf-grid td{height:35px;padding:2px 4px;border-bottom:1px solid #e7eeea;font-size:.85rem}.pf-grid tbody tr:focus-within{background:#f6fbf8}.pf-grid input{width:100%;min-width:0;height:29px;padding:2px 5px;border:1px solid transparent;box-shadow:none;border-radius:4px;background:transparent;font-size:.85rem}.pf-grid input:focus-visible{border-color:#56a58b;background:#eff8f4;box-shadow:0 0 0 2px #e6f3ef}.pf-numeric{text-align:left;direction:ltr;font-variant-numeric:tabular-nums;appearance:textfield}.pf-numeric::-webkit-inner-spin-button,.pf-numeric::-webkit-outer-spin-button{appearance:none;margin:0}.pf-empty-row td:first-child,.pf-row-number{text-align:center;color:#84958d;font-size:.75rem!important;background:#fafcfb}.pf-line-total{text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap}.pf-grid td>button{height:26px;width:26px;padding:5px;color:#aa6666}.pf-grid td>button svg{width:14px;height:14px}.pf-keyboard-hint{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:4px 10px;background:#fafcfb;border-block:1px solid var(--pf-line);color:var(--pf-muted);font-size:.75rem;flex-shrink:0}.pf-keyboard-hint kbd{display:inline-block;padding:0 4px;border:1px solid #dbe5df;border-radius:3px;background:#fff;font-family:inherit;margin-inline:1px}.pf-expert{margin-inline-start:auto}.pf-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(170px,1.3fr);background:#f7faf8;flex-shrink:0;border-bottom:1px solid var(--pf-line)}.pf-totals>div{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0;padding:5px 10px;border-inline-end:1px solid var(--pf-line)}.pf-totals label,.pf-totals span{font-size:.75rem;color:var(--pf-muted);font-weight:400}.pf-totals strong{font-size:.92rem;font-weight:500;white-space:nowrap}.pf-totals input{height:25px;padding:0 5px;border:1px solid #d9e6df;border-radius:4px;background:#fff;box-shadow:none;font-size:.88rem}.pf-totals .pf-grand-total{background:#e6f3ef;color:var(--pf-green);border-inline-end:0}.pf-grand-total strong{font-size:1.13rem;font-weight:700}.pf-grand-total span{color:#437765}.pf-notes{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:12px;padding:5px 10px;flex-shrink:0;border-bottom:1px solid var(--pf-line)}.pf-notes input{border-bottom:1px solid #e6ede9;border-radius:0}.pf-editor .pf-note-textarea{field-sizing:content;width:100%;min-width:0;min-height:29px;height:auto;max-height:115px;padding:3px 5px;border:1px solid #e6ede9;border-radius:5px;box-shadow:none;background:transparent;color:var(--pf-ink);font:inherit;font-size:.85rem;line-height:1.5;resize:none;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere}.pf-editor .pf-note-textarea:focus-visible{border-color:#56a58b;background:#eff8f4;outline:none;box-shadow:0 0 0 2px #e6f3ef}.pf-terms{display:grid;grid-template-columns:minmax(155px,1.25fr) minmax(72px,.6fr) minmax(125px,1fr) minmax(125px,1.1fr) auto auto;gap:10px;align-items:start;padding:6px 10px;background:#f8faf9;border-bottom:1px solid var(--pf-line);flex-shrink:0}.pf-payment{display:flex;flex-direction:column;gap:3px}.pf-payment>span{color:var(--pf-muted);font-size:.75rem}.pf-payment-options{display:flex;gap:4px}.pf-payment-options label{display:flex;justify-content:center;align-items:center;flex:1;gap:4px;padding:4px 5px;border:1px solid #dfe7e4;border-radius:6px;color:#697a75;background:#fff;font-size:.8rem;cursor:pointer}.pf-payment-options .is-selected{background:#e6f3ef;color:#11735f;border-color:#92bcab}.pf-checkbox input,.pf-payment-options input{width:14px;height:14px;accent-color:#11735f}.pf-payment>input{height:28px;font-size:.78rem;border-color:#dfe7e4}.pf-checkbox{gap:5px;align-self:center;color:#526b5f;font-size:.75rem;white-space:nowrap;cursor:pointer}.pf-actions,.pf-checkbox{display:flex;align-items:center}.pf-actions{flex-wrap:wrap;gap:7px;padding:8px 10px;flex-shrink:0;background:#fff}.pf-actions button{height:33px;font-size:.8rem;border-radius:7px}.pf-actions svg{width:15px;height:15px}.pf-save-state{margin-inline-end:auto;color:var(--pf-muted);font-size:.75rem}.pf-actions .pf-save{background:#11735f;color:#fff;padding-inline:20px}.pf-actions .pf-save:hover{background:#0b614f}.pf-lookup-popup{width:max(var(--anchor-width),320px);max-width:min(460px,var(--available-width));z-index:60;background:#fff;border:1px solid #d8e5dd;color:#213b32;border-radius:8px;box-shadow:0 10px 32px rgb(15 50 38/16%);--accent:#e6f3ef;--accent-foreground:#174c38}.pf-lookup-popup [data-slot=combobox-list]{max-height:min(240px,var(--available-height))}.pf-option{display:flex;flex-direction:column;gap:2px;padding-block:2px}.pf-option strong{white-space:normal;font-size:.875rem;font-weight:500}.pf-option small{font-size:.75rem;color:#728579}.pf-lookup-empty{padding:12px;font-size:.85rem;color:#697a75}.pf-cost-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pf-cost-fields .pf-field button,.pf-cost-fields .pf-field input{border:1px solid #d8e5dd;height:36px}@media (max-width:1150px){.pf-workspace-mode{--sidebar-width:11.5rem!important}.pf-terms{grid-template-columns:1.1fr .55fr 1fr 1fr}.pf-checkbox{justify-self:start}.pf-actions .pf-save-state{display:none}.pf-actions .pf-save{margin-inline-start:auto}.pf-grid{min-width:830px}.pf-totals{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(135px,1.25fr)}}@media (max-width:767px){.pf-workspace-mode .workspace{padding:8px;height:auto;min-height:100dvh}.pf-workspace-mode .topbar{flex-direction:row}.pf-workspace-mode .topbar-actions{width:auto}.pf-workspace-mode .company-select{max-width:150px}.pf-heading{gap:8px;flex-wrap:wrap}.pf-heading h2{font-size:1rem}.pf-heading>button{padding-inline:4px}.pf-meta{grid-template-columns:1fr 1fr}.pf-grid-scroll{max-height:360px}.pf-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-totals .pf-grand-total{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}.pf-notes{grid-template-columns:1fr;gap:4px}.pf-terms{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-actions{justify-content:flex-start}.pf-actions .pf-save{margin-inline-start:0}.pf-keyboard-hint{gap:6px}.pf-expert{display:none}}@media (min-width:768px) and (max-height:700px){.pf-workspace-mode .workspace{padding-block:6px}.pf-heading{min-height:36px}.pf-heading h2{font-size:1rem}.pf-breadcrumb{display:none}.pf-grid-scroll{min-height:90px}.pf-empty-row td,.pf-grid td{height:31px}}@media print{.pf-editor{display:none!important}}.document-items td:nth-child(4),.invoice-commercial strong,.invoice-items td:last-child{white-space:pre-wrap;overflow-wrap:anywhere}.sales-workspace-mode .topbar{padding:12px 24px;min-height:65px}.sales-workspace-mode .topbar p{display:none}.sales-workspace-mode .workspace{max-width:none;padding:20px 24px}.sales-detail{border:1px solid #dce5df;border-radius:14px;background:white;overflow:hidden;box-shadow:0 3px 18px #153d2c06;color:#20372e}.sales-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 22px 12px;gap:12px}.sales-title>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sales-title h2{font-size:20px;font-weight:700;margin:0}.sales-title h2 b{font-size:18px;margin-right:8px}.sales-title>span{font-size:11px;color:#708078;display:block;margin-top:5px}.sales-title small{font-size:10px;color:#60746a;background:#f3f6f3;padding:3px 8px;border-radius:20px}.sales-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:0 22px 16px;border-bottom:1px solid #e4eae5}.sales-toolbar button{height:34px;font-size:12px;gap:6px}.sales-toolbar svg{width:15px;height:15px}.sale-menu-note{font-size:11px;line-height:1.8;color:#7b807b;max-width:240px;padding:5px 10px}.sales-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:10px 22px;background:#fafcf9;border-bottom:1px solid #e3e9e3;gap:4px 20px}.sales-meta>div{display:flex;gap:8px;align-items:baseline;min-width:0;padding:7px 0}.sales-meta dt{font-size:11px;color:#7a877f;flex-shrink:0}.sales-meta dd{font-size:12px;margin:0;font-weight:600;overflow-wrap:anywhere}.sales-section-head{display:flex;justify-content:space-between;align-items:center;padding:13px 22px 8px;font-size:12px}.sales-section-head small{margin-right:9px;color:#879086;font-weight:400}.sales-section-head>span{color:#829087;font-size:10px}.sales-table-scroll{overflow-x:auto}.sales-items table{width:100%;border-collapse:collapse;font-size:12px}.sales-items th{font-size:11px;font-weight:500;background:#edf3ee;color:#596d60;padding:9px 12px;text-align:right;white-space:nowrap;border-block:1px solid #dce6de}.sales-items th svg{display:inline;width:11px;height:11px;margin-left:3px}.sales-items td{padding:8px 12px;border-bottom:1px solid #e8ede8;white-space:nowrap;vertical-align:middle}.sales-items td:first-child,.sales-items th:first-child{width:42px;text-align:center;color:#8b958e}.sales-items td:nth-child(2){width:34%;white-space:normal;min-width:170px}.sales-items td:nth-child(2) strong{font-weight:500}.sales-items td small{display:block;font-size:10px;color:#8c978f;margin-top:3px}.sales-items td p{font-size:11px;color:#607467;margin:4px 0 0;white-space:pre-wrap}.sales-items tbody tr:nth-child(2n){background:#fcfdfb}.sales-totals{display:flex;align-items:stretch;background:#f5f8f3;border-bottom:1px solid #dce6dc;gap:0;padding:0 12px}.sales-totals>div{display:flex;flex-direction:column;gap:6px;padding:12px 14px;flex:1}.sales-totals span{font-size:10px;color:#718174}.sales-totals strong{font-size:14px;font-weight:600}.sales-totals .sales-grand{background:#e6eee2;min-width:190px}.sales-grand strong{font-size:18px;color:#244e34}.sales-grand small{font-size:10px;font-weight:400;margin-right:4px}.sales-bottom{display:grid;grid-template-columns:1fr;padding:16px 22px;gap:22px}.sales-bottom.has-costs{grid-template-columns:1.4fr 1fr}.sales-bottom h3{font-size:12px;margin:0 0 9px;font-weight:600}.sales-bottom p{font-size:11px;color:#6a7d70;line-height:1.9;margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.sales-profit{background:#fafbf7;border:1px solid #e4e9db;border-radius:9px;padding:12px 15px}.sales-profit h3{display:flex;gap:5px;color:#63764f}.sales-profit h3 svg{width:13px;height:13px}.sales-profit>div{display:flex;justify-content:space-between;padding:4px 0;font-size:11px;color:#647662}.sales-profit>div:last-child{border-top:1px solid #e1e7d9;padding-top:8px;margin-top:4px;font-size:13px;color:#2a553b}.sales-history{border-top:1px solid #e7ece5;padding:12px 22px;font-size:11px}.sales-history summary{cursor:pointer;color:#5e7165}.sales-history summary small{font-size:10px;color:#909b91;margin-right:6px}.sales-history>div{display:flex;gap:16px;justify-content:space-between;padding:9px 0;border-bottom:1px solid #f0f2ed;color:#6b7c70}.sale-return-notice{padding:12px 22px;background:#fff5ed;color:#99512d;font-size:12px}.official-dialog{max-height:90vh;overflow:auto}.official-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.official-address label,.official-dialog form>label,.official-fields label{font-size:12px;margin-bottom:7px;display:block}.official-address{margin-top:14px}.official-help{font-size:12px;line-height:1.9;color:#69796c}.official-error{color:#a24535;font-size:12px;line-height:1.9;white-space:pre-wrap}.official-review{border:1px solid #e1e8e1;background:#f8faf6;border-radius:8px;padding:10px 15px;margin:0}.official-review>div{display:flex;justify-content:space-between;gap:15px;font-size:12px;padding:5px 0}.official-review dt{color:#7b867d}.official-review dd{font-weight:600;margin:0}.official-print{display:none}@media(max-width:1100px){.sales-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-totals{flex-wrap:wrap}.sales-totals>div{min-width:100px}.sales-title h2{font-size:17px}}@media(max-width:640px){.sales-workspace-mode .workspace{padding:10px}.sales-heading{align-items:flex-start;padding:14px}.sales-heading>button{font-size:10px;padding:0 6px}.sales-toolbar{padding-inline:14px}.sales-meta{padding:10px 14px;gap:2px 8px}.sales-meta>div{display:block}.sales-meta dd{margin-top:4px}.sales-bottom.has-costs{grid-template-columns:1fr}.sales-bottom{padding:14px}.sales-totals .sales-grand{min-width:100%}.official-fields{gap:10px}.sales-history>div{flex-wrap:wrap}}@media print{@page officialInvoice{size:A4 landscape;margin:8mm}body:has(.official-print),html:has(.official-print){width:auto!important;min-width:0!important;height:auto!important;background:white!important}body:has(.official-print) .app-shell{display:block!important;min-height:0!important}body:has(.official-print) .app-shell>:not(.official-print){display:none!important}.official-print,.official-print *{visibility:visible!important}.official-print{display:block!important;position:absolute;inset:0;background:white;color:#111;width:281mm;font-size:8.5pt;line-height:1.6;page:officialInvoice}.official-page{page:officialInvoice;break-after:page;padding:0;min-height:188mm;box-sizing:border-box}.official-page:last-child{break-after:auto}.official-page>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:3mm}.official-page h1{font-size:16pt;margin:0}.official-page header p{font-size:9pt;margin:0}.official-page header dl{margin:0;min-width:40mm;font-size:9pt}.official-page header dl div{display:flex;justify-content:space-between;gap:5mm}.official-page dd{margin:0}.official-party{display:flex;border:.3mm solid #555;margin-bottom:2mm;break-inside:avoid}.official-party h3{font-size:8pt;writing-mode:vertical-rl;transform:rotate(180deg);text-align:center;padding:2mm;margin:0;border-left:.2mm solid #777;font-weight:600}.official-party>div{flex:1;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:.5mm 3mm;padding:1.5mm 3mm}.official-party p{margin:0;overflow-wrap:anywhere}.official-party b{font-weight:500}.official-party-address{grid-column:1/-1}.official-currency{text-align:left;font-size:7.5pt;margin:0 0 1mm}.official-page table{width:100%;table-layout:fixed;border-collapse:collapse}.official-page thead{display:table-header-group}.official-page td,.official-page th{border:.2mm solid #777;padding:1.4mm 1mm;text-align:center;font-size:8pt;overflow-wrap:anywhere}.official-page th{font-size:7.5pt;font-weight:600}.official-page tr{break-inside:avoid}.official-page .official-item-description{text-align:right}.official-item-description small{display:block;font-size:7.5pt;white-space:pre-wrap}.official-summary{display:grid;grid-template-columns:repeat(6,1fr);border:.3mm solid #555;margin-top:2mm;break-inside:avoid}.official-summary>div{display:flex;flex-direction:column;align-items:center;padding:1.5mm;border-left:.2mm solid #777;font-size:8pt}.official-summary>div:last-child{border-left:0}.official-summary b{font-size:9pt}.official-terms{font-size:8pt;margin:2mm 0;white-space:pre-wrap;overflow-wrap:anywhere}.official-terms p{margin:.5mm 0}.official-signatures{display:flex;justify-content:space-around;padding-top:3mm;min-height:13mm;font-size:9pt;break-inside:avoid}.official-continued{font-size:8pt;text-align:left;margin-top:3mm}.sales-detail{display:none!important}}.sale-buy-price{white-space:normal;min-width:105px}.sale-buy-price strong{font-weight:600}.sale-buy-price details{font-size:11px;color:#526e5c;margin-top:3px}.sale-buy-price summary{cursor:pointer;text-decoration:underline;text-underline-offset:2px}.sale-buy-price ul{list-style:none;padding:4px 0;margin:2px 0;min-width:220px}.sale-buy-price li{padding:6px 0;border-bottom:1px solid #e5ebe4;display:flex;gap:7px;justify-content:space-between;flex-wrap:wrap}.sale-buy-price li span{font-size:11px!important;color:#536457!important}.sale-buy-price li b{font-size:11px}.official-assets{display:flex;gap:12px;margin-top:14px}.official-assets label{flex:1;border:1px dashed #b6c8bb;border-radius:8px;padding:10px;font-size:12px;cursor:pointer}.official-assets input{display:block;width:100%;font-size:11px;margin-top:6px}.official-assets img{display:block;max-width:140px;max-height:80px;object-fit:contain;margin-top:6px}@media print{.official-page>header{position:relative;display:grid;grid-template-columns:1fr 2fr 1fr;min-height:19mm;border-bottom:.3mm solid #555;padding-bottom:2mm}.official-logo,.official-logo-fallback{justify-self:start;max-width:31mm;max-height:16mm;object-fit:contain}.official-logo-fallback{width:16mm;height:14mm;display:grid;place-items:center;border:.2mm solid #555;font-weight:700}.official-heading{text-align:center}.official-party-grid{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7mm 3mm;padding:1.5mm 3mm}.official-party-grid p{margin:0;overflow-wrap:anywhere}.official-party-grid .official-party-name{grid-column:span 2}.official-party-grid .official-party-address{grid-column:1/-1}.official-party .official-party-grid{display:grid}.official-id-boxes{display:inline-flex;vertical-align:middle;margin-inline-start:1mm;white-space:nowrap}.official-id-boxes i{font-size:7pt;font-style:normal;line-height:1.3;min-width:2.5mm;padding:.2mm;text-align:center;border:.15mm solid #666;border-left:0}.official-id-boxes i:last-child{border-left:.15mm solid #666}.official-signatures span{position:relative;display:block;min-width:35%;text-align:center;border-top:.25mm solid #777;padding-top:2mm;min-height:13mm}.official-signatures img{display:block;position:absolute;right:40%;top:4mm;max-width:30mm;max-height:14mm;object-fit:contain}}.official-print{position:absolute;inset:0;background:white;color:#111;width:281mm;font-size:8.5pt;line-height:1.6;page:officialInvoice}.official-page{page:officialInvoice;break-after:page;padding:0;min-height:188mm;box-sizing:border-box}.official-page:last-child{break-after:auto}.official-page>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:3mm}.official-page h1{font-size:16pt;margin:0}.official-page header p{font-size:9pt;margin:0}.official-page header dl{margin:0;min-width:40mm;font-size:9pt}.official-page header dl div{display:flex;justify-content:space-between;gap:5mm}.official-page dd{margin:0}.official-party{display:flex;border:.3mm solid #555;margin-bottom:2mm;break-inside:avoid}.official-party h3{font-size:8pt;writing-mode:vertical-rl;transform:rotate(180deg);text-align:center;padding:2mm;margin:0;border-left:.2mm solid #777;font-weight:600}.official-party>div{flex:1;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:.5mm 3mm;padding:1.5mm 3mm}.official-party p{margin:0;overflow-wrap:anywhere}.official-party b{font-weight:500}.official-party-address{grid-column:1/-1}.official-currency{text-align:left;font-size:7.5pt;margin:0 0 1mm}.official-page table{width:100%;table-layout:fixed;border-collapse:collapse}.official-page thead{display:table-header-group}.official-page td,.official-page th{border:.2mm solid #777;padding:1.4mm 1mm;text-align:center;font-size:8pt;overflow-wrap:anywhere}.official-page th{font-size:7.5pt;font-weight:600}.official-page tr{break-inside:avoid}.official-page .official-item-description{text-align:right}.official-item-description small{display:block;font-size:7.5pt;white-space:pre-wrap}.official-summary{display:grid;grid-template-columns:repeat(6,1fr);border:.3mm solid #555;margin-top:2mm;break-inside:avoid}.official-summary>div{display:flex;flex-direction:column;align-items:center;padding:1.5mm;border-left:.2mm solid #777;font-size:8pt}.official-summary>div:last-child{border-left:0}.official-summary b{font-size:9pt}.official-terms{font-size:8pt;margin:2mm 0;white-space:pre-wrap;overflow-wrap:anywhere}.official-terms p{margin:.5mm 0}.official-signatures{display:flex;justify-content:space-around;padding-top:3mm;min-height:13mm;font-size:9pt;break-inside:avoid}.official-continued{font-size:8pt;text-align:left;margin-top:3mm}.official-page>header{position:relative;display:grid;grid-template-columns:1fr 2fr 1fr;min-height:19mm;border-bottom:.3mm solid #555;padding-bottom:2mm}.official-logo,.official-logo-fallback{justify-self:start;max-width:31mm;max-height:16mm;object-fit:contain}.official-logo-fallback{width:16mm;height:14mm;display:grid;place-items:center;border:.2mm solid #555;font-weight:700}.official-heading{text-align:center}.official-party-grid{flex:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7mm 3mm;padding:1.5mm 3mm}.official-party-grid p{margin:0;overflow-wrap:anywhere}.official-party-grid .official-party-name{grid-column:span 2}.official-party-grid .official-party-address{grid-column:1/-1}.official-party .official-party-grid{display:grid}.official-id-boxes{display:inline-flex;vertical-align:middle;margin-inline-start:1mm;white-space:nowrap}.official-id-boxes i{font-size:7pt;font-style:normal;line-height:1.3;min-width:2.5mm;padding:.2mm;text-align:center;border:.15mm solid #666;border-left:0}.official-id-boxes i:last-child{border-left:.15mm solid #666}.official-signatures span{position:relative;display:block;min-width:35%;text-align:center;border-top:.25mm solid #777;padding-top:2mm;min-height:13mm}.official-signatures img{display:block;position:absolute;right:40%;top:4mm;max-width:30mm;max-height:14mm;object-fit:contain}.official-image-host{position:fixed;inset:auto auto auto -10000px;z-index:-1;width:281mm;pointer-events:none;background:#fff}.official-image-host .official-print{display:block!important;position:relative!important;width:281mm}.official-image-host .official-page{width:281mm;height:194mm;min-height:194mm;overflow:hidden;break-after:auto}@media print{.official-image-host{display:none!important}}