*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f5f7fb;color:#13213a}button,input,select,textarea{font:inherit}.app{display:grid;grid-template-columns:250px 1fr;min-height:100vh}aside{background:#0d2345;color:#fff;padding:20px 14px}.brand{display:flex;gap:12px;align-items:center;padding:4px 8px 22px}.brand img{width:54px;height:54px;border-radius:50%}.brand small,.identity span{display:block;opacity:.75;margin-top:3px}.identity{padding:12px;border:1px solid #ffffff22;border-radius:12px;margin-bottom:14px}nav{display:grid;gap:5px}nav button{border:0;background:transparent;color:#dfe9fb;text-align:left;padding:10px 12px;border-radius:9px;cursor:pointer}nav button:hover,nav button.active{background:#ffffff18;color:#fff}main{padding:24px 30px}.top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.top h1{margin:0 0 4px}.top span{color:#667085;font-size:14px}.top button,section button,.login button{border:0;border-radius:9px;padding:10px 14px;margin-left:8px;background:#173b72;color:#fff;cursor:pointer}section{background:#fff;border:1px solid #e4e8ef;border-radius:16px;padding:22px;margin-bottom:18px;box-shadow:0 4px 20px #172b4d0b}.sectionHead{display:flex;justify-content:space-between;align-items:center}h2{margin-top:0}.json{white-space:pre-wrap;overflow:auto;background:#f7f9fc;border-radius:10px;padding:14px;max-height:55vh}.formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-bottom:14px}label{display:grid;gap:6px;font-weight:600}input,select,textarea{padding:10px;border:1px solid #cfd6e2;border-radius:8px}.login{max-width:430px;margin:8vh auto;background:#fff;padding:34px;border-radius:18px;border:1px solid #e1e6ef;box-shadow:0 10px 40px #172b4d18}.login img{width:90px}.login form{display:grid;gap:16px}.login button{margin:0}.error{background:#fff0f0;color:#a51d1d;padding:10px;border-radius:8px}.notice{background:#fff8df;padding:12px;border-radius:9px}.countrow{display:grid;grid-template-columns:1fr 160px;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #eee}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:18px}.stat{background:#fff;border:1px solid #e4e8ef;border-radius:16px;padding:16px 18px}.stat span{color:#667085;font-size:13px}.stat b{display:block;font-size:22px;margin-top:6px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.tabs button{background:#e8eef8;color:#173b72;margin:0}.tabs button.active{background:#173b72;color:#fff}.tablewrap{overflow:auto}table.data{width:100%;border-collapse:collapse;font-size:14px}table.data th,table.data td{text-align:left;padding:10px 8px;border-bottom:1px solid #e8edf4;vertical-align:top}table.data th{font-size:12px;color:#667085;letter-spacing:.03em;text-transform:uppercase}.badge{display:inline-block;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:700;background:#eef2f7;color:#3d4d66}.badge.ok{background:#e7f7ee;color:#0e7a3d}.badge.warn{background:#fff6df;color:#8a5b00}.badge.bad{background:#fff0f0;color:#a51d1d}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.row-actions button,.ghost{margin-left:0;background:#e8eef8;color:#173b72}.danger{background:#a51d1d!important;color:#fff!important}.okbtn{background:#0e7a3d!important}.lines{display:grid;gap:8px;margin:8px 0 14px}.line{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:8px;align-items:end}.muted{color:#667085;font-size:13px;margin:0 0 10px}.banner{background:#e7f7ee;color:#0e7a3d;padding:10px 12px;border-radius:8px;margin:8px 0}.checks{display:grid;gap:6px;max-height:180px;overflow:auto;padding:8px;border:1px solid #cfd6e2;border-radius:8px;font-weight:500}textarea{min-height:88px;resize:vertical}.cms-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid #eee}.cms-preview{margin-top:16px;padding:16px;border:1px dashed #cfd6e2;border-radius:12px}.cms-preview img{max-width:280px;max-height:180px;object-fit:cover;display:block;margin:8px 0}.empty{color:#667085;padding:12px 0}@media(max-width:800px){.app{grid-template-columns:1fr}aside{position:relative}.top{align-items:flex-start;flex-direction:column}main{padding:16px}.line{grid-template-columns:1fr}}@media print{aside,.top,.no-print,.tabs,.row-actions{display:none!important}.app{display:block}main{padding:0}section{box-shadow:none;border:0}}button:disabled{opacity:.6;cursor:wait}body{background:radial-gradient(ellipse at 85% 10%,#dbeefd 0,transparent 45%),linear-gradient(135deg,#edf6ff,#f8fbff 55%,#e9f2fc);background-attachment:fixed}section{border-color:#d8e8f6;background:linear-gradient(150deg,#fff,#f8fbff);box-shadow:0 5px 22px #2b6aa00b}.stat{background:linear-gradient(140deg,#fff,#edf6ff);border-color:#cfe3f5}.business-result{padding:14px 18px;border-radius:12px;font-size:21px;font-weight:700}.business-result.profit{background:#e7f7ee;color:#0e7a3d}.business-result.loss{background:#fff0f0;color:#a51d1d}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;color:#527493;font-weight:700}.business-overview h2{margin:4px 0 14px}.adjustment-panel h3{margin:0}.adjustment-panel fieldset{border:0;padding:0;margin:0}.adjustment-panel textarea{margin-bottom:12px}.adjustment-panel .sectionHead{margin-bottom:14px}.company-header{display:grid;grid-template-columns:80px 1fr 80px;gap:18px;align-items:center;padding:20px 24px;background:linear-gradient(120deg,#e1f0fd,#f7fbff 50%,#d5e9fb);color:#173b72;border:1px solid #bfd9ee;border-radius:12px;flex:1;print-color-adjust:exact;-webkit-print-color-adjust:exact}.company-header img{width:74px;height:74px;object-fit:contain;background:#fff;border-radius:50%;padding:3px}.company-header:after{content:""}.company-heading{text-align:center}.company-header strong{font-size:28px;letter-spacing:.02em;display:block}.company-header .company-contacts{justify-content:center;margin-top:10px}.company-header h1{font-size:18px;margin:5px 0 8px}.company-header p{margin:4px 0}.company-contacts{display:flex;gap:8px 20px;flex-wrap:wrap}.company-header span{color:#365b7d;font-size:13px}.reference{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.item-list{list-style:none;padding:0;margin:0;min-width:170px}.item-list li{display:grid;gap:4px;padding:6px 0;border-bottom:1px solid #e8edf4}.item-list span{color:#667085;font-size:12px}.row-actions input{width:130px;min-width:0}main{min-width:0}table.data th{background:#f3f6fb;white-space:nowrap}table.data td{line-height:1.5}table.data tr:hover{background:#fafcff}.receipt-drawer{position:fixed;top:24px;right:24px;width:min(820px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;z-index:20;border:1px solid #cfd6e2;border-radius:16px;background:#f5f7fb;box-shadow:0 20px 80px #0d234566;padding:12px}.receipt-toolbar{display:flex;justify-content:space-between;align-items:center;padding:4px 4px 12px}.receipt-toolbar button{background:#173b72;color:#fff;border:0;border-radius:8px;padding:10px}.sales-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px 0}.sales-totals{margin:18px 0 18px auto;max-width:350px;background:#f3f6fb;padding:14px;border-radius:10px}.sales-totals p{display:flex;justify-content:space-between;gap:20px}.signatures{display:grid;grid-template-columns:1fr 1fr;gap:30px;border-top:2px solid #173b72;padding-top:22px;margin-top:26px}.signatures>div{min-height:100px}.account-statement .cards{margin-top:20px}.user-editor{border:2px solid #173b72;background:#f5f8ff}.user-create,.report-document{box-shadow:none}.report-totals{display:flex;gap:16px;flex-wrap:wrap;margin-top:16px;border-top:2px solid #173b72}.report-totals .muted{width:100%}@media(max-width:800px){.company-header{padding:16px;grid-template-columns:54px 1fr;gap:12px;align-items:center}.company-header:after{display:none}.company-header strong{font-size:21px}.company-header img{width:54px;height:54px}.company-header h1{font-size:17px}.top,.top .company-header{width:100%}.sales-meta,.signatures{grid-template-columns:1fr}.receipt-drawer{top:12px;right:12px;max-height:calc(100vh - 24px)}}@media print{@page{size:A4;margin:12mm}body:has(.sales-form-print) .receipt-drawer{position:static;overflow:visible;max-height:none;width:100%;padding:0;border:0;box-shadow:none}.sales-form-print{border-radius:0}.company-header h1{font-size:18px}.company-header{break-inside:avoid}table.data{font-size:11px}.tablewrap{overflow:visible}thead{display:table-header-group}tr,.signatures{break-inside:avoid}.sales-form-print .row-actions{display:none!important}}@media print{body:has(.sales-form-print) *{visibility:hidden}.sales-form-print,.sales-form-print *{visibility:visible!important}.sales-form-print{position:static!important;width:100%;margin:0}.sales-form-print .no-print{display:none!important}body:has(.sales-form-print) main>*:not(.sales-form-print):not(:has(.sales-form-print)){display:none!important}section:has(.sales-form-print)>*:not(.sales-form-print):not(:has(.sales-form-print)){display:none!important}.receipt-toolbar{display:none!important}}body{background:radial-gradient(ellipse at 95% 0%,#cce5fa 0,transparent 48%),radial-gradient(ellipse at 5% 65%,#deedfb 0,transparent 52%),linear-gradient(135deg,#eef7ff,#fafdff 48%,#e5f1fc);background-attachment:fixed}main{background:linear-gradient(180deg,#ffffff24,#f1f8ff14)}.company-banner{flex:1;min-width:0;width:100%}.company-header{position:relative;isolation:isolate;overflow:hidden;min-height:160px;grid-template-columns:100px minmax(0,1fr) 100px;gap:20px;padding:26px 28px;border-radius:20px;border:1px solid #bdd8ee;background:linear-gradient(115deg,#d7eafa,#fafdff 48%,#dceefa);box-shadow:0 12px 30px #205c9412,inset 0 1px #fff}.company-header:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background-image:linear-gradient(90deg,#e6f2fc14,#fafdfff5 30%,#fafdfff5 70%,#e6f2fc14),url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='520'%20height='220'%20viewBox='0%200%20520%20220'%20fill='none'%3e%3cg%20stroke='%235489ae'%20stroke-width='2'%20stroke-linejoin='round'%3e%3cpath%20d='M20%20176h480M20%20106h480M35%2028v165M485%2028v165'/%3e%3cg%20fill='%23aacde5'%3e%3cpath%20d='M54%20132h34v44H54zM95%20121h38v55H95zM145%20136h46v40h-46zM328%20128h34v48h-34zM372%20137h44v39h-44zM428%20123h38v53h-38z'/%3e%3c/g%3e%3cg%20fill='%23c5dfef'%3e%3cpath%20d='M55%2061h32v45H55zM98%2072h46v34H98zM341%2061h43v45h-43zM398%2070h28v36h-28zM440%2056h28v50h-28z'/%3e%3c/g%3e%3cg%20fill='%2396bfd8'%3e%3cpath%20d='M164%20106V68l8-10V45h14v13l8%2010v38zM212%20176v-45l8-12v-15h16v15l8%2012v45zM269%20176v-38l7-10v-13h14v13l7%2010v38zM280%20106V72l6-9V49h13v14l6%209v34z'/%3e%3c/g%3e%3cpath%20d='M63%20146h16M104%20137h20M156%20149h24M336%20141h17M438%20136h18M170%2082h18M219%20151h18M277%20151h12'%20opacity='.7'/%3e%3c/g%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='520'%20height='220'%20viewBox='0%200%20520%20220'%20fill='none'%3e%3cg%20stroke='%235489ae'%20stroke-width='2'%20stroke-linejoin='round'%3e%3cpath%20d='M20%20176h480M20%20106h480M35%2028v165M485%2028v165'/%3e%3cg%20fill='%23aacde5'%3e%3cpath%20d='M54%20132h34v44H54zM95%20121h38v55H95zM145%20136h46v40h-46zM328%20128h34v48h-34zM372%20137h44v39h-44zM428%20123h38v53h-38z'/%3e%3c/g%3e%3cg%20fill='%23c5dfef'%3e%3cpath%20d='M55%2061h32v45H55zM98%2072h46v34H98zM341%2061h43v45h-43zM398%2070h28v36h-28zM440%2056h28v50h-28z'/%3e%3c/g%3e%3cg%20fill='%2396bfd8'%3e%3cpath%20d='M164%20106V68l8-10V45h14v13l8%2010v38zM212%20176v-45l8-12v-15h16v15l8%2012v45zM269%20176v-38l7-10v-13h14v13l7%2010v38zM280%20106V72l6-9V49h13v14l6%209v34z'/%3e%3c/g%3e%3cpath%20d='M63%20146h16M104%20137h20M156%20149h24M336%20141h17M438%20136h18M170%2082h18M219%20151h18M277%20151h12'%20opacity='.7'/%3e%3c/g%3e%3c/svg%3e");background-repeat:no-repeat;background-position:center,left center,right center;background-size:100% 100%,360px auto,360px auto;opacity:.55;pointer-events:none}.company-header:after{content:"";display:block}.company-header img{width:92px;height:92px;padding:6px;border:1px solid #d4e5f2;box-shadow:0 5px 18px #194e7a18;position:relative}.company-header strong{font-size:clamp(24px,2.8vw,38px);line-height:1.18;letter-spacing:.015em;color:#143d68;text-shadow:0 1px 0 #fff}.company-header .company-contacts{display:flex;justify-content:center;gap:6px 18px;margin-top:13px;line-height:1.5}.company-header .company-contacts span{font-size:13px;font-weight:500;color:#355775}.company-header .company-contacts span:first-child{flex-basis:100%;font-size:15px;font-weight:600}.page-title{padding:20px 4px 0;color:#143858}.page-title h1{margin:0;font-size:25px;line-height:1.3;letter-spacing:-.02em}.page-title p{margin:7px 0 0;color:#60778d;font-size:14px}.top{align-items:flex-end;gap:18px}section{border-color:#d4e4f1;box-shadow:0 8px 25px #205c940d}aside{background:linear-gradient(175deg,#102b50,#0d2345 65%,#123254)}@media(max-width:1100px){.company-header{grid-template-columns:76px minmax(0,1fr) 76px;padding:22px 20px;gap:12px}.company-header img{width:72px;height:72px}.company-header strong{font-size:28px}}@media(max-width:800px){.top{align-items:stretch}.company-header{grid-template-columns:60px minmax(0,1fr) 60px;padding:20px 14px;min-height:145px;border-radius:16px;gap:8px}.company-header:after{display:block}.company-header img{width:58px;height:58px}.company-header strong{font-size:24px}.company-header .company-contacts{gap:4px 10px}.page-title{padding-top:16px}.page-title h1{font-size:23px}}@media(max-width:480px){.company-header{grid-template-columns:42px minmax(0,1fr) 42px;padding:18px 10px;gap:6px}.company-header img{width:42px;height:42px;padding:3px}.company-header strong{font-size:20px}.company-header .company-contacts{display:grid;gap:4px;margin-top:10px}.company-header .company-contacts span,.company-header .company-contacts span:first-child{font-size:12px}.company-header:before{background-size:100% 100%,220px auto,220px auto}.page-title h1{font-size:21px}}@media print{body,main{background:#fff}.company-header{box-shadow:none;min-height:0;padding:16px;grid-template-columns:65px minmax(0,1fr) 65px;border-radius:8px}.company-header img{width:60px;height:60px}.company-header strong{font-size:24px}.page-title{padding:14px 0}.page-title h1{font-size:18px}.company-banner{break-inside:avoid}}.top{flex-wrap:wrap}.top>.company-banner{flex-basis:100%}.top>button{margin-left:0}.adjustment-panel h2{margin:0;font-size:21px;color:#143d68}.adjustment-panel .sectionHead{gap:12px;flex-wrap:wrap}.adjustment-guidance{padding:12px 14px;border:1px solid #cfe3f5;border-radius:10px;background:#edf6ff;color:#355775;font-size:14px;line-height:1.6;margin:12px 0 18px}.stock-adjustment-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.adjustment-panel fieldset{min-width:0}.adjustment-panel textarea{width:100%}.adjustment-panel form>fieldset>button{margin-left:0}@media(max-width:1100px){.stock-adjustment-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.stock-adjustment-fields{grid-template-columns:1fr}}.product-create-fields{border:0;padding:0;margin:0;min-width:0}.product-create-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-create-grid input{min-width:0;width:100%}.product-create-fields>button{margin-left:0}@media(max-width:1100px){.product-create-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.product-create-grid{grid-template-columns:1fr}}.sale-entry-fields{border:0;padding:0;margin:0;min-width:0}.sale-customer{max-width:560px;margin:12px 0 18px}.sale-search{position:relative;min-width:0}.sale-search input{width:100%;min-width:0}.sale-search-results{position:absolute;top:100%;left:0;right:0;z-index:8;max-height:240px;overflow:auto;border:1px solid #bdd8ee;border-radius:10px;background:#fff;box-shadow:0 8px 22px #17416b20;margin-top:4px;padding:5px}.sale-search-results button{display:block;width:100%;background:#fff;color:#173b72;text-align:left;margin:0;padding:10px;white-space:normal}.sale-search-results button:hover,.sale-search-results button[aria-selected=true]{background:#edf6ff}.sale-search-results p{padding:10px;margin:0}.sale-line{grid-template-columns:minmax(160px,2fr) minmax(80px,.7fr) minmax(110px,1fr) auto;padding:12px;border:1px solid #d8e8f6;border-radius:12px;background:#f7fbff;align-items:start}.sale-line input{width:100%;min-width:0}.sale-line small{font-weight:400;font-size:11px;color:#60778d}.sale-line>.ghost{margin-top:24px}.sale-lines>.ghost{justify-self:start;margin-left:0}.sale-payment{display:grid;grid-template-columns:1fr minmax(140px,220px) auto;gap:16px;align-items:end;padding:16px;border:1px solid #cfe3f5;border-radius:12px;background:linear-gradient(120deg,#edf6ff,#fff);margin-top:16px}.sale-total span{display:block;color:#60778d;font-size:13px}.sale-total strong{display:block;font-size:25px;color:#143d68;margin-top:5px}.sale-payment button{margin-left:0;white-space:nowrap}@media(max-width:800px){.sale-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sale-line>.sale-search{grid-column:1/-1}.sale-line>.ghost{margin-top:0;grid-column:1/-1;justify-self:start}.sale-payment{grid-template-columns:1fr 1fr}.sale-payment>button{grid-column:1/-1}.sale-customer{max-width:none}}@media(max-width:480px){.sale-payment{grid-template-columns:1fr}}.password-required{max-width:1100px;margin:2rem auto;padding:1rem}.account-security{margin-top:1rem}.count-context{display:flex;flex-wrap:wrap;gap:1rem;padding:1rem;background:#edf6ff;border-radius:12px;margin-bottom:1rem}.physical-table .countrow{display:table-row}.physical-table input{width:100%;min-width:140px}.physical-table th:first-child{min-width:160px}.account-security button{align-self:end}.opening-stock-fields{border:0;padding:0;margin:0;min-width:0}.opening-stock-fields input{min-width:110px;max-width:170px}.opening-stock-fields select{max-width:440px}.search-filters{display:flex;flex-wrap:wrap;gap:.65rem;align-items:end;margin:.8rem 0}.search-filters label{flex:1 1 140px;min-width:0}.search-filters input,.search-filters select{width:100%}.product-picker{min-width:0;display:grid;gap:.3rem}@media(max-width:600px){.search-filters label{flex-basis:45%}.search-filters label:first-child{flex-basis:100%}}@page rwanimu-sales-a5{size:A5 portrait;margin:8mm}@page rwanimu-sales-a4{size:A4 portrait;margin:12mm}@media print{.internal-sales-form.sales-paper-a5{page:rwanimu-sales-a5}.internal-sales-form.sales-paper-a4{page:rwanimu-sales-a4}.internal-sales-form{padding:0;margin:0;font-size:10pt;line-height:1.35}.internal-sales-form .company-header{grid-template-columns:12mm minmax(0,1fr) 12mm;gap:2mm;padding:3mm}.internal-sales-form .company-header img{width:12mm;height:12mm;padding:0}.internal-sales-form .company-header strong{font-size:15pt;text-shadow:none}.internal-sales-form .company-header h1{font-size:11pt;margin:2mm 0}.internal-sales-form .company-header p{font-size:9pt;overflow-wrap:anywhere}.internal-sales-form .company-header span{font-size:9pt}.internal-sales-form .company-contacts{gap:1mm 3mm;margin-top:2mm}.internal-sales-form .sales-meta{gap:2mm 3mm;padding:3mm 0}.internal-sales-form .sales-meta span{min-width:0;overflow-wrap:anywhere}.internal-sales-form table.data{table-layout:fixed;width:100%;font-size:9pt}.internal-sales-form table.data th,.internal-sales-form table.data td{padding:2mm 1mm;white-space:normal;overflow-wrap:anywhere;line-height:1.3}.internal-sales-form table.data th{font-size:8.5pt;letter-spacing:0}.internal-sales-form table.data th:nth-child(1){width:5%}.internal-sales-form table.data th:nth-child(2){width:38%}.internal-sales-form table.data th:nth-child(3){width:12%}.internal-sales-form table.data th:nth-child(4){width:22%}.internal-sales-form table.data th:nth-child(5){width:23%}.internal-sales-form .sales-totals{max-width:80mm;margin:3mm 0 3mm auto;padding:2mm 3mm;break-inside:avoid}.internal-sales-form .sales-totals p{gap:3mm;margin:1.5mm 0}.internal-sales-form .signatures{gap:4mm;padding-top:3mm;margin-top:4mm}.internal-sales-form .signatures>div{min-width:0;min-height:16mm;overflow-wrap:anywhere}.internal-sales-form .signatures p{margin:2mm 0}}.internal-sales-form .sales-meta{grid-template-columns:1fr 1fr;gap:4px 12px;padding:8px 0;border-bottom:1px solid #cfd6e2;margin-bottom:8px}.internal-sales-form .sales-totals{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;max-width:none;margin:8px 0;padding:8px}.internal-sales-form .sales-totals p{margin:0;display:block}.internal-sales-form .sales-payment-history{padding:0;margin:8px 0;border:0;box-shadow:none;background:transparent}.internal-sales-form .sales-payment-history h3{margin:8px 0 4px}.internal-sales-form .history-caption{margin:0 0 4px;font-size:12px}@media print{.internal-sales-form .company-header{padding:2mm;min-height:0}.internal-sales-form .page-title{display:flex;align-items:baseline;justify-content:space-between;gap:2mm;padding:2mm 0 1mm}.internal-sales-form .page-title h1{font-size:11pt;margin:0}.internal-sales-form .page-title p{font-size:9pt;margin:0;overflow-wrap:anywhere}.internal-sales-form .company-contacts{margin-top:1mm}.internal-sales-form .sales-meta{grid-template-columns:1fr 1fr;gap:.6mm 2mm;padding:1mm 0;margin:0 0 1mm;font-size:9pt;break-inside:avoid}.internal-sales-form table.data th,.internal-sales-form table.data td{padding:.4mm 1mm;line-height:1.25}.internal-sales-form .sales-totals{grid-template-columns:1fr 1fr;gap:.8mm 2mm;margin:1.5mm 0;padding:1mm 2mm;font-size:9pt}.internal-sales-form .sales-totals p{margin:0;display:block}.internal-sales-form .signatures{grid-template-columns:1fr 1fr;padding-top:1.5mm;margin-top:2mm;font-size:9pt}.internal-sales-form .signatures>div{min-height:10mm}.internal-sales-form .signatures p{margin:1mm 0}.internal-sales-form .sales-payment-history{padding:0;margin:1mm 0}.internal-sales-form .history-caption{break-after:avoid}.internal-sales-form .sales-payment-history h3{font-size:10pt;margin:1.5mm 0 1mm;break-after:avoid}.internal-sales-form .sales-payment-history p{font-size:8.5pt;margin:1mm 0}.internal-sales-form table.payment-history th:nth-child(1){width:20%}.internal-sales-form table.payment-history th:nth-child(2){width:14%}.internal-sales-form table.payment-history th:nth-child(3){width:16%}.internal-sales-form table.payment-history th:nth-child(4){width:18%}.internal-sales-form table.payment-history th:nth-child(5){width:20%}.internal-sales-form table.payment-history th:nth-child(6){width:12%}.internal-sales-form thead{display:table-header-group}.internal-sales-form tr{break-inside:avoid}}.user-create{padding:16px;margin:12px 0}.user-create h3{margin:0 0 12px}.user-create .user-create-primary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.user-create .user-create-secondary{grid-template-columns:repeat(2,minmax(0,1fr));max-width:600px;gap:12px;margin-top:12px}.user-create fieldset{min-width:0}.user-create .formgrid>label{min-width:0}.user-create .formgrid input,.user-create .formgrid select{min-width:0;width:100%}.user-create .temporary-password{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);align-items:end;gap:8px 16px;padding:12px;margin:12px 0;border:1px solid #cfd6e2;border-radius:10px;box-shadow:none;background:#f5f8ff}.user-create .temporary-password>.row-actions{align-self:end;gap:8px}.user-create .temporary-password>label:last-of-type,.user-create .temporary-password>p{grid-column:1/-1;margin:0}.user-create .temporary-password>label:last-of-type{display:flex;align-items:center;gap:8px}.user-create .temporary-password input[type=checkbox]{width:auto;flex:0 0 auto;margin:0}.product-stock-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:8px 0}.product-stock-context p{margin:0}@media(max-width:1100px){.user-create .user-create-primary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.user-create .user-create-primary,.user-create .user-create-secondary,.user-create .temporary-password{grid-template-columns:minmax(0,1fr)}.user-create .temporary-password{align-items:stretch}.user-create .temporary-password>.row-actions{align-self:stretch}.user-create{padding:12px}}.product-stock-context{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:16px 0;padding:16px;background:var(--soft,#f4f7f6);border:1px solid var(--line,#dce4df);border-radius:10px}.product-stock-context h3{margin:0 0 10px}.product-stock-context>div{min-width:0;max-width:100%}.product-stock-context label{display:flex;flex-direction:column;gap:6px}.product-stock-context select{width:100%;max-width:440px;min-width:0}@media(max-width:600px){.product-stock-context{align-items:stretch}.product-stock-context>div{width:100%}}@media(max-width:600px){.product-catalogue-table .data th:first-child,.product-catalogue-table .data td:first-child{position:sticky;left:0;z-index:1;background:#fff;min-width:120px;max-width:150px}.product-catalogue-table .data th:first-child{background:#f4f7fb}}.transaction-history .data{min-width:1050px}.transaction-history .data th,.transaction-history .data td{white-space:normal}.transaction-details{padding:24px;width:min(1180px,calc(100vw - 32px))}.transaction-details .data{min-width:820px}.transaction-payment{font-size:.8rem;line-height:1.5}.transaction-details .receipt-toolbar h2{margin:0}@media(max-width:600px){.transaction-details{padding:12px}.transaction-details .receipt-toolbar{flex-wrap:wrap}}.transaction-history .data td:nth-child(2){white-space:nowrap}.tabs button[aria-selected=true]{background:#173b72;color:#fff}.product-catalogue-table .data td,.product-catalogue-table .data th{padding:8px 10px;vertical-align:middle}.product-catalogue-table .data td:first-child{width:3rem;white-space:nowrap}.product-catalogue-table .data td:nth-child(3),.product-catalogue-table .data td:nth-child(4),.product-catalogue-table .data td:nth-child(5){white-space:nowrap}.catalogue-quantity-editor input{width:8rem;max-width:100%;margin:0}.catalogue-quantity-editor .notice,.catalogue-quantity-editor [role=alert]{margin:4px 0;font-size:.85rem}.branch-navigation{padding-left:16px;border-left:2px solid #dde5dd;margin-left:12px}.product-menu-card{min-height:100px;font-size:1.2rem}.sales-overview-total{margin-top:20px;padding:20px;background:#173f2e;color:#fff;border-radius:12px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.sales-overview-total strong{font-size:2rem}.sales-overview table{min-width:650px}@media(max-width:600px){.products-landing .cards{grid-template-columns:1fr}.sales-overview-total{position:sticky;bottom:8px}.sales-overview-total strong{width:100%;font-size:1.8rem}}.branch-sales{margin-top:24px}.branch-sales table{min-width:860px}.branch-sales input[type=number]{width:100px}.branch-edit-log{margin-top:20px}.branch-edit-log .reference{overflow-wrap:anywhere}.branch-menu-cards{margin-bottom:24px}.branch-sales{min-width:0;max-width:100%}.branch-sales .tablewrap{max-width:100%}.branch-sales label{min-width:0}.branch-sales select,.branch-sales input[type=date],.branch-sales input[type=search]{min-width:0;width:100%;max-width:100%}@media(max-width:600px){.branch-sales{padding:14px}.branch-sales .formgrid{grid-template-columns:minmax(0,1fr)}.branch-sales h2{overflow-wrap:anywhere}}.location-stock-totals{margin-top:18px;padding:16px}.draft-stock-totals{border:2px dashed #b98b2a;background:#fffaf0}.persisted-stock-totals{border-color:#90b5a4}.location-stock-totals .cards{grid-template-columns:repeat(4,minmax(0,1fr))}.location-stock-totals b{overflow-wrap:anywhere}.opening-stock-fields{min-width:0}.opening-stock-fields .row-actions{gap:6px;flex-wrap:wrap}.opening-stock-fields .catalogue-quantity-editor input{min-width:0;width:120px}.opening-stock-fields .catalogue-quantity-editor label input{width:100%;max-width:240px}@media(max-width:800px){.location-stock-totals .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.location-stock-totals .cards{grid-template-columns:minmax(0,1fr)}.opening-stock-fields select{min-width:0;width:100%;max-width:100%}.opening-stock-fields .tablewrap{max-width:100%}}.draft-value-tag{display:block;color:#8a650e;font-size:11px;margin-top:4px}.opening-stock-fields table{min-width:1000px}.opening-stock-fields td:nth-child(4){min-width:130px}.stock-row-status{display:block;font-size:.75rem;color:var(--muted,#687280);margin-top:.3rem}.opening-stock-details{margin-top:1rem}.opening-stock-details summary{cursor:pointer;font-weight:600}.opening-stock-table input[type=number]{max-width:9rem}.branch-context{font-weight:600}.opening-stock-fields{border:0;padding:0;min-width:0}.admin-branch{background:none;border:0;box-shadow:none;padding:0}.admin-branch>.sectionHead{margin-bottom:16px}.opening-stock-fields .opening-stock-table{min-width:680px}.opening-stock-details .location-stock-totals{box-shadow:none}.opening-stock-fields label[hidden]{display:none}.performance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.performance-card{padding:20px;background:#fff;border:1px solid #dde5df;border-radius:14px;min-width:0}.performance-card.overall{grid-column:1/-1;border-top:5px solid #173f2e}.performance-card .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-card h3{font-size:1rem}.performance-card .stat{min-width:0;box-shadow:none}.performance-card b{overflow-wrap:anywhere;font-size:1.2rem}.ubugari fieldset{border:0;padding:0;min-width:0}.ubugari-menu{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.ubugari-menu button[aria-pressed=true]{background:#173f2e;color:#fff}.ubugari .tablewrap{max-width:100%}@media(max-width:800px){.performance-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:450px){.performance-card .cards,.ubugari .formgrid{grid-template-columns:minmax(0,1fr)}}@media print{.ubugari-menu,.performance-dashboard .no-print{display:none}.performance-grid{display:block}.performance-card{break-inside:avoid}}.ubugari-audit{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;padding:14px;background:#f5f7f6;border-radius:8px}.sale-profit-review{margin-top:24px;padding:18px;border:1px solid #dde5df;border-radius:12px;min-width:0;background:#fff}.sale-profit-review .tablewrap{max-width:100%}.sale-profit-review .loss{color:#962a20;font-weight:700}.sale-profit-review form{margin-top:18px}.sale-profit-review input{max-width:100%;min-width:0}.sale-profit-review td{vertical-align:top}@media(max-width:600px){.sale-profit-review{padding:12px}.sale-profit-review .formgrid{grid-template-columns:minmax(0,1fr)}}.opening-stock-fields input[aria-invalid=true]{border-color:#b42318}.opening-stock-fields .field-error{display:block;color:#b42318;max-width:220px}.opening-stock-fields input[inputmode=decimal]{min-width:100px;width:130px}.purchase-entry-fields{border:0;padding:0;min-width:0}.purchase-entry-fields .lines{min-width:0}.purchase-entry-fields input,.purchase-entry-fields select{max-width:100%}.product-selector-action{display:flex;align-items:flex-end;gap:8px;min-width:0}.product-selector-action>label{flex:1;min-width:0}.add-purchase-product{white-space:nowrap;flex-shrink:0}.purchase-mode-actions{margin-bottom:12px}.purchase-inline-product{margin-top:12px;border-left:3px solid #2563eb;padding-left:12px}.purchase-inline-product section{margin:0 0 8px}.purchase-support{margin:14px 0}.purchase-support>summary{cursor:pointer;color:#154fa3;font-weight:600;padding:12px;background:#eff6ff;border-radius:8px}@media(max-width:600px){.product-selector-action{flex-wrap:wrap}.product-selector-action>label{flex-basis:100%}.add-purchase-product{margin-top:0}}.purchase-settlement{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#eff6ff;padding:10px;border-radius:8px;margin:10px 0;font-size:.85rem}.purchase-settlement span,.purchase-settlement b{display:block}@media(max-width:600px){.purchase-settlement{grid-template-columns:1fr}.purchase-settlement>div{display:flex;justify-content:space-between;gap:8px}.purchase-settlement b{white-space:nowrap}}.purchase-combobox{position:relative;flex:1;min-width:0}.purchase-combobox input{padding-right:38px}.purchase-product-clear{position:absolute;right:3px;bottom:3px;padding:6px 10px;line-height:1;font-size:20px;background:transparent}.purchase-product-results{z-index:30;max-height:240px;overflow-y:auto}.purchase-product-results [data-active=true]{background:#dbeafe;outline:2px solid #2563eb;outline-offset:-2px}@media(max-width:600px){.purchase-product-select>.purchase-combobox{flex-basis:100%}}.purchase-product-input{position:relative}@media(max-width:600px){.purchase-product-results{position:static}}.direct-transfer{border-top:1px solid #dbeafe;margin-top:12px;padding-top:10px}.direct-transfer-review{background:#eff6ff;padding:12px;border-radius:10px;margin:10px 0}.direct-transfer-review ul{padding-left:20px}.direct-transfer-review li{margin:6px 0;overflow-wrap:anywhere}.direct-transfer .purchase-entry-fields>label{max-width:420px}.direct-transfer small{display:block;font-weight:400;margin-top:5px;color:#47617d}.app>main{min-width:0}.mobile-navigation,.close-menu,.menu-scrim{display:none}.app>aside{align-self:start;position:sticky;top:0;height:100dvh;overflow-y:auto}.navigation-trail{display:flex;align-items:center;gap:12px;margin:0 0 16px;min-width:0}.navigation-trail button,.back-top-slot button,.mobile-navigation button,.close-menu{border:1px solid #cadcec;background:#edf5fc;color:#173b72;border-radius:9px;padding:10px 12px;min-height:44px;cursor:pointer}.navigation-trail .nav-back{flex-shrink:0}.navigation-trail nav{min-width:0;overflow-x:auto}.navigation-trail ol{display:flex;align-items:center;list-style:none;margin:0;padding:0;white-space:nowrap;gap:6px}.navigation-trail li{display:flex;align-items:center;gap:6px;font-size:13px}.navigation-trail li+li:before{content:"›";color:#71839a}.navigation-trail li button{margin:0;border:0;background:transparent;padding:8px;min-height:44px}.navigation-trail [aria-current=page]{overflow:hidden;text-overflow:ellipsis;max-width:210px;color:#35516d}.back-top-slot{position:fixed;right:18px;top:12px;z-index:12;pointer-events:none}.back-top-slot button{pointer-events:auto;background:#fff;box-shadow:0 2px 12px #173b7220;min-width:44px}.app :focus-visible{outline:3px solid #4e9bdb;outline-offset:3px}.app>main{padding-top:64px}.app>aside nav button[aria-current=page]{background:#2b5686;color:#fff;font-weight:700}@media(max-width:800px){.app{display:block}.mobile-navigation{display:flex;position:sticky;top:0;z-index:15;align-items:center;gap:12px;background:#fff;border-bottom:1px solid #d9e5f0;padding:8px 70px 8px 12px;min-height:60px}.mobile-navigation b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app>aside{position:fixed;inset:0 auto 0 0;width:min(310px,85vw);height:100dvh;z-index:31;transform:translate(-100%);visibility:hidden;transition:transform .2s ease,visibility .2s;overscroll-behavior:contain}.app>aside.drawer-open{transform:translate(0);visibility:visible}.close-menu{display:block;margin:0 0 16px auto}.menu-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#081a38aa;border:0;width:100%;height:100dvh}.app>main{padding-top:16px}.back-top-slot{top:8px;right:10px;z-index:16}.back-top-slot span{display:none}.navigation-trail{gap:5px}.navigation-trail [aria-current=page]{max-width:160px}.app>main .top{margin-bottom:14px}.app>main{overflow-wrap:anywhere}}@media(prefers-reduced-motion:reduce){.app>aside{transition:none}html{scroll-behavior:auto}}@media print{.mobile-navigation,.menu-scrim,.close-menu,.navigation-trail,.back-top-slot{display:none!important}.app>main{padding:0}}.navigation-trail nav{flex:1;width:0}.page-title h1:focus{outline:none}.direct-transfer input,.direct-transfer select{max-width:100%}.direct-transfer label,.direct-transfer .line{min-width:0}.direct-transfer select,.direct-transfer input{min-width:0;width:100%}.direct-transfer .purchase-entry-fields>label{width:100%}@media(max-width:600px){.direct-transfer .formgrid{grid-template-columns:minmax(0,1fr)}.admin-branch{padding:14px}.admin-branch>div>section{padding:14px}}.search-filters label{grid-template-columns:minmax(0,1fr)}.search-filters input,.search-filters select{min-width:0;max-width:100%}.navigation-trail nav{display:block}@media(max-width:800px){.app>aside{pointer-events:none}.app>aside.drawer-open{pointer-events:auto}}@media(max-width:800px){.navigation-trail li button{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.navigation-trail li{flex-shrink:0}.app .company-header{min-height:0;padding:12px 10px;grid-template-columns:34px minmax(0,1fr) 34px}.app .company-header img{width:34px;height:34px;padding:2px}.app .company-header strong{font-size:18px}.app .company-header .company-contacts{margin-top:6px;gap:3px}.app .company-header .company-contacts span,.app .company-header .company-contacts span:first-child{font-size:11px}.app .page-title{padding-top:10px}.app .page-title h1{font-size:20px}}@media screen{.app .top .company-header{background:#d8e7dc}.app .top .company-header:before{background-image:linear-gradient(90deg,#f7fbff40,#f7fbffe8 28%,#f7fbffe8 72%,#f7fbff40),url(/assets/rwanda-landscape-ml9qQuAS.webp);background-position:center,center 56%;background-size:cover;opacity:1}}.login-scene{min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:24px 16px;background:linear-gradient(#0b253c24,#0b253c40),url(/assets/rwanda-landscape-ml9qQuAS.webp) center / cover no-repeat}.login-scene .login{width:100%;max-width:390px;margin:0;padding:28px;background:#fffffff0;border:1px solid #ffffffb3;box-shadow:0 16px 48px #0b253c40;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.login-scene .login>img{display:block;width:72px;margin:0 auto}.login-scene .login h1{font-size:24px;line-height:1.25;text-align:center;margin:16px 0 6px}.login-scene .login>p{text-align:center;margin:0 0 22px;color:#355775}.login-scene .login input{min-width:0;width:100%;background:#fff;color:#13213a}.login-scene .login button{min-height:44px}@media(max-width:480px){.login-scene{padding:20px 16px}.login-scene .login{padding:24px}}
