:root{font-family:"Myanmar Text","Noto Sans Myanmar",system-ui,sans-serif;color:#243b37;background:#f5f7f6;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a.button{cursor:pointer;border:0;border-radius:9px;background:#147863;color:white;padding:12px 18px;text-decoration:none;display:inline-block;font-weight:600}button:hover{filter:brightness(.95)}button:disabled{opacity:.5;cursor:wait}.secondary{background:#e9f0ec;color:#31564a}.danger{background:#fbe9e6;color:#b14336}.layout{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid #e1e8e3;padding:30px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{font-size:21px;font-weight:750;padding:0 14px 25px;color:#126b54}.brand small{display:block;font-size:11px;letter-spacing:2px;color:#87978f;margin-top:7px}.brand img{width:34px;height:34px;object-fit:contain;vertical-align:middle}nav{display:grid;gap:8px}nav button{text-align:left;color:#78877e;background:transparent;padding:14px}nav button.active{background:#e5f3eb;color:#126b54}nav button span{display:inline-block;width:29px;font-size:19px}.sidebar footer{margin-top:auto;padding:20px 12px;color:#87978f;font-size:12px}.main{padding:30px 38px;max-width:1500px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;padding-bottom:24px;border-bottom:1px solid #e0e7e2;margin-bottom:26px}.eyebrow{font-size:11px;letter-spacing:2px;color:#82958a}.topbar h1{font-size:24px;margin:6px 0}.muted{color:#829086;font-size:12px}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.spread{justify-content:space-between}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:25px 0}.card,.panel{background:white;border:1px solid #e4eae6;border-radius:14px;padding:22px}.card .icon{width:37px;height:37px;border-radius:10px;background:#edf6f0;color:#147863;display:grid;place-items:center;font-size:20px;margin-bottom:14px}.card label{color:#7e8e83;font-size:12px}.value{font-size:25px;font-weight:750;margin:8px 0}.value small{font-size:12px;font-weight:400;color:#829086}.card.accent{background:#147863;color:white;border-color:#147863}.card.accent label,.card.accent small{color:#c9e4db}.card.accent .icon{background:#ffffff20;color:white}.cols{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.panel h2{font-size:17px;margin:0 0 20px}.panel{margin-bottom:22px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{color:#829086;font-size:11px;font-weight:500;border-bottom:1px solid #e7ece8;padding:13px 10px}td{padding:16px 10px;border-bottom:1px solid #eff2ef;font-size:13px}tr:last-child td{border:0}.badge{padding:5px 9px;border-radius:6px;background:#e9f5ed;color:#21805a;font-size:11px}.badge.warn{background:#fff2dc;color:#b07b20}.badge.red{background:#fcece8;color:#b24a39}.quick{display:grid;gap:12px}.quick button{text-align:left;padding:19px;background:#f6f9f6;color:#285d49;border:1px solid #e2ebe4}.quick button:first-child{background:#147863;color:white}.empty{text-align:center;padding:35px;color:#8b9c91}input,select,textarea{padding:12px;border:1px solid #dce5de;border-radius:8px;background:white;color:#243b37;width:100%;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #8cc6ac;outline-offset:1px}label.field{display:block;color:#6f8376;font-size:12px;margin-bottom:14px}label.field input,label.field select,label.field textarea{display:block;margin-top:7px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.toolbar input{max-width:320px}.toolbar select{max-width:180px}dialog{border:1px solid #dce5de;border-radius:16px;padding:28px;width:min(640px,94vw);max-height:90vh;color:#243b37}dialog::backdrop{background:#16392e66;backdrop-filter:blur(3px)}dialog h2{font-size:20px;margin:0 0 23px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.login{min-height:100vh;display:grid;place-items:center;background:#edf4ef}.login .panel{width:min(430px,92vw);padding:38px}.login h1{font-size:25px;color:#147863}.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.product-tile{background:#fff;border:1px solid #e1e8e2;color:#31564a;text-align:left;padding:18px;min-height:135px}.product-tile .tile-icon{display:block;font-size:23px;margin-bottom:10px}.product-tile b{display:block}.product-tile small{display:block;color:#88988d;margin:5px 0}.pos{display:grid;grid-template-columns:1.25fr 1fr;gap:24px}.cart{background:white;border:1px solid #e0e8e2;border-radius:15px;padding:24px;height:fit-content;position:sticky;top:20px}.cart h2{font-size:18px}.cart input.qty{width:70px;padding:7px}.cart-line{padding:16px 0;border-bottom:1px solid #edf1ee}.total{display:flex;justify-content:space-between;margin:13px 0}.total.big{font-size:22px;color:#147863;font-weight:700;border-top:1px dashed #cdded3;padding-top:18px}.wide{width:100%}.receipt{max-width:400px;margin:auto;font-size:13px}.receipt .center{text-align:center}.receipt img{max-width:70px;max-height:70px}.receipt hr{border:0;border-top:1px dashed #aaa;margin:18px 0}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#234b3d;color:white;border-radius:9px;padding:14px 24px;display:none;z-index:10}.mini{padding:7px 10px;font-size:12px}.notice{background:#edf5ee;color:#577963;border-radius:10px;padding:16px;line-height:1.9;margin-bottom:20px}.error{color:#b14336}.check{display:flex;align-items:center;gap:10px}.check input{width:20px}a{color:#147863}.summary-line{padding:13px 0;border-bottom:1px solid #edf1ee;display:flex;justify-content:space-between}.section-label{margin:24px 0 12px;color:#87988c;font-size:11px;letter-spacing:2px}.receipt-photo{max-width:100%;max-height:450px} @media(max-width:1050px){.layout{grid-template-columns:190px 1fr}.main{padding:24px}.cards{grid-template-columns:1fr 1fr}.cols,.pos{grid-template-columns:1fr}.cart{position:static}.products-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.layout{display:block}.sidebar{height:auto;position:static;padding:16px;border-bottom:1px solid #e0e8e2}.brand{padding:0 0 12px;font-size:19px}.brand small,.sidebar footer{display:none}nav{display:flex;overflow:auto;gap:5px}nav button{white-space:nowrap;font-size:12px;padding:10px}nav button span{width:20px}.main{padding:20px 14px}.cards{gap:10px;margin:18px 0}.card{padding:16px}.value{font-size:21px}.topbar{padding-bottom:16px}.topbar h1{font-size:21px}.topbar .muted{max-width:110px;text-align:right}.panel{padding:16px}.products-grid{grid-template-columns:1fr 1fr}.formgrid{grid-template-columns:1fr}.toolbar input{max-width:none}.cols{gap:0}.card .icon{margin-bottom:10px}.cart{padding:18px}}@media print{body>*{display:none!important}dialog[open]{display:block!important;position:static;border:0;max-height:none;width:100%;padding:0}dialog .actions,dialog .no-print{display:none!important}dialog::backdrop{background:white}.receipt{color:black}dialog h2{display:none}}
.language-switch{display:inline-flex;background:#e9f0ec;border:1px solid #dce5de;border-radius:9px;padding:3px;gap:3px;white-space:nowrap}.language-switch button{padding:7px 12px;background:transparent;color:#527161;font-size:12px;min-height:36px}.language-switch button[aria-pressed="true"]{background:#147863;color:white}.language-switch button:focus-visible{outline:2px solid #147863;outline-offset:2px}.header-tools{display:flex;align-items:center;gap:18px}.login .language-switch{display:flex;width:fit-content;margin:0 0 24px auto}html[lang="en"]{font-family:system-ui,sans-serif}@media(max-width:650px){.header-tools{flex-direction:column;align-items:flex-end;gap:8px}.language-switch button{padding:6px 9px}.topbar{gap:10px}}@media print{.language-switch{display:none!important}}
/* Inventory workspace */
.product-thumb{width:48px;height:48px;border-radius:10px;object-fit:cover;flex-shrink:0;background:#edf3ee}.photo-placeholder{display:flex;align-items:center;justify-content:center;color:#88a293;font-size:27px;border:1px dashed #cbdcd0}.photo-placeholder small{font-size:12px}.product-photo-large{width:180px;height:180px;max-width:100%;border-radius:14px;object-fit:contain;background:#f4f7f4}.product-photo-large.photo-placeholder{flex-direction:column;gap:10px}.photo-editor{display:grid;grid-template-columns:150px 1fr;gap:20px;align-items:center}.photo-editor .product-photo-large{width:150px;height:150px}.form-section{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #e3ebe5}.form-section h3{font-size:14px;margin:0 0 18px;color:#226b51}.form-section:last-of-type{margin-bottom:0;border-bottom:0}.price-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.product-detail{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;margin-bottom:24px}.product-detail h3{margin:0;font-size:20px;overflow-wrap:anywhere}.product-detail .summary-line{gap:15px}.product-detail .summary-line b{text-align:right;overflow-wrap:anywhere}.product-toolbar select{max-width:210px}.inventory-table td{vertical-align:middle;padding:14px 8px;font-size:12px}.inventory-table th{padding:12px 8px}.inventory-table .product-identity{min-width:195px;max-width:280px;white-space:normal;overflow-wrap:anywhere}.product-identity .row{flex-wrap:nowrap;gap:10px}.product-actions{white-space:normal;min-width:118px}.product-actions button{margin:3px}.setup-panels{display:grid;grid-template-columns:1fr;gap:0}.product-tile .product-thumb{display:block;margin-bottom:12px}.pos .toolbar .field{margin-bottom:0}.cart-line .row{gap:8px}.cart-line input.qty{min-height:40px;width:86px}.cart-line .muted{line-height:2}.form-section input[readonly]{background:#f1f4f2;color:#7c8f81}.form-section select:disabled{background:#f1f4f2;opacity:1;color:#617968}
@media(max-width:700px){.inventory-table,.inventory-table tbody{display:block;width:100%}.inventory-table thead{display:none}.inventory-table tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;border:1px solid #e2eae4;border-radius:12px;padding:16px;margin-bottom:14px;white-space:normal}.inventory-table td{display:flex;flex-direction:column;align-items:flex-start;border:0;padding:0;min-width:0;font-size:13px;overflow-wrap:anywhere;gap:4px}.inventory-table td[data-label]::before{content:attr(data-label);font-size:11px;color:#809387}.inventory-table td.product-identity{grid-column:1/-1;max-width:none;min-width:0;margin-bottom:8px}.inventory-table .product-identity::before{display:none}.inventory-table .product-actions{grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:wrap;border-top:1px solid #edf2ee;padding-top:12px;margin-top:4px}.product-toolbar>*{max-width:none!important;flex:1 1 42%;min-width:0}.product-toolbar input{flex-basis:100%}.photo-editor{grid-template-columns:1fr;text-align:left}.price-fields{grid-template-columns:1fr}.product-detail{grid-template-columns:1fr}.product-detail .product-photo-large{margin:auto}.inventory-table .badge{font-size:12px}.inventory-table .product-thumb{width:56px;height:56px}.setup-panels .row button{min-height:40px}.cart-line .row{align-items:flex-start}}
.category-description{white-space:normal;min-width:120px;max-width:400px;overflow-wrap:anywhere}.expense-filters input[type=date]{max-width:175px}.expense-filters input{max-width:260px}.expense-filters select{max-width:220px}#expense-categories{scroll-margin-top:24px}@media(max-width:650px){.expense-filters>*{flex:1 1 42%;max-width:none!important;min-width:0}.expense-filters input[type=text],.expense-filters input:not([type]){flex-basis:100%}.category-description{min-width:110px;max-width:200px}}
.purchase-filters{align-items:flex-end}.purchase-filters .field{margin:0;min-width:150px}.purchase-filters input[type=date]{max-width:160px}.purchase-filters input:not([type]){max-width:260px}.pagination{margin-top:20px}.purchase-product-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 24px;max-height:260px;overflow:auto}.purchase-product-option{background:#f2f7f3;color:#31564a;display:flex;align-items:center;gap:10px;padding:12px;text-align:left}.purchase-product-option span{min-width:0;overflow-wrap:anywhere}.purchase-product-option small{display:block;font-weight:400;color:#7c9181;margin-top:4px}.purchase-product-option>span:last-child{margin-left:auto}.purchase-item-identity{flex-wrap:nowrap;min-width:180px}.purchase-quantity{width:110px}.purchase-cost{width:145px}.purchase-document-totals{max-width:350px;margin:22px 0 22px auto}.purchase-actions{margin-top:24px}.purchase-document{line-height:1.8}.purchase-document h3{font-size:16px;margin-top:24px}.purchase-document .table-wrap{margin-top:18px}
@media(max-width:850px){.purchase-product-results{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-filters>*{flex:1 1 40%;max-width:none!important}.purchase-filters .field{min-width:0}.purchase-product-option .product-thumb{width:36px;height:36px}.purchase-quantity{width:90px}.purchase-cost{width:115px}}
@media(max-width:500px){.purchase-product-results{grid-template-columns:1fr}.purchase-product-option{padding:10px}.purchase-document-totals{max-width:none}.purchase-actions button{width:100%}#purchase-form .actions{flex-wrap:wrap}#purchase-form .actions button{flex:1}}
@media print{body.printing-purchase>#app{display:block!important}body.printing-purchase .layout{display:block}body.printing-purchase .sidebar,body.printing-purchase .topbar,body.printing-purchase .main>#content>.toolbar,body.printing-purchase .no-print,body.printing-purchase #modal{display:none!important}body.printing-purchase .main{padding:0;max-width:none}body.printing-purchase .purchase-document{border:0;padding:0;font-size:11px}body.printing-purchase .table-wrap{overflow:visible}body.printing-purchase table{white-space:normal;font-size:10px}body.printing-purchase th,body.printing-purchase td{font-size:10px;padding:8px 5px}body.printing-purchase tr{break-inside:avoid}body.printing-purchase .panel{margin:0}body.printing-purchase .badge{color:#222;background:none}body.printing-purchase #purchase-workspace{display:block}}
.customer-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.customer-summary label{color:#7d9384;font-size:12px}.customer-summary .value{font-size:22px}.sale-customer-picker{border:1px solid #dfe9e1;border-radius:10px;padding:14px;margin-bottom:20px;background:#f7faf7;position:relative}.customer-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:12px 0}.customer-search-row input{font-size:12px}.customer-options{max-height:240px;overflow:auto;border:1px solid #dce7df;border-radius:8px;background:white;margin-bottom:12px}.customer-options button{display:block;width:100%;background:white;color:#31564a;text-align:left;border-radius:0;border-bottom:1px solid #e9eee9;font-weight:400}.customer-options button:hover,.customer-options button:focus{background:#e8f4ec}.customer-options small,.customer-selected small{display:block;font-size:11px;color:#7d9183;margin:5px 0}.customer-selected{overflow-wrap:anywhere}.customer-selected button{margin-top:8px}.customer-price-actions{display:flex;gap:12px;flex-wrap:wrap}.customer-price-actions button{flex:1;min-width:180px}#customer-phone-warning ul{padding-left:20px}#customer-phone-warning li{overflow-wrap:anywhere}#checkout input[readonly]{background:#f0f4f0;color:#6b8574}@media(max-width:700px){.customer-summary{grid-template-columns:1fr}.customer-summary .card{padding:16px}.customer-search-row{grid-template-columns:1fr}.customer-summary .value{font-size:22px}}
.sale-collection{border-top:1px solid #e2ebe4;border-bottom:1px solid #e2ebe4;padding:14px 0;margin:12px 0 18px}.sale-collection h3,.sale-payment-panel h3{font-size:14px;margin:0 0 14px}.sale-collection .total{font-size:13px}.sale-payment-panel{margin-top:24px;padding-top:18px;border-top:1px solid #dce5df}.sale-payment-panel>.row{margin-bottom:14px}.sale-payment-panel table{font-size:12px}.sale-payment-panel>.row>div{font-size:12px}
.report-tabs{display:flex;gap:8px;overflow:auto;margin-bottom:20px;padding-bottom:5px}.report-tabs button{white-space:nowrap}.report-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px;align-items:end}.report-filters .field{margin:0}.report-exports{border-top:1px solid #e4ece6;margin-top:20px;padding-top:16px}.report-metadata{padding:4px 0;color:#72887a;font-size:12px}.report-metadata b{font-size:18px;color:#315d49}.report-table{font-size:12px}.report-table th{white-space:normal;min-width:80px;max-width:170px}.report-table td{max-width:260px;white-space:normal;overflow-wrap:anywhere;min-width:80px;vertical-align:top}.report-table td.numeric{text-align:right;white-space:nowrap}.report-basis summary{font-weight:600;cursor:pointer}.report-basis p{color:#6f8376;font-size:12px;line-height:1.9}.report-filters select{font-size:12px}@media(max-width:1000px){.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.report-filters{grid-template-columns:1fr}.report-exports button{flex:1}.report-table td{min-width:95px}.report-tabs button{font-size:12px}.report-metadata p{overflow-wrap:anywhere}}
.user-profile{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.user-profile small{color:var(--muted)}.permission-group{border:1px solid #dce7e1;border-radius:12px;margin:16px 0;padding:16px}.permission-group legend{font-weight:700;padding:0 8px}.permission-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.permission-options label{display:flex;align-items:center;gap:10px;line-height:1.8}.permission-options input{width:20px;height:20px;flex:none}.record-actors{color:#64776d;line-height:1.8;margin:12px 0}@media(max-width:650px){.permission-options{grid-template-columns:1fr}.user-profile{max-width:180px}.header-tools{flex-wrap:wrap}}
.current-shop{border-left:4px solid #168361;padding:8px 12px;background:#edf7f1;display:flex;flex-direction:column;gap:3px;min-width:180px;border-radius:8px}.current-shop small,.current-shop span{color:#547466}.current-shop select{max-width:250px;padding:8px}.header-tools{align-items:center}@media(max-width:650px){.current-shop{width:100%;min-width:0}.current-shop select{max-width:100%;width:100%}}
.topbar{gap:20px;flex-wrap:wrap}.header-tools{flex-wrap:wrap;justify-content:flex-end}.current-shop b{overflow-wrap:anywhere}.current-shop span{font-size:11px}@media(max-width:650px){.header-tools{width:100%;justify-content:flex-start}}

/* Navigation branding only: document/receipt typography is independent. */
.brand{font-size:18px;font-weight:600;min-width:0;text-align:left}
.brand-logo{display:flex;justify-content:center;align-items:center;width:100%;margin-bottom:10px}
.brand-logo img{display:block;width:34px;height:34px;object-fit:contain}
.brand-placeholder{display:block;width:34px;height:34px;text-align:center;font-size:24px;line-height:34px;color:#126b54}
.brand-name{font-weight:600;line-height:1.65;white-space:normal;word-break:normal;overflow-wrap:anywhere;min-width:0}
.brand small{display:block;text-align:left}
.branding-fields{border:1px solid #e1e8e3;border-radius:10px;padding:16px;margin:0 0 18px;min-width:0}
.branding-color{display:flex;gap:10px;align-items:center}.branding-color input[type=color]{width:52px;height:44px;padding:4px;flex:none}
.brand-preview{width:204px;max-width:100%;padding:18px 14px;background:#fff;border:1px solid #e1e8e3;border-radius:10px;margin-top:16px}
@media(max-width:650px){.brand{font-size:18px}.brand small{display:block}.brand-logo{margin-bottom:10px}}
