/* Compact, task-first surface built on JAFA's existing light palette. */
:root{--cash-ink:#172b45;--cash-muted:#66788e;--cash-line:#e6edf5;--cash-blue:#2563eb}
[hidden]{display:none!important}.cashier-home{max-width:1220px;margin:0 auto;color:var(--cash-ink);padding:28px 32px 96px}.cashier-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.eyebrow{text-transform:uppercase;letter-spacing:1.3px;font-size:10px;font-weight:750;color:#708197;margin:0 0 8px}.cashier-heading h1,.cashier-settings-heading h1{font-size:30px;letter-spacing:-1.1px;line-height:1.15;margin:0 0 8px;font-weight:750}.cashier-heading p:not(.eyebrow),.cashier-settings-heading p:not(.eyebrow){font-size:13px;color:var(--cash-muted);margin:0}.cashier-heading .cashier-date{margin-top:6px;font-size:11px;letter-spacing:.1px;color:#718197}.outlet-pill{display:flex;align-items:center;gap:6px;background:white;border:1px solid var(--cash-line);border-radius:24px;padding:10px 12px;max-width:240px;font:inherit;font-size:11px;color:#53667e;cursor:pointer}.outlet-pill span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outlet-pill .material-symbols-rounded{font-size:18px}.cashier-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:22px;align-items:start}.cashier-work{display:grid;gap:16px;min-width:0}.cashier-primary{display:flex;align-items:center;gap:14px;background:var(--cash-blue);color:white;border:0;border-radius:16px;padding:20px;text-align:left;cursor:pointer;box-shadow:0 6px 16px #2563eb20;transition:background .15s,transform .15s}.cashier-primary:hover{background:#1d4ed8}.cashier-primary:active{transform:scale(.99)}.cashier-primary>span:first-child{background:#ffffff22;border-radius:10px;padding:8px}.cashier-primary>span:nth-child(2){flex:1}.cashier-primary strong{display:block;font-size:18px;font-weight:700}.cashier-primary small{display:block;margin-top:4px;font-size:12px;color:#dce8ff}.cashier-search{display:flex;align-items:center;gap:8px;border:1px solid var(--cash-line);border-radius:12px;background:white;padding:6px 10px;min-height:52px}.cashier-search>.material-symbols-rounded{color:#8494a8;font-size:21px}.cashier-search input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:12px;outline:none;padding:10px 0}.cashier-search:focus-within{box-shadow:0 0 0 3px #2563eb18;border-color:#90b4f8}.cashier-search button{border:0;background:#eff5ff;color:#2857a7;font:inherit;font-size:12px;min-height:40px;padding:0 10px;border-radius:8px;cursor:pointer;display:flex;align-items:center;gap:4px}.cashier-search button .material-symbols-rounded{display:none}.cashier-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cashier-shortcuts button{font:inherit;font-size:11px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:6px;color:#52657c;border:1px solid var(--cash-line);border-radius:10px;background:#fff;padding:12px 4px;min-height:46px;cursor:pointer}.cashier-shortcuts .material-symbols-rounded{font-size:18px;color:#5278b8}.cashier-panel{background:#fff;border:1px solid var(--cash-line);border-radius:16px;padding:20px;min-width:0}.cashier-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.cashier-section-title h2{font-size:14px;font-weight:750;margin:0;letter-spacing:-.2px}.cashier-section-title>span{font-size:11px;color:var(--cash-muted)}.cashier-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.cashier-counts button{position:relative;background:transparent;border:0;text-align:left;cursor:pointer;padding:4px 8px 10px;font:inherit;border-radius:8px}.cashier-counts button:hover{background:#f7f9fc}.cashier-counts strong{display:block;font-size:28px;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.cashier-counts button>span{display:block;font-size:11px;color:var(--cash-muted);margin-top:4px}.queue-dot{display:block;width:6px;height:6px;border-radius:50%;margin-bottom:8px}.waiting{background:#efb34b}.processing{background:#5085ee}.ready{background:#35b494}.cashier-flow{display:flex;gap:3px;height:5px;background:#f0f4f9;border-radius:5px;overflow:hidden;margin:4px 0 16px}.cashier-flow span{width:0;transition:width .45s ease-out;border-radius:5px}.cashier-flow span:nth-child(1){background:#efb34b}.cashier-flow span:nth-child(2){background:#5085ee}.cashier-flow span:nth-child(3){background:#35b494}.cashier-deadline{width:100%;display:flex;gap:7px;align-items:center;background:#fff9ef;border:0;padding:10px;border-radius:8px;font:inherit;font-size:10px;text-align:left;color:#8a642c;cursor:pointer;min-height:42px}.cashier-deadline>span:nth-child(2){flex:1}.cashier-deadline .material-symbols-rounded{font-size:16px}.cashier-text-button{border:0;background:transparent;font:inherit;font-size:11px;font-weight:650;color:#3267ba;padding:8px;min-height:40px;cursor:pointer}.cashier-shift-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.cash-shift-card p{font-size:12px;color:var(--cash-muted);line-height:1.6;margin:0 0 12px}.cashier-tabs{display:flex;background:#f4f7fb;padding:4px;border-radius:9px;gap:4px;margin-bottom:6px}.cashier-tabs button{flex:1;border:0;background:transparent;min-height:36px;border-radius:6px;font:inherit;font-size:12px;color:#6b7d94;cursor:pointer}.cashier-tabs button[aria-pressed=true]{background:#fff;color:#234e91;box-shadow:0 1px 4px #233f6010;font-weight:700}.cashier-order{display:flex;width:100%;text-align:left;align-items:center;gap:10px;background:transparent;border:0;border-bottom:1px solid #edf1f6;padding:18px 0;font:inherit;cursor:pointer}.cashier-order:hover{background:#f9fbff}.cashier-order-avatar{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:12px;background:#edf3fd;color:#5379b3;font-size:14px;font-weight:650}.cashier-order-main{min-width:0;flex:1}.cashier-order-main strong{display:block;font-size:12px;overflow-wrap:anywhere}.cashier-order-main small{display:block;font-size:10px;color:#7f90a5;margin-top:4px}.cashier-order-meta{display:block;font-size:10px;color:#6d7f95;margin-top:5px}.cashier-order-end{text-align:right;flex-shrink:0}.cashier-order-end strong{display:block;font-size:12px}.cashier-order-end small{display:inline-block;font-size:9px;border-radius:4px;padding:3px 6px;margin-top:5px}.cashier-order-end>.material-symbols-rounded{display:none}.is-paid{background:#eaf7f1;color:#287b5d}.is-due{background:#fff3e5;color:#a16927}.cashier-empty{text-align:center;padding:28px 12px;color:#7d8da0;font-size:12px;line-height:1.6}.cashier-empty>.material-symbols-rounded{display:block;font-size:30px;margin-bottom:12px;color:#a2b9cd}.cashier-empty strong{display:block;color:#52677e;font-weight:650}.cashier-empty p{max-width:240px;margin:8px auto 0}.cashier-list-hint{font-size:10px;color:#8291a3;margin:14px 0 0;line-height:1.6}.cashier-setting-row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:white;border:0;border-bottom:1px solid #edf1f6;padding:17px 4px;font:inherit;color:var(--cash-ink);cursor:pointer}.cashier-setting-row:last-child{border:0}.cashier-setting-row>span:nth-child(2){flex:1;min-width:0}.cashier-setting-row strong{display:block;font-size:13px;font-weight:650}.cashier-setting-row small{display:block;font-size:11px;color:#7b8a9c;margin-top:5px;line-height:1.5}.cashier-setting-row>.material-symbols-rounded:last-child{font-size:18px;color:#a4b0bf}.cashier-setting-row .setting-icon{color:#5279b5;background:#eff5ff;padding:10px;border-radius:10px;font-size:20px}.cashier-settings-heading{margin:4px 0 24px}.cashier-settings-list{padding:4px 16px}.cashier-owner-area{margin:30px 0 22px}.owner-access-badge{background:#edf3fb;border-radius:6px;padding:6px 8px;color:#667e9e;font-size:10px}.cashier-owner-area h2{font-size:18px}.owner-tools{font-size:12px;margin:0 0 18px;border-bottom:1px solid #e8eef5;padding-bottom:14px}.owner-tools summary{cursor:pointer;color:#5c718a;min-height:32px;display:list-item}.owner-tools .ws-actions{margin-top:12px}.ws-heading h2{font-size:24px!important}.ws-heading .muted{font-size:12px;line-height:1.7}.ws-heading small{font-size:10px;letter-spacing:1px}.ws .ws-kpi{font-size:24px}.ws button,.ws select{font-size:12px}.ws .ws-card small{font-size:11px;line-height:1.6}.ws-label{font-size:12px}.ws .ws-chart{height:240px}.cashier-settings-heading{animation:cashier-enter .2s ease-out}.cashier-home button:focus-visible,.cashier-setting-row:focus-visible{outline:3px solid #8bb3fc;outline-offset:3px}@keyframes cashier-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:768px){.cashier-home{padding:20px 16px calc(64px + env(safe-area-inset-bottom,0px))!important}.cashier-layout{grid-template-columns:1fr;gap:16px}.cashier-heading{display:block;margin-bottom:20px}.cashier-heading h1{font-size:27px}.cashier-heading .outlet-pill{margin-top:14px;padding:7px 10px;max-width:100%;min-height:32px}.cashier-primary{padding:16px;border-radius:14px}.cashier-primary strong{font-size:16px}.cashier-panel{padding:16px;border-radius:14px}.cashier-orders{grid-row:2}.cashier-work .cash-shift-card{order:5}.topbar{padding:10px 16px!important;min-height:60px!important}.topbar h2{font-size:17px!important;font-weight:700!important}.topbar-left{gap:10px!important;min-width:0}.topbar-right .user-chip{padding:4px!important;background:transparent!important}.topbar-right .user-chip>span:last-child{display:none!important}.topbar-right .avatar-sm{width:32px!important;height:32px!important}.topbar-right .theme-top-btn{display:none!important}.bottom-nav-item{min-height:54px!important}.bottom-nav-item span:last-child{font-size:10px!important}.bottom-nav-item.active{color:#2563eb!important}.ws.page-content{padding:20px 16px 100px!important}.ws-heading h2{font-size:23px!important}.ws .ws-kpi{font-size:20px;letter-spacing:-.6px}.ws .ws-grid{gap:10px}.ws .ws-card{padding:14px}.ws .ws-card h3{font-size:13px}.ws .ws-heading{margin-bottom:16px;gap:10px}.ws .ws-heading p{margin:7px 0 0}.ws .ws-grid .ws-card{min-height:118px}.ws .ws-charts{gap:12px;margin:12px 0}.ws .ws-chart{height:200px}#page-pengaturan{padding:20px 16px 100px!important}.cashier-settings-heading h1{font-size:25px}}
.branches-page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px auto 20px;max-width:1220px}.branches-page-header h1{margin:0 0 6px;font-size:30px;letter-spacing:-1px}.branches-page-header p:not(.eyebrow){margin:0;color:var(--cash-muted);font-size:13px}.branches-card{max-width:1220px;margin:0 auto}.branches-card-help{margin:4px 0 0;color:var(--cash-muted);font-size:12px}.branches-card .card-header{align-items:flex-start}.branches-card table th{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:var(--cash-muted)}.branches-mobile-list{display:none}.branches-table-wrap{overflow-x:auto}.branch-mobile-card{min-width:0;padding:16px;border:1px solid var(--cash-line);border-radius:14px;background:#fff;box-shadow:0 4px 14px #1a36500a}.branch-mobile-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.branch-mobile-card-head h3{min-width:0;margin:0;color:var(--cash-ink);font-size:16px;line-height:1.35;overflow-wrap:anywhere}.branch-mobile-details{display:grid;gap:12px;margin:16px 0}.branch-mobile-details>div{min-width:0}.branch-mobile-details dt{margin-bottom:4px;color:var(--cash-muted);font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.65px}.branch-mobile-details dd{margin:0;color:#30455d;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.branch-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;border-top:1px solid #edf1f6;padding-top:12px}.branch-mobile-actions .btn{min-height:44px;white-space:nowrap}
@media(max-width:768px){.branches-page-header{display:block;margin:0 16px 16px}.branches-page-header h1{font-size:25px}.branches-page-header .btn{width:100%;margin-top:14px}.branches-card{margin:0 16px}.branches-card .card-body{padding:14px}.branches-table-wrap{display:none}.branches-mobile-list{display:grid;gap:12px}.branch-mobile-card .badge{flex-shrink:0}#page-branches{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important}}
@media(prefers-reduced-motion:reduce){.cashier-home,.cashier-settings-heading{animation:none}.cashier-flow span,.cashier-primary{transition:none}}
.cashier-daily-summary{position:relative;overflow:hidden;display:grid;gap:12px;background:linear-gradient(145deg,#fff 0%,#f8fbff 100%);border-color:#dce7f3}.cashier-daily-summary::before{content:"";position:absolute;z-index:0;right:-54px;top:-72px;width:190px;height:150px;background:radial-gradient(ellipse at top right,#e8f2ff 0,rgba(232,242,255,0) 72%);pointer-events:none}.cashier-daily-summary>*{position:relative;z-index:1}.cashier-daily-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.cashier-summary-title,.cashier-summary-actions{display:flex;align-items:center;gap:8px;min-width:0}.cashier-summary-title h2{font-size:17px;line-height:1.2;margin:0;font-weight:760;letter-spacing:-.45px;color:#182d48;white-space:nowrap}.cashier-summary-title select{min-height:42px;max-width:122px;padding:0 26px 0 10px;border:1px solid #dfe8f3;border-radius:11px;background:#f3f7fd;color:#315a89;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.cashier-summary-title select:focus-visible,.cashier-summary-refresh:focus-visible{outline:3px solid #91b8f6;outline-offset:2px}.cashier-summary-refresh{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #e0e8f1;border-radius:12px;background:#fff;color:#315b88;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}.cashier-summary-refresh:hover:not(:disabled){background:#f1f6ff;border-color:#c7d9f1;transform:translateY(-1px)}.cashier-summary-refresh:disabled{cursor:wait;opacity:.78}.cashier-summary-refresh svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.cashier-summary-refresh.is-refreshing svg{animation:cashier-summary-spin .75s linear infinite}@keyframes cashier-summary-spin{to{transform:rotate(360deg)}}.cashier-summary-state{min-height:14px;margin:-5px 0 0;color:#5d7087;font-size:11px;line-height:1.3}.cashier-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.cashier-summary-grid[hidden]{display:none!important}.cashier-summary-item{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:68px;padding:12px 11px;background:transparent;border-top:1px solid #e8eef5;border-left:1px solid #e8eef5}.cashier-summary-item:nth-child(-n+3){border-top:0}.cashier-summary-item:nth-child(3n+1){border-left:0}.cashier-summary-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#eef4fd;color:#3c6da8}.cashier-summary-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.cashier-summary-item[data-tone="coral"] .cashier-summary-icon{background:#fff0eb;color:#cc644e}.cashier-summary-item[data-tone="green"] .cashier-summary-icon{background:#eaf7ef;color:#36845b}.cashier-summary-item[data-tone="teal"] .cashier-summary-icon{background:#eaf7f6;color:#31867e}.cashier-summary-item[data-tone="amber"] .cashier-summary-icon{background:#fff5e5;color:#a8752f}.cashier-summary-item[data-tone="navy"] .cashier-summary-icon{background:#edf1f8;color:#536a8b}.cashier-summary-copy{display:grid;gap:4px;min-width:0}.cashier-summary-copy small{color:#5d7087;font-size:11px;font-weight:650;line-height:1.15;letter-spacing:.12px}.cashier-summary-value{display:block;overflow:hidden;color:#172c47;font-size:clamp(14px,3.4vw,19px);font-weight:760;line-height:1.15;letter-spacing:-.4px;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.cashier-summary-value.is-loading{width:68px;height:17px;border-radius:6px;background:linear-gradient(90deg,#edf2f8 25%,#f8fafd 45%,#edf2f8 65%);background-size:220% 100%;animation:cashier-summary-skeleton 1.2s ease-in-out infinite;color:transparent}.cashier-summary-error{padding:13px 14px;border:1px solid #f2d8d1;border-radius:12px;background:#fff7f4;color:#8b4637;font-size:12px;line-height:1.45}@keyframes cashier-summary-skeleton{to{background-position:-220% 0}}@media(max-width:768px){.cashier-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cashier-summary-item:nth-child(-n+3){border-top:1px solid #e8eef5}.cashier-summary-item:nth-child(-n+2){border-top:0}.cashier-summary-item:nth-child(3n+1){border-left:1px solid #e8eef5}.cashier-summary-item:nth-child(2n+1){border-left:0}.cashier-summary-item:nth-child(2n){border-left:1px solid #e8eef5}.cashier-summary-item{min-height:72px;padding:12px 10px}.cashier-summary-value{font-size:clamp(15px,4vw,21px)}}@media(max-width:360px){.cashier-summary-title,.cashier-summary-actions{gap:6px}.cashier-summary-title h2{font-size:16px}.cashier-summary-title select{max-width:103px;padding-left:8px;font-size:11px}.cashier-summary-item{grid-template-columns:29px minmax(0,1fr);gap:7px;padding:10px 8px}.cashier-summary-icon{width:28px;height:28px}.cashier-summary-icon svg{width:16px;height:16px}.cashier-summary-copy small{font-size:11px}}@media(prefers-reduced-motion:reduce){.cashier-summary-refresh,.cashier-summary-refresh svg,.cashier-summary-value.is-loading{animation:none;transition:none}}

.cash-shift-card summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:12px;min-height:26px}.cash-shift-card summary span{font-size:11px;color:#6b7d94}.cash-shift-card[open] summary{margin-bottom:14px}.cashier-search button[type=submit]{padding:0 7px}.cashier-counts button{min-height:86px}

.workforce-rate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.workforce-month-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.workforce-month-row label{font-size:13px;font-weight:650}
.workforce-month-row input{min-height:40px;max-width:170px}
.my-attendance-page{max-width:640px;margin:0 auto}
.my-attendance-page .cashier-settings-heading{margin:4px 0 18px}
.my-attendance-overtime{padding:12px 14px;border-radius:10px;background:#edf5ff;color:#315a89;font-size:13px;line-height:1.5}
.my-attendance-message{min-height:18px;color:#52677e;font-size:12px}
.workforce-target-panel{margin:6px 0 12px;padding:14px;border:1px solid #dfe8f3;border-radius:12px;background:#f8fbff}
.workforce-target-toggle{display:flex;align-items:center;gap:9px;margin-bottom:12px;font-size:13px;font-weight:700;color:#253f5c}
.workforce-target-toggle input{width:20px;height:20px;accent-color:#2563eb}
.workforce-target-help{margin:0;color:#62778d;font-size:12px;line-height:1.5}
@media(max-width:480px){.workforce-rate-grid{grid-template-columns:1fr}.workforce-month-row input{flex:1;min-width:130px}.my-attendance-page{padding-left:16px;padding-right:16px}}


/* On mobile, keep the transaction total and submit action pinned above the
   fixed bottom navigation; reserve scroll space so the last payment fields
   remain reachable and are never hidden behind the bar. */
@media(max-width:768px){
  #page-tambah-transaksi{padding-bottom:calc(200px + env(safe-area-inset-bottom,0px))!important}
  #page-tambah-transaksi .tt-summary{
    position:fixed!important;left:0;right:0;bottom:calc(59px + env(safe-area-inset-bottom,0px));
    width:100%;max-width:none;margin:0!important;padding:10px 16px 12px;
    box-sizing:border-box;border-radius:16px 16px 0 0;z-index:105;
    background:#fff;box-shadow:0 -6px 20px rgba(16,24,40,.14);
  }
  #page-tambah-transaksi .tt-summary-inner{width:100%;max-width:640px;margin:0 auto}
  #page-tambah-transaksi .ws-draft{position:relative;inset:auto;width:auto;max-width:none;margin:0 0 14px;z-index:1}
}

/* Cashier-home polish: clear action groups, quick tactile feedback, restrained 3D depth. */
.cashier-tool-group{display:grid;gap:8px;min-width:0}
.cashier-tool-group-title{margin:0;color:#304760;font-size:13px;font-weight:750;line-height:1.25;letter-spacing:-.15px}
.cashier-operational-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}
.cashier-operational-shortcuts button{min-width:0;min-height:66px;flex-direction:column;gap:4px;padding:9px 4px;text-align:center;line-height:1.25}
.cashier-operational-shortcuts button .material-symbols-rounded{font-size:19px;color:#50718f}
.cashier-shortcuts button{transition:transform .18s cubic-bezier(.2,.7,.2,1),box-shadow .18s,border-color .18s,background-color .18s}
.cashier-shortcuts button:active{transform:scale(.97);border-color:#b8cce0;background:#f4f8fc}
.cashier-shortcuts button:focus-visible,.cashier-primary:focus-visible{outline:3px solid #f3a64a;outline-offset:3px}
.cashier-primary{transform:perspective(1000px) translateY(0) rotateX(0);transform-style:preserve-3d;transition:background .18s,transform .24s cubic-bezier(.2,.7,.2,1),box-shadow .24s}
.cashier-primary>span:first-child{transform:translateZ(12px)}
.cashier-primary>span:nth-child(2){transform:translateZ(8px)}
.cashier-primary>span:last-child{transform:translateZ(5px)}
.cashier-primary:active{transform:perspective(1000px) translateY(1px) scale(.99) rotateX(-.5deg);box-shadow:0 2px 7px #2563eb24}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.cashier-primary:hover{transform:perspective(1000px) translateY(-2px) rotateX(.7deg);box-shadow:0 12px 24px #2563eb30}.cashier-shortcuts button:hover{transform:translateY(-2px);border-color:#c9d8e8;box-shadow:0 5px 12px rgba(23,43,69,.07)}}
@keyframes cashier-transaction-arrive{0%{opacity:0;transform:perspective(900px) translateY(12px) rotateX(-3.5deg) scale(.985);box-shadow:0 1px 4px #2563eb12}65%{opacity:1;transform:perspective(900px) translateY(-1px) rotateX(.4deg) scale(1.004);box-shadow:0 10px 22px #2563eb2a}100%{opacity:1;transform:perspective(900px) translateY(0) rotateX(0) scale(1);box-shadow:0 6px 16px #2563eb20}}
.cashier-home.is-entering .cashier-primary{animation:cashier-transaction-arrive .42s cubic-bezier(.16,1,.3,1) both}
@media(max-width:768px){.cashier-tool-group-title{font-size:12px}.cashier-operational-shortcuts button{min-height:62px}}
@media(max-width:330px){.cashier-operational-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.cashier-operational-shortcuts button:last-child{grid-column:1/-1;flex-direction:row;min-height:48px}}
@media(prefers-reduced-motion:reduce){.cashier-home.is-entering .cashier-primary{animation:none}.cashier-primary,.cashier-shortcuts button{transition:none}.cashier-primary>span{transform:none}}

/* XUI report workspace — readable filters, finance trend, and accessible motion. */
#page-laporan{--report-ink:#203b49;--report-muted:#667980;--report-line:#e2eae8;--report-teal:#287a70;--report-coral:#cf554b}
#page-laporan .report-page-heading{align-items:center;margin:0 0 16px;padding:20px 22px;border:1px solid #e3eae8;border-top:3px solid #cf554b;border-radius:18px;background:linear-gradient(115deg,#fff 0%,#f6faf8 100%);box-shadow:0 6px 20px rgba(30,58,71,.045)}
#page-laporan .report-page-heading h2{color:var(--report-ink);font-size:clamp(24px,2.5vw,32px);letter-spacing:-.8px}
#page-laporan .report-page-heading p{margin-top:6px;color:var(--report-muted);font-size:13px}
#page-laporan .report-page-heading .eyebrow{color:#b34e43;font-size:10px;letter-spacing:1.25px}
#page-laporan .page-back-home{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:104px;min-height:44px;padding:0 13px;border:1px solid #dbe6e2;border-radius:11px;background:#fff;color:#274650;font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
#page-laporan .page-back-home:hover{background:#f1f7f5;border-color:#bfd6cf;transform:translateY(-1px)}
#page-laporan .page-back-home .material-symbols-rounded{font-size:18px}
#page-laporan .report-heading-actions{display:flex;align-items:center;gap:9px}
#page-laporan .report-live-dot{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid #cce7d8;border-radius:99px;background:#f0faf4;color:#287047;font-size:10px;font-weight:750}
#page-laporan .report-selector{display:grid;grid-template-columns:minmax(110px,150px) minmax(0,1fr);align-items:center;gap:12px;margin:0 0 10px;padding:12px 15px;border:1px solid var(--report-line);border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(30,58,71,.035)}
#page-laporan .report-selector label{color:#526a74;font-size:11px;font-weight:750}
#page-laporan .report-selector select,#page-laporan #laporanPeriod,#page-laporan .date-inputs input{min-height:44px;border:1px solid #d9e4e1;border-radius:11px;background:#fff;color:#263f4a;font:inherit;font-size:13px;line-height:1.2;font-weight:600;padding:0 12px}
#page-laporan .report-selector select:focus-visible,#page-laporan #laporanPeriod:focus-visible,#page-laporan .date-inputs input:focus-visible,#page-laporan #laporanSearch:focus-visible,#page-laporan #laporanSort:focus-visible{outline:3px solid rgba(40,122,112,.2);border-color:#287a70}
#page-laporan .period-filter{display:grid;grid-template-columns:minmax(120px,160px) minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 0 14px;padding:12px 14px;border:1px solid var(--report-line);border-radius:14px;background:#f9fbfa}
#page-laporan .period-filter .date-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}
#page-laporan .period-filter .date-inputs input{width:100%;min-width:0;padding:0 9px;font-size:12px}
#page-laporan .period-filter .date-sep{color:#87969b;text-align:center}
#page-laporan .period-filter .btn{min-height:44px;padding:0 17px;border-radius:11px;font-weight:750}
#page-laporan .report-list-tools{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,210px);gap:9px;margin:0 0 13px;padding:9px 0;background:rgba(247,250,249,.96);backdrop-filter:blur(10px)}
#page-laporan .report-list-tools input{min-height:44px;padding:0 14px;border:1px solid #d9e4e1;border-radius:11px;background:#fff;color:#263f4a;font:inherit;font-size:13px;line-height:1.2;font-weight:500}
#page-laporan .report-list-tools select{min-height:44px;padding:0 12px;border:1px solid #d9e4e1;border-radius:11px;background:#fff;color:#263f4a;font:inherit;font-size:12px;line-height:1.2;font-weight:600}
#page-laporan .report-finance-summary{gap:12px;margin:0 0 14px}
#page-laporan .report-finance-summary .stat-card{position:relative;min-width:0;padding:16px;border:1px solid #e1e9e7;border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(30,58,71,.045);animation:reportCardIn .42s cubic-bezier(.16,1,.3,1) both}
#page-laporan .report-finance-summary .stat-card:nth-child(2){animation-delay:45ms}
#page-laporan .report-finance-summary .stat-card:nth-child(3){animation-delay:90ms}
#page-laporan .report-finance-summary .stat-card:nth-child(4){animation-delay:135ms}
#page-laporan .report-finance-summary .stat-value{color:#203b49;font-size:clamp(18px,2vw,25px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;opacity:1}
#page-laporan .report-finance-summary .stat-label{color:#526a74;font-size:11px;font-weight:650;opacity:1}
#page-laporan .report-finance-summary .stat-card:first-child{border-top:3px solid #287a70}
#page-laporan .report-finance-summary .stat-card:nth-child(3){background:#f7fbf9}
#page-laporan .report-finance-visual{margin:0 0 15px;padding:17px 18px 12px;border:1px solid #e1e9e7;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(30,58,71,.04);animation:reportCardIn .48s cubic-bezier(.16,1,.3,1) both}
#page-laporan .report-finance-visual>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}
#page-laporan .report-chart-kicker{display:block;margin-bottom:4px;color:#9d5146;font-size:9px;font-weight:800;letter-spacing:1.1px}
#page-laporan .report-finance-visual h3{margin:0;color:#203b49;font-size:16px;font-weight:750}
#page-laporan .report-finance-visual p{margin:4px 0 0;color:#667980;font-size:11px}
#page-laporan .report-chart-unit{padding:5px 9px;border:1px solid #e3eae8;border-radius:99px;background:#f7faf9;color:#627780;font-size:10px;font-weight:700}
#page-laporan .report-chart-legend{display:flex;flex-wrap:wrap;gap:14px;margin:0 0 4px}
#page-laporan .report-chart-legend span{display:inline-flex;align-items:center;gap:7px;color:#566e77;font-size:10px;font-weight:650}
#page-laporan .report-chart-legend i{width:9px;height:9px;border-radius:50%;background:#287a70}
#page-laporan .report-chart-legend i.is-expense{border:2px solid #cf554b;background:#fff}
#page-laporan .report-chart-shell{position:relative;height:250px;min-width:0}
#page-laporan .report-chart-empty{display:grid;min-height:150px;place-items:center;border-radius:12px;background:#f7faf9;color:#667980;font-size:12px;text-align:center}
#page-laporan .table-wrap{overflow-x:auto;border:1px solid #e1e9e7;border-radius:14px;background:#fff;box-shadow:0 4px 16px rgba(30,58,71,.035)}
#page-laporan .table-wrap table{width:100%;border-collapse:collapse}
#page-laporan .table-wrap thead th{padding:12px 13px;background:#f6f9f8;color:#647880;font-size:10px;font-weight:750;letter-spacing:.04em;text-transform:uppercase}
#page-laporan .table-wrap thead th:not(:first-child),#page-laporan .table-wrap tbody td:not(:first-child){text-align:right;white-space:nowrap}
#page-laporan .table-wrap tbody td:first-child{white-space:nowrap}
#page-laporan .financial-row td{padding:12px 13px;font-size:12px}
#page-laporan .financial-row td:not(:first-child){font-variant-numeric:tabular-nums}
#page-laporan .report-toolbar{padding:12px 0 4px}
#page-laporan .report-toolbar .btn{min-height:44px;border-radius:11px}
@keyframes reportCardIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:768px){#page-laporan{padding:16px 14px calc(132px + env(safe-area-inset-bottom,0px))!important}#page-laporan .report-page-heading{align-items:flex-start;flex-direction:column;gap:12px;padding:16px;border-radius:16px}#page-laporan .report-heading-actions{width:100%;justify-content:space-between}#page-laporan .report-selector{grid-template-columns:minmax(0,1fr);gap:7px}#page-laporan .period-filter{grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:10px}#page-laporan .period-filter>select{grid-column:1;grid-row:1}#page-laporan .period-filter .date-inputs{grid-column:1/-1;grid-row:2}#page-laporan .period-filter .btn{grid-column:2;grid-row:1;width:auto;min-width:104px}#page-laporan .report-list-tools{grid-template-columns:minmax(0,1fr) minmax(124px,.72fr);gap:7px}#page-laporan .report-finance-summary{gap:9px}#page-laporan .report-finance-summary .stat-card{padding:13px 11px;border-radius:13px}#page-laporan .report-finance-summary .stat-value{font-size:19px}#page-laporan .report-chart-shell{height:215px}#page-laporan .report-finance-visual{padding:14px 12px 10px;border-radius:14px}#page-laporan .financial-row td{padding:11px 9px;font-size:11px}}
@media(prefers-reduced-motion:reduce){#page-laporan .report-finance-summary .stat-card,#page-laporan .report-finance-visual{animation:none}}

/* Financial report tables: stable mobile columns and explicit row separation. */
#page-laporan #laporanKeuangan .table-wrap table,#page-reports .table-wrap table{width:100%;min-width:0;table-layout:fixed}
#page-laporan #laporanKeuangan .table-wrap th:first-child,#page-laporan #laporanKeuangan .table-wrap td:first-child,#page-reports .table-wrap th:first-child,#page-reports .table-wrap td:first-child{width:31%;text-align:left}
#page-laporan #laporanKeuangan .table-wrap th:nth-child(2),#page-laporan #laporanKeuangan .table-wrap td:nth-child(2),#page-reports .table-wrap th:nth-child(2),#page-reports .table-wrap td:nth-child(2){width:34.5%;text-align:right}
#page-laporan #laporanKeuangan .table-wrap th:nth-child(3),#page-laporan #laporanKeuangan .table-wrap td:nth-child(3),#page-reports .table-wrap th:nth-child(3),#page-reports .table-wrap td:nth-child(3){width:34.5%;text-align:right}
#page-laporan #laporanKeuangan .table-wrap th,#page-laporan #laporanKeuangan .table-wrap td,#page-reports .table-wrap th,#page-reports .table-wrap td{box-sizing:border-box;white-space:nowrap;word-break:normal}
#page-laporan #laporanKeuangan .table-wrap thead th,#page-reports .table-wrap thead th{border-bottom:1px solid #dce7e4}
#page-laporan #laporanKeuangan .table-wrap th+th,#page-laporan #laporanKeuangan .table-wrap td+td,#page-reports .table-wrap th+th,#page-reports .table-wrap td+td{border-left:1px solid #edf2f0}
#page-laporan #laporanKeuangan .table-wrap .financial-row td,#page-reports .table-wrap .financial-row td{padding:11px 8px;border-bottom:1px solid #e4ece9;line-height:1.35}
#page-laporan #laporanKeuangan .table-wrap .financial-row:nth-child(even) td,#page-reports .table-wrap .financial-row:nth-child(even) td{background:#f8fbfa}
@media(max-width:768px){
 #page-laporan #laporanKeuangan .table-wrap,#page-reports .table-wrap{overflow-x:hidden}
 #page-laporan #laporanKeuangan .table-wrap thead th,#page-reports .table-wrap thead th{padding:9px 4px;font-size:9px;letter-spacing:0;line-height:1.15}
 #page-laporan #laporanKeuangan .table-wrap .financial-row td,#page-reports .table-wrap .financial-row td{padding:10px 4px;font-size:clamp(9px,2.7vw,10.5px);font-variant-numeric:tabular-nums}
}

.cashier-summary-action{appearance:none;-webkit-appearance:none;width:100%;border:1px solid transparent;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
.cashier-summary-action:hover{background:#f1f6ff;border-color:#d8e6fa;transform:translateY(-1px)}
.cashier-summary-action:focus-visible{outline:3px solid #91b8f6;outline-offset:2px}
.cashier-summary-action:active{transform:scale(.99)}
.transaksi-empty-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:14px}
.detail-cancelled-banner{display:grid;gap:4px;margin:12px 0;padding:13px 15px;border:1px solid #f3cfce;border-radius:12px;background:#fff6f5;color:#8a312c;font-size:13px;line-height:1.45}
.detail-cancelled-banner strong{font-size:14px}
.order-archive-actions{display:grid;gap:7px;margin:14px 0;padding:12px;border:1px solid #f1d3d1;border-radius:12px;background:#fff9f8}
.order-archive-button{min-height:44px;color:#9b302b;border-color:#e7b9b6}
.order-archive-actions small{color:#6c7886;font-size:11px;line-height:1.4}
.oc-status-cancelled{flex-shrink:0;padding:3px 8px;border-radius:999px;background:#fff1ef;color:#9b302b;font-size:10px;font-weight:700}
@media(prefers-reduced-motion:reduce){.cashier-summary-action{transition:none}}

/* Kabari pelanggan (WA manual) — mobile first, target sentuh >= 48px. */
.cashier-wa-panel{border-color:#cdebd6;background:linear-gradient(160deg,#fff 0%,#f3fbf5 100%)}
.cashier-wa-panel .cashier-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cashier-wa-panel .cashier-wa-badge{min-width:28px;height:28px;padding:0 8px;border-radius:14px;background:#128c4a;color:#fff!important;font-weight:800;font-size:14px;display:inline-flex;align-items:center;justify-content:center}
.cashier-wa-hint{margin:4px 0 10px;color:#4b6156;font-size:14px;line-height:1.45}
.cashier-wa-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #e3efe7}
.cashier-wa-row:first-child{border-top:0}
.cashier-wa-main{flex:1;min-width:0;min-height:48px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;background:none;border:0;padding:0;text-align:left;color:var(--cash-ink);cursor:pointer}
.cashier-wa-main strong{font-size:15px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cashier-wa-main small{font-size:13px;color:#5d7066}
.cashier-wa-send{flex-shrink:0;min-height:48px;min-width:96px;padding:0 16px;border:0;border-radius:24px;background:#1a9e55;color:#fff;font-size:15px;font-weight:800;cursor:pointer}
.cashier-wa-send:active{transform:scale(.97)}
.cashier-wa-send.is-missing{background:#e7ece9;color:#6b7a72}

/* Serahkan cucian: satu kolom isian (kode nota 6 digit / 4 digit akhir HP). */
.pickup-simple{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.pickup-simple>strong{font-size:17px}
.pickup-simple .muted{margin:0;font-size:14px;line-height:1.45}
.pickup-simple .pickup-code-row input{width:100%;min-width:0;min-height:52px;font-size:22px;font-weight:700;letter-spacing:4px;text-align:center;border-radius:12px}
.pickup-simple .pickup-code-row input::placeholder{font-size:14px;font-weight:500;letter-spacing:0}
.pickup-simple .pickup-code-row .btn{min-height:52px;padding:0 18px;font-size:15px;white-space:nowrap}
.pickup-simple .pickup-assist-button{min-height:44px;background:none;border:0;color:#52677e;text-decoration:underline;font-size:14px;justify-self:center}
.pickup-due{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:10px 12px;border-radius:12px;background:#fff6e5;color:#7a4b00;font-size:14px}
.pickup-due small{color:#8a6a2a;font-size:12.5px}
.pickup-pay-methods{display:flex;gap:8px}
.pickup-pay-methods label{flex:1;min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;border:1.5px solid #f0d29a;border-radius:10px;background:#fff;font-weight:700;cursor:pointer}
.pickup-pay-methods label:has(input:checked){border-color:#a92532;background:#fdf1f2;color:#a92532}

/* Tombol di kartu transaksi & snackbar: lebih mudah disentuh di HP. */
.order-card .oc-detail-btn,.order-card .oc-pay-btn{min-height:40px;padding:0 14px;font-size:13px}
.snackbar .snackbar-action{display:inline-block;margin-left:6px;padding:6px 8px;color:#fff;font-weight:800;text-decoration:underline}
.pickup-simple .pickup-wa-button{min-height:48px;width:100%}
