body[data-jc-view] #app,body[data-jc-view]>uni-app{display:none!important}.jc-client{position:fixed;inset:0;z-index:9999;margin:auto;max-width:430px;background:#f5f6f8;color:#25272b;overflow:auto;font:14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;box-sizing:border-box;padding-bottom:env(safe-area-inset-bottom)}.jc-client *{box-sizing:border-box}.jc-client button,.jc-client input{font:inherit}.jc-client button{cursor:pointer;border:0;background:transparent;color:inherit;touch-action:manipulation}.jc-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;height:54px;padding:0 14px;background:#fff;border-bottom:1px solid #eee}.jc-header h1{font-size:18px;font-weight:600;margin:0}.jc-back{font-size:30px!important;min-width:40px;text-align:left}.jc-content{padding:12px}.jc-card{background:#fff;border-radius:12px;padding:16px;margin:0 0 12px;box-shadow:0 2px 8px #00000003}.jc-card h2{font-size:16px;margin:0 0 14px;font-weight:600}.jc-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:14px}.jc-metric{display:flex;flex-direction:column;gap:3px}.jc-metric strong{font-size:21px;font-weight:650;overflow-wrap:anywhere}.jc-metric span,.jc-note{color:#747982;font-size:12px}.jc-note{line-height:1.7;margin:5px 0}.jc-details summary{cursor:pointer;color:#9d262c;margin:12px 0}.jc-primary{display:block;width:100%;min-height:46px;border-radius:9px!important;background:#b81b29!important;color:white!important;font-weight:600!important;margin:12px 0}.jc-outline{border:1px solid #dbdee3!important;border-radius:7px!important;min-height:36px;padding:6px 12px!important;background:#fff!important}.jc-link{color:#a42931!important;font-size:13px!important;min-height:34px}.jc-tabs{display:flex;border-bottom:1px solid #eceef1;gap:5px;margin-bottom:6px}.jc-tabs button{flex:1;font-size:12px;min-height:42px;white-space:nowrap;border-bottom:2px solid transparent}.jc-tabs button.selected{color:#b81b29;font-weight:600;border-bottom-color:#b81b29}.jc-customer{padding:15px 0;border-bottom:1px solid #f0f1f3;position:relative}.jc-customer>strong{display:inline-block;max-width:57%;overflow-wrap:anywhere}.jc-customer>.jc-link{position:absolute;right:0;bottom:14px}.jc-badge{font-size:11px;border-radius:4px;padding:3px 6px;margin-left:8px;white-space:nowrap}.jc-badge.merchant{color:#996c20;background:#fff4de}.jc-badge.ordinary{color:#667386;background:#f0f3f7}.jc-empty{text-align:center;padding:24px 0;color:#858b93}.jc-pages{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:16px;font-size:12px}.jc-message{color:#ad2834;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.jc-message:empty{display:none}.jc-table{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px;align-items:center;padding:11px 0;border-bottom:1px solid #f1f2f4;font-size:13px}.jc-table>strong{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-weight:550}.jc-th{font-size:12px;color:#85878d;padding:0 0 10px}.jc-th>span:not(:first-child){text-align:right}.jc-income{border-top:3px solid #b81b29}.jc-income .jc-table strong{color:#ad2834}.jc-ledger{display:grid;grid-template-columns:1fr auto;padding:12px 0;border-bottom:1px solid #eee}.jc-ledger small{grid-column:1/3}.jc-input{width:100%;height:45px;border:1px solid #d9dce2;border-radius:7px;background:#fff;padding:10px 12px;color:#25272b;outline:none}.jc-input:focus{border-color:#b81b29;box-shadow:0 0 0 2px #b81b2910}.jc-label{display:block;font-size:13px;margin:18px 0 8px}.jc-balance{padding:12px;background:#f7f8fa;border-radius:6px;font-size:12px}.jc-shortcuts{display:flex;gap:10px;margin:10px 0}.jc-shortcuts button{font-size:12px}.jc-split{padding:12px;background:#fff7f5;color:#9d262c;border-radius:7px;font-size:13px}.jc-client button:disabled{opacity:.45;cursor:default}@media(min-width:431px){.jc-client{border-left:1px solid #e2e5e9;border-right:1px solid #e2e5e9}}@media(prefers-reduced-motion:reduce){.jc-client *{scroll-behavior:auto}}

/* Desktop page layout is persistent across reloads and routes, independent of preview settings. */
.jc-leave-overlay{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#0006;padding:24px}.jc-leave-dialog{width:100%;max-width:340px;overflow:hidden;border-radius:12px;background:#fff;color:#25272b;box-shadow:0 8px 32px #0002;text-align:center}.jc-leave-dialog h2{font-size:17px;margin:22px 16px 12px}.jc-leave-dialog p{font-size:14px;line-height:1.7;margin:0 22px 24px}.jc-leave-actions{display:flex;border-top:1px solid #eee}.jc-leave-actions button{flex:1;min-height:48px;padding:10px;font-size:15px}.jc-leave-stay{background:#fff!important}.jc-leave-confirm{background:#b81b29!important;color:#fff!important}
body.jc-phone-preview{position:fixed;inset:0;display:grid;place-items:center;width:100%;height:100%;margin:0;overflow:hidden;background:#e9edf2}
.jc-phone-frame{display:block;width:390px;max-width:calc(100vw - 24px);height:844px;max-height:calc(100vh - 24px);border:0;border-radius:16px;background:#fff;box-shadow:0 8px 36px #17233325}
@media(max-width:430px){body.jc-phone-preview{background:#fff}.jc-phone-frame{max-width:100vw;max-height:100vh;border-radius:0;box-shadow:none}}

.jc-client[data-jc-screen="income"],.jc-client[data-jc-screen="customers"]{background:#f3f4f6;color:#222}
.jc-client[data-jc-screen="income"] .jc-header,.jc-client[data-jc-screen="customers"] .jc-header{height:56px;background:#e33424;color:#fff;border:0;padding:0 12px}
.jc-client[data-jc-screen="income"] .jc-header h1,.jc-client[data-jc-screen="customers"] .jc-header h1{position:absolute;left:80px;right:80px;text-align:center;font-size:19px;pointer-events:none}
.jc-client[data-jc-screen="income"] .jc-header .jc-link,.jc-client[data-jc-screen="customers"] .jc-header .jc-link{color:#fff!important;font-size:14px!important}
.jc-client[data-jc-screen="income"] .jc-content,.jc-client[data-jc-screen="customers"] .jc-content{padding:12px 12px 24px}
.jc-refresh-status{display:flex;align-items:center;justify-content:space-between;min-height:20px;gap:8px;color:#888;font-size:11px;margin:0 0 6px}.jc-refresh-status .jc-link{min-height:20px}.jc-account-stats{position:relative;overflow:hidden;border-radius:12px;background:linear-gradient(135deg,#e84b3f,#d92b2b 55%,#c92222);padding:18px 14px;margin:0 0 16px;color:#fff}
.jc-stat-pattern{position:absolute;inset:0;opacity:.18;pointer-events:none;background-image:linear-gradient(45deg,#ffffff38 25%,transparent 25%),linear-gradient(-45deg,#ffffff38 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ffffff38 75%),linear-gradient(-45deg,transparent 75%,#ffffff38 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}
.jc-stat-body{position:relative;z-index:1;display:flex;align-items:stretch}
.jc-stat-col{flex:1;min-width:0}
.jc-stat-split{width:1px;margin:0 10px;background:#ffffff66;flex-shrink:0}
.jc-stat-row{display:flex;align-items:baseline;justify-content:space-between;gap:4px;margin:0 0 10px;font-size:14px;line-height:1.5}
.jc-stat-row:last-child{margin-bottom:0}
.jc-stat-label{white-space:nowrap;color:#fff}
.jc-stat-value{color:#fff;font-size:15px;font-weight:700;text-align:right;min-width:0;font-variant-numeric:tabular-nums;letter-spacing:-.35px;overflow-wrap:anywhere}
.jc-stat-col .jc-stat-title{font-size:16px;line-height:1.5;color:#fff;font-weight:600;margin:0 0 10px}
.jc-section-heading{display:flex;align-items:center;gap:7px;font-size:18px;font-weight:700;margin:14px 0 10px;color:#222;line-height:1.5}
.jc-section-heading:before{content:"";display:block;width:4px;height:17px;border-radius:3px;background:#e43b30;flex-shrink:0}
.jc-consign-card h2{position:relative;font-size:16px;color:#fff;margin:0 0 12px}
.jc-consign-card .jc-stat-value{font-size:21px}
.jc-consign-card .jc-stat-label{font-size:14px}
.jc-consign-card .jc-stat-row{flex-direction:column;align-items:flex-start;gap:3px;margin:0}
.jc-consign-history{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:21px;align-items:start;position:relative;border-top:1px solid #ffffff44;margin-top:12px;padding-top:10px;color:#fff;font-size:12px}
.jc-consign-history>strong{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}
.jc-personal-ledgers{background:#fff;border-radius:10px;overflow:hidden}
.jc-personal-ledger{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:17px 14px;border-bottom:1px solid #f0f0f0}
.jc-personal-ledger:last-child{border-bottom:0}
.jc-ledger-main{min-width:0}
.jc-ledger-title{font-size:16px;font-weight:700}
.jc-ledger-time,.jc-ledger-number{font-size:12px;color:#aaa;line-height:1.6;overflow-wrap:anywhere;margin:7px 0 0}
.jc-ledger-values{min-width:112px}
.jc-ledger-field{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:14px;margin:0 0 5px;white-space:nowrap}
.jc-ledger-field>span{color:#aaa;font-size:12px}
.jc-ledger-field>strong{font-weight:500;font-variant-numeric:tabular-nums}
.jc-ledger-field>.jc-ledger-credit{color:#169344;font-weight:750;font-size:16px}
.jc-ledger-field>.jc-ledger-debit{color:#d73225;font-weight:750;font-size:16px}
.jc-ledger-field>.jc-ledger-balance{font-weight:700}
.jc-ledger-explanation{grid-column:1/3;color:#888;font-size:12px;margin-top:0}
.jc-ledger-explanation summary{cursor:pointer;color:#999;font-size:11px}
.jc-ledger-explanation p{line-height:1.6;margin:6px 0 0;overflow-wrap:anywhere}
.jc-customer-section{background:transparent;padding:0;box-shadow:none;border-radius:0}
.jc-customer-section .jc-tabs{border-radius:10px;background:#fff;padding:0 8px}
.jc-customer-section .jc-customer{background:#fff;border-radius:10px;padding:16px 14px;margin-top:12px;border:0}
.jc-customer-section .jc-customer>.jc-link{right:14px}
.jc-customer-section>.jc-empty{background:#fff;border-radius:10px;margin:10px 0}
.jc-customer-counts{font-size:17px;flex-wrap:wrap;white-space:pre-wrap}
.jc-customer-section .jc-original-customer{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:16px 14px;margin:0 0 12px}
.jc-customer-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;border:1px solid #eee;margin-top:2px}
.jc-customer-info{min-width:0}
.jc-customer-line{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;line-height:1.55}
.jc-customer-identity{display:flex;align-items:center;gap:5px;min-width:0}
.jc-customer-code{color:#d8392b;font-size:17px;font-weight:700;overflow-wrap:anywhere}
.jc-copy-code{font-size:21px!important;padding:0 3px!important;min-width:22px;line-height:1;color:#222!important}
.jc-customer-team{font-size:12px;color:#777;white-space:nowrap}
.jc-customer-contact{font-size:13px;color:#777;margin:3px 0 4px}
.jc-customer-contact time{font-size:12px;color:#aaa;white-space:nowrap}
.jc-customer-amount{font-size:14px;color:#777}
.jc-customer-amount strong{color:#222;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.jc-customer-more{justify-content:center;color:#aaa;padding:4px 0 16px;margin:0}
@media(max-width:374px){.jc-consign-history{column-gap:15px}.jc-stat-label{font-size:12px}.jc-stat-value{font-size:13px}.jc-stat-split{margin:0 7px}.jc-personal-ledger{gap:8px;padding:15px 12px}.jc-ledger-title{font-size:15px}}
