/* 个人空间 v4（设计稿画布「个人空间 · 设计稿 v4」9 块，https://claude.ai/artifact/Ak2XN1o7wJz9FfDN4Fy8pV）一比一落地层。
   与企业工作台 workbench-v4.css 同一套语言：平铺外框、220px 白侧栏、60px 白顶栏、正文内 22px 页标题、40px 下划线页签、
   16px 卡片、灰槽分段控件、24px 指标数字、11px 表格行。只作用于 #app:not(.team-active)，只改外观，不改路由、数据与授权。
   本文件在 workbench-v4.css 之后静态引入；按需注入的 prototype-home.css 等晚于它加载，所以选择器都以 #app 开头，用 id 优先级取胜。
   shell.js 的部分行内样式（伙伴请求行、表格单元格、设置行）只能用 !important 覆盖，逐处注明。 */
#app:not(.team-active),body:has(#app:not(.team-active)[style*="block"]){
  --v4-paper:rgb(245 246 248);--v4-surface:rgb(255 255 255);--v4-sunk:rgb(242 244 248);--v4-tile:rgb(248 249 252);
  --v4-ink:rgb(29 36 51);--v4-ink-strong:rgb(61 67 86);--v4-ink-2:rgb(90 98 115);--v4-ink-3:rgb(138 146 166);
  --v4-border:rgb(230 233 240);--v4-line-2:rgb(221 226 236);--v4-line-3:rgb(238 241 246);
  --v4-blue:rgb(47 100 232);--v4-blue-deep:rgb(40 88 204);--v4-blue-press:rgb(33 74 175);--v4-blue-bg:rgb(234 241 254);--v4-blue-soft:rgb(247 250 255);--v4-blue-line:rgb(185 205 249);
  --v4-amber-bg:rgb(254 243 226);--v4-amber-ink:rgb(138 99 32);--v4-amber-line:rgb(244 222 182);
  --v4-ok-bg:rgb(231 248 239);--v4-ok-ink:rgb(11 110 60);--v4-danger:rgb(214 69 92);--v4-danger-ink:rgb(184 47 72);--v4-danger-line:rgb(240 200 208);--v4-danger-bg:rgb(255 248 249);
  --v4-hover:rgb(247 248 251);--v4-press:rgb(240 242 246);--v4-row-hover:rgb(250 251 253);--v4-seg-hover:rgb(255 255 255/.6);--v4-seg-on:0 1px 2px rgba(31,36,51,.08);
  --v4-card-shadow:0 1px 2px rgba(31,36,51,.04);--v4-btn-shadow:0 6px 16px rgba(47,100,232,.24);
  --rail-w:220px;
  /* WCAG AA：设计稿蓝 #3870F8 上白字只有 4.34:1，主色压深到 #2F64E8（白字 5.1:1、白底蓝字 5.1:1）；
     旧模块仍读 --primary/--teal/--brand-blue 与 --ink-3/--ink-4/--muted-foreground，这里在个人模式统一收口到 v4 且≥4.5:1 */
  --primary:var(--v4-blue);--teal:var(--v4-blue);--brand-blue:var(--v4-blue);
  --ink-3:rgb(96 104 121);--ink-4:rgb(104 112 128);--muted-foreground:rgb(104 112 128);
  --shield:var(--v4-danger-ink);--shield-bg:var(--v4-danger-bg);
  /* 以下 token 在 :root 用 var(--brand-blue) 等已求值，改主色不会联动，须在作用域内重新指向 AA 值 */
  --ring:var(--v4-blue);--op-overlap:var(--v4-blue);--op-private:rgb(104 112 128);--danger:var(--v4-danger-ink);
}
#app:not(.team-active) .shell{line-height:1.4}

/* —— 外框：平铺 —— */
@media(min-width:881px){
  body:has(#app:not(.team-active)[style*="block"]){background:var(--v4-paper)}
  #app:not(.team-active){padding:0;background:var(--v4-paper)}
  #app:not(.team-active) .shell{min-height:100vh;border:0;border-radius:0;background:var(--v4-paper);overflow:visible}
  #app:not(.team-active) .rail{top:0;height:100vh}
}

/* —— 侧栏（设计稿「Rail」）—— */
#app:not(.team-active) .shell .rail{background:var(--v4-surface);border-right:1px solid var(--v4-border);padding:18px 14px;gap:14px}
#app:not(.team-active) .shell .brand{min-height:26px;height:auto;padding:2px 6px;gap:10px}
#app:not(.team-active) .brand .wm{font-size:16px;font-weight:600;letter-spacing:0}
#app:not(.team-active) .shell .workspace-switch{height:auto;margin:0;padding:3px;gap:0;border:0;border-radius:9px;background:var(--v4-sunk);box-shadow:none}
#app:not(.team-active) .shell .workspace-switch button{height:30px;border-radius:7px;font-size:13px;color:var(--v4-ink-2);font-weight:400}
#app:not(.team-active) .shell .workspace-switch button[aria-pressed="true"]{background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:var(--v4-seg-on)}
#app:not(.team-active) #nav{gap:2px}
#app:not(.team-active) #nav::before{padding:4px 10px;font-size:12px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .nav-item{height:36px;min-height:36px;padding:0 10px;gap:10px;border-radius:9px;font-size:14px;font-weight:400;color:var(--v4-ink-strong);box-shadow:none;transition:background-color .15s,color .15s}
#app:not(.team-active) .shell .nav-item svg{width:16px;height:16px}
#app:not(.team-active) .shell .nav-item:hover{background:var(--v4-hover);color:var(--v4-ink)}
#app:not(.team-active) .shell .nav-item:active{background:var(--v4-sunk)}
#app:not(.team-active) .shell .nav-item.on{background:var(--v4-blue-bg);color:var(--v4-blue-deep);font-weight:600;box-shadow:none}
#app:not(.team-active) .shell .nav-item.on svg{color:currentColor}
#app:not(.team-active) .shell .nav-item .badge{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--v4-blue);font-size:var(--t-2xs);font-variant-numeric:tabular-nums}
#app:not(.team-active) .shell .nav-item:focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px}
#app:not(.team-active) .shell .rail-foot{padding-top:10px;border-top:1px solid var(--v4-line-3)}
#app:not(.team-active) .shell .rail-foot .me-row{padding:4px 6px;gap:10px}
#app:not(.team-active) .shell .rail-foot .me-row:hover{background:var(--v4-hover)}
#app:not(.team-active) .shell .rail-foot .me-row .avatar{width:32px;height:32px;font-size:13px}
#app:not(.team-active) .shell .rail-foot .me-row .muted{font-size:12px;color:var(--v4-ink-2)}

/* —— 顶栏：60px 白条只放搜索与动作，页标题落到正文首行（与企业侧同一手法：flex 换行 + 背景画出白条）—— */
@media(min-width:881px){
  #app:not(.team-active) .main{padding:0;gap:0;background:var(--v4-paper)}
  #app:not(.team-active) .shell .topbar,#app:not(.team-active) .shell .main.pw-list-shell>.topbar{position:static;display:flex;flex-wrap:wrap;align-items:center;column-gap:10px;row-gap:0;height:auto;min-height:0;padding:0 28px;border:0;box-shadow:none;backdrop-filter:none;
    background:linear-gradient(var(--v4-border),var(--v4-border)) 0 59px/100% 1px no-repeat,linear-gradient(var(--v4-surface),var(--v4-surface)) 0 0/100% 60px no-repeat}
  #app:not(.team-active) .shell .topbar>.rail-search,#app:not(.team-active) .main>.topbar>#searchBtn{order:1;width:320px;max-width:50%;height:36px;margin:12px auto 12px 0;padding:0 10px;gap:8px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);font-size:13px;color:var(--v4-ink-2)}
  #app:not(.team-active) .shell .topbar>:is(.icon-btn,.btn){order:2}
  #app:not(.team-active) .shell .topbar>.pw-topbar-heading,#app:not(.team-active) .main.pw-list-shell>.topbar>.pw-topbar-heading{order:3;position:static;flex:1 0 100%;width:auto;height:auto;max-width:1184px;margin:0;padding:24px 0 0;overflow:visible;clip:auto;clip-path:none;white-space:normal}
  #app:not(.team-active) #prototypePageTitle{font-size:22px;font-weight:600;line-height:1.3;letter-spacing:.2px;color:var(--v4-ink)}
  #app:not(.team-active) .pw-topbar-subline{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:6px}
  #app:not(.team-active) #prototypePageSubtitle{margin:0;font-size:14.5px;line-height:1.5;color:var(--v4-ink-strong)}
  /* 下划线页签：普通页在顶栏之后，客户列表页（pw-list-shell）在顶栏里，统一落在标题下一行 */
  #app:not(.team-active) .shell .main>.pw-tabs{margin:16px 28px 0;max-width:1184px}
  #app:not(.team-active) .shell .main.pw-list-shell>.topbar>.pw-tabs{order:4;flex:1 0 100%;max-width:1184px;margin:16px 0 0;align-self:auto}
  #app:not(.team-active) .shell .content,#app:not(.team-active) .shell .content.wide,#app:not(.team-active) .shell .main.pw-list-shell>.content{padding:16px 28px 40px;max-width:1240px;box-sizing:border-box}
}
#app:not(.team-active) .shell .topbar .rail-search kbd{padding:3px 5px;border:0;border-radius:5px;background:var(--v4-sunk);font-size:var(--t-2xs);line-height:1;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .topbar .icon-btn{width:36px;height:36px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);color:var(--v4-ink-strong)}
#app:not(.team-active) .shell .topbar .icon-btn svg{width:16px;height:16px}
/* 顶栏动作（快速签约 / 邀请伙伴）一律是次按钮：一屏只留一个主按钮给页面自己的主任务。 */
#app:not(.team-active) .shell .topbar .btn,#app:not(.team-active) .shell .topbar .btn-primary{height:36px;padding:0 14px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);color:var(--v4-ink);font-size:13px;font-weight:500;box-shadow:none}
#app:not(.team-active) .shell .topbar :is(.icon-btn,.btn,.rail-search):hover{background:var(--v4-hover);border-color:rgb(214 220 232)}
#app:not(.team-active) .shell .topbar :is(.icon-btn,.btn,.rail-search):active{background:var(--v4-press)}
#app:not(.team-active) .shell .topbar :is(.icon-btn,.btn,.rail-search,button):focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px}
#app:not(.team-active) .shell .topbar .pw-home-trust{display:inline-flex;align-items:center;padding:2px 10px;border:0;border-radius:999px;background:var(--v4-blue-bg);color:var(--v4-blue-deep);font-size:12.5px!important;font-weight:500}
#app:not(.team-active) .shell .topbar .pw-home-trust:hover{background:rgb(222 233 253)}

/* —— 页签：40px、2px 下划线 —— */
#app:not(.team-active) .shell .pw-tabs{height:40px;min-height:40px;padding:0;gap:24px;border:0;box-shadow:inset 0 -1px 0 var(--v4-border);background:transparent;align-items:stretch;overflow-y:hidden}
#app:not(.team-active) .shell .pw-tabs :is(a,button){display:inline-flex;align-items:center;height:40px;padding:0 2px;margin:0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;font-size:14px;line-height:1;color:var(--v4-ink-strong);font-weight:400;transition:border-color .15s,color .15s}
#app:not(.team-active) .shell .pw-tabs :is(a,button):hover{background:transparent;color:var(--v4-ink);border-bottom-color:var(--v4-line-2)}
#app:not(.team-active) .shell .pw-tabs :is(a,button)[aria-current="page"]{background:transparent;border:0;border-bottom:2px solid var(--v4-blue);color:var(--v4-ink);font-weight:600}
#app:not(.team-active) .shell .pw-tabs :is(a,button):focus-visible{outline:2px solid var(--v4-blue);outline-offset:-2px}

/* —— 卡片 / 面板 —— */
#app:not(.team-active) .shell .content :is(.card,.pw-card,.pw-section,.pw-panel,.pw-list-card,.panel,.tblcard,.ph-card){border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow)}
#app:not(.team-active) .shell .content :is(.card,.pw-card,.pw-section,.ph-card) h2{font-size:16px;font-weight:600;line-height:1.4;color:var(--v4-ink)}
#app:not(.team-active) .shell .content :is(.pw-page section.panel>h2,.pw-panel>h3){font-size:16px;font-weight:600;line-height:1.4;color:var(--v4-ink)}

/* —— 指标条：去掉图标块，标签 13 / 数字 24/600 / 说明 12.5 —— */
#app:not(.team-active) .shell .content .wb-kpis{margin:0 0 16px;border-color:var(--v4-border);border-radius:16px;box-shadow:var(--v4-card-shadow)}
#app:not(.team-active) .shell .content .wb-kpi{gap:4px;padding:14px 16px;border-right-color:var(--v4-line-3)}
#app:not(.team-active) .shell .content .wb-kpi-i{display:none}
@media(min-width:881px){#app:not(.team-active) .shell .content .wb-kpis:has(>.wb-kpi:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}#app:not(.team-active) .shell .content .wb-kpis>.wb-kpi:last-child{border-right:0}}
#app:not(.team-active) .shell .content .wb-kpi-h{font-size:13px;color:var(--v4-ink-strong)}
#app:not(.team-active) .shell .content .wb-kpi-v{font-size:24px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;color:var(--v4-ink)}
#app:not(.team-active) .shell .content .wb-kpi-s{font-size:12.5px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .wb-kpis-compact{margin:0 0 12px}
/* 空态已有录入入口时，避免工具栏重复指向同一流程。 */
#app:not(.team-active) .shell .content #screen:has(#acctBody [data-accounts-create]) [data-acct-fab-sign],
#app:not(.team-active) .shell .content #screen:has(#coList [data-company-create]) #coClaim{display:none}
#app:not(.team-active) .shell .content .wb-kpis-compact .wb-kpi{flex-direction:row;align-items:baseline;gap:10px;padding:12px 16px}
#app:not(.team-active) .shell .content .wb-kpis-compact .wb-kpi-h{flex:0 1 auto;font-size:13px}

/* —— 按钮：主 36 / 次 34 / 行内 30，圆角 11 —— */
#app:not(.team-active) .shell .content .btn{border-radius:11px;transition:background-color .15s,border-color .15s,box-shadow .15s}
#app:not(.team-active) .shell .content .btn-primary,#app:not(.team-active) .shell .content .btn[data-acct-fab-sign]{height:36px;padding:0 18px;border:0;border-radius:11px;background:var(--v4-blue);color:var(--v4-surface);font-size:13.5px;font-weight:600;box-shadow:var(--v4-btn-shadow)}
#app:not(.team-active) .shell .content :is(.btn-primary,.btn[data-acct-fab-sign]):hover{background:var(--v4-blue-deep);color:var(--v4-surface)}
/* 录入客户：shell.js 行内写了 background:var(--surface)，只能 !important 改回主色 */
#app:not(.team-active) .shell .content .btn[data-acct-fab-sign]{background:var(--v4-blue)!important}
#app:not(.team-active) .shell .content .btn[data-acct-fab-sign]:hover{background:var(--v4-blue-deep)!important}
#app:not(.team-active) .shell .content .btn[data-acct-fab-sign]:active{background:var(--v4-blue-press)!important}
#app:not(.team-active) .shell .content :is(.btn-primary,.btn[data-acct-fab-sign]):active{background:var(--v4-blue-press);box-shadow:none}
#app:not(.team-active) .shell .content .btn:is(.btn-ghost,.btn-warm):not([data-acct-fab-sign]){height:34px;padding:0 14px;border:1px solid var(--v4-line-2);background:var(--v4-surface);color:var(--v4-ink);font-size:13px;font-weight:500;box-shadow:none}
#app:not(.team-active) .shell .content .btn:is(.btn-ghost,.btn-warm):not([data-acct-fab-sign]):hover{background:var(--v4-hover);border-color:rgb(214 220 232);color:var(--v4-ink)}
#app:not(.team-active) .shell .content .btn:is(.btn-ghost,.btn-warm):not([data-acct-fab-sign]):active{background:var(--v4-press)}
#app:not(.team-active) .shell .content .btn-quiet{height:34px;padding:0 10px;border:0;background:transparent;color:var(--v4-ink-strong);font-size:13px;font-weight:500}
#app:not(.team-active) .shell .content .btn-quiet:hover{background:var(--v4-hover);color:var(--v4-ink)}
#app:not(.team-active) .shell .content .btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
#app:not(.team-active) .shell .content :is(.btn,button,a,summary,input,select):focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px;box-shadow:none}
/* 表格行内动作：小一档，不与页面主任务抢层级（行内样式写死 28px，须 !important） */
#app:not(.team-active) .shell .content :is(td,.wb-ask-card) .btn{height:30px!important;min-height:30px;padding:0 12px;border-radius:10px;font-size:12.5px;box-shadow:none}

/* —— 筛选：搜索框 34px、下拉 chip 34px 圆角 11 —— */
#app:not(.team-active) .shell .content .input-group{height:34px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);box-shadow:none;overflow:hidden}
#app:not(.team-active) .shell .content .input-group:focus-within{border-color:var(--v4-blue-line);box-shadow:0 0 0 3px rgb(47 100 232/.12)}
#app:not(.team-active) .shell .content .input-group>input{height:32px;border:0;font-size:13px}
#app:not(.team-active) .shell .content .input-group-addon{height:32px;border:0;background:transparent;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .chip:not([data-variant="input"]){height:34px;padding:0 10px 0 12px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);color:var(--v4-ink);font-size:13px;font-weight:500;transition:background-color .15s,border-color .15s}
#app:not(.team-active) .shell .content .chip:not([data-variant="input"]):hover{background:var(--v4-hover);border-color:rgb(214 220 232)}
#app:not(.team-active) .shell .content .chip:not([data-variant="input"]):active{background:var(--v4-press)}
#app:not(.team-active) .shell .content .chip:is([aria-pressed="true"],[aria-haspopup][data-value]){border-color:var(--v4-blue-line);background:var(--v4-blue-soft);color:var(--v4-blue-deep)}
#app:not(.team-active) .shell .content .chip[aria-haspopup][data-value] .chip-val{color:var(--v4-blue-deep)}

/* —— 分段控件：灰槽 + 白色选中块（客户视图、伙伴关系、消息类型）—— */
#app:not(.team-active) .shell .content :is(.toggle-group[data-variant="segmented"],.wb-tabs,.pn-message-tabs){display:inline-flex;flex-wrap:nowrap;align-self:flex-start;gap:2px;padding:3px;border:0;border-radius:10px;background:var(--v4-sunk);max-width:100%;overflow-x:auto;scrollbar-width:none}
#app:not(.team-active) .shell .content :is(.toggle-group[data-variant="segmented"]>.toggle,.wb-tab,.pn-message-tabs>button){flex:none;height:30px;min-height:30px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--v4-ink-strong);font-size:13px;font-weight:400;box-shadow:none;transition:background-color .15s,color .15s}
#app:not(.team-active) .shell .content :is(.toggle-group[data-variant="segmented"]>.toggle,.wb-tab,.pn-message-tabs>button):hover{background:var(--v4-seg-hover);color:var(--v4-ink)}
#app:not(.team-active) .shell .content :is(.toggle-group[data-variant="segmented"]>.toggle[aria-checked="true"],.wb-tab.on,.pn-message-tabs>button[aria-selected="true"]){background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:var(--v4-seg-on)}
#app:not(.team-active) .shell .content :is(.toggle-group[data-variant="segmented"]>.toggle,.wb-tab,.pn-message-tabs>button):focus-visible{outline:2px solid var(--v4-blue);outline-offset:-2px}
#app:not(.team-active) .shell .content .wb-tab b{margin-left:2px;font-size:12px;font-weight:500;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .wb-tabs{margin:0 0 10px}
#app:not(.team-active) .shell .content .pn-message-tabs{margin:0 0 14px}

/* —— 表头 / 计数胶囊 —— */
#app:not(.team-active) .shell .content .wb-table-head{gap:10px;margin:0 0 12px}
#app:not(.team-active) .shell .content .wb-table-head h2{font-size:16px;font-weight:600}
#app:not(.team-active) .shell .content .wb-table-head>.muted{font-size:12.5px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .wb-count{padding:2px 8px;border-radius:999px;background:var(--v4-sunk);color:var(--v4-ink-strong);font-size:12.5px;font-weight:500}
#app:not(.team-active) .shell .content .wb-pill{height:22px;padding:0 9px;border-radius:999px;font-size:12.5px;font-weight:500}
#app:not(.team-active) .shell .content .wb-pill::before{display:none}
#app:not(.team-active) .shell .content .wb-pill-amber{background:var(--v4-amber-bg);color:var(--v4-amber-ink)}

/* —— 数据表：灰表头 8px 16px、行 11px 16px（单元格行内写死 5px 11px，须 !important）—— */
#app:not(.team-active) .shell .content .lota-customer-table{border:0;border-radius:6px;background:var(--v4-surface);box-shadow:none}
#app:not(.team-active) .shell .content .lota-customer-table th{height:auto;padding:8px 16px!important;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px;font-weight:500;border-bottom:1px solid var(--v4-line-3);border-right:0}
#app:not(.team-active) .shell .content .lota-customer-table td{height:auto;padding:11px 16px!important;color:var(--v4-ink-strong);font-size:14px;border-bottom:1px solid var(--v4-line-3)!important;border-right:0}
#app:not(.team-active) .shell .content .lota-customer-table :is(th,td):has(>input[type="checkbox"]){padding:0 4px 0 16px!important;width:20px}
#app:not(.team-active) .shell .content .lota-customer-table input[type="checkbox"]{width:16px;height:16px;accent-color:var(--v4-blue)}
#app:not(.team-active) .shell .content .lota-customer-table tbody tr:hover,#app:not(.team-active) .shell .content .lota-customer-table tbody tr:hover>td{background:var(--v4-row-hover)}
#app:not(.team-active) .shell .content .lota-customer-table tbody tr:has(input[type="checkbox"]:checked)>td{background:var(--v4-blue-soft)}
#app:not(.team-active) .shell .content .lota-customer-table :is(.lct-group-row td,td[colspan]){padding:8px 16px!important;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px}
#app:not(.team-active) .shell .content .lota-customer-table .lct-identity .avatar{width:24px;height:24px;border-radius:7px;font-size:12px}
#app:not(.team-active) .shell .content .lota-customer-table .lct-identity-text{font-size:14px}
#app:not(.team-active) .shell .content .lota-customer-table .lct-subtitle{font-size:12.5px;color:var(--v4-ink-2)}
/* 单元格一行到底：覆盖列的行内 flex-wrap 会把「请帮我引荐」挤到第二行；表内归属分段收成 26px */
#app:not(.team-active) .shell .content .lota-customer-table td>div,#app:not(.team-active) .shell .content .lota-customer-table td>div>div{flex-wrap:nowrap!important}
#app:not(.team-active) .shell .content .lota-customer-table .seg{display:inline-flex;gap:2px;padding:2px;border-radius:9px;background:var(--v4-sunk)}
#app:not(.team-active) .shell .content .lota-customer-table .seg button{height:24px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:var(--v4-ink-2);font-size:12.5px;box-shadow:none}
#app:not(.team-active) .shell .content .lota-customer-table .seg button.on{background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:var(--v4-seg-on)}
#app:not(.team-active) .shell .content .lota-customer-table .seg button:not(:disabled):hover{color:var(--v4-ink)}

/* —— 首页（设计稿「首页 · 日常 / 新用户 / 加载中」）—— */
#app:not(.team-active) .ph-home{gap:16px;padding:0 0 24px;color:var(--v4-ink)}
#app:not(.team-active) .shell .content .ph-home>.wb-kpis{margin:0}
#app:not(.team-active) .ph-home h2{font-weight:600}
#app:not(.team-active) .ph-home .ph-two-column{gap:16px;align-items:start}
#app:not(.team-active) .ph-home .ph-card{padding:16px 20px 18px}
#app:not(.team-active) .ph-home .ph-card-head{margin-bottom:10px}
#app:not(.team-active) .ph-home .ph-sub{font-size:12.5px;color:var(--v4-ink-2)}
#app:not(.team-active) .ph-home .ph-link{font-size:13px!important;font-weight:500;color:var(--v4-blue-deep)}
#app:not(.team-active) .ph-home .ph-link:hover{color:var(--v4-ink);text-decoration:underline;text-underline-offset:3px}
#app:not(.team-active) .ph-home .ph-ghost{min-height:34px;height:34px;padding:0 14px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);color:var(--v4-ink);font-size:13px!important;font-weight:500;transition:background-color .15s,border-color .15s}
#app:not(.team-active) .ph-home .ph-ghost:hover{background:var(--v4-hover);border-color:rgb(214 220 232)}
#app:not(.team-active) .ph-home .ph-ghost:active{background:var(--v4-press)}
#app:not(.team-active) .ph-home :is(button,summary):focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px}
#app:not(.team-active) .ph-home .ph-action-row{gap:14px;min-height:64px;border-top-color:var(--v4-line-3)}
#app:not(.team-active) .ph-home .ph-icon{width:36px;height:36px;border-radius:10px;background:var(--v4-blue-bg);color:var(--v4-blue-deep)}
#app:not(.team-active) .ph-home .ph-icon.ph-warm{background:var(--v4-amber-bg);color:var(--v4-amber-ink)}
#app:not(.team-active) .ph-home .ph-row-text strong{font-size:14.5px;font-weight:600}
#app:not(.team-active) .ph-home .ph-row-text p{font-size:13px;color:var(--v4-ink-2)}
/* 今日行动：只有排在最前的一条用主按钮，其余保持次按钮 */
#app:not(.team-active) .ph-home :is(.ph-actions,.ph-onboarding)>.ph-card-head+.ph-action-row .ph-ghost{border:0;background:var(--v4-blue);color:var(--v4-surface);font-weight:600;box-shadow:var(--v4-btn-shadow)}
#app:not(.team-active) .ph-home :is(.ph-actions,.ph-onboarding)>.ph-card-head+.ph-action-row .ph-ghost:hover{background:var(--v4-blue-deep)}
#app:not(.team-active) .ph-home :is(.ph-actions,.ph-onboarding)>.ph-card-head+.ph-action-row .ph-ghost:active{background:var(--v4-blue-press);box-shadow:none}
#app:not(.team-active) .ph-home .ph-quads{gap:10px}
#app:not(.team-active) .ph-home .ph-quad{gap:4px;padding:12px 14px;border-radius:11px;transition:filter .15s}
#app:not(.team-active) .ph-home .ph-quad span{font-size:12.5px;font-weight:500}
#app:not(.team-active) .ph-home .ph-quad strong{font-size:24px;font-weight:600;line-height:1.2}
#app:not(.team-active) .ph-home .ph-quad.ph-q-red{background:rgb(253 236 240)}
#app:not(.team-active) .ph-home .ph-quad.ph-q-red span{color:rgb(166 38 70)}
#app:not(.team-active) .ph-home .ph-quad:not(:disabled):active{filter:brightness(.94)}
#app:not(.team-active) .ph-home .ph-network>.ph-sub{margin:12px 0 6px;font-size:12px}
#app:not(.team-active) .ph-home .ph-opps{padding:0}
#app:not(.team-active) .ph-home .ph-opps>.ph-card-head{padding:16px 20px 12px}
#app:not(.team-active) .shell .content .ph-home .ph-opps-table{border:0;border-top:1px solid var(--v4-line-3);border-radius:0;box-shadow:none}
#app:not(.team-active) .ph-home .ph-opps-table td .ph-ghost{min-height:30px;height:30px;padding:0 12px;border-radius:10px;font-size:12.5px!important}
#app:not(.team-active) .ph-home .ph-opp-mark{width:24px;height:24px;border-radius:7px;font-size:12px}
#app:not(.team-active) .ph-home .ph-opp-name strong{font-size:14px;color:var(--v4-ink)}
#app:not(.team-active) .ph-home .ph-quad-pill{height:22px;padding:0 9px}
#app:not(.team-active) .ph-home .ph-quad-pill.ph-q-red,#app:not(.team-active) .ph-home .ph-opp-mark.ph-q-red{background:rgb(253 236 240);color:rgb(166 38 70)}
#app:not(.team-active) .ph-home .ph-opp-new{background:var(--v4-amber-bg);color:var(--v4-amber-ink);font-size:12.5px}
#app:not(.team-active) .ph-home .ph-opp-ok{font-size:13px;font-weight:500;color:var(--v4-blue-deep)}
#app:not(.team-active) .ph-home .ph-feed-row{min-height:0;padding:11px 0;border-top-color:var(--v4-line-3);font-size:14px!important;color:var(--v4-ink)}
#app:not(.team-active) .ph-home .ph-feed-row:hover{color:var(--v4-blue-deep)}
#app:not(.team-active) .ph-home .ph-feed-row time{font-size:12.5px;color:var(--v4-ink-2);font-variant-numeric:tabular-nums}
#app:not(.team-active) .ph-home .ph-profile{gap:8px 16px}
#app:not(.team-active) .ph-home progress{height:6px;border-radius:999px;background:var(--v4-line-3)}
#app:not(.team-active) .ph-home progress::-webkit-progress-bar{background:var(--v4-line-3)}
#app:not(.team-active) .ph-home progress::-webkit-progress-value{background:var(--v4-blue);border-radius:999px}
#app:not(.team-active) .ph-home progress::-moz-progress-bar{background:var(--v4-blue)}
#app:not(.team-active) .ph-home .ph-profile-list li{font-size:13px}
#app:not(.team-active) .ph-home .ph-complete{color:var(--v4-ink-2)}
#app:not(.team-active) .ph-home .ph-complete::marker{color:var(--v4-ok-ink)}
#app:not(.team-active) .ph-home .ph-empty{font-size:13px;color:var(--v4-ink-2)}
#app:not(.team-active) .ph-home .ph-step{border-color:var(--v4-line-2)}
#app:not(.team-active) .ph-home .ph-step.ph-done{background:var(--v4-ok-ink)}
/* 发现：三张等宽平卡，首张浅蓝强调，不再用渐变色块 */
#app:not(.team-active) .ph-home .ph-discover{gap:10px}
#app:not(.team-active) .ph-home .ph-discover-grid{gap:16px}
#app:not(.team-active) .ph-home :is(.ph-promo,.ph-discover-card){min-height:112px;padding:16px 20px;gap:4px;border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);color:var(--v4-ink);box-shadow:var(--v4-card-shadow);transition:border-color .15s,box-shadow .15s}
#app:not(.team-active) .ph-home .ph-promo{border-color:var(--v4-blue-line);background:var(--v4-blue-soft)}
#app:not(.team-active) .ph-home .ph-promo::after{display:none}
#app:not(.team-active) .ph-home :is(.ph-promo,.ph-discover-card):hover{border-color:var(--v4-blue-line);box-shadow:0 6px 18px rgba(31,36,51,.08)}
#app:not(.team-active) .ph-home :is(.ph-promo,.ph-discover-card):active{box-shadow:var(--v4-card-shadow)}
#app:not(.team-active) .ph-home :is(.ph-promo,.ph-discover-card) small{font-size:12.5px;font-weight:500;color:var(--v4-ink-2);opacity:1}
#app:not(.team-active) .ph-home .ph-promo small{color:var(--v4-blue-deep)}
#app:not(.team-active) .ph-home :is(.ph-promo,.ph-discover-card) strong{font-size:16px;font-weight:600;line-height:1.4}
#app:not(.team-active) .ph-home :is(.ph-promo,.ph-discover-card) span{font-size:13px;color:var(--v4-ink-2);opacity:1}
/* 快捷入口：统一成 30px 次按钮（原样式 font-size 带 !important） */
#app:not(.team-active) .ph-home .ph-shortcuts{gap:8px;padding:0}
#app:not(.team-active) .ph-home .ph-shortcuts>button{min-height:30px;height:30px;padding:0 12px;border:1px solid var(--v4-line-2);border-radius:10px;background:var(--v4-surface);color:var(--v4-ink-strong);font-size:12.5px!important;font-weight:500}
#app:not(.team-active) .ph-home .ph-shortcuts>button:hover{background:var(--v4-hover);color:var(--v4-ink);text-decoration:none}
#app:not(.team-active) .ph-home .ph-shortcuts>button:active{background:var(--v4-press)}
#app:not(.team-active) .ph-home .ph-more{padding-top:12px;border-top-color:var(--v4-border)}
#app:not(.team-active) .ph-home .ph-more summary{font-size:13px;color:var(--v4-ink-2)}
#app:not(.team-active) .ph-home .ph-more>summary{display:inline-flex;align-items:center;gap:6px;list-style:none}
#app:not(.team-active) .ph-home .ph-more>summary::after{margin-left:0;padding-left:0}
#app:not(.team-active) .ph-home .ph-more summary:hover{color:var(--v4-ink)}
#app:not(.team-active) .ph-home .ph-trust{background:var(--v4-blue-bg);color:var(--v4-blue-deep);font-weight:500}
#app:not(.team-active) .ph-home .ph-feedback{color:var(--v4-amber-ink)}

/* —— 客户（设计稿「客户」）：视图分段、导出/导入/分享为次按钮，录入客户是本页唯一主按钮 —— */
#app:not(.team-active) .shell .content .wb-acct-bar{gap:8px;margin:0 0 12px}
#app:not(.team-active) .shell .content .wb-acct-bar [data-graph]{color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .wb-acct-bar .wb-count{background:transparent;padding:0;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .led-toolbar{gap:8px;margin-bottom:12px}
#app:not(.team-active) .shell .content :is(.led-pager,#coPager){gap:8px}
#app:not(.team-active) .shell .content :is(.led-pager,#coPager) .muted{font-size:13px;color:var(--v4-ink-strong);font-variant-numeric:tabular-nums}

/* —— 伙伴（设计稿「伙伴」）：请求卡只有第一条「接受」用主色；私信等行内动作一律 30px 次按钮 —— */
#app:not(.team-active) .shell .content .wb-ask-card{margin:0 0 16px;padding:0;overflow:hidden}
#app:not(.team-active) .shell .content .wb-ask-head{gap:8px;padding:14px 20px;font-size:16px;font-weight:600;flex-direction:row-reverse;justify-content:flex-end}
#app:not(.team-active) .shell .content .wb-ask-card>div:not(.wb-ask-head){padding:12px 20px!important;border-top:1px solid var(--v4-line-3)!important;background:var(--v4-surface);transition:background-color .15s}
#app:not(.team-active) .shell .content .wb-ask-card>div:not(.wb-ask-head):hover{background:var(--v4-row-hover)}
#app:not(.team-active) .shell .content .wb-ask-card .muted{font-size:12.5px!important;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .wb-ask-head~div~div [data-preqact="accept"]{border:1px solid var(--v4-blue-line);background:var(--v4-blue-soft);color:var(--v4-blue-deep);box-shadow:none}
#app:not(.team-active) .shell .content .wb-ask-head~div~div [data-preqact="accept"]:hover{background:var(--v4-blue-bg)}
#app:not(.team-active) .shell .content .wb-ask-card .btn[disabled]{opacity:.7;cursor:progress}
/* 伙伴工具条：搜索、关系分段、筛选 chip 拼成一行，分组依据靠右（shell.js 分三层 div 输出且行内写了 display:flex，用 display:contents!important 摊平） */
#app:not(.team-active) .shell .content #pnBody{display:flex;flex-wrap:wrap;align-items:center;gap:10px 8px}
#app:not(.team-active) .shell .content #pnBody>div:is(:first-child,:nth-child(3)){display:contents!important}
#app:not(.team-active) .shell .content #pnBody>div:first-child>.input-group{order:1;width:220px!important}
#app:not(.team-active) .shell .content #pnBody>.wb-tabs{order:2;margin:0}
#app:not(.team-active) .shell .content #pnBody>div:nth-child(3)>*{order:3}
#app:not(.team-active) .shell .content #pnBody>div:first-child>div:not(.input-group){display:none}
#app:not(.team-active) .shell .content #pnBody #pnGroupBy{order:5;margin-left:auto}
#app:not(.team-active) .shell .content #pnBody>#pnTable{order:6;flex:1 0 100%;min-width:0;margin-top:2px}
/* 共同客户：数字 + 企业 chip 一行，超出部分渐隐，不把行撑成两三行 */
#app:not(.team-active) .shell .content .lota-customer-table td>div[style*="max-width"]{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,black 86%,transparent);mask-image:linear-gradient(90deg,black 86%,transparent)}
/* 请求行：婉拒在前、接受在后（主动作落在最右） */
#app:not(.team-active) .shell .content .wb-ask-card>div:not(.wb-ask-head)>div:last-child{flex-direction:row-reverse}
#app:not(.team-active) .shell .content .scp-mutual{border-color:var(--v4-blue-line)!important;background:var(--v4-blue-soft)!important;color:var(--v4-blue-deep)!important}

/* —— 消息（设计稿「消息」）：对接请求卡、通知列表分段筛选；机器通知不打「未读」 —— */
#app:not(.team-active) .shell .content #refStrip{margin-bottom:16px!important;padding:14px 20px!important;border:1px solid var(--v4-amber-line)!important;border-radius:16px!important;background:var(--v4-amber-bg)!important;color:var(--v4-amber-ink);transition:filter .15s}
#app:not(.team-active) .shell .content #refStrip:hover{filter:brightness(.98)}
#app:not(.team-active) .shell .content #refStrip>span>span:first-child{font-size:14px;font-weight:600}
#app:not(.team-active) .shell .content #refStrip>span>span+span{font-size:12.5px!important;color:var(--v4-amber-ink)}
/* 只剩我发出的请求：不需要我行动，用中性卡片，不占暖橙 */
#app:not(.team-active) .shell .content #refStrip[data-ref-tone="outgoing"]{padding:12px 20px!important;border-color:var(--v4-line-2)!important;background:var(--v4-surface)!important;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .pn-layout{gap:16px;color:var(--v4-ink)}
#app:not(.team-active) .shell .content :is(.pn-list,.pn-detail){border-color:var(--v4-border);border-radius:16px;box-shadow:var(--v4-card-shadow)}
@media(min-width:1101px){#app:not(.team-active) .shell .content .pn-layout{grid-template-columns:minmax(300px,380px) minmax(0,1fr)}}
/* 「全部 / 待处理 / 平台」三个筛选画成一条分段控件：伪元素作灰槽，三个按钮显式落在前三列 */
#app:not(.team-active) .shell .content .pn-filters{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:12px 16px;border-bottom-color:var(--v4-line-3)}
#app:not(.team-active) .shell .content .pn-filters>.pn-read{margin:0;font-size:13px;font-weight:500;color:var(--v4-blue-deep)}
#app:not(.team-active) .shell .content .pn-filters>.pn-settings{color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .pn-filters>.pn-read:hover{color:var(--v4-ink);text-decoration:underline;text-underline-offset:3px}
#app:not(.team-active) .shell .content .pn-row{gap:10px;padding:14px 16px;border-bottom-color:var(--v4-line-3);transition:background-color .15s}
#app:not(.team-active) .shell .content .pn-row:hover{background:var(--v4-row-hover)}
#app:not(.team-active) .shell .content .pn-row:active{background:var(--v4-press)}
#app:not(.team-active) .shell .content .pn-row.selected{background:var(--v4-blue-soft)}
#app:not(.team-active) .shell .content .pn-row:focus-visible{outline:2px solid var(--v4-blue);outline-offset:-2px}
#app:not(.team-active) .shell .content .pn-copy{gap:3px}
#app:not(.team-active) .shell .content .pn-copy strong{font-size:14px;font-weight:600;line-height:1.5;color:var(--v4-ink)}
#app:not(.team-active) .shell .content .pn-copy small{font-size:13px;line-height:1.5;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .pn-kind{padding:2px 8px;font-size:12px;background:var(--v4-sunk);color:var(--v4-ink-strong)}
#app:not(.team-active) .shell .content .pn-kind.actionable{background:var(--v4-blue-bg);color:var(--v4-blue-deep)}
#app:not(.team-active) .shell .content .pn-row-meta{gap:6px;font-size:12px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .pn-pending{padding:1px 8px;border-radius:999px;background:var(--v4-amber-bg);color:var(--v4-amber-ink);font-size:12px;font-weight:500}
#app:not(.team-active) .shell .content .pn-detail{padding:20px 24px}
#app:not(.team-active) .shell .content .pn-detail-meta{margin-bottom:14px;font-size:12.5px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .pn-detail .lrow b{font-weight:600!important}
#app:not(.team-active) .shell .content .pn-detail .lrow .muted{font-size:14px!important;color:var(--v4-ink-strong)}
#app:not(.team-active) .shell .content .pn-info{border-radius:11px;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px}
#app:not(.team-active) .shell .content .pn-empty{font-size:13px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .pn-feedback{color:var(--v4-danger-ink)}
#app:not(.team-active) .shell .content [data-operations-inbox]{margin-top:16px;padding:16px 20px 18px;border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow);color:var(--v4-ink)}
#app:not(.team-active) .shell .content [data-operations-inbox] h3{font-size:16px;font-weight:600}
#app:not(.team-active) .shell .content [data-operations-inbox]>p{font-size:12.5px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content [data-operations-inbox]>label{padding:10px 0;font-size:14px}
#app:not(.team-active) .shell .content [data-operations-inbox] article{border-top-color:var(--v4-line-3)}
#app:not(.team-active) .shell .content [data-operations-inbox] button{min-height:34px;padding:0 14px;border:1px solid var(--v4-line-2);border-radius:11px;font-size:13px;font-weight:500;color:var(--v4-ink)}
#app:not(.team-active) .shell .content [data-operations-inbox] button:hover:not(:disabled){background:var(--v4-hover)}
#app:not(.team-active) .shell .content [data-operations-inbox] [data-operation-open]{min-height:0;padding:0;border:0;color:var(--v4-blue-deep)}
#app:not(.team-active) .shell .content [data-operations-inbox] [data-operation-feedback]{color:var(--v4-danger-ink);font-size:12.5px}
#app:not(.team-active) .shell .content [data-operations-inbox] [data-operation-feedback]:empty{display:none}
/* 空态整块隐藏：没有公告、也没有失败提示时，不留「暂无平台公告 + 重新加载」占位；读失败时提示与重试照常出现 */
#app:not(.team-active) .shell .content [data-operations-inbox]>div:has(>p:only-child){display:none}
#app:not(.team-active) .shell .content [data-operations-inbox]:has(>div>p:only-child):has(>[data-operation-feedback]:empty)>[data-operation-reload]{display:none}

/* —— 发现 · 企业池（设计稿「发现」）—— */
#app:not(.team-active) .shell .content #coKpis .wb-kpis{margin-bottom:16px}
#app:not(.team-active) .shell .content .chip-set{gap:8px;margin-bottom:12px}
#app:not(.team-active) .shell .content #coClaim{border:1px solid var(--v4-blue-line)!important;background:var(--v4-blue-soft);color:var(--v4-blue-deep);font-weight:600}
#app:not(.team-active) .shell .content #coClaim:hover{background:var(--v4-blue-bg)}
#app:not(.team-active) .shell .content #coPager{justify-content:center;padding:12px 0 0}

/* —— 我的资料（设计稿「我的资料」）：设置导航成卡片、蓝底选中；资料卡数字 24/600；设置行连成一张卡 —— */
@media(min-width:881px){
  #app:not(.team-active) .shell .main.pw-settings-shell>.pw-tabs{height:auto;min-height:0;margin:16px 0 0 28px;padding:8px;gap:2px;border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow);position:sticky;top:16px}
  #app:not(.team-active) .shell .main.pw-settings-shell>.pw-tabs :is(a,button){height:36px;padding:0 12px;border:0;border-radius:9px;font-size:14px;justify-content:flex-start}
  #app:not(.team-active) .shell .main.pw-settings-shell>.pw-tabs :is(a,button):hover{border:0;background:var(--v4-hover)}
  #app:not(.team-active) .shell .main.pw-settings-shell>.pw-tabs :is(a,button)[aria-current="page"]{border:0;background:var(--v4-blue-bg);color:var(--v4-blue-deep);font-weight:600}
  #app:not(.team-active) .shell .main.pw-settings-shell>.content{padding-left:20px}
}
#app:not(.team-active) .shell .pw-settings-shell .content .card{padding:20px}
#app:not(.team-active) .shell .pw-settings-shell .content .kicker{font-size:12.5px;font-weight:500;letter-spacing:0;color:var(--v4-ink-2)!important}
#app:not(.team-active) .shell .pw-settings-shell .content .card h2{font-size:18px;font-weight:600}
#app:not(.team-active) .shell .pw-settings-shell .content .tag{height:22px;padding:0 8px;font-size:12px;font-weight:500}
/* 已认证是状态而非链接：绿色（行内写了 teal 背景） */
#app:not(.team-active) .shell .pw-settings-shell .content .tag[style*="teal-bg"]{background:var(--v4-ok-bg)!important;color:var(--v4-ok-ink)!important}
#app:not(.team-active) .shell .pw-settings-shell .content [data-edit-desc]{border:1px dashed var(--v4-blue-line)!important;border-radius:11px!important;background:var(--v4-blue-soft)!important;color:var(--v4-blue-deep)!important;font-size:13px}
#app:not(.team-active) .shell .pw-settings-shell .content [data-edit-desc]:hover{background:var(--v4-blue-bg)!important}
#app:not(.team-active) .shell .pw-settings-shell .content .stat-tile .sv{font-size:24px;font-weight:600;line-height:1.2}
#app:not(.team-active) .shell .pw-settings-shell .content .stat-tile .sk{font-size:13px;color:var(--v4-ink-strong)}
/* 信任分小卡：64px 环 + 右侧档位与月份，链接对齐右栏 */
#app:not(.team-active) .shell .pw-settings-shell .content .pw-legacy-trust{padding:16px 20px}
#app:not(.team-active) .shell .pw-settings-shell .content .pw-legacy-trust .pw-trust-summary{display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto;column-gap:16px;row-gap:4px;align-items:center}
#app:not(.team-active) .shell .pw-settings-shell .content .pw-legacy-trust .pw-trust-ring-stack{display:contents}
#app:not(.team-active) .shell .pw-settings-shell .content .pw-legacy-trust .pw-trust-ring{grid-column:1;grid-row:1/3;width:64px;height:64px;color:var(--v4-blue)}
#app:not(.team-active) .shell .pw-settings-shell .content .pw-legacy-trust .pw-trust-ring strong{font-size:15px;font-weight:600;color:var(--v4-ink)}
#app:not(.team-active) .shell .pw-settings-shell .content .pw-legacy-trust .pw-trust-tier{grid-column:2;grid-row:1;justify-self:start;padding:2px 9px}
#app:not(.team-active) .shell .pw-settings-shell .content .pw-legacy-trust .pw-trust-overview{grid-column:2;grid-row:2}
#app:not(.team-active) .shell .pw-settings-shell .content .pw-legacy-trust .pw-trust-overview p{margin:0;font-size:12.5px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .pw-settings-shell .content .pw-legacy-trust .pw-trust-change:empty{display:none}
#app:not(.team-active) .shell .pw-settings-shell .content .pw-legacy-trust>a{display:inline-block;margin:10px 0 0 80px}
#app:not(.team-active) .shell .pw-settings-shell .content .pw-trust-tier{border-radius:999px;background:var(--v4-blue-bg);color:var(--v4-blue-deep);font-size:12px;font-weight:600}
#app:not(.team-active) .shell .pw-settings-shell .content .pw-legacy-trust a{font-size:13px;color:var(--v4-blue-deep)}
#app:not(.team-active) .shell .pw-settings-shell .content #cmpNum{font-size:20px;font-weight:600}
/* 设置行：相邻的 .lrow.flat 拼成一张 16px 卡，行间 line-3 分隔（行内写死 margin-bottom:10px，须 !important） */
#app:not(.team-active) .shell .content .lrow.flat{margin:0!important;padding:13px 20px!important;border:1px solid var(--v4-border);border-top-width:0;border-radius:0;background:var(--v4-surface);transition:background-color .15s}
#app:not(.team-active) .shell .content :not(.lrow.flat)+.lrow.flat{margin-top:16px!important;border-top-width:1px;border-radius:16px 16px 0 0}
#app:not(.team-active) .shell .content .lrow.flat:not(:has(+.lrow.flat)){margin-bottom:16px!important;border-bottom-left-radius:16px;border-bottom-right-radius:16px;box-shadow:var(--v4-card-shadow)}
#app:not(.team-active) .shell .content .lrow.flat+.lrow.flat{border-top:1px solid var(--v4-line-3)}
#app:not(.team-active) .shell .content .lrow.flat:hover{background:var(--v4-row-hover)}
#app:not(.team-active) .shell .content button.lrow.flat:active{background:var(--v4-hover)}
#app:not(.team-active) .shell .content .lrow.flat:focus-visible{outline:2px solid var(--v4-blue);outline-offset:-2px}
#app:not(.team-active) .shell .content .lrow.flat .muted{font-size:13px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .lrow.flat[data-invite-error]{background:var(--v4-danger-bg)}
#app:not(.team-active) .shell .content .lrow.flat[data-invite-error] .muted{color:var(--v4-danger-ink)}
#app:not(.team-active) .shell .content .switch[aria-checked="true"]{background:var(--v4-blue)}
#app:not(.team-active) .shell .content .switch:focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px}
/* 退出登录：危险色描边次按钮（行内写了 color:var(--ink-4)） */
#app:not(.team-active) .shell .content [data-logout]{height:34px;padding:0 16px;border:1px solid var(--v4-danger-line);border-radius:11px;background:var(--v4-surface);color:var(--v4-danger-ink)!important;font-size:13px;font-weight:500}
#app:not(.team-active) .shell .content [data-logout]:hover{background:var(--v4-danger-bg);color:var(--v4-danger-ink)}
#app:not(.team-active) .shell .content [data-logout]:active{background:rgb(253 238 241)}
/* 宽屏：资料卡左、信任分与完善度右，其余整行（stagger 行内 max-width:760px） */
@media(min-width:1101px){
  #app:not(.team-active) .shell .pw-settings-shell #screen>.stagger{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:auto 1fr;column-gap:16px;align-items:start;max-width:none!important}
  #app:not(.team-active) .shell .pw-settings-shell #screen>.stagger>*{grid-column:1/-1}
  #app:not(.team-active) .shell .pw-settings-shell #screen>.stagger>.card:first-child{grid-column:1;grid-row:1/span 2;margin-bottom:0!important;align-self:stretch}
  #app:not(.team-active) .shell .pw-settings-shell #screen>.stagger>.pw-legacy-trust{grid-column:2;grid-row:1;margin:0 0 16px}
  #app:not(.team-active) .shell .pw-settings-shell #screen>.stagger>.pw-legacy-trust+.card{grid-column:2;grid-row:2;margin-bottom:0!important}
  #app:not(.team-active) .shell .pw-settings-shell #screen>.stagger>.pw-legacy-trust+.card>div:first-child{flex-wrap:wrap}
  #app:not(.team-active) .shell .pw-settings-shell #screen>.stagger>.pw-legacy-trust+.card>div:first-child>div:nth-child(2){flex:1 1 140px!important}
  #app:not(.team-active) .shell .pw-settings-shell #screen>.stagger>.pw-legacy-trust+.card [data-cmp-toggle]{margin-left:80px}
}

/* —— 子页面收口（发现 / 消息子页 / 设置子页 / 情报 / 伙伴会议）：与主页面同一套 token 与层级 —— */
/* 关闭态右侧抽屉停在视口外，44px 模糊阴影会漏进视口右缘一条灰带：收起后延迟去掉阴影，展开时立即带上 */
body:has(#app:not(.team-active)[style*="block"]) .sheet:not(.show){box-shadow:none;transition:transform .28s var(--ease-brand),box-shadow 0s .28s}
body:has(#app:not(.team-active)[style*="block"]) .sheet-title{font-weight:600}
/* 抽屉里的「请触达伙伴帮我引荐」是这张抽屉的主动作：橙色 .btn-warm 改为 v4 主按钮 */
body:has(#app:not(.team-active)[style*="block"]) .sheet .btn-warm{height:34px;padding:0 14px;border:0;border-radius:11px;background:var(--v4-blue);color:var(--v4-surface);font-weight:600;box-shadow:var(--v4-btn-shadow)}
body:has(#app:not(.team-active)[style*="block"]) .sheet .btn-warm:hover{background:var(--v4-blue-deep)}
body:has(#app:not(.team-active)[style*="block"]) .sheet .btn-warm:active{background:var(--v4-blue-press);box-shadow:none}
body:has(#app:not(.team-active)[style*="block"]) .sheet .btn-warm:focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px}
/* 旧模块的主按钮（.btn.primary / .pw-button）对齐 v4 主按钮 */
#app:not(.team-active) .shell .content :is(.btn.primary,.pw-button){height:36px;min-height:36px;padding:0 18px;border:0;border-radius:11px;background:var(--v4-blue);color:var(--v4-surface);font-size:13.5px;font-weight:600;box-shadow:var(--v4-btn-shadow);transition:background-color .15s,box-shadow .15s}
#app:not(.team-active) .shell .content :is(.btn.primary,.pw-button):hover{background:var(--v4-blue-deep)}
#app:not(.team-active) .shell .content :is(.btn.primary,.pw-button):active{background:var(--v4-blue-press);box-shadow:none}
#app:not(.team-active) .shell .content :is(.btn.primary,.pw-button):disabled{opacity:.55;box-shadow:none;cursor:not-allowed}
/* 表单操作保留实体次按钮；行内链接按钮不参与。 */
#app:not(.team-active) .shell .content .pw-page :is(.pw-actions,.pw-filters,.pw-toolbar)>.btn:not(.primary){height:34px;min-height:34px;padding:0 14px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);color:var(--v4-ink);font-size:13px;font-weight:500;box-shadow:none}
#app:not(.team-active) .shell .content .pw-page :is(.pw-actions,.pw-filters,.pw-toolbar)>.btn:not(.primary):hover:not(:disabled){background:var(--v4-tile);border-color:var(--v4-blue-line)}
#app:not(.team-active) .shell .content .pw-page .pw-actions>.btn:not(.primary){height:36px;min-height:36px}
#app:not(.team-active) .shell .content .pw-page .pw-filters>.btn:not(.primary){height:40px;min-height:40px}
/* 编辑表单使用 40px 输入框；目录与招聘列表的 34px 筛选保持原档。 */
#app:not(.team-active) .shell .content .pw-page :is(.pw-field,[data-resume] fieldset,[data-job-form] fieldset) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select),#app:not(.team-active) .shell .content .pw-editor .pw-filters input{height:40px;min-height:40px;padding-block:0;border-color:var(--v4-line-2);border-radius:11px}
#app:not(.team-active) .shell .content .pw-page :is(.pw-field,[data-resume] fieldset,[data-job-form] fieldset) textarea{border-color:var(--v4-line-2);border-radius:11px}
/* 筛选表单的「搜索 / 筛选」只是提交筛选，不是页面主任务：降为 34px 次按钮，主色留给页面唯一主动作 */
#app:not(.team-active) .shell .content :is(.pc-directory-search .pc-search-primary,.pw-jobs-search,.pc-filters)>.btn.primary{height:34px;min-height:34px;padding:0 14px;border:1px solid var(--v4-line-2);background:var(--v4-surface);color:var(--v4-ink);font-size:13px;font-weight:500;box-shadow:none}
#app:not(.team-active) .shell .content :is(.pc-directory-search .pc-search-primary,.pw-jobs-search,.pc-filters)>.btn.primary:hover{background:var(--v4-hover);border-color:rgb(214 220 232)}
#app:not(.team-active) .shell .content :is(.pc-directory-search .pc-search-primary,.pw-jobs-search,.pc-filters)>.btn.primary:active{background:var(--v4-press)}
/* 字段：34px、圆角 11、line-2 描边，标签用 ink-2（旧样式写死 #7a8599，对比度 3.7:1） */
#app:not(.team-active) .shell .content :is(.pc-filters,.pw-jobs-search,.pc-secondary-filters) label{gap:6px;font-size:12.5px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content :is(.pc-filters,.pw-jobs-search,.pc-directory-search,.pc-secondary-filters) :is(input:not([type=checkbox]):not([type=radio]),select){height:34px;min-height:34px;padding:0 10px;border:1px solid var(--v4-line-2);border-radius:11px;background-color:var(--v4-surface);font-size:13px;color:var(--v4-ink);box-shadow:none}
#app:not(.team-active) .shell .content :is(.pc-filters,.pw-jobs-search,.pc-directory-search,.pc-secondary-filters) :is(input,select):focus{border-color:var(--v4-blue-line);outline:0;box-shadow:0 0 0 3px rgb(47 100 232/.12)}
#app:not(.team-active) .shell .content .pc-filters{padding:14px 16px;gap:10px;border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow)}
#app:not(.team-active) .shell .content :is(.pc-card .pc-card-type,.pc-card .pc-full-name,.pc-card-meta,.pc-list-attribution){color:var(--v4-ink-2)}
/* 解决方案：饱和蓝色横幅改为安静的白卡（只留标题与一句说明），分类 chip 选中态用蓝底蓝字而非主按钮 */
#app:not(.team-active) .shell .content .pc-directory-banner{min-height:0;padding:18px 20px;border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);color:var(--v4-ink);box-shadow:var(--v4-card-shadow)}
#app:not(.team-active) .shell .content .pc-directory-banner::before,#app:not(.team-active) .shell .content .pc-directory-banner::after{display:none}
#app:not(.team-active) .shell .content .pc-directory-banner h2{font-size:18px;font-weight:600;color:var(--v4-ink)}
#app:not(.team-active) .shell .content .pc-directory-banner p{margin-top:4px;font-size:13px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .pc-directory-banner .pc-banner-eyebrow{margin:0 0 4px;font-size:12.5px;font-weight:500;color:var(--v4-blue-deep)}
#app:not(.team-active) .shell .content .pc-category-chips .btn{height:32px;min-height:32px;padding:0 12px;border:1px solid var(--v4-line-2);border-radius:999px;background:var(--v4-surface);color:var(--v4-ink-strong);font-size:13px;font-weight:500}
#app:not(.team-active) .shell .content .pc-category-chips .btn:hover{background:var(--v4-hover)}
#app:not(.team-active) .shell .content .pc-category-chips .btn.is-active{border-color:var(--v4-blue-line);background:var(--v4-blue-bg);color:var(--v4-blue-deep);font-weight:600}
#app:not(.team-active) .shell .content .pc-more-filters>summary{height:34px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);font-size:13px}
/* 招聘：薪资不用橙色（4.0:1 且像警示），用正文墨色加粗；职位卡 16px */
#app:not(.team-active) .shell .content .pw-job-salary{font-size:15px;font-weight:600;color:var(--v4-ink)}
#app:not(.team-active) .shell .content :is(.pw-card,.pw-job-grid>.panel,.pc-card){border:1px solid var(--v4-border);border-radius:16px;box-shadow:var(--v4-card-shadow)}
#app:not(.team-active) .shell .content .pw-jobs-search .btn{height:34px}
/* 企业名单：去掉与页签重复的面包屑和「我的名单」入口，「创建名单」升为页面唯一主按钮；分段控件用灰槽；「我创建的」用蓝而非紫 */
#app:not(.team-active) .shell .content .pc-lists{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:12px;row-gap:14px}
#app:not(.team-active) .shell .content .pc-lists>*{flex:1 0 100%;min-width:0;margin:0}
#app:not(.team-active) .shell .content .pc-lists>.pc-catalog-tabs{order:-2;flex:0 0 auto}
#app:not(.team-active) .shell .content .pc-lists>.pw-heading{order:-1;flex:1 0 auto;justify-content:flex-end}
#app:not(.team-active) .shell .content .pc-lists>.pw-heading>div:first-child,#app:not(.team-active) .shell .content .pc-lists>.pw-heading .pw-actions>a[href$="lists/mine"]{display:none}
#app:not(.team-active) .shell .content .pc-lists>.pw-heading .pw-actions>a[href$="lists/create"]{display:inline-flex;align-items:center;height:36px;padding:0 18px;border:0;border-radius:11px;background:var(--v4-blue);color:var(--v4-surface);font-size:13.5px;font-weight:600;box-shadow:var(--v4-btn-shadow);text-decoration:none}
#app:not(.team-active) .shell .content .pc-lists>.pw-heading .pw-actions>a[href$="lists/create"]:hover{background:var(--v4-blue-deep)}
#app:not(.team-active) .shell .content .pc-lists>.pw-heading .pw-actions>a[href$="lists/create"]:active{background:var(--v4-blue-press);box-shadow:none}
#app:not(.team-active) .shell .content .pc-catalog-tabs{display:inline-flex;gap:0;padding:3px;border-radius:11px;background:var(--v4-sunk)}
#app:not(.team-active) .shell .content .pc-catalog-tabs .btn{height:30px;min-height:30px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:var(--v4-ink-2);font-size:13px;font-weight:500;box-shadow:none}
#app:not(.team-active) .shell .content .pc-catalog-tabs .btn:hover{background:var(--v4-seg-hover);color:var(--v4-ink)}
#app:not(.team-active) .shell .content .pc-catalog-tabs .btn.is-active{background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:var(--v4-seg-on)}
#app:not(.team-active) .shell .content .pl-state-owned{background:var(--v4-blue-bg);color:var(--v4-blue-deep)}
/* 消息 › 咨询 / 招聘会话：小标题 18/600；子导航成灰槽分段（当前页由顶部页签反推）；空态成居中卡片；「返回」降为文字链 */
#app:not(.team-active) .shell .content :is(.pw-page-head h2,#screen>h2){margin:0;font-size:18px;font-weight:600;line-height:1.35;color:var(--v4-ink)}
#app:not(.team-active) .shell .content .pw-page-head p,#app:not(.team-active) .shell .content #screen>h2+p{margin:4px 0 0;font-size:13px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .pw-page-head{align-items:baseline;gap:6px 16px;margin:4px 0 14px}
#app:not(.team-active) .shell .content #screen>h2+p{margin-bottom:14px}
#app:not(.team-active) .shell .content #screen>.pw-tabs{display:inline-flex;width:auto;height:auto;margin:0 0 18px;padding:3px;gap:0;border:0;border-radius:11px;background:var(--v4-sunk)}
#app:not(.team-active) .shell .content #screen>.pw-tabs>.btn{height:30px;min-height:30px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:var(--v4-ink-2);font-size:13px;font-weight:500;box-shadow:none}
#app:not(.team-active) .shell .content #screen>.pw-tabs>.btn:hover{background:var(--v4-seg-hover);color:var(--v4-ink)}
#app:not(.team-active) .main:has(#prototypeTabs [aria-current="page"][data-prototype-tab="recruitment/applications"]) #screen>.pw-tabs>.btn[data-route="recruitment/applications"]{background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:var(--v4-seg-on)}
#app:not(.team-active) .shell .content #screen>button.btn[data-route]:first-child{height:30px;min-height:30px;margin:0 0 6px -8px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:var(--v4-blue-deep);font-size:13px;font-weight:500;box-shadow:none}
#app:not(.team-active) .shell .content #screen>button.btn[data-route]:first-child::before{content:"‹";margin-right:4px}
#app:not(.team-active) .shell .content #screen>button.btn[data-route]:first-child:hover{background:var(--v4-blue-soft)}
#app:not(.team-active) .shell .content .pw-grid>p:only-child{grid-column:1/-1;margin:0;padding:40px 20px;border:1px dashed var(--v4-line-2);border-radius:16px;background:var(--v4-surface);text-align:center;font-size:13.5px;color:var(--v4-ink-2)}
/* 情报：每条情报的「看重叠」是行内动作，用蓝底次按钮，页面主按钮只留「发布情报」 */
#app:not(.team-active) .shell .content .wb-feed-item .btn-primary{height:30px;padding:0 12px;border:1px solid var(--v4-blue-line);background:var(--v4-blue-soft);color:var(--v4-blue-deep);font-size:12.5px;font-weight:600;box-shadow:none}
#app:not(.team-active) .shell .content .wb-feed-item .btn-primary:hover{background:var(--v4-blue-bg);color:var(--v4-blue-deep)}
#app:not(.team-active) .shell .content .wb-feed-item .btn-primary:active{background:var(--v4-blue-bg)}
#app:not(.team-active) .shell .content .wb-feed-item .btn-quiet{height:30px;font-size:12.5px}
#app:not(.team-active) .shell .content .wb-feed-item span:empty{display:none}
/* 绿色/橙色强调字（brand-green 2.6:1、amber-deep 4.0:1）收口到 AA 的 ok-ink / amber-ink；纯数字用正文墨色 */
#app:not(.team-active) .shell .content [style*="color:var(--brand-green)"]{color:var(--v4-ok-ink)!important}
#app:not(.team-active) .shell .content [style*="color:var(--amber-deep)"]{color:var(--v4-amber-ink)!important}
#app:not(.team-active) .shell .content .num[style*="color:var(--amber-deep)"]{color:var(--v4-ink)!important;font-weight:600!important}
#app:not(.team-active) .shell .content .tag[style*="amber"]{background:var(--v4-amber-bg)!important;color:var(--v4-amber-ink)!important}
/* 我的信任分：「我的资料」眉题与副标题重复，去掉 */
#app:not(.team-active) .shell .content .pw-trust-page>.pw-page-header{display:none}
/* 积分：整块是一张面板（行内 460px 宽）——给它卡片外观；数字 34/800 降为 28/600 */
#app:not(.team-active) .shell .pw-settings-shell #screen>div[style*="width:min(460px"]{width:min(560px,100%)!important;border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow)}
#app:not(.team-active) .shell .pw-settings-shell #screen>div[style*="width:min(460px"] .num{font-size:28px!important}
#app:not(.team-active) .shell .pw-settings-shell #screen>div[style*="width:min(460px"] h3{font-size:16px!important;font-weight:600}
/* 开放度：竞品块不用整片粉底，换成极浅危险色；危险色字压深到 AA */
#app:not(.team-active) .shell .content #secShield{border-bottom-color:var(--v4-danger-line)!important}
/* 创始伙伴：页内眉题 + 大标题与顶部页标题重复成两级标题，降为 18/600；「‹ 首页」与侧栏重复，去掉 */
#app:not(.team-active) .shell .pw-settings-shell .content .page-head{margin-bottom:14px}
#app:not(.team-active) .shell .pw-settings-shell .content .page-head h1{font-size:18px;font-weight:600;line-height:1.35}
/* 详情页（小组 / 会议 / 创始伙伴）页内标题区：眉题 12.5 蓝、标题 18/600、「‹ 返回」为蓝色文字链；概览数字成 16px 小卡 */
#app:not(.team-active) .shell .content .page-head h2{font-size:18px;font-weight:600;line-height:1.35}
#app:not(.team-active) .shell .content .page-head .kicker{font-size:12.5px;font-weight:500;letter-spacing:0;color:var(--v4-blue-deep)!important}
#app:not(.team-active) .shell .content .page-head .lede{font-size:13px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .content .page-head>.btn-quiet{height:30px;padding:0 8px;border-radius:8px;color:var(--v4-blue-deep);font-size:13px}
#app:not(.team-active) .shell .content .page-head>.btn-quiet:hover{background:var(--v4-blue-soft);color:var(--v4-blue-deep)}
#app:not(.team-active) .shell .content #screen>div:not(.card)>.stat-tile{padding:14px 16px;border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow)}
#app:not(.team-active) .shell .content #screen>div:not(.card)>.stat-tile .sv{font-size:24px;font-weight:600;line-height:1.2;color:var(--v4-ink)}
#app:not(.team-active) .shell .content #screen>div:not(.card)>.stat-tile .sk{margin-top:4px;font-size:13px;color:var(--v4-ink-2)}
#app:not(.team-active) .shell .pw-settings-shell .content .page-head>.btn-quiet:last-child{display:none}

/* 失败态：提示用危险墨色、带底色条；「重新加载」是 34px 次按钮而非裸文字 */
#app:not(.team-active) .pw-panel>p[role="alert"]{margin:8px 0 12px;padding:10px 12px;border:1px solid var(--v4-danger-line);border-radius:10px;background:var(--v4-danger-bg);color:var(--v4-danger-ink);font-size:13px;line-height:1.55}
#app:not(.team-active) .pw-panel>p[role="alert"]~button.btn[data-route]{height:34px;padding:0 14px;border:1px solid var(--v4-line-2);border-radius:10px;background:#fff;color:var(--v4-ink);font-size:13px;font-weight:500;box-shadow:none}
#app:not(.team-active) .pw-panel>p[role="alert"]~button.btn[data-route]:hover{background:var(--v4-blue-soft);border-color:var(--v4-blue-line);color:var(--v4-blue-deep)}
#app:not(.team-active) .pw-panel>p[role="alert"]~button.btn[data-route]:active{background:var(--v4-blue-bg)}
#app:not(.team-active) .pw-panel>p[role="alert"]~button.btn[data-route]:focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px}
/* 企业详情半屏：一屏一个主操作——保留「我的跟进」里的「加入客户盘」为主按钮，订阅动态与权限卡内的重复入口降为次按钮 */
body:has(#app:not(.team-active)[style*="block"]) #sheet #coFollow.btn-primary,
body:has(#app:not(.team-active)[style*="block"]) #sheet .btn-primary[data-addclient][style*="margin-top"]{background:var(--v4-blue-soft);border:1px solid var(--v4-blue-line);color:var(--v4-blue-deep);box-shadow:none}
body:has(#app:not(.team-active)[style*="block"]) #sheet #coFollow.btn-primary:hover,
body:has(#app:not(.team-active)[style*="block"]) #sheet .btn-primary[data-addclient][style*="margin-top"]:hover{background:var(--v4-blue-bg)}

/* 对话框打开时 toast 改从顶部出现，避免盖住对话框底部的主按钮（如「认领企业」的提示条压住「录入」） */
body:has(#app:not(.team-active)[style*="block"]):has(#modal.show) #toast{top:24px;bottom:auto;transform:translateX(-50%) translateY(-12px)}
body:has(#app:not(.team-active)[style*="block"]):has(#modal.show) #toast.show{transform:translateX(-50%)}

/* —— 手机（设计稿「首页 · 手机」）：56px 白顶栏、18/600 标题、指标 2×2 用 26/600、快速签约降为次按钮 —— */
@media(max-width:880px){
  #app:not(.team-active) .shell .topbar{min-height:56px;padding:8px 12px 8px 6px;gap:6px;background:var(--v4-surface);border-bottom:1px solid var(--v4-border);box-shadow:none;backdrop-filter:none}
  #app:not(.team-active) .shell .topbar .menu-btn{width:44px;height:44px;border:0;background:transparent}
  #app:not(.team-active) #prototypePageTitle{font-size:18px;font-weight:600;line-height:1.35;color:var(--v4-ink)}
  #app:not(.team-active) #prototypePageSubtitle{font-size:12.5px;color:var(--v4-ink-2)}
  #app:not(.team-active) .shell .pw-tabs{padding:0 16px;gap:20px;background:var(--v4-surface);overflow-x:auto;scrollbar-width:none}
  #app:not(.team-active) .shell .content .wb-kpi{padding:12px 14px;border-bottom-color:var(--v4-line-3)}
  #app:not(.team-active) .shell .content .wb-kpi-v{font-size:26px}
  #app:not(.team-active) .shell .content .wb-kpi-s{font-size:12px}
  #app:not(.team-active) .ph-home{gap:14px}
  #app:not(.team-active) .ph-home .ph-card{padding:14px 16px 16px}
  #app:not(.team-active) .ph-home .ph-header-actions .ph-primary{flex:0 0 auto;height:36px;padding:0 14px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);color:var(--v4-ink);font-size:13px!important;font-weight:500;box-shadow:none}
  #app:not(.team-active) .ph-home .ph-header-actions .ph-primary:active{background:var(--v4-press)}
  #app:not(.team-active) .ph-home :is(.ph-actions,.ph-onboarding)>.ph-card-head+.ph-action-row .ph-ghost{min-height:44px;height:44px}
  #app:not(.team-active) .ph-home .ph-discover-grid{gap:12px}
  #app:not(.team-active) .shell .content .ph-home .ph-opps{padding:0}
  #app:not(.team-active) .ph-home .ph-opps>.ph-card-head{padding:14px 16px 10px}
  #app:not(.team-active) .shell .content .lota-customer-table td{padding:10px 12px!important}
  #app:not(.team-active) .shell .content .lota-customer-table th{padding:8px 12px!important}
  #app:not(.team-active) .shell .content .lrow.flat{padding:12px 16px!important}
  #app:not(.team-active) .mnav button.on{color:var(--v4-blue-deep)}
  #app:not(.team-active) .shell .content #pnBody>div:first-child>.input-group{flex:1 0 100%;width:auto!important}
}

/* 窄屏首页（设计稿「首页 · 手机」）：今日行动去图标，首条主按钮整行 44px，其余「查看」为文字链；重叠网 2×2 色块 */
@media(max-width:720px){
  #app:not(.team-active) .ph-home .ph-actions{padding:0}
  #app:not(.team-active) .ph-home .ph-actions>.ph-card-head{padding:14px 16px 10px;margin:0}
  #app:not(.team-active) .ph-home .ph-actions>.ph-action-row{min-height:0;padding:12px 16px;gap:10px}
  #app:not(.team-active) .ph-home .ph-actions>p.ph-sub{padding:0 16px 14px}
  #app:not(.team-active) .ph-home .ph-actions>.ph-link{display:inline-block;margin:6px 16px 14px}
  #app:not(.team-active) .ph-home .ph-action-row .ph-icon{display:none}
  #app:not(.team-active) .ph-home .ph-row-text p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  #app:not(.team-active) .ph-home .ph-action-row .ph-ghost{min-height:44px;height:44px;padding:0 4px;border:0;background:transparent;color:var(--v4-blue-deep);font-weight:500}
  #app:not(.team-active) .ph-home .ph-action-row .ph-ghost:active{background:var(--v4-press)}
  #app:not(.team-active) .ph-home :is(.ph-actions,.ph-onboarding)>.ph-card-head+.ph-action-row{flex-wrap:wrap}
  #app:not(.team-active) .ph-home :is(.ph-actions,.ph-onboarding)>.ph-card-head+.ph-action-row .ph-row-text{flex:1 1 100%}
  #app:not(.team-active) .ph-home :is(.ph-actions,.ph-onboarding)>.ph-card-head+.ph-action-row .ph-ghost{flex:1 0 100%;padding:0 16px;border-radius:11px;background:var(--v4-blue);color:var(--v4-surface);font-weight:600}
  #app:not(.team-active) .ph-home .ph-quads{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #app:not(.team-active) .ph-home .ph-quad{padding:10px 12px;text-align:left;align-items:flex-start}
  #app:not(.team-active) .ph-home .ph-quad.ph-q-blue{background:var(--v4-blue-bg)}
  #app:not(.team-active) .ph-home .ph-quad.ph-q-green{background:var(--v4-ok-bg)}
  #app:not(.team-active) .ph-home .ph-quad.ph-q-yellow{background:var(--v4-amber-bg)}
  #app:not(.team-active) .ph-home .ph-quad span{order:0;font-size:12.5px}
  #app:not(.team-active) .ph-home .ph-quad strong{font-size:22px}
}

/* 伙伴主页背书：长署名收缩，窄屏将合作类型移到下一行。 */
#app:not(.team-active) .partner-endorsement-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app:not(.team-active) .partner-endorsement-fixed{flex:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:720px){
  #app:not(.team-active) [data-partner-endorsement]{padding-left:12px!important;padding-right:12px!important}
  #app:not(.team-active) [data-endorsement-row]{padding-left:0;padding-right:0}
  #app:not(.team-active) [data-endorsement-row]>div:first-child{flex-wrap:wrap;gap:4px!important}
  #app:not(.team-active) [data-endorsement-row] .cmark{width:28px;height:28px}
  #app:not(.team-active) [data-endorsement-row] .tag{padding:0 5px}
  #app:not(.team-active) [data-endorsement-row] .muted.partner-endorsement-fixed{flex-basis:100%}
}

@media(prefers-reduced-motion:reduce){
  #app:not(.team-active) .shell :is(.nav-item,.btn,.chip,.pw-tabs a,.pw-tabs button,.toggle,.wb-tab,.pn-row,.lrow,.ph-ghost,.ph-quad,.ph-promo,.ph-discover-card,#refStrip){transition:none}
  #app:not(.team-active) .ph-home .ph-quad:not(:disabled):active{filter:none}
}
#app:not(.team-active) .ph-home .ph-row-text p.ph-invite-names{display:flex;flex-wrap:wrap;white-space:normal;overflow:visible}
#app:not(.team-active) .ph-home .ph-invite-item{display:flex;min-width:0;max-width:100%}
#app:not(.team-active) .ph-home .ph-invite-name{min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;background:transparent;padding:0;color:var(--v4-blue-deep);text-decoration:underline}
