/* Aplikasi kasir laundry
   Warna diambil dari suasana laundry: hijau toska air sabun, kertas nota, dan kuning label kantong. */
:root {
  --bg: #edf1ef; --surface: #ffffff; --surface-2: #f6f8f7; --sunk: #e6ebe8;
  --line: #dbe2de; --line-2: #c9d3ce;
  --ink: #12201d; --ink-2: #3a4a45; --muted: #6f7f7a;
  --side: #0e2627; --side-2: #163435; --side-ink: #dce9e6; --side-muted: #87a29c;
  --primary: #0d6c69; --primary-2: #095553; --primary-soft: rgba(13, 108, 105, .1); --on-primary: #fff;
  --tag: #ffd23f; --tag-ink: #2b2410;
  --ok: #13855a; --ok-soft: rgba(19, 133, 90, .12);
  --warn: #b86e0a; --warn-soft: rgba(217, 140, 20, .14);
  --bad: #c62d2d; --bad-soft: rgba(198, 45, 45, .1);
  --wa: #1a9a55;
  --s-antre: #66788a; --s-cuci: #2c6cd4; --s-kering: #d27a1f; --s-setrika: #bb3f78; --s-siap: #13855a; --s-diambil: #49545e; --s-batal: #b42318;
  --shadow-sm: 0 1px 2px rgba(18, 32, 29, .06);
  --shadow: 0 1px 2px rgba(18, 32, 29, .05), 0 10px 28px -16px rgba(18, 32, 29, .25);
  --shadow-lg: 0 30px 70px -24px rgba(10, 30, 28, .45);
  --r: 14px; --r-sm: 10px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --side-w: 248px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0b1514; --surface: #12201f; --surface-2: #162625; --sunk: #0e1a19;
  --line: #22312f; --line-2: #2f423f;
  --ink: #e8f0ee; --ink-2: #c3d0cc; --muted: #8b9d98;
  --side: #071010; --side-2: #10201f;
  --primary: #2fb3a9; --primary-2: #25968e; --primary-soft: rgba(47, 179, 169, .14); --on-primary: #06201e;
  --ok: #36c08a; --ok-soft: rgba(54, 192, 138, .14);
  --warn: #f0a33a; --warn-soft: rgba(240, 163, 58, .14);
  --bad: #f06a6a; --bad-soft: rgba(240, 106, 106, .14);
  --s-antre: #8fa1b2; --s-cuci: #6b9cf0; --s-kering: #eb9a4a; --s-setrika: #e277ab; --s-siap: #36c08a; --s-diambil: #9aa4ad;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.45; font-size: 15px; -webkit-font-smoothing: antialiased; }
body.noscroll { overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; }
svg { display: block; flex: none; }
svg.inline { display: inline-block; vertical-align: -2px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.mono { font-family: var(--mono); letter-spacing: -.02em; }
.num, .kpi-v, td.r { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.pad { padding: 12px 16px; }
.r { text-align: right; }
.grow { flex: 1; min-width: 0; }
.txt-bad { color: var(--bad); font-weight: 600; }
.txt-warn { color: var(--warn); font-weight: 600; }
.eyebrow { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.01em; line-height: 1.2; }
h4 { font-size: .95rem; margin: 22px 0 10px; }

/* Tombol & isian */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: 11px; font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; border: 1px solid transparent; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn.primary { background: var(--primary); color: var(--on-primary); }
.btn.primary:hover:not(:disabled) { background: var(--primary-2); }
.btn.ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink-2); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { filter: brightness(1.06); }
.btn.dark { background: var(--ink); color: var(--surface); }
.btn.danger { background: var(--bad); color: #fff; }
.btn.danger-text { color: var(--bad); }
.btn.sm { height: 32px; padding: 0 11px; font-size: .82rem; border-radius: 9px; gap: 5px; }
.btn.lg { height: 50px; padding: 0 20px; font-size: 1rem; border-radius: 13px; }
.btn.block { width: 100%; }
.link { color: var(--primary); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; font-size: .88rem; }
button.link { padding: 0; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; display: inline-grid; place-items: center; color: var(--ink-2); text-decoration: none; }
.icon-btn:hover { background: var(--sunk); color: var(--ink); }
.icon-btn.sm { width: 28px; height: 28px; border-radius: 8px; }

.field { display: grid; gap: 6px; font-size: .85rem; }
.field > span { color: var(--ink-2); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.field input, .field textarea, .field select, .track-form input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .track-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.form { display: grid; gap: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--primary); }

.search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); color: var(--muted); min-width: 0; }
.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.search input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; color: var(--ink); height: 100%; }

.seg { display: inline-flex; background: var(--sunk); border-radius: 11px; padding: 3px; gap: 2px; }
.seg button { height: 32px; padding: 0 12px; border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.seg.full { display: flex; width: 100%; }
.seg.full button { flex: 1 1 0; padding: 0 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: .83rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.pill:hover { border-color: var(--ink-2); }
.pill.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.pill button { display: inline-grid; place-items: center; color: inherit; opacity: .7; margin-right: -4px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: .74rem; font-weight: 700; background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.chip.member { background: rgba(255, 210, 63, .28); color: #6c5300; margin-left: 4px; vertical-align: 2px; }
[data-theme="dark"] .chip.member { color: var(--tag); }
.chip[class*="st-"] { background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); }
.st-antre { --c: var(--s-antre); } .st-cuci { --c: var(--s-cuci); } .st-kering { --c: var(--s-kering); } .st-setrika { --c: var(--s-setrika); } .st-siap { --c: var(--s-siap); } .st-diambil { --c: var(--s-diambil); } .st-batal { --c: var(--s-batal); }
.chip.pay-lunas { background: var(--ok-soft); color: var(--ok); }
.chip.pay-dp { background: var(--warn-soft); color: var(--warn); }
.chip.pay-belum { background: var(--bad-soft); color: var(--bad); }
.speed { display: inline-flex; align-items: center; gap: 3px; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px 2px 5px; border-radius: 5px; background: var(--tag); color: var(--tag-ink); white-space: nowrap; }
.speed.kilat { background: #ff6b3d; color: #fff; }
.due { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.due.mepet { color: var(--warn); }
.due.telat { color: var(--bad); }
.due.siap { color: var(--ok); }
.delta { font-weight: 700; font-size: .8rem; }
.delta.naik { color: var(--ok); }
.delta.turun { color: var(--bad); }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: .78rem; flex: none; letter-spacing: .02em; }
.avatar.lg { width: 46px; height: 46px; font-size: .95rem; }
.avatar.pemilik { background: #ffe9a6; color: #6b4f00; }
.avatar.kasir { background: #cfe9e5; color: #0c5a57; }

/* Masuk */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { background: var(--side); color: var(--side-ink); padding: 40px 48px; display: grid; grid-template-rows: auto 1fr auto; gap: 30px; position: relative; overflow: hidden; }
.login-art::after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .03); }
.login-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.15rem; }
.logo-dot { width: 36px; height: 36px; border-radius: 11px; background: var(--tag); color: var(--tag-ink); display: grid; place-items: center; flex: none; }
.login-copy { max-width: 440px; position: relative; z-index: 1; }
.login-copy h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: #fff; }
.login-copy p { margin-top: 12px; color: var(--side-muted); font-size: 1.02rem; }
.drum { align-self: center; justify-self: center; width: min(320px, 70%); aspect-ratio: 1 / 1.1; background: linear-gradient(160deg, #f4f7f6, #cfd9d6); border-radius: 30px; position: relative; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 -6px 0 rgba(0, 0, 0, .08); display: grid; place-items: center; padding-top: 14%; }
.drum-panel { position: absolute; top: 6%; left: 9%; right: 9%; height: 7%; border-radius: 8px; background: #b9c6c2; display: flex; align-items: center; gap: 6%; padding: 0 6%; justify-content: flex-end; }
.drum-panel i { width: 9%; aspect-ratio: 1; border-radius: 50%; background: #8fa19c; }
.drum-panel i.on { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.drum-door { width: 72%; aspect-ratio: 1; border-radius: 50%; background: #a9b8b4; padding: 7%; box-shadow: inset 0 3px 8px rgba(0, 0, 0, .25); }
.drum-in { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5fc8d8, #1d6f86 70%); position: relative; overflow: hidden; animation: putar 5s linear infinite; }
.kain { position: absolute; border-radius: 40% 60% 50% 50%; opacity: .95; }
.kain.k1 { width: 46%; height: 30%; background: var(--tag); left: 12%; top: 52%; transform: rotate(-20deg); }
.kain.k2 { width: 40%; height: 26%; background: #ff7a59; right: 10%; top: 22%; transform: rotate(30deg); }
.kain.k3 { width: 32%; height: 24%; background: #f4f0e6; left: 26%; top: 14%; transform: rotate(10deg); }
.busa { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.busa.b1 { width: 14%; height: 14%; left: 62%; top: 62%; }
.busa.b2 { width: 9%; height: 9%; left: 20%; top: 36%; }
.busa.b3 { width: 6%; height: 6%; left: 50%; top: 80%; }
@keyframes putar { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .drum-in { animation: none; } }
.login-side { display: grid; place-items: center; padding: 30px 20px; background: var(--bg); }
.login-box { width: min(380px, 100%); }
.login-box h2 { font-size: 1.6rem; margin: 6px 0 20px; }
.akun-list { display: grid; gap: 10px; }
.akun { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-align: left; color: var(--muted); transition: border-color .15s, transform .15s; }
.akun:hover { border-color: var(--primary); transform: translateX(2px); color: var(--primary); }
.akun > span:nth-child(2) { flex: 1; }
.akun b { display: block; color: var(--ink); font-size: 1.02rem; }
.akun small { color: var(--muted); }
.akun .avatar { width: 44px; height: 44px; font-size: .9rem; }
.hint { margin-top: 18px; font-size: .84rem; color: var(--muted); line-height: 1.55; }
.pin-who { display: flex; align-items: center; gap: 12px; }
.pin-who b { display: block; font-size: 1.1rem; }
.pin-who small { color: var(--muted); }
.pin-dots { display: flex; gap: 14px; justify-content: center; margin: 30px 0 26px; }
.pin-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); transition: background .15s, border-color .15s; }
.pin-dots i.isi { background: var(--primary); border-color: var(--primary); }
.pin-dots.salah { animation: geleng .35s; }
.pin-dots.salah i { border-color: var(--bad); background: var(--bad); }
@keyframes geleng { 25% { transform: translateX(-8px); } 50% { transform: translateX(7px); } 75% { transform: translateX(-4px); } }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.key { height: 58px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 1.35rem; font-weight: 600; font-family: var(--display); }
.key:hover { border-color: var(--primary); }
.key:active { background: var(--primary-soft); }
.key.ghost { background: none; border-color: transparent; font-size: .95rem; color: var(--muted); font-family: var(--body); }

/* Kerangka */
.app { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100vh; }
.side { background: var(--side); color: var(--side-ink); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 18px 14px; }
.side-brand { display: flex; gap: 10px; align-items: center; padding: 4px 6px 20px; }
.side-brand b { display: block; font-family: var(--display); font-size: 1.02rem; line-height: 1.2; color: #fff; }
.side-brand small { color: var(--side-muted); font-size: .76rem; }
.side-nav { display: grid; gap: 2px; flex: 1; align-content: start; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 10px; text-decoration: none; color: var(--side-muted); font-weight: 600; font-size: .92rem; }
.nav-item:hover { background: var(--side-2); color: var(--side-ink); }
.nav-item.on { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 3px 0 0 var(--tag); }
.nav-item span { flex: 1; }
.nav-item .count { flex: none; background: var(--tag); color: var(--tag-ink); font-size: .72rem; font-weight: 800; padding: 1px 7px; border-radius: 999px; }
.side-foot { display: flex; align-items: center; gap: 10px; padding: 12px 6px 2px; border-top: 1px solid rgba(255, 255, 255, .07); }
.side-foot > div { flex: 1; min-width: 0; }
.side-foot b { display: block; font-size: .9rem; color: #fff; }
.side-foot small { color: var(--side-muted); font-size: .76rem; }
.side-foot .icon-btn { color: var(--side-muted); }
.side-foot .icon-btn:hover { background: var(--side-2); color: #fff; }
.main { min-width: 0; padding: 0 28px 40px; }
.top { display: flex; align-items: center; gap: 18px; padding: 20px 0 18px; position: sticky; top: 0; z-index: 20; background: var(--bg); }
.top-title { flex: 1; min-width: 0; }
.top-title h1 { font-size: 1.5rem; font-weight: 800; }
.top-date { font-size: .82rem; color: var(--muted); }
.top-search { position: relative; width: min(340px, 34vw); }
.search-hasil { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 6px; max-height: 420px; overflow: auto; z-index: 30; }
.search-hasil button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 9px; text-align: left; }
.search-hasil button:hover { background: var(--sunk); }
.search-hasil b { display: block; font-size: .9rem; }
.search-hasil small { color: var(--muted); font-size: .78rem; }
.search-hasil .mono { font-size: .78rem; color: var(--primary); min-width: 86px; }
.sh-h { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); padding: 8px 10px 4px; }
.bottom-nav { display: none; }
.page { display: grid; gap: 18px; }
.page-lead { color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-h h3 { font-size: 1.02rem; display: flex; align-items: center; gap: 8px; }
.card-h .muted { font-size: .82rem; }
.card-h.pad { padding: 16px 18px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-2.wide-left { grid-template-columns: 1.6fr 1fr; }
.grid-2.wide-right { grid-template-columns: minmax(300px, .8fr) 1.4fr; align-items: start; }
.stack { display: grid; gap: 18px; align-content: start; }
.empty { display: grid; place-items: center; gap: 8px; text-align: center; padding: 26px 10px; color: var(--muted); font-size: .9rem; }
.empty svg { opacity: .5; }

/* Beranda */
.hello { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hello h2 { font-size: 1.35rem; }
.hello p { color: var(--muted); margin-top: 2px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpis.three { grid-template-columns: repeat(3, 1fr); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 4px; min-width: 0; }
.kpi.accent { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.kpi.accent .kpi-l, .kpi.accent small { color: inherit; opacity: .8; }
.kpi-l { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.kpi-v { font-family: var(--display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi small { color: var(--muted); font-size: .8rem; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.flow-step { position: relative; padding: 14px 16px 14px 22px; text-decoration: none; background: var(--surface-2); display: grid; gap: 1px; border-right: 1px solid var(--line); transition: background .15s; }
.flow-step:last-child { border-right: 0; }
.flow-step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.flow-step:hover { background: color-mix(in srgb, var(--c) 8%, var(--surface)); }
.flow-n { font-size: .7rem; color: var(--c); font-weight: 700; }
.flow-step b { font-family: var(--display); font-size: 1.9rem; line-height: 1.05; }
.flow-step span:not(.flow-n) { font-weight: 600; font-size: .9rem; }
.flow-step small { color: var(--muted); font-size: .78rem; }
.rows { list-style: none; display: grid; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px dashed var(--line); min-width: 0; }
.rows li:last-child { border-bottom: 0; }
.rows b { display: block; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows small { color: var(--muted); font-size: .8rem; }
.rows .no { font-size: .78rem; font-weight: 700; background: var(--tag); color: var(--tag-ink); padding: 3px 6px; border-radius: 6px; flex: none; }
.row-btn { cursor: pointer; }
.rows li.row-btn:hover, .rows .row-btn:hover b { color: var(--primary); }
.rank { width: 24px; height: 24px; border-radius: 50%; background: var(--sunk); display: grid; place-items: center; font-size: .78rem; font-weight: 800; flex: none; }
.hbars { list-style: none; display: grid; gap: 12px; }
.hbars li { display: grid; grid-template-columns: minmax(100px, 1fr) 1.3fr auto; gap: 10px; align-items: center; font-size: .86rem; }
.hb-l { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-t { height: 8px; background: var(--sunk); border-radius: 99px; overflow: hidden; }
.hb-t i { display: block; height: 100%; background: var(--primary); border-radius: 99px; }
.hbars b { font-size: .84rem; min-width: 52px; text-align: right; }
.feed { list-style: none; display: grid; gap: 2px; }
.feed li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-size: .9rem; }
.feed .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-top: 7px; flex: none; }
.feed small { display: block; color: var(--muted); font-size: .78rem; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-dasharray: 3 4; }
.chart .ylab { font-size: 11px; fill: var(--muted); text-anchor: end; font-family: var(--body); }
.chart .xlab { font-size: 11px; fill: var(--muted); text-anchor: middle; font-family: var(--body); }
.chart .bar { fill: color-mix(in srgb, var(--primary) 55%, var(--surface)); transition: fill .15s; }
.chart .bar.hl { fill: var(--primary); }
.chart .bar.b2 { fill: #e8a24a; }
.chart .bar-g:hover .bar { fill: var(--primary); }
.chart .bar-g:hover .bar.b2 { fill: #d27a1f; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 8px; }
.lg-a { background: color-mix(in srgb, var(--primary) 55%, var(--surface)); }
.lg-b { background: #e8a24a; }

/* Terima cucian */
.pos { display: grid; grid-template-columns: 1fr 400px; gap: 18px; align-items: start; }
.pos-main { display: grid; gap: 18px; min-width: 0; }
.step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.step-h h3 { flex: 1; font-size: 1.05rem; }
.step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--surface); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.cust-search { display: flex; gap: 10px; }
.cust-search .search { flex: 1; }
.cust-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 12px 0 6px; }
.cust-opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-2); text-align: left; min-width: 0; color: var(--tag-ink); }
.cust-opt:hover { border-color: var(--primary); background: var(--surface); }
.cust-opt > span:nth-child(2) { flex: 1; min-width: 0; }
.cust-opt b { display: block; font-size: .88rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cust-opt small { color: var(--muted); font-size: .76rem; }
.cust-opt .star { color: #d6a800; }
.cust-pick { display: flex; gap: 12px; align-items: flex-start; }
.cust-pick b { font-size: 1.05rem; }
.cust-pick small { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.note-pin { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-size: .82rem; background: var(--warn-soft); color: var(--warn); padding: 4px 9px; border-radius: 7px; font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tile { position: relative; display: grid; gap: 6px; align-content: start; text-align: left; padding: 14px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface-2); min-height: 112px; transition: border-color .15s, background .15s, transform .1s; }
.tile:hover { border-color: var(--primary); background: var(--surface); }
.tile:active { transform: scale(.98); }
.tile.on { border-color: var(--primary); background: var(--primary-soft); }
.tile-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--primary); }
.tile b { font-size: .9rem; line-height: 1.25; }
.tile-p { font-weight: 700; font-size: .88rem; color: var(--ink-2); }
.tile-p small { color: var(--muted); font-weight: 500; }
.tile-q { position: absolute; top: 10px; right: 10px; background: var(--primary); color: var(--on-primary); font-size: .74rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; }

.pos-nota { position: sticky; top: 86px; display: grid; gap: 14px; padding: 0 18px 18px; overflow: hidden; }
.nota-h { display: flex; justify-content: space-between; align-items: center; margin: 0 -18px; padding: 14px 18px 16px; background: var(--surface-2); border-bottom: 2px dashed var(--line-2); position: relative; }
.nota-h::before, .nota-h::after { content: ""; position: absolute; bottom: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); }
.nota-h::before { left: -8px; } .nota-h::after { right: -8px; }
.nota-h b { font-size: 1.05rem; }
.lines { list-style: none; display: grid; gap: 10px; }
.line { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.line-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.line-top b { font-size: .92rem; }
.line-bot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.line-sum { font-weight: 700; font-variant-numeric: tabular-nums; }
.line-note { color: var(--warn); font-size: .76rem; font-weight: 600; }
.line-empty { display: grid; place-items: center; text-align: center; gap: 8px; padding: 18px 6px; color: var(--muted); font-size: .88rem; border: 1px dashed var(--line-2); border-radius: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; height: 36px; background: var(--surface); }
.qty button { width: 34px; height: 100%; display: grid; place-items: center; color: var(--ink-2); }
.qty button:hover { background: var(--sunk); }
.qty input { width: 54px; height: 100%; border: 0; text-align: center; font-weight: 700; font-size: .95rem; background: none; -moz-appearance: textfield; outline: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty .unit { font-size: .78rem; color: var(--muted); padding-right: 4px; }
.field .qty { width: 100%; height: 42px; }
.field .qty input { flex: 1; min-width: 0; width: auto; height: 100%; border: 0; box-shadow: none; padding: 0; }
.nota-sec { display: grid; gap: 8px; }
.nota-sec.two { grid-template-columns: 1fr 1fr; gap: 12px; }
.lbl { font-size: .8rem; font-weight: 700; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.speeds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.speed-opt { display: grid; gap: 1px; text-align: left; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); }
.speed-opt b { font-size: .86rem; }
.speed-opt small { color: var(--muted); font-size: .72rem; }
.speed-opt .jadi { color: var(--ink-2); font-weight: 600; }
.speed-opt.on { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.totals { display: grid; gap: 6px; padding: 12px 14px; background: var(--surface-2); border-radius: 12px; font-size: .9rem; }
.totals div { display: flex; justify-content: space-between; gap: 8px; }
.totals .disc { color: var(--ok); }
.totals .grand { font-family: var(--display); font-size: 1.35rem; font-weight: 800; padding-top: 6px; border-top: 1px dashed var(--line-2); margin-top: 2px; }
.change { display: flex; justify-content: space-between; font-weight: 700; color: var(--ok); font-size: .92rem; min-height: 1.2em; }
.change.kurang { color: var(--bad); }
.pills.cash .pill { flex: 1; justify-content: center; }
.warn-box, .bad-box, .note-box { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; font-size: .86rem; }
.warn-box { background: var(--warn-soft); color: var(--warn); }
.bad-box { background: var(--bad-soft); color: var(--bad); font-weight: 600; }
.note-box { background: var(--sunk); color: var(--ink-2); }
.warn-box svg, .bad-box svg, .note-box svg { margin-top: 1px; }

/* Papan cucian */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar .search { width: 260px; }
.toolbar .pills { flex: 1; }
.hint-line { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin-top: -6px; }
.board { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; align-items: start; overflow-x: auto; padding-bottom: 8px; }
.col { background: var(--sunk); border-radius: 14px; padding: 10px; min-height: 240px; transition: background .15s, box-shadow .15s; }
.col.over { background: color-mix(in srgb, var(--c) 12%, var(--sunk)); box-shadow: inset 0 0 0 2px var(--c); }
.col.fokus { box-shadow: inset 0 0 0 2px var(--c); }
.col header { display: flex; align-items: center; gap: 7px; padding: 4px 4px 10px; flex-wrap: wrap; }
.col header b { font-size: .9rem; }
.col-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.col-n { background: var(--surface); border-radius: 99px; padding: 0 8px; font-size: .76rem; font-weight: 800; }
.col header small { margin-left: auto; color: var(--muted); font-size: .76rem; }
.col-body { display: grid; gap: 8px; }
.col-empty { text-align: center; color: var(--muted); font-size: .82rem; padding: 24px 0; border: 1px dashed var(--line-2); border-radius: 10px; }
.tag-card { position: relative; background: var(--surface); border-radius: 11px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; cursor: grab; transition: box-shadow .15s, transform .15s; }
.tag-card:hover { box-shadow: var(--shadow); }
.tag-card.dragging { opacity: .45; }
.tag-card::before { content: ""; position: absolute; top: 12px; right: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--sunk); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); }
.tag-card.late { border-color: color-mix(in srgb, var(--bad) 45%, var(--line)); }
.tag-card.late::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--bad); }
.tc-body { display: grid; gap: 4px; width: 100%; text-align: left; padding: 11px 12px 10px; }
.tc-top { display: flex; align-items: center; gap: 6px; padding-right: 16px; }
.tc-no { font-weight: 800; font-size: .95rem; display: inline-flex; align-items: baseline; gap: 6px; }
.tc-no small { font-family: var(--body); font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: 0; }
.tc-name { font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-meta { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.tc-bot { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 3px; flex-wrap: wrap; }
.tc-next { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 8px; border-top: 1px dashed var(--line); font-size: .8rem; font-weight: 700; color: var(--c, var(--primary)); background: var(--surface-2); }
.col .tc-next { color: var(--c); }
.tc-next:hover { background: color-mix(in srgb, var(--c) 10%, var(--surface)); }
.tc-acts { display: flex; gap: 6px; padding: 8px 10px 10px; border-top: 1px dashed var(--line); }
.tc-acts .btn { flex: 1; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; align-items: center; }
.tabs button { padding: 10px 14px; font-weight: 600; font-size: .88rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-color: var(--primary); }
.tabs .pill { margin-left: auto; }

/* Tabel */
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tbl th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2); }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td small { display: block; color: var(--muted); font-size: .76rem; }
.tbl td .mono { font-size: .82rem; font-weight: 700; }
.tbl tr.row-btn:hover td { background: var(--surface-2); }
.tbl tr.late td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl.mini { font-size: .88rem; }
.tbl.mini td { padding: 8px 0; }
.tbl.mini tr.tot td { font-weight: 800; border-top: 1px solid var(--line-2); }
.tbl.mini tr.paid td { color: var(--ok); }
.tbl.mini tr.due-row td { color: var(--bad); font-size: 1rem; }
.tbl.mini tr.ok-row td { color: var(--ok); }
.tbl.mini tr.ok-row svg { display: inline-block; }
.tbl.edit td { padding: 6px 10px; }
.inline { width: 100%; border: 1px solid transparent; background: none; border-radius: 8px; padding: 6px 8px; font-weight: 600; }
.inline:hover { border-color: var(--line-2); }
.inline:focus { outline: 0; border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 3px var(--primary-soft); }
.inline.num { max-width: 110px; }
.suffix { display: inline-flex; align-items: center; gap: 4px; }
.suffix .inline { max-width: 70px; }
.card > .btn.sm { margin-top: 12px; }
.who { display: flex; align-items: center; gap: 10px; }
.who b { display: block; }
.switch { position: relative; display: inline-block; width: 38px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line-2); border-radius: 99px; transition: background .15s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { transform: translateX(16px); }

/* Laporan & lainnya */
.stackbar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 2px; }
.stackbar i, .legend-list i { display: block; }
.m-tunai { background: var(--primary); } .m-qris { background: #e8a24a; } .m-transfer { background: #6b8fd6; } .m-saldo { background: #bb3f78; }
.legend-list { list-style: none; display: grid; gap: 8px; margin-top: 14px; font-size: .88rem; }
.legend-list li { display: flex; align-items: center; gap: 8px; }
.legend-list i { width: 10px; height: 10px; border-radius: 3px; }
.legend-list b { margin-left: auto; }
.legend-list small { color: var(--muted); width: 38px; text-align: right; }
.hours { display: flex; align-items: flex-end; gap: 4px; height: 120px; }
.hours span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.hours i { display: block; width: 100%; background: color-mix(in srgb, var(--primary) 60%, var(--surface)); border-radius: 4px 4px 2px 2px; }
.hours span:hover i { background: var(--primary); }
.hours small { font-size: .7rem; color: var(--muted); height: 14px; }
.facts-list { list-style: none; display: grid; }
.facts-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.facts-list li:last-child { border-bottom: 0; }
.facts-list span { color: var(--muted); }
.sum-box { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.sum-box b { font-family: var(--display); font-size: 1.3rem; }
.card > .pills + .form { margin-top: 18px; }
.danger-zone { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.danger-zone h3 { font-size: 1rem; }

/* Modal & laci */
.layer { position: fixed; inset: 0; z-index: 100; display: flex; }
.scrim { position: absolute; inset: 0; background: rgba(9, 22, 21, .45); animation: muncul .18s; }
.sheet { position: relative; background: var(--surface); display: flex; flex-direction: column; max-height: 100%; box-shadow: var(--shadow-lg); }
.layer.modal { align-items: center; justify-content: center; padding: 20px; }
.layer.modal .sheet { width: min(460px, 100%); border-radius: 18px; max-height: calc(100vh - 40px); animation: naik .2s; }
.layer.modal.lebar .sheet { width: min(620px, 100%); }
.layer.laci { justify-content: flex-end; }
.layer.laci .sheet { width: min(480px, 100%); height: 100%; animation: geser .22s; }
.layer.out .scrim { opacity: 0; transition: opacity .18s; }
.layer.out .sheet { opacity: 0; transition: opacity .18s; }
@keyframes muncul { from { opacity: 0; } }
@keyframes naik { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes geser { from { transform: translateX(40px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.sheet-head > div:first-child, .sheet-head h3:first-child { flex: 1; min-width: 0; }
.sheet-head h3 { font-size: 1.15rem; }
.sheet-body { padding: 18px 20px; overflow-y: auto; flex: 1; }
.sheet-body > * + * { margin-top: 14px; }
.sheet-body > h4 + * { margin-top: 0; }
.sheet-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; background: var(--surface-2); }
.sheet-foot.col { flex-direction: column; align-items: stretch; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row .btn { flex: 1 1 auto; }
.lead-text { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts > div { background: var(--surface-2); padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.facts span { font-size: .74rem; color: var(--muted); }
.facts b { font-size: .88rem; }
.timeline { list-style: none; display: grid; position: relative; }
.timeline li { display: flex; gap: 12px; padding: 0 0 14px; position: relative; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .tl-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); flex: none; display: grid; place-items: center; color: #fff; position: relative; z-index: 1; }
.timeline b { display: block; font-size: .9rem; }
.timeline small { font-size: .78rem; }
.timeline li.done { color: var(--ink); }
.timeline li.done .tl-dot { background: var(--primary); border-color: var(--primary); }
.timeline li.done::before { background: var(--primary); }
.timeline li.now { color: var(--ink); }
.timeline li.now .tl-dot { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.timeline li.now .tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.menu-sheet { display: grid; gap: 4px; }
.menu-sheet a, .menu-sheet button { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 11px; text-decoration: none; font-weight: 600; text-align: left; }
.menu-sheet a:hover, .menu-sheet button:hover { background: var(--sunk); }
.saved-top { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--ok-soft); color: var(--ok); border-radius: 12px; }
.saved-top b { display: block; font-size: 1.05rem; color: var(--ink); }
.saved-top span { font-size: .85rem; color: var(--ink-2); }
.kembali-box { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--tag); color: var(--tag-ink); }
.kembali-box b { font-family: var(--display); font-size: 1.6rem; }
.pay-sum { text-align: center; padding: 14px; background: var(--surface-2); border-radius: 12px; display: grid; gap: 2px; }
.pay-sum span, .pay-sum small { color: var(--muted); font-size: .84rem; }
.pay-sum b { font-family: var(--display); font-size: 2rem; }
.qris { display: grid; justify-items: center; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: #111; }
.qris svg { width: 180px; height: 180px; }
.qris small { color: #666; font-size: .76rem; }
#b-isi { display: grid; gap: 14px; }

/* Nota cetak (dipakai untuk pratinjau & printer) */
.receipt-preview { background: var(--sunk); border-radius: 12px; padding: 16px; display: flex; justify-content: center; max-height: 460px; overflow: auto; }
.receipt { width: 280px; background: #fff; color: #111; font-family: var(--mono); font-size: 11.5px; line-height: 1.45; padding: 16px 14px; box-shadow: 0 2px 10px rgba(0, 0, 0, .1); letter-spacing: -.01em; }
.rc-head { text-align: center; display: grid; gap: 1px; }
.rc-head b { font-size: 14px; font-family: var(--display); letter-spacing: 0; }
.rc-no { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 6px; padding: 6px 0; border-top: 1px dashed #999; border-bottom: 1px dashed #999; }
.rc-no b { font-size: 13px; }
.rc-speed { background: #111; color: #fff; padding: 1px 6px; font-weight: 700; font-size: 10px; }
.receipt table { width: 100%; border-collapse: collapse; }
.receipt td { padding: 1px 0; vertical-align: top; }
.receipt td.r { text-align: right; white-space: nowrap; padding-left: 6px; }
.receipt .sub { color: #555; padding-left: 8px; }
.receipt tr.big td { font-weight: 700; font-size: 12.5px; padding-top: 3px; }
.receipt hr { border: 0; border-top: 1px dashed #999; margin: 6px 0; }
.rc-meta { font-size: 10.5px; }
.rc-qr { display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; font-size: 10px; }
.rc-qr svg { width: 64px; height: 64px; }
.rc-foot { text-align: center; font-size: 10px; color: #444; border-top: 1px dashed #999; padding-top: 6px; }
.labels { display: grid; gap: 8px; }
.bag-label { width: 280px; border: 2px solid #111; padding: 8px 10px; font-family: var(--mono); color: #111; background: #fff; font-size: 11px; page-break-inside: avoid; }
.bl-top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed #111; padding-bottom: 4px; }
.bl-top b { font-size: 18px; }
.bl-name { font-family: var(--display); font-weight: 800; font-size: 15px; margin: 4px 0 2px; letter-spacing: 0; }
.bl-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.bl-speed { background: #111; color: #fff; padding: 1px 6px; }
.bl-qr svg { width: 48px; height: 48px; }
#print-area { display: none; }
@media print {
  @page { margin: 0; }
  body { background: #fff; }
  body > *:not(#print-area) { display: none !important; }
  #print-area { display: block; }
  .receipt, .bag-label { box-shadow: none; width: 58mm; padding: 3mm; }
  body[data-kertas="80"] .receipt, body[data-kertas="80"] .bag-label { width: 80mm; }
}

/* Notifikasi */
.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: flex; align-items: center; gap: 8px; background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 12px; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-lg); animation: naik .2s; transition: opacity .3s, transform .3s; }
.toast.ok svg { color: #6ee7b7; }
.toast.bad { background: var(--bad); color: #fff; }
.toast.out { opacity: 0; transform: translateY(6px); }

/* Halaman cek status cucian (untuk pelanggan) */
.track { max-width: 520px; margin: 0 auto; padding: 26px 16px 40px; display: grid; gap: 18px; }
.track-brand { display: flex; gap: 12px; align-items: center; }
.track-brand b { display: block; font-family: var(--display); font-size: 1.1rem; }
.track-brand small { color: var(--muted); font-size: .82rem; }
.track-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.track-card h1 { font-size: 1.5rem; }
.track-card > p.muted { margin-top: -10px; }
.track-top { display: flex; justify-content: space-between; align-items: center; }
.track-top .mono { font-weight: 700; background: var(--tag); color: var(--tag-ink); padding: 3px 8px; border-radius: 6px; font-size: .85rem; }
.track-steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.track-steps li { display: grid; justify-items: center; text-align: center; gap: 5px; position: relative; color: var(--muted); }
.track-steps li::before { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.track-steps li:first-child::before { display: none; }
.track-steps li.done::before, .track-steps li.now::before { background: var(--primary); }
.ts-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); display: grid; place-items: center; color: #fff; position: relative; z-index: 1; }
.track-steps li.done .ts-dot { background: var(--primary); border-color: var(--primary); }
.track-steps li.now .ts-dot { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.track-steps li.now .ts-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.track-steps b { font-size: .7rem; line-height: 1.2; }
.track-steps li.now b, .track-steps li.done b { color: var(--ink); }
.track-steps small { font-size: .64rem; }
.track .facts { grid-template-columns: 1fr 1fr; }
.track-form { display: flex; gap: 8px; }
.track-form input { flex: 1; font-family: var(--mono); }
.track-form .btn { height: 42px; }
.track-foot { text-align: center; font-size: .8rem; color: var(--muted); }
.track-foot a { color: var(--primary); }
.track .muted a { color: var(--primary); }

/* Responsif */
@media (max-width: 1240px) {
  .pos { grid-template-columns: 1fr 360px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1060px) {
  :root { --side-w: 76px; }
  .side { padding: 16px 10px; align-items: center; }
  .side-brand > div, .nav-item span, .side-foot > div { display: none; }
  .side-brand { padding: 4px 0 18px; }
  .nav-item { justify-content: center; padding: 11px; position: relative; }
  .nav-item .count { position: absolute; top: 2px; right: 2px; display: block; font-size: .64rem; padding: 0 5px; }
  .side-foot { flex-direction: column; padding: 12px 0 0; }
  .pos { grid-template-columns: 1fr; }
  .pos-nota { position: static; }
  .grid-2, .grid-2.wide-left, .grid-2.wide-right { grid-template-columns: 1fr; }
  .top-cta span { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .login { grid-template-columns: 1fr; }
  .login-art { padding: 24px 20px; grid-template-rows: auto; gap: 16px; }
  .drum { display: none; }
  .login-copy h1 { font-size: 1.45rem; }
  .login-copy p { font-size: .92rem; }
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding: 0 14px 96px; }
  .top { flex-wrap: wrap; gap: 10px; padding: 14px 0 12px; }
  .top-title h1 { font-size: 1.25rem; }
  .top-search { order: 3; width: 100%; }
  .top-cta { height: 36px; padding: 0 12px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a, .bottom-nav button { display: grid; justify-items: center; gap: 2px; padding: 4px 0; font-size: .68rem; font-weight: 600; color: var(--muted); text-decoration: none; }
  .bottom-nav .on { color: var(--primary); }
  .bottom-nav .utama svg { background: var(--primary); color: var(--on-primary); border-radius: 12px; padding: 6px; width: 38px; height: 32px; margin-top: -4px; }
  .kpis, .kpis.three { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 12px 14px; }
  .kpi-v { font-size: 1.25rem; }
  .kpi small { font-size: .74rem; }
  .flow { grid-template-columns: repeat(5, minmax(96px, 1fr)); overflow-x: auto; }
  .flow-step { padding: 12px 10px 12px 16px; }
  .flow-step b { font-size: 1.5rem; }
  .hello .btn { width: 100%; }
  .card { padding: 14px; }
  .cust-search { flex-direction: column; }
  .cust-search .search { flex: none; }
  .cust-results { grid-template-columns: 1fr; }
  .hal-cucian .top-search, .hal-pelanggan .top-search { display: none; }
  .rows li.row-btn { flex-wrap: wrap; row-gap: 4px; }
  .rows li.row-btn .grow { flex-basis: calc(100% - 60px); }
  .rows li.row-btn .grow + * { margin-left: 50px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { min-height: 96px; padding: 12px; }
  .pos-nota { padding: 0 14px 14px; }
  .nota-h { margin: 0 -14px; padding: 12px 14px; }
  .toolbar .search { width: 100%; }
  .toolbar .pills { flex: none; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .board { grid-template-columns: repeat(5, 82%); scroll-snap-type: x mandatory; margin: 0 -14px; padding: 0 14px 8px; }
  .col { scroll-snap-align: start; }
  .hint-line { display: none; }
  .tbl th, .tbl td { padding: 10px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .layer.modal { padding: 0; align-items: flex-end; }
  .layer.modal .sheet { width: 100%; border-radius: 18px 18px 0 0; max-height: 92vh; }
  .layer.modal.lebar .sheet { width: 100%; }
  .two, .nota-sec.two { grid-template-columns: 1fr; }
  .hbars li { grid-template-columns: 1fr 1fr auto; }
  .toasts { bottom: 86px; }
  .track-steps b { font-size: .62rem; }
  .track-steps small { display: none; }
}

/* Layar memuat & pemberitahuan */
.memuat, .info-page { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; color: var(--muted); }
.info-page h1 { font-size: 1.5rem; color: var(--ink); }
.info-page p { max-width: 420px; }
.memuat .logo-dot { animation: denyut 1.2s ease-in-out infinite; }
@keyframes denyut { 50% { transform: scale(.9); opacity: .7; } }

/* Tombol akun di sidebar */
.side-me { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: left; color: inherit; border-radius: 10px; padding: 2px; }
.side-me:hover { background: var(--side-2); }
.side-me > div { min-width: 0; }
.pin-ok { margin-top: 14px; }
.keypad > span { display: block; }

/* Form cek status & pemasangan */
.track-form.col { flex-direction: column; }
.track-form input { height: 44px; }
.pasang h3 { font-size: 1rem; margin-top: 6px; }
.pasang .form { gap: 12px; }
@media (max-width: 1060px) { .side-me > div { display: none; } }
