/* staff-c: transfers, customers, more */
.sc-list .row,.sc-crow,.sc-prow{align-items:center;min-height:68px;background:var(--surface)}
.sc-list [data-sl-rows]{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sc-list [data-sl-rows] .empty{background:var(--bg)}
.sc-l1{display:flex;align-items:center;gap:8px;justify-content:space-between;min-width:0}
.sc-l1 b{font-weight:650;font-size:15px;min-width:0}
.sc-l1 .badge{flex:none}
.sc-l2{display:block;font-size:13.5px;color:var(--ink-2);margin-top:1px}
.sc-l3{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);margin-top:2px;font-variant-numeric:tabular-nums}
.sc-dot{width:3px;height:3px;border-radius:50%;background:var(--faint);display:inline-block}
.sc-tico{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none;border:1px solid var(--line-2);background:var(--surface-2);color:var(--ink-2)}
.sc-tico svg{width:21px;height:21px}
.sc-t-incoming{background:var(--ok-50);border-color:#cfe6d9;color:var(--ok)}
.sc-t-outgoing{background:var(--accent-50);border-color:var(--accent-100);color:var(--accent)}
.sc-tico-lg{width:50px;height:50px;border-radius:14px}.sc-tico-lg svg{width:25px;height:25px}

/* detail */
.sc-detail{padding-bottom:24px}
.sc-head{display:flex;align-items:center;gap:12px;padding:14px 16px 12px}
.sc-head h2{font-size:20px;word-break:break-all}
.sc-eyebrow{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
html[lang=ar] .sc-eyebrow{text-transform:none;letter-spacing:0}
.sc-card{margin:0 16px;padding:6px 14px}
.sc-kv{display:flex;justify-content:space-between;gap:14px;padding:9px 0;font-size:14px;border-bottom:1px solid var(--line-2)}
.sc-kv:last-child{border-bottom:0}
.sc-kv>span{color:var(--muted);flex:none}
.sc-kv>b{font-weight:600;text-align:end;min-width:0;overflow-wrap:anywhere}
.sc-kv-top{align-items:flex-start}
.sc-notes{font-weight:500 !important;white-space:pre-line}
.sc-link{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.sc-route{display:flex;align-items:center;gap:8px;padding:10px 0 8px;border-top:1px solid var(--line-2)}
.sc-kv+.sc-route{border-top:0}
.sc-route>div{flex:1;min-width:0;background:var(--surface-2);border:1px solid var(--line-2);border-radius:10px;padding:7px 10px}
.sc-route span{display:block;font-size:11.5px;color:var(--muted)}
.sc-route b{display:block;font-size:13px;font-weight:600;overflow-wrap:break-word}
.sc-route>svg{width:16px;height:16px;color:var(--faint);flex:none}
.sc-sec{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 16px 8px}
.sc-sec h3{font-size:15px}
.sc-sec .btn-sm{height:34px;padding:0 12px;font-size:13px}
.sc-moves{margin:0 16px;overflow:hidden}
.sc-move{padding:12px 14px;border-bottom:1px solid var(--line-2)}
.sc-move:last-child{border-bottom:0}
.sc-move.is-full{background:linear-gradient(var(--ok-50),var(--ok-50)) no-repeat;background-size:3px 100%;background-position:0 0}
[dir=rtl] .sc-move.is-full{background-position:100% 0}
.sc-mname{display:flex;align-items:flex-start;gap:8px;justify-content:space-between;font-size:14px;font-weight:600;line-height:1.35}
.sc-ok{flex:none;width:22px;height:22px;border-radius:50%;background:var(--ok);color:#fff;display:grid;place-items:center}
.sc-ok svg{width:13px;height:13px}
.sc-mrow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.sc-mdem{display:flex;flex-direction:column;font-size:12px;line-height:1.3}
.sc-mdem b{font-size:15px;font-weight:650;color:var(--ink)}
.sc-mdone{text-align:end}
.sc-qty{height:42px}
.sc-qty button{width:42px}
.sc-qty input{width:64px;height:100%;border:0;border-inline:1px solid var(--line-2);text-align:center;font-weight:650;font-size:15px;background:transparent;outline:none}
.sc-qty input:focus{background:var(--accent-50)}
.is-full .sc-qty{border-color:#cfe6d9}
.sc-note{padding:10px 16px 0}
.sc-actions{display:flex;flex-direction:column;gap:10px;padding:18px 16px 0}
.sc-actions:empty{display:none}
.sc-danger{color:var(--danger)}
.sc-foot .btn{flex:1}
.sc-foot .btn-primary{flex:1.3}
.sc-wiz-msg{padding-bottom:6px}
.sc-wiz-btns{display:flex;flex-wrap:wrap;gap:10px;width:100%}
.sc-wiz-btns .btn{flex:1 1 40%}

/* customers */
.sc-av{width:42px;height:42px;border-radius:50%;flex:none;display:grid;place-items:center;font-weight:650;font-size:14.5px;background:var(--surface-2);border:1px solid var(--line);color:var(--ink-2);letter-spacing:.02em}
.sc-av.is-co{border-radius:12px;background:var(--accent-50);border-color:var(--accent-100);color:var(--accent)}
.sc-av-lg{width:68px;height:68px;font-size:22px}
.sc-av-lg.is-co{border-radius:18px}
.sc-phead{display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px 16px 16px;gap:4px}
.sc-phead h2{font-size:20px;margin-top:8px}
.sc-sub{font-size:13.5px;color:var(--muted)}
.sc-sub:empty{display:none}
.sc-tags{display:flex;gap:6px;margin-top:4px}
.sc-acts{display:flex;gap:10px;margin-top:14px;width:100%;max-width:340px}
.sc-act{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;border-radius:var(--r);background:var(--surface);border:1px solid var(--line);font-size:12.5px;font-weight:600;color:var(--accent)}
.sc-act svg{width:21px;height:21px}
.sc-act:active{background:var(--accent-50)}
.sc-act.off{color:var(--faint);background:var(--surface-2)}
.sc-stats{margin:0 16px 12px;display:grid;grid-template-columns:1fr 1fr 1.5fr}
.sc-stats>div{padding:12px 10px;display:flex;flex-direction:column;gap:2px;min-width:0}
.sc-stats>div+div{border-inline-start:1px solid var(--line-2)}
.sc-stats b{font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-stats span{font-size:12px;color:var(--muted)}
.sc-form{padding-top:14px}
.sheet .sc-form{padding-top:4px}
.sc-2col{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sc-2col .field{min-width:0}
select.input{appearance:none;-webkit-appearance:none;padding-inline-end:30px;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(-45deg,transparent 50%,var(--muted) 50%);background-size:5px 5px;background-repeat:no-repeat;background-position:calc(100% - 17px) 22px,calc(100% - 12px) 22px}
[dir=rtl] select.input{background-position:17px 22px,12px 22px}
.sc-err{color:var(--danger);font-size:12.5px;min-height:0}
.sc-err:empty{display:none}
.input.sc-bad{border-color:var(--danger);box-shadow:0 0 0 3px rgba(179,55,47,.1)}
.sc-seg{display:flex;padding:3px;border-radius:12px;background:var(--line-2);gap:3px;margin-bottom:16px}
.sc-seg button{flex:1;height:40px;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:600;font-size:14px;color:var(--muted)}
.sc-seg button svg{width:18px;height:18px}
.sc-seg button.on{background:var(--surface);color:var(--ink);box-shadow:var(--sh-1)}
.sc-seg-sm{margin:0;flex:none}
.sc-seg-sm button{height:32px;padding:0 14px;font-size:13px}

/* more */
.sc-more{padding-bottom:24px}
.sc-me{margin:16px 16px 0;padding:14px;display:flex;align-items:center;gap:14px}
.sc-me .sc-av-lg{width:56px;height:56px;font-size:19px;background:var(--accent-50);border-color:var(--accent-100);color:var(--accent)}
.sc-me h2{font-size:17px}
.sc-me .grow{min-width:0;flex:1}
.small{font-size:13px}
.sc-roles{padding:12px 16px 0}
.sc-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.sc-phead h2,.sc-me h2,.sc-l1 b{unicode-bidi:plaintext}
