*{box-sizing:border-box}body{color:#183344;background:#f3f5f8;margin:0;font-family:Tahoma,Arial,sans-serif;font-size:14px}button,input,textarea{font:inherit}button{color:#fff;cursor:pointer;background:#086f82;border:0;border-radius:7px;padding:12px 18px}button:disabled{opacity:.5;cursor:wait}input,textarea{color:#183344;background:#fff;border:1px solid #d8e1e7;border-radius:6px;width:100%;padding:11px}input:focus,textarea:focus{outline:2px solid #8ccecf}label{color:#456071;gap:9px;font-size:13px;display:grid}h1{margin:10px 0;font-size:25px}h3{margin:27px 0 18px;font-size:16px}small{color:#7d919d;font-size:12px}.shell{min-height:100vh;display:flex}aside{color:#d9e8ee;background:#112f40;flex-direction:column;width:230px;padding:32px 22px;display:flex;position:fixed;top:0;bottom:0}.brand{letter-spacing:3px;color:#fff;font-size:26px;font-weight:700}.brand span{color:#56c0bd}.brand small{letter-spacing:0;margin-top:12px;display:block}nav{gap:12px;margin-top:50px;display:grid}nav button{text-align:right;color:#aec4cf;background:0 0}.active{color:#fff!important;background:#21495b!important}.profile{border-top:1px solid #33515e;margin-top:auto;padding-top:20px}.profile button{color:#adc5cf;background:0 0;padding-right:0}.shell main{width:calc(100% - 230px);margin-right:230px;padding:35px 45px}.top{justify-content:space-between;align-items:center;margin-bottom:30px;display:flex}.badge{color:#24756f;background:#deeeec;border-radius:24px;padding:9px 15px}.toolbar{flex-wrap:wrap;justify-content:space-between;gap:10px;margin:20px 0;display:flex}.toolbar div{gap:5px;display:flex}.toolbar button{color:#466575;background:#fff;border:1px solid #dce5eb}.toolbar .selected{color:#fff;background:#086f82}.card{background:#fff;border:1px solid #e1e8ed;border-radius:12px;padding:28px;box-shadow:0 5px 20px #1e526005}.grid{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;margin:20px 0}th{color:#557382;text-align:right;background:#edf3f6;padding:14px 10px;font-size:12px}td{border-bottom:1px solid #e5edf1;padding:12px 10px;font-size:13px}.editor input{min-width:75px}.editor td:nth-child(2){width:35%}.editor td:nth-child(2) input{min-width:220px}.editor td button{color:#a8493b;background:#f9e9e6;padding:8px}.outline{color:#087281;background:#edf7f6}textarea{resize:vertical;min-height:90px}.bottom{border-top:1px solid #e5edf1;justify-content:space-between;align-items:center;margin-top:25px;padding-top:25px;display:flex}.bottom strong{margin-top:8px;font-size:24px;display:block}.notice{color:#966013;background:#fff5db;border-radius:7px;margin-bottom:15px;padding:12px}.hint{color:#718895;line-height:1.8}.empty{text-align:center;color:#7a939e;padding:60px}.paper{color:#183344;background:#fff;max-width:1050px;margin:0 auto;padding:35px;box-shadow:0 5px 30px #24485e12}.letter{border-bottom:3px solid #178398;justify-content:space-between;padding-bottom:20px;display:flex}.letter h2{font-size:22px}.company{color:#14778b;direction:ltr;align-self:center;font-size:26px;font-weight:700}.company span{color:#506e80}.company small{margin-top:15px;line-height:1.7;display:block}.doctype{text-align:center;background:#edf4f8;padding:14px;font-size:20px}.doctype small{color:#24748b;font-size:15px}.details{grid-template-columns:1fr 1fr;gap:30px;display:grid}.paper table{table-layout:fixed}.paper th{color:#fff;background:#126e8b;font-size:10px}.paper td{word-break:break-word;text-align:center;border:1px solid #d4e0e7;font-size:11px}.paper .desc{text-align:start;width:30%}.paper th:nth-child(2){width:30%}.totals{width:55%;margin-right:auto}.totals p,.totals h3{justify-content:space-between;margin:0;padding:8px;display:flex}.totals h3{color:#fff;background:#126e8b}.notes{white-space:pre-wrap;border-top:1px solid #cddde5;margin-top:25px;padding-top:20px}.signatures{justify-content:space-between;margin-top:30px;line-height:1.8;display:flex}.paper footer{text-align:center;border-top:2px solid #126e8b;margin-top:30px;padding-top:15px;font-size:11px}.login{grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.loginBrand{color:#6cd6ca;letter-spacing:4px;background:#112f40;flex-direction:column;justify-content:center;padding:10%;font-size:45px;font-weight:700;display:flex}.loginBrand p{color:#fff;letter-spacing:0;font-size:22px}.login section{width:100%;max-width:520px;margin:auto;padding:70px 45px}.login form{gap:18px;margin:25px 0;display:grid}.login section>p{color:#78909c;line-height:1.7}@media (max-width:850px){aside{width:100%;padding:20px;position:relative}.shell{display:block}nav{flex-wrap:wrap;margin-top:20px;display:flex}.profile{margin-top:20px}.shell main{width:100%;margin:0;padding:20px}.grid{grid-template-columns:1fr 1fr}.login{display:block}.loginBrand{padding:30px;font-size:28px}.paper{padding:15px}.toolbar{justify-content:flex-start}.bottom{gap:15px}}@media (max-width:500px){.grid{grid-template-columns:1fr}.card{padding:18px}.paper table{min-width:0}.paper th,.paper td{padding:5px 2px;font-size:8px}.letter h2,.company{font-size:15px}.totals{width:100%}.signatures{font-size:11px}}@page{size:A4;margin:12mm}@media print{body{background:#fff}.no-print,aside,.top{display:none!important}.shell,.shell main{width:100%;margin:0;padding:0;display:block}.paper{max-width:none;box-shadow:none;padding:0;font-size:11px}.paper th,.paper td{padding:7px 4px;font-size:9px}.letter h2{font-size:20px}thead{display:table-header-group}tr,.notes,.signatures,.totals{break-inside:avoid}.paper *{-webkit-print-color-adjust:exact;print-color-adjust:exact}}select{font:inherit;color:#183344;background:#fff;border:1px solid #d8e1e7;border-radius:6px;width:100%;padding:11px}.document-logo{object-fit:contain;width:175px;height:110px;display:block}.company{font-size:16px}.paper .letter,.paper .details{break-inside:avoid}@media print{.document-logo{width:150px;height:95px}}@media (max-width:500px){.document-logo{width:130px;height:85px}}.paper{isolation:isolate;color:#123f5b;padding:26px;font-family:Tahoma,Arial,sans-serif;position:relative}.paper>:not(.watermark){z-index:1;position:relative}.watermark{z-index:0;opacity:.075;pointer-events:none;width:66%;height:auto;position:absolute;top:260px;left:17%}.letter{border:0;grid-template-columns:1fr 150px 1fr;align-items:center;gap:15px;padding:0 0 10px;display:grid}.letter-company{text-align:right}.letter-company h2{margin:8px 0 15px;font-size:22px}.letter-company b{color:#243649;font-size:17px}.letter-contact{color:#133f5c;align-self:end;font-size:13px}.letter-contact p{margin:13px 0}.letter .document-logo{width:150px;height:95px}.doctype{color:#fff;direction:ltr;background:#104965;margin:0;padding:10px;font-size:20px}.details{gap:30px;font-size:12px}.details p{margin:8px 0}.paper table{margin:0 0 12px}.paper th{color:#fff;text-align:center;background:#104965;border:1px solid #a4b5c0;font-size:11px;line-height:1.5}.paper td{color:#111;background:0 0;border:1px solid #273742;padding:6px 4px;font-size:11px}.paper .desc{text-align:right;font-weight:400}.paper .desc b{font-weight:400}.paper .totals{direction:rtl;width:100%;margin:0}.paper .totals p{flex-direction:row;justify-content:flex-end;gap:15px;padding:6px;font-size:12px}.paper .totals b{text-align:left;min-width:120px}.paper .totals h3{background:#104965;gap:12px;margin:0;padding:9px;font-size:13px}.document-bottom{grid-template-columns:1.2fr 1fr .75fr;gap:20px;margin-top:10px;font-size:11px;line-height:1.6;display:grid}.document-bottom .notes{white-space:pre-wrap;border:0;margin:0;padding:0}.document-bottom p{margin:3px 0}.bank{color:#111;overflow-wrap:anywhere}.signature{font-size:11px}.issuer{flex-wrap:wrap;gap:24px;margin:12px 0;font-size:12px;display:flex}.paper footer{color:#fff;text-align:center;background:#104965;border:0;margin:0;padding:8px;font-size:10px}.document-bottom,.issuer{break-inside:avoid}@media print{.paper{padding:0}.paper th,.paper td{padding:5px 3px;font-size:9px}.letter-company h2{font-size:20px}.document-bottom{font-size:10px}}@media (max-width:600px){.letter{grid-template-columns:1fr 90px 1fr;gap:5px}.letter .document-logo{width:90px;height:65px}.letter-company h2{font-size:12px}.letter-company b,.letter-contact{font-size:8px}.document-bottom{grid-template-columns:1fr;font-size:10px}.paper .totals h3{font-size:10px}.issuer{gap:8px;font-size:10px}}.quotation-template{page:quotation;max-width:1180px}@page quotation{size:A4 landscape;margin:12mm}.quotation-template .letter{grid-template-columns:1fr 150px 1fr}.quotation-template .desc,.quotation-template th:nth-child(2){width:35%}.quotation-template th:nth-child(2){width:10%}.quotation-template th:nth-child(3){width:27%}.quotation-template .desc{width:auto}.quotation-template td[dir=ltr]{overflow-wrap:anywhere}.discount-cell{min-width:145px}.discount-cell select{margin-bottom:5px;padding:7px;font-size:12px}.discount-box{background:#f4f8fa;border:1px solid #dce8ef;border-radius:8px;margin-top:22px;padding:18px}.discount-box h3{margin-top:0}.paper .metadata-row{direction:rtl;flex-wrap:wrap;align-items:baseline;gap:6px;line-height:1.6;display:flex}.metadata-label{white-space:nowrap;direction:rtl;align-items:baseline;gap:5px;display:inline-flex}.metadata-value{overflow-wrap:anywhere;font-weight:500}.metadata-label bdi,.metadata-value{unicode-bidi:isolate}@media print{.print-actions{display:none!important}}.paper .issuer{justify-content:flex-start;align-items:baseline;gap:20px}.paper .issuer>*{flex:none}.field-error{color:#a33227;font-size:12px;line-height:1.6}input[aria-invalid=true]{border-color:#a33227}.document-heading{direction:rtl;grid-template-columns:1fr 1fr;gap:16px;width:50%;margin-right:auto;font-size:12px;display:grid}.document-heading p{margin:10px 0}.paper td[dir=ltr]{overflow-wrap:anywhere}@media (max-width:600px){.document-heading{width:100%}}@media print{.document-heading{width:50%}}.details .document-heading{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:26px;width:100%;margin:0}.details .document-heading p{margin:8px 0}.details .document-heading .metadata-row:last-child{justify-content:flex-end}.paper .details{align-items:start}.details .document-heading .metadata-row:last-child{font-size:11px}.paper.no-code th:nth-child(2){width:30%}.purchase-template{page:quotation;max-width:1180px}.purchase-template .letter{grid-template-columns:1fr 150px 1fr}.purchase-template th:nth-child(2){width:10%}.purchase-template th:nth-child(3){width:27%}.purchase-template .desc{width:auto}.purchase-template.no-code th:nth-child(2){width:30%}.quotation-template.has-brand:not(.no-code) th:nth-child(4),.quotation-template.has-brand.no-code th:nth-child(3){width:10%}.quotation-template.has-brand:not(.no-code) th:nth-child(3){width:24%}.catalog-table td:first-child{overflow-wrap:anywhere;min-width:240px;max-width:380px}.catalog-table td:nth-child(2){overflow-wrap:anywhere;min-width:140px}.catalog-table td:nth-child(3){overflow-wrap:anywhere;min-width:160px;max-width:260px}.catalog-table td:last-child{min-width:210px}.editor input[aria-label=brand]{min-width:140px}.rfq-template{page:quotation;max-width:1180px}.rfq-template th:first-child{width:4%}.rfq-template th:nth-child(2){width:12%}.rfq-template th:nth-child(3){width:45%}.rfq-template.no-code th:nth-child(2){width:50%}.rfq-template.no-code th:nth-child(3){width:auto}.rfq-template .document-bottom{grid-template-columns:2fr 1fr}.riyal-symbol{vertical-align:-.12em;flex-shrink:0;width:auto;height:1em;display:inline-block}.currency-value{white-space:nowrap;direction:ltr;align-items:baseline;gap:.35em;display:inline-flex}.international-template{page:quotation;text-align:left;direction:ltr;max-width:1180px}.international-letter{grid-template-columns:1.3fr 150px 1fr;align-items:center;gap:24px;margin-bottom:16px;display:grid}.international-letter img{width:150px;height:95px}.international-letter h2{margin:0 0 14px;font-size:21px}.international-letter p{margin:7px 0;font-size:12px}.international-letter>div:last-child{text-align:right}.international-details{grid-template-columns:1fr 1fr;gap:50px;padding:16px 0;font-size:12px;display:grid}.international-details p{overflow-wrap:anywhere;margin:7px 0}.international-template .desc{text-align:left}.international-template th:nth-child(2){width:auto}.international-template th,.international-template td{text-align:left}.international-template th{padding:10px 6px}.international-template .international-total{color:#fff;background:#104965;justify-content:space-between;margin:0 0 18px;padding:12px;display:flex}.international-notes{white-space:pre-wrap;margin:18px 0;font-size:12px;line-height:1.7}.international-signature{margin:25px 0;font-size:12px}.international-editor th{text-align:left}.international-template footer{margin-top:20px}@media (max-width:600px){.international-letter{grid-template-columns:1fr 90px;gap:10px}.international-letter img{width:90px;height:auto}.international-letter>div:last-child{text-align:left;grid-column:1/-1}.international-details{gap:15px}}.toolbar>div{flex-wrap:wrap}.login-identity{overflow-wrap:anywhere;background:#eef6f8;border:1px solid #d3e5eb;border-radius:8px;padding:14px;font-size:13px}.login-identity p{margin:6px 0;line-height:1.8}.login-identity a{color:#086f82;margin:10px 0;font-weight:700;display:inline-block}.login-identity small{line-height:1.8;display:block}.client-lookup{margin-bottom:16px}.client-lookup-results{background:#eef6f8;border-radius:8px;gap:10px;margin-bottom:20px;padding:16px;display:grid}.client-lookup-results button{text-align:start}.client-lookup-results small{margin-top:5px;display:block}.government-template{page:government;max-width:1400px}.government-template table th,.government-template table td{padding:7px 4px;font-size:10px;width:auto!important}.government-template .gov-description{text-align:start}.government-template .package-heading td{text-align:right;background:#e3ebee;padding:10px;font-weight:700}.government-template .package-subtotal td{background:#ecf3f5;font-weight:700}.package-editor{border:1px solid #cfdee5;border-radius:8px;margin:20px 0;padding:18px}.package-editor table input{min-width:90px}.package-editor td:nth-child(3) input,.package-editor td:nth-child(4) input{min-width:200px}.toolbar div{flex-wrap:wrap}@page government{size:A4 landscape;margin:10mm}@media print{.government-template table th,.government-template table td{padding:5px 3px;font-size:8px}.government-template .package-heading{break-after:avoid}.government-template .package-subtotal{break-before:avoid}}.government-template .package-heading td{color:#c62828}.signing-controls{background:#edf3f6;border-radius:8px;flex-wrap:wrap;align-items:center;gap:18px;margin:20px 0;padding:16px;display:flex}.signing-controls label{align-items:center;gap:8px;display:flex}.signing-controls input[type=checkbox]{width:18px;height:18px}.signing-controls input[type=file]{max-width:250px}.document-signing{break-inside:avoid;align-items:center;gap:25px;margin:20px 0;display:flex}.employee-signature-image{object-fit:contain;width:180px;height:100px}.stamp-place{cursor:pointer;justify-content:center;align-items:center;width:115px;min-height:80px;display:flex}.stamp-place img{object-fit:contain;width:115px;height:115px}.stamp-place.no-print{text-align:center;border:1px dashed #8ca1b0;padding:12px;font-size:11px}@media print{.document-signing:has(.no-print):not(:has(.employee-signature-image)){display:none}.stamp-place{cursor:default}}.signature .document-signing{justify-content:flex-start;gap:8px;margin:8px 0 4px}.signature .employee-signature-image{width:105px;height:105px}.signature small{margin-top:5px;display:block}.signing-area{break-inside:avoid;width:260px;margin:20px 0}.signature .document-signing img{image-rendering:auto}.signature p{margin:3px 0}.signature .stamp-place img{opacity:.9;z-index:2;position:relative;transform:translateY(22px)rotate(-7deg)}.signature:has(.stamp-place[aria-pressed=true])>p{visibility:hidden;height:0;margin:0}.signature small{z-index:1;position:relative}.signature .stamp-place{overflow:visible}.signature .document-signing{gap:8px}.signature .employee-signature-image{width:95px}.signature .stamp-place,.signature .stamp-place img{width:185px;height:185px}.document-bottom:has(.stamp-place[aria-pressed=true]){grid-template-columns:1.2fr 1fr 1.1fr}@media (max-width:650px){.document-bottom:has(.stamp-place[aria-pressed=true]){grid-template-columns:1fr}}.signature .stamp-place img{transform:translateY(4px)rotate(-7deg)}.employee-signature-under-name{break-inside:avoid;text-align:left;margin:4px 0 14px}.employee-signature-under-name img{object-fit:contain;object-position:left top;width:180px;height:85px;display:block}.signature .document-signing{justify-content:flex-start}.issuer-signature-group{break-inside:avoid;page-break-inside:avoid}.signature .employee-signature-image{object-fit:contain;width:130px;height:105px;margin-left:5px}.signing-area{width:350px}.signature .document-signing{align-items:center;gap:12px}.permission-picker{border:1px solid #ccdce3;border-radius:8px;min-width:300px;margin:18px 0;padding:16px}.permission-picker>div{grid-template-columns:repeat(2,minmax(130px,1fr));gap:12px;display:grid}.permission-picker label{align-items:center;gap:8px;display:flex}.permission-picker input{width:18px;height:18px}.permission-picker legend{padding:0 8px;font-weight:700}aside{overflow-y:auto}.top{z-index:20;background:#f3f5f8;padding:10px 0;position:sticky;top:0}.header-account{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.header-employee{font-weight:700}.logout-button{color:#fff;white-space:nowrap;background:#a62b38;border:1px solid #a62b38;min-height:44px;padding:12px 20px;font-weight:700}.logout-button:hover{background:#872330}.profile button{color:#fff;background:#a62b38;margin-top:6px;padding:10px 16px}@media (max-width:850px){.top{flex-wrap:wrap;gap:12px}.header-account{justify-content:space-between;width:100%}.logout-button{font-size:14px}}.shipping-controls{background:#f1f8f8;border:1px solid #a7cbcf;border-radius:10px;margin:24px 0;padding:20px}.shipping-controls h3{margin:0 0 16px}.shipping-control-row{flex-wrap:wrap;align-items:end;gap:20px;display:flex}.shipping-control-row label{width:260px;max-width:100%}.shipping-control-row span{padding-bottom:12px}.shipping-controls .hint{margin-bottom:0}@media print{.shipping-controls{display:none!important}}.archive-history{min-width:100px;max-width:320px}.archive-history summary{cursor:pointer;white-space:nowrap;color:#245e78;padding:4px 0;font-size:14px;font-weight:600}.archive-history summary:focus-visible{outline-offset:4px;outline:2px solid #245e78}.archive-history[open]{min-width:230px}.archive-history-content{white-space:normal}.archive-history-content .list-pager{margin-top:8px}.archive-history b,.archive-history span,.archive-history time,.archive-history small{margin:4px 0;display:block}.archive-history ol{padding-inline-start:22px}.archive-history li{border-bottom:1px solid #e5edf1;padding:8px 0}.archive-actions{min-width:220px}.archive-actions button{margin:3px}.danger-button{color:#fff;background:#a42b35}.toolbar .save-document-button{color:#fff;background:#086f82;border-color:#086f82;font-weight:700}.archive-refresh{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.archive-refresh p{color:#456071;margin:0}.signature-upload-preview{background:#fff;border-radius:8px;gap:8px;padding:12px;display:grid}.signature-upload-preview img{object-fit:contain;width:100%;max-width:250px;height:100px;display:block}.delivery-template .document-bottom .notes{white-space:normal;grid-column:1/-1}.delivery-template .document-bottom .notes p{white-space:pre-wrap;text-align:start;margin:7px 0;line-height:1.7}.draft-status{color:#526d7c;margin-top:6px;display:block}.letter-body-editor{min-height:320px;line-height:1.9}.official-letter-document{width:100%;overflow-x:auto}.paper.official-letter-sheet{background:#fff;border:0;width:210mm;min-width:210mm;height:297mm;min-height:297mm;margin:0 auto 20px;padding:0;font-family:Tahoma,Arial,sans-serif;position:relative;overflow:hidden;box-shadow:0 3px 14px #1833441a;max-width:none!important}.official-letter-sheet .official-letter-background{z-index:0;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.official-letter-sheet .official-letter-line{white-space:pre;z-index:1;color:#182f42;line-height:1.1;position:absolute}.official-letter-sheet .official-letter-author{text-align:center;width:24.1935%;font-size:3.895mm;font-weight:700;position:absolute;top:75.0855%;left:4.4355%}.official-letter-document[dir=ltr] .official-letter-author{text-align:center;right:auto}.official-letter-sheet .official-letter-stamp{z-index:2;cursor:pointer;justify-content:center;align-items:center;width:35.565mm;height:35.565mm;font-size:12px;display:flex;position:absolute;top:78.6773%;left:8.0645%}.official-letter-stamp.no-print{border:1px dashed #8ca1b0}.official-letter-stamp img{object-fit:contain;opacity:.9;width:100%;height:100%;transform:rotate(-7deg)}.official-letter-sheet .official-letter-signature{object-fit:contain;z-index:2;width:28.79mm;height:18.63mm;position:absolute}.official-letter-sheet .official-letter-page-number{text-align:center;width:10%;font-size:2.54mm;position:absolute;top:91.505%;left:45%}@page officialLetter{size:A4 portrait;margin:0}@media print{.official-letter-document{width:210mm!important;overflow:visible!important}.paper.official-letter-sheet{page:officialLetter;box-shadow:none;break-after:page!important;break-inside:avoid!important;width:210mm!important;height:297mm!important;min-height:297mm!important;margin:0!important;padding:0!important}.paper.official-letter-sheet:last-child{break-after:auto!important}.official-letter-sheet .official-letter-background{max-width:none!important;display:block!important}.official-letter-document{margin:0!important;padding:0!important}.paper.official-letter-sheet{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;min-width:210mm!important;max-height:297mm!important}.draft-preview,.draft-preview *{display:none!important}body:has(.draft-preview):after{content:"المسودة للمعاينة فقط — احفظ المستند نهائيًا للطباعة";direction:rtl;padding:30px;font-size:18px;display:block}}.warehouse-panel .toolbar{flex-wrap:wrap;align-items:end}.warehouse-panel .toolbar label{min-width:240px}.warehouse-panel .grid{margin:16px 0}.warehouse-panel table input{min-width:80px}.warehouse-panel table select{min-width:130px;max-width:460px}.warehouse-panel textarea{width:100%;min-height:90px}.warehouse-code{color:#637d8d;margin-top:5px;display:block}.warehouse-preview{background:#fff;border:1px solid #cbd8e4;width:100%;height:780px;margin-top:16px}.warehouse-panel th{white-space:normal}.warehouse-panel .scroll{margin:14px 0}@media (max-width:700px){.warehouse-panel .toolbar>*{width:100%}.warehouse-panel{padding:14px}.warehouse-preview{height:650px}}.warehouse-pdf-pages{background:#edf1f5;border:1px solid #cbd8e4;max-height:850px;padding:12px;overflow:auto}.warehouse-pdf-pages img{background:#fff;width:100%;height:auto;margin:0 auto 16px;display:block;box-shadow:0 2px 8px #1233}.warehouse-panel td{text-align:center}.warehouse-panel td:first-child{text-align:right}.warehouse-panel table{min-width:850px}.warehouse-inline-item{text-align:right;background:#f0f7fa;border:1px solid #cbdde6;grid-template-columns:repeat(2,minmax(130px,1fr));gap:10px;min-width:340px;margin-top:12px;padding:12px;display:grid}.warehouse-inline-item b{grid-column:1/-1}.warehouse-inline-item input,.warehouse-inline-item select{max-width:100%;min-width:0!important}.warehouse-inline-item label{font-size:12px}@media print{.warehouse-contract-notice{display:none!important}}.warehouse-document-page{margin:0 auto 16px;position:relative;container-type:inline-size}.warehouse-pdf-pages .warehouse-document-page>img{margin:0}.warehouse-panel .warehouse-stamp-target{color:#274f91;box-shadow:none;cursor:pointer;background:#f8faff;border:1.5px dashed #274f91;border-radius:50%;justify-content:center;align-items:center;min-width:0;margin:0;padding:2px;font-size:clamp(7px,1.35cqw,17px);line-height:1.55;display:flex;position:absolute}.warehouse-panel .warehouse-stamp-target.is-stamped{background:0 0;border-color:#0000}:is(.warehouse-panel .warehouse-stamp-target:hover,.warehouse-panel .warehouse-stamp-target:focus-visible){outline-offset:2px;outline:2px solid #274f91}.warehouse-panel .warehouse-stamp-target:disabled{cursor:wait}.warehouse-statement-period{background:#f7fafc;border:1px solid #cbd8e4;border-radius:10px;margin:14px 0;padding:14px}.warehouse-statement-period h3{margin:0 0 12px}.warehouse-statement-period .toolbar{align-items:end}.warehouse-statement-period .hint{margin-bottom:0}.warehouse-packing-summary{text-align:right;background:#edf5fb;border:1px solid #cbd8e4;border-radius:7px;gap:5px;margin-top:8px;padding:9px;display:grid}.warehouse-packing-summary small,.warehouse-quantity-equivalent{display:block}.warehouse-quantity-equivalent{color:#124b67;min-width:140px;margin-top:8px;font-weight:600}.warehouse-balance-detail{white-space:pre-line;min-width:180px;line-height:1.8;text-align:right!important}.product-delete-backdrop{z-index:1000;background:#132f3d99;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.product-delete-dialog{width:min(100%,520px);max-height:90vh;overflow:auto;box-shadow:0 16px 60px #0004}.product-delete-dialog p{overflow-wrap:anywhere}.product-brochure{flex-direction:column;align-items:flex-start;gap:6px;min-width:140px;max-width:240px;display:flex}.product-brochure a{color:#126698;text-decoration:underline}.product-brochure button{white-space:nowrap}.product-brochure small{color:#52717c;font-size:12px}.brochure-file-name{text-overflow:ellipsis;white-space:nowrap;direction:ltr;max-width:220px;overflow:hidden}.product-brochure .product-delete-dialog{text-align:start;width:100%;max-width:520px}.warehouse-commandbar{z-index:15;background:#f5f9fb;border:1px solid #dce7ed;border-radius:14px;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:18px 0 24px;padding:18px;display:flex;position:relative}.warehouse-client-picker{flex:1;min-width:230px;max-width:450px;font-size:12px;font-weight:700}.warehouse-client-picker select{color:#183344;width:100%;height:45px;font:inherit;background:#fff;border:1px solid #c8d9e3;border-radius:9px;padding:8px 12px;font-size:14px}.warehouse-action-menu{flex-shrink:0;min-width:164px;position:relative}.warehouse-action-menu>summary{cursor:pointer;-webkit-user-select:none;user-select:none;color:#214b60;background:#fff;border:1px solid #c8d9e3;border-radius:9px;align-items:center;gap:10px;min-height:45px;padding:12px 14px;font-weight:700;list-style:none;transition:background .15s,border-color .15s;display:flex}.warehouse-action-menu>summary::-webkit-details-marker{display:none}.warehouse-action-menu>summary svg{flex-shrink:0;width:20px;height:20px}.warehouse-action-menu>summary .warehouse-menu-chevron{width:14px;height:14px;margin-inline-start:auto;transition:transform .15s}.warehouse-action-menu[open]>summary{background:#e8f2f6;border-color:#6593a9}.warehouse-action-menu[open]>summary .warehouse-menu-chevron{transform:rotate(180deg)}.warehouse-action-menu>summary:focus-visible{outline-offset:3px;outline:3px solid #83cbd0}.warehouse-menu-items{inset-inline-start:0;z-index:30;background:#fff;border:1px solid #d7e4ec;border-radius:11px;width:270px;max-width:calc(100vw - 60px);padding:7px;position:absolute;top:calc(100% + 8px);box-shadow:0 12px 32px #18334425}.warehouse-menu-items button{text-align:start;color:#214b60;background:0 0;border-radius:7px;width:100%;padding:12px;font-size:14px;line-height:1.5;display:block}.warehouse-menu-items button:not(:disabled):hover{background:#edf5f8}.warehouse-menu-items button:focus-visible{background:#edf5f8}.warehouse-menu-items button:disabled{cursor:not-allowed;opacity:.45}.warehouse-menu-divider{background:#e5edf2;height:1px;margin:5px 7px}.warehouse-period-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.warehouse-period-heading h3{margin:0}.warehouse-statement-period[hidden]{display:none!important}@media (max-width:650px){.warehouse-commandbar{gap:10px;padding:12px}.warehouse-action-menu{flex:calc(50% - 10px);min-width:0}.warehouse-commandbar>.warehouse-action-menu:first-child{flex-basis:100%}.warehouse-client-picker{flex-basis:100%;max-width:none}.warehouse-action-menu>summary{gap:7px;padding:11px 10px;font-size:13px}.warehouse-menu-items{width:240px;max-width:calc(100vw - 54px)}.warehouse-action-menu:nth-of-type(3) .warehouse-menu-items{inset-inline:auto 0}.warehouse-period-heading{align-items:flex-start}.warehouse-period-heading button{padding:8px;font-size:12px}}.document-type-picker{z-index:16;flex-wrap:wrap;align-items:center;gap:12px;display:flex;position:relative}.document-type-group{min-width:190px;position:relative}.document-type-group>summary{color:#214b60;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #c8d9e3;border-radius:9px;align-items:center;gap:10px;min-height:46px;padding:12px 16px;font-weight:700;list-style:none;display:flex}.document-type-group>summary::-webkit-details-marker{display:none}.document-type-group>summary svg{flex-shrink:0;width:20px;height:20px}.document-type-group>summary .document-type-chevron{width:14px;height:14px;margin-inline-start:auto;transition:transform .15s}.document-type-group[open]>summary .document-type-chevron{transform:rotate(180deg)}.document-type-group[open]>summary,.document-type-group.is-current>summary{background:#e8f2f6;border-color:#6593a9}.document-type-group>summary:focus-visible{outline-offset:3px;outline:3px solid #83cbd0}.document-type-options{top:calc(100% + 8px);z-index:30;background:#fff;border:1px solid #d7e4ec;border-radius:11px;min-width:270px;max-width:calc(100vw - 60px);padding:7px;position:absolute;inset-inline-start:0;box-shadow:0 12px 32px #18334425}.document-type-options button{text-align:start;color:#214b60;background:0 0;border-radius:7px;width:100%;padding:12px;line-height:1.5;display:block}.document-type-options button:not(:disabled):hover{background:#edf5f8}.document-type-options button:focus-visible{background:#edf5f8}.document-type-options button.selected{color:#086f82;background:#e5f2f5;font-weight:700}.document-type-direct{color:#214b60;background:#fff;border:1px solid #c8d9e3;min-height:46px}.document-type-direct.selected{background:#e8f2f6;border-color:#6593a9}@media (max-width:650px){.document-type-picker{gap:10px;width:100%}.document-type-group{flex:calc(50% - 10px);min-width:0}.document-type-group>summary{gap:7px;padding:12px 10px;font-size:13px}.document-type-group:nth-child(2) .document-type-options{inset-inline:auto 0}.document-type-options{min-width:240px}.document-type-direct{flex:calc(50% - 10px);font-size:13px}}.employee-permissions-menu{text-align:start;min-width:255px;max-width:440px}.employee-permissions-menu>summary{cursor:pointer;-webkit-user-select:none;user-select:none;color:#214b60;white-space:nowrap;background:#f7fafc;border:1px solid #c8d9e3;border-radius:9px;align-items:center;gap:9px;padding:11px 13px;font-size:13px;font-weight:700;list-style:none;display:flex}.employee-permissions-menu>summary::-webkit-details-marker{display:none}.employee-permissions-menu>summary svg{flex-shrink:0;width:20px;height:20px}.employee-permissions-menu>summary .employee-permissions-chevron{width:14px;height:14px;margin-inline-start:auto;transition:transform .15s}.employee-permissions-menu[open]>summary{background:#e8f2f6;border-color:#6593a9}.employee-permissions-menu[open]>summary .employee-permissions-chevron{transform:rotate(180deg)}.employee-permissions-menu>summary:focus-visible{outline-offset:3px;outline:3px solid #83cbd0}.employee-permissions-menu .permission-picker{background:#fff;min-width:0;margin:12px 0 0;padding:14px}.employee-permissions-menu .permission-picker>div{grid-template-columns:1fr;gap:11px}.employee-permissions-menu .permission-picker label{font-size:13px;line-height:1.6}.employee-permissions-menu .permission-picker input{flex-shrink:0}.employee-permissions-menu .hint{white-space:normal;font-size:12px;line-height:1.7}.employee-permissions-menu .permission-picker>button{width:100%}.warehouse-dispatch-picker{text-align:start;gap:12px;min-width:210px;max-width:460px;display:grid}.warehouse-dispatch-picker label{gap:6px;font-size:12px;font-weight:700}.warehouse-dispatch-picker select{width:100%;min-height:42px;font-weight:400}.warehouse-dispatch-picker small{color:#637d8d}.detergents{--det-ink:#123b50;--det-accent:#087f8c;color:#183e50;max-width:1500px;margin:auto}.det-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.det-heading small{letter-spacing:.1em;color:#63818c}.det-heading h2{margin:5px 0;font-size:26px}.det-heading p{color:#667f8a}.det-tabs{flex-wrap:wrap;gap:8px;margin:24px 0;display:flex}.det-tabs button{flex:1;min-width:150px}.det-tabs button.active{background:#143e55;box-shadow:0 4px 12px #123b5020}.det-metrics{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin:18px 0;display:grid}.det-metrics>div{background:linear-gradient(135deg,#f3fafb,#fff);border:1px solid #dce8eb;border-radius:14px;flex-direction:column;gap:10px;padding:18px;display:flex}.det-metrics strong{color:#087f8c;text-align:right;font-variant-numeric:tabular-nums;direction:ltr;font-size:28px}.detergents .card{margin:16px 0}.detergents summary{cursor:pointer;padding:8px 0;font-weight:700}.detergents table{font-variant-numeric:tabular-nums;font-size:14px}.detergents th{color:#fff;white-space:nowrap;background:#163f55}.detergents td{vertical-align:middle}.detergents td button{margin:3px;padding:8px 12px;font-size:12px}.det-empty{text-align:center;color:#6b8189;background:#f5f9fa;padding:35px}.det-pending{border-right:4px solid #d7a34d}.det-filters{flex-wrap:wrap;align-items:end;gap:12px;margin:18px 0;display:flex}.det-filters label{flex:1;min-width:145px}.det-modal{z-index:150;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0b293976;justify-content:center;align-items:flex-start;padding:30px 16px;display:flex;position:fixed;inset:0;overflow:auto}.det-dialog{width:min(1100px,100%);max-height:none;box-shadow:0 20px 70px #09273555}.det-dialog input,.det-dialog select{min-width:85px;max-width:100%}.det-dialog .scroll{margin:20px 0}.det-dialog .grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.det-review{background:#eef8f8;border:1px solid #a9cdce;border-radius:12px;margin-top:24px;padding:22px}.det-print{background:#fff;border:1px solid #e2e9ec;padding:25px}.det-print h2{color:#fff;text-align:center;background:#153e55;padding:15px}.det-invoice-brand{border-bottom:3px solid #16828a;flex-direction:column;gap:6px;padding-bottom:20px;display:flex}.det-invoice-brand b{font-size:24px}.det-party{background:#f4f8f9;margin-bottom:20px;padding:15px}.det-print footer{text-align:center;direction:ltr;border-top:1px solid #d5e1e6;margin-top:35px;padding-top:12px}.detergents fieldset label{align-items:center;gap:8px;margin:10px 0;display:flex}.detergents fieldset input[type=checkbox]{width:auto;min-width:0}.det-dialog .toolbar{flex-wrap:wrap}@media (max-width:700px){.det-heading{align-items:flex-start}.det-heading h2{font-size:22px}.det-tabs button{min-width:42%;font-size:13px}.det-metrics{grid-template-columns:repeat(2,1fr)}.det-metrics strong{font-size:23px}.det-modal{padding:8px}.det-dialog{padding:15px}.det-print{padding:12px}.det-filters{grid-template-columns:1fr 1fr;display:grid}.det-filters label{min-width:0}}@media print{body:has(.det-print) *{visibility:hidden!important}:is(body:has(.det-print) .det-print,body:has(.det-print) .det-print *){visibility:visible!important}body:has(.det-print) .det-print{border:0;width:100%;padding:0;font-size:11px;position:absolute;top:0;left:0;right:0}:is(body:has(.det-print) .det-modal,body:has(.det-print) .det-dialog){max-height:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#fff!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}body:has(.det-print) .det-no-print{display:none!important}.det-print tr{break-inside:avoid}.det-print th{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.unread-count{color:#fff;background:#c83f35;border-radius:999px;justify-content:center;align-items:center;min-width:22px;height:22px;margin-inline-start:8px;padding:0 6px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.customer-messages-heading,.customer-message-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-messages-heading h2{margin:0 0 5px}.customer-messages-layout{grid-template-columns:minmax(230px,320px) minmax(0,1fr);gap:20px;margin-top:18px;display:grid}.customer-messages-list{border:1px solid #dbe6ea;border-radius:10px;max-height:68vh;overflow:auto}.customer-message-row{text-align:right;width:100%;color:inherit;cursor:pointer;font:inherit;background:#fff;border:0;border-bottom:1px solid #e7edef;gap:6px;padding:14px;display:grid}.customer-message-row:last-child{border-bottom:0}.customer-message-row:hover,.customer-message-row.selected{background:#edf6f7}.customer-message-row.unread{background:#f5fafb}.customer-message-row>span:not(.customer-message-title),.customer-message-row small{color:#627781;font-size:12px}.customer-message-dot{background:#c83f35;border-radius:50%;width:9px;height:9px}.customer-message-detail{overflow-wrap:anywhere;border:1px solid #dbe6ea;border-radius:10px;min-height:240px;padding:20px}.customer-message-body{white-space:pre-wrap;border-top:1px solid #e7edef;margin-top:16px;padding-top:16px;line-height:1.8}.customer-message-detail h3{margin:0}.customer-message-detail .danger-button{white-space:nowrap}@media (max-width:720px){.customer-messages-layout{grid-template-columns:1fr}.customer-messages-list{max-height:38vh}.customer-message-title{align-items:flex-start}}.det-sales-paper{color:#123f5b;flex-direction:column;min-height:700px;padding:26px;font-family:Tahoma,Arial,sans-serif;display:flex}.det-sales-paper .letter{grid-template-columns:1fr 150px 1fr;align-items:center;gap:15px;padding-bottom:10px;display:grid}.det-sales-paper .letter-company h2{color:#123f5b;text-align:right;background:0 0;margin:8px 0 15px;padding:0;font-size:22px}.det-sales-paper .letter-company b{color:#243649;font-size:17px}.det-sales-paper .document-logo{object-fit:contain;width:150px;height:110px}.det-sales-paper .letter-contact{color:#133f5c;text-align:left;font-size:13px}.det-sales-paper .doctype{color:#fff;text-align:center;direction:ltr;background:#104965;margin:0;padding:10px;font-size:20px}.det-sales-details{grid-template-columns:1fr 1fr;gap:30px;padding:12px 0;font-size:12px;display:grid}.det-sales-details p{overflow-wrap:anywhere}.det-sales-paper .det-sales-items th{color:#fff;text-align:center;white-space:normal;background:#104965;font-size:11px}.det-sales-paper .det-sales-items td{color:#111;text-align:center;overflow-wrap:anywhere;border:1px solid #d4dfe5;font-size:12px}.det-sales-paper .det-sales-items td:nth-child(2){text-align:right;min-width:130px}.det-sales-paper .det-sales-items{table-layout:auto}.det-sales-totals{margin:12px 0 20px}.det-sales-totals>div{border-bottom:1px solid #d9e3e9;justify-content:space-between;gap:12px;padding:10px;font-size:13px;display:flex}.det-sales-totals .det-grand{color:#fff;background:#104965;font-size:15px}.det-sales-paper footer{color:#fff;text-align:center;direction:rtl;background:#104965;border:0;margin-top:auto;padding:10px;font-size:10px}.det-sales-note{white-space:pre-wrap;font-size:12px}.det-review .det-sales-paper{background:#fff}.det-review .det-sales-paper h2{font-size:20px}@media (max-width:600px){.det-sales-paper{min-width:0;padding:12px}.det-sales-paper .letter{grid-template-columns:1fr 90px 1fr;gap:8px}.det-sales-paper .document-logo{width:90px;height:85px}.det-sales-paper .letter-company h2{font-size:14px}.det-sales-paper .letter-company b{font-size:11px}.det-sales-paper .letter-contact{overflow-wrap:anywhere;font-size:9px}.det-sales-paper .doctype{font-size:15px}.det-sales-details{gap:14px;font-size:10px}.det-sales-paper .det-sales-items th,.det-sales-paper .det-sales-items td{padding:5px;font-size:9px}.det-sales-paper .det-sales-items td:nth-child(2){min-width:75px}.det-sales-totals>div{font-size:10px}.det-sales-paper footer{font-size:8px}}@media print{.det-sales-paper{min-height:260mm}.det-sales-paper .letter{break-inside:avoid}.det-sales-paper .det-sales-items thead{display:table-header-group}.det-sales-paper .det-sales-totals{break-inside:avoid}.det-sales-paper footer,.det-sales-paper .det-grand{-webkit-print-color-adjust:exact;print-color-adjust:exact}}@page detergentSales{size:A4 portrait;margin:12mm}.det-sales-paper{page:detergentSales}.det-bank{color:#172f3d;break-inside:avoid;margin:18px 0 24px;font-size:12px;line-height:1.7}.det-debt,.det-sales-paper td.det-debt{font-weight:700;color:#b32432!important}.det-unpaid td{color:#b32432;background:#fff6f6}.det-unpaid td button{color:#b32432}.det-unpaid b{display:block}.det-sales-paper .det-bank{text-align:left;direction:ltr}.det-sale-terms{color:#172f3d;break-inside:avoid;border-top:1px solid #d5e1e6;margin:16px 0;padding-top:12px;font-size:11px;line-height:1.7}.det-sale-terms p{margin:6px 0}.det-sale-terms p[dir=ltr]{text-align:left}.det-sales-paper{isolation:isolate;position:relative}.det-sales-paper>.det-watermark{opacity:.055;z-index:0;pointer-events:none;-webkit-user-select:none;user-select:none;width:60%;height:auto;position:absolute;top:28%;left:20%}.det-sales-paper>:not(.det-watermark){z-index:1;position:relative}.det-sales-paper .det-sales-items td{background:0 0}@media print{.det-sales-paper>.det-watermark{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.det-report-choices{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin-bottom:20px;display:grid}.det-employee-section h3{color:#104965;border-bottom:2px solid #104965;padding-bottom:8px}.det-employee-section .hint{font-size:11px;line-height:1.7}.det-employee-section{margin:16px 0}.det-employee-report .det-sales-items{table-layout:fixed;width:100%}.det-employee-report .det-sales-items td:nth-child(2){min-width:0}.det-employee-report footer{margin-top:24px}@media print{.det-employee-section h3{break-after:avoid}.det-employee-report{display:block}.det-employee-report .det-sales-items{table-layout:fixed}.det-employee-report .det-sales-items th,.det-employee-report .det-sales-items td{font-size:9px}}.det-departments{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.det-departments button{text-align:right;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:20px;display:flex}.det-departments svg{width:30px;height:30px}.det-departments strong{font-size:19px}.det-departments small{opacity:.85;font-size:11px;font-weight:400;line-height:1.7}.det-subnav{border-bottom:1px solid #dce8eb;gap:8px;padding-bottom:16px}.det-subnav .det-team-button{margin-inline-start:auto}.det-subnav button{font-size:13px}@media (max-width:700px){.det-departments{grid-template-columns:repeat(2,minmax(0,1fr))}.det-departments button{min-width:0;padding:14px}.det-departments strong{font-size:16px}.det-subnav .det-team-button{margin-inline-start:0}}.det-procurement-editor input{min-width:90px}.det-procurement-editor input[aria-label^=اسم\ الصنف]{min-width:260px}.det-official-procurement .letter-company h2{text-align:right;padding:0;color:#123f5b!important;background:0 0!important}.det-official-procurement .doctype{color:#fff;background:#104965}.det-official-procurement .notes p{white-space:pre-wrap}.det-official-procurement th{white-space:normal!important}.det-official-procurement .totals h3{color:#fff;background:#104965;padding:12px}.det-official-procurement .document-bottom{break-inside:avoid}.det-official-procurement footer{color:#fff;direction:rtl;background:#104965;padding:10px;font-size:10px}.det-official-procurement{page:detergentProcurement}.det-official-procurement table{font-size:11px}.det-official-procurement td{overflow-wrap:anywhere;font-size:11px}@page detergentProcurement{size:A4 landscape;margin:12mm}@media print{.det-official-procurement{width:100%!important;max-width:none!important;box-shadow:none!important}.det-official-procurement .letter,.det-official-procurement .totals{break-inside:avoid}.det-official-procurement thead{display:table-header-group}.det-official-procurement footer{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.paper.quotation-template table.quotation-items{table-layout:fixed;width:100%}.paper.quotation-template table.quotation-items th,.paper.quotation-template table.quotation-items td{white-space:normal;overflow-wrap:anywhere;vertical-align:middle;min-width:0;width:auto!important}.paper.quotation-template table.quotation-items .desc{white-space:pre-wrap;word-break:normal;overflow-wrap:anywhere;text-align:start;line-height:1.55}.paper.quotation-template table.quotation-items th{padding:9px 4px}.paper.quotation-template table.quotation-items td{padding:8px 4px}.det-reservation-badge{color:#fff;background:#bf3349;border-radius:20px;place-items:center;min-width:25px;height:25px;margin-inline-start:10px;padding:2px 7px;font-size:13px;display:inline-grid}.det-reservation-card{background:#fbfdfd;border:1px solid #d9e6eb;border-right:4px solid #15818b;border-radius:10px;margin:22px 0;padding:18px}.det-reservation-card .det-heading{align-items:flex-start}.det-reservation-card h3{margin:6px 0 12px}.det-reservations input[type=checkbox]{width:auto;min-width:0}.det-reservations td input:not([type=checkbox]){min-width:100px}.det-reservations .det-dialog fieldset{border:0;padding:0}.det-reservations .det-dialog fieldset>button{margin:16px 0}.det-reservations .det-heading .toolbar{justify-content:flex-start;margin:0}.det-reservations .det-heading p{line-height:1.7}.det-sales-actions{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:18px 0 26px;display:grid}.det-sales-actions button{text-align:start;flex-direction:column;align-items:flex-start;gap:9px;min-height:92px;padding:19px;display:flex}.det-sales-actions strong{font-size:17px}.det-sales-actions small{color:inherit;opacity:.85;font-size:12px;line-height:1.6}.det-custody-cards,.det-customer-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:18px;display:grid}.det-custody-cards article,.det-customer-cards article{overflow-wrap:anywhere;background:#fbfdfd;border:1px solid #d9e6eb;border-radius:12px;min-width:0;padding:16px}.det-custody-cards article>div:first-child{gap:7px;display:grid}.det-custody-cards article>button{width:100%}.det-customer-cards h3{margin:0 0 12px}.det-customer-cards .toolbar{margin-bottom:0}.det-sale-lines{margin:24px 0}.det-sale-line{background:#fbfdfd;border:1px solid #d6e5e9;border-radius:12px;gap:14px;margin:14px 0;padding:18px;display:grid}.det-sale-line .det-heading button{padding:9px 14px}.det-sale-numbers{grid-template-columns:1fr 1fr;gap:12px;display:grid}.det-sale-available,.det-sale-line-total{flex-wrap:wrap;justify-content:space-between;gap:10px;display:flex}.det-sale-available{background:#eaf5f4;border-radius:8px;padding:10px;font-size:13px}.det-sale-available small{color:#456977}.det-sale-line-total{border-top:1px solid #deeaed;padding-top:12px}.det-add-line{border:1px dashed #8fb9bc;width:100%;min-height:46px}.det-live-totals{background:#eff7f8;border-radius:10px;margin:16px 0;padding:12px 16px}.det-live-totals>div{justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.det-live-totals>div:last-child{border-top:1px solid #aacdd0;font-size:17px;font-weight:700}.det-live-totals dd{margin:0}.det-sales-dialog input,.det-sales-dialog select,.det-sales-mode input,.det-sales-mode select{min-height:46px}.det-sales-dialog fieldset{border:0;min-width:0;padding:0}.det-sales-dialog fieldset label{align-items:start;display:grid}.det-sales-mode .det-heading,.det-sales-dialog .det-heading,.det-sales-mode .det-heading>div,.det-sales-dialog .det-heading>div{min-width:0}.det-sales-dialog .det-form-actions{z-index:5;background:#fff;border-top:1px solid #deeaed;margin-bottom:0;padding:12px 0;position:sticky;bottom:0}.det-sales-dialog .det-form-actions>button{color:#fff;background:#087f8c;width:100%}.det-sales-dialog .det-review>button{width:100%;min-height:48px;margin-top:18px}.det-sales-mode button,.det-sales-dialog button{touch-action:manipulation}.det-purchase-drafts .det-dialog fieldset{border:0;min-width:0;padding:0}@media screen and (max-width:700px){.det-sales-mode .det-departments{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:16px 0}.det-sales-mode .det-departments button{text-align:center;align-items:center;gap:8px;min-height:76px;padding:12px 5px}.det-sales-mode .det-departments strong{font-size:12px}.det-sales-mode .det-departments svg{width:23px;height:23px}.det-sales-mode .det-departments small{display:none}.det-sales-mode .det-subnav{grid-template-columns:1fr 1fr;display:grid}.det-sales-mode .det-subnav button{width:100%;min-height:46px;padding:11px 8px}.det-sales-mode>.det-heading{flex-wrap:wrap}.det-sales-mode>.det-heading>button{padding:10px 12px}.det-sales-mode .card{padding:16px}.det-sales-actions{grid-template-columns:1fr 1fr;gap:9px}.det-sales-actions button{min-height:102px;padding:15px 12px}.det-sales-actions strong{font-size:15px}.det-sales-actions small{font-size:11px}.det-custody-cards,.det-customer-cards{grid-template-columns:1fr}.det-sales-mode button,.det-sales-dialog button{min-height:44px}.det-sales-dialog{border-radius:14px;max-width:100%;margin:0!important;padding:15px!important}.det-sales-dialog .grid{gap:14px;grid-template-columns:1fr!important}.det-sales-dialog input,.det-sales-dialog select,.det-sales-mode input,.det-sales-mode select{width:100%;min-width:0;font-size:16px}.det-sales-dialog label{font-size:13px;line-height:1.65}.det-sale-line{padding:14px}.det-sale-line .det-heading{align-items:center}.det-sale-numbers{gap:10px}.det-sale-numbers label{font-size:12px}.det-sales-mode .det-filters{grid-template-columns:1fr 1fr}.det-sales-mode .det-filters>label:first-child{grid-column:1/-1}.det-sales-mode .det-filters>button{grid-column:1/-1;width:100%}.det-sales-mode .det-heading{flex-wrap:wrap}.det-sales-mode .det-heading h3{margin-top:8px}.det-sales-mode .det-reservation-card{padding:14px}.det-sales-mode .det-reservation-card .toolbar{grid-template-columns:1fr;gap:8px;width:100%;display:grid}.det-sales-mode .det-reservation-card .toolbar button{width:100%;margin:0}.det-sales-mode .det-reservations>.toolbar{gap:12px;display:grid}.det-sales-mode .det-reservations>.toolbar label{align-items:center;gap:8px;display:flex}.det-sales-mode .det-history-scroll{overflow:visible}.det-sales-mode .det-history-table,.det-sales-mode .det-history-table tbody{width:100%;margin:12px 0;display:block}.det-sales-mode .det-history-table thead{display:none}.det-sales-mode .det-history-table tr{background:#fff;border:1px solid #d7e5e9;border-radius:12px;grid-template-columns:1fr 1fr;gap:0 12px;margin:14px 0;padding:14px;display:grid}.det-sales-mode .det-history-table td{overflow-wrap:anywhere;text-align:start;background:0 0;border:0;flex-direction:column;gap:6px;min-width:0;padding:9px 0;font-size:14px;display:flex}.det-sales-mode .det-history-table td:before{content:attr(data-label);color:#6a808b;text-align:start;direction:rtl;font-size:11px;font-weight:400}.det-sales-mode .det-history-table td:nth-child(4),.det-sales-mode .det-history-table .det-record-actions{grid-column:1/-1}.det-sales-mode .det-history-table .det-record-actions{border-top:1px solid #e1e9ed;flex-flow:wrap;margin-top:6px;padding-top:12px;display:flex}.det-sales-mode .det-record-actions:before{display:none}.det-sales-mode .det-record-actions button{flex:1;min-width:100px;font-size:13px}.det-sales-mode .det-history-table .det-unpaid{background:#fff8f8;border-color:#edc2c6}.det-sales-dialog .det-reservation-entry,.det-sales-dialog .det-reservation-entry tbody,.det-sales-dialog .det-stock-entry,.det-sales-dialog .det-stock-entry tbody,.det-sales-mode .det-reservation-items,.det-sales-mode .det-reservation-items tbody{width:100%;min-width:0;margin:0;display:block}.det-sales-dialog .det-reservation-entry thead,.det-sales-dialog .det-stock-entry thead,.det-sales-mode .det-reservation-items thead{display:none}.det-sales-dialog .det-reservation-entry tr,.det-sales-dialog .det-stock-entry tr,.det-sales-mode .det-reservation-items tr{border:1px solid #d6e5e9;border-radius:10px;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0;padding:14px;display:grid}.det-sales-dialog .det-reservation-entry td,.det-sales-dialog .det-stock-entry td,.det-sales-mode .det-reservation-items td{text-align:start;overflow-wrap:anywhere;border:0;min-width:0;padding:0;display:block}.det-sales-dialog .det-reservation-entry td:before,.det-sales-dialog .det-stock-entry td:before,.det-sales-mode .det-reservation-items td:before{content:attr(data-label);color:#637c88;margin-bottom:7px;font-size:12px;display:block}.det-sales-dialog .det-reservation-entry td:first-child,.det-sales-dialog .det-stock-entry td:first-child,.det-sales-mode .det-reservation-items td:first-child{grid-column:1/-1}.det-sales-dialog .det-reservation-entry input{min-width:0!important}.det-sales-dialog .scroll{overflow:visible}.det-sales-mode .det-customer-cards .toolbar button{flex:1}}@media screen and (max-width:370px){.det-sale-numbers{grid-template-columns:1fr}.det-sales-actions strong{font-size:14px}.det-sales-mode .det-departments strong{font-size:11px}}.det-sale-customer-picker{grid-column:1/-1;gap:12px;display:grid}@media screen and (max-width:700px){.det-sales-mode .det-modal{padding-bottom:calc(12px + env(safe-area-inset-bottom))}.det-sales-mode .det-pending>.scroll{overflow:visible}.det-sales-mode .det-pending-table,.det-sales-mode .det-pending-table tbody{width:100%;display:block}.det-sales-mode .det-pending-table thead{display:none}.det-sales-mode .det-pending-table tr{border:1px solid #dce6ec;border-radius:10px;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0;padding:14px;display:grid}.det-sales-mode .det-pending-table td{overflow-wrap:anywhere;border:0;min-width:0;padding:0;display:block}.det-sales-mode .det-pending-table td:before{content:attr(data-label);color:#637c88;direction:rtl;margin-bottom:7px;font-size:11px;display:block}.det-sales-mode .det-pending-table .det-record-actions{grid-column:1/-1;gap:8px;display:flex}.det-sales-mode .det-pending-table .det-record-actions:before{display:none}.det-sales-mode .det-pending-table .det-record-actions button{flex:1;min-height:44px}}.det-departments:has(>button:only-child){grid-template-columns:1fr}.det-departments:has(>button:only-child)>button{flex-direction:row;align-items:center;min-height:64px}.det-departments:has(>button:only-child)>button small{margin-inline-start:auto}.det-sales-mode .det-report-choices{grid-template-columns:1fr}.det-sales-mode fieldset{border:0;min-width:0;padding:0}.det-sales-mode .det-report-choices label{justify-content:flex-start;align-items:center;display:flex}.det-sales-mode .det-report-choices input[type=checkbox]{flex:0 0 22px;width:22px;min-height:22px}.det-sales-mode .det-customer-cards small{margin:8px 0;display:block}.det-catalog-list{overscroll-behavior:contain;max-height:440px;margin:14px 0;padding:0 2px 8px;overflow:auto}.det-reservation-catalog .det-available-toggle{align-items:center;gap:10px;display:flex}.det-reservation-catalog .det-available-toggle input{width:22px;min-width:22px;min-height:22px}.det-reservation-catalog .det-heading{align-items:flex-start}.det-reservation-catalog .det-sale-line{background:#fff}.det-reservation-catalog .det-custody-cards{margin-top:0}.det-reservation-catalog .det-custody-cards p{font-size:13px;line-height:1.7}@media screen and (max-width:700px){.det-catalog-list{max-height:48dvh}.det-reservation-catalog .det-heading{flex-wrap:wrap}.det-reservation-catalog .det-filters{grid-template-columns:1fr}.det-reservation-catalog .det-heading>button{width:100%}.det-reservation-catalog .det-custody-cards{grid-template-columns:1fr}}.warehouse-daily-trigger{flex-direction:column;justify-content:center;gap:10px;display:flex}.warehouse-daily-trigger button{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;min-height:46px;display:flex}.warehouse-daily-badge{color:#fff;background:#bf3349;border-radius:20px;place-items:center;min-width:26px;height:26px;padding:2px 7px;font-weight:700;display:inline-grid}.warehouse-daily-report{color:#183344;background:#fff;border:1px solid #dce5eb;border-radius:10px;grid-column:1/-1;padding:20px}.warehouse-daily-report .toolbar{align-items:center}.warehouse-daily-report caption{text-align:start;padding:10px;font-weight:700}.warehouse-daily-report th,.warehouse-daily-report td{white-space:nowrap}.warehouse-daily-report h3{margin:0}@media (max-width:500px){.warehouse-daily-report{min-width:0;padding:12px}.warehouse-daily-report .toolbar>*{max-width:100%}}.editor input[readonly],.government-editor input[readonly]{color:#466575;cursor:default;background:#f0f5f7}.editor td:last-child .outline{color:#087281;background:#edf7f6;margin-bottom:6px;font-size:12px}.main-home-intro{border-top:3px solid #178398;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;display:flex}.main-home-intro h2{color:#183344;margin:10px 0;font-size:27px}.main-home-intro p{color:#718895;margin:0;line-height:1.8}.main-home-intro>button{flex-shrink:0;justify-content:center;align-items:center;gap:9px;min-height:48px;display:flex}.main-home-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.main-home-link{color:#183344;text-align:start;background:#fff;border:1px solid #dce5eb;border-radius:12px;align-items:flex-start;gap:14px;min-height:150px;padding:22px;transition:border-color .15s,background .15s;display:flex;box-shadow:0 5px 20px #1e526005}.main-home-link:hover{background:#f2fafa;border-color:#178398}.main-home-link:focus-visible{outline-offset:3px;outline:3px solid #178398}.main-home-icon{color:#087281;background:#edf7f6;border-radius:10px;flex-shrink:0;padding:11px;display:flex}.main-home-link strong{margin:4px 0 10px;font-size:17px;display:block}.main-home-link small{color:#718895;font-size:13px;font-weight:400;line-height:1.8;display:block}.main-home-arrow{color:#178398;margin-inline-start:auto;flex-shrink:0;margin-top:8px}@media (max-width:1150px){.main-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:600px){.main-home-intro{flex-direction:column;align-items:stretch;gap:18px}.main-home-intro h2{font-size:23px}.main-home-grid{grid-template-columns:1fr;gap:12px}.main-home-link{min-height:115px;padding:18px}.main-home-link strong{font-size:16px}}.document-contact{color:inherit;text-underline-offset:2px;white-space:nowrap;text-decoration:underline}.document-contact-region{z-index:1;cursor:pointer;display:block;position:absolute}:is(.document-contact-region:hover,.document-contact-region:focus-visible){outline-offset:1px;outline:2px solid #178398}.catalog-item-input{width:100%;min-width:0}.catalog-item-input>input{width:100%;min-width:100px}.editor td:nth-child(2) .catalog-item-input>input{min-width:260px}.catalog-suggestions{z-index:1000;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box;background:#fff;border:1px solid #b7d0da;border-radius:8px;padding:5px;position:fixed;overflow-y:auto;box-shadow:0 8px 24px #123b5030}.catalog-suggestions .catalog-suggestion{color:#183344;text-align:start;white-space:normal;overflow-wrap:anywhere;touch-action:pan-y;background:#fff;border:0;border-bottom:1px solid #e7eff2;border-radius:4px;flex-direction:column;gap:5px;width:100%;min-height:52px;padding:11px 12px;font-size:13px;line-height:1.5;display:flex}.catalog-suggestion>span{color:#607d8b;font-size:12px}.catalog-suggestions .catalog-suggestion:hover,.catalog-suggestions .catalog-suggestion[aria-selected=true]{background:#eaf6f6;outline:1px solid #b5d6dc}.catalog-suggestions-empty{color:#607d8b;margin:0;padding:13px;font-size:13px;line-height:1.7}@media (max-width:600px){.catalog-item-input>input{font-size:16px}.catalog-suggestions .catalog-suggestion{min-height:56px}}.expense-attachments{border-top:1px solid #dce7ed;margin-top:16px;padding-top:14px}.expense-attachments ul{padding:0;list-style:none}.expense-attachments li{border-bottom:1px solid #e9eff3;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 0;display:flex}.expense-attachments li>span{overflow-wrap:anywhere;flex:1;min-width:100px}.expense-attachments a{color:#086f82;padding:6px}.expense-attachments input[type=file]{width:100%;min-width:0}.expense-attachment-pending{overflow-wrap:anywhere;background:#fff5db;margin-top:10px;padding:10px}.expense-attachment-pending p{color:#9c352e}.expense-drive-status{background:#f5fafb;border:1px solid #dae6eb;border-radius:8px;margin:16px 0;padding:14px}.expense-attachment-success{color:#17734c}.paper.delivery-template table.delivery-items{table-layout:fixed;width:100%}.paper.delivery-template table.delivery-items th,.paper.delivery-template table.delivery-items td{white-space:normal;overflow-wrap:anywhere;vertical-align:middle;width:auto;min-width:0}.paper.delivery-template table.delivery-items td.desc{font-size:1.05em}.delivery-approval-page{color:#15364b;width:min(100% - 24px,680px);margin:28px auto 52px}.delivery-approval-page>.card{padding:clamp(14px,4vw,25px)}.delivery-approval-page .card label{margin:13px 0}.delivery-approval-page h1{margin:12px 0;font-size:clamp(23px,5vw,32px)}.delivery-approval-page p,.delivery-approval-panel p{overflow-wrap:anywhere}.delivery-approval-page .delivery-bilingual{vertical-align:middle;text-align:right;flex-direction:column;gap:3px;max-width:100%;display:inline-flex}.delivery-approval-page .delivery-bilingual>[lang=en]{text-align:inherit;font-size:.85em;line-height:1.35}.delivery-approval-page button .delivery-bilingual{text-align:center}.delivery-approval-page button{white-space:normal;max-width:100%}.delivery-pdf-link,.delivery-approval-record a{color:#08677d;text-underline-offset:3px;text-decoration:underline}.delivery-signature{border:1px solid #c7d6e0;border-radius:8px;min-width:0;margin:15px 0;padding:12px}.delivery-signature canvas{aspect-ratio:12/5;touch-action:none;cursor:crosshair;background:#fff;border:1px dashed #64879a;border-radius:6px;width:100%;height:auto;margin:8px 0;display:block}.delivery-check{align-items:flex-start;gap:8px;line-height:1.6;display:flex}.delivery-check input[type=checkbox]{flex:none;width:auto;margin:5px 0 0}.delivery-approval-record{border-top:1px solid #d8e1e7;margin-top:12px;padding-top:12px}.delivery-preview-frame{background:#f5f8fa;border:1px solid #d4e1e7;border-radius:10px;width:100%;height:clamp(280px,58vh,650px);margin:12px 0;display:block}
