@font-face{font-family:Inter;src:url('/static/fonts/inter-latin-vietnamese.woff2') format('woff2');font-style:normal;font-weight:400 600;font-display:swap}
/* site-russian-v1-1 (owner 2026-11-16: 「加就好了」): Inter ships no Cyrillic glyphs, measured, not
   assumed — the Latin binary renders Cyrillic at exactly the system-fallback width. This 18.7 KB OFL
   subset (Google Inter v20 cyrillic, licence in fonts/inter-OFL.txt) is fetched only by a reader with
   Cyrillic on the page, so no other locale downloads anything. Do not widen the Latin face's
   unicode-range instead: that file has no Cyrillic glyphs and would draw tofu. */
@font-face{font-family:Inter;src:url('/static/fonts/inter-cyrillic.woff2') format('woff2');font-style:normal;font-weight:400 600;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Noto Sans SC';src:url('/static/fonts/noto-sans-sc-common.woff2') format('woff2');font-style:normal;font-weight:400 600;font-display:swap}
:root{--partner-amber:var(--bb-theme-warn,#B7791F);--partner-amber-rgb:var(--bb-theme-warn-rgb,183,121,31);--canvas:var(--bb-theme-canvas, #EDEDEF);--panel:var(--bb-theme-surface, #fff);--line:var(--bb-theme-line, #E3E3E6);--text:var(--bb-theme-ink, #111);--muted:var(--bb-theme-muted, #8A8A90);--lime:var(--bb-theme-accent, #B8FF3D);--soft:var(--bb-theme-inset, #F4F4F6);color-scheme:var(--bb-theme-color-scheme, light)}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--text);font:16px/1.6 Inter,'PingFang SC','HarmonyOS Sans SC','Noto Sans SC','Microsoft YaHei',sans-serif;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--bb-theme-line, #111);outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}
.app{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;padding:20px;max-width:1440px;margin:0 auto;min-height:100vh}.side{background:var(--panel);border-radius:28px;padding:20px;display:flex;flex-direction:column;gap:6px;position:sticky;top:20px;height:calc(100vh - 40px);overflow:auto;scrollbar-width:thin}.brand{display:flex;align-items:center;gap:12px;min-height:56px;padding:0 4px}.brand img{width:44px;height:44px;border-radius:14px;object-fit:contain}.brand b{font-size:20px;font-weight:600}.who{display:flex;align-items:center;gap:12px;background:var(--soft);border-radius:20px;padding:12px 14px;margin:8px 0 12px}.avatar{width:40px;height:40px;border-radius:50%;background:var(--bb-theme-surface, #fff);display:grid;place-items:center;font-weight:600;border:1px solid var(--line);flex:none}.who small{display:block;color:var(--muted);font-size:12px;line-height:1.4}.who div{line-height:1.4;min-width:0;overflow-wrap:anywhere}.who b{font-weight:500}.group{font-size:12px;letter-spacing:.12em;color:var(--muted);text-transform:uppercase;margin:16px 12px 6px}.nav{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 14px;border-radius:999px;color:var(--text);font-size:16px;line-height:1.2}.nav svg,.tabbar svg{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.nav .count{margin-left:auto;min-width:28px;height:24px;padding:0 8px;border-radius:999px;background:var(--soft);display:grid;place-items:center;font-size:12px;color:var(--bb-theme-secondary, #555)}.nav.on{background:var(--bb-theme-surface, #111);color:var(--bb-theme-ink, #fff)}.spacer{flex:1;min-height:24px}.invite{background:var(--lime);border-radius:22px;padding:16px;display:flex;flex-direction:column;gap:12px;color:var(--bb-theme-accent-ink, #111)}.invite b{font-size:16px;font-weight:600}.invite small{display:block;font-size:12px;color:var(--bb-theme-accent-ink, #111);opacity:.7}.invite .btn{justify-content:space-between;border:0}
.main{display:flex;flex-direction:column;gap:20px;min-width:0}.top{display:flex;align-items:center;gap:16px;flex-wrap:wrap;min-height:64px}.greeting{display:flex;gap:16px;align-items:center;flex-wrap:wrap;flex:1;min-width:0}.top h1{margin:0;font-size:clamp(32px,3.15vw,48px);line-height:1.2;font-weight:600;letter-spacing:-.01em;overflow-wrap:anywhere}.pill,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;height:40px;padding:0 16px;border-radius:999px;font-size:14px;font-weight:500;line-height:1.2;border:1px solid var(--line);background:var(--bb-theme-surface, #fff);color:var(--bb-theme-ink, #111);text-align:center;flex:none}.pill.lime,.btn.lime{background:var(--lime);border-color:var(--lime);color:var(--bb-theme-accent-ink, #111)}.pill.dark,.btn.dark{background:var(--bb-theme-surface, #111);color:var(--bb-theme-ink, #fff);border-color:var(--bb-theme-line, #111)}.pill.soft{background:var(--panel)}.pill svg,.btn svg{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.5}.actions{margin-left:auto;display:flex;gap:10px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.period-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#custom-dates{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#custom-dates label{font-size:12px;display:flex;align-items:center;gap:4px}input,select{color:var(--bb-theme-ink, #111);background:var(--bb-theme-inset, #fff);border:1px solid var(--line);border-radius:12px;height:40px;padding:0 12px;max-width:100%;min-width:0}select.btn,select.pill{padding-right:24px;text-align:left;cursor:pointer}.grid{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;align-items:stretch}.panel{background:var(--panel);border-radius:28px;padding:24px;min-width:0}.panel h2{margin:0;font-size:24px;line-height:1.2;font-weight:600}.panel h3{font-size:18px;font-weight:600;margin:0 0 12px}.sub{color:var(--muted);font-size:14px;margin-top:4px}.head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.head h2{overflow-wrap:anywhere}.arrow{width:40px;height:40px;border-radius:50%;background:var(--soft);display:grid;place-items:center;flex:none;border:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:20px;overflow:hidden}.stat{padding:16px 18px;border-left:1px solid var(--line);min-width:0}.stat:first-child{border-left:0}.stat span{display:block;color:var(--muted);font-size:12px;min-height:32px;line-height:1.35}.stat b{display:block;font-size:24px;font-weight:600;line-height:1.2;margin-top:4px;overflow-wrap:anywhere}.stat small{font-size:12px;color:var(--muted);display:block;margin-top:8px}.progress{margin-top:20px}.progress .row{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--muted);margin-bottom:8px}.bar{height:10px;border-radius:999px;background:var(--soft);overflow:hidden}.bar i{display:block;height:100%;background:var(--bb-theme-surface, #111);border-radius:999px}.overview-summary{min-height:330px}.link-card{display:flex;flex-direction:column;gap:12px}.linkrow{display:flex;align-items:center;gap:12px;background:var(--soft);border-radius:18px;padding:12px 14px}.linkrow .ico{width:40px;height:40px;border-radius:12px;background:var(--bb-theme-surface, #fff);display:grid;place-items:center;border:1px solid var(--line);flex:none}.ico svg{width:20px;height:20px;stroke:var(--bb-theme-ink, #111);fill:none;stroke-width:1.5}.linkrow .linktext{min-width:0;flex:1;line-height:1.35}.linkrow small{display:block;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.linkrow b{font-weight:500}.qr{display:flex;align-items:center;gap:16px;border:1px dashed var(--line);border-radius:18px;padding:14px}.qr canvas{width:88px!important;height:88px!important;border-radius:8px;background:var(--bb-theme-surface, #fff);flex:none}.qr .qrtext{min-width:0}.qr p{margin:4px 0 12px;font-size:12px;color:var(--muted)}.table-wrap{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;font-size:14px}thead th{background:var(--soft);color:var(--muted);font-weight:500;text-align:left;height:40px;padding:8px 16px;line-height:1.35}thead th:first-child{border-radius:14px 0 0 14px}thead th:last-child{border-radius:0 14px 14px 0}tbody td{height:56px;padding:12px 16px;border-bottom:1px solid var(--line);vertical-align:middle;line-height:1.35}td small{display:block;color:var(--muted);font-size:12px;line-height:1.35;margin-top:4px}.row-link{border:0;background:none;color:inherit;font:inherit;text-align:left;padding:0;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}.chip{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:4px 12px;border-radius:999px;background:var(--soft);font-size:12px;line-height:1.2;text-align:center}.chip.lime{background:var(--lime);color:var(--bb-theme-accent-ink, #111)}.chip.dark{background:var(--bb-theme-surface, #111);color:var(--bb-theme-ink, #fff)}.funnel{display:flex;flex-direction:column;gap:10px;margin-top:6px}.f{display:grid;grid-template-columns:72px minmax(0,1fr) 48px;align-items:center;gap:12px;font-size:14px}.f .t{height:12px;border-radius:999px;background:var(--soft);overflow:hidden}.f .t i{display:block;height:100%;background:var(--bb-theme-surface, #111);border-radius:999px}.f:last-child .t i{background:var(--lime);color:var(--bb-theme-accent-ink, #111)}.f b{text-align:right;font-weight:600}.chart{min-height:180px;margin-top:16px}.note{font-size:12px;color:var(--muted);line-height:1.6;margin:16px 0 0}.empty{padding:24px 16px;background:var(--soft);border-radius:20px;color:var(--muted);font-size:14px;line-height:1.6}.empty h3{color:var(--text);margin:0 0 8px}.empty p{margin:0}.empty .btn{margin-top:16px}.commission-empty{margin-top:20px;min-height:180px;display:flex;flex-direction:column;justify-content:center}.filters{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;margin:20px 0}.filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;min-width:0}.filters input{width:180px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.cards .panel{display:flex;flex-direction:column;gap:12px}.cards .panel>.btn{align-self:flex-start;margin-top:auto}.list{display:flex;flex-direction:column;gap:12px}.list-row{padding:16px;border:1px solid var(--line);border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.list-row>div{min-width:0}.list-row b{font-weight:500;overflow-wrap:anywhere}.list-row small{display:block;color:var(--muted);font-size:12px}.list-row .actions{flex-wrap:wrap;margin-left:0}.row-progress{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.row-progress span{font-size:12px;padding:4px 8px;border-radius:999px;background:var(--soft)}.row-progress span.done{background:var(--lime);color:var(--bb-theme-accent-ink, #111)}.form{display:flex;flex-direction:column;gap:16px}.form label{display:flex;flex-direction:column;gap:8px;font-size:14px}.form .check{flex-direction:row;align-items:center}.form input[type=checkbox]{height:20px;width:20px;flex:none}.form .btn{align-self:flex-start}.form input[type=number]{max-width:140px}.form p{margin:0}.pagination{display:flex;align-items:center;gap:12px;justify-content:flex-end;margin-top:20px}.more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.more-grid a{display:flex;align-items:center;gap:12px;padding:20px;border-radius:20px;background:var(--panel);border:1px solid var(--line);min-height:80px}.more-grid svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.5}.foot{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:12px;padding:16px 8px;margin-top:auto}.foot span:first-of-type{flex:1}.tabbar{display:none}.skeleton .panel{min-height:280px;background:linear-gradient(100deg,var(--bb-theme-surface, #fff) 30%,var(--bb-theme-surface, #f5f5f7) 50%,var(--bb-theme-surface, #fff) 70%);background-size:200% 100%;animation:loading 1.3s ease infinite}#status{padding:16px 24px;border:1px solid var(--line);border-radius:20px;background:var(--bb-theme-surface, #fff);font-size:14px}#status button{margin-left:12px}dialog{width:min(600px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid var(--line);border-radius:28px;padding:24px;background:var(--bb-theme-surface, #fff);color:var(--bb-theme-ink, #111)}dialog::backdrop{background:rgba(var(--bb-theme-shadow-rgb, 0,0,0), 0.35)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.dialog-head h2{margin:0;font-size:24px;line-height:1.2}.timeline{list-style:none;padding:0;margin:0}.timeline li{padding:12px 0;border-bottom:1px solid var(--line)}.timeline small{display:block;color:var(--muted)}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:96px;background:var(--bb-theme-surface, #111);color:var(--bb-theme-ink, #fff);padding:12px 24px;border-radius:999px;z-index:20;font-size:14px;max-width:calc(100% - 32px);text-align:center}.chart svg{max-width:100%}
@keyframes loading{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.skeleton .panel{animation:none}}
@media(max-width:1199px){.app{grid-template-columns:240px minmax(0,1fr)}.side{padding:16px}.grid{grid-template-columns:1fr}.overview-summary{min-height:0}.brand b{font-size:18px}.top h1{font-size:32px}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.stat{padding:16px 12px}.cards{grid-template-columns:1fr}}
@media(max-width:767px){.app{display:block;padding:16px 16px calc(104px + env(safe-area-inset-bottom))}.side{display:none}.main{gap:16px}.top{min-height:0;gap:12px}.top h1{font-size:32px}.greeting{flex-basis:100%}.actions{margin-left:0;justify-content:space-between;flex:1}.toolbar{gap:12px}.identity-pill{height:32px;min-height:32px}.period-controls{width:100%}.panel{padding:24px;border-radius:28px}.grid{gap:12px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat:nth-child(3){border-left:0}.stat:nth-child(n+3){border-top:1px solid var(--line)}.stat{padding:16px}.stat span{min-height:0}.head{margin-bottom:16px}.head h2{font-size:24px}.head .btn{font-size:12px;padding:0 12px}.qr{gap:12px;padding:12px}.qr canvas{width:80px!important;height:80px!important}.linkrow{flex-wrap:wrap;gap:8px;padding:12px}.linkrow .ico{width:32px;height:32px}.linkrow .btn{padding:0 12px}.linkrow small{max-width:170px}.tabbar{position:fixed;display:flex;justify-content:space-around;gap:4px;bottom:0;left:0;right:0;z-index:10;background:var(--bb-theme-surface, #fff);border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom))}.tabbar a{display:flex;flex:1;min-width:0;min-height:56px;align-items:center;justify-content:center;flex-direction:column;gap:4px;border-radius:16px;color:var(--muted);font-size:12px;line-height:1.2;text-align:center;padding:4px}.tabbar a.on{background:var(--bb-theme-surface, #111);color:var(--bb-theme-ink, #fff)}.more-grid{gap:8px}.more-grid a{padding:16px;font-size:14px}.f{grid-template-columns:64px minmax(0,1fr) 40px}.filters input{width:160px}.foot{gap:8px}.foot span:first-of-type{flex-basis:100%}.pagination{font-size:12px}.table-wrap table{min-width:500px}.overview-clients table{min-width:440px}.form .btn{width:100%}}

.mobile-identity{display:none}.foot .actions{margin-left:auto;flex:none}.top .actions{flex-shrink:1}.top .period-controls{flex-wrap:wrap}.side>*{flex-shrink:0}
@media(max-width:767px){.mobile-identity{display:inline-flex;align-self:flex-start}.foot .actions{width:100%;flex-wrap:wrap;margin-left:0}.top .actions{flex-basis:100%}}

/* Partner-scoped presentation of the shared chart controls. */
.bb-chart-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.bb-chart-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:var(--bb-theme-surface, #fff);color:var(--text);font-size:14px;font-weight:500;line-height:1.2}.bb-chart-legend{display:flex;gap:12px;flex-wrap:wrap;padding:0;margin:12px 0;list-style:none;font-size:14px}.bb-chart-legend li{display:flex;align-items:center;gap:8px}.bb-chart-swatch{width:10px;height:10px;border-radius:50%;flex:none}.bb-chart-table{font-size:14px;max-width:100%;overflow:auto;margin:12px 0}.bb-chart-table summary{cursor:pointer;color:var(--muted)}.bb-chart-source,.bb-chart-description,.bb-chart-status{font-size:12px;color:var(--muted)}

/* Original partner design: real per-link stage strips and reviewed poster picker. */
/* Native WebKit appearance overrides the approved rounded select controls. */
select{background-color:var(--bb-theme-inset)!important;appearance:none;background-image:linear-gradient(45deg,rgba(var(--bb-theme-inset-rgb, 0,0,0), 0.0) 50%,var(--text) 50%),linear-gradient(135deg,var(--text) 50%,rgba(var(--bb-theme-inset-rgb, 0,0,0), 0.0) 50%);background-position:right 18px center,right 14px center;background-size:4px 4px;background-repeat:no-repeat;padding-right:32px}select.btn,select.pill{padding-right:32px}
.progress .row b{color:var(--text);flex:none}.progress .sub{overflow-wrap:anywhere}
.campaign-description{flex:1}.campaign-funnel{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:12px;border-top:1px solid var(--line)}
.campaign-stage{min-width:0}.campaign-stage>span{display:block;font-size:14px;line-height:1.35;min-height:38px;overflow-wrap:anywhere}.campaign-stage .bar{height:10px;margin:8px 0}.campaign-stage b{display:block;font-size:18px}.campaign-stage small{overflow-wrap:anywhere;line-height:1.4;margin-top:4px}.campaign-stage:last-child .bar i{background:var(--lime);color:var(--bb-theme-accent-ink, #111)}
#poster-form select{appearance:none;background-image:linear-gradient(45deg,rgba(var(--bb-theme-inset-rgb, 0,0,0), 0.0) 50%,var(--text) 50%),linear-gradient(135deg,var(--text) 50%,rgba(var(--bb-theme-inset-rgb, 0,0,0), 0.0) 50%);background-position:right 18px center,right 14px center;background-size:4px 4px;background-repeat:no-repeat;padding-right:32px;width:100%;min-height:44px;height:auto;padding:12px 32px 12px 12px;font-size:14px}#poster-form .btn{min-height:44px;height:auto;padding:12px 20px}
@media(max-width:767px){.campaign-funnel{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.campaign-row .actions{width:100%;justify-content:flex-start}.campaign-stage>span{min-height:0}}

/* 2026-10-06 acceptance (ACCEPTANCE.md part 6): no wrapped table headers or tab labels, cards as tall as their content. */
.table-wrap th{white-space:nowrap}
.tabbar a span{white-space:nowrap}
.grid{align-items:start}
.overview-summary{min-height:0}
.panel p,.panel small,.note{text-wrap:pretty}
@media(max-width:767px){.tabbar{padding:8px}.tabbar a{min-height:56px;height:56px;justify-content:center}}
@media(max-width:480px){.more-grid{grid-template-columns:1fr}}
/* 2026-10-07: explanatory sentences removed (no explanatory copy on customer pages); an emptied line takes no space. */
.panel .head :is(p,small,span):empty,.qrtext p:empty,.note:empty,.invite-card p:empty,.panel p:empty{display:none}

/* Mobile dark review: surface and text tokens must not share --soft. */
:root[data-bigbit-theme="dark"] .table-wrap thead th{background:var(--bb-theme-inset,#2C2C2E);color:var(--bb-theme-ink,#F2F2F2)}
@media(max-width:767px){
  :root[data-bigbit-theme="dark"] #mobile-nav a.on svg{color:var(--bb-theme-accent,#B8FF3D)}
  #mobile-nav{padding-bottom:calc(8px + env(safe-area-inset-bottom))}
  /* 56px tabs + 16px padding + 1px border + 12px clearance. */
  html body[data-partner-view=center]:has(#mobile-nav) .public-ai[data-web-ai-launcher]{bottom:calc(85px + env(safe-area-inset-bottom))!important}
}

/* ARFX wordmark in the sidebar (black on light, white on dark) */
.brand img.brand-logo{width:auto;height:28px;border-radius:0}
.brand img.brand-logo-white{display:none}
html[data-bigbit-theme=dark] .brand img.brand-logo-black{display:none}
html[data-bigbit-theme=dark] .brand img.brand-logo-white{display:block}

/* rebate-settle-v1 (W13, owner 「行」 2026-11-07): 我的返佣 — dark wallet card, chips, framed entry rows, daily statements and
   one bottom sheet. Theme tokens only; frosted glass comes from the --glass-* rules in bigbit-theme-colors.css. */
:root{--rb-amber:var(--partner-amber)}
.rb-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px;align-items:start}
.rb-main,.rb-side{display:flex;flex-direction:column;gap:12px}
.rb-main>.head,.rb-side>.head{margin-bottom:4px}
.rb-wallet{background:var(--bb-theme-inverse,#111);color:var(--bb-theme-inverse-ink,#fff);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0}
.rb-wl{font-size:13px;line-height:1.4;color:rgba(var(--bb-theme-inverse-ink-rgb,255,255,255),.66)}
.rb-big{font-size:40px;font-weight:700;line-height:1.1;letter-spacing:-.01em;overflow-wrap:anywhere}
.rb-big small{font-size:14px;font-weight:500;margin-left:6px;color:rgba(var(--bb-theme-inverse-ink-rgb,255,255,255),.66)}
.rb-row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.rb-row3 div{background:rgba(var(--bb-theme-inverse-ink-rgb,255,255,255),.08);border-radius:12px;padding:8px 10px;min-width:0;font-size:12px;line-height:1.35;color:rgba(var(--bb-theme-inverse-ink-rgb,255,255,255),.66)}
.rb-row3 b{display:block;margin-top:2px;font-size:16px;font-weight:600;color:var(--bb-theme-inverse-ink,#fff);overflow-wrap:anywhere}
.rb-row4{grid-template-columns:repeat(4,minmax(0,1fr))}
.rb-row3 b small{font-size:12px;font-weight:500;margin-left:3px;color:rgba(var(--bb-theme-inverse-ink-rgb,255,255,255),.66)}
.rb-row3 .rb-people>small{display:block;margin-top:1px;font-size:11px}
.rb-actions{display:flex;gap:8px;flex-wrap:wrap}
.rb-actions .btn{border:0;font-weight:600;transition:transform .12s ease,filter .12s ease}
.rb-actions .btn:hover{filter:brightness(1.08)}
.rb-actions .btn:active{transform:scale(.985)}
.rb-wallet .rb-ghost{background:rgba(var(--bb-theme-inverse-ink-rgb,255,255,255),.14);color:var(--bb-theme-inverse-ink,#fff)}
.rb-note{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.rb-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px}
.rb-chips::-webkit-scrollbar{display:none}
.rb-chips button{flex:none;height:32px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--bb-theme-surface,#fff);color:var(--muted);font-size:14px;font-weight:500;transition:transform .12s ease}
.rb-chips button:hover{color:var(--text);border-color:var(--muted)}
.rb-chips button:active{transform:scale(.985)}
.rb-chips button[aria-pressed=true]{background:var(--bb-theme-inverse,#111);color:var(--bb-theme-inverse-ink,#fff);border-color:transparent}
.rb-list,.rb-stmts{display:flex;flex-direction:column;gap:8px;min-width:0}
.rb-list[aria-busy=true]>.rb-ent{opacity:.6}
.rb-ent{border:1px solid var(--line);background:var(--bb-theme-inset,#F5F5F7);border-radius:12px;padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;min-width:0}
.rb-ent b{font-size:15px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.rb-amt{font-weight:600;text-align:right;white-space:nowrap}
.rb-amt.neg{color:var(--bb-theme-down,#D64545)}
.rb-ent[data-rb-status=rejected] .rb-amt{color:var(--muted);text-decoration:line-through}
.rb-m{color:var(--muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere;min-width:0}
.rb-st{justify-self:end;display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:500;white-space:nowrap;background:var(--bb-theme-surface,#fff);color:var(--bb-theme-secondary,#555)}
.rb-st.review{background:rgba(var(--partner-amber-rgb),.16);color:var(--rb-amber)}
.rb-st.credited{background:rgba(var(--bb-theme-up-rgb,31,157,85),.14);color:var(--bb-theme-up,#1F9D55)}
.rb-st.rejected,.rb-st.reversal{background:rgba(var(--bb-theme-down-rgb,214,69,69),.12);color:var(--bb-theme-down,#D64545)}
.rb-why{grid-column:1/-1;color:var(--muted);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.rb-ent[data-rb-status=review] .rb-why{color:var(--rb-amber)}
.rb-stmt{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;text-align:left;color:var(--text);border:1px solid var(--line);background:var(--bb-theme-inset,#F5F5F7);border-radius:12px;padding:12px 14px;transition:transform .12s ease,border-color .12s ease,background-color .12s ease}
.rb-stmt:hover{border-color:var(--muted);background:var(--bb-theme-surface,#fff)}
.rb-stmt:active{transform:scale(.985)}
.rb-stmt b{font-size:15px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.rb-stmt>span:last-child{color:var(--muted);font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.rb-tag{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:500;background:var(--bb-theme-surface,#fff);color:var(--bb-theme-secondary,#555)}
.rb-tag.credited{background:rgba(var(--bb-theme-up-rgb,31,157,85),.14);color:var(--bb-theme-up,#1F9D55)}
.rb-tag.paused,.rb-tag.carried{background:rgba(var(--partner-amber-rgb),.16);color:var(--rb-amber)}
.rb-tag.failed{background:rgba(var(--bb-theme-down-rgb,214,69,69),.12);color:var(--bb-theme-down,#D64545)}
.rb-empty{margin:0;padding:12px 14px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:14px}
.rb-err{margin:0;display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--bb-theme-down,#D64545);font-size:14px;line-height:1.4}
.rb-more{align-self:center}
.rb-skel{height:64px;border-radius:12px;background:linear-gradient(100deg,var(--soft) 30%,var(--bb-theme-surface,#fff) 50%,var(--soft) 70%);background-size:200% 100%;animation:loading 1.4s ease infinite}
dialog.rb-sheet .rb-sum{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 16px}
dialog.rb-sheet .rb-sum div{border:1px solid var(--line);border-radius:12px;padding:10px 12px;min-width:0}
dialog.rb-sheet .rb-sum span{display:block;font-size:12px;line-height:1.35;color:var(--muted)}
dialog.rb-sheet .rb-sum b{display:block;font-size:18px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
dialog.rb-sheet .rb-sheet-foot{display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin-top:16px}
dialog.rb-sheet .dialog-head h2{font-size:20px;line-height:1.35;overflow-wrap:anywhere}
@media(min-width:768px){dialog.rb-sheet[open]{animation:rb-pop .22s cubic-bezier(.2,.8,.2,1)}dialog.rb-sheet.rb-closing{animation:rb-shrink .2s ease-in forwards}}
@media(max-width:1199px){.rb-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){
 .rb-grid{gap:12px}
 .rb-wallet{padding:16px}
 .rb-row3{gap:6px}
 .rb-row3 div{padding:8px}
 .rb-row3 b{font-size:15px}
 .rb-row4{grid-template-columns:repeat(2,minmax(0,1fr))}
 dialog.rb-sheet{width:100%;max-width:100%;margin:auto 0 0;border-radius:24px 24px 0 0;border-bottom:0;max-height:88vh;max-height:88dvh;padding:8px 16px calc(24px + env(safe-area-inset-bottom))}/* sheet-standard-v1: size C */
 dialog.rb-sheet::before{content:"";display:block;width:40px;height:4px;border-radius:999px;background:var(--line);margin:0 auto 12px}
 dialog.rb-sheet .dialog-head{margin-bottom:16px}
 dialog.rb-sheet .rb-sum{grid-template-columns:repeat(2,minmax(0,1fr))}
 dialog.rb-sheet .rb-sheet-foot .btn{width:100%}
 dialog.rb-sheet[open]{animation:rb-up .28s cubic-bezier(.2,.8,.2,1)}
 dialog.rb-sheet.rb-closing{animation:rb-down .22s ease-in forwards}
}
@keyframes rb-up{from{transform:translateY(100%)}to{transform:none}}
@keyframes rb-down{to{transform:translateY(100%)}}
@keyframes rb-pop{from{transform:scale(.94);opacity:0}to{transform:none;opacity:1}}
@keyframes rb-shrink{to{transform:scale(.94);opacity:0}}
@media(prefers-reduced-motion:reduce){dialog.rb-sheet[open],dialog.rb-sheet.rb-closing,.rb-skel{animation:none}}
html[data-bigbit-theme=dark] .rb-wallet{background:var(--bb-theme-canvas,#000)}
html[data-bigbit-theme=dark]{--partner-amber:var(--bb-theme-warn,#E0A84A);--partner-amber-rgb:var(--bb-theme-warn-rgb,224,168,74)}

/* partner-portal-v1 (owner 「行」 2026-11-11, prototype partner-apply.html → arfx.com/partner): the page's own sign-in view and the
   state page for members who are not approved partners. Theme tokens only. The centre itself is unchanged. */
.gap-top{margin-top:24px}
.team-level-1{margin-left:16px}.team-level-2{margin-left:32px}.team-level-3{margin-left:48px}.team-level-4{margin-left:64px}
.copy-field{width:100%}
.powered-by{flex-basis:100%;margin:10px 0 0;text-align:center;font-size:11px;line-height:16px;color:var(--muted);opacity:.8}
.gate-bar{display:none}
body:not([data-partner-view=center]) .app{display:block}
body:not([data-partner-view=center]) :is(.side,.top,.mobile-identity,.tabbar){display:none!important}
body:not([data-partner-view=center]) .gate-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px}
body[data-partner-view=boot] #content .skeleton{display:none}
.gate-bar .brand{min-height:0;padding:0}
.gate-bar .brand b{font-size:18px;font-weight:600;color:var(--muted)}
.gate-bar select{flex:none;max-width:52%}
.gate{display:grid;justify-items:center;padding:24px 0 8px}
.gate-panel{width:100%;max-width:440px;display:grid;gap:16px;background:var(--panel);border-radius:28px;padding:32px;min-width:0}
.gate-panel h2{margin:0;font-size:28px;line-height:1.2;font-weight:700;overflow-wrap:anywhere}
.gate-note{margin:0;font-size:14px;line-height:20px;color:var(--muted)}
.gate-note b{color:var(--text);font-weight:600}
.gate .gate-main{width:100%;height:auto;min-height:48px;padding:12px 24px;font-size:16px;font-weight:600;line-height:1.25;white-space:normal}
.gate .gate-main{background:var(--bb-theme-inverse,#111);color:var(--bb-theme-inverse-ink,#fff);border-color:transparent}
.gate .gate-main:disabled{opacity:.4;cursor:not-allowed}
.gate .gate-secondary{background:var(--panel);color:var(--text);border-color:var(--line)}
.gate .gate-tag{justify-self:start;display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:500;line-height:1;white-space:nowrap;color:var(--text)}
.gate .gate-tag.wait{background:rgba(var(--partner-amber-rgb),.22)}
.gate .gate-tag.no{background:rgba(var(--bb-theme-down-rgb,214,69,69),.16);color:var(--bb-theme-down,#D64545)}
.gate-reason{background:var(--soft);border-radius:12px;padding:12px 14px;font-size:14px;line-height:20px;overflow-wrap:anywhere}
.gate-reason span{display:block;font-size:12px;line-height:16px;color:var(--muted)}
.gate-why{margin:-8px 0 0;font-size:14px;line-height:20px;color:var(--bb-theme-down,#D64545)}
.gate-apply-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.gate-apply-line .gate-go{height:36px;min-height:36px;font-weight:600}
.gate-auth{min-width:0}
.gate-auth .native-auth-inline .bbp-login-panel>h2{display:none}
/* The shared sign-in panel is styled as a pop-up (core-auth.css, !important); embedded here it sits flat inside the card. */
html body .gate-auth [data-auth-panel-e]{width:100%!important;max-width:100%!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;animation:none!important;place-self:auto!important}
/* The sign-in panel sits straight on the gate card: no second layer under it. */
html body .gate-auth .bbp-login-panel,html[data-bigbit-skin][data-bigbit-skin][data-bigbit-skin][data-bigbit-skin] body .gate-auth .bbp-login-panel{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.gate-bar .brand{min-width:0;flex:0 1 auto;overflow:hidden}
.gate-bar .brand b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@media(max-width:767px){
 body:not([data-partner-view=center]) .app{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
 body:not([data-partner-view=center]) .gate-bar{min-height:56px}
 .gate{padding:8px 0 0}
 .gate-panel{padding:20px}
 .gate-panel h2{font-size:24px}
}
/* partner-center-tidy-v1 (owner 2026-11-11): on the sign-in and state views the page fills the screen and the disclosure
   line closes it at the very bottom, centred. The "返回 ARENA" link is gone from every view. site-chat.css reserves 88px
   under the page and under the footer for the chat bubble; here the line is centred and clear of the bubble, so both
   reservations are taken back (phone: side padding keeps the text off the bubble instead). */
body:not([data-partner-view=center]) .app{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body:not([data-partner-view=center]) .main{flex:1 1 auto}
body:not([data-partner-view=center]) .foot span:first-of-type{display:none}
html body[data-partner-view]:not([data-partner-view=center]):has(.public-ai[data-web-ai-launcher]){padding-bottom:0}
html body[data-partner-view]:not([data-partner-view=center]) .main>.foot,html body[data-partner-view]:not([data-partner-view=center]):has(.public-ai[data-web-ai-launcher]) .main>.foot{justify-content:center;text-align:center;padding:16px 0 0}
@media(max-width:767px){html body[data-partner-view]:not([data-partner-view=center]) .main>.foot,html body[data-partner-view]:not([data-partner-view=center]):has(.public-ai[data-web-ai-launcher]) .main>.foot{padding:16px 72px 0}}

/* sheet-standard-v1: size C (详情) — the one partner dialog #details (提现 / 海报 / 客户详情 / 复制链接 / 返佣明细 .rb-sheet).
   Phone (<768): bottom sheet, full width, r24 top, auto height up to 88dvh (overrides the theme's 28 / 86dvh phone rule).
   Desktop (>=768): centred 560, r24, auto height up to min(760px, 100dvh - 48px). Glass skin: the sheet keeps the theme's
   --glass-* dialog rule; the backdrop takes --glass-scrim + --glass-veil-filter. */
@media(min-width:768px){
 #details{width:min(560px,calc(100% - 48px));max-width:calc(100% - 48px);max-height:min(760px,calc(100vh - 48px));max-height:min(760px,calc(100dvh - 48px));border-radius:24px}/* sheet-standard-v1: size C */
}
@media(max-width:767px){
 html body .app~dialog#details[open]{max-height:88vh!important;max-height:88dvh!important;border-radius:24px 24px 0 0!important}/* sheet-standard-v1: size C */
}
html[data-bigbit-skin=glass] #details::backdrop{background:var(--glass-scrim);-webkit-backdrop-filter:var(--glass-veil-filter);backdrop-filter:var(--glass-veil-filter)}/* sheet-standard-v1: size C */

/* partner-center-std-v1 (owner 2026-11-16 「按标准把合伙人后台全部整一下」): the back-office standard on the partner page.
   - the current menu row is a black pill (it used the card colour, so it never showed); counts lime;
   - the menu scrolls inside the sidebar and fades at the bottom; the invite card and the tool row stay in view;
   - tool row 帮助 / 语言 (globe + two letters, list opens upward) / 外观, every icon centred;
   - 「晚上好」 heads 概览 only; other sections show their own name; the header keeps only the controls a section uses;
   - no arrow buttons; money never breaks inside a number; funnel bars filled in ink (last stage lime);
   (the phone glass skin's heading chips come from bigbit-theme-colors.css and are left as they are). */
.side{overflow:hidden;gap:8px}
.side .spacer{display:none}
#desktop-nav{flex:1;min-height:0;overflow:auto;margin:0 -6px;padding:0 6px 20px;scrollbar-width:thin;-webkit-mask-image:linear-gradient(#000 calc(100% - 28px),transparent);mask-image:linear-gradient(#000 calc(100% - 28px),transparent)}
.nav:hover{background:var(--soft)}
.nav.on,.nav[aria-current=page]{background:var(--text);color:var(--panel);font-weight:600}
.nav.on .count{background:var(--lime);color:#111;box-shadow:0 0 0 2px var(--text)}
.count{background:var(--lime);color:#111;font-weight:700;min-width:22px;height:22px;font-size:11px}
.who{border:0;border-radius:999px;padding:6px 14px 6px 6px;margin:4px 0 8px}
.who .avatar{flex:0 0 36px;width:36px;height:36px;border-radius:50%}
.invite{border-radius:22px;padding:14px 16px;gap:10px;box-shadow:0 2px 8px color-mix(in srgb,#B8FF3D 40%,transparent)}
.invite .btn{background:#111;color:#B8FF3D;min-height:36px}
.side-tools{position:relative;display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:2px;padding:3px;border-radius:999px;background:color-mix(in srgb,var(--soft) 60%,var(--line));box-shadow:inset 0 1px 2px rgba(17,17,19,.07)}
.side-tools .tool{display:flex;align-items:center;justify-content:center;gap:6px;height:36px;min-height:36px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--text);font-size:13px;font-weight:600;cursor:pointer}
.side-tools .tool:hover{background:color-mix(in srgb,var(--panel) 70%,transparent)}
.side-tools .tool[aria-expanded=true],.side-tools .tool[aria-pressed=true]{background:var(--panel);box-shadow:0 1px 2px rgba(17,17,19,.06),0 6px 16px rgba(17,17,19,.08)}
.side-tools svg,.lang-btn svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.side-tools .sun{display:none}
html[data-bigbit-theme=dark] .side-tools .sun{display:block}
html[data-bigbit-theme=dark] .side-tools .moon{display:none}
.lang-menu{position:absolute;z-index:60;min-width:200px;padding:6px;border:1px solid var(--line);border-radius:18px;background-color:var(--bb-theme-canvas,#EDEDEF);background-image:linear-gradient(var(--panel),var(--panel));box-shadow:0 2px 6px rgba(17,17,19,.05),0 18px 44px rgba(17,17,19,.12);animation:lang-grow .14s ease}
.lang-menu[hidden]{display:none}
.side-tools .lang-menu{left:0;right:0;bottom:calc(100% + 8px);transform-origin:bottom center}
.lang-menu button{display:flex;align-items:center;width:100%;height:40px;padding:0 12px;border:0;border-radius:12px;background:transparent;color:var(--text);font-size:14px;text-align:left;cursor:pointer}
.lang-menu button:hover{background:var(--soft)}
.lang-menu button[aria-checked=true]{font-weight:600}
.lang-menu button[aria-checked=true]::after{content:"";margin-left:auto;width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat}
@keyframes lang-grow{from{opacity:0;transform:scale(.94)}}
/* header: one row; the language lives in the sidebar on wide screens and as a globe button on phones */
.top{position:relative;z-index:30;min-height:56px;gap:12px}
.top h1{font-size:28px;line-height:36px;letter-spacing:-.02em}
.top .top-lang{position:relative;display:none}
.top .top-lang .lang-menu{right:0;top:calc(100% + 8px);transform-origin:top right}
.lang-btn{display:inline-flex;align-items:center;gap:6px;font-weight:600}
body:not([data-partner-section=overview]) #pending-pill{display:none}
body:not([data-partner-section=overview]):not([data-partner-section=promotion]):not([data-partner-section=commissions]) .top .period-controls>:not(#export-overview):not(#refresh){display:none}
body:not([data-partner-section=overview]):not([data-partner-section=clients]) #export-overview{display:none!important}
.mobile-identity{display:none!important}
/* no arrow buttons, no broken numbers, readable funnel */
.stat{container-type:inline-size;min-width:0}
/* the 4 tiles go 2 × 2 whenever their card is narrower than 600 (1280-1500 wide windows), as they do on phones */
.panel:has(>.stats),.overview-summary{container-type:inline-size}
@container (max-width:600px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat:nth-child(3){border-left:0}.stat:nth-child(n+3){border-top:1px solid var(--line)}}
.stat b{white-space:nowrap;overflow-wrap:normal;font-size:clamp(16px,12cqi,24px)}
.f .t i{background:var(--text)}
.f:last-child .t i{background:var(--lime)}
.tabbar a.on{background:var(--text);color:var(--panel)}
@media(max-width:767px){
  /* the controls group dissolves so the globe button can sit on the title row; period/export/refresh go on the next row */
  .top{flex-wrap:wrap;row-gap:8px;align-items:center}
  .top .actions{display:contents}
  .top .greeting{flex:1 1 0;flex-basis:auto;min-width:0}
  .top h1{font-size:22px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .top .greeting{flex-wrap:nowrap}
  .top #pending-pill{display:none}
  .top .top-lang{display:inline-flex;order:1}
  .top .period-controls{order:2;flex-basis:100%;display:flex;gap:8px;flex-wrap:wrap}
  body[data-partner-section]:not([data-partner-section=overview]):not([data-partner-section=promotion]):not([data-partner-section=commissions]):not([data-partner-section=clients]) .top .period-controls{display:none}
}
/* partner-center-std-v1, second pass (owner 「这有些 UI 也要统一一下吧」): one look per component.
   1. Everything meant to be black used --bb-theme-surface (the CARD colour, white in the light theme) with a #111
      fallback, so the primary buttons (搜索 / 新建链接 / 生成海报), the 已开始交易 tag, the funnel and bar fills, the
      toast and the phone tab came out white or invisible. They use the ink colour now, like the back office.
   2. Filter rows: every field, dropdown, date and button 40 high and fully rounded on the same inset background; the
      label sits above in 12 px muted; the primary button is black, the others outlined.
   3. Section titles look the same on phones as on computers (the phone glass chip behind h2/h3 is dropped here). */
.pill.dark,.btn.dark{background:var(--text);color:var(--panel);border-color:var(--text)}
.btn.dark:hover{opacity:.9}
.bar i{background:var(--text)}
.chip.dark{background:var(--text);color:var(--panel)}
.toast{background:var(--text);color:var(--panel)}
.filters{gap:12px;align-items:flex-end}
.filters label{gap:6px;color:var(--muted);font-size:12px;font-weight:500}
.filters input,.filters select,.form input:not([type=checkbox]),.form select{height:40px;border-radius:999px;border:1px solid var(--line);background-color:var(--soft);padding:0 16px;font-size:14px;color:var(--text)}
.filters select,.form select{padding-right:34px}
.filters input:focus,.filters select:focus,.form input:focus,.form select:focus{outline:2px solid var(--text);outline-offset:1px}
.filters .btn,.form .btn{height:40px;min-height:40px;border-radius:999px;padding:0 18px}
.chip{border-radius:999px}
.top #export-overview{background:var(--panel);color:var(--text);border:1px solid var(--line)}
.filters input:not([type=date]){width:150px}
.filters input[type=date]{width:150px}
html[data-bigbit-skin][data-bigbit-skin][data-bigbit-skin][data-bigbit-skin][data-bigbit-skin] body .panel .head :is(h2,h3){background:none!important;box-shadow:none!important;padding:0!important;border:0!important;border-radius:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
@media (prefers-reduced-motion:reduce){.lang-menu{animation:none}}

/* partner-center-std-v1-1: the sign-in and status pages get the same globe + code language button (list opens downward) */
.gate-bar .gate-lang{position:relative;display:inline-flex;margin-left:auto}
.gate-bar .gate-lang .lang-menu{right:0;top:calc(100% + 8px);transform-origin:top right}
.gate-bar #gate-locale{display:none}

/* partner-contact-reveal-v1 (owner 2026-11-16): a client's name / e-mail / phone, masked until 「查看」 */
.reveal-box{margin:14px 0 4px;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.reveal-box h3{margin:0 0 10px;font-size:15px}
.reveal-list{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 16px;margin:0}
.reveal-list dt{color:var(--muted)}
.reveal-list dd{margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.reveal-box.revealed .reveal-list dd{color:var(--text);font-weight:600}
.reveal-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.reveal-check{margin-top:12px}
.reveal-code{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin-top:8px}
.reveal-code label{display:grid;gap:6px;font-size:12px;color:var(--muted)}
.reveal-code input{height:40px;width:9em;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--text);font-size:16px;letter-spacing:.2em}
.reveal-box .note.reveal-bad{color:var(--red,#d64545);font-weight:600}

/* partner-marketing-send-v1 (owner 「行」 2026-11-16 to marketing-send-sample.html): 营销发送 — four tabs, template square, card
   toggles, the real e-mail in a sandboxed frame, recipients with masked rows, the confirm sheet and the results funnel.
   Theme tokens only (both themes); the sheet is a <dialog>, so the glass skin's dialog rule styles it; its backdrop reads --glass-*. */
.pm{display:flex;flex-direction:column;gap:20px;min-width:0}
.pm-view{display:flex;flex-direction:column;gap:20px;min-width:0}
.pm-view[hidden]{display:none!important}
.pm-bar{display:flex;align-items:center;gap:12px;min-width:0}
.pm-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px;flex:1;min-width:0}
.pm-tabs::-webkit-scrollbar{display:none}
.pm-tab{flex:none;display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--muted);font-size:14px;font-weight:500;white-space:nowrap;transition:transform .12s ease,border-color .12s ease}
.pm-tab:hover{color:var(--text);border-color:var(--muted)}
.pm-tab:active{transform:scale(.985)}
.pm-tab[aria-selected=true]{background:var(--text);color:var(--panel);border-color:transparent}
.pm-n:empty{display:none}
.pm-n{font-size:11px;line-height:1;opacity:.7}
.pm-n.lime{opacity:1;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--lime);color:var(--bb-theme-accent-ink,#111);display:inline-grid;place-items:center;font-weight:700}
.pm-chips{display:flex;gap:8px;flex-wrap:wrap}
.pm-chip{height:32px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--muted);font-size:13px;font-weight:500;white-space:nowrap;transition:transform .12s ease,border-color .12s ease}
.pm-chip.sm{height:28px;padding:0 10px;font-size:12px}
.pm-chip:hover:not(:disabled){color:var(--text);border-color:var(--muted)}
.pm-chip:active:not(:disabled){transform:scale(.985)}
.pm-chip[aria-pressed=true]{background:var(--text);color:var(--panel);border-color:transparent}
.pm-tag{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:11px;font-weight:500;background:var(--soft);color:var(--muted);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.pm-tag.up{background:rgba(var(--bb-theme-up-rgb,31,157,85),.14);color:var(--bb-theme-up,#1F9D55)}
.pm-tag.warn{background:rgba(var(--partner-amber-rgb),.14);color:var(--partner-amber)}
.pm-tplgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-top:16px}
.pm-tpl{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--soft);color:var(--text);text-align:left;transition:transform .12s ease,border-color .12s ease}
.pm-tpl:hover{border-color:var(--muted)}
.pm-tpl:active{transform:scale(.985)}
.pm-tpl[aria-pressed=true]{border-color:var(--text);background:var(--panel);box-shadow:inset 0 0 0 1px var(--text)}
.pm-tpl b{font-size:15px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.pm-tpl p{margin:0;font-size:13px;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.pm-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto;max-width:100%}
.pm-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:20px;align-items:start}
.pm-stack{display:flex;flex-direction:column;gap:20px;min-width:0}
.pm-callout{margin-top:14px;padding:12px 14px;border-radius:16px;background:var(--soft);font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.pm-callout b{font-weight:600;margin-right:6px}
.pm-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.pm-actions.end{justify-content:flex-end}
.pm-view>.pm-split>.pm-stack>.pm-actions{margin-top:0}
.pm-row{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}
.pm-field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted);min-width:0;flex:1 1 200px}
.pm-field select{width:100%;font-size:16px;color:var(--text)}
.pm-gap{margin:12px 0 16px}
.pm-label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
.pm-comps{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.pm-comp{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:84px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--soft);color:var(--text);text-align:left;transition:transform .12s ease,border-color .12s ease}
.pm-comp:hover:not(:disabled){border-color:var(--muted)}
.pm-comp:active:not(:disabled){transform:scale(.985)}
.pm-comp b{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;line-height:1.3}
.pm-mark{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1px solid currentColor;font-size:11px;line-height:1;flex:none}
.pm-comp small{font-size:12px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.pm-comp[aria-pressed=true]{background:var(--text);color:var(--panel);border-color:transparent}
.pm-comp[aria-pressed=true] small{color:inherit;opacity:.72}
.pm-comp[aria-pressed=true] .pm-mark{background:var(--lime);color:var(--bb-theme-accent-ink,#111);border-color:var(--lime)}
.pm-comp:disabled{opacity:1;background:transparent;border-style:dashed;color:var(--muted)}
.pm-comp:disabled small.pm-why{color:var(--muted)}
.pm-pick{margin-top:16px}
.pm-subh{margin:0 0 6px;font-size:14px;font-weight:600}
.note.pm-tight{margin:0 0 8px}
.pm-sum{margin:0 0 10px;padding:8px 12px;border-radius:12px;background:var(--soft);font-size:13px;line-height:1.5}
.pm-trades{display:flex;flex-direction:column;gap:6px}
.pm-trade{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);text-align:left;transition:transform .12s ease,border-color .12s ease}
.pm-trade.one{grid-template-columns:minmax(0,1fr)}
.pm-trade:hover{border-color:var(--muted)}
.pm-trade:active{transform:scale(.985)}
.pm-trade[aria-pressed=true]{border-color:var(--text);box-shadow:inset 3px 0 0 var(--lime),inset 0 0 0 1px var(--text)}
.pm-trade b{font-size:13px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pm-trade small{font-size:12px;color:var(--muted);min-width:0;overflow-wrap:anywhere}
.pm-pl{font-size:14px;font-weight:600;text-align:right;white-space:nowrap}
.pm-pl.up{color:var(--bb-theme-up,#1F9D55)}
.pm-pl.down{color:var(--bb-theme-down,#D64545)}
.pm-mailwrap{position:sticky;top:20px;min-width:0}
.pm-mailhead{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 10px;margin:0 0 12px;font-size:12px}
.pm-mailhead dt{color:var(--muted)}
.pm-mailhead dd{margin:0;color:var(--text);overflow-wrap:anywhere}
.pm-mail{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--panel)}
.pm-frame{display:block;width:100%;height:900px;border:0;background:transparent;color-scheme:normal}
.pm-mailfail{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px;border:1px dashed var(--line);border-radius:20px}
.pm-err{margin:0;color:var(--bb-theme-down,#D64545);font-size:14px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
.pm-quiet{margin:12px 0 0;color:var(--muted);font-size:14px}
.pm-fwpanel{border:1px solid var(--lime)}
.pm-fwlist{display:flex;flex-direction:column;gap:8px}
.pm-fwrow{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}
.pm-fwtext{min-width:0;flex:1 1 240px}
.pm-fwtext b{display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pm-fwtext small{display:block;color:var(--muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.pm-fwacts{display:flex;gap:8px;flex-wrap:wrap}
.pm-fwbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;border-radius:20px;background:var(--lime);color:var(--bb-theme-accent-ink,#111);font-size:14px}
.pm-fwbar p{margin:0;min-width:0;flex:1 1 220px;overflow-wrap:anywhere}
.pm-fwbar .btn{background:#111;color:#fff;border-color:#111}
.pm-seg{display:inline-flex;gap:4px;padding:4px;border-radius:999px;background:var(--soft)}
.pm-seg[hidden]{display:none}
.pm-seg button{height:34px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:13px;font-weight:500;white-space:nowrap}
.pm-seg button:hover{color:var(--text)}
.pm-seg button[aria-pressed=true]{background:var(--panel);color:var(--text);box-shadow:0 1px 2px rgba(var(--bb-theme-shadow-rgb,0,0,0),.1)}
.pm-filter{margin-bottom:4px}
.pm-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:20px;overflow:hidden}
.pm-counts>div{min-width:0;padding:14px 16px;border-left:1px solid var(--line)}
.pm-counts>div:first-child{border-left:0}
.pm-counts span{display:block;font-size:12px;line-height:1.35;color:var(--muted)}
.pm-counts b{display:block;margin-top:2px;font-size:24px;font-weight:600;line-height:1.25;white-space:nowrap}
.pm-counts>div.go{background:var(--lime);color:var(--bb-theme-accent-ink,#111)}
.pm-counts>div.go span{color:inherit;opacity:.7}
.pm-tw{margin-top:16px}
.pm-table td{white-space:nowrap;vertical-align:middle}
.pm-table td.num,.pm-table th.num{text-align:right}
.pm-table tr.off td{color:var(--muted)}
.pm-table input[type=checkbox]{width:18px;height:18px;accent-color:var(--text)}
.pm-table label{cursor:pointer}
.pm-res tbody tr{cursor:pointer;transition:background-color .12s ease}
.pm-res tbody tr:hover td,.pm-res tbody tr[aria-selected=true] td{background:var(--soft)}
.pm-res tbody tr[aria-selected=true] td:first-child{box-shadow:inset 3px 0 0 var(--lime)}
.pm-res .pm-wide{max-width:260px}
.pm-one{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pm-swap{margin:0 0 4px}
.pm-swapline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}
.pm-swapline code{padding:3px 8px;border-radius:8px;background:var(--panel);font-family:ui-monospace,Menlo,monospace;font-size:12px;overflow-wrap:anywhere}
.pm-swapline code.new{background:var(--lime);color:var(--bb-theme-accent-ink,#111)}
.pm-rules{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.pm-rules>div{padding:16px;border:1px solid var(--line);border-radius:20px;min-width:0}
.pm-rules h3{margin:0 0 6px;font-size:15px;line-height:1.35}
.pm-rules .note{margin:0;overflow-wrap:anywhere}
.pm-sendrow{display:flex;flex-direction:column;align-items:flex-end;gap:10px;margin-top:16px}
.pm-sendrow .pm-err{text-align:right;max-width:560px}
.pm-sendrow .pm-actions{margin-top:0}
.pm-funnel{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.pm-fr{display:grid;grid-template-columns:84px minmax(0,1fr) 104px;gap:12px;align-items:center;font-size:13px}
.pm-fr>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pm-track{height:12px;border-radius:999px;background:var(--soft);overflow:hidden}
.pm-track i{display:block;height:100%;border-radius:999px;background:var(--text)}
.pm-fr.money .pm-track i{background:var(--lime)}
.pm-fr.bad .pm-track i{background:var(--bb-theme-down,#D64545)}
.pm-fr b{text-align:right;font-weight:600;white-space:nowrap}
.pm-fr b small{margin-left:4px;font-weight:400;color:var(--muted)}
.pm-off .pm-off-text{margin:0 0 16px;color:var(--muted);font-size:15px;line-height:1.6}
.pm-skel{display:block;border-radius:12px;background:linear-gradient(100deg,var(--soft) 30%,var(--panel) 50%,var(--soft) 70%);background-size:200% 100%;animation:loading 1.4s ease infinite}
.pm-skel.line{height:14px;width:60%;border-radius:999px}
.pm-skel.line.wide{width:40%;height:20px;margin-bottom:16px}
.pm-skel.num{height:26px;width:40%;margin-top:6px;border-radius:999px}
.pm-skel.block{height:160px;margin-top:16px}
.pm-skel.mail{height:640px;border-radius:20px}
dialog.pm-sheet{width:min(440px,calc(100% - 48px));max-width:calc(100% - 48px);max-height:min(640px,calc(100vh - 48px));max-height:min(640px,calc(100dvh - 48px));overflow:auto;padding:24px;border:1px solid var(--line);border-radius:24px;background:var(--bb-theme-surface,#fff);color:var(--bb-theme-ink,#111)}
dialog.pm-sheet::backdrop{background:rgba(var(--bb-theme-shadow-rgb,0,0,0),.35)}
html[data-bigbit-skin=glass] dialog.pm-sheet::backdrop{background:var(--glass-scrim);-webkit-backdrop-filter:var(--glass-veil-filter);backdrop-filter:var(--glass-veil-filter)}
dialog.pm-sheet h2{margin:0 0 14px;font-size:20px;line-height:1.3}
.pm-dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px;margin:0 0 16px;font-size:14px;line-height:1.5}
.pm-dl dt{color:var(--muted);white-space:nowrap}
.pm-dl dd{margin:0;overflow-wrap:anywhere}
.pm-sheet-acts{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:12px}
.pm-sheet .pm-err{margin-bottom:4px}
.pm-sheet [aria-busy=true]{animation:pm-breathe 1.2s ease-in-out infinite}
@keyframes pm-breathe{50%{opacity:.55}}
@media(max-width:1199px){.pm-split{grid-template-columns:minmax(0,1fr)}.pm-mailwrap{position:static}}
@media(max-width:767px){
 .pm,.pm-view,.pm-stack{gap:12px}
 .pm-write{display:none}
 .pm-split{gap:12px}
 .pm-counts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pm-counts>div:nth-child(3){border-left:0}
 .pm-counts>div:nth-child(n+3){border-top:1px solid var(--line)}
 .pm-counts b{font-size:20px}
 .pm-frame{height:680px}
 .pm-skel.mail{height:480px}
 .pm-fr{grid-template-columns:64px minmax(0,1fr) 92px;gap:8px}
 .pm-sendrow{align-items:stretch}
 .pm-sendrow .pm-err{text-align:left}
 .pm-sendrow .pm-actions .btn{flex:1}
 .pm-fwacts{width:100%}
 .pm-fwacts .btn{flex:1 1 auto}
 .pm .head{flex-wrap:wrap}
 dialog.pm-sheet{width:100%;max-width:100%;margin:auto 0 0;border-radius:24px 24px 0 0;border-bottom:0;max-height:70vh;max-height:70dvh;padding:8px 16px calc(24px + env(safe-area-inset-bottom))}
 dialog.pm-sheet::before{content:"";display:block;width:40px;height:4px;border-radius:999px;background:var(--line);margin:0 auto 12px}
 .pm-sheet-acts .btn{flex:1}
}
@media(prefers-reduced-motion:reduce){.pm-skel,.pm-sheet [aria-busy=true]{animation:none}.pm-tab,.pm-chip,.pm-tpl,.pm-comp,.pm-trade{transition:none}}
/* Inter's contextual alternates draw "7x3" as "7×3"; codes and links keep their real letters */
.pm-code,.pm-swapline code,.pm-mailhead dd,.pm-table td,.pm-fwtext small{font-feature-settings:"calt" 0}
/* partner-marketing-send-v1 Addendum A: 自己写 form, 我的模板, review states in 发送记录 */
.pm-callout.warn{background:rgba(var(--partner-amber-rgb),.12)}
.pm-callout.pm-first{margin-top:0}
.pm-ownform{display:flex;flex-direction:column;gap:6px;margin-top:14px}
.pm-field.wide{flex:none;width:100%}
.pm-flabel{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.pm-flabel small{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.pm-ownform input,.pm-ownform textarea{width:100%;max-width:100%;font-size:16px;line-height:1.5;color:var(--text);background:var(--bb-theme-inset,#fff);border:1px solid var(--line);border-radius:12px}
.pm-ownform input{height:44px;padding:0 12px}
.pm-ownform textarea{min-height:180px;padding:10px 12px;resize:vertical;display:block}
.pm-ownform [aria-invalid=true]{border-color:var(--bb-theme-down,#D64545)}
.pm-ownform .pm-field{margin-top:6px;flex:none}
.pm-ownform input,.pm-ownform textarea{font-feature-settings:"calt" 0}
.pm-ferr{font-size:13px;margin-top:-2px}
.pm-mailempty{display:grid;place-items:center;min-height:240px;padding:24px;border:1px dashed var(--line);border-radius:20px;color:var(--muted);font-size:14px;text-align:center}
.pm-mailempty p{margin:0}
.pm-minelist{display:flex;flex-direction:column;gap:8px}
.pm-mine{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}
.pm-minetext{min-width:0;flex:1;display:flex;flex-direction:column;gap:6px}
.pm-minetext b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pm-minetext p{margin:0;font-size:13px;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}
.pm-minetext .pm-reason{-webkit-line-clamp:unset;display:block;overflow:visible}
.pm-reason{margin:0;color:var(--bb-theme-down,#D64545);font-size:13px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-line}
.pm-tag.down{background:rgba(var(--bb-theme-down-rgb,214,69,69),.14);color:var(--bb-theme-down,#D64545)}
td small.pm-rowtags{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}
.pm-rowlang{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.pm-res .pm-wide{max-width:300px}
.pm-headtags{display:inline-flex;gap:6px;flex-wrap:wrap;flex:none}
.pm-rejected{background:rgba(var(--bb-theme-down-rgb,214,69,69),.08);margin:0 0 4px}
.pm-callout .pm-subh{margin-bottom:4px}
.pm-tightp{margin:0}
.pm-shnote{margin:0 0 12px}
@media(max-width:767px){.pm-mine{flex-direction:column}.pm-mine .btn{align-self:stretch}.pm-ownform textarea{min-height:160px}}

/* partner-marketing-send-v1 integration: an empty block (no forwards / no own texts yet) takes no gap */
.pm-view>div:empty{display:none}
