@font-face{font-family:Cairo;src:url('/static/fonts/Cairo.ttf') format('truetype');font-weight:200 1000;font-style:normal;font-display:swap}
html body.sahl-review,html body.sahl-login,.sahl-review button,.sahl-review input,.sahl-review select,.sahl-review textarea,.sahl-login button,.sahl-login input,.sahl-review table{font-family:Cairo,Arial,sans-serif!important;font-variant-numeric:tabular-nums}
.sahl-review .sidebar{background:#fff;border-bottom:1px solid #dbe6e3;padding:5px 18px!important;height:57px!important}
.sahl-review .sidebar #modules{display:flex;gap:5px;align-items:center;height:100%}
.sahl-review .sidebar #modules button{display:flex;align-items:center;gap:8px;min-height:39px;border:0!important;border-radius:7px!important;padding:8px 19px!important;background:transparent;color:#516761;font-size:13px!important;line-height:1.5;transition:background .12s}
.sahl-review .sidebar #modules button .icon-svg{width:19px;height:19px;stroke-width:1.7}
.sahl-review .sidebar #modules button:hover{background:#f0f7f3;color:#16634d}.sahl-review .sidebar #modules button.active{background:#e1f3e9;color:#146649;font-weight:750}
.sahl-review .module-group{padding:16px}.sahl-review .module-group>h2{font-size:15px;padding-bottom:12px;border-bottom:1px solid #e4eeea;color:#24604e}.sahl-review .module-link{border:1px solid #e0ebe5;background:#fff;min-height:52px;gap:12px}.sahl-review .module-link:hover{background:#edf8f2;border-color:#abcfb8}.sahl-review .module-link .glyph{background:#eaf5ee;border-radius:6px;padding:7px;color:#247359}
.sahl-review .sales-workspace{display:block;max-width:1600px;margin-inline:auto!important}
.sahl-review .sales-workspace .page-head{position:static;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;margin-bottom:16px;border-radius:10px;border-color:#dce7e2;box-shadow:0 3px 12px #1e4d3504}
.sahl-review .sales-workspace .page-head h1{font-size:22px;margin:0 0 3px}.sahl-review .sales-workspace .page-head p{font-size:11px;margin:0;color:#7b8f85}
.sahl-review .sales-workspace .page-head .actions{display:flex;flex-direction:row;gap:7px;width:auto;flex-wrap:wrap;max-width:70%;justify-content:flex-end}
.sahl-review .sales-workspace .page-head button{width:auto;min-height:38px;font-size:11px;padding:7px 12px;background:#f5f9f6;border-radius:6px}
.sahl-review .sales-workspace .invoice-meta{padding:17px 20px;margin-bottom:16px;border-radius:10px;border-top:3px solid #22895b;background:linear-gradient(110deg,#fff 65%,#f1f8f4)}
.sahl-review .invoice-meta h2{font-size:19px}.sahl-review .invoice-meta-heading small{font-size:10px;letter-spacing:1.5px;color:#4d8b6d}.sahl-review .invoice-basic{display:grid;grid-template-columns:minmax(250px,1.8fr) minmax(140px,1fr) minmax(140px,1fr) minmax(170px,1fr);gap:18px;align-items:start}
.sahl-review .invoice-basic input,.sahl-review .invoice-basic select{height:36px;min-height:36px;padding:5px 10px;border:1px solid #ceded4;border-radius:5px;background:#fff;font-size:12px}
.sahl-review .invoice-basic label{display:grid;gap:5px;font-size:11px;color:#5c7668;margin:0}.invoice-customer{position:relative}.sahl-review .quick-customer-trigger{position:absolute;top:-5px;left:0;border:0;background:#e5f4eb;color:#1b704c;font-size:10px;padding:4px 9px;min-height:25px;border-radius:5px}.sahl-review .invoice-advanced{margin-top:15px}
.sahl-review .invoice-sheet{border-radius:10px;margin-bottom:16px;overflow:visible!important}.sahl-review .invoice-sheet-toolbar{border-radius:10px 10px 0 0;background:#f3f8f5;padding:13px 16px;gap:10px;display:flex;align-items:center}
.invoice-sheet-toolbar>.invoice-picker{flex:1;max-width:720px}.sahl-review .invoice-sheet-toolbar input{width:100%;height:44px;border-color:#b5d5c1;border-radius:6px;font-size:13px;padding:8px 14px}.sahl-review .invoice-sheet-toolbar button{background:#fff;border-color:#d6e5db;color:#2b7050;padding:8px 14px;font-size:11px;min-height:40px;border-radius:6px}
.sheet-hint{display:flex;gap:16px;flex-wrap:wrap;align-items:center;background:#fff;padding:9px 16px!important;margin:0;font-size:10px!important;color:#80968a!important;border-bottom:1px solid #e1ebe4}.sheet-hint>span{white-space:nowrap}.sheet-hint>span:first-child{color:#2c7d54;font-weight:700}
.sahl-review .sheet-scroll{min-height:325px;max-height:58vh;overflow:auto}.sahl-review .sheet-scroll>.table-wrap{border:0;border-radius:0;overflow:visible}.sahl-review .excel-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1050px}
.sahl-review .excel-table thead{position:sticky;top:0;z-index:5}.sahl-review .excel-table th{background:#eaf2ed;color:#4f6e5b;font-size:11px;font-weight:700;height:40px;padding:8px;border:0;border-bottom:1px solid #c9ddcf;border-left:1px solid #d6e5db;text-align:center}
.sahl-review .excel-table td{height:49px;padding:0;border-left:1px solid #e0ebe3;border-bottom:1px solid #e0ebe3;font-size:12px;vertical-align:middle;text-align:center;background:#fff}
.sahl-review .excel-table tr:nth-child(even) td{background:#fafcfb}.sahl-review .excel-table tr:focus-within td{background:#f1faf4}.sahl-review .excel-table td:focus-within{position:relative;box-shadow:inset 0 0 0 2px #208750;z-index:6;background:#fff!important}
.sahl-review .excel-table input,.sahl-review .excel-table select{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;width:100%;height:48px;min-height:48px;padding:8px 10px!important;margin:0;font-size:12px;color:#264b37}
.sahl-review .excel-table input[type=number]{direction:ltr;text-align:center;font-weight:650;appearance:textfield}.excel-table input::-webkit-inner-spin-button,.excel-table input::-webkit-outer-spin-button{appearance:none;margin:0}
.sahl-review .excel-table th:nth-child(1){width:42px}.sahl-review .excel-table th:nth-child(2){width:90px}.sahl-review .excel-table th:nth-child(3){width:270px}.sahl-review .excel-table th:nth-child(4){width:70px}.sahl-review .excel-table th:nth-child(5){width:65px}.sahl-review .excel-table th:nth-child(6){width:75px}.sahl-review .excel-table th:nth-child(7){width:95px}.sahl-review .excel-table th:nth-child(8){width:80px}.sahl-review .excel-table th:nth-child(9){width:65px}.sahl-review .excel-table th:nth-child(10){width:95px}.sahl-review .excel-table th:nth-child(11){width:95px}
.sheet-row-number{color:#88a291;font-size:11px}.sheet-product{padding:0!important}.sheet-line-total{font-weight:750;color:#20784a}.sheet-extra summary{font-size:10px;padding:5px;color:#6a8a77}.excel-table td:last-child>div{display:flex;align-items:center;justify-content:center;gap:2px}.excel-table button.danger{font-size:10px!important;padding:4px 7px!important;border:0!important;background:transparent!important;color:#ad6570!important;min-height:25px}
.invoice-picker{position:relative;width:100%;min-width:0}.invoice-suggestions{position:fixed;z-index:1000;border:1px solid #a4cbb2;border-radius:9px;background:#fff;box-shadow:0 16px 40px #183f3b30;overflow:auto;overscroll-behavior:contain;padding:5px;max-width:calc(100vw - 24px)}.invoice-suggestions[hidden]{display:none!important}.suggestion-heading{display:flex;justify-content:space-between;gap:15px;padding:9px 11px;border-bottom:1px solid #e5eee8;margin-bottom:4px}.suggestion-heading strong{font-size:12px;color:#296947}.suggestion-heading small{font-size:9px;color:#8aa194}.sahl-review .invoice-suggestion{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:right;border:1px solid transparent;background:#fff;min-height:61px;padding:10px 11px!important;border-radius:5px!important}.invoice-suggestion>span{display:grid;gap:3px;min-width:0}.invoice-suggestion strong{font-size:12px;color:#264f3a;white-space:normal}.invoice-suggestion small{font-size:10px;color:#81978a}.invoice-suggestion b{font-size:12px;color:#2f7950;white-space:nowrap}.sahl-review .invoice-suggestion.selected,.sahl-review .invoice-suggestion:hover{background:#edf8f1;border-color:#c4e1cd}.suggestion-empty,.suggestion-error{font-size:11px;color:#8ba092;text-align:center;padding:18px}.suggestion-error{color:#a6515d}
.sahl-review .invoice-payment{border-radius:10px;padding:18px 20px;gap:30px;grid-template-columns:minmax(220px,1fr) 2fr;align-items:start}.sahl-review .invoice-totals{gap:8px}.sahl-review .invoice-totals>div{padding:12px 14px;background:#f5f8f6;border:1px solid #e5ede7;border-radius:6px;min-width:0}.sahl-review .invoice-totals strong{font-size:20px;letter-spacing:.2px}.sahl-review .invoice-totals .grand{background:#e3f4e9;border-color:#c6e6d0}
.sahl-review .quick-customer-dialog,.sahl-review .system-confirm{width:520px;max-width:calc(100vw - 32px);padding:25px;border-radius:14px;border:1px solid #d1e4d8}.quick-customer-dialog h2,.system-confirm h2{font-size:23px;color:#20553c;margin:3px 0}.quick-customer-dialog .dialog-heading small{font-size:10px;color:#88a08f}.quick-customer-dialog p,.system-confirm p{font-size:12px;color:#6e8777;line-height:1.9}.quick-customer-dialog .fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.quick-customer-dialog label{display:grid;gap:6px}.quick-customer-dialog input{width:100%;height:42px;background:#fafcfb;border:1px solid #d4e3d8;border-radius:6px}.quick-customer-dialog .form-actions,.system-confirm .form-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:22px}
html body.sahl-review #toast{position:fixed!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%);z-index:2000;width:420px;max-width:calc(100vw - 36px);padding:0!important;border-radius:14px!important;background:#fff!important;color:#25543b!important;border:1px solid #c6decd;box-shadow:0 24px 85px #103e3b40;text-align:right;overflow:hidden;animation:message-arrival .16s ease-out}.system-toast-content{display:flex;align-items:flex-start;gap:14px;padding:23px}.system-toast-mark{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#e4f5e9;color:#2a8754;font-size:22px}.system-toast-text{display:grid;gap:5px;flex:1;min-width:0}.system-toast-text strong{font-size:14px}.system-toast-text p{margin:0;font-size:12px;line-height:1.9;overflow-wrap:anywhere}.sahl-review #toast button{border:0;background:#f5f8f6;color:#859b8d;min-height:24px;padding:0 6px;font-size:16px}.system-toast-progress{height:3px;background:#27865b;animation:toast-life 6.5s linear forwards;transform-origin:right}.sahl-review #toast[data-kind=error]{border-color:#e6c7cc;color:#893748!important}.sahl-review #toast[data-kind=error] .system-toast-mark{background:#fff0f1;color:#bb526a}.sahl-review #toast[data-kind=error] .system-toast-progress{background:#bb526a}
@keyframes message-arrival{from{opacity:0;margin-top:6px}to{opacity:1;margin-top:0}}@keyframes toast-life{to{transform:scaleX(0)}}
@media(max-width:1150px){.sahl-review .invoice-basic{grid-template-columns:1.5fr 1fr}.sahl-review .sales-workspace .page-head{align-items:flex-start}.sahl-review .sales-workspace .page-head .actions{max-width:65%}.sahl-review .invoice-payment{grid-template-columns:1fr}.sahl-review .sidebar #modules button{padding:8px 12px!important}}
@media(max-width:700px){.sahl-review .sales-workspace .page-head{display:block}.sahl-review .sales-workspace .page-head .actions{max-width:100%;justify-content:flex-start;margin-top:12px}.sahl-review .invoice-basic{grid-template-columns:1fr}.sahl-review .invoice-totals{grid-template-columns:repeat(2,1fr)}.sahl-review .invoice-sheet-toolbar{flex-wrap:wrap}.invoice-sheet-toolbar>.invoice-picker{flex-basis:100%}.quick-customer-dialog .fields{grid-template-columns:1fr}.sahl-review .sidebar{padding-inline:6px!important}.sahl-review .sidebar #modules button{padding:7px 9px!important;font-size:11px!important}.sahl-review .sidebar #modules .icon-svg{display:none}}
@media(prefers-reduced-motion:reduce){.sahl-review #toast,.system-toast-progress{animation:none!important}}
@media print{#toast,.invoice-suggestions,.sheet-hint,.quick-customer-trigger{display:none!important}.sahl-review .sheet-scroll{max-height:none;overflow:visible}.sahl-review .excel-table{min-width:0}.sahl-review .sales-workspace .page-head{display:none}}
