/* Token warna & tipografi (terang/gelap), reset, utilitas dasar */
/* Layout: header + tab bar, lalu satu panel kerja. Kasir = grid barang di kiri, keranjang di kanan. */
:root{
  --bg:#f4f6f4; --surface:#ffffff; --ink:#16201d; --muted:#5b6a65; --line:#dde3df;
  --accent:#0b6b57; --accent-ink:#ffffff; --accent-soft:#e1f0eb;
  --good:#067647; --good-soft:#dcf3e6; --warn:#a15c07; --warn-soft:#fdf0d6; --bad:#b42318; --bad-soft:#fde4e1;
  --s1:#2a78d6; --s2:#eb6834; --s3:#1baf7a;
  --font:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --shadow:0 1px 2px rgba(22,32,29,.06),0 4px 14px rgba(22,32,29,.05);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#0f1412; --surface:#171d1a; --ink:#e8eeeb; --muted:#9aa9a3; --line:#27302c;
  --accent:#3fb593; --accent-ink:#06201a; --accent-soft:#16312a;
  --good:#53c98d; --good-soft:#133224; --warn:#e5a948; --warn-soft:#3a2c0f; --bad:#ff8a7d; --bad-soft:#40201c;
  --s1:#3987e5; --s2:#d95926; --s3:#199e70;
  --shadow:none; color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0f1412; --surface:#171d1a; --ink:#e8eeeb; --muted:#9aa9a3; --line:#27302c;
  --accent:#3fb593; --accent-ink:#06201a; --accent-soft:#16312a;
  --good:#53c98d; --good-soft:#133224; --warn:#e5a948; --warn-soft:#3a2c0f; --bad:#ff8a7d; --bad-soft:#40201c;
  --s1:#3987e5; --s2:#d95926; --s3:#199e70;
  --shadow:none; color-scheme:dark}
*{box-sizing:border-box}
html,body{min-height:100%}
body{background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.45;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:0 32px;font-variant-numeric:tabular-nums}
h1,h2,h3{margin:0;line-height:1.2;text-wrap:balance}
h2{font-size:17px;font-weight:700}
h3{font-size:14px;font-weight:700}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.muted{color:var(--muted)}
.num{text-align:right;white-space:nowrap}
.pos-t{color:var(--good)} .neg-t{color:var(--bad)}
.wrap{max-width:1180px;margin:0 auto}
