.pm-backdrop{z-index:260;padding:16px}.pm{background:var(--card,#fff);border-radius:28px;flex-direction:column;width:min(1040px,100%);max-height:calc(100dvh - 32px);display:flex;overflow:hidden;box-shadow:0 30px 80px -30px #140e2873}.pm-body{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:0;display:grid;overflow:auto}.pm-left{border-right:1px solid var(--line);padding:26px 24px 24px 28px}.pm-right{flex-direction:column;gap:14px;min-width:0;padding:26px 28px 24px 24px;display:flex}.pm-head{align-items:center;gap:16px;margin-bottom:18px;display:flex}.pm-thumb{background:var(--bg);width:84px;height:84px;color:var(--ink-soft);border-radius:18px;flex:none;place-items:center;display:grid;overflow:hidden}.pm-thumb>*{border-radius:18px}.pm-head h2{letter-spacing:-.01em;margin:0;font-size:25px;font-weight:800}.pm-head p{color:var(--ink-soft);margin:2px 0 4px;font-size:16px}.pm-head small{color:var(--ink-soft);align-items:center;gap:6px;font-size:13px;display:inline-flex}.pm-sum{border:1px solid var(--line);border-radius:18px;overflow:hidden}.pm-items{max-height:280px;margin:0;padding:8px 16px;list-style:none;display:grid;overflow:auto}.pm-items li{align-items:center;gap:12px;padding:8px 0;display:flex}.pm-items li>:first-child{border-radius:12px;flex:none}.pm-noimg{background:var(--bg);border-radius:12px;width:52px;height:52px}.pm-item-name{flex:1;gap:2px;min-width:0;display:grid}.pm-item-name b{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;overflow:hidden}.pm-item-name small{color:var(--ink-soft);font-size:12px}.pm-items li>b{white-space:nowrap;font-size:13.5px}.pm-lines{border-top:1px solid var(--line);gap:8px;margin:0 16px;padding:12px 0;display:grid}.pm-lines div{justify-content:space-between;gap:12px;font-size:13.5px;display:flex}.pm-lines dt{color:var(--ink)}.pm-lines dd{white-space:nowrap;margin:0}.pm-total{background:var(--accent-soft);justify-content:space-between;align-items:baseline;gap:12px;padding:14px 16px;display:flex}.pm-total span{font-size:19px;font-weight:800}.pm-total b{white-space:nowrap;font-size:25px;font-weight:800}.pm-right-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.pm-right-head h3{margin:0;font-size:19px;font-weight:800}.pm-x{border:1px solid var(--line);border-radius:12px}.pm-methods{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.pm-methods button{border:1.5px solid var(--line);background:var(--card,#fff);color:var(--ink);font:inherit;cursor:pointer;border-radius:16px;justify-items:center;gap:8px;padding:16px 6px;font-size:13.5px;font-weight:600;display:grid}.pm-methods button.on{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-ink,var(--accent))}.pm-methods button:hover:not(.on){border-color:var(--accent)}.pm-cash{gap:8px;display:grid}.pm-cash>b{font-size:14px}.pm-cash label{color:var(--ink-soft);margin-top:-4px;font-size:12px}.pm-cash-in{border:2px solid var(--accent);background:var(--card,#fff);border-radius:16px;align-items:center;gap:8px;padding:0 14px 0 18px;display:flex}.pm-cash-in.short{border-color:#d24b3e}.pm-cash-in input{min-width:0;height:64px;font:inherit;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:29px;font-weight:600}.pm-cash-in button{color:#fff;cursor:pointer;background:#c9c5d3;border:0;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;display:grid}.pm-quick{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.pm-quick button{border:1px solid var(--line);background:var(--card,#fff);height:46px;font:inherit;color:var(--ink);cursor:pointer;white-space:nowrap;border-radius:14px;padding:0 6px;font-size:13px}.pm-quick button.on{background:var(--accent-soft);color:var(--accent-ink,var(--accent));border-color:#0000;font-weight:600}.pm-change{background:var(--accent-soft);color:var(--accent-ink,var(--accent));border-radius:16px;align-items:center;gap:12px;margin-top:6px;padding:18px 20px;display:flex}.pm-change span{color:var(--ink);flex:1;font-size:14px}.pm-change b{white-space:nowrap;font-size:25px;font-weight:800}.pm-change.short{color:#c0392b;background:#fdecea}.pm-hint{background:var(--bg);color:var(--ink-soft);border-radius:16px;margin:0;padding:16px;font-size:13px;line-height:1.5}.pm-right .ks-status{margin-top:2px}.pm-foot{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:18px 28px;display:flex}.pm-cancel{border:1px solid var(--line);background:var(--card,#fff);height:56px;font:inherit;color:var(--ink);cursor:pointer;border-radius:16px;align-items:center;gap:10px;padding:0 26px;font-size:15px;font-weight:700;display:inline-flex}.pm-confirm{color:#fff;height:56px;font:inherit;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#6d28d9);border:0;border-radius:16px;flex:0 600px;justify-content:center;align-items:center;gap:12px;padding:0 22px;font-size:15.5px;font-weight:800;display:inline-flex;box-shadow:0 16px 30px -16px #6d28d9cc}.pm-confirm:disabled{opacity:.5;cursor:default}@media (max-width:860px){.pm-backdrop{align-items:flex-end;padding:0}.pm{border-radius:24px 24px 0 0;max-height:96dvh}.pm-body{grid-template-columns:minmax(0,1fr)}.pm-left{border-right:0;padding:20px 16px 8px}.pm-right{padding:12px 16px 16px}.pm-right-head{order:-1}.pm-head{margin-bottom:12px}.pm-thumb{width:60px;height:60px}.pm-head h2{font-size:20px}.pm-head p{font-size:14px}.pm-items{max-height:180px}.pm-methods button{padding:12px 4px;font-size:12px}.pm-quick{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-cash-in input{height:54px;font-size:25px}.pm-change{padding:14px 16px}.pm-change b,.pm-total b{font-size:21px}.pm-foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.pm-cancel{height:52px;padding:0 16px}.pm-confirm{flex:1;height:52px;font-size:14px}.pm-x,.pm-confirm-amt{display:none}.pm-confirm{white-space:nowrap}}.pm-rp{color:var(--ink-soft);flex:none;font-size:21px;font-weight:600}@media (max-width:640px){.pm-rp{font-size:18px}}.pm-qris{justify-items:center;gap:6px;margin:4px 0 10px;display:grid}.pm-qris img{border:1px solid var(--line);background:#fff;border-radius:12px;width:200px;height:200px}.pm-qris small{color:var(--ink-soft);text-align:center;font-size:11.5px}
