:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#18241e;background:#f5f7f5}*{box-sizing:border-box}body{margin:0}header{background:#284b37;color:white;padding:17px 5%;display:flex;gap:22px;align-items:center;flex-wrap:wrap}header strong{font-size:25px}header span{color:#d8c58b}nav{display:flex;gap:12px;flex-wrap:wrap}nav a{color:white;text-decoration:none;font-size:14px}main{max-width:1100px;margin:30px auto;padding:0 16px;min-height:70vh}h1{font-size:26px}.panel,.stat{background:white;padding:22px;border-radius:14px;box-shadow:0 2px 12px #0000000a;margin:16px 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}label{display:block;margin:12px 0;font-weight:600}input,select{display:block;width:100%;padding:11px;margin-top:6px;border:1px solid #d1d9d2;border-radius:8px;font:inherit}button,.btn{display:inline-block;background:#426c4c;color:white;border:0;border-radius:9px;padding:11px 18px;font:inherit;cursor:pointer;text-decoration:none}button:hover,.btn:hover{background:#2b4d36}.notice{background:#e3f2e4;padding:14px;border-radius:10px;margin:12px 0}.error{background:#ffe6e2;padding:14px;border-radius:10px;margin:12px 0}table{width:100%;border-collapse:collapse;background:white;border-radius:10px;overflow:hidden}th,td{padding:12px;text-align:right;border-bottom:1px solid #e7ebe7}th{background:#e8eee9}.tablewrap{overflow-x:auto}.muted{color:#6b746d}.stat b{font-size:26px;display:block;margin-top:8px}footer{text-align:center;color:#657269;padding:25px;font-size:13px}.inline{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.inline>*{flex:1}.inline button{flex:0 0 auto}small{color:#667} .warning{color:#a23b26}

/* BOS Oman phase 2: additive, responsive shell */
.bos-top{justify-content:space-between}.bos-langs{display:flex;gap:5px;margin-inline-start:auto;border:1px solid #ffffff55;border-radius:12px;padding:4px}.bos-langs a{color:#fff;text-decoration:none;padding:6px 10px;border-radius:8px;font-size:13px}.bos-langs a[aria-current="page"]{background:#d8c58b;color:#18241e;font-weight:700}.bos-module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin:22px 0}.bos-module{min-height:112px;border:1px solid #dfe8df;background:#fff;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-decoration:none;color:#243b2c;box-shadow:0 3px 14px #00000008;text-align:center;padding:14px}.bos-module-icon{font-size:29px;color:#426c4c}.bos-module:hover{border-color:#426c4c}.bos-welcome{color:#647568}html[dir="ltr"] th,html[dir="ltr"] td{text-align:left}html[dir="ltr"] .bos-top{direction:ltr}@media(max-width:650px){header.bos-top{padding:15px;gap:13px}header.bos-top nav{order:3;width:100%;overflow-x:auto;flex-wrap:nowrap;padding:6px 0}header.bos-top nav a{white-space:nowrap}.bos-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.panel,.stat{padding:16px}main{margin:18px auto}}

/* v0.4 responsive and print improvements */
.pos-tools input{width:100%;min-height:48px;font-size:16px} .pos-product:focus-visible,.bos-module:focus-visible{outline:3px solid #6a7838;outline-offset:2px}#cash-tender-wrap[hidden],#cash-change[hidden]{display:none!important}@media print{header.bos-top,footer,main>h1,button,.warning,.bos-langs,nav{display:none!important}body{background:#fff!important;color:#000!important}main{max-width:80mm!important;margin:0!important;padding:0!important}.panel{border:0!important;box-shadow:none!important;padding:0!important}.tablewrap{overflow:visible!important}table{width:100%;font-size:10px}th,td{padding:3px!important}.pos-layout{display:block!important}}

/* v0.4.1: explicit language link contrast, spacing, and mobile alignment */
header.bos-top .bos-langs{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;margin-inline-start:auto}
header.bos-top .bos-langs a,header.bos-top .bos-langs a:link,header.bos-top .bos-langs a:visited{display:inline-block;color:#ffffff!important;text-decoration:none!important;padding:7px 10px;border-radius:8px;font-size:14px;line-height:1.4;white-space:nowrap}
header.bos-top .bos-langs a[aria-current="page"],header.bos-top .bos-langs a[aria-current="page"]:visited{background:#d8c58b;color:#18241e!important;font-weight:700}
header.bos-top .bos-langs a:hover{background:#ffffff22}
@media(max-width:650px){header.bos-top .bos-langs{gap:5px;margin-inline-start:0}}

/* v0.4.2 visible language links on all supported browsers */
.bos-top .bos-langs{display:flex!important;gap:10px!important;align-items:center!important;direction:ltr!important}.bos-top .bos-langs a,.bos-top .bos-langs a:link,.bos-top .bos-langs a:visited{color:#fff!important;text-decoration:none!important;display:inline-block!important;padding:7px 9px!important}.bos-top .bos-langs a[aria-current="page"]{color:#18241e!important;background:#d8c58b!important;border-radius:8px!important}

/* BOS Oman: currency PNG, independent of installed device fonts */
.bos-money{display:inline-flex;align-items:center;gap:.22em;direction:ltr;unicode-bidi:isolate;white-space:nowrap;vertical-align:middle}
.bos-omr-icon{display:inline-block;width:.82em;height:.82em;object-fit:contain;vertical-align:middle;flex:none}
.bos-amount{font-variant-numeric:tabular-nums}
@media print{.bos-omr-icon{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* BOS Oman v0.5.0: display all navigation links without horizontal clipping */
header.bos-top nav{min-width:0;max-width:100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;overflow:visible;}
header.bos-top nav a{display:inline-flex;align-items:center;min-height:36px;white-space:nowrap;line-height:1.5;}
@media(max-width:650px){
 header.bos-top nav{order:3;width:100%;max-width:100%;flex-wrap:wrap;overflow:visible;gap:6px 12px;padding:8px 0 2px;}
 header.bos-top nav a{white-space:nowrap;padding:4px 0;}
}

/* Product editing: v0.5.1 */
.bos-product-edit{display:grid;gap:10px;min-width:min(260px,75vw);padding:12px 0}.bos-product-edit label{display:grid;gap:4px}.bos-product-edit input{width:100%;box-sizing:border-box}.tablewrap details summary{cursor:pointer;color:#28513a;font-weight:700}

/* v0.5.2: compact product entry form on phones; no other forms affected */
.bos-product-add .grid{gap:10px 14px;grid-template-columns:repeat(2,minmax(0,1fr));}
.bos-product-add .grid label{min-width:0;margin:0;font-weight:600;}
.bos-product-add .grid input{margin-top:5px;min-height:44px;}
.bos-product-add h2{margin:0 0 14px;}
.bos-product-add form>button{margin-top:14px;}
.bos-product-add .bos-price-unit{font-size:.82em;font-weight:400;color:#657269;}
@media(max-width:650px){
 .bos-product-add{padding:16px;}
 .bos-product-add .grid{grid-template-columns:minmax(0,1fr);gap:12px;}
 .bos-product-add .grid label{margin:0;}
 .bos-product-add h2{margin-bottom:12px;}
 .bos-product-add form>button{margin-top:12px;}
}

/* v0.5.3: product form only — compact spacing and currency image */
.bos-product-add{padding:16px!important}
.bos-product-add h2{margin:0 0 12px!important;line-height:1.35}
.bos-product-add form>.grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 14px!important;align-items:start!important;margin:0!important}
.bos-product-add form>.grid>label{display:block!important;margin:0!important;padding:0!important;min-width:0!important;line-height:1.4!important}
.bos-product-add form>.grid>label>input{display:block!important;width:100%!important;min-height:44px!important;margin:5px 0 0!important;padding:9px 11px!important}
.bos-product-add form>button{margin:12px 0 0!important}
.bos-product-price-icon{width:1em!important;height:1em!important;vertical-align:-.12em!important;margin-inline-start:4px}
@media(max-width:650px){.bos-product-add form>.grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}}
