/* Headquarters: current scale leads, observed movement and preparation follow. */
.dc-checkin-dashboard{--cd-space:16px;font-variant-numeric:tabular-nums;min-width:0}
.dc-checkin-dashboard h2{font-size:26px;line-height:1.3;margin:4px 0 16px}
.dc-cd-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:8px 0 16px}
.dc-cd-eyebrow{font-size:12px;color:var(--dc-secondary);margin:0}
.dc-cd-updated{display:grid;gap:4px;text-align:right;font-size:12px;color:var(--dc-secondary)}
.dc-cd-updated strong{font-weight:600;color:var(--dc-ink)}
.dc-cd-cards{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:12px;margin:16px 0}
.dc-cd-card{border:1px solid var(--dc-line);border-radius:10px;padding:20px 16px;background:var(--dc-paper);min-width:0}
.dc-cd-card h3{font-size:14px;line-height:1.5;color:var(--dc-secondary);font-weight:500;margin:0 0 12px}
.dc-cd-card>strong{font-size:34px;line-height:1.2;font-weight:700;color:var(--dc-blue)}
.dc-cd-card p{font-size:12px;line-height:1.6;color:var(--dc-secondary);margin:12px 0 0}
.dc-cd-hero{background:var(--dc-blue-soft)}
.dc-cd-hero>strong{font-size:46px}
.dc-cd-scope{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.dc-cd-scope a,.dc-cd-quick a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--dc-line);border-radius:6px;text-decoration:none;box-sizing:border-box}
.dc-cd-scope a[aria-current=true]{background:var(--dc-blue);color:white;border-color:var(--dc-blue)}
.dc-cd-scope a:hover,.dc-cd-quick a:hover{box-shadow:0 0 0 1px var(--dc-blue)}
.dc-checkin-dashboard a:focus-visible{outline:2px solid var(--dc-blue);outline-offset:3px}
.dc-cd-progress{display:grid;grid-template-columns:1fr minmax(180px,30%);gap:12px;align-items:center}
.dc-cd-progress h3{font-size:18px;margin:0 0 8px}
.dc-cd-progress p{margin:4px 0;font-size:14px}
.dc-cd-progress-value strong{display:block;font-size:28px;color:var(--dc-blue);margin-bottom:8px}
.dc-cd-progress progress{width:100%;height:8px;accent-color:var(--dc-blue)}
.dc-cd-progress .dc-cd-basis{grid-column:1/-1;font-size:12px;color:var(--dc-secondary);line-height:1.7}
.dc-cd-progress .dc-alert{grid-column:1/-1}
.dc-cd-code-issues{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:8px}
.dc-cd-code-issue{border:1px solid var(--dc-line);border-radius:8px;padding:16px;background:var(--dc-canvas);min-width:0}
.dc-cd-code-issue h4{font-size:14px;font-weight:600;margin:0 0 8px}
.dc-cd-code-issue strong{font-size:28px;color:var(--dc-warning);line-height:1.2}
.dc-cd-code-issue span{margin-left:12px;color:var(--dc-secondary);font-size:13px;display:inline-block}
.dc-cd-code-issue small{display:block;margin-top:8px;line-height:1.6}
.dc-checkin-dashboard .dc-tools{align-items:end;flex-wrap:wrap;gap:12px}
.dc-cd-quick{display:flex;gap:8px;flex-wrap:wrap}
.dc-checkin-dashboard .dc-tools label{max-width:280px;min-width:140px}
.dc-checkin-dashboard input[name=q]{width:200px;max-width:100%}
.dc-cd-legend{display:flex;gap:16px;margin:8px 20px;font-size:13px}
.dc-cd-legend span:first-child{color:var(--dc-blue)}
.dc-cd-legend span:last-child,.dc-cd-warning{color:#b96022}
.dc-cd-chart{overflow-x:auto;padding:16px 20px 8px}
.dc-cd-bars{display:flex;align-items:end;gap:16px;min-width:max-content;min-height:190px}
.dc-cd-day{display:grid;gap:6px;text-align:center;min-width:58px;flex:1;font-size:12px}
.dc-cd-day>small{color:var(--dc-secondary);font-size:10px}
.dc-cd-pair{display:flex;gap:6px;align-items:end;height:140px;justify-content:center}
.dc-cd-bar-wrap{display:flex;flex-direction:column;justify-content:end;align-items:center;width:26px;min-height:20px;gap:4px}
.dc-cd-bar-wrap svg{display:block;flex:none;width:32px;height:128px;overflow:visible}
.dc-cd-bar-wrap text{font-size:11px;fill:var(--dc-ink);font-family:inherit}
.dc-cd-bar{fill:var(--dc-blue)}
.dc-cd-bar.leaves{fill:#bb743c}
.dc-cd-unknown{flex:none;font-style:normal;writing-mode:vertical-rl;color:var(--dc-secondary);font-size:10px;height:54px}
.dc-cd-notes{padding:12px 20px;color:var(--dc-secondary);font-size:12px;line-height:1.8}
.dc-cd-notes summary{min-height:44px;cursor:pointer;display:flex;align-items:center;color:var(--dc-blue)}
.dc-cd-row-filters{padding:0 20px 16px}
.dc-checkin-dashboard .dc-table{max-height:620px;overflow:auto}
.dc-checkin-dashboard table{min-width:1000px}
.dc-checkin-dashboard thead th{position:sticky;top:0;z-index:1;background:var(--dc-paper)}
.dc-checkin-dashboard td{vertical-align:top}
.dc-cd-footer{font-size:12px;line-height:1.8;padding:0 4px}
@media(max-width:1250px){.dc-cd-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.dc-cd-hero{grid-column:span 2}}
@media(max-width:700px){
 .dc-admin:has(.dc-checkin-dashboard) .activity-shell>.sidebar{height:auto;position:static}
 .dc-cd-heading{display:block}.dc-cd-updated{text-align:left;margin-bottom:16px}
 .dc-cd-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-cd-card{padding:16px 12px}
 .dc-cd-hero{grid-column:span 2}.dc-cd-progress{grid-template-columns:1fr}
 .dc-cd-code-issues{grid-template-columns:1fr}
 .dc-checkin-dashboard .dc-tools label{max-width:100%;min-width:0}
 .dc-checkin-dashboard .dc-table{max-height:none}
}
/* Formal claims remain in the administrator shell, with IDs readable on demand. */
.dc-fat-loss-claims .dc-tools label{flex:1;max-width:520px}
.dc-fat-loss-claims .dc-table td{vertical-align:top}
.dc-fat-loss-claims .dc-fl-code{color:var(--dc-blue);font-size:18px;letter-spacing:2px;font-variant-numeric:tabular-nums}
.dc-fat-loss-claims details{margin-top:8px;max-width:300px}
.dc-fat-loss-claims summary{cursor:pointer;color:var(--dc-blue);min-height:44px;display:flex;align-items:center}
.dc-fat-loss-claims .dc-fl-identifiers{white-space:normal;min-width:200px;max-width:300px;font-size:12px}
.dc-fat-loss-claims dt{color:var(--dc-secondary);margin-top:8px}
.dc-fat-loss-claims dd{margin:4px 0;overflow-wrap:anywhere}
.dc-fat-loss-claims .dc-fl-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 10px}
.dc-fat-loss-claims .dc-fl-progress-card{min-width:0;padding:20px;border:1px solid var(--dc-line);border-radius:10px;background:var(--dc-paper)}
.dc-fat-loss-claims .dc-fl-progress-total{background:var(--dc-blue-soft);border-color:#d7e5f6}
.dc-fat-loss-claims .dc-fl-progress-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;min-height:24px;font-size:13px;color:var(--dc-secondary)}
.dc-fat-loss-claims .dc-fl-progress-head b{flex:none;color:var(--dc-blue);font-size:14px}
.dc-fat-loss-claims .dc-fl-progress-number{display:flex;align-items:baseline;gap:8px;margin:12px 0;white-space:nowrap;font-variant-numeric:tabular-nums}
.dc-fat-loss-claims .dc-fl-progress-number strong{font-size:36px;line-height:1.2;color:var(--dc-blue);font-weight:700}
.dc-fat-loss-claims .dc-fl-progress-number span{font-size:14px;color:var(--dc-secondary)}
.dc-fat-loss-claims .dc-fl-progress-card p{font-size:12px;line-height:1.65;color:var(--dc-secondary);margin:6px 0 0}
.dc-fat-loss-claims .dc-fl-progress-card progress,.dc-fat-loss-claims .dc-fl-progress-track{display:block;width:100%;height:6px;border:0;border-radius:3px;background:#e8eef6;overflow:hidden;appearance:none}
.dc-fat-loss-claims progress::-webkit-progress-bar{background:#e8eef6;border-radius:3px}
.dc-fat-loss-claims progress::-webkit-progress-value{background:var(--dc-blue);border-radius:3px}
.dc-fat-loss-claims progress::-moz-progress-bar{background:var(--dc-blue);border-radius:3px}
.dc-fat-loss-claims .dc-fl-progress-basis{margin:0 0 20px;font-size:12px;color:var(--dc-muted);line-height:1.7}
@media(max-width:700px){
 .dc-admin:has(.dc-fat-loss-claims) .activity-shell>.sidebar{height:auto;position:static}
 .dc-fat-loss-claims .dc-page{flex-wrap:wrap;gap:8px}
 .dc-fat-loss-claims .dc-fl-dashboard{grid-template-columns:minmax(0,1fr);gap:10px}
 .dc-fat-loss-claims .dc-fl-progress-card{padding:16px}
}
/* Intent: headquarters verifies ownership and dealers inspect their own competition.
   Hierarchy: valid employee orders lead; attribution/receipts are directly traceable.
   Existing blue/white office palette, borders, 4px rhythm, 14px body, 28px figures. */
:root{--dc-blue:#2563b5;--dc-ink:#1d2a3b;--dc-secondary:#59687a;--dc-muted:#7b8797;--dc-canvas:#f5f7fa;--dc-paper:#fff;--dc-line:#e6ebf1;--dc-input:#f6f8fb;--dc-blue-soft:#edf4fc;--dc-success:#267357;--dc-warning:#a76919;--dc-danger:#b34646}
.dc-customer-usage{min-width:0}.dc-customer-usage .dc-tools{padding:0;align-items:end}.dc-customer-usage .dc-tools label{min-width:0;flex:1 1 160px}.dc-customer-usage .dc-tools input,.dc-customer-usage .dc-tools select{width:100%}.dc-customer-usage .dc-metrics{grid-template-columns:1.25fr repeat(3,minmax(0,1fr))}.dc-customer-usage .dc-table{max-width:100%}.dc-customer-usage .dc-table td{font-variant-numeric:tabular-nums}
.dc-customer-usage .dc-contact-metrics{grid-template-columns:repeat(3,minmax(0,1fr));border:0;border-radius:0;margin-bottom:0}.dc-customer-usage .dc-contact-note{padding:0 24px 20px}
@media(max-width:700px){.dc-customer-usage .dc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-customer-usage .dc-metrics article{padding:16px;border-bottom:1px solid var(--dc-line)}.dc-customer-usage .dc-metrics article:nth-child(2n){border-right:0}.dc-customer-usage .dc-metrics strong{font-size:28px}.dc-customer-usage .dc-pad{padding:16px}}
@media(max-width:700px){.dc-customer-usage .dc-contact-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dc-customer-usage .dc-contact-metrics article{padding:12px 8px}.dc-customer-usage .dc-contact-metrics .dc-pill{font-size:11px;padding:4px}.dc-customer-usage .dc-contact-note{padding:12px 16px 16px}}
*{box-sizing:border-box}body{margin:0;background:var(--dc-canvas);color:var(--dc-ink);font:14px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a{color:var(--dc-blue);text-decoration:none}a:hover{text-decoration:underline}button{min-height:44px;padding:8px 16px;border:1px solid var(--dc-line);border-radius:6px;background:var(--dc-paper);color:var(--dc-ink);cursor:pointer}button:hover{background:var(--dc-input)}button:active{transform:translateY(1px)}button:disabled{opacity:.5;cursor:default}button.primary,.dc-button{background:var(--dc-blue);color:white;border-color:var(--dc-blue)}.dc-button{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:6px;padding:12px 16px}button.danger{color:var(--dc-danger);background:#fff1f1}input,select,textarea{background:var(--dc-input);color:var(--dc-ink);border:1px solid var(--dc-line);border-radius:6px;padding:10px 12px;min-height:44px;max-width:100%}input,textarea{width:100%}textarea{min-height:88px;resize:vertical}label{display:grid;gap:8px;font-size:13px;color:var(--dc-secondary)}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--dc-blue)}:focus-visible{outline:2px solid var(--dc-blue);outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:24px;line-height:1.35;letter-spacing:-.4px}h2{font-size:18px;line-height:1.4}h3{font-size:15px}small,.dc-muted{color:var(--dc-muted);font-size:12px}.dc-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.dc-head p{color:var(--dc-secondary);font-size:12px;margin-top:4px}.dc-panel{border:1px solid var(--dc-line);border-radius:10px;background:var(--dc-paper);overflow:hidden;margin-bottom:20px}.dc-panel>.dc-head{padding:20px 24px;margin:0}.dc-pad{padding:24px}.dc-pad>.dc-head{padding:0;margin-bottom:20px}.dc-metrics{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;background:var(--dc-paper);border:1px solid var(--dc-line);border-radius:10px;overflow:hidden;margin-bottom:24px}.dc-metrics article{padding:24px;border-right:1px solid var(--dc-line)}.dc-metrics article:last-child{border:0}.dc-metrics span{color:var(--dc-secondary);font-size:12px}.dc-metrics strong{display:block;font-size:32px;margin-top:8px;line-height:1.25;font-variant-numeric:tabular-nums}.dc-metrics small{font-size:12px;font-weight:400;margin-left:8px}.dc-hero{background:var(--dc-blue-soft)}.dc-hero strong{color:var(--dc-blue)}.dc-pill{display:inline-flex;padding:4px 8px;border-radius:5px;background:var(--dc-input);color:var(--dc-secondary);font-size:12px;white-space:nowrap}.dc-pill.ok{color:var(--dc-success);background:#edf7f1}.dc-pill.warn{color:var(--dc-warning);background:#fff6e8}.dc-pill.bad{color:var(--dc-danger);background:#fff1f1}.dc-source{padding:12px 16px;border:1px solid var(--dc-line);background:var(--dc-paper);border-radius:6px;color:var(--dc-secondary);font-size:12px;margin-bottom:20px}.dc-source summary{cursor:pointer;min-height:28px;padding-top:8px}.dc-source p{margin-top:8px}.dc-warning{background:#fff6e8;color:var(--dc-warning);border-color:#f3e5ce}.dc-alert{padding:16px;background:#fff6e8;border-radius:6px;color:var(--dc-warning);margin-bottom:20px}.dc-empty{padding:40px 20px;text-align:center;color:var(--dc-muted)}.dc-avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;overflow:hidden;background:var(--dc-blue-soft);color:var(--dc-blue);font-weight:600}.dc-avatar img{width:100%;height:100%;object-fit:cover}.dc-person{display:flex;align-items:center;gap:12px}.dc-person small{display:block;margin-top:4px}.dc-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--dc-line)}.dc-row:last-child{border:0}.dc-row small{display:block;margin-top:4px}.dc-list{display:grid;gap:0}.dc-kv{display:grid;grid-template-columns:120px 1fr;gap:12px;margin:20px 0}.dc-kv dt{color:var(--dc-muted)}.dc-kv dd{margin:0;overflow-wrap:anywhere}.dc-bars{display:flex;justify-content:space-around;gap:20px;padding:20px 24px}.dc-bars>div{flex:1;display:grid;gap:8px;min-width:0;text-align:center}.dc-bars strong{font-variant-numeric:tabular-nums;color:var(--dc-blue)}meter{width:100%;height:16px}meter::-webkit-meter-bar{background:var(--dc-input);border:0;border-radius:4px}meter::-webkit-meter-optimum-value{background:var(--dc-blue)}.dc-table{overflow:auto}.dc-table table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left;font-size:13px}.dc-table th{background:var(--dc-input);font-size:11px;color:var(--dc-muted);font-weight:500;padding:12px 16px}.dc-table td{padding:12px 16px;border-bottom:1px solid var(--dc-line)}.dc-table td small{display:block}.dc-table tr:hover{background:var(--dc-input)}.dc-table td.wrap{white-space:normal;min-width:200px}.dc-page,.dc-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}.dc-tools{flex-wrap:wrap}.dc-tools label{min-width:180px;flex:1}.dc-page{border-top:1px solid var(--dc-line);color:var(--dc-muted);font-size:12px}.dc-page>div{display:flex;gap:8px}.dc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px;border-bottom:1px solid var(--dc-line)}.dc-tabs a{display:flex;align-items:center;min-height:44px;padding:8px 12px;color:var(--dc-secondary)}.dc-tabs a[aria-current]{border-bottom:2px solid var(--dc-blue);color:var(--dc-blue);font-weight:600}.dc-form{display:grid;gap:20px;max-width:660px}.dc-form .check{display:flex;align-items:center;gap:12px}.dc-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dc-login{width:min(440px,calc(100% - 32px));margin:12vh auto;padding:32px;background:var(--dc-paper);border:1px solid var(--dc-line);border-radius:10px}.dc-login h1{margin-bottom:8px}.dc-login p{margin-bottom:24px}.dc-login form{display:grid;gap:20px}dialog{width:min(480px,calc(100% - 32px));border:1px solid var(--dc-line);border-radius:10px;padding:24px;color:var(--dc-ink)}dialog::backdrop{background:#1d2a3b44}dialog h2{margin-bottom:12px}dialog form{display:grid;gap:20px}dialog .actions{display:flex;gap:12px;justify-content:flex-end}.dc-admin #notice{min-height:24px;margin-bottom:16px;color:var(--dc-secondary)}.dc-admin #notice.error{color:var(--dc-danger)}
.dc-mobile{max-width:560px;margin:auto;background:var(--dc-canvas);min-height:100dvh}.dc-mobile header{position:sticky;top:0;z-index:2;background:var(--dc-paper);border-bottom:1px solid var(--dc-line);display:flex;align-items:center;justify-content:space-between;padding:12px 16px;min-height:64px}.dc-mobile header strong{font-size:16px}.dc-mobile header small{display:block;font-size:10px}.dc-mobile main{padding:20px 16px 108px}.dc-mobile .dc-panel{margin-bottom:16px}.dc-mobile .dc-pad{padding:20px}.dc-mobile .dc-head h2{font-size:17px}.dc-mobile .dc-head p{font-size:11px}.dc-mobile .dc-metrics{grid-template-columns:1fr 1fr;margin-bottom:16px}.dc-mobile .dc-metrics article{padding:20px;border-bottom:1px solid var(--dc-line)}.dc-mobile .dc-metrics article:nth-child(2n){border-right:0}.dc-mobile .dc-metrics strong{font-size:28px}.dc-mobile .dc-kv{grid-template-columns:92px 1fr;font-size:13px}.dc-mobile .dc-page{padding:12px 0;align-items:flex-start}.dc-mobile .dc-page button{padding:8px 12px}.dc-mobile .dc-tools{padding:0 0 16px}.dc-mobile .dc-tools label{min-width:130px}.dc-mobile .dc-tabs{gap:0;margin-bottom:16px}.dc-mobile .dc-tabs a{flex:1;padding:8px;font-size:12px}.dc-mobile .dc-source{font-size:11px;padding:12px}.dc-mobile .dc-bars{gap:12px;padding:12px 16px 20px}.dc-mobile .dc-form{gap:20px}.dc-mobile input{font-size:16px}.dc-mobile .dc-login{width:auto;margin:12px 0;padding:24px}.dc-mobile .dc-row{align-items:flex-start}.dc-mobile .dc-row>div{min-width:0}.dc-mobile .dc-row strong,.dc-mobile .dc-row a{overflow-wrap:anywhere}.dc-mobile .dc-row>span{text-align:right;white-space:nowrap}.dc-mobile .dc-person{gap:8px}.dc-mobile .dc-person>div{min-width:0}.dc-mobile nav.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,560px);display:flex;justify-content:space-around;background:var(--dc-paper);border-top:1px solid var(--dc-line);padding:8px 4px max(12px,env(safe-area-inset-bottom));z-index:3}.dc-mobile nav.bottom a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 4px;font-size:12px;color:var(--dc-secondary);flex:1 1 0;min-width:0;max-width:none}.dc-mobile nav.bottom a[aria-current]{color:var(--dc-blue);background:var(--dc-blue-soft);border-radius:6px}.dc-mobile #notice{padding:0 16px;color:var(--dc-danger);font-size:13px;overflow-wrap:anywhere}.dc-mobile .dc-back{display:flex;align-items:center;min-height:44px;font-size:13px;margin-bottom:12px}.dc-withdrawn{padding:32px 24px;text-align:center}.dc-withdrawn h1{margin-bottom:16px}.dc-withdrawn p{color:var(--dc-secondary);margin-bottom:24px}
.dc-admin .dc-back{display:flex;align-items:center;min-height:44px;margin-bottom:12px}.dc-admin .dc-form{font-size:14px}
@media(min-width:701px){.dc-admin{min-width:1100px}.dc-admin .dc-login{min-width:400px}.dc-mobile{border-inline:1px solid var(--dc-line)}}
@media(max-width:1280px) and (min-width:701px){.dc-admin .dc-table th,.dc-admin .dc-table td{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}button:active{transform:none}}

#binding-error{width:min(400px,calc(100% - 32px));padding:24px;max-height:calc(100dvh - 48px);overflow:auto}#binding-error::backdrop{background:#1d2a3b80}#binding-error h2{font-size:20px;color:var(--dc-danger);margin-bottom:16px}#binding-error p{font-size:15px;line-height:1.7;overflow-wrap:anywhere;margin-bottom:24px}#binding-error button{width:100%;min-height:48px;font-size:16px}

.dc-mobile .dc-row .dc-self{color:var(--dc-blue);font-weight:600}

.dc-sharer-orders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 12px}.dc-sharer-orders>div{display:grid;gap:6px;min-width:0}.dc-sharer-orders span{font-size:11px;color:var(--dc-secondary);white-space:nowrap}.dc-sharer-orders strong{font-size:26px;font-variant-numeric:tabular-nums;white-space:nowrap}.dc-sharer-orders strong small{font-size:10px;margin-left:3px;font-weight:400}.dc-sharer-total strong{color:var(--dc-blue)}.dc-sharer-people{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:24px 0 8px}.dc-sharer-people strong{font-size:22px;color:var(--dc-blue);font-variant-numeric:tabular-nums}.dc-sharer-people small{color:var(--dc-secondary);font-size:12px}.dc-sharer-rule{line-height:1.65;margin-bottom:16px}.dc-my-sharer-person{display:grid;gap:8px;min-width:0}.dc-my-sharer-person>.dc-wx-person{max-width:100%;display:flex}.dc-my-sharer-person .dc-wx-person-text{max-width:none;min-width:0;flex:1}.dc-my-sharer{gap:12px}.dc-my-sharer-person{flex:1}.dc-my-sharer>span{flex:0 0 88px}.dc-my-sharer-person>.dc-wx-person .dc-wx-avatar{width:36px;height:36px;flex-basis:36px}
.dc-my-sharers .dc-my-sharer{padding:16px}.dc-mobile nav.bottom.dc-sharer-navigation a{font-size:11px;white-space:nowrap}

.dc-admin .dc-dealer-tabs{padding-inline:24px;margin-bottom:0}

.dc-overview-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
.dc-metric-link{display:block;color:inherit;border-radius:4px}
.dc-metric-link:hover{text-decoration:none;color:var(--dc-blue)}
.dc-metric-link:focus-visible{outline:2px solid var(--dc-blue);outline-offset:6px}
.dc-metrics .dc-metric-hint{display:block;margin-top:8px;color:var(--dc-blue)}

.dc-qr-notice{border-left:4px solid var(--dc-danger);background:#fff1f1}
.dc-qr-notice h2{color:var(--dc-danger);font-size:18px;margin:0 0 8px}
.dc-qr-notice p{margin:8px 0 0}

/* Pending-ID registry lookup: compact columns, source IDs stay supporting text. */
.dc-missing-registry table{min-width:1440px}.dc-missing-registry td:first-child{min-width:190px}.dc-missing-registry td:nth-child(2){min-width:125px;font-variant-numeric:tabular-nums}.dc-missing-registry td:nth-child(6){min-width:145px}.dc-missing-registry td.wrap{min-width:88px;max-width:145px;overflow-wrap:anywhere}.dc-missing-registry td:first-child>small{max-width:210px;white-space:normal}

.dc-enrollment-summary{padding:0 16px 16px;color:var(--dc-secondary);font-size:13px}.dc-missing-registry tr.dc-enrollment-abnormal{background:#fff5f5}.dc-missing-registry tr.dc-enrollment-abnormal:hover{background:#fff0f0}.dc-missing-registry .dc-enrollment-cell{min-width:180px;max-width:220px;white-space:normal}.dc-enrollment-cell .dc-pill{white-space:normal;font-weight:600}.dc-enrollment-cell details{font-size:12px;margin-top:6px}.dc-enrollment-cell summary{color:var(--dc-blue);cursor:pointer}.dc-enrollment-cell details p{margin-top:8px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}

.dc-enrollment-order{margin-top:8px}.dc-enrollment-order+ .dc-enrollment-order{border-top:1px solid var(--dc-line);padding-top:8px}.dc-enrollment-order>strong{display:block;color:var(--dc-ink)}.dc-enrollment-cell .dc-enrollment-order p{margin-top:4px}.dc-enrollment-order small.dc-receipt-valid{color:var(--dc-success)}.dc-enrollment-order small.dc-receipt-invalid{color:var(--dc-danger)}

/* Account notes remain scoped to the missing-ID admin list. */
.dc-note-cell{min-width:180px;max-width:240px}
.dc-note-button{display:block;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;width:100%;max-width:240px;max-height:200px;overflow-y:auto;font-size:13px;line-height:1.65;padding:8px 10px;color:var(--dc-ink);background:transparent;border:1px dashed var(--dc-line);border-radius:6px}
.dc-note-button:hover{border-color:var(--dc-blue);background:var(--dc-blue-soft)}
#note-dialog{width:min(520px,calc(100vw - 40px))}
#note-content{box-sizing:border-box;width:100%;min-height:150px;resize:vertical;line-height:1.7}
#note-error:empty{display:none}

/* Archive identity inputs stay compact; grade/status facets remain visible. */
.dc-dealer-filters{display:flex;flex-direction:column;gap:12px;padding:16px 24px;border-bottom:1px solid var(--dc-line)}
.dc-dealer-filter-inputs{display:flex;flex-wrap:wrap;gap:12px}
.dc-dealer-filter-inputs label{width:160px;max-width:100%;flex:0 0 160px;min-width:0}
.dc-dealer-filter-inputs input{width:100%;min-width:0}
#dealer-facets{display:grid;gap:8px}
.dc-dealer-facet-row{display:flex;gap:12px;align-items:flex-start}
.dc-dealer-facet-label{flex:0 0 72px;white-space:nowrap;font-size:12px;line-height:44px;color:var(--dc-secondary)}
.dc-dealer-facet-options{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.dc-dealer-facet-options button{font-size:13px;min-height:44px;padding:8px 12px;background:transparent;border-color:transparent}
.dc-dealer-facet-options button:hover{background:var(--dc-input)}
.dc-dealer-facet-options button[aria-pressed=true]{background:var(--dc-blue-soft);border-color:var(--dc-blue);color:var(--dc-blue);font-weight:600}
.dc-facet-count{font-size:12px;font-variant-numeric:tabular-nums}
.dc-dealer-filter-footer{display:flex;justify-content:space-between;align-items:center;gap:16px}
.dc-dealer-filter-footer p{font-size:12px;color:var(--dc-secondary)}
@media(max-width:540px){.dc-dealer-filters{padding:16px}.dc-dealer-filter-inputs label{width:auto;flex:1 1 140px}}

.dc-identity-receipts{font-size:12px;max-width:250px;white-space:normal;overflow-wrap:anywhere}
.dc-identity-receipts summary{cursor:pointer;color:var(--dc-blue);padding-top:4px}
.dc-identity-notice{margin:16px 0;padding:12px 16px;background:#fff1f1;border-left:3px solid var(--dc-danger);border-radius:6px}
.dc-identity-notice p{font-size:12px;margin-top:8px;color:var(--dc-secondary)}

.dc-dealer-row-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:92px}
.dc-dealer-row-actions button{font-size:12px;white-space:nowrap;padding:8px 12px}

/* JDY name is distinct from the YiZhi nickname, only in the admin archive. */
.dc-dealer-full-name{white-space:normal;min-width:160px;max-width:220px;overflow-wrap:anywhere}

/* Five primary activity sections, shared subnavigation and operational task links. */
.dc-admin .dc-section-tabs{gap:8px;margin:0 0 16px;border-bottom:1px solid var(--dc-line)}
.dc-admin .dc-section-tabs[hidden]{display:none!important}
.dc-operation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.dc-operation-link{display:flex;flex-direction:column;gap:8px;border:1px solid var(--dc-line);border-radius:6px;padding:16px;min-height:120px}
.dc-operation-link span{font-size:12px;color:var(--dc-muted)}.dc-operation-link span:last-child{color:var(--dc-blue);margin-top:auto}.dc-operation-link:hover{background:var(--dc-input);text-decoration:none}
@media(min-width:1200px) and (max-width:1280px){.dc-operation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Order-number help uses supplied screenshots; full images remain available for long press. */
.dc-order-help .dc-help-code{margin:20px auto 0;max-width:300px;text-align:center}
.dc-order-help figcaption{font-size:12px;color:var(--dc-secondary);margin-top:8px}
.dc-order-help ol{padding-left:24px;margin:24px 0}
.dc-order-help li{padding-left:4px;margin-bottom:24px}
.dc-order-help li:last-child{margin-bottom:0}
.dc-order-help li::marker{font-weight:600;color:var(--dc-blue)}
.dc-help-image-button{display:block;width:100%;min-height:0;padding:0;margin-top:12px;border:1px solid var(--dc-line);border-radius:6px;overflow:hidden;cursor:zoom-in;background:white}
.dc-help-image-button img{display:block;width:100%;height:auto}
#help-image-dialog{width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:12px;border:0;border-radius:10px;overflow:auto}
#help-image-dialog::backdrop{background:rgba(15,23,42,.7)}
.dc-help-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:12px;color:var(--dc-secondary)}
#help-image-preview{display:block;width:100%;height:auto}

.dc-basic-profile{margin-top:20px}.dc-basic-profile h1{margin:20px 0;font-size:24px;overflow-wrap:anywhere}.dc-basic-profile .dc-kv{margin-bottom:0}

/* Region comparison, scoped team rollups and daily member ledger. */
.dc-org .dc-org-reset{align-self:end;min-height:44px;display:flex;align-items:center}
.dc-org .dc-tools input{max-width:240px}.dc-org .dc-table td{font-variant-numeric:tabular-nums}.dc-org .dc-table small{display:block}
/* Keep the member visible while comparing daily orders horizontally. */
.dc-org-members .dc-table{max-height:620px;overflow:auto;isolation:isolate}
.dc-org-members table{border-collapse:separate;border-spacing:0}
.dc-org-members th{position:sticky;top:0;background:var(--dc-input);z-index:2}
.dc-org-members th:first-child,.dc-org-members td:first-child{position:sticky;left:0;min-width:160px;width:160px;max-width:160px;white-space:normal;box-shadow:1px 0 0 var(--dc-line)}
.dc-org-members td:first-child{z-index:1;background:var(--dc-paper)}
.dc-org-members th:first-child{z-index:3}
.dc-org-members tr:hover td:first-child{background:var(--dc-input)}
.dc-org-members td:first-child>strong{display:block;overflow-wrap:anywhere}
.dc-org-members td:first-child>.dc-pill{white-space:normal;margin-top:4px}
.dc-mobile .dc-org .dc-org-members th:first-child,.dc-mobile .dc-org .dc-org-members td:first-child{min-width:144px;width:144px;max-width:144px;white-space:normal}
.dc-org-members td:last-child button{display:block;font-size:12px;margin-bottom:4px;white-space:nowrap}
#org-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:24px;border:1px solid var(--dc-line);border-radius:10px}#org-dialog::backdrop{background:#1d2a3b80}
.dc-org-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dc-org-choices label{display:flex;align-items:center;gap:8px;min-height:44px}.dc-org fieldset{border:1px solid var(--dc-line);border-radius:6px;padding:12px;margin-top:16px}.dc-org legend{padding:0 6px;color:var(--dc-secondary)}#org-save-error{color:var(--dc-danger)}
.dc-mobile .dc-org .dc-tools{display:grid;grid-template-columns:1fr 1fr;padding:0;gap:12px}.dc-mobile .dc-org .dc-tools .dc-org-search{grid-column:1/-1}.dc-mobile .dc-org select{width:100%;min-width:0}.dc-mobile .dc-org .dc-metrics strong{font-size:26px}.dc-mobile .dc-org .dc-metrics small{font-size:12px}.dc-mobile .dc-org .dc-head h2{font-size:18px}.dc-mobile .dc-org .dc-table th,.dc-mobile .dc-org .dc-table td{padding:12px;font-size:12px;white-space:nowrap}.dc-mobile .dc-org .dc-pad{padding:16px}
.dc-mobile .dc-org .dc-bars{gap:6px}.dc-mobile .dc-org .dc-bars small{font-size:10px;white-space:nowrap}
.dc-test-subject{border-left:3px solid var(--dc-blue);background:var(--dc-blue-soft);padding:16px;margin-bottom:20px;border-radius:6px}.dc-test-subject p{font-size:12px;color:var(--dc-secondary);margin-top:6px}.dc-test-subject small{display:block;margin-top:6px}.dc-test-subject .dc-tabs{margin-top:12px}.dc-test-exit,.dc-test-row-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px}.dc-test-personal small{display:block}.dc-test-personal .dc-tools{padding:0}.dc-test-personal .dc-row{gap:12px}
.dc-test-subject>strong{display:block;overflow-wrap:anywhere}.dc-mobile .dc-test-personal .dc-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dc-mobile .dc-test-personal .dc-tools label{min-width:0}.dc-mobile .dc-test-personal .dc-tools select{width:100%}.dc-mobile .dc-test-personal #test-account-form label{grid-column:1/-1}.dc-mobile .dc-test-personal .dc-row>span{min-width:84px}
.dc-mobile .dc-test-personal #test-account-form{grid-template-columns:minmax(0,1fr) auto;align-items:end}.dc-mobile .dc-test-personal #test-account-form label{grid-column:auto}.dc-mobile .dc-test-personal #test-account-form button{padding-inline:12px}

/* Searchable, read-only account choices with explicit role scopes. */
.dc-account-selection{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px}.dc-account-selection>div{min-width:0}.dc-account-selection strong{font-size:15px;overflow-wrap:anywhere}.dc-account-selection p{font-size:12px;color:var(--dc-secondary);margin-top:6px}.dc-account-selection button{flex-shrink:0}.dc-account-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.dc-account-scope{display:grid;gap:4px;margin-top:8px;font-size:12px;color:var(--dc-secondary);line-height:1.6;overflow-wrap:anywhere}.dc-account-all-scopes{margin-top:8px;font-size:12px}
#test-account-dialog{width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--dc-line);border-radius:10px;overflow:auto;background:var(--dc-paper);color:var(--dc-ink)}#test-account-dialog::backdrop{background:#1d2a3b80}.dc-account-dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px;border-bottom:1px solid var(--dc-line)}.dc-account-dialog-head h2{font-size:18px}.dc-account-search{padding:12px 16px}.dc-account-facets{display:flex;gap:6px;flex-wrap:wrap;padding:0 16px 12px}.dc-account-facets button{font-size:12px;padding:6px 10px}.dc-account-facets button[aria-pressed=true]{color:var(--dc-blue);border-color:var(--dc-blue);background:var(--dc-blue-soft)}.dc-account-result-heading{display:flex;align-items:center;justify-content:space-between;padding:0 16px 8px;font-size:12px;color:var(--dc-secondary)}.dc-account-result-heading button{font-size:12px}.dc-account-results{display:grid;gap:8px;padding:0 16px 16px;max-height:45dvh;overflow:auto}.dc-account-option{width:100%;text-align:left;padding:12px;background:var(--dc-paper)}.dc-account-option-name{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline;justify-content:space-between}.dc-account-option-name>span{font-size:12px;color:var(--dc-secondary)}.dc-account-current{display:block;font-size:12px;color:var(--dc-blue);margin-top:8px}#test-account-dialog [data-more-account-picker]{display:block;margin:0 auto 16px}.dc-mobile .dc-account-selection{align-items:flex-start}.dc-mobile .dc-account-selection button{font-size:12px;padding-inline:10px}.dc-mobile .dc-account-selection strong small{display:block;font-size:12px;color:var(--dc-secondary)}

/* Actor controls stay outside the simulated member's navigation. */
.dc-simulation-tools{margin:12px 16px 0;padding:12px 16px;background:var(--dc-blue-soft);border:1px solid var(--dc-line);border-radius:8px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;overflow-wrap:anywhere}
.dc-simulation-tools[hidden]{display:none}.dc-simulation-tools small{display:block;color:var(--dc-muted);margin-top:4px}.dc-simulation-tools>div:last-child{display:flex;align-items:center;gap:16px}.dc-simulation-tools button,.dc-simulation-tools a{min-height:44px;display:inline-flex;align-items:center}.dc-org th{white-space:normal}

.dc-metrics.dc-order-count{grid-template-columns:minmax(0,1fr)}

/* Named leadership directory: region accordion, compact teams inside each region. */
.dc-leader-settings>.dc-head{align-items:center;gap:16px}.dc-leader-settings>.dc-head>button{flex-shrink:0}
.dc-leader-directory{display:grid;gap:10px}.dc-leader-region{border:1px solid var(--dc-line);border-radius:6px;overflow:hidden}
.dc-leader-region>summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 14px;cursor:pointer;list-style:none;background:var(--dc-input)}
.dc-leader-region>summary::-webkit-details-marker{display:none}.dc-leader-region>summary:before{content:'›';font-size:20px;color:var(--dc-muted);width:12px;text-align:center}
.dc-leader-region[open]>summary:before{content:'⌄'}.dc-leader-region>summary>strong{font-size:15px}.dc-leader-region>summary>span{margin-left:auto;font-size:12px;color:var(--dc-secondary)}
.dc-leader-region[open]>summary{background:var(--dc-blue-soft);color:var(--dc-blue)}.dc-leader-region>summary:focus-visible,.dc-leader-person:focus-visible{outline:2px solid var(--dc-blue);outline-offset:-2px}
.dc-leader-region-body{padding:12px;background:var(--dc-canvas)}
.dc-leader-region-owners{padding:0 12px 8px;margin-bottom:12px;background:var(--dc-paper);border:1px solid var(--dc-line);border-radius:6px}
.dc-leader-scope-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px}
.dc-leader-scope-head>strong,.dc-leader-scope-head h3{font-size:14px;font-weight:600}
.dc-leader-scope-head h3 small{margin-left:10px;font-size:11px;font-weight:400;color:var(--dc-secondary)}
.dc-leader-owner-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px}
.dc-leader-teams{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.dc-leader-team{min-width:0;background:var(--dc-paper);border:1px solid #dce3ed;border-radius:6px;overflow:hidden}
.dc-leader-team>.dc-leader-scope-head{padding:0 12px;background:var(--dc-input);border-bottom:1px solid var(--dc-line)}
.dc-leader-team-people{padding:4px 12px}
.dc-leader-person{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:48px;max-width:100%;padding:6px 0;border-color:transparent;background:transparent;text-align:left;line-height:1.4}
.dc-leader-person>strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.dc-leader-person>small{font-size:11px;color:var(--dc-secondary)}.dc-leader-person:hover{background:var(--dc-blue-soft);color:var(--dc-blue);border-color:transparent}.dc-leader-empty{display:block;font-size:12px;padding:16px 0}
.dc-leader-auxiliary{margin-top:16px;font-size:12px;color:var(--dc-secondary)}.dc-leader-auxiliary>summary{cursor:pointer;min-height:36px;display:flex;align-items:center}.dc-leader-auxiliary p{margin-top:8px;overflow-wrap:anywhere}.dc-leader-history{margin-top:12px}.dc-leader-history>div{display:flex;flex-wrap:wrap;gap:4px;min-width:0}
@media(max-width:700px){.dc-leader-settings>.dc-head{align-items:flex-start;flex-direction:column}.dc-leader-settings>.dc-head>button{align-self:flex-start}.dc-leader-teams{grid-template-columns:minmax(0,1fr)}.dc-leader-region>summary{gap:8px;padding-inline:10px}.dc-leader-region>summary>span{font-size:11px}.dc-leader-region-body{padding-inline:10px}}

/* Authorized WeChat appearance never replaces the registered identity. */
.dc-wx-person{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-width:0;vertical-align:middle;text-align:left}
.dc-wx-person-text{display:flex;flex-direction:column;min-width:0;max-width:220px;line-height:1.45}.dc-wx-person-text>strong,.dc-wx-person-text>small{display:block!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dc-wx-person-text>strong{font-size:13px;font-weight:500}.dc-wx-person-text>small{font-size:11px;color:var(--dc-secondary)}.dc-wx-avatar{position:relative;width:32px;height:32px;flex:0 0 32px;overflow:hidden;border-radius:50%;background:var(--dc-blue-soft);color:#9aacc5}
.dc-wx-avatar svg{width:24px;height:24px}.dc-wx-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.dc-leader-person .dc-wx-person-text{max-width:170px}.dc-leader-person .dc-wx-avatar{width:28px;height:28px;flex-basis:28px}
.dc-leader-team .dc-leader-person{max-width:100%}.dc-org-members td:first-child .dc-wx-person{align-items:flex-start}.dc-org-members td:first-child .dc-wx-person-text{max-width:104px}.dc-mobile .dc-org-members td:first-child .dc-wx-person-text{max-width:88px}
.dc-kv .dc-wx-person{max-width:100%}.dc-account-option-name>.dc-wx-person{flex:1}.dc-account-option .dc-wx-person-text{max-width:300px}
@media(max-width:700px){.dc-leader-person .dc-wx-person-text{max-width:140px}.dc-account-option .dc-wx-person-text{max-width:220px}}

.dc-wx-person-text>small.dc-wx-secondary{display:flex!important;gap:6px;align-items:baseline}.dc-wx-registered{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dc-wx-sub{flex-shrink:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Poster names remain separate from registered and WeChat display names. */
.dc-required{font-size:11px;color:var(--dc-muted);font-weight:400;margin-left:4px}.dc-poster-label>small{display:flex;justify-content:space-between;gap:12px}.dc-poster-label>small>span{white-space:nowrap;font-variant-numeric:tabular-nums}
.dc-poster-actions{display:flex;justify-content:flex-end;gap:12px}.dc-poster-actions>.primary{flex:1}.dc-poster-value,.dc-poster-confirm{font-size:20px;font-weight:600;overflow-wrap:anywhere}.dc-poster-profile .dc-head{margin-bottom:16px}.dc-poster-profile .dc-form{margin-top:8px}
.dc-poster-admin{display:flex;align-items:center;gap:12px;min-width:110px}.dc-poster-admin>span{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dc-poster-admin>button{min-height:44px;padding:8px;color:var(--dc-blue);border-color:transparent;background:transparent}
.dc-poster-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.dc-poster-dialog-head>button{font-size:22px;padding:4px 12px;min-height:44px}.dc-poster-dialog-head h2{margin:0}#poster-person{margin-block:8px 20px}#poster-form small{display:flex;justify-content:space-between;gap:12px}#poster-error:empty{display:none}

/* Persistent action copy for a failed personal WeChat QR check. */
:root{--dc-danger-soft:#fff1f1}
.dc-qr-action{padding:16px;border:1px solid var(--dc-danger);border-left-width:3px;border-radius:8px;background:var(--dc-danger-soft);margin-bottom:16px;text-align:left}.dc-basic-profile>.dc-qr-action{margin-top:20px;margin-bottom:0}.dc-qr-action-title{display:flex;align-items:center;gap:8px;color:var(--dc-danger)}.dc-qr-action-title>span{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;font-size:14px;font-weight:700;flex-shrink:0}.dc-qr-action-title>h2{font-size:16px;font-weight:600}.dc-qr-action>p{font-size:12px;line-height:1.7;color:var(--dc-secondary);margin-top:8px}.dc-qr-action>p.dc-qr-action-main{font-size:14px;font-weight:600;color:var(--dc-danger);margin-top:12px}
.dc-archive-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.dc-archive-export{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--dc-line);padding-top:12px;margin-top:12px}
.dc-archive-export>span{font-size:13px;color:var(--dc-muted)}
.dc-responsibility{min-width:190px;max-width:260px;white-space:normal}
.dc-responsibility small{display:block;line-height:1.6;margin-top:4px}
.dc-responsibility summary{font-size:12px;margin-top:6px}
.dc-archive-warning{color:#aa4b16}

/* Local leadership actions stay beside their exact region/team. */
.dc-leader-scope-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;margin:0;padding:6px 8px;border-color:transparent;background:transparent;font-size:12px;font-weight:400;color:var(--dc-blue);white-space:nowrap}
.dc-leader-person-entry{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;min-height:54px}
.dc-leader-team-people>.dc-leader-person-entry+.dc-leader-person-entry{border-top:1px solid var(--dc-line)}
.dc-leader-person-entry .dc-leader-person{min-width:0;flex:1}
.dc-leader-person-entry .dc-wx-person{display:flex;width:100%}.dc-leader-person-entry .dc-wx-person-text{max-width:none;flex:1}
.dc-leader-remove{flex-shrink:0;min-width:44px;min-height:44px;padding:6px 8px;border-color:transparent;color:var(--dc-danger);font-size:12px}
.dc-leader-remove:hover{background:#fff1f1}
.dc-org-scope-context{padding:12px;background:var(--dc-blue-soft);border-radius:6px}
.dc-org-scope-context small{display:block;margin-top:4px;color:var(--dc-secondary)}
.dc-org-scope-person{margin-block:8px}
.dc-org-scope-removal{color:var(--dc-danger)}

.dc-qr-timing{margin-top:16px;padding:12px;background:var(--dc-input);border:1px solid var(--dc-line);border-radius:6px;color:var(--dc-secondary);font-size:12px;line-height:1.7;text-align:left}
.dc-qr-timing p+p{margin-top:6px}.dc-qr-timing strong{color:var(--dc-ink);font-weight:600}
.dc-qr-timing small{display:inline-block;white-space:nowrap;margin-left:6px;color:var(--dc-muted);font-size:11px}
.dc-qr-action .dc-qr-timing{background:var(--dc-paper);border-color:#ecd3d3}

/* Correct a copied receipt before the ownership check is submitted. */
.dc-form .dc-field-error{color:var(--dc-danger);font-size:13px;line-height:1.6}
#bind-form [aria-invalid="true"]{border-color:var(--dc-danger);background:#fff8f8}

/* Team boundaries and a stable vertical roster keep adjacent groups distinct. */
@media(min-width:1500px){.dc-leader-teams{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1200px){.dc-leader-teams,.dc-leader-owner-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.dc-leader-teams,.dc-leader-owner-list{grid-template-columns:minmax(0,1fr)}.dc-leader-region-body{padding:10px}.dc-leader-region-owners{padding-inline:10px}}

/* Closed overlays must stay hidden even without a browser dialog UA rule. */
body.dc-dealer-client dialog:not([open]){display:none!important}
body.dc-dealer-client dialog.dc-dialog-fallback[open]{display:block;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;width:calc(100% - 32px);max-width:480px;max-height:calc(100vh - 48px);overflow:auto;background:var(--dc-paper)}
.dc-dialog-fallback-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1d2a3b80}
html.dc-dialog-modal-open{overflow:hidden}

/* Effective account identity stays visible beside the existing refresh action. */
.dc-mobile header{gap:12px}.dc-mobile header>button{flex-shrink:0}
.dc-header-identity{min-width:0;flex:1}.dc-mobile header.dc-header-compact{gap:8px;padding:8px 12px;min-height:64px}.dc-mobile header.dc-header-compact>button{padding:6px 10px;font-size:12px}.dc-header-identity .dc-wx-person{display:flex;min-width:0;align-items:center;gap:8px}.dc-header-identity .dc-wx-avatar{width:32px;height:32px;flex:0 0 32px}.dc-header-identity .dc-wx-person-text{max-width:none;min-width:0;flex:1}.dc-mobile header .dc-header-identity strong{font-size:13px;font-weight:600;line-height:1.3}.dc-header-identity .dc-wx-person-text>small.dc-wx-secondary{display:block!important;margin-top:1px}.dc-header-identity .dc-wx-sub{display:block;max-width:100%;font-size:10px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dc-mobile header .dc-header-ids{display:flex;gap:8px;flex-wrap:nowrap;white-space:nowrap;font-size:10px;line-height:1.35;margin-top:1px;color:var(--dc-secondary);font-variant-numeric:tabular-nums;overflow-x:auto;scrollbar-width:none}.dc-header-ids::-webkit-scrollbar{display:none}.dc-header-mode{font-size:9px;color:var(--dc-blue);font-weight:400;margin-left:6px}

/* Keep ID recovery beside its field and reuse the mobile dialog pattern. */
.dc-id-field{display:grid;gap:8px}.dc-id-field-head,.dc-id-help-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dc-id-field-head label{min-width:0}.dc-id-help{border:0;padding:0 4px;background:transparent;color:var(--dc-blue);font-size:12px;white-space:nowrap}.dc-id-field>small{font-size:12px}
#dealer-id-help-dialog{width:calc(100% - 32px);max-width:440px;max-height:calc(100vh - 48px);overflow:auto;padding:20px;border:1px solid var(--dc-line);border-radius:10px;color:var(--dc-ink);background:var(--dc-paper)}
.dc-id-help-head{margin-bottom:16px}.dc-id-help-head h2{font-size:18px}.dc-id-help-head button{flex-shrink:0}.dc-id-query{padding:16px;border:1px solid var(--dc-line);border-radius:6px}.dc-id-query+.dc-id-query{margin-top:12px}.dc-id-query p{margin-top:8px;font-size:13px;color:var(--dc-secondary)}.dc-id-query .dc-button{margin-top:12px}.dc-id-help-note{margin-top:16px;font-size:12px;color:var(--dc-muted)}

/* The reviewed activity notice is confined to the bound dealer's profile page. */
.dc-activity-notice{border:1px solid #cdddf0;border-radius:10px;background:var(--dc-paper);overflow:hidden;margin-bottom:16px}
.dc-activity-notice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--dc-line)}.dc-activity-notice-heading h2{font-size:17px;letter-spacing:0}.dc-activity-notice-heading small{display:block;margin-top:2px;font-size:11px;color:var(--dc-secondary)}.dc-activity-notice-heading button{flex-shrink:0}
.dc-activity-notice-today{padding:18px}.dc-activity-notice-date{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--dc-secondary);margin-bottom:8px}.dc-activity-notice-date strong{font-size:13px;font-weight:600;color:var(--dc-blue)}.dc-activity-notice-date span{padding:2px 6px;border-radius:4px;background:var(--dc-blue-soft);color:var(--dc-blue);font-size:11px}
.dc-activity-notice h3{font-size:19px;line-height:1.5;letter-spacing:0}.dc-activity-notice-list{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:12px}.dc-activity-notice-list li{display:flex;align-items:center;gap:10px;font-size:14px}.dc-activity-notice-number{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;border-radius:50%;background:var(--dc-blue-soft);color:var(--dc-blue);font-size:12px;font-weight:600}
.dc-activity-notice-tomorrow{margin:0 18px 18px;padding:16px;background:var(--dc-blue-soft);border-radius:6px}.dc-activity-notice-tomorrow h3{color:var(--dc-blue);margin:4px 0 6px}.dc-activity-notice-tomorrow>p{font-size:13px;color:var(--dc-secondary)}.dc-activity-notice-share{margin-top:14px;padding-top:12px;border-top:1px solid #d3e2f5}.dc-activity-notice-share>span{font-size:11px;color:var(--dc-secondary)}.dc-activity-notice-share p{margin-top:6px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;font-weight:500}.dc-activity-notice-arrow{font-weight:400;color:var(--dc-blue)}
.dc-activity-notice-collapsed{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px;margin-bottom:16px;border:1px solid var(--dc-line);border-radius:6px;background:var(--dc-paper);font-size:13px;color:var(--dc-secondary)}

/* Receipt-scoped administrator replacement: reuse existing dialog and blue tokens. */
#replacement-dialog{max-height:calc(100dvh - 32px);overflow:auto}
.dc-replacement-person{margin-block:16px 12px}.dc-replacement-person>small{display:block;margin-top:8px}
.dc-replacement-hint{font-size:13px;color:var(--dc-secondary);margin-bottom:20px}
#replacement-pending{padding:16px;background:var(--dc-blue-soft);border-radius:6px;overflow-wrap:anywhere}
#replacement-pending>strong{color:var(--dc-blue)}#replacement-pending p{margin-block:8px 12px}
.dc-replacement-check{display:flex;gap:12px;align-items:center}
.dc-replacement-check input{flex-shrink:0}#replacement-error:empty,#replacement-result:empty{display:none}
#replacement-error,#replacement-result{margin-top:16px}#replacement-result{color:var(--dc-secondary)}

/* Status checks give feedback beside the action; reauthorization stays secondary. */
.dc-withdrawn #retry-result{margin:12px 0 0;font-size:13px;min-height:20px}
.dc-mobile .dc-withdrawn .dc-reauthorize{justify-content:center;margin:12px 0 0}

.dc-my-sharers .dc-my-sharer,.dc-sharer-columns{display:grid;grid-template-columns:minmax(80px,1fr) 50px 78px max-content;gap:6px;align-items:center;padding:12px 10px}.dc-my-sharers .dc-my-sharer{min-height:52px}.dc-sharer-columns{font-size:10px;color:var(--dc-secondary);background:var(--dc-input);border-bottom:1px solid var(--dc-line)}.dc-sharer-columns>span:last-child{text-align:right}.dc-my-sharer .dc-wx-person{gap:6px}.dc-my-sharer-person>.dc-wx-person .dc-wx-avatar{width:24px;height:24px;flex-basis:24px}.dc-my-sharer .dc-wx-person-text strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dc-sharer-id,.dc-sharer-date,.dc-sharer-count{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.dc-sharer-id,.dc-sharer-date{color:var(--dc-secondary)}.dc-sharer-count{text-align:right}

.dc-org-member-binding{margin-top:6px}

.dc-org-partner-id{font-size:11px;color:var(--dc-secondary);margin-top:4px}.dc-org .dc-org-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dc-org .dc-org-metrics article{padding:12px 8px;min-width:0;border:0}.dc-org .dc-org-metrics span{font-size:10px;white-space:nowrap}.dc-org .dc-org-metrics strong{font-size:22px;margin-top:5px;white-space:nowrap}.dc-org .dc-org-metrics small{font-size:10px;margin-left:3px}.dc-sales-reference{font-size:12px;line-height:1.65;color:var(--dc-danger);margin-bottom:16px}

/* 分享员层级：沿姓名行展示，未知关系不推断为更多推荐。 */
.dc-sharer-relation{flex:0 0 auto;white-space:nowrap;font-size:9px;font-weight:400;line-height:18px;padding:0 4px;border-radius:3px;background:var(--dc-input);color:var(--dc-secondary)}.dc-sharer-relation-direct{background:var(--dc-blue-soft);color:var(--dc-blue)}.dc-my-sharer .dc-wx-person-text strong{display:block;min-width:0}.dc-my-sharer-person>.dc-wx-person .dc-wx-person-text{flex:1;min-width:0}

.dc-sharer-orders.dc-sharer-sales-orders{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dc-personal-sales>span,.dc-personal-sales strong{color:var(--dc-blue)}

.dc-org-pagination{flex-wrap:wrap}.dc-org-pagination>.dc-org-page-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.dc-org-pagination label{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;white-space:nowrap}.dc-org-pagination select{width:88px;min-height:44px;padding:8px}.dc-org-pagination .dc-org-page-jump{display:flex;align-items:center;gap:6px;margin:0}.dc-org-pagination .dc-org-page-jump input{width:62px;min-height:44px;padding:8px}.dc-org-pagination button{min-height:44px;padding:8px 10px;font-size:12px}.dc-mobile .dc-org-pagination>.dc-org-page-controls{width:100%}

@media(max-width:360px){.dc-sharer-orders.dc-sharer-sales-orders{grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr))}.dc-personal-sales>span{font-size:10px}}

.dc-org-rank-modes{display:flex;gap:4px;flex-shrink:0}.dc-org-rank-modes button{min-height:44px;padding:8px 12px;font-size:12px;white-space:nowrap}.dc-org-rank-modes button[aria-pressed=true]{background:var(--dc-blue-soft);border-color:var(--dc-blue);color:var(--dc-blue);font-weight:600}.dc-org-team-ranking>.dc-head{flex-wrap:wrap}.dc-org-team-ranking>.dc-head>div:first-child{min-width:0}

.dc-org-rank-regions{display:grid;gap:16px;padding:0 16px 16px}.dc-org-rank-region{border:1px solid var(--dc-line);border-radius:6px;overflow:hidden;background:var(--dc-paper)}.dc-org-rank-region-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--dc-blue-soft);border-left:3px solid var(--dc-blue)}.dc-org-rank-region-head h3{font-size:14px;color:var(--dc-blue)}.dc-org-rank-region-head span{font-size:11px;color:var(--dc-secondary);white-space:nowrap}
.dc-org-mobile-teams .dc-table{position:relative;isolation:isolate;overflow:auto}
.dc-org-mobile-teams table{min-width:588px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-variant-numeric:tabular-nums}
.dc-org-mobile-teams th,.dc-org-mobile-teams td{text-align:left;white-space:nowrap}
.dc-org-mobile-teams th:first-child,.dc-org-mobile-teams td:first-child{position:sticky;left:0;z-index:1;width:84px;text-align:left;box-shadow:1px 0 0 var(--dc-line);background:var(--dc-paper)}
.dc-org-team-rank{display:inline-block;min-width:14px;margin-right:4px;color:var(--dc-blue);font-weight:600}
.dc-org-mobile-teams th:first-child{z-index:2;background:var(--dc-input)}
.dc-org-mobile-teams th:nth-child(2),.dc-org-mobile-teams td:nth-child(2){text-align:left}
.dc-org-table-swipe{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--dc-line);background:var(--dc-blue-soft);color:var(--dc-blue);font-size:12px;line-height:1.5}.dc-org-table-swipe>span{font-size:20px;line-height:1;flex:0 0 auto}.dc-org-table-swipe>strong{font-weight:600}
.dc-org-mobile-teams th:nth-child(2){width:84px}.dc-org-mobile-teams th:nth-child(3){width:60px}
.dc-org-mobile-teams th:nth-child(4){width:64px}
.dc-mobile .dc-org .dc-org-mobile-teams th,.dc-mobile .dc-org .dc-org-mobile-teams td{padding:10px 8px}
.dc-org-mobile-teams tr:hover td:first-child{background:var(--dc-input)}
.dc-org-team-choices{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.dc-org-team-choices button{min-height:44px;padding:8px 14px;font-size:12px}
.dc-org-team-choices button[aria-pressed=true]{background:var(--dc-blue-soft);border-color:var(--dc-blue);color:var(--dc-blue);font-weight:600}
.dc-org-team-choice-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.dc-org-team-choice-group>div{display:flex;flex-wrap:wrap;gap:8px}
.dc-org-team-choice-group>strong{font-size:12px;color:var(--dc-secondary)}
.dc-org-mobile-filter .dc-tools{margin:0}.dc-org-mobile-filter .dc-org-search{flex:1;min-width:150px}
.dc-org-mobile-member-groups{display:grid;gap:16px;padding:0 12px 12px}
.dc-org-mobile-members>.dc-head{flex-direction:column;align-items:stretch;gap:10px}.dc-org-mobile-members>.dc-head>div:first-child{min-width:0}
.dc-org-mobile-members table{min-width:564px;table-layout:fixed;font-variant-numeric:tabular-nums}
.dc-mobile .dc-org .dc-org-mobile-members th:first-child,.dc-mobile .dc-org .dc-org-mobile-members td:first-child{width:180px;min-width:180px;max-width:180px}
.dc-org-mobile-members th:not(:first-child),.dc-org-mobile-members td:not(:first-child){text-align:left}
.dc-org-ranked-person{display:flex;align-items:flex-start;gap:6px}.dc-org-member-rank{flex:0 0 18px;font-size:11px;font-weight:600;color:var(--dc-blue);line-height:28px;text-align:center}
.dc-org-ranked-person .dc-wx-person{flex:1;min-width:0}.dc-org-ranked-person .dc-wx-person-text{min-width:0}
.dc-mobile .dc-org .dc-org-mobile-members th,.dc-mobile .dc-org .dc-org-mobile-members td{padding:10px 8px}.dc-mobile .dc-org .dc-org-mobile-members th{font-size:10px}
.dc-org-mobile-members .dc-org-ranked-person{gap:5px}.dc-org-mobile-members .dc-org-member-rank{flex-basis:12px;font-size:12px;line-height:26px}
.dc-org-mobile-members .dc-wx-person{gap:5px}.dc-org-mobile-members .dc-wx-avatar{width:26px;height:26px;flex-basis:26px}
.dc-mobile .dc-org .dc-org-mobile-members td:first-child .dc-wx-person-text{max-width:none;flex:1}.dc-org-mobile-members .dc-wx-person-text>strong{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.dc-org-member-registered{display:flex;align-items:baseline;gap:4px 8px;flex-wrap:wrap;font-size:11px;color:var(--dc-secondary);margin-top:4px}.dc-org-member-registered>.dc-org-member-name{color:var(--dc-ink);overflow-wrap:anywhere}.dc-org-member-registered>span:last-child{white-space:nowrap}
.dc-org-mobile-members .dc-org-member-wechat{font-size:10px;padding:2px 4px;flex:0 0 auto;line-height:1.5}

.dc-org-team-accordion>summary{list-style:none;cursor:pointer;min-height:52px;gap:8px}.dc-org-team-accordion>summary::-webkit-details-marker{display:none}
.dc-org-team-accordion>summary::before{content:'›';flex:0 0 12px;color:var(--dc-blue);font-size:20px;text-align:center}.dc-org-team-accordion[open]>summary::before{transform:rotate(90deg)}
.dc-org-team-accordion>summary h3{flex:1;min-width:0;overflow-wrap:anywhere}.dc-org-team-accordion>summary:focus-visible{outline:2px solid var(--dc-blue);outline-offset:-3px}

.dc-archive-login{margin-top:6px}.dc-archive-login-times{white-space:nowrap}.dc-archive-login-times strong{font-variant-numeric:tabular-nums}.dc-login-statistics-note{padding:0 16px 12px;line-height:1.65}

/* Compact overview is scoped to this view; shared daily charts and other pages retain their layout. */
.dc-my-sharers>.dc-head{margin-bottom:12px}.dc-my-sharers>.dc-head>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;width:100%;min-width:0}.dc-my-sharers>.dc-head h2{font-size:20px;line-height:1.4;font-weight:700}.dc-my-sharers>.dc-head p{font-size:11px;margin:0;white-space:nowrap}
.dc-my-sharers .dc-sharer-orders{padding:12px;margin-bottom:8px;grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,1fr));gap:12px}.dc-my-sharers .dc-sharer-orders>div{gap:3px}.dc-my-sharers .dc-sharer-orders strong{font-size:28px;line-height:1.25}.dc-my-sharers .dc-sharer-orders strong small{margin-left:4px}
.dc-my-sharers>.dc-sharer-rule{font-size:10.5px;line-height:1.6;margin:0 0 5px}.dc-my-sharers>.dc-sales-reference{font-size:11px;line-height:1.6;margin:0 0 12px}
.dc-my-sharers .dc-sharer-daily>.dc-panel{margin-bottom:0}.dc-my-sharers .dc-sharer-daily .dc-head{padding:12px 12px 0;margin:0}.dc-my-sharers .dc-sharer-daily .dc-head>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;width:100%;min-width:0}.dc-my-sharers .dc-sharer-daily h2{font-size:16px}.dc-my-sharers .dc-sharer-daily .dc-head p{font-size:10px;white-space:nowrap;margin:0}.dc-my-sharers .dc-bars{padding:12px;gap:12px}.dc-my-sharers .dc-bars>div{gap:7px}.dc-my-sharers .dc-bars strong{font-size:15px;line-height:1.3}.dc-my-sharers .dc-bars small{font-size:11px;line-height:1.4}.dc-my-sharers .dc-bars meter{display:block;height:5px}
.dc-my-sharers .dc-sharer-people{margin:12px 0 8px;align-items:baseline;flex-wrap:nowrap}.dc-my-sharers .dc-sharer-people>span{font-size:13px;white-space:nowrap}.dc-my-sharers .dc-sharer-people strong{font-size:22px;line-height:1.2}.dc-my-sharers .dc-sharer-people small{font-size:10px;white-space:nowrap}
.dc-my-sharers #filter-form{gap:8px;flex-wrap:nowrap;padding:0;margin:0 0 12px}.dc-my-sharers #filter-form label{display:block;min-width:0;flex:1}.dc-sharer-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.dc-my-sharers #filter-form input{min-height:44px;font-size:13px;padding:10px 12px}.dc-my-sharers #filter-form button{min-height:44px;font-size:13px;padding:8px 16px}
@media(max-width:360px){.dc-my-sharers>.dc-head>div{gap:4px}.dc-my-sharers>.dc-head h2{font-size:18px}.dc-my-sharers>.dc-head p{font-size:10px}.dc-my-sharers .dc-sharer-orders{gap:8px}.dc-my-sharers .dc-sharer-orders>div>span{font-size:10px}.dc-my-sharers .dc-sharer-daily .dc-head p{font-size:9px}.dc-my-sharers .dc-sharer-people small{font-size:9px}}

/* Admin organization rankings reuse authorized rollups; keep the wider table internally scrollable. */
.dc-org-ranking-admin .dc-org-ranking-captain{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.dc-org-ranking-admin .dc-org-ranking-captain+ .dc-org-ranking-captain{margin-top:4px}.dc-org-ranking-admin .dc-org-ranking-captain small{font-size:11px}.dc-org-ranking-admin .dc-org-ranking-number{text-align:right}

.dc-org-ranking-admin .dc-table th{white-space:nowrap}.dc-org-ranking-admin .dc-table th:nth-last-child(-n+6){text-align:right}

/* Team captains use the existing authorized WeChat identity component. */
.dc-org-team-ranking-admin .dc-org-ranking-person{width:240px;min-height:36px;display:flex;align-items:center}.dc-org-team-ranking-admin .dc-org-ranking-person+.dc-org-ranking-person{margin-top:6px;padding-top:6px;border-top:1px solid var(--dc-line)}.dc-org-ranking-person .dc-wx-person{width:100%}.dc-org-ranking-person .dc-wx-person-text{max-width:none;flex:1}.dc-org-ranking-person .dc-wx-avatar{width:28px;height:28px;flex-basis:28px}

/* After-sales maintenance: original blue/white admin table and a separate communication timeline. */
.dc-after-sales .dc-as-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.dc-as-metrics article{padding:16px}.dc-as-metrics strong{font-size:26px}.dc-after-sales .dc-tools{padding:0;gap:12px}.dc-after-sales .dc-tools label{min-width:160px}.dc-after-sales .dc-tools .check{display:flex;align-items:center;gap:8px;flex:none}.dc-after-sales .dc-tools+.dc-muted{margin-top:12px}.dc-as-tabs{margin-bottom:12px}.dc-as-summary{margin-bottom:8px}.dc-as-table table{min-width:1260px}.dc-as-table td{vertical-align:top}.dc-as-table td:first-child{position:sticky;left:0;background:var(--dc-paper);z-index:1;border-right:1px solid var(--dc-line)}.dc-as-table th:first-child{position:sticky;left:0;z-index:2}.dc-as-order{padding:0;min-height:32px;border:0;color:var(--dc-blue);font-variant-numeric:tabular-nums;background:transparent}.dc-as-table .dc-pill+.dc-pill{margin-left:4px}.dc-as-organization{max-width:240px}.dc-as-organization small{max-width:240px;white-space:normal}.dc-as-note{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dc-as-warning{color:var(--dc-warning)}.dc-after-sales .dc-page>div{align-items:center}.dc-as-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(600px,100vw);max-width:100vw;max-height:100dvh;height:100dvh;padding:0;border-radius:0;border-width:0 0 0 1px}.dc-as-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--dc-line);position:sticky;top:0;background:var(--dc-paper);z-index:1}.dc-as-detail-head h2{margin:0}.dc-as-detail-head p{font-size:11px;color:var(--dc-secondary);overflow-wrap:anywhere;margin-top:4px}.dc-as-detail-body{padding:20px}.dc-as-detail-body>section{padding:16px 0;border-top:1px solid var(--dc-line)}.dc-as-detail-body h3{margin-bottom:12px}.dc-as-detail-body .dc-kv{grid-template-columns:120px minmax(0,1fr);gap:8px;margin:0 0 12px;font-size:13px}.dc-as-detail-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:16px}.dc-as-timeline>div{border-left:2px solid var(--dc-line);padding:0 0 12px 12px;margin:0 0 6px}.dc-as-timeline small{display:block}.dc-as-timeline p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin:6px 0}.dc-as-dialog .dc-form{margin-top:16px}.dc-as-dialog #as-save-result{color:var(--dc-secondary);font-size:12px}.dc-as-dialog details{font-size:12px}.dc-as-dialog details p{margin-top:8px}
@media(max-width:700px){.dc-after-sales .dc-as-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-after-sales>.dc-head{flex-wrap:wrap}.dc-after-sales .dc-page{flex-wrap:wrap}.dc-as-detail-body{padding:16px}.dc-as-detail-head{padding:12px 16px}.dc-as-detail-body .dc-kv{grid-template-columns:105px minmax(0,1fr)}}

/* Administrator sales workspace: dense, scrollable tables; existing H5 unchanged. */
.dc-sales-workspace{min-width:0}.dc-sales-heading,.dc-sales-result,.dc-sales-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.dc-sales-heading{margin-bottom:12px}.dc-sales-heading h2{margin:0 0 6px}.dc-sales-heading p{margin:0}.dc-sales-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px}.dc-sales-metrics article{padding:16px 20px}.dc-sales-metrics strong{font-size:28px}.dc-sales-metrics strong small{display:inline;font-size:12px;font-weight:400;margin-left:6px}.dc-sales-sync{font-size:12px;margin-bottom:16px}.dc-sales-workspace .dc-tools{padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.dc-sales-workspace .dc-tools label{min-width:0}.dc-sales-workspace input,.dc-sales-workspace select{min-width:0;width:100%;max-width:none}.dc-sales-more{margin-top:14px;border-top:1px solid var(--dc-line);padding-top:10px}.dc-sales-more summary,.dc-sales-rules summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--dc-blue)}.dc-sales-more summary:before,.dc-sales-rules summary:before{content:'＋';margin-right:8px}.dc-sales-more[open] summary:before,.dc-sales-rules[open] summary:before{content:'−'}.dc-sales-actions{justify-content:flex-start;margin-top:14px}.dc-sales-result{font-size:12px;color:var(--dc-secondary);margin:14px 0 10px}.dc-sales-result span:last-child{color:var(--dc-blue)}.dc-sales-grid{max-height:660px;overflow:auto;isolation:isolate}.dc-sales-grid table{width:max-content;min-width:100%}.dc-sales-grid th,.dc-sales-grid td{padding:12px 14px!important;text-align:left;min-width:96px;max-width:260px;vertical-align:top;white-space:nowrap;font-size:13px}.dc-sales-grid small{display:block;font-size:11px;line-height:1.8;color:var(--dc-secondary)}.dc-sales-grid th{position:sticky;top:0;z-index:2;background:var(--dc-soft,var(--dc-canvas))}.dc-sales-grid td:first-child,.dc-sales-grid th:first-child{position:sticky;left:0;min-width:180px;border-right:1px solid var(--dc-line);background:var(--dc-paper);z-index:1}.dc-sales-grid th:first-child{z-index:3;background:var(--dc-canvas)}.dc-sales-number{color:var(--dc-blue);font-variant-numeric:tabular-nums}.dc-sales-pagination>div,.dc-sales-pagination label,.dc-sales-pagination form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dc-sales-pagination select{width:76px}.dc-sales-pagination input{width:64px}.dc-sales-rules{font-size:12px;color:var(--dc-secondary);line-height:1.8}.dc-sales-rules p{margin:8px 0}.dc-sales-workspace [data-sales-message]{font-size:13px;color:var(--dc-blue)}@media(max-width:700px){.dc-sales-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-sales-workspace .dc-pad{padding:16px}.dc-sales-pagination{flex-wrap:wrap}.dc-sales-grid td:first-child,.dc-sales-grid th:first-child{min-width:145px}.dc-sales-result{line-height:1.7}}

/* Account balance shares the archive's restrained numeric hierarchy. */
.dc-withdrawal-amount{display:block;font-size:24px;font-weight:600;font-variant-numeric:tabular-nums;margin:8px 0}.dc-withdrawal p{font-size:12px;margin:0;overflow-wrap:anywhere}.dc-withdrawal-cell{min-width:174px;font-variant-numeric:tabular-nums}.dc-withdrawal-cell small{display:block;white-space:nowrap}

/* Admin five-day comparison: bars and the line share one zero-based scale.
   Fixed text sizes and a stretched SVG keep labels legible at every panel width. */
.dc-org-daily-chart>.dc-head{padding-bottom:12px;flex-wrap:wrap;gap:8px}.dc-org-chart-legend{display:flex;gap:20px;color:var(--dc-secondary);font-size:12px}.dc-org-chart-legend>span{display:flex;align-items:center;gap:7px}.dc-org-chart-key-bar{width:10px;height:10px;border-radius:2px;background:var(--dc-blue)}.dc-org-chart-key-line{position:relative;width:20px;height:2px;background:var(--dc-ink)}.dc-org-chart-key-line:after{content:'';position:absolute;left:7px;top:-3px;width:8px;height:8px;border:2px solid var(--dc-ink);border-radius:50%;background:var(--dc-paper)}
.dc-org-chart-wrap{display:flex;padding:28px 24px 20px;gap:12px;min-width:0}.dc-org-chart-axis{position:relative;flex:0 0 48px;height:200px;color:var(--dc-muted);font-size:11px;font-variant-numeric:tabular-nums}.dc-org-chart-axis>span{position:absolute;right:0;transform:translateY(50%);white-space:nowrap}.dc-org-chart-main{flex:1;min-width:0}.dc-org-chart-plot{position:relative;height:200px}.dc-org-chart-grid,.dc-org-chart-columns,.dc-org-chart-trend{position:absolute;inset:0;width:100%;height:100%}.dc-org-chart-grid>i{position:absolute;left:0;right:0;border-top:1px dashed var(--dc-line)}.dc-org-chart-grid>i:first-child{border-top-style:solid}.dc-org-chart-columns{display:grid;grid-template-columns:repeat(var(--dc-chart-days),minmax(0,1fr))}.dc-org-chart-slot{position:relative;min-width:0;display:flex;align-items:flex-end;justify-content:center}.dc-org-chart-slot>strong{position:absolute;left:0;right:0;text-align:center;font-size:14px;line-height:20px;color:var(--dc-blue);font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.dc-org-chart-bar{width:clamp(16px,32%,52px);background:var(--dc-blue);opacity:.72;border-radius:4px 4px 0 0}.dc-org-chart-slot.is-future>strong{color:var(--dc-muted)}.dc-org-chart-trend{overflow:visible;pointer-events:none;fill:none;color:var(--dc-ink)}.dc-org-chart-trend>polyline{stroke:currentColor;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.dc-org-chart-point{position:absolute;width:8px;height:8px;border:2px solid var(--dc-ink);border-radius:50%;background:var(--dc-paper);transform:translate(-50%,-50%);pointer-events:none}.dc-org-chart-dates{display:grid;grid-template-columns:repeat(var(--dc-chart-days),minmax(0,1fr));padding-top:10px;color:var(--dc-secondary);font-size:12px;text-align:center;font-variant-numeric:tabular-nums}.dc-org-chart-dates small{display:block;font-size:10px;color:var(--dc-muted);margin-top:2px}
@media(max-width:700px){.dc-org-daily-chart>.dc-head{padding:16px 16px 8px}.dc-org-chart-wrap{padding:24px 12px 16px;gap:8px}.dc-org-chart-axis{flex-basis:38px}.dc-org-chart-slot>strong{font-size:12px}.dc-org-chart-legend{gap:16px}}

/* Attribution comparisons reuse the sales grid and existing admin tokens. */
.dc-attribution-diff #attribution-diff-filter{grid-template-columns:minmax(200px,360px) auto;align-items:end;justify-content:start}
.dc-attribution-diff #attribution-diff-filter button{min-height:44px;width:auto}
.dc-attribution-diff .dc-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.dc-attribution-diff .dc-sales-grid td:nth-child(3),.dc-attribution-diff .dc-sales-grid td:nth-child(4){white-space:normal;min-width:190px;max-width:260px;overflow-wrap:anywhere}
.dc-attribution-diff .dc-sales-grid td:last-child{white-space:normal;min-width:280px;max-width:400px;overflow-wrap:anywhere}
.dc-attribution-diff summary{min-height:44px;cursor:pointer;display:flex;align-items:center;color:var(--dc-blue)}
@media(max-width:700px){.dc-attribution-diff .dc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-attribution-diff #attribution-diff-filter{grid-template-columns:minmax(0,1fr);gap:8px}}

/* After-sales application text is readable directly in the list. */
.dc-as-table .dc-as-application-remark{min-width:220px;max-width:280px;margin:4px 0;color:var(--dc-ink);font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.dc-as-application-remark>span{color:var(--dc-secondary);font-size:11px}

/* Customer evidence previews use native dialogs and the existing paper tokens. */
.dc-as-application-images{display:flex;flex-wrap:wrap;gap:8px;max-width:280px;margin-top:8px}.dc-as-image-thumb{width:56px;height:56px;min-height:44px;padding:0;overflow:hidden;border-radius:4px;background:var(--dc-input);flex:0 0 56px}.dc-as-image-thumb img{display:block;width:100%;height:100%;object-fit:cover}.dc-as-image-thumb span{font-size:10px;white-space:normal;padding:4px}.dc-as-image-dialog{width:min(960px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:auto}.dc-as-image-head,.dc-as-image-controls{display:flex;align-items:center;gap:12px;padding:12px 16px}.dc-as-image-head{justify-content:space-between;border-bottom:1px solid var(--dc-line)}.dc-as-image-head h2{font-size:18px;margin:0}.dc-as-image-viewport{min-height:160px;max-height:calc(100dvh - 200px);display:flex;align-items:center;justify-content:center;background:var(--dc-input);overflow:auto}.dc-as-image-viewport img{display:block;max-width:100%;max-height:calc(100dvh - 200px);object-fit:contain}.dc-as-image-viewport p{padding:20px;font-size:13px;white-space:normal}.dc-as-image-controls{flex-wrap:wrap;justify-content:center;border-top:1px solid var(--dc-line);font-size:13px}.dc-as-image-controls a{display:inline-flex;align-items:center;min-height:44px;padding:8px}.dc-as-image-dialog [hidden],.dc-as-image-thumb [hidden]{display:none!important}

/* Actual daily orders and the separate global trend scenario share one row. */
.dc-org-daily-overview{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:16px;margin-bottom:24px}.dc-org-daily-overview>.dc-panel{min-width:0;margin-bottom:0}.dc-org-forecast>.dc-head{padding-bottom:12px}.dc-forecast-body{padding:0 24px 16px}.dc-forecast-value{display:flex;align-items:baseline;gap:8px;color:var(--dc-blue);font-size:38px;line-height:1.25;font-weight:650;font-variant-numeric:tabular-nums;margin:4px 0 12px;white-space:nowrap}.dc-forecast-value>span,.dc-forecast-value>small{font-size:13px;font-weight:400;color:var(--dc-secondary)}.dc-forecast-range{font-size:12px;color:var(--dc-secondary);line-height:1.6}.dc-forecast-range strong{font-weight:600;color:var(--dc-ink);font-variant-numeric:tabular-nums}.dc-forecast-current{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--dc-line);padding-top:12px;margin:16px 0 8px;font-size:12px}.dc-forecast-current dt{color:var(--dc-secondary)}.dc-forecast-current dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.dc-forecast-stamp,.dc-forecast-note{font-size:11px;line-height:1.7;color:var(--dc-muted)}.dc-forecast-note{margin-top:4px}.dc-forecast-method{margin-top:12px;font-size:12px}.dc-forecast-method summary{display:flex;align-items:center;min-height:44px;cursor:pointer;color:var(--dc-blue)}.dc-forecast-method p{line-height:1.7;color:var(--dc-secondary);margin:8px 0;overflow-wrap:anywhere}
@media(max-width:1000px){.dc-org-daily-overview{grid-template-columns:minmax(0,1fr)}}

/* After-sales: separate platform commission recipients from adjudicated staff. */
.dc-as-basis{font-size:12px;line-height:1.7;color:var(--dc-secondary);margin:0 0 8px}.dc-as-table table{min-width:1660px}.dc-as-commission-cell{min-width:230px;max-width:280px}.dc-as-contacts{min-width:280px;max-width:330px}.dc-as-beneficiary,.dc-as-commission{padding:0 0 10px;line-height:1.65}.dc-as-beneficiary+.dc-as-beneficiary,.dc-as-commission+.dc-as-commission{border-top:1px solid var(--dc-line);padding-top:10px}.dc-as-person-label{display:block;font-size:11px;font-weight:600;color:var(--dc-blue);margin-bottom:4px}.dc-as-full-name,.dc-as-beneficiary small,.dc-as-commission small{white-space:normal;overflow-wrap:anywhere}.dc-as-phone{color:var(--dc-ink)}.dc-as-change-reason{display:block;margin:6px 0 12px;color:var(--dc-secondary);white-space:normal}.dc-as-dialog .dc-as-beneficiary small,.dc-as-dialog .dc-as-commission small{display:block;font-size:12px;color:var(--dc-secondary)}.dc-as-dialog .dc-as-beneficiary strong,.dc-as-dialog .dc-as-commission strong{font-size:13px}.dc-as-contacts>.dc-pill{margin-bottom:8px}

/* After-sales identity: same account is compact; distinct people are explicit. */
.dc-as-identity-name{display:block;font-size:13px;color:var(--dc-ink);line-height:1.65;white-space:normal;overflow-wrap:anywhere}.dc-as-person-compact{margin-top:8px;line-height:1.8}.dc-as-person-full{padding:10px 0;line-height:1.7}.dc-as-person-full+.dc-as-person-full{border-top:1px solid var(--dc-line)}.dc-as-person-full .dc-as-person-label{margin:0 0 4px}.dc-as-contacts .dc-as-identity-name{margin-bottom:4px}.dc-as-extra{font-size:11px;margin-top:4px;color:var(--dc-secondary)}.dc-as-extra>summary{min-height:32px;display:flex;align-items:center;cursor:pointer;color:var(--dc-blue);list-style:none}.dc-as-extra>summary::before{content:'›';margin-right:6px}.dc-as-extra[open]>summary::before{content:'⌄'}.dc-as-commission-brief .dc-pill{margin-top:4px}.dc-as-table .dc-as-person-full small,.dc-as-table .dc-as-person-compact small{white-space:normal;overflow-wrap:anywhere}.dc-as-table td[data-identity-mode="same"]{min-width:230px}.dc-as-table td[data-identity-mode="different"]>.dc-pill{margin-bottom:4px}

/* After-sales: one beneficiary cell combines identity, contact and organization. */
.dc-after-sales .dc-as-table table{min-width:1440px}.dc-as-table td.dc-as-beneficiary-cell{min-width:300px;max-width:400px}.dc-as-person-organization{margin-top:4px}.dc-as-person-organization .dc-as-extra{margin-top:0}.dc-as-person-organization .dc-as-extra small{white-space:normal;overflow-wrap:anywhere}

/* After-sales: align comparison badges above both identity columns. */
.dc-as-person-status{display:flex;align-items:flex-start;margin-bottom:8px;line-height:1.65}.dc-as-commission-brief .dc-as-person-status>.dc-pill,.dc-as-beneficiary-cell .dc-as-person-status>.dc-pill{margin:0}.dc-as-beneficiary-cell>.dc-as-person-compact{margin-top:0}

/* After-sales: keep follow-up status and action below the frozen order identity. */
.dc-after-sales .dc-as-table table{min-width:1240px}.dc-as-order-follow{margin-top:12px;padding-top:10px;border-top:1px solid var(--dc-line);max-width:260px}.dc-as-order-follow-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:4px}.dc-as-follow-label{font-size:11px;color:var(--dc-secondary)}.dc-as-order-follow-head [data-as-follow]{min-height:44px;padding:6px 12px}.dc-as-order-follow .dc-as-note{max-width:260px}

/* Account contacts: independent access gate, compact name action, native dialog. */
.dc-my-sharer .dc-sharer-name{display:block;min-width:44px;max-width:100%;min-height:44px;padding:0;border:0;background:transparent;color:var(--dc-blue);font-size:inherit;font-weight:600;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dc-my-sharer .dc-sharer-name:hover{text-decoration:underline}
#sharer-phone-dialog{width:min(400px,calc(100vw - 32px));max-width:calc(100vw - 32px);padding:20px;border:1px solid var(--dc-line);border-radius:12px;color:var(--dc-ink);background:var(--dc-paper)}#sharer-phone-dialog::backdrop{background:rgba(29,42,59,.4)}.dc-phone-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dc-phone-head h2{font-size:18px}.dc-phone-head button{flex-shrink:0}#sharer-phone-name{margin:12px 0 20px;overflow-wrap:anywhere}.dc-phone-number{display:flex;align-items:center;gap:8px}.dc-phone-number input{min-width:0;flex:1;font-size:20px;letter-spacing:1px;font-variant-numeric:tabular-nums}.dc-phone-number button{flex-shrink:0}#sharer-phone-status{margin-top:12px;font-size:14px;color:var(--dc-secondary)}

#sharer-phone-caption.dc-phone-label-mismatch{color:var(--dc-danger);font-weight:600}

/* Sales order recipients stay distinct from the employee used for counting. */
.dc-sales-commission{width:210px;white-space:normal;overflow-wrap:anywhere;line-height:1.6}.dc-sales-commission+.dc-sales-commission{border-top:1px solid var(--dc-line);margin-top:8px;padding-top:8px}.dc-sales-commission strong{display:block;margin-top:4px}.dc-sales-commission .dc-pill{display:inline-block}

/* Optional withdrawal reminder uses the existing mobile blue/white cards. */
#withdrawal-reminder[hidden]{display:none!important}#withdrawal-reminder .dc-panel{margin-top:12px;border-left:3px solid var(--dc-blue)}#withdrawal-reminder h2{font-size:16px;margin:0}.dc-withdrawal-reminder-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.dc-withdrawal-reminder-head button{flex-shrink:0;min-height:44px}.dc-withdrawal-reminder-amount{display:block;font-size:28px;color:var(--dc-danger);font-variant-numeric:tabular-nums;margin:8px 0}.dc-withdrawal-reminder-actions{display:grid;gap:8px;margin-top:16px}.dc-withdrawal-reminder-actions button{min-height:44px;white-space:normal}#withdrawal-reminder p{font-size:12px;line-height:1.7;margin:8px 0}#withdrawal-reminder small,#withdrawal-reminder-dialog small{display:block;font-size:11px;color:var(--dc-secondary);line-height:1.7}.dc-withdrawal-confirmed{color:var(--dc-blue)}#withdrawal-reminder-dialog{width:min(420px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:20px;border:1px solid var(--dc-line);border-radius:12px;background:var(--dc-paper);color:var(--dc-ink)}#withdrawal-reminder-dialog::backdrop{background:rgba(29,42,59,.4)}#withdrawal-reminder-dialog h2{font-size:18px;margin:0}#withdrawal-reminder-dialog p{font-size:13px;line-height:1.7;margin:12px 0}#withdrawal-reminder-dialog:not([open]){display:none}

#withdrawal-reminder .dc-withdrawal-confirmed small{display:inline;margin-left:4px}

.dc-withdrawal-guide{display:block;width:100%;height:auto;margin-top:12px;border:1px solid var(--dc-line);border-radius:6px}

#sharer-phone-recipient{margin:12px 0 0;overflow-wrap:anywhere}

/* Compact contact dialog: values first, two explicit copy actions below. */
#sharer-phone-dialog{padding:16px}#sharer-phone-name{margin:8px 0 12px;font-size:14px;color:var(--dc-secondary)}#sharer-phone-label>span{display:block;font-size:13px;margin-bottom:6px}.dc-phone-number input{width:100%;font-size:22px;min-height:44px;padding:8px 12px}#sharer-phone-recipient{margin:8px 0 12px;font-size:14px}.dc-phone-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:8px}.dc-phone-actions[hidden]{display:none}.dc-phone-actions button{min-width:0;min-height:44px;padding:8px;font-size:13px;white-space:nowrap}#sharer-phone-status{margin:8px 0 0;overflow-wrap:anywhere}#sharer-phone-status:empty{display:none}.dc-phone-copy-buffer{position:fixed;inset:0 auto auto 0;width:1px;height:1px;opacity:0;pointer-events:none}

.dc-compact-sharers:not(.dc-debug-identifiers) .dc-my-sharer,.dc-compact-sharers:not(.dc-debug-identifiers) .dc-sharer-columns{grid-template-columns:minmax(80px,1fr) 78px max-content}.dc-debug-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;margin:12px 0;border:1px solid var(--dc-line);background:var(--dc-blue-soft);border-radius:6px;font-size:12px;color:var(--dc-blue)}.dc-debug-banner[hidden]{display:none}.dc-debug-banner button{min-height:44px;font-size:12px}.dc-simulation-tools>div:last-child{flex-wrap:wrap}.dc-debug-link-result{flex-basis:100%;font-size:12px;color:var(--dc-secondary);overflow-wrap:anywhere}.dc-debug-link-result input{display:block;width:100%;margin-top:6px;font-size:12px}#debug-link-copy{min-height:44px}

.dc-admin-head-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.dc-admin .page-head .dc-admin-head-actions button{min-height:44px}#admin-debug-link-copy{color:var(--dc-blue)}.dc-admin-debug-link-result{padding:8px 12px;margin-bottom:12px;border:1px solid var(--dc-line);border-radius:6px;background:var(--dc-blue-soft);font-size:12px;color:var(--dc-blue);overflow-wrap:anywhere}.dc-admin-debug-link-result input{display:block;margin-top:6px;font-size:12px}

/* Independent staff workflow; existing tokens, 4px rhythm and native controls. */
.dc-staff-admin .dc-form{max-width:640px}.dc-staff-admin input[readonly]{width:100%;font-size:13px;overflow-wrap:anywhere}.dc-staff-admin button,.dc-staff-dialog button,.dc-staff-entry button,.dc-staff-entry .dc-button{min-height:44px}.dc-staff-admin td:last-child{white-space:normal}.dc-staff-admin td button{margin:4px}.dc-staff-dialog{width:min(520px,calc(100% - 32px));max-height:85vh}.dc-staff-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.dc-staff-request-code{padding:12px;background:var(--dc-blue-soft);font-variant-numeric:tabular-nums}.dc-staff-request-code strong{display:block;font-size:24px;letter-spacing:2px;color:var(--dc-blue)}

/* My Customers: overview cohort first, current-chain navigation second. */
.dc-customers{max-width:760px;margin:0 auto}.dc-customer-title{margin:0 4px 12px}.dc-customer-title small{display:block;margin-top:4px}.dc-customer-summary{display:grid;grid-template-columns:minmax(0,1fr);background:var(--dc-paper);border:1px solid var(--dc-line);border-radius:10px;padding:12px 0;margin-bottom:12px}.dc-customer-summary>div{padding:0 12px;border-right:1px solid var(--dc-line)}.dc-customer-summary>div:last-child{border:0}.dc-customer-summary span{font-size:11px;color:var(--dc-secondary)}.dc-customer-summary strong{display:block;font-size:25px;line-height:1.4;color:var(--dc-blue);font-variant-numeric:tabular-nums}.dc-customer-search{display:flex;gap:8px}.dc-customer-search input{min-width:0}.dc-customer-search button{flex-shrink:0}.dc-customer-tabs,.dc-customer-levels,.dc-customer-crumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.dc-customer-tabs{margin:8px 0 0}.dc-customer-tabs a,.dc-customer-levels a,.dc-customer-crumbs a{display:inline-flex;align-items:center;min-height:44px;padding:4px 8px;font-size:12px}.dc-customer-tabs a[aria-current]{color:var(--dc-blue);font-weight:600;border-bottom:2px solid var(--dc-blue)}.dc-customer-levels{gap:4px;flex-wrap:nowrap;margin:4px 0 8px}.dc-customer-levels a{flex:1;justify-content:center;padding:4px;white-space:nowrap;border-radius:6px}.dc-customer-levels a[aria-current]{background:var(--dc-blue-soft);font-weight:600}.dc-customer-difference{display:block;color:var(--dc-warning);background:#fff8ee;border:1px solid #f0dfc4;border-radius:8px;padding:8px 12px;margin-bottom:8px;font-size:12px}.dc-customer-difference small{display:block;color:var(--dc-warning);font-size:11px;margin-top:4px}.dc-customer-crumbs{gap:4px;margin-bottom:4px}.dc-customer-crumbs a{max-width:100%;overflow-wrap:anywhere}.dc-customer-crumbs span{color:var(--dc-muted)}.dc-customer-list{margin-bottom:12px}.dc-customer-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:var(--dc-input);font-size:13px}.dc-customer-list-head small{font-size:10px}.dc-customer-row{padding:12px;border-bottom:1px solid var(--dc-line)}.dc-customer-identity{display:flex;align-items:flex-start;gap:8px}.dc-customer-identity>.dc-avatar{width:32px;height:32px;font-size:13px}.dc-customer-person{flex:1;min-width:0}.dc-customer-person>strong{display:block;font-size:15px;line-height:1.4;overflow-wrap:anywhere}.dc-customer-person>div{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.dc-customer-person .dc-pill{font-size:10px;padding:1px 5px}.dc-customer-branch{border:0;padding:0 0 0 4px;text-align:right;flex-shrink:0;color:var(--dc-blue);font-size:12px;min-height:44px}.dc-customer-branch span,.dc-customer-branch small{display:block}.dc-customer-branch small{font-size:10px}.dc-customer-recipient{font-size:11px;color:var(--dc-secondary);margin-top:8px;overflow-wrap:anywhere}.dc-customer-contact{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}.dc-customer-contact>div:first-child{min-width:0}.dc-customer-contact small{display:block;font-size:10px}.dc-customer-contact strong{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.dc-customer-copy{display:flex;gap:4px;flex-shrink:0}.dc-customer-copy button{padding:4px 8px;min-height:44px;font-size:11px;color:var(--dc-blue)}.dc-customer-note,.dc-customer-status,.dc-customer-feedback{font-size:11px;color:var(--dc-secondary);line-height:1.7;margin-top:8px;overflow-wrap:anywhere}.dc-customer-status:empty{display:none}.dc-customer-children{background:var(--dc-blue-soft);padding:0 8px 8px 12px}.dc-customer-children>.dc-customer-note{margin:0;padding:8px 0}.dc-customer-children .dc-customer-row{background:var(--dc-paper)}.dc-customer-connector{background:var(--dc-input)}.dc-customer-more{display:flex;align-items:center;min-height:44px;font-size:12px}.dc-customers .dc-page a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px}
@media(max-width:350px){.dc-customer-row{padding:10px 8px}.dc-customer-summary>div{padding:0 8px}.dc-customer-copy button{font-size:10px;padding:4px}.dc-customer-contact{gap:4px}.dc-customer-contact strong{font-size:12px}.dc-customer-levels{gap:0}.dc-customer-levels a{font-size:11px}.dc-customer-children{padding-left:6px;padding-right:6px}.dc-customer-identity{gap:6px}.dc-customer-person>strong{font-size:14px}.dc-customer-branch{font-size:11px}}

/* Referral branches: highlight the source person, join child rows with a blue rail.
   One visible indentation only; keep 44px actions and 32px avatars at 320px. */
.dc-customers .dc-customer-parent{background:var(--dc-blue-soft);border-left:3px solid var(--dc-blue);padding-left:9px;border-bottom:0}
.dc-customers .dc-customer-parent .dc-customer-person>strong{color:var(--dc-blue)}
.dc-customers .dc-customer-parent .dc-customer-branch{font-weight:600}
.dc-customers .dc-customer-children{margin:0 8px 12px 12px;padding:0 0 0 12px;border-left:2px solid var(--dc-blue);background:var(--dc-blue-soft)}
.dc-customer-children-head{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-wrap:wrap;padding:4px 8px 4px 0;min-height:44px}
.dc-customer-children-head h2{font-size:12px;font-weight:600;color:var(--dc-blue);overflow-wrap:anywhere;flex:1;min-width:100px;line-height:1.7}
.dc-customer-children-head>a{display:flex;align-items:center;min-height:44px;font-size:11px;white-space:nowrap}
.dc-customers .dc-customer-children .dc-customer-row{position:relative;border:1px solid var(--dc-line);border-radius:6px;margin-bottom:8px;background:var(--dc-paper)}
.dc-customers .dc-customer-children .dc-customer-row:before{content:"";position:absolute;left:-14px;top:26px;width:12px;border-top:2px solid var(--dc-blue)}
.dc-customers .dc-customer-children .dc-customer-connector{background:var(--dc-input)}
@media(max-width:350px){.dc-customers .dc-customer-parent{padding-left:5px}.dc-customers .dc-customer-children{margin-left:8px;margin-right:6px;padding-left:8px}.dc-customers .dc-customer-children .dc-customer-row:before{left:-10px;width:8px}.dc-customer-children-head{padding-right:4px}}

.dc-customers .dc-customer-focused-head{background:var(--dc-blue-soft);border-left:3px solid var(--dc-blue);color:var(--dc-blue)}

/* Manual contact follow-up is separate from identity binding and order states. */
.dc-customer-follow{display:flex;gap:6px;margin-top:8px}
.dc-customer-follow button{flex:1;min-width:0;min-height:44px;padding:4px 6px;font-size:11px;white-space:nowrap;color:var(--dc-secondary);background:var(--dc-paper);font-weight:400}
.dc-customer-follow button[aria-pressed=true]{font-weight:600;border-color:currentColor}
.dc-customer-follow .dc-customer-follow-wechat_added[aria-pressed=true]{color:var(--dc-success);background:#edf7f1}
.dc-customer-follow .dc-customer-follow-requesting[aria-pressed=true]{color:var(--dc-warning);background:#fff6e8}
.dc-customer-follow .dc-customer-follow-unreachable[aria-pressed=true]{color:var(--dc-danger);background:#fff1f1}
@media(max-width:350px){.dc-customer-follow{gap:4px}.dc-customer-follow button{padding:4px;font-size:10px}}

.dc-customer-follow-filters{display:flex;gap:4px;flex-wrap:wrap;margin:4px 0}
.dc-customer-follow-filters a{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:4px 8px;border:1px solid transparent;border-radius:6px;font-size:11px;color:var(--dc-secondary);white-space:nowrap}
.dc-customer-follow-filters a[aria-current]{color:var(--dc-blue);background:var(--dc-blue-soft);font-weight:600}
@media(max-width:350px){.dc-customer-follow-filters a{font-size:10px;padding:4px}}

/* Keep recipient and account phone beside the referral badge, below the name. */
.dc-customer-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;padding-left:40px;margin-top:4px;min-width:0}
.dc-customer-meta .dc-pill{font-size:10px;padding:1px 5px;flex-shrink:0}
.dc-customer-inline-contact{display:inline-flex;align-items:center;flex-wrap:wrap;gap:2px 6px;min-width:0;max-width:100%;font-size:12px;color:var(--dc-ink)}
.dc-customer-meta .dc-customer-recipient{font-size:12px;color:var(--dc-secondary);margin:0;overflow-wrap:anywhere}
.dc-customer-account-phone{font-variant-numeric:tabular-nums;white-space:nowrap}
.dc-customers .dc-customer-contact{justify-content:flex-end;margin-top:8px}
.dc-customers .dc-customer-contact:empty{display:none}
.dc-customers .dc-customer-difference{display:flex;align-items:center;min-height:44px;font-weight:600}
@media(max-width:350px){.dc-customer-meta{padding-left:38px;gap:4px}.dc-customer-inline-contact,.dc-customer-meta .dc-customer-recipient{font-size:11px}.dc-customer-inline-contact{gap:2px 4px}}

/* Keep quiet follow-up actions below the contact line. */
.dc-customers .dc-customer-identity{align-items:center}
.dc-customers .dc-customer-follow button[aria-pressed=false]{background:var(--dc-input);border-color:transparent}
/* Pair the masked phone with one prominent, full-contact copy action. */
.dc-customer-phone-action{display:inline-flex;align-items:center;gap:6px;max-width:100%;flex-shrink:0}
.dc-customers .dc-customer-inline-copy{position:relative;min-height:32px;height:32px;padding:2px 8px;line-height:20px;font-size:11px;font-weight:600;white-space:nowrap;color:var(--dc-paper);background:var(--dc-blue);border-color:var(--dc-blue)}
.dc-customers .dc-customer-inline-copy::after{content:"";position:absolute;inset:-6px 0}
.dc-customers .dc-customer-inline-copy:hover:not(:disabled){filter:brightness(.94)}
.dc-customers .dc-customer-inline-copy:focus-visible{outline:2px solid var(--dc-blue);outline-offset:2px}
.dc-customers .dc-customer-inline-copy:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:350px){.dc-customer-phone-action{gap:4px}.dc-customers .dc-customer-inline-copy{padding:2px 6px;font-size:10px}}

@media(max-width:350px){.dc-customers .dc-customer-meta{padding-left:0}}

/* One header line: customer title, original total and self-purchase exclusion. */
.dc-customer-heading{display:flex;align-items:center;flex-wrap:nowrap;gap:0 8px;min-height:44px;margin:0 4px 8px}
.dc-customer-heading .dc-customer-title{margin:0;flex-shrink:0}
.dc-customer-heading .dc-customer-title h1{margin:0;font-size:20px;line-height:1.4}
.dc-customer-heading .dc-customer-summary{display:flex;border:0;border-radius:0;background:transparent;padding:0;margin:0;flex-shrink:0}
.dc-customer-heading .dc-customer-summary>div{display:flex;align-items:baseline;gap:6px;border:0;padding:0}
.dc-customer-heading .dc-customer-summary strong{display:inline;font-size:20px;line-height:1.4}
.dc-customer-heading .dc-customer-summary span{font-size:12px}

.dc-customer-exclusion{font-size:12px;color:var(--dc-secondary);white-space:nowrap}

/* Referral headings identify the source person in both inline and focused views. */
.dc-customer-branch-person{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%;vertical-align:middle}
.dc-customer-branch-person>.dc-avatar{width:28px;height:28px;flex-shrink:0}
.dc-customer-branch-person>span:last-child{min-width:0;overflow-wrap:anywhere}
.dc-customer-list-head>strong{min-width:0}

/* Keep all depth filters visible as counts gain an explicit people unit. */
.dc-customer-levels a{flex-wrap:wrap;align-content:center;line-height:18px;min-width:44px;text-align:center}
.dc-customer-level-count{white-space:nowrap}

/* Three-day service desk: three pending tasks, then the complete notice. */
.dc-checkin-notice .dc-notice-emphasis{font-weight:700}.dc-checkin-notice .dc-notice-warning{color:var(--dc-danger)}.dc-checkin-notice .dc-notice-action{color:var(--dc-blue)}
.dc-checkin-steps{display:grid;grid-template-columns:1fr;gap:0}.dc-checkin-steps .dc-panel{margin-bottom:20px;display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto 1fr auto;align-items:start;gap:12px}.dc-checkin-step{display:flex;align-items:center;justify-content:center;align-self:center;width:28px;height:28px;border-radius:50%;background:var(--dc-blue-soft);color:var(--dc-blue);font-size:14px;font-weight:700}.dc-checkin-steps h2{align-self:center;font-size:20px;line-height:1.5;color:var(--dc-blue);font-weight:700}.dc-checkin-steps .dc-panel>p,.dc-checkin-steps .dc-panel>button,.dc-checkin-steps .dc-panel>.dc-button,.dc-checkin-steps .dc-panel>.dc-pill{grid-column:1/-1}.dc-checkin-steps .dc-panel>.dc-pill{display:flex;align-items:center;gap:8px;padding:8px 12px;white-space:normal;background:#fff6e8;color:var(--dc-warning);border:1px solid #f3e5ce;font-size:14px;font-weight:700}.dc-checkin-steps .dc-panel>.dc-pill::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.dc-checkin-steps .dc-panel>button{justify-self:start;align-self:end}.dc-checkin-steps p{color:var(--dc-secondary);font-size:13px;flex:1}.dc-checkin-notice{max-width:960px;margin-inline:auto;font-size:15px;line-height:1.85;overflow-wrap:anywhere}.dc-checkin-notice h2{margin:16px 0}.dc-checkin-notice section{margin-top:24px}.dc-checkin-notice h3{font-size:16px;color:var(--dc-ink);margin-bottom:8px}.dc-checkin-notice p+p{margin-top:8px}.dc-checkin-read-state{font-size:12px;color:var(--dc-secondary)}.dc-checkin-notice form{border-top:1px solid var(--dc-line);padding-top:20px;margin-top:24px;display:grid;gap:12px}.dc-checkin-consent{display:flex;align-items:center;gap:12px;min-height:44px;color:var(--dc-ink)}.dc-checkin-admin .dc-checkin-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.dc-checkin-admin .dc-table td small{display:block}.dc-checkin-admin .dc-tools{padding:0}.dc-checkin-admin .dc-tools label{min-width:0;flex:1 1 160px}
@media(max-width:700px){.dc-checkin-steps{grid-template-columns:1fr;gap:0}.dc-checkin-hub .dc-pad{padding:16px}.dc-checkin-steps .dc-panel{gap:12px}.dc-checkin-steps h2{font-size:18px}.dc-checkin-notice{font-size:14px}.dc-checkin-admin .dc-checkin-summary article{padding:16px 12px}.dc-checkin-admin .dc-checkin-summary strong{font-size:28px}.dc-mobile nav.bottom.dc-sharer-navigation a[data-checkin-nav]{white-space:normal;line-height:1.3;text-align:center;max-width:none}}

/* Notice is acknowledged before entering the three service steps. */
.dc-checkin-notice-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
.dc-checkin-notice-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:hidden;background:var(--dc-paper);border:1px solid var(--dc-line);border-radius:10px;color:var(--dc-ink)}
.dc-checkin-notice-dialog .dc-checkin-notice{display:flex;flex-direction:column;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);margin:0}
.dc-checkin-notice-head{padding:20px 24px 12px;border-bottom:1px solid var(--dc-line);flex-shrink:0}
.dc-checkin-notice-head h2{margin:0 0 8px;font-size:20px;outline:none}
.dc-checkin-notice-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px}
.dc-checkin-notice-dialog .dc-checkin-notice form{flex-shrink:0;margin:0;padding:12px 24px 16px;gap:8px}
.dc-checkin-notice-dialog [data-checkin-feedback]:empty{display:none}
.dc-checkin-notice-close{border-top:1px solid var(--dc-line);padding:12px 24px 16px;text-align:right;flex-shrink:0}
@media(max-width:700px){.dc-checkin-notice-head{padding:16px 16px 12px}.dc-checkin-notice-head h2{font-size:18px}.dc-checkin-notice-body{padding:16px}.dc-checkin-notice-dialog .dc-checkin-notice form,.dc-checkin-notice-close{padding:12px 16px}.dc-checkin-notice-dialog .dc-checkin-consent{font-size:13px;gap:8px}}

/* Dual-seat intake: table first, independent scrolling, existing admin palette. */
.dc-reception{min-width:0}.dc-reception-summary{display:flex;gap:32px;flex-wrap:wrap;margin:16px 0;font-variant-numeric:tabular-nums}.dc-reception-summary strong{font-size:24px;color:var(--dc-blue)}.dc-reception-warning,.dc-reception-warning strong{color:var(--dc-warning)}.dc-reception-discovery{display:block;margin-top:8px}.dc-reception-note{padding:0 16px 16px}.dc-reception>.dc-reception-note{padding-left:0}.dc-reception .dc-tools{justify-content:flex-start;align-items:end}.dc-reception .dc-tools input{width:280px}.dc-reception .dc-table{max-height:65vh;overflow:auto}.dc-reception .dc-table th{position:sticky;top:0;z-index:1;color:var(--dc-secondary)}.dc-reception .dc-table td{font-variant-numeric:tabular-nums}.dc-reception .dc-table td:first-child{min-width:230px}.dc-reception .dc-reception-text{white-space:normal;min-width:280px;width:45%;max-width:600px;overflow-wrap:anywhere}.dc-reception-text summary{cursor:pointer}.dc-reception-text pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;padding:12px;background:var(--dc-input);max-height:400px;overflow:auto}.dc-reception .dc-page a{padding:12px}.dc-reception-detail .dc-head{margin-bottom:0}

.dc-reception>.dc-head{margin-bottom:8px}.dc-reception>.dc-reception-note{padding-bottom:8px}.dc-reception-summary{margin:8px 0 12px}.dc-reception>.dc-source{padding:8px 12px;margin-bottom:12px}.dc-reception-discovery{display:inline-block;margin:4px 0 4px 12px}.dc-reception .dc-tools label{flex:0 1 280px}.dc-reception .dc-tools label:nth-child(2){flex-basis:200px}

/* Explicit fallback only after authorized contact copying is blocked. */
.dc-customer-copy-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;padding:20px;background:var(--dc-paper);color:var(--dc-ink);border:1px solid var(--dc-line);border-radius:10px}
.dc-customer-copy-dialog h2{margin:0 0 8px;font-size:18px}
.dc-customer-copy-dialog>p{margin-bottom:16px;color:var(--dc-secondary);font-size:14px}
.dc-customer-copy-dialog textarea{min-height:88px;font-size:16px;line-height:1.6}
.dc-customer-copy-dialog>button{display:block;margin:16px 0 0 auto}

.dc-checkin-steps .dc-checkin-group{grid-column:1/-1;display:grid;justify-items:center;gap:12px;width:100%}
.dc-checkin-group-name{font-size:22px;font-weight:700;color:var(--dc-blue)}
.dc-checkin-qr-card{width:100%;max-width:260px;margin:0;display:grid;justify-items:center;border:1px solid var(--dc-line);border-radius:8px;overflow:hidden;background:var(--dc-paper)}
.dc-checkin-group-qr{display:block;width:100%;max-width:220px;height:auto;background:var(--dc-paper)}
.dc-checkin-group p{text-align:center;font-size:12px}

.dc-checkin-steps .dc-panel>.dc-checkin-group-ready{background:#edf7f1;color:var(--dc-success);border-color:#d9eade}

.dc-checkin-steps .dc-checkin-no-description{grid-template-rows:auto auto auto}

.dc-checkin-qr-reminder{width:100%;min-width:0;padding:12px;border-top:1px solid #f3e5ce;background:#fff6e8;overflow-wrap:anywhere}
.dc-checkin-group .dc-checkin-qr-reminder p{margin:0;white-space:pre-wrap;text-align:center;text-wrap:balance;color:var(--dc-danger);font-size:16px;font-weight:700;line-height:1.6}

.dc-checkin-notice .dc-notice-orange{color:var(--dc-warning)}
.dc-checkin-notice ul,.dc-checkin-notice ol{padding-left:24px;margin:12px 0}
.dc-checkin-notice li+li{margin-top:8px}
.dc-notice-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:8px;padding:12px;border:1px solid var(--dc-line);border-radius:6px;background:var(--dc-input)}
.dc-notice-toolbar label{font-size:12px;gap:4px;min-width:110px}
.dc-notice-toolbar button,.dc-notice-toolbar select{min-height:44px;padding:8px 12px;background:var(--dc-paper)}
.dc-notice-rich-editor{width:100%;min-height:300px;max-height:480px;overflow:auto;padding:20px;border:1px solid var(--dc-line);border-radius:6px;background:var(--dc-paper);white-space:pre-wrap}
.dc-notice-rich-editor h3{margin:20px 0 8px}.dc-notice-rich-editor p{min-height:1.7em}
.dc-notice-editor-actions{display:flex;gap:8px;flex-wrap:wrap}
.dc-notice-preview-dialog{width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;padding:24px;border:1px solid var(--dc-line);border-radius:10px;color:var(--dc-ink);background:var(--dc-paper)}
.dc-notice-preview-dialog::backdrop{background:rgb(29 42 59 / .4)}
.dc-notice-preview-dialog>button{display:block;margin:24px 0 0 auto}
.dc-notice-preview-dialog h3{margin:24px 0 8px}
@media(max-width:700px){.dc-notice-rich-editor{padding:16px}.dc-notice-toolbar{gap:4px;padding:8px}.dc-notice-preview-dialog{padding:16px}}

.dc-page-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:720px}
.dc-page-switch-row{padding:12px 16px;border:1px solid var(--dc-line);border-radius:6px;background:var(--dc-paper)}
.dc-page-switch-row label{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer;font-size:14px;color:var(--dc-ink)}
.dc-page-switch-state{margin-left:auto;font-size:12px;color:var(--dc-secondary)}
input[type=checkbox].dc-page-toggle{appearance:none;flex-shrink:0;width:40px;height:24px;min-height:24px;padding:2px;border:0;border-radius:12px;background:var(--dc-muted);cursor:pointer}
input[type=checkbox].dc-page-toggle::before{content:'';display:block;width:20px;height:20px;border-radius:50%;background:var(--dc-paper)}
input[type=checkbox].dc-page-toggle:checked{background:var(--dc-blue)}
input[type=checkbox].dc-page-toggle:checked::before{transform:translateX(16px)}
input[type=checkbox].dc-page-toggle:disabled{opacity:.5;cursor:wait}
.dc-page-switch-row p{font-size:12px;color:var(--dc-secondary);margin-top:4px}
.dc-page-switch-row p:empty{display:none}
@media(max-width:700px){.dc-page-switches{grid-template-columns:1fr}}
/* Settings switches must remain visible when the mobile shell stacks its sidebar. */
@media(max-width:650px){.dc-admin .activity-shell>.sidebar{height:auto;position:static}}

/* Dealers follow a customer's referrals on mobile: make the existing branch
   action recognizable beside the WeChat identity. Keep paper rows, blue action
   / pale-blue surface / slate metadata / green contact / amber pending tokens.
   A thin blue edge and 8px corners define the action, not a floating shadow.
   Existing system type: 12px label, 18px tabular count, 10px total; 4px rhythm,
   8px horizontal padding and >=44px touch height. Copy stays the solid action. */
.dc-customers .dc-customer-branch{padding:6px 8px;min-height:48px;border:1px solid var(--dc-blue);border-radius:8px;background:var(--dc-blue-soft);color:var(--dc-blue);text-align:center;line-height:1.35}
.dc-customers .dc-customer-branch .dc-customer-branch-main{display:flex;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:600;white-space:nowrap}
.dc-customers .dc-customer-branch-main strong{display:flex;align-items:baseline;gap:2px;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}
.dc-customers .dc-customer-branch-main strong>span{font-size:11px;font-weight:500}
.dc-customers .dc-customer-branch-main .dc-customer-branch-arrow{font-size:20px;line-height:1;width:12px}
.dc-customers .dc-customer-branch small{color:var(--dc-secondary);margin-top:2px;font-size:10px;white-space:nowrap}
.dc-customers .dc-customer-branch:hover{box-shadow:0 0 0 1px var(--dc-blue)}
.dc-customers .dc-customer-branch:focus-visible{outline:2px solid var(--dc-blue);outline-offset:3px}
.dc-customers .dc-customer-branch[aria-expanded="true"],.dc-customers .dc-customer-branch:active{background:var(--dc-blue);color:var(--dc-paper)}
.dc-customers .dc-customer-branch[aria-expanded="true"] small,.dc-customers .dc-customer-branch:active small{color:var(--dc-paper)}
.dc-customers .dc-customer-branch:disabled{opacity:.55;box-shadow:none;cursor:default}

/* Operations: one group per row, existing blue/grey tokens; orange only for gaps. */
.dc-operations .dc-tools label,.dc-operations .dc-tools label:nth-child(2){flex:0 1 220px}.dc-operations .dc-tools input{width:100%}.dc-operations .dc-table td:first-child{min-width:210px}.dc-operations .dc-table td:last-child{white-space:normal;min-width:210px}.dc-operations .dc-reception-summary small{display:block;color:var(--dc-secondary);font-size:12px}.dc-operations .dc-table td small{font-size:12px}.dc-reception nav a{padding:10px 14px;border-radius:6px}.dc-reception nav a.primary{color:#fff;background:var(--dc-blue)}

/* Membership review reuses the archive's compact blue facets and native dialog. */
.dc-membership .dc-filter-fields{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:16px 0}
.dc-membership .dc-filter-fields label{width:260px;max-width:100%;min-width:0}
.dc-membership .dc-filter-fields select,.dc-membership .dc-filter-fields input{width:100%}
.dc-membership .dc-dealer-facet-options{display:flex;flex-wrap:wrap;gap:8px}
.dc-membership .dc-dealer-facet-options button{min-height:44px}
.dc-membership .dc-table{margin-top:16px}
.dc-membership .dc-table th{white-space:nowrap}
.dc-membership .dc-table td{min-width:160px;max-width:320px;vertical-align:top;overflow-wrap:anywhere;white-space:normal}
[data-membership-dialog]{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto}
[data-membership-dialog] form{display:grid;gap:12px}
[data-membership-dialog] label{display:block}
[data-membership-dialog] label:has([type=checkbox]){display:flex;gap:8px;align-items:start}
[data-membership-dialog] [type=checkbox]{width:20px;height:20px;flex:none}
[data-membership-dialog] .dc-actions{display:flex;flex-wrap:wrap;gap:8px}

/* Member check-in directory: scope first, missing members emphasized. */
.dc-mc-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.dc-mc-heading h1{font-size:20px}.dc-mc-heading>span{font-size:11px;color:var(--dc-secondary);flex:none}
.dc-mc-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 12px}
.dc-mc-summary button{text-align:left;min-width:0;padding:12px 16px;min-height:88px;background:var(--dc-paper);border:1px solid var(--dc-line)}
.dc-mc-summary button[aria-pressed=true]{border-color:var(--dc-blue);background:var(--dc-blue-soft)}
.dc-mc-summary button>span{display:block;font-size:12px;color:var(--dc-secondary)}
.dc-mc-summary strong{display:block;font-size:28px;line-height:1.3;margin-top:6px;font-variant-numeric:tabular-nums}
.dc-mc-summary small{font-size:11px;font-weight:400;margin-left:5px;color:var(--dc-secondary)}
.dc-mc-summary .missing strong{color:var(--dc-danger)}.dc-mc-summary .joined strong{color:var(--dc-success)}
.dc-mc-summary .unlinked strong,.dc-mc-summary .unknown strong{color:var(--dc-warning)}
.dc-mc-note,.dc-mc-time{font-size:11px;line-height:1.7;color:var(--dc-secondary);margin-bottom:10px}
.dc-mc-controls{padding:12px 16px}.dc-mc-controls label{font-size:12px;display:block}.dc-mc-controls input{width:100%;margin-top:8px}
.dc-mc-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.dc-mc-filters button{min-height:44px;font-size:12px}
.dc-member-checkin button[aria-pressed=true]{color:var(--dc-blue);background:var(--dc-blue-soft);border-color:var(--dc-blue)}
.dc-mc-teams{margin:16px 0 20px}.dc-mc-teams h2,.dc-mc-list-heading{font-size:16px;margin-bottom:10px}
.dc-mc-all-teams{min-height:44px;margin-bottom:8px;font-size:12px}
.dc-mc-teams>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.dc-mc-teams>div>button{min-height:96px;text-align:left;min-width:0;padding:12px;white-space:normal;overflow-wrap:anywhere}
.dc-mc-teams strong,.dc-mc-teams span,.dc-mc-teams small{display:block}.dc-mc-teams strong{font-size:13px}.dc-mc-teams span{font-size:12px;margin-top:8px}.dc-mc-teams b{color:var(--dc-danger);font-size:17px;font-variant-numeric:tabular-nums}.dc-mc-teams small{font-size:10px;color:var(--dc-secondary);margin-top:4px}
.dc-mc-list-heading span{font-size:12px;color:var(--dc-secondary);font-weight:400;margin-left:8px}
.dc-mc-group h3{padding:12px 16px;background:var(--dc-blue-soft);color:var(--dc-blue);font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.dc-mc-group h3 small{font-size:10px;font-weight:400}
.dc-mc-group ul{padding:0;margin:0;list-style:none}.dc-mc-group li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:12px 16px;border-top:1px solid var(--dc-line);font-size:13px;overflow-wrap:anywhere}.dc-mc-group li small{display:block;font-size:10px;line-height:1.6;margin-top:4px}.dc-mc-group li>div:last-child{text-align:right}
.dc-mobile nav.bottom a[data-member-checkin-nav]{white-space:normal;line-height:1.3;text-align:center}

.dc-mobile nav.bottom.dc-sharer-navigation.dc-member-checkin-navigation a{white-space:normal;line-height:1.3;text-align:center;overflow-wrap:anywhere}

.dc-mc-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.dc-mc-summary button{padding:12px}.dc-mc-freshness{margin:12px 0}
.dc-mc-freshness>strong{font-size:12px}.dc-mc-freshness p{margin-top:5px;font-size:12px}
.dc-mc-freshness b{color:var(--dc-blue)}.dc-mc-freshness small{display:block;font-size:10px;margin-top:2px}

.dc-mc-group>.dc-mc-note{padding:10px 16px;margin:0;border-top:1px solid var(--dc-line)}


.dc-member-checkin.dc-mc-has-copy{padding-bottom:var(--dc-mc-copy-height,90px)}

/* Group WeChat avatars share the existing contact identity component. */
.dc-mc-group li{grid-template-columns:minmax(0,1fr) fit-content(35%)}.dc-mc-person{min-width:0}.dc-mc-person>.dc-wx-person{display:flex;align-items:center;gap:8px;min-width:0}.dc-mc-person .dc-wx-person-text{min-width:0;flex:1;max-width:none}.dc-mc-person .dc-wx-person-text>strong{font-weight:600;overflow-wrap:anywhere}.dc-mc-person-details{padding-left:40px}

/* Keep the two verified WeChat identities together when reviewing a transfer. */
.dc-fl-rebindings{margin:18px 0}.dc-fl-rebind-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}.dc-fl-rebind-title h2{margin:0;font-size:18px}.dc-fl-rebind-title nav{display:flex;gap:6px;flex-wrap:wrap}.dc-fl-rebind-title [aria-current="page"]{background:var(--dc-blue-soft);color:var(--dc-blue);border-color:var(--dc-blue)}.dc-fl-rebind{border:1px solid var(--dc-line);border-radius:10px;padding:18px;margin:12px 0;background:var(--dc-paper);min-width:0}.dc-fl-rebind>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dc-fl-rebind h3{margin:0;font-size:15px}.dc-fl-rebind h3 span,.dc-fl-rebind small{display:block;font-size:12px;color:var(--dc-muted);font-weight:400}.dc-fl-rebind p{line-height:1.7;overflow-wrap:anywhere}.dc-fl-wechat-compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.dc-fl-wechat{padding:14px;background:var(--dc-blue-soft);border-radius:8px;min-width:0;overflow-wrap:anywhere}.dc-fl-wechat h3{font-size:12px;color:var(--dc-secondary);margin:0 0 8px}.dc-fl-wechat strong{font-size:16px}.dc-fl-wechat details{margin-top:8px;font-size:12px}.dc-fl-rebind-action>summary{cursor:pointer;color:var(--dc-blue);min-height:44px;display:flex;align-items:center;font-weight:600}.dc-fl-rebind-action form{border-top:1px solid var(--dc-line);padding-top:14px}.dc-fl-rebind-action label{display:block;font-weight:600}.dc-fl-rebind-action textarea{display:block;width:100%;min-height:72px;margin:8px 0 12px;font:inherit}.dc-fl-rebind-action .dc-fl-verified{display:flex;align-items:center;gap:8px;font-weight:400;min-height:44px}.dc-fl-verified input{width:18px;height:18px;flex:none}.dc-fl-rebind-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.dc-fl-rebind-buttons button{min-height:44px}.dc-fl-rebind-error{color:#a13e38;font-weight:600}.dc-fl-handled{padding-top:12px;border-top:1px solid var(--dc-line)}
@media(max-width:600px){.dc-fl-wechat-compare{grid-template-columns:minmax(0,1fr)}.dc-fl-rebind{padding:14px}.dc-fl-rebind-buttons button{flex:1}}

/* Explicit mobile pagination: native buttons, 44px hit area, clear loading.
   Keep the list above fixed navigation and preserve the existing blue action. */
.dc-customers .dc-page{padding:12px;align-items:center;flex-wrap:wrap;gap:8px}
.dc-customers .dc-page>div{margin-left:auto}
.dc-customers .dc-page [data-customer-page]{min-width:88px;min-height:44px;touch-action:manipulation}

.dc-mobile nav.bottom.dc-sharer-navigation a[data-reimbursement-nav]{white-space:normal;line-height:1.3;text-align:center}

/* Support lookup: official claims and suffix clues stay visibly distinct. */
.dc-fat-loss-claims .dc-fl-lookup{margin:16px 0;min-width:0;width:100%;max-width:none}.dc-fat-loss-claims .dc-fl-lookup>summary{display:list-item;cursor:pointer;min-height:44px;line-height:1.6;padding:10px 0;font-size:16px;font-weight:600;color:var(--dc-blue)}.dc-fl-lookup .dc-tools{margin:16px 0;align-items:end}.dc-fl-lookup .dc-tools label:first-child{flex:2;min-width:min(260px,100%)}.dc-fl-lookup .dc-tools label:nth-child(2){flex:1;min-width:160px}.dc-fl-lookup .dc-fl-clue-status{color:var(--dc-secondary);overflow-wrap:anywhere}.dc-fl-clue-card{padding:16px;margin:12px 0;border:1px solid var(--dc-line);border-radius:8px;background:var(--dc-paper);min-width:0;overflow-wrap:anywhere}.dc-fl-clue-card>header{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}.dc-fl-clue-card>header strong{font-size:16px}.dc-fl-clue-card small{display:block;color:var(--dc-muted);font-size:12px;line-height:1.7}.dc-fl-clue-matches{font-size:13px;color:var(--dc-secondary)}.dc-fl-clue-code{display:flex;flex-wrap:wrap;gap:8px 24px;padding:12px;background:var(--dc-blue-soft);border-radius:6px;line-height:1.7}.dc-fl-clue-code strong{color:var(--dc-blue);font-size:22px;font-variant-numeric:tabular-nums}.dc-fl-clue-unclaimed{font-weight:600;color:var(--dc-secondary)}.dc-fl-clue-order{border-top:1px solid var(--dc-line);margin-top:14px;padding-top:12px;line-height:1.8}.dc-fl-clue-order>div{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px}.dc-fl-clue-order span{color:var(--dc-secondary);font-size:13px}.dc-fl-clue-order b,.dc-fl-clue-order strong{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.dc-fl-clue-order>small{margin-top:8px}@media(max-width:600px){.dc-fl-lookup .dc-tools label{min-width:0!important;flex-basis:100%!important}.dc-fl-lookup .dc-tools button{width:100%}.dc-fl-clue-order>div{grid-template-columns:minmax(0,1fr);gap:0;margin:8px 0}.dc-fl-clue-code{flex-direction:column;gap:4px}}

/* Own-group officer: one clear contact, original QR, comfortable mobile reading. */
.dc-officer-contact{max-width:560px;margin:0 auto;text-align:center}
.dc-officer-contact .dc-head{text-align:left}
.dc-officer-contact>h2{font-size:22px;line-height:1.4;margin:20px 0 8px;overflow-wrap:anywhere}
.dc-officer-group{color:var(--dc-secondary);margin:12px 0}
.dc-officer-group strong{color:var(--dc-ink)}
.dc-officer-instruction{font-size:16px;color:var(--dc-blue);font-weight:600;line-height:1.6;margin:8px 0 12px}
.dc-officer-image{max-width:340px;margin:0 auto;background:#fff}
.dc-officer-image img{display:block;width:100%;height:auto}
.dc-officer-contact [data-officer-image-status]{font-size:14px;color:var(--dc-secondary)}
.dc-officer-contact [data-officer-image-status]:empty{display:none}
.dc-officer-contact button{min-height:44px;margin-top:12px}

.dc-wf{min-width:0}.dc-wf .dc-metrics{margin:16px 0;grid-template-columns:repeat(4,minmax(0,1fr))}.dc-wf .dc-metrics strong{font-size:26px}.dc-wf .dc-wf-money,.dc-wf .positive{color:var(--dc-danger)}.dc-wf .cleared{color:var(--dc-success)}.dc-wf-poll,.dc-wf-result{font-size:12px;color:var(--dc-secondary);margin:12px 0}.dc-wf-error{color:var(--dc-warning)!important}.dc-wf .dc-tools{padding:0;align-items:end;flex-wrap:wrap}.dc-wf .dc-tools label:first-child{flex:1 1 260px}.dc-wf .dc-table table{min-width:940px;width:100%}.dc-wf th,.dc-wf td{padding:16px 12px;vertical-align:top}.dc-wf td:first-child{min-width:220px;max-width:300px;white-space:normal}.dc-wf td:nth-child(5){min-width:170px}.dc-wf td:last-child{min-width:170px;max-width:220px;white-space:normal}.dc-wf td button{margin-top:8px;min-height:36px;padding:6px 12px}.dc-wf .dc-wf-phone,.dc-wf-amount{white-space:nowrap;font-variant-numeric:tabular-nums}.dc-wf td small{display:block;margin-top:4px}.dc-wf-result{padding:0 2px}@media(max-width:700px){.dc-wf .dc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-wf .dc-tools label{flex:1 1 140px}}

.dc-wf .dc-panel.dc-pad{padding:16px 20px}.dc-wf .dc-head{margin-bottom:12px}.dc-wf .dc-metrics{margin:12px 0}.dc-wf .dc-metrics article{padding:12px 16px}.dc-wf-poll{margin:10px 0 0}

.dc-wf-owner-view table{min-width:1160px}.dc-wf-views{margin-bottom:10px;justify-content:flex-start;gap:8px}.dc-wf-views a{padding:10px 14px;border-radius:6px;color:var(--dc-blue);text-decoration:none}.dc-wf-views a[aria-current="page"]{background:var(--dc-blue-soft);font-weight:700}.dc-wf-details{display:inline-block;padding:10px 0}.dc-wf-owner-view td:nth-child(2){min-width:160px}

/* Staff-led withdrawal worklist: identity above, immediately visible accounts below. */
.dc-wf-groups{display:grid;gap:16px}.dc-wf-group{min-width:0;overflow:hidden}.dc-wf-group-head{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:16px 20px;background:var(--dc-blue-soft);border-bottom:1px solid var(--dc-line)}.dc-wf-group-identity{min-width:0}.dc-wf-group-org{font-size:13px;font-weight:600;color:var(--dc-blue);margin-bottom:6px}.dc-wf-group-head h3{font-size:18px;font-weight:700;color:var(--dc-ink);line-height:1.5;margin:0 0 4px;overflow-wrap:anywhere}.dc-wf-group-head p{font-size:13px;line-height:1.7;color:var(--dc-secondary);margin:2px 0;overflow-wrap:anywhere}.dc-wf-group-head p strong{color:var(--dc-ink);font-weight:500}.dc-wf-group-totals{display:grid;gap:6px;text-align:right;flex-shrink:0;font-variant-numeric:tabular-nums}.dc-wf-group-totals>strong{font-size:22px;color:var(--dc-danger)}.dc-wf-group-totals>span{font-size:12px;color:var(--dc-secondary)}.dc-wf .dc-wf-group table{min-width:940px}.dc-wf-group td:nth-child(2){min-width:130px}.dc-wf-group td:nth-child(5){min-width:200px}@media(max-width:700px){.dc-wf-group-head{align-items:start;gap:12px;padding:16px}.dc-wf-group-totals>strong{font-size:18px}}
