/* 企业工作台 v4（设计稿画布「企业工作台」13 块，https://claude.ai/artifact/Jdbs7GCsgFQapurfzT4uZe）一比一落地层。
   只作用于 #app.team-active：平铺外框、220px 白侧栏、60px 白顶栏、正文内 22px 页标题、16px 卡片、6px 进度条。
   数值逐项取自设计稿（.impeccable.md v2 token），只改外观，不改路由、数据与授权。
   本文件由 index.html 静态引入；按需注入的 prototype-enterprise-presentation.css 晚于它加载，
   所以这里的选择器都以 #app.team-active 开头，用 id 优先级而不是加载顺序取胜。 */
#app.team-active,body:has(#app.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-bar:rgb(214 150 40);
  --v4-ok-bg:rgb(231 248 239);--v4-ok-ink:rgb(11 110 60);--v4-danger:rgb(214 69 92);--v4-danger-line:rgb(240 200 208);--v4-danger-ink:rgb(184 47 72);
  --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;
  /* 网页操作主色（2026-10-29 定）：设计稿蓝 rgb(56 112 248) 上白字只有 4.34:1，压深到 rgb(47 100 232)（白字 5.1:1），与个人版 personal-v4 同值。
     :root 的 --primary/--ring/--teal 已用旧 --brand-blue 求值，改 --brand-blue 不会联动，须逐个指回；挂到 body 上，.shell 之外的提示条、弹窗、详情页也一起换 */
  --primary:var(--v4-blue);--brand-blue:var(--v4-blue);--teal:var(--v4-blue);--ring:var(--v4-blue);
  --teal-deep:var(--v4-blue-deep);--ent-accent:var(--v4-blue);--ent-accent-hover:var(--v4-blue-deep);
}

/* 设计稿正文用浏览器默认行高（PingFang SC 约 1.4），线上原为 1.6，整体会显得松散。 */
#app.team-active .shell,#app.team-active .shell .team-workspace{line-height:1.4}

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

/* —— 侧栏 —— */
#app.team-active .shell .rail{background:var(--v4-surface);border-right:1px solid var(--v4-border);padding:18px 14px;gap:14px}
#app.team-active .shell .brand{min-height:26px;height:auto;padding:2px 6px;gap:10px}
#app.team-active .brand .wm{font-size:16px;font-weight:600;letter-spacing:0}
#app.team-active .brand .mark,#app.team-active .brand .mark svg{width:26px;height:26px}
#app.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.team-active .shell .workspace-switch button{height:30px;border-radius:7px;font-size:13px;color:var(--v4-ink-2);font-weight:400}
#app.team-active .shell .workspace-switch button[aria-pressed="true"]{background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:0 1px 2px rgba(31,36,51,.08)}
#app.team-active #nav{gap:2px}
#app.team-active .shell :is(.team-org-caption,.nav-sec){padding:4px 10px;font-size:12px;font-weight:400;color:var(--v4-ink-2);letter-spacing:0}
#app.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.team-active .shell .nav-item svg{width:16px;height:16px}
#app.team-active .shell .nav-item:hover{background:rgb(247 248 251);color:var(--v4-ink)}
#app.team-active .shell .nav-item:active{background:var(--v4-sunk)}
#app.team-active .shell .nav-item.on{background:var(--v4-blue-bg);color:var(--v4-blue-deep);font-weight:600;box-shadow:none}
#app.team-active .shell .nav-item.on svg{color:currentColor}
#app.team-active .shell .nav-item .badge{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--v4-blue);font-size:11px;font-variant-numeric:tabular-nums}
#app.team-active .shell .nav-item:focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px}
#app.team-active .shell .rail-foot{padding-top:10px;border-top:1px solid var(--v4-line-3)}
#app.team-active .shell .rail-foot .me-row{padding:0 8px;gap:10px}
#app.team-active .shell .rail-foot .me-row .avatar{width:32px;height:32px;font-size:13px}

/* —— 顶栏：60px 白条只放搜索与动作，页标题落到正文首行 ——
   顶栏用 flex 换行：第一行是搜索 + 动作，标题块 order 靠后并占满一行；白条由背景渐变画出，不加额外节点。 */
@media(min-width:881px){
  #app.team-active .main{padding:0;gap:0;background:var(--v4-paper)}
  #app.team-active .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.team-active .shell .topbar .rail-search{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.team-active .shell .topbar .rail-search kbd{padding:3px 5px;border:0;border-radius:5px;background:var(--v4-sunk);font-size:11px;line-height:1;color:var(--v4-ink-2)}
  #app.team-active .shell .topbar>:is(.icon-btn,.btn){order:2}
  #app.team-active .shell .topbar>.pw-topbar-heading{order:3;flex:1 0 100%;max-width:1184px;padding:24px 0 0}
  #app.team-active #prototypePageTitle{font-size:22px;font-weight:600;line-height:1.3;letter-spacing:.2px}
  #app.team-active #prototypePageSubtitle{margin:6px 0 0;font-size:14.5px;line-height:1.5;color:var(--v4-ink-strong)}
  #app.team-active .shell .pw-tabs{margin:16px 28px 0;padding:0;height:40px;min-height:40px;gap:24px;border:0;box-shadow:inset 0 -1px 0 var(--v4-border);background:transparent;align-items:stretch;max-width:1184px;overflow-y:hidden}
  #app.team-active .shell .content,#app.team-active .shell .content.wide{padding:16px 28px 40px;max-width:1240px;box-sizing:border-box}
}
#app.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.team-active .shell .topbar .icon-btn svg{width:16px;height:16px}
/* 顶栏动作一律是次按钮：一屏只留一个主按钮给页面自己的主任务。 */
#app.team-active .shell .topbar .btn,#app.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.team-active .shell .topbar :is(.icon-btn,.btn):hover{background:rgb(247 248 251);border-color:rgb(214 220 232)}
#app.team-active .shell .topbar :is(.icon-btn,.btn):active{background:rgb(240 242 246)}

/* —— 页签：40px、2px 下划线 —— */
#app.team-active .shell .pw-tabs a,#app.team-active .shell .pw-tabs 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}
#app.team-active .shell .pw-tabs a:hover,#app.team-active .shell .pw-tabs button:hover{background:transparent;color:var(--v4-ink)}
#app.team-active .shell .pw-tabs a[aria-current="page"],#app.team-active .shell .pw-tabs button[aria-current="page"]{background:transparent;border:0;border-bottom:2px solid var(--v4-blue);color:var(--v4-ink);font-weight:600}
#app.team-active .shell .pw-tabs :is(a,button):focus-visible{outline:2px solid var(--v4-blue);outline-offset:-2px}

/* —— 卡片 / 面板 —— */
#app.team-active .shell .content :is(.card,.pe-panel,.pe-stat,.pw-card,.pw-section,.pw-panel,.panel,.tblcard){border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow)}
#app.team-active .shell .content .pe-panel{padding:16px 20px 18px}
#app.team-active .shell .content :is(.pe-panel,.card,.pw-card,.pw-section) h2{font-size:16px;font-weight:600;line-height:1.4;color:var(--v4-ink)}
#app.team-active .shell .content .pe-workbench{gap:16px;color:var(--v4-ink)}
#app.team-active .shell .content .pe-section-heading{margin-bottom:12px}
#app.team-active .shell .content :is(.pe-muted,.pe-section-heading>span,.pp-term){color:var(--v4-ink-2);font-size:12.5px}

/* —— 概览数字格 —— */
#app.team-active .shell .content .pe-overview{gap:12px}
#app.team-active .shell .content .pe-stat{padding:14px 16px}
#app.team-active .shell .content .pe-stat strong{font-size:24px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums;color:var(--v4-ink)}
#app.team-active .shell .content .pe-stat small{font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .pe-stat>span{font-size:13px;color:var(--v4-ink-strong)}
/* KPI strips share one card; standalone .pe-stat cards retain the rule above. */
#app.team-active .shell .content .pe-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow);overflow:hidden}
#app.team-active .shell .content .pe-kpis:has(>.pe-stat:last-child:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
#app.team-active .shell .content .pe-kpis:has(>.pe-stat:last-child:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}
#app.team-active .shell .content .pe-kpis>.pe-stat{border:0;border-radius:0;box-shadow:none;padding:14px 16px}
#app.team-active .shell .content .pe-kpis>.pe-stat+.pe-stat{border-left:1px solid var(--v4-line-3)}
#app.team-active .shell .content .pe-kpis .pe-stat-i{display:none}
#app.team-active .shell .content .pe-kpis .pe-stat>:is(div,button){margin:4px 0 2px}
#app.team-active .shell .content .pe-kpis .pe-stat p{font-size:12.5px;color:var(--v4-ink-2)}
@media(max-width:1100px){
  #app.team-active .shell .content .pe-kpis,#app.team-active .shell .content .pe-kpis:has(>.pe-stat:last-child:nth-child(3)){grid-template-columns:repeat(2,minmax(0,1fr))}
  #app.team-active .shell .content .pe-kpis>.pe-stat:nth-child(2n+1){border-left:0}
  #app.team-active .shell .content .pe-kpis>.pe-stat:nth-child(n+3){border-top:1px solid var(--v4-line-3)}
  #app.team-active .shell .content .pe-kpis>.pe-stat:last-child:nth-child(3){grid-column:1/-1}
}

#app.team-active .shell .content .wb-kpis{border-color:var(--v4-border);box-shadow:var(--v4-card-shadow)}
#app.team-active .shell .content .wb-kpi{padding:14px 16px;gap:8px;border-right-color:var(--v4-line-3)}
#app.team-active .shell .content .wb-kpi-h{font-size:13px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .wb-kpi-v{font-size:24px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums}
#app.team-active .shell .content .wb-kpi-s{font-size:12.5px;color:var(--v4-ink-2)}

/* —— 按钮 —— */
#app.team-active .shell .content :is(.btn.primary,.btn-primary){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.team-active .shell .content :is(.btn.primary,.btn-primary):hover{background:var(--v4-blue-deep)}
#app.team-active .shell .content :is(.btn.primary,.btn-primary):active{background:var(--v4-blue-press)}
#app.team-active .shell .content .btn:not(.primary):not(.btn-primary):not(.danger){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;transition:background-color .15s,border-color .15s}
#app.team-active .shell .content .btn:not(.primary):not(.btn-primary):not(.danger):hover{background:rgb(247 248 251);border-color:rgb(214 220 232)}
#app.team-active .shell .content .btn:not(.primary):not(.btn-primary):not(.danger):active{background:rgb(240 242 246)}
#app.team-active .shell .content .btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
#app.team-active .shell .content :is(.btn,button):focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px}

/* —— 胶囊 / 标签 —— */
#app.team-active .shell .content .pill{display:inline-flex;align-items:center;gap:6px;padding:2px 9px;border-radius:999px;background:var(--v4-sunk);color:var(--v4-ink-strong);font-size:12.5px;font-weight:500;line-height:1.5}
#app.team-active .shell .content .pill.ok{background:var(--v4-ok-bg);color:var(--v4-ok-ink)}
#app.team-active .shell .content .pill.warn{background:var(--v4-amber-bg);color:var(--v4-amber-ink)}

/* —— 分段切换：灰槽 + 白色选中块 —— */
#app.team-active .shell .content :is(.seg,.toggle-group[data-variant="segmented"]){display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--v4-sunk)}
#app.team-active .shell .content .seg button,#app.team-active .shell .content .toggle-group[data-variant="segmented"]>.toggle{height:30px;padding:0 12px;border:0;border-radius:8px;background:transparent;font-size:13px;color:var(--v4-ink-strong);box-shadow:none}
#app.team-active .shell .content .seg button.on,#app.team-active .shell .content .toggle-group[data-variant="segmented"]>.toggle[aria-checked="true"]{background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:0 1px 2px rgba(31,36,51,.08)}

/* —— 表格 —— */
#app.team-active .shell .content .pe-table-wrap{border:0;border-radius:0}
#app.team-active .shell .content .pe-table{font-size:14px;color:var(--v4-ink)}
#app.team-active .shell .content .pe-table th{padding:8px 16px;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px;font-weight:400}
#app.team-active .shell .content .pe-table td{height:auto;padding:11px 16px;border-top:1px solid var(--v4-line-3)}
#app.team-active .shell .content .pe-table tbody tr:hover td{background:rgb(250 251 253)}

/* —— 文字链 / 次级说明 —— */
#app.team-active .shell .content .pe-text-button{font-size:13px;font-weight:500;color:var(--v4-blue-deep)}
#app.team-active .shell .content .pe-text-button:hover{color:var(--v4-ink);text-decoration:underline}
#app.team-active .shell .content .metric-label{font-size:12.5px;line-height:1.5;color:var(--v4-ink-2)}

/* —— 总览（设计稿「Main」）：指标条、合作企业表、待你处理、近期动态 —— */
#app.team-active .shell .content .enterprise-bi{--bi-ink:var(--v4-ink);--bi-muted:var(--v4-ink-2);--bi-line:var(--v4-border);--bi-accent:var(--v4-blue-deep);--bi-hover:rgb(250 251 253)}
#app.team-active .shell .content .bi-kpis{border-color:var(--v4-border);box-shadow:var(--v4-card-shadow)}
#app.team-active .shell .content .bi-kpis article{display:flex;flex-direction:column;gap:4px;padding:14px 16px}
#app.team-active .shell .content .bi-kpis article+article{border-left-color:var(--v4-line-3)}
#app.team-active .shell .content .bi-kpis h3{margin:0;font-size:13px;font-weight:400;color:var(--v4-ink-strong)}
#app.team-active .shell .content .bi-kpi{margin-top:0;font-size:24px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums}
#app.team-active .shell .content .bi-kpis .bi-zero{color:var(--v4-ink-2)}
#app.team-active .shell .content .bi-section-head{margin:20px 0 10px;align-items:center}
#app.team-active .shell .content .bi-section-head h2{margin:0;font-size:16px;font-weight:600}
#app.team-active .shell .content .bi-section-head>span{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .bi-matrix-wrap{border-color:var(--v4-border);box-shadow:var(--v4-card-shadow)}
#app.team-active .shell .content .bi-matrix{font-size:14px}
#app.team-active .shell .team-workspace .bi-matrix :where(th,td){padding:11px 16px;border-bottom-color:var(--v4-line-3)}
#app.team-active .shell .team-workspace .bi-matrix thead th{padding:0;background:var(--v4-tile)}
#app.team-active .shell .content .bi-matrix thead button{padding:8px 16px;font-size:12.5px;font-weight:400;color:var(--v4-ink-2)}
#app.team-active .shell .content .bi-matrix td .bi-value{font-size:14px;font-weight:600}
#app.team-active .shell .content .bi-partner{font-size:14px}
#app.team-active .shell .content .pe-home-grid{gap:20px}
#app.team-active .shell .content .pe-todos{padding:0;overflow:hidden}
#app.team-active .shell .content .pe-todos>h2,#app.team-active .shell .content .pe-recent>h2{margin:0;padding:16px 20px 12px;font-size:16px}
#app.team-active .shell .content .pe-recent{padding:0 0 6px;overflow:hidden}
#app.team-active .shell .content .pe-todos .card-head{margin:0;padding:12px 20px 8px;border-top:1px solid var(--v4-line-3)}
#app.team-active .shell .content .pe-todos .card-head h2{margin:0;font-size:13px;font-weight:600;color:var(--v4-ink-strong)}
#app.team-active .shell .content .pe-todos .card-head .metric-label{margin:2px 0 0}
#app.team-active .shell .content .pe-todos .list{gap:0}
#app.team-active .shell .content .pe-todos [data-todo-errors]:not(:empty){padding:0 20px 12px}
#app.team-active .shell .content .pe-recent [data-pe-recent]>.pe-unavailable{padding:10px 20px}
#app.team-active .shell .content .pe-todos [data-home-offboards]>.list-row{padding:14px 20px}
#app.team-active .shell .content .team-request-row{display:flex;align-items:center;gap:14px;margin:0;padding:14px 20px;border:0;border-top:1px solid var(--v4-line-3);border-radius:0;background:transparent;box-shadow:none}
#app.team-active .shell .content .team-request-row:hover{background:rgb(250 251 253)}
#app.team-active .shell .content .team-request-row strong{font-size:14.5px;font-weight:600}
#app.team-active .shell .content .team-request-row .metric-label{margin:3px 0 0}
#app.team-active .shell .content .team-request-row .actions{margin-left:auto;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:768px){#app.team-active .shell .content .team-request-row{flex-wrap:wrap}#app.team-active .shell .content .team-request-row>div:first-child{flex:1 1 100%;min-width:0}#app.team-active .shell .content .team-request-row .actions{margin-left:0;justify-content:flex-start}}
#app.team-active .shell .content .pe-todos .list~:is(button,.btn,.pe-text-button){margin:4px 20px 12px}
/* 一屏只有一个主按钮：待办里只有排在最前的那条用主色，其余降为次按钮。 */
#app.team-active .shell .content .pe-todos :is(.list>article~article,div:has(>.card-head)~div) .btn.primary{border:1px solid var(--v4-line-2);background:var(--v4-surface);color:var(--v4-ink);font-weight:500;box-shadow:none}
#app.team-active .shell .content .pe-todos :is(.list>article~article,div:has(>.card-head)~div) .btn.primary:hover{background:rgb(247 248 251)}
#app.team-active .shell .content .pe-todos section.card{margin:0;padding:12px 20px 14px;border:0;border-top:1px solid var(--v4-line-3);border-radius:0;box-shadow:none}
#app.team-active .shell .content .pe-todos section.card h3{margin:0 0 4px;font-size:13px;font-weight:600;color:var(--v4-ink-strong)}
#app.team-active .shell .content .pe-todos section.card p{font-size:13.5px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .rc-change{gap:2px;margin:0 20px;padding:10px 0;border-top:1px solid var(--v4-line-3)}
#app.team-active .shell .content .rc-title{font-size:13.5px;font-weight:500;color:var(--v4-ink)}
#app.team-active .shell .content .rc-head time{font-size:12px;color:var(--v4-ink-2);font-variant-numeric:tabular-nums}
#app.team-active .shell .content .rc-body{font-size:12.5px;line-height:1.5;color:var(--v4-ink-2)}
#app.team-active .shell .content .rc-status{padding:1px 7px;font-size:12px;line-height:1.5;background:var(--v4-sunk);color:var(--v4-ink-strong)}
#app.team-active .shell .content .rc-status[data-tone="wait"]{background:var(--v4-amber-bg);color:var(--v4-amber-ink)}
#app.team-active .shell .content .rc-status[data-tone="done"]{background:var(--v4-ok-bg);color:var(--v4-ok-ink)}
#app.team-active .shell .content .rc-action{font-size:12.5px}
#app.team-active .shell .content .pe-recent>.pe-text-button{margin:6px 20px 6px}

/* —— 合作企业：分组切换走分段控件，卡片按设计稿「Main · 合作企业」的密度 —— */
#app.team-active .shell .content .partner-sub-tabs,#app.team-active .shell .content .partner-tab-row>.partner-sub-tabs{display:inline-flex;align-self:flex-start;gap:2px;padding:3px;border-radius:10px;background:var(--v4-sunk)}
#app.team-active .shell .content .partner-sub-tabs .btn,#app.team-active .shell .content .partner-sub-tabs .btn.primary,#app.team-active .shell .content .partner-sub-tabs .btn:not(.primary):not(.btn-primary):not(.danger){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}
#app.team-active .shell .content .partner-sub-tabs .btn.primary{background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:0 1px 2px rgba(31,36,51,.08)}
#app.team-active .shell .content .partner-sub-tabs .btn:not(.primary):not(.btn-primary):not(.danger):hover{background:rgb(255 255 255/.6)}
#app.team-active .shell .content .partner-sub-tabs .partner-tab-count{padding:0;margin-left:4px;background:transparent;color:var(--v4-ink-2);font-size:12px;font-weight:500}
#app.team-active .shell .content .team-partner-card{display:flex;flex-direction:column;gap:12px;padding:16px 20px}
#app.team-active .shell .content .team-partner-card .card-head{align-items:center;gap:10px;margin:0}
#app.team-active .shell .content .partner-company-avatar{width:32px;height:32px;border-radius:9px;background:var(--v4-blue-bg);color:var(--v4-blue-deep);font-size:13px;font-weight:600}
#app.team-active .shell .content .team-partner-card h2{font-size:14.5px;font-weight:600}
#app.team-active .shell .content .partner-metrics{gap:8px}
#app.team-active .shell .content .partner-metrics>div{padding:10px 12px;border-radius:11px;background:var(--v4-tile)}
#app.team-active .shell .content .partner-metrics dt{font-size:12px;color:var(--v4-ink-2)}
#app.team-active .shell .content .partner-metrics dd,#app.team-active .shell .content .partner-metric-link{font-size:18px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums;color:var(--v4-ink)}
#app.team-active .shell .content .partner-metric-link:hover{color:var(--v4-blue-deep)}
#app.team-active .shell .content .partner-card-actions{padding-top:0;gap:8px}
#app.team-active .shell .content .pe-page-actions{gap:8px}

/* —— 协作分析（设计稿「Analytics」）：子页签走分段控件，筛选 36px，漏斗行收紧、条形 20px —— */
@media (min-width:601px){
  #app.team-active .shell .content .ea-tabs{display:inline-flex;align-self:flex-start;gap:2px;margin:0 0 16px;padding:3px;border:0;border-radius:10px;background:var(--v4-sunk)}
  #app.team-active .shell .content .ea-tabs button{min-height:30px;height:30px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--v4-ink-strong);font-size:13px;font-weight:400}
  #app.team-active .shell .content .ea-tabs button[aria-selected=true]{border:0;background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:0 1px 2px rgba(31,36,51,.08)}
  #app.team-active .shell .content .ea-tabs button:not([aria-selected=true]):hover{background:rgb(255 255 255/.6)}
  #app.team-active .shell .content .ea-filter-primary{gap:10px;align-items:end}
  #app.team-active .shell .content .ea-filter-primary>label{gap:4px;font-size:12.5px;color:var(--v4-ink-2)}
  #app.team-active .shell .content .ea-filter-primary :is(select,input){height:36px;min-height:36px;padding:0 10px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);color:var(--v4-ink);font-size:13px}
  #app.team-active .shell .content .ea-filter-primary :is(select,input):focus-visible{outline:2px solid var(--v4-blue);outline-offset:1px}
  #app.team-active .shell .content .ea-filter-primary .btn{height:36px;min-height:36px}
  #app.team-active .shell .content .ea-advanced summary{height:30px;display:inline-flex;align-items:center;padding:0 12px;border:1px solid var(--v4-line-2);border-radius:999px;font-size:12.5px;color:var(--v4-ink-strong)}
  #app.team-active .shell .content .ea-filter-grid{border-color:var(--v4-border);border-radius:12px}
  #app.team-active .shell .content .ea-freshness{margin:12px 0 16px;font-size:12.5px;color:var(--v4-ink-2)}
}
#app.team-active .shell .content .ea-panel{border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow)}
#app.team-active .shell .content .ea h3{font-size:16px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .ea-heading p{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ea-funnel-panel .ea-heading{padding:16px 20px 8px}
#app.team-active .shell .content .ea-funnel{padding:0 12px 12px;gap:2px}
#app.team-active .shell .content .ea-funnel button{min-height:52px;padding:6px 8px;border:0;border-radius:8px}
#app.team-active .shell .content .ea-funnel button:hover,#app.team-active .shell .content .ea-funnel button[aria-pressed=true]{background:var(--v4-blue-soft)}
#app.team-active .shell .content .ea-funnel button:focus-visible{outline:2px solid var(--v4-blue);outline-offset:-2px}
#app.team-active .shell .content .ea-stage-name b{font-size:14px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .ea-stage-name small{font-size:12.5px;line-height:1.4;color:var(--v4-ink-2)}
#app.team-active .shell .content .ea-stage-name i{color:var(--v4-ink-2);font-style:normal;font-size:12.5px}
#app.team-active .shell .content .ea-bar{height:20px;border-radius:0 4px 4px 0;background:var(--v4-tile)}
#app.team-active .shell .content .ea-bar>span{border-radius:0 4px 4px 0;background:var(--v4-blue)}
#app.team-active .shell .content .ea-funnel button>strong{font-size:18px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .ea-funnel button>small{font-size:12px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ea-funnel-aside .ea-heading{padding:16px 20px 8px}
#app.team-active .shell .content .ea-losses{font-size:13.5px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .ea-metrics{border-color:var(--v4-border);border-radius:16px;box-shadow:var(--v4-card-shadow)}
#app.team-active .shell .content .ea-metrics article{border-right-color:var(--v4-line-3)}
#app.team-active .shell .content .ea-metrics span{font-size:13px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .ea-metrics strong{font-size:24px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .ea-resource-summary>summary,#app.team-active .shell .content .ea-method-note>summary{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ea th{background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px;font-weight:500}
#app.team-active .shell .content .ea td{height:auto;padding:11px 16px;font-size:14px}
@media (prefers-reduced-motion:reduce){#app.team-active .shell .content :is(.ea-tabs button,.ea-funnel button){transition:none}}

/* —— 客户列表（设计稿「Customers」）：企业侧保留页标题，分组走分段控件，表格行 11px —— */
@media(min-width:881px){
  #app.team-active .shell .main.pw-list-shell>.topbar{padding:0 28px}
  #app.team-active .main.pw-list-shell>.topbar>#searchBtn{margin:12px auto 12px 0}
  #app.team-active .main.pw-list-shell>.topbar>.pw-topbar-heading{position:static;width:auto;height:auto;margin:0;padding:24px 0 0;overflow:visible;clip:auto;clip-path:none;white-space:normal;flex:1 0 100%}
}
#app.team-active .shell .content .ec.ec-fit .ec-listbar .ec-viewbar{gap:20px;padding:0;border:0;border-bottom:1px solid var(--v4-line-3);border-radius:0;background:transparent}
#app.team-active .shell .content .ec.ec-fit .ec-viewbar button{min-height:38px;height:38px;padding:0 0 9px;border-bottom:2px solid transparent;border-radius:0;color:var(--v4-ink-strong);font-size:13px;font-weight:400}
#app.team-active .shell .content .ec.ec-fit .ec-viewbar button:hover:not(:disabled){background:transparent;color:var(--v4-ink)}
#app.team-active .shell .content .ec.ec-fit .ec-viewbar :is(.active,[aria-pressed=true]),#app.team-active .shell .content .ec.ec-fit .ec-viewbar :is(.active,[aria-pressed=true]):hover{border-bottom-color:var(--v4-ink);background:transparent;color:var(--v4-ink);font-weight:600;box-shadow:none}
#app.team-active .shell .content .ec.ec-fit .ec-viewbar .ec-add-view{color:var(--v4-blue-deep)}
#app.team-active .shell .content .ec :is(.ec-filters,.ec-actions)>button,#app.team-active .shell .content .ec .ec-secondary-action,#app.team-active .shell .content .ec .ec-more>summary,#app.team-active .shell .content .ec-pagination button{height:34px;min-height:34px;padding:0 12px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);color:var(--v4-ink-strong);font-size:13px;font-weight:500}
#app.team-active .shell .content .ec :is(.ec-filters,.ec-actions)>button:hover,#app.team-active .shell .content .ec .ec-secondary-action:hover,#app.team-active .shell .content .ec-pagination button:hover:not(:disabled){background:rgb(247 248 251)}
#app.team-active .shell .content .ec .ec-overlap-toggle{border-radius:999px}
#app.team-active .shell .content .ec .ec-overlap-toggle[aria-pressed=true]{border-color:var(--v4-blue-line);background:var(--v4-blue-soft);color:var(--v4-blue-deep)}
#app.team-active .shell .content .ec .ec-split .ec-primary{height:36px;padding:0 14px;border:0;border-radius:11px 0 0 11px;background:var(--v4-blue);color:var(--v4-surface);font-size:13.5px;font-weight:600}
#app.team-active .shell .content .ec .ec-split .ec-split-menu>summary{height:36px;border:0;border-left:1px solid rgb(255 255 255/.28);border-radius:0 11px 11px 0;background:var(--v4-blue);color:var(--v4-surface)}
#app.team-active .shell .content .ec .ec-split:has(>[data-new][hidden]) .ec-split-menu>summary{border:0;border-radius:var(--r);padding:0 14px}
#app.team-active .shell .content .ec .ec-split{border-radius:11px;box-shadow:var(--v4-btn-shadow)}
#app.team-active .shell .content .ec .ec-split .ec-primary:hover,#app.team-active .shell .content .ec .ec-split .ec-split-menu>summary:hover{background:var(--v4-blue-press)}
#app.team-active .shell .content .ec .ec-search{height:34px;border:1px solid var(--v4-line-2);border-radius:11px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ec .ec-search input{height:32px;font-size:13px}
#app.team-active .shell .content .ec .ec-search input:focus{outline:none;box-shadow:none}
#app.team-active .shell .content .ec .ec-search:focus-within{border-color:var(--v4-ink-3)}
#app.team-active .shell .content .ec .ec-result-count{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ec .ec-result-count strong{font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .lota-customer-table{border:0;border-radius:6px;box-shadow:none}
#app.team-active .shell .content .lota-customer-table th{height:auto;padding:8px 16px;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.team-active .shell .content .lota-customer-table td{height:auto;padding:11px 16px;color:var(--v4-ink-strong);font-size:14px;border-bottom:1px solid var(--v4-line-3);border-right:0}
/* 分组行由内部切换按钮自带内边距（customer-table.css），这里不再叠加单元格内边距，避免分组标题行比数据行还高。 */
#app.team-active .shell .content .lota-customer-table .lct-group-row td{padding:0}
#app.team-active .shell .content .lota-customer-table :is(th,td).lct-check{padding:0;width:40px}
#app.team-active .shell .content .lota-customer-table .lct-name{color:var(--v4-ink);font-weight:500}
#app.team-active .shell .content .lota-customer-table .lct-subtitle{font-size:12px;color:var(--v4-ink-2)}
#app.team-active .shell .content .lota-customer-table tbody tr:hover,#app.team-active .shell .content .lota-customer-table tbody tr:hover td[data-column=companyName]{background:rgb(250 251 253)}
#app.team-active .shell .content .lota-customer-table tbody tr:has(input[data-select]:checked),#app.team-active .shell .content .lota-customer-table tbody tr:has(input[data-select]:checked) td[data-column=companyName]{background:var(--v4-blue-soft)}
#app.team-active .shell .content .lota-customer-table .lct-link{color:var(--v4-blue-deep)}
#app.team-active .shell .content .ec-pagination{background:var(--v4-paper);font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ec-pagination select{height:34px;border:1px solid var(--v4-line-2);border-radius:11px}

/* —— 协作进展（设计稿「Progress」）：页内页签同 40px 下划线，视图切换走分段控件，看板列 16px 圆角、卡片 12px —— */
#app.team-active .shell .content .cpt-tabs{display:flex;gap:24px;height:40px;margin:0 0 16px;border:0;box-shadow:inset 0 -1px 0 var(--v4-border)}
#app.team-active .shell .content .cpt-tab{min-height:40px;height:40px;padding:0 2px;border:0;border-bottom:2px solid transparent;font-size:14px;font-weight:400;color:var(--v4-ink-strong)}
#app.team-active .shell .content .cpt-tab:hover{color:var(--v4-ink)}
#app.team-active .shell .content .cpt-tab:is([aria-selected=true],.active,[aria-pressed=true]){border:0;border-bottom:2px solid var(--v4-blue);color:var(--v4-ink);font-weight:600}
#app.team-active .shell .content .epb-toolbar{gap:10px;align-items:center}
#app.team-active .shell .content .epb-mode-switch{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--v4-sunk)}
#app.team-active .shell .content .epb-mode-switch button{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}
#app.team-active .shell .content .epb-mode-switch button:is([aria-pressed=true],.active){background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:0 1px 2px rgba(31,36,51,.08)}
#app.team-active .shell .content .epb-toolbar select,#app.team-active .shell .content .epb-filters-more select{height:34px;min-height:34px;padding:0 10px;border:1px solid var(--v4-line-2);border-radius:11px;font-size:13px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .epb-toolbar>button,#app.team-active .shell .content .epb-filters-more>summary{height:34px;min-height:34px;padding:0 12px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);color:var(--v4-ink-strong);font-size:13px;display:inline-flex;align-items:center}
#app.team-active .shell .content .epb-toolbar>button:hover,#app.team-active .shell .content .epb-filters-more>summary:hover{background:rgb(247 248 251)}
#app.team-active .shell .content .epb-toolbar>button[aria-pressed=true]{border-color:var(--v4-blue-line);background:var(--v4-blue-soft);color:var(--v4-blue-deep)}
#app.team-active .shell .content .epb-loaded{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .epb-board{gap:12px}
#app.team-active .shell .content .epb-column{padding:12px;border-radius:16px;background:rgb(238 241 246/.6)}
#app.team-active .shell .content .epb-column>h2{padding:0 2px;font-size:14px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .epb-column>h2>span{font-size:13px;font-weight:400;color:var(--v4-ink-2)}
#app.team-active .shell .content .epb-description{padding:8px 10px;border-color:var(--v4-border);border-radius:10px;font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .epb-cards{gap:10px}
#app.team-active .shell .content .epb-empty{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .epb-opportunity{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:12px 14px;border:1px solid var(--v4-border);border-radius:12px;background:var(--v4-surface);text-align:left;transition:box-shadow .15s,border-color .15s,transform .15s}
#app.team-active .shell .content .epb-opportunity:hover{border-color:var(--v4-blue-line);box-shadow:0 6px 18px rgba(31,36,51,.08)}
#app.team-active .shell .content .epb-opportunity:active{transform:scale(.99)}
#app.team-active .shell .content .epb-opportunity:focus-visible{outline:2px solid var(--v4-blue);outline-offset:1px}
#app.team-active .shell .content .epb-opportunity>strong{font-size:14.5px;font-weight:600;color:var(--v4-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app.team-active .shell .content .epb-source{font-size:12.5px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .epb-footer{margin-top:4px;padding-top:9px;border-top:1px solid var(--v4-line-3);font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .epb-avatar{width:20px;height:20px;border-radius:999px;font-size:10.5px;font-weight:600}
#app.team-active .shell .content .epb-note{padding:10px 14px;border-radius:12px;font-size:12.5px}
@media (prefers-reduced-motion:reduce){#app.team-active .shell .content .epb-opportunity{transition:none}#app.team-active .shell .content .epb-opportunity:active{transform:none}}

/* —— 重叠匹配（设计稿「Overlap」）：视角与方向切换同一套分段控件；表格沿用客户表 —— */
#app.team-active .shell .content :is(.eq-switch,.em-direction-chips){display:inline-flex;gap:2px;padding:3px;border:0;border-radius:10px;background:var(--v4-sunk);box-shadow:none}
#app.team-active .shell .content .em-direction-chips{width:auto;margin-bottom:4px}
#app.team-active .shell .content .em-direction-row{display:flex}
#app.team-active .shell .content :is(.eq-switch,.em-direction-chips)>button{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}
#app.team-active .shell .content :is(.eq-switch,.em-direction-chips)>button:hover{background:rgb(255 255 255/.6);color:var(--v4-ink)}
#app.team-active .shell .content :is(.eq-switch,.em-direction-chips)>button:is(.active,[aria-pressed=true],[aria-selected=true]){background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:0 1px 2px rgba(31,36,51,.08)}
#app.team-active .shell .content .eq-switch{margin-bottom:16px}
#app.team-active .shell .content .em-advanced>summary{font-size:13px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .em-filter-panel label{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .em-filter-panel :is(select,input:not([type=checkbox]):not([type=radio])){height:34px;min-height:34px;border:1px solid var(--v4-line-2);border-radius:11px;font-size:13px}
#app.team-active .shell .content form.cm-toolbar.em-filter-panel button{height:34px;min-height:34px;padding-top:0;padding-bottom:0;box-sizing:border-box}
#app.team-active .shell .content .cm-summary{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content :is(.em-table-toolbar,.em-direction-row)>[data-em-columns],#app.team-active .shell .content .em-table-toolbar>button{height:34px;padding:0 12px;border:1px solid var(--v4-line-2);border-radius:11px;font-size:13px;color:var(--v4-ink-strong)}

/* —— 表格行内动作：比页面级按钮小一档（设计稿「Team」行内 32px），不与页面主任务抢层级 —— */
#app.team-active .shell .content td .btn:not(.primary):not(.btn-primary):not(.danger),#app.team-active .shell .content td .btn.danger{height:30px;min-height:30px;padding:0 10px;border-radius:10px;font-size:12.5px}
#app.team-active .shell .content td :is(.btn.primary,.btn-primary){height:30px;min-height:30px;padding:0 12px;border-radius:10px;font-size:12.5px;box-shadow:none}

/* —— 对外展示（设计稿「Showcase」）：表单落进 16px 卡片，保存按钮不拉满；与页标题重复的段头在桌面端收起 —— */
@media(min-width:881px){
  #app.team-active .shell .content .ep-section-head:not(:has(button,a,select,input)){display:none}
}
#app.team-active .shell .content .pp-settings>header{margin:0 0 12px}
#app.team-active .shell .content .pp-settings>header h2{font-size:16px;font-weight:600}
#app.team-active .shell .content .pp-settings>header p,#app.team-active .shell .content .ep-muted{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .pp-layout{gap:16px;align-items:start}
#app.team-active .shell .content .pp-layout>form{display:flex;flex-direction:column;gap:16px;padding:18px 20px 20px;border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow)}
#app.team-active .shell .content .pp-layout>form>.btn.primary{align-self:flex-start;width:auto}
#app.team-active .shell .content .pp-field{gap:6px;font-size:13px;font-weight:500;color:var(--v4-ink)}
#app.team-active .shell .content .pp-field :is(input:not([type=file]),textarea),#app.team-active .shell .content .pp-layout select{border:1px solid var(--v4-line-2);border-radius:11px;font-size:13.5px;color:var(--v4-ink)}
#app.team-active .shell .content .pp-field input{height:36px}
#app.team-active .shell .content .pp-field :is(input:not([type=file]),textarea):focus-visible{outline:2px solid var(--v4-blue);outline-offset:1px;border-color:var(--v4-blue-line)}
#app.team-active .shell .content .pp-field small,#app.team-active .shell .content .pp-note{font-size:12.5px;font-weight:400;color:var(--v4-ink-2)}
#app.team-active .shell .content .pp-layout fieldset legend{font-size:13px;font-weight:500;color:var(--v4-ink)}
#app.team-active .shell .content .pp-metric-choice{font-size:13.5px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .ep-preview-controls h3{font-size:14px;font-weight:600}
#app.team-active .shell .content .ep-preview-frame{border-color:var(--v4-border);border-radius:16px;box-shadow:var(--v4-card-shadow)}
#app.team-active .shell .content .ep-preview-devices{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--v4-sunk)}
#app.team-active .shell .content .ep-preview-devices>button:not(.primary):not(.btn-primary):not(.danger){height:28px;min-height:28px;padding:0 10px;border:0;border-radius:8px;background:transparent;font-size:12.5px;font-weight:400;color:var(--v4-ink-strong);box-shadow:none}
#app.team-active .shell .content .ep-preview-devices>button:not(.primary):not(.btn-primary):not(.danger):is(.active,[aria-pressed=true],[aria-selected=true]){background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:0 1px 2px rgba(31,36,51,.08)}

/* —— 合作企业详情（设计稿「Partner」）—— */
#app.team-active .shell .content .partner-subtabs{gap:24px;min-height:40px;box-shadow:inset 0 -1px 0 var(--v4-border)}
#app.team-active .shell .content .partner-subtabs>a{display:inline-flex;align-items:center;gap:4px;height:40px;padding:0;font-size:14px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .partner-subtabs>a[aria-current]{color:var(--v4-ink);font-weight:600;box-shadow:inset 0 -2px 0 var(--v4-blue)}
#app.team-active .shell .content .partner-subtabs .count{font-size:12px;color:var(--v4-ink-2)}
#app.team-active .shell .content .partner-coop-layout{gap:16px}
#app.team-active .shell .content .pi-summary{display:grid;gap:12px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#app.team-active .shell .content .pi-summary>.pi-stat{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow)}
#app.team-active .shell .content .pi-stat .metric-label{font-size:13px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .pi-stat .metric{font-size:26px;font-weight:600;line-height:1.15;font-variant-numeric:tabular-nums}
#app.team-active .shell .content .card:has(>div>.partner-stage-filter){padding:0 4px 16px}
#app.team-active .shell .content .card:has(>div>.partner-stage-filter)>[data-pc-progress]{padding:10px 16px 0}
#app.team-active .shell .content .partner-stage-filter{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;border-radius:10px;background:var(--v4-sunk)}
#app.team-active .shell .content .partner-stage-filter>a{display:inline-flex;align-items:center;height:30px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--v4-ink-strong);font-size:13px;font-weight:400;transition:background-color .15s}
#app.team-active .shell .content .partner-stage-filter>a:hover{background:rgb(255 255 255/.6);color:var(--v4-ink)}
#app.team-active .shell .content .partner-stage-filter>a[aria-current]{background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:0 1px 2px rgba(31,36,51,.08)}
#app.team-active .shell .content .partner-stage-filter>a:focus-visible{outline:2px solid var(--v4-blue);outline-offset:1px}
#app.team-active .shell .content .partner-progress-table th{padding:8px 16px;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px;font-weight:500}
#app.team-active .shell .content .partner-progress-table td{padding:11px 16px;border-top:1px solid var(--v4-line-3);font-size:14px}
#app.team-active .shell .content .partner-progress-table tbody tr:hover td{background:rgb(250 251 253)}
#app.team-active .shell .content .partner-progress-table .link{font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .partner-progress-table .link:hover{color:var(--v4-blue-deep)}
#app.team-active .shell .content .partner-coop-rail{gap:16px}
#app.team-active .shell .content .partner-coop-rail>.card{padding:16px 20px}
#app.team-active .shell .content .partner-coop-rail h3{margin:0 0 6px;font-size:16px;font-weight:600}
#app.team-active .shell .content .partner-kv{padding:8px 0;border-top:1px solid var(--v4-line-3);font-size:13.5px}
#app.team-active .shell .content .partner-kv:first-of-type{border-top:0}
#app.team-active .shell .content .partner-kv>span:first-child{color:var(--v4-ink-2)}
#app.team-active .shell .content .partner-kv strong{font-weight:600;font-variant-numeric:tabular-nums}
#app.team-active .shell .content .pi-settings{padding:16px 20px}
#app.team-active .shell .content .pi-settings>summary{font-size:14px;font-weight:600;cursor:pointer}
#app.team-active .shell .content .partner-switch{background:var(--v4-sunk)}
#app.team-active .shell .content .partner-switch>a{font-size:13px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .partner-switch>a.on{color:var(--v4-ink);box-shadow:0 1px 2px rgba(31,36,51,.08)}
@media(prefers-reduced-motion:reduce){#app.team-active .shell .content .partner-stage-filter>a{transition:none}}

/* —— 客户详情抽屉（沿用设计稿卡片、页签与数字层级）—— */
#app.team-active .shell .content .ec-drawer{background:var(--v4-paper)}
#app.team-active .shell .content .ec-drawer>header{gap:8px}
#app.team-active .shell .content .ec-drawer>header h3{font-size:16px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .ec-drawer>header>button{height:34px;min-height:34px;padding:0 12px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);color:var(--v4-ink);font-size:13px}
#app.team-active .shell .content .ec-drawer>header>button:hover{background:var(--v4-tile)}
#app.team-active .shell .content .ec-detail-workbench{--ent-accent:var(--v4-blue);color:var(--v4-ink)}
#app.team-active .shell .content .ec-detail-workbench :is(.card,.ec-detail-section){border-color:var(--v4-border);border-radius:16px;box-shadow:var(--v4-card-shadow)}
#app.team-active .shell .content .ec-detail-hero{padding:18px 20px}
#app.team-active .shell .content .ec-detail-avatar{border-radius:14px;background:var(--v4-blue-bg);color:var(--v4-blue-deep);font-weight:600}
#app.team-active .shell .content .ec-detail-identity h3{font-size:20px;font-weight:600}
#app.team-active .shell .content .ec-detail-identity p{font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ec-detail-workbench .ec-stage{font-size:12.5px;font-weight:500;padding:2px 9px;border-radius:999px;background:var(--v4-blue-bg);color:var(--v4-blue-press)}
#app.team-active .shell .content .ec-detail-workbench .ec-primary{height:36px;min-height:36px;padding:0 16px;border:0;border-radius:11px;background:var(--v4-blue);color:#fff;font-size:14px;font-weight:600;box-shadow:var(--v4-btn-shadow);transition:background-color .15s,transform .1s}
#app.team-active .shell .content .ec-detail-workbench .ec-primary:hover{background:var(--v4-blue-deep)}
#app.team-active .shell .content .ec-detail-workbench .ec-primary:active{background:var(--v4-blue-press);transform:scale(.98)}
#app.team-active .shell .content .ec-detail-hero :is(.ec-detail-actions,form)>button{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}
#app.team-active .shell .content .ec-detail-hero :is(.ec-detail-actions,form)>button:hover{background:var(--v4-tile)}
#app.team-active .shell .content .ec-detail-hero input{height:36px;border:1px solid var(--v4-line-2);border-radius:11px}
#app.team-active .shell .content .ec-detail-hero summary{font-size:13px;color:var(--v4-ink-strong);cursor:pointer}
#app.team-active .shell .content .ec-detail-stats{gap:12px}
#app.team-active .shell .content .ec-detail-stats>.card{display:flex;flex-direction:column;gap:6px;padding:14px 16px}
#app.team-active .shell .content .ec-detail-stats span{font-size:13px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .ec-detail-stats strong{margin:0;font-size:26px;font-weight:600;line-height:1.15;font-variant-numeric:tabular-nums}
#app.team-active .shell .content .ec-detail-stats>.card:last-child strong{margin:0;font-size:16px;line-height:30px}
#app.team-active .shell .content .ec-detail-tabs{gap:24px;min-height:40px;border-bottom:0;box-shadow:inset 0 -1px 0 var(--v4-border)}
#app.team-active .shell .content .ec-detail-tabs>button{height:40px;padding:0;border:0;font-size:14px;font-weight:400;color:var(--v4-ink-strong)}
#app.team-active .shell .content .ec-detail-tabs>button[aria-selected=true]{color:var(--v4-ink);font-weight:600;border:0;box-shadow:inset 0 -2px 0 var(--v4-blue)}
#app.team-active .shell .content .ec-detail-tabs>button:focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px}
#app.team-active .shell .content .ec-detail-workbench h4{font-size:16px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .ec-detail-grid .card{padding:16px 20px}
#app.team-active .shell .content .ec-detail-grid .ec-detail-section{padding:16px 20px 18px}
#app.team-active .shell .content .ec-business-info dl{row-gap:0}
#app.team-active .shell .content .ec-business-info dl>div{padding:9px 0;border-top:1px solid var(--v4-line-3)}
#app.team-active .shell .content .ec-business-info dl>div:first-child{border-top:0}
#app.team-active .shell .content .ec-business-info dt{font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ec-business-info dd{font-size:14px}
#app.team-active .shell .content .ec-detail-workbench .ec-activity-meta{font-size:12.5px;color:var(--v4-ink-2)}
@media(prefers-reduced-motion:reduce){#app.team-active .shell .content .ec-detail-workbench .ec-primary{transition:none}#app.team-active .shell .content .ec-detail-workbench .ec-primary:active{transform:none}}

/* —— 对外展示子页：解决方案（设计稿「Showcase」）—— */
@media(min-width:881px){
  #app.team-active .shell .content .ep-section-head:has(button,a,select,input){align-items:center;gap:16px;margin:0 0 16px}
  #app.team-active .shell .content .ep-section-head:has(button,a,select,input) h2{display:none}
  #app.team-active .shell .content .ep-section-head:has(button,a,select,input) .ep-muted{margin:0;font-size:13px;color:var(--v4-ink-2)}
}
#app.team-active .shell .content #screen>.card:has(>.actions [data-select]),#app.team-active .shell .content #screen>.card:has(>h3+p+p+p+small){display:flex;flex-direction:column;gap:10px;padding:16px 20px 18px;margin-bottom:16px}
#app.team-active .shell .content #screen>.card:is(:has(>.actions [data-select]),:has(>h3+p+p+p+small))>h3{margin:0;font-size:16px;font-weight:600}
#app.team-active .shell .content #screen>.card:has(>.actions [data-select])>p{margin:0;font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content #screen>.card:has(>.actions [data-select])>p:empty{display:none}
#app.team-active .shell .content #screen>.card:has(>.actions [data-select])>.actions{gap:8px;margin:2px 0}
#app.team-active .shell .content #screen>.card:has(>.actions [data-select])>.actions>[data-select]:disabled{opacity:1;border-color:var(--v4-blue-line);background:var(--v4-blue-soft);color:var(--v4-blue-press);font-weight:600;cursor:default}
#app.team-active .shell .content #screen>.card:has(>.actions [data-select])>[data-refresh]{align-self:flex-start}
#app.team-active .shell .content #screen>.card:has(>h3+p+p+p+small){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#app.team-active .shell .content #screen>.card:has(>h3+p+p+p+small)>:is(h3,small){grid-column:1/-1}
#app.team-active .shell .content #screen>.card:has(>h3+p+p+p+small)>p{margin:0;padding:12px 14px;border-radius:12px;background:var(--v4-tile);font-size:14px;font-variant-numeric:tabular-nums;color:var(--v4-ink)}
#app.team-active .shell .content #screen>.card:has(>h3+p+p+p+small)>small{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ep-showcase{gap:16px}
#app.team-active .shell .content .ep-showcase>.card{padding:16px 20px}
#app.team-active .shell .content .ep-completion-row{gap:12px;padding:10px 0;border-color:var(--v4-line-3);font-size:13.5px}
#app.team-active .shell .content .ep-completion-row strong{font-size:14px;font-weight:600}
#app.team-active .shell .content .ep-completion-row small{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ep-completion-icon{width:22px;height:22px;font-size:12px}
#app.team-active .shell .content .ep-completion-icon.done{background:var(--v4-ok-bg);border-color:var(--v4-ok-bg);color:var(--v4-ok-ink)}
#app.team-active .shell .content .ep-completion-row .btn:not(.primary):not(.btn-primary):not(.danger){height:30px;min-height:30px;padding:0 12px;border-radius:10px;font-size:12.5px}
#app.team-active .shell .content .ep-showcase-preview h3{font-size:14px;font-weight:600}
#app.team-active .shell .content .ep-preview-logo{border-radius:14px;background:var(--v4-blue-bg);color:var(--v4-blue-deep);font-weight:600}
#app.team-active .shell .content .ep-pill{font-size:12.5px;padding:2px 9px;background:var(--v4-blue-bg);color:var(--v4-blue-press)}

/* —— 对外展示子页：咨询线索 —— */
@media(min-width:881px){
  #app.team-active .shell .content #screen>header:first-child:not([class]):has(>h2+.ep-muted):not(:has(button,a,select,input)){display:none}
}
#app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters]){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px;padding:16px 20px 18px;margin-bottom:16px}
#app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>:not([data-refresh],[data-inquiry-filters]){grid-column:1/-1}
#app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>h3{margin:0;font-size:16px;font-weight:600}
#app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>p{margin:0;font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>[data-inquiry-status]:empty{display:none}
#app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>[data-inquiry-filters]{grid-row:4;grid-column:1;justify-self:start}
#app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>[data-refresh]{grid-row:4;grid-column:2}
#app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>[data-inquiry-status]{grid-row:3}
#app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>[data-inquiry-list]{grid-row:5}
#app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>[data-list-more]{grid-row:6;justify-self:center}
@media(max-width:600px){
  #app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>[data-refresh]{grid-row:4;grid-column:1/-1;justify-self:start}
  #app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>[data-inquiry-filters]{grid-row:5;grid-column:1/-1}
  #app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>[data-inquiry-list]{grid-row:6}
  #app.team-active .shell .content #screen>.card:has(>[data-inquiry-filters])>[data-list-more]{grid-row:7}
}
#app.team-active .shell .content .ep-inquiry-summary{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;border-radius:10px;background:var(--v4-sunk)}
#app.team-active .shell .content .ep-inquiry-summary>.btn:not(.primary):not(.btn-primary):not(.danger){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}
#app.team-active .shell .content .ep-inquiry-summary>.btn:not(.primary):not(.btn-primary):not(.danger):hover{background:rgb(255 255 255/.6);color:var(--v4-ink)}
#app.team-active .shell .content .ep-inquiry-summary>.btn[aria-pressed=true]:not(.primary):not(.btn-primary):not(.danger){background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:0 1px 2px rgba(31,36,51,.08)}
#app.team-active .shell .content .ep-inquiry-table-wrap{margin-top:4px;border:1px solid var(--v4-border);border-radius:12px;overflow:auto}
#app.team-active .shell .content :is(.ep-inquiry-table,.ep-recruit-table) th{padding:8px 16px;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px;font-weight:500}
#app.team-active .shell .content :is(.ep-inquiry-table,.ep-recruit-table) td{padding:11px 16px;border-top:1px solid var(--v4-line-3);font-size:14px}
#app.team-active .shell .content :is(.ep-inquiry-table,.ep-recruit-table) tbody tr:hover td{background:rgb(250 251 253)}
#app.team-active .shell .content .ep-inquiry-table td small{display:block;margin-top:2px;font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ep-inquiry-table td>button{font-size:14px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .ep-inquiry-table td>button:hover{color:var(--v4-blue-deep)}
#app.team-active .shell .content .ep-inquiry-table tr:has(button[aria-current]) td{background:var(--v4-blue-soft)}
#app.team-active .shell .content .ep-inquiry-detail{padding:16px 20px}
#app.team-active .shell .content .ep-inquiry-detail>p:only-child{margin:0;font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ep-inquiry-detail>header{padding:0 0 14px;margin-bottom:14px;border-bottom:1px solid var(--v4-line-3)}
#app.team-active .shell .content .ep-inquiry-detail>header h3{margin:0 0 4px;font-size:16px;font-weight:600}
#app.team-active .shell .content .ep-inquiry-detail>header p{margin:0;font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ep-inquiry-detail [data-status]{display:inline-flex;padding:2px 9px;border-radius:999px;background:var(--v4-amber-bg);color:var(--v4-amber-ink);font-size:12.5px;font-weight:500}
#app.team-active .shell .content .ep-inquiry-columns{gap:16px}
#app.team-active .shell .content .ep-inquiry-columns [data-messages]>article{padding:10px 14px;border-radius:12px;background:var(--v4-tile);border:1px solid var(--v4-line-3);font-size:14px}
#app.team-active .shell .content .ep-inquiry-columns [data-messages]>article>span{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ep-inquiry-columns [data-messages]>article>p{margin:4px 0 0}
#app.team-active .shell .content .ep-inquiry-columns textarea{border:1px solid var(--v4-line-2);border-radius:11px;padding:9px 12px;font-size:14px}
#app.team-active .shell .content .ep-inquiry-columns textarea:focus-visible{outline:2px solid var(--v4-blue);outline-offset:1px;border-color:var(--v4-blue)}
#app.team-active .shell .content .ep-inquiry-columns>aside{padding:14px 16px;border:1px solid var(--v4-border);border-radius:12px;background:var(--v4-tile)}
#app.team-active .shell .content .ep-inquiry-columns>aside h3{margin:0 0 6px;font-size:14px;font-weight:600}
#app.team-active .shell .content .ep-inquiry-columns>aside h3:not(:first-child){margin-top:14px}
#app.team-active .shell .content .ep-inquiry-columns>aside .ep-muted{margin:2px 0;font-size:12.5px}
#app.team-active .shell .content .ep-inquiry-columns>aside [data-reply-hint]{margin:8px 0 0;font-size:12.5px;color:var(--v4-ink-2)}

/* —— 对外展示子页：招聘 —— */
@media(min-width:881px){
  #app.team-active .shell .content #screen:has(>[data-route^="recruitment/applications"]+.pw-page-head){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px}
  #app.team-active .shell .content #screen:has(>[data-route^="recruitment/applications"]+.pw-page-head)>*{grid-column:1/-1}
  #app.team-active .shell .content #screen>[data-route^="recruitment/applications"]{grid-row:1;grid-column:2;justify-self:end}
  #app.team-active .shell .content #screen>[data-route^="recruitment/applications"]+.pw-page-head{grid-row:1;grid-column:1;margin:0}
  #app.team-active .shell .content #screen>[data-route^="recruitment/applications"]+.pw-page-head h2{display:none}
}
#app.team-active .shell .content #screen>[data-route^="recruitment/applications"]+.pw-page-head p{margin:0;font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content #screen:has(>[data-route^="recruitment/applications"])>[data-feedback]:empty{display:none}
#app.team-active .shell .content #screen:has(>[data-route^="recruitment/applications"])>.pw-panel{margin-top:16px;padding:16px 20px 18px}
#app.team-active .shell .content #screen:has(>[data-route^="recruitment/applications"])>.pw-panel>h3{margin:0 0 4px;font-size:16px;font-weight:600}
#app.team-active .shell .content #screen:has(>[data-route^="recruitment/applications"])>.pw-panel>p{margin:0;font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ep-job-toolbar{align-items:center;gap:10px;margin:14px 0 12px}
#app.team-active .shell .content .ep-job-toolbar label{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ep-job-toolbar select{height:34px;padding:0 30px 0 12px;border:1px solid var(--v4-line-2);border-radius:11px;font-size:13px;color:var(--v4-ink)}
#app.team-active .shell .content .ep-job-table-wrap{border:1px solid var(--v4-border);border-radius:12px;overflow:auto}
#app.team-active .shell .content .ep-job-table th{padding:8px 16px;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px;font-weight:500}
#app.team-active .shell .content .ep-job-table td{padding:11px 16px;border-top:1px solid var(--v4-line-3);font-size:14px}
#app.team-active .shell .content .ep-job-table tbody tr:hover td{background:rgb(250 251 253)}
#app.team-active .shell .content .ep-job-table td strong{font-size:14px;font-weight:600}
#app.team-active .shell .content .ep-job-table td .ep-muted{margin-top:2px;font-size:12.5px}
#app.team-active .shell .content .ep-job-table td:last-child{white-space:nowrap}
#app.team-active .shell .content .ep-job-table td .btn[data-job]{margin-left:12px}
#app.team-active .shell .content .ep-job-table td .btn[data-job]:hover{text-decoration:underline;text-underline-offset:3px}

/* —— 企业设置子页：集成 —— */
#app.team-active .shell .content .team-boundary-note{margin-bottom:16px;padding:10px 14px;border-color:var(--v4-blue-line);border-radius:12px;background:var(--v4-blue-soft)}
#app.team-active .shell .content .team-boundary-note>summary{font-size:13px;color:var(--v4-ink-strong);cursor:pointer}
#app.team-active .shell .content .team-boundary-note>p{margin-top:6px;font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-grid:has([data-feishu-connect],[data-mcp-create]){gap:16px}
#app.team-active .shell .content .team-grid .card:has([data-feishu-connect],[data-mcp-create]){padding:16px 20px 18px}
#app.team-active .shell .content .team-grid .card:has([data-feishu-connect],[data-mcp-create])>.card-head{align-items:flex-start;margin:0 0 14px}
#app.team-active .shell .content .team-grid .card:has([data-feishu-connect],[data-mcp-create])>.card-head .metric-label{margin-top:2px;font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content :is([data-feishu-connect],[data-mcp-create]) .field{gap:6px;margin:0;font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content :is([data-feishu-connect],[data-mcp-create]) .field input{height:36px;padding:0 10px;border:1px solid var(--v4-line-2);border-radius:10px;font-size:14px;color:var(--v4-ink)}
#app.team-active .shell .content :is([data-feishu-connect],[data-mcp-create]) .field input:focus-visible{outline:3px solid rgb(47 100 232/.12);border-color:var(--v4-blue)}
#app.team-active .shell .content [data-feishu-connect]{display:flex;flex-direction:column;gap:12px;max-width:560px}
#app.team-active .shell .content [data-feishu-connect]>.btn.primary{align-self:flex-start;margin-top:2px}
#app.team-active .shell .content [data-mcp-create]{align-items:flex-end;gap:10px;margin:0 0 6px}
#app.team-active .shell .content [data-mcp-create] .field{width:280px}
#app.team-active .shell .content .card:has([data-mcp-create]) .list-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1.6fr) minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--v4-line-3);font-size:13.5px}
#app.team-active .shell .content .card:has([data-mcp-create]) .list-row>*{grid-column:auto;grid-row:auto;width:auto}
#app.team-active .shell .content .card:has([data-mcp-create]) .list-row>strong{font-size:14px;font-weight:600}
#app.team-active .shell .content .card:has([data-mcp-create]) .list-row>span{color:var(--v4-ink-2)}
#app.team-active .shell .content .card:has([data-mcp-create]) .list-row>.btn{height:30px;min-height:30px;padding:0 12px;border-radius:10px;font-size:12.5px}
#app.team-active .shell .content .card:has([data-mcp-create]) .list-row>.btn.danger{border:1px solid var(--v4-danger-line);background:var(--v4-surface);color:var(--v4-danger-ink)}
#app.team-active .shell .content .card:has([data-mcp-create]) .list-row>.btn.danger:hover{background:rgb(253 244 246)}

/* —— 企业设置子页：审计记录 —— */
#app.team-active .shell .content .team-audit{padding:16px 20px 18px}
#app.team-active .shell .content .ep-audit-filters{align-items:flex-end;gap:10px 12px;margin:0 0 14px}
#app.team-active .shell .content .ep-audit-filters>label{gap:6px;font-size:12.5px;font-weight:400;color:var(--v4-ink-2)}
#app.team-active .shell .content .ep-audit-filters :is(input,select){height:36px;min-height:36px;padding:0 10px;border:1px solid var(--v4-line-2);border-radius:10px;font-size:13.5px;color:var(--v4-ink)}
#app.team-active .shell .content .ep-audit-filters :is(input,select):focus-visible{outline:3px solid rgb(47 100 232/.12);border-color:var(--v4-blue)}
#app.team-active .shell .content .ep-audit-filters .team-audit-search{flex:1 1 260px;max-width:360px}
#app.team-active .shell .content .ep-audit-filters>.btn{margin:0}
#app.team-active .shell .content .ep-audit-filters>.btn[data-audit-query]:not(.primary):not(.btn-primary):not(.danger){border-color:var(--v4-blue-line);background:var(--v4-blue-soft);color:var(--v4-blue-press)}
#app.team-active .shell .content .team-audit-toolbar{padding:0 0 10px}
#app.team-active .shell .content .team-audit-count{margin:0;font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .ep-audit-table-wrap{border:1px solid var(--v4-border);border-radius:12px;overflow:auto}
#app.team-active .shell .content .team-audit-table th{padding:8px 16px;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px;font-weight:500}
#app.team-active .shell .content .team-audit-table th span{font-size:12px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-audit-table th:first-child{width:220px}
#app.team-active .shell .content .team-audit-table td{padding:11px 16px;border-top:1px solid var(--v4-line-3);font-size:14px}
#app.team-active .shell .content .team-audit-table time{font-size:13px;font-variant-numeric:tabular-nums;color:var(--v4-ink-strong)}
#app.team-active .shell .content .team-audit-table tbody tr:hover td{background:rgb(250 251 253)}
#app.team-active .shell .content .team-audit-table [data-audit-detail]{font-weight:500;color:var(--v4-ink)}
#app.team-active .shell .content .team-audit-table [data-audit-detail]:hover{color:var(--v4-blue-deep);text-decoration:underline;text-underline-offset:3px}
#app.team-active .shell .content .team-audit-table [data-audit-detail]:focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px;border-radius:4px}
#app.team-active .shell .content .team-audit-table .muted{font-size:12.5px;color:var(--v4-ink-2)}

/* —— 危险次按钮：白底描边 + 红字，与「Team」行内动作同一层级，不做实心红块 —— */
#app.team-active .shell .content .btn.danger{height:34px;min-height:34px;padding:0 14px;border:1px solid var(--v4-danger-line);border-radius:11px;background:var(--v4-surface);color:var(--v4-danger-ink);font-size:13px;font-weight:500;box-shadow:none;transition:background-color .15s,border-color .15s}
#app.team-active .shell .content .btn.danger:hover:not(:disabled){background:rgb(253 244 246);border-color:rgb(232 180 192)}
#app.team-active .shell .content .btn.danger:active:not(:disabled){background:rgb(250 232 236)}

/* —— 空态 / 加载 / 失败：同一块 12px 浅底，失败走 v4 红，不再各页各色 —— */
#app.team-active .shell .content .state{border-color:var(--v4-line-2);border-radius:12px;background:var(--v4-tile);color:var(--v4-ink-2);font-size:13px;line-height:1.6}
#app.team-active .shell .content .state[data-state=error]{border:1px solid var(--v4-danger-line);background:rgb(253 244 246);color:var(--v4-danger-ink)}
#app.team-active .shell .content .state>p{margin:0 0 12px}
#app.team-active .shell .content .state>p:last-child{margin:0}

/* —— 员工邀请与加入申请（设计稿「Team」）：邀请管理页与员工页折叠区共用同一渲染 ——
   行内动作并排靠右（批准 30px 主按钮 + 驳回描边次按钮），表单字段 36px，记录行 11px。 */
#app.team-active .shell .content .card:is(:has(>[data-join-request-list]),:has(>[data-invitation-create]),:has(>[data-invitation-list])){padding:16px 20px 18px;margin:0 0 16px}
#app.team-active .shell .content .card:is(:has(>[data-join-request-list]),:has(>[data-invitation-list]))>.card-head{align-items:center;margin:0 0 6px}
#app.team-active .shell .content .card:is(:has(>[data-join-request-list]),:has(>[data-invitation-list]))>.card-head .metric-label{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content [data-join-request-list]>p.metric-label{margin:6px 0 0;font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-invitation-row{grid-template-columns:minmax(110px,1.1fr) minmax(72px,.6fr) minmax(80px,.7fr) minmax(120px,1fr) minmax(120px,1fr) 200px;align-items:center;gap:12px;padding:11px 0;border:0;border-top:1px solid var(--v4-line-3);font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-invitation-row>strong{font-size:14px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .team-invitation-row>.pill{justify-self:start}
#app.team-active .shell .content .team-invitation-row>.pill.stop{background:var(--v4-sunk);color:var(--v4-ink-2)}
#app.team-active .shell .content .team-invitation-row>.actions{grid-column:-2/-1;display:flex;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:8px;margin:0}
#app.team-active .shell .content .team-invitation-row>.actions>.btn:not(.primary):not(.btn-primary):not(.danger),#app.team-active .shell .content .team-invitation-row>.actions>.btn.danger{height:30px;min-height:30px;padding:0 12px;border-radius:10px;font-size:12.5px;white-space:nowrap}
#app.team-active .shell .content .team-invitation-row>.actions>:is(.btn.primary,.btn-primary){height:30px;min-height:30px;padding:0 12px;border-radius:10px;font-size:12.5px;box-shadow:none;white-space:nowrap}
#app.team-active .shell .content .team-invitation-row>.actions>.metric-label{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-invite-form{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:flex-end}
#app.team-active .shell .content .team-invite-form>.field{flex:1 1 140px;min-width:0;gap:6px;margin:0;font-size:12.5px;font-weight:400;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-invite-form>.field[hidden]{display:none}
#app.team-active .shell .content .team-invite-form>.field :is(select,input){box-sizing:border-box;width:100%;height:36px;min-height:36px;padding-block:0;padding-left:10px;border:1px solid var(--v4-line-2);border-radius:11px;background-color:var(--v4-surface);font-size:13.5px;color:var(--v4-ink)}
#app.team-active .shell .content .team-invite-form>.field input{padding-right:10px;font-variant-numeric:tabular-nums}
#app.team-active .shell .content .team-invite-form>.field :is(select,input):focus-visible{outline:3px solid rgb(47 100 232/.12);outline-offset:0;border-color:var(--v4-blue)}
#app.team-active .shell .content .team-invite-form>.field :is(select,input):disabled{background-color:var(--v4-tile);color:var(--v4-ink-3)}
#app.team-active .shell .content .team-invite-form>.btn{flex:none}
#app.team-active .shell .content .team-invite-form>[data-invitation-status]{flex-basis:100%}
#app.team-active .shell .content .team-invite-form>[data-invitation-status]:empty{display:none}
#app.team-active .shell .content .team-invite-form>[data-invitation-status] code{padding:1px 6px;border-radius:6px;background:var(--v4-sunk);font-size:12.5px;color:var(--v4-ink);overflow-wrap:anywhere}
/* 员工页折叠区：外层已是卡片，内层三段改成分隔线分段，不叠卡片 */
#app.team-active .shell .content .pe-invite-card>summary{font-size:14px}
#app.team-active .shell .content .pe-invite-card>summary>span{font-size:16px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .pe-invite-card>summary>small{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content [data-employee-invites]>.card{margin:0;padding:16px 0 18px;border:0;border-top:1px solid var(--v4-line-3);border-radius:0;background:transparent;box-shadow:none}
#app.team-active .shell .content [data-employee-invites]>.card:first-child{border-top:0;padding-top:4px}
#app.team-active .shell .content [data-employee-invites]>.card:last-child{padding-bottom:0}
#app.team-active .shell .content [data-employee-invites]>.card>.card-head h2{font-size:14px}
@media(max-width:880px){
  #app.team-active .shell .content .team-invitation-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}
  #app.team-active .shell .content .team-invitation-row>:not(strong):not(.pill):not(.actions){grid-column:1/-1}
  #app.team-active .shell .content .team-invitation-row>span:empty{display:none}
  #app.team-active .shell .content .team-invitation-row>.actions{grid-column:1/-1;justify-content:flex-start;margin-top:6px}
  #app.team-active .shell .content .team-invite-form>.field{flex-basis:calc(50% - 6px)}
}

/* —— 合作企业 · 共享设置（设计稿「Partner」「Settings」）——
   页内切换（逐合作企业 / 分组与权限 / 五个分组子页、协作分析维度）统一走分段控件；矩阵表沿用表格 11px 行；
   四档定义、企业默认、信息模板与分组卡片都落进 16px 卡片，表单控件 36px、表内 32px。 */
#app.team-active .shell .content .team-view-tabs{display:inline-flex;flex-wrap:wrap;gap:2px;max-width:100%;margin:0 0 16px;padding:3px;border:0;border-radius:10px;background:var(--v4-sunk);box-shadow:none}
#app.team-active .shell .content .team-view-tabs>.btn:not(.primary):not(.btn-primary):not(.danger){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}
#app.team-active .shell .content .team-view-tabs>.btn:not(.primary):not(.btn-primary):not(.danger):hover{background:rgb(255 255 255/.6);color:var(--v4-ink)}
#app.team-active .shell .content .team-view-tabs>.btn:not(.primary):not(.btn-primary):not(.danger):active{background:rgb(255 255 255/.85)}
#app.team-active .shell .content .team-view-tabs>.btn[aria-pressed=true]:not(.primary):not(.btn-primary):not(.danger){background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:0 1px 2px rgba(31,36,51,.08)}
#app.team-active .shell .content .team-view-tabs>.btn:focus-visible{outline:2px solid var(--v4-blue);outline-offset:1px}
#app.team-active .shell .content .team-sharing{max-width:none;color:var(--v4-ink)}
#app.team-active .shell .content .team-sharing .metric-label{font-size:12.5px;line-height:1.6;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-sharing>[data-sharing-success]:not(:empty){padding:10px 14px;border:0;border-radius:12px;background:var(--v4-ok-bg);color:var(--v4-ok-ink);font-size:13px}
#app.team-active .shell .content .team-sharing .card{margin:0 0 16px}
#app.team-active .shell .content .team-sharing :is(select,input:not([type=checkbox]):not([type=radio])){box-sizing:border-box;height:36px;min-height:36px;padding-block:0;padding-left:10px;border:1px solid var(--v4-line-2);border-radius:11px;background-color:var(--v4-surface);font-size:13.5px;color:var(--v4-ink)}
#app.team-active .shell .content .team-sharing input:not([type=checkbox]):not([type=radio]){padding-right:10px}
#app.team-active .shell .content .team-sharing :is(select,input:not([type=checkbox]):not([type=radio])):focus-visible{outline:3px solid rgb(47 100 232/.12);outline-offset:0;border-color:var(--v4-blue)}
#app.team-active .shell .content .team-sharing :is(select,input):disabled{background-color:var(--v4-tile);color:var(--v4-ink-3);cursor:not-allowed}
#app.team-active .shell .content .team-sharing .field{gap:6px;font-size:12.5px;font-weight:400;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-sharing .field>label{font-size:12.5px;color:var(--v4-ink-2)}
/* 逐合作企业矩阵 */
#app.team-active .shell .content [data-sharing-directions]{padding:0;overflow:hidden}
#app.team-active .shell .content .team-sharing-matrix-scroll{overflow:auto}
#app.team-active .shell .content .team-sharing-matrix{font-size:14px;color:var(--v4-ink)}
#app.team-active .shell .content .team-sharing-matrix :is(th,td){padding:11px 16px;border:0;border-top:1px solid var(--v4-line-3)}
#app.team-active .shell .content .team-sharing-matrix thead th{padding:8px 16px;border-top:0;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px;font-weight:500}
#app.team-active .shell .content .team-sharing-matrix th:first-child{padding-left:20px}
#app.team-active .shell .content .team-sharing-matrix tbody tr:hover :is(th,td){background:rgb(250 251 253)}
#app.team-active .shell .content .team-sharing-matrix input[type=radio]{width:16px;height:16px;accent-color:var(--v4-blue)}
#app.team-active .shell .content .team-sharing-matrix :is(input,button):focus-visible{outline:2px solid var(--v4-blue);outline-offset:3px}
#app.team-active .shell .content .team-sharing-company{gap:10px;border-radius:8px}
#app.team-active .shell .content .team-sharing-company>span:last-child{font-size:14px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .team-sharing-company:hover>span:last-child{color:var(--v4-blue-deep)}
#app.team-active .shell .content .team-sharing-company-icon{width:32px;height:32px;border-radius:10px;background:var(--v4-blue-bg);color:var(--v4-blue-deep);font-size:13px;font-weight:600}
#app.team-active .shell .content .team-sharing-company small{margin-top:2px;font-size:12px;font-weight:400;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-sharing-matrix [data-matrix-status]{font-size:12px}
#app.team-active .shell .content .team-sharing-partner-detail{padding:12px 20px 18px;border-top:1px solid var(--v4-line-3);background:transparent}
#app.team-active .shell .content .team-sharing-partner-detail>summary{display:flex;align-items:center;gap:8px;list-style:none;font-size:13px;color:var(--v4-ink-strong)}
#app.team-active .shell .content .team-sharing-partner-detail>summary::-webkit-details-marker{display:none}
#app.team-active .shell .content .team-sharing-partner-detail>summary:hover{color:var(--v4-ink)}
#app.team-active .shell .content .team-sharing-partner-detail>summary:focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px;border-radius:4px}
#app.team-active .shell .content .team-sharing-fields{gap:16px}
#app.team-active .shell .content .team-sharing-fields .field{margin:0 0 14px}
#app.team-active .shell .content .team-sharing-field-details{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-sharing-configuration .actions{gap:8px}
#app.team-active .shell .content .team-sharing-preview{padding-top:16px;border-top:1px solid var(--v4-line-3)}
#app.team-active .shell .content .team-sharing-preview-head h3{font-size:14px;font-weight:600}
#app.team-active .shell .content .team-sharing-switch{gap:2px;padding:3px;border-radius:10px;background:var(--v4-sunk)}
#app.team-active .shell .content .team-sharing-switch>.btn:not(.primary):not(.btn-primary):not(.danger){height:28px;min-height:28px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--v4-ink-strong);font-size:12.5px;font-weight:400;box-shadow:none}
#app.team-active .shell .content .team-sharing-switch>.btn[aria-pressed=true]:not(.primary):not(.btn-primary):not(.danger){background:var(--v4-surface);color:var(--v4-ink);font-weight:600;box-shadow:0 1px 2px rgba(31,36,51,.08)}
#app.team-active .shell .content [data-direction-preview]>p{margin:0 0 10px;font-size:13px;color:var(--v4-ink-2)}
/* 四档定义 */
#app.team-active .shell .content .team-sharing-level-guide{padding:16px 20px 18px}
#app.team-active .shell .content .team-sharing-level-guide h2{margin:0;font-size:16px;font-weight:600}
#app.team-active .shell .content .team-sharing-level-guide p{margin:8px 0 0;font-size:13px;line-height:1.7;color:var(--v4-ink-strong)}
#app.team-active .shell .content .team-sharing-level-guide p.metric-label{margin-top:4px;font-size:12.5px;color:var(--v4-ink-2)}
/* 企业默认设置 / 共享信息模板：折叠段 */
#app.team-active .shell .content .team-sharing-more{padding:0 20px}
#app.team-active .shell .content .team-sharing-more>.team-sharing-details{padding:14px 0}
#app.team-active .shell .content .team-sharing-more>.team-sharing-details+.team-sharing-details{border-top:1px solid var(--v4-line-3)}
#app.team-active .shell .content .team-sharing-details>summary{gap:10px;min-height:28px;border-radius:6px}
#app.team-active .shell .content .team-sharing-details>summary>strong{font-size:14px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .team-sharing-details>summary>span{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-sharing-details>summary:hover>strong{color:var(--v4-blue-deep)}
#app.team-active .shell .content .team-sharing-details>summary:focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px}
#app.team-active .shell .content .team-sharing-detail-body{padding-top:10px}
#app.team-active .shell .content .team-sharing-detail-body>p.metric-label{margin:0 0 12px}
#app.team-active .shell .content [data-default-policy]{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}
#app.team-active .shell .content [data-default-policy]>.field{flex:0 1 320px}
#app.team-active .shell .content [data-default-policy]>[data-policy-status]{flex-basis:100%}
#app.team-active .shell .content :is([data-default-policy],.sg-create,.sg-exception-form,.sg-check-form)>.btn:not(.primary):not(.btn-primary):not(.danger){height:36px;min-height:36px}
#app.team-active .shell .content .team-sharing-template{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid var(--v4-line-3)}
#app.team-active .shell .content .team-sharing-template strong{font-size:14px;font-weight:600}
#app.team-active .shell .content .team-sharing-template p{margin:2px 0 0}
#app.team-active .shell .content .team-sharing-template>.btn:not(.primary):not(.btn-primary):not(.danger){height:30px;min-height:30px;padding:0 12px;border-radius:10px;font-size:12.5px}
#app.team-active .shell .content .team-share-presets .list>[data-create-share]{margin-top:12px}
#app.team-active .shell .content .team-sharing-note{margin:0;font-size:12.5px;color:var(--v4-ink-2)}
/* 分组与权限 */
#app.team-active .shell .content .team-sharing .sg-note{margin:0 0 12px;font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-sharing .sg-panel>.card,#app.team-active .shell .content .team-sharing [data-sg-check-host]>.card{padding:16px 20px 18px}
#app.team-active .shell .content .team-sharing .sg-panel .card-head{align-items:baseline;gap:10px;margin:0 0 12px}
#app.team-active .shell .content .team-sharing .sg-panel .card-head h2{margin:0;font-size:16px;font-weight:600}
#app.team-active .shell .content .team-sharing :is(.sg-group-chip,.sg-chip){padding:2px 10px;border:0;border-radius:999px;background:var(--v4-sunk);color:var(--v4-ink-strong);font-size:12.5px;line-height:1.5}
#app.team-active .shell .content .team-sharing .sg-group-chip .metric-label{font-size:12px;color:var(--v4-ink-2);font-variant-numeric:tabular-nums}
#app.team-active .shell .content .team-sharing .sg-group-cards{gap:12px}
#app.team-active .shell .content .team-sharing .sg-group-card{padding:14px 16px;border:1px solid var(--v4-line-3);border-radius:12px;background:var(--v4-tile)}
#app.team-active .shell .content .team-sharing .sg-group-card-head strong{font-size:14px;font-weight:600}
#app.team-active .shell .content .team-sharing .sg-group-card .chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
#app.team-active .shell .content .team-sharing .sg-group-card .sg-chip{background:var(--v4-surface)}
#app.team-active .shell .content .team-sharing .sg-create{gap:10px;margin:0 0 14px}
#app.team-active .shell .content .team-sharing :is(.sg-exception-form,.sg-check-form){gap:10px 12px}
#app.team-active .shell .content .team-sharing .tw{border:1px solid var(--v4-border);border-radius:12px;overflow:auto}
#app.team-active .shell .content .team-sharing .sg-table{font-size:14px}
#app.team-active .shell .content .team-sharing .sg-table th{padding:8px 16px;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px;font-weight:500;text-align:left}
#app.team-active .shell .content .team-sharing .sg-table td{padding:9px 16px;border-top:1px solid var(--v4-line-3);vertical-align:middle}
#app.team-active .shell .content .team-sharing .sg-table tbody tr:hover td{background:rgb(250 251 253)}
#app.team-active .shell .content .team-sharing .sg-table td strong{font-weight:600}
#app.team-active .shell .content .team-sharing :is(.sg-table,.sg-matrix) select{height:32px;min-height:32px;border-radius:10px;font-size:13px}
#app.team-active .shell .content .team-sharing .sg-matrix-scroll{border:1px solid var(--v4-border);border-radius:12px;overflow:auto}
#app.team-active .shell .content .team-sharing .sg-matrix :is(th,td){padding:9px 16px;border:0;border-top:1px solid var(--v4-line-3);vertical-align:middle}
#app.team-active .shell .content .team-sharing .sg-matrix thead th{border-top:0;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12.5px;font-weight:500}
#app.team-active .shell .content .team-sharing .sg-matrix tbody th{background:transparent;color:var(--v4-ink);font-size:14px;font-weight:600}
#app.team-active .shell .content .team-sharing .sg-legend{gap:6px 14px;margin-top:12px}
#app.team-active .shell .content .team-sharing .sg-level{font-size:12.5px;font-weight:600;color:var(--v4-ink-strong)}
#app.team-active .shell .content .team-sharing .sg-reminder{border:0;border-radius:12px;background:var(--v4-amber-bg);color:var(--v4-amber-ink);font-size:13px}
#app.team-active .shell .content .team-sharing :is(.sg-reminder-row,.sg-application){border-top-color:var(--v4-line-3)}
#app.team-active .shell .content .team-sharing .sg-check-verdict{font-size:14px;font-weight:600}
@media(max-width:600px){
  #app.team-active .shell .content .team-view-tabs{display:flex;width:fit-content}
  #app.team-active .shell .content .team-sharing-more{padding:0 16px}
  #app.team-active .shell .content .team-sharing .sg-panel>.card,#app.team-active .shell .content .team-sharing [data-sg-check-host]>.card,#app.team-active .shell .content .team-sharing-level-guide{padding:14px 16px 16px}
  #app.team-active .shell .content .team-sharing-fields{grid-template-columns:1fr;gap:0}
}

/* —— 合作企业 · 发现合作企业：段头与页签重复时收起标题；筛选条 36px，结果卡 16px —— */
@media(min-width:881px){
  #app.team-active .shell .content .pd-heading h2{display:none}
  #app.team-active .shell .content .pd-heading p{margin:0}
}
#app.team-active .shell .content .pd-discovery{gap:16px;color:var(--v4-ink)}
#app.team-active .shell .content .pd-heading p{font-size:13px;line-height:1.6;color:var(--v4-ink-2)}
#app.team-active .shell .content .pd-toolbar{align-items:flex-end;gap:10px}
#app.team-active .shell .content .pd-toolbar label{gap:6px;font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .pd-toolbar :is(select,input){height:36px;min-height:36px;padding-block:0;padding-left:10px;border:1px solid var(--v4-line-2);border-radius:11px;font-size:13.5px;color:var(--v4-ink)}
#app.team-active .shell .content .pd-toolbar input{padding-right:10px}
#app.team-active .shell .content .pd-toolbar :is(select,input):focus-visible{outline:3px solid rgb(47 100 232/.12);outline-offset:0;border-color:var(--v4-blue)}
#app.team-active .shell .content .pd-toolbar .btn{min-height:36px}
#app.team-active .shell .content .pd-grid{gap:16px}
#app.team-active .shell .content .pd-card{border-color:var(--v4-border);border-radius:16px;box-shadow:var(--v4-card-shadow)}
#app.team-active .shell .content .pd-card-footer{padding:12px 20px;border-top-color:var(--v4-line-3)}
#app.team-active .shell .content .pd-card-footer>span{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .pd-state{padding:28px 20px;border:1px solid var(--v4-border);border-radius:16px;background:var(--v4-surface);box-shadow:var(--v4-card-shadow);font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .pd-note{padding:10px 14px;border:1px solid var(--v4-blue-line);border-radius:12px;background:var(--v4-blue-soft);color:var(--v4-ink-strong);font-size:12.5px}
#app.team-active .shell .content .pd-pagination{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .pd-discovery [data-pd-trial-status]{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .pd-discovery :is(button,input,select):focus-visible{outline-color:var(--v4-blue)}

/* —— 企业设置 · 企业资料：键值行 11px、席位数字 26px，卡片间距统一 16px —— */
#app.team-active .shell .content .team-grid:has([data-org-cert]){gap:16px;margin:0 0 16px}
#app.team-active .shell .content .team-grid:has([data-org-cert])>.card{padding:16px 20px 18px}
#app.team-active .shell .content .team-grid:has([data-org-cert])>.card>.card-head{align-items:flex-start;margin:0 0 6px}
#app.team-active .shell .content .team-grid:has([data-org-cert]) .card-head .metric-label{margin:2px 0 0;font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-grid:has([data-org-cert]) .list>.loss-row{align-items:baseline;gap:16px;padding:11px 0;border:0;border-top:1px solid var(--v4-line-3)}
#app.team-active .shell .content .team-grid:has([data-org-cert]) .list>.loss-row:first-child{border-top:0}
#app.team-active .shell .content .team-grid:has([data-org-cert]) .loss-row>span{font-size:13px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-grid:has([data-org-cert]) .loss-row>strong{font-size:14px;font-weight:600;color:var(--v4-ink);text-align:right;overflow-wrap:anywhere}
#app.team-active .shell .content .team-grid:has([data-org-cert])>.card:not(.wide){display:flex;flex-direction:column;align-items:flex-start;gap:6px}
#app.team-active .shell .content .team-grid:has([data-org-cert])>.card:not(.wide)>h2{margin:0 0 4px}
#app.team-active .shell .content .team-grid:has([data-org-cert]) .metric{font-size:26px;font-weight:600;line-height:1.15;font-variant-numeric:tabular-nums;color:var(--v4-ink)}
#app.team-active .shell .content .team-grid:has([data-org-cert]) .metric small{font-size:16px;font-weight:400;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-grid:has([data-org-cert]) .metric+.metric-label{margin:0;font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-grid:has([data-org-cert])>.card:not(.wide)>.btn{margin-top:8px}
#app.team-active .shell .content .team-owner-lifecycle{padding:16px 20px 18px}
#app.team-active .shell .content .team-owner-lifecycle>.card-head{align-items:flex-start;margin:0}
#app.team-active .shell .content .team-owner-lifecycle>.card-head .metric-label{margin:4px 0 0;font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-owner-toggle{display:inline-flex;align-items:baseline;gap:8px;padding:0;font-size:16px;font-weight:600;color:var(--v4-ink);cursor:pointer}
#app.team-active .shell .content .team-owner-toggle>[data-owner-toggle-label]{font-size:13px;font-weight:500;color:var(--v4-blue-deep)}
#app.team-active .shell .content .team-owner-toggle:hover>[data-owner-toggle-label]{text-decoration:underline;text-underline-offset:3px}
#app.team-active .shell .content .team-owner-toggle:focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px;border-radius:4px}
#app.team-active .shell .content [data-owner-transfer]{display:flex;flex-direction:column;align-items:flex-start;gap:12px;max-width:560px;margin-top:14px;padding-top:14px;border-top:1px solid var(--v4-line-3)}
#app.team-active .shell .content [data-owner-transfer]>.field{width:100%;gap:6px;margin:0;font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content [data-owner-transfer] select{height:36px;min-height:36px;padding-block:0;border:1px solid var(--v4-line-2);border-radius:11px;font-size:13.5px;color:var(--v4-ink)}
#app.team-active .shell .content [data-owner-transfer] select:focus-visible{outline:3px solid rgb(47 100 232/.12);border-color:var(--v4-blue)}
#app.team-active .shell .content [data-owner-transfer] .team-impact-list{width:100%;box-sizing:border-box;gap:6px;margin:0;padding:12px 14px;border-radius:12px;background:var(--v4-amber-bg);color:var(--v4-amber-ink);font-size:13px}
#app.team-active .shell .content [data-owner-transfer] .team-consent{margin:0;font-size:13px;color:var(--v4-ink-strong)}
#app.team-active .shell .content [data-owner-transfer] .team-consent input{accent-color:var(--v4-blue)}

/* —— 对外展示 · 招聘编辑：两列字段 36px，保存按钮独占一行靠左，不夹在字段格里 —— */
#app.team-active .shell .content .ep-job-editor{margin-top:16px}
#app.team-active .shell .content .ep-job-editor>.pw-panel{padding:16px 20px 20px}
#app.team-active .shell .content .ep-job-editor>.pw-panel>h3{margin:0 0 14px;font-size:16px;font-weight:600}
#app.team-active .shell .content .ep-job-editor form>fieldset{gap:14px 16px;margin:0}
#app.team-active .shell .content .ep-job-editor fieldset>label{font-size:13px;font-weight:500;color:var(--v4-ink)}
#app.team-active .shell .content .ep-job-editor :is(input,select){height:36px;min-height:36px;padding-block:0;border:1px solid var(--v4-line-2);border-radius:11px;font-size:13.5px;color:var(--v4-ink)}
#app.team-active .shell .content .ep-job-editor textarea{padding:9px 12px;border:1px solid var(--v4-line-2);border-radius:11px;font-size:14px;color:var(--v4-ink)}
#app.team-active .shell .content .ep-job-editor :is(input,select,textarea):focus-visible{outline:3px solid rgb(47 100 232/.12);outline-offset:0;border-color:var(--v4-blue)}
#app.team-active .shell .content .ep-job-editor fieldset>.btn{grid-column:1/-1;justify-self:start}

/* —— 员工页侧边对话框（邀请员工 / 新增部门 / 员工详情）：沿用抽屉标题 16/600，内层不再叠卡片 —— */
#app.team-active .shell .content .team-org-dialog{padding:20px 24px;color:var(--v4-ink);box-shadow:-8px 0 32px rgba(29,36,51,.12)}
#app.team-active .shell .content .team-org-dialog::backdrop{background:rgba(29,36,51,.32)}
#app.team-active .shell .content .team-org-dialog>.card{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#app.team-active .shell .content .team-org-dialog .card-head{align-items:center;margin:0 0 18px}
#app.team-active .shell .content .team-org-dialog .card-head h2{font-size:16px;font-weight:600;line-height:1.4}
#app.team-active .shell .content .team-org-dialog label.field{gap:6px;font-size:13px;font-weight:500;color:var(--v4-ink)}
#app.team-active .shell .content .team-org-dialog :is(input:not([type=checkbox]),select,textarea){border-color:var(--v4-line-2);border-radius:11px;font-size:13.5px;color:var(--v4-ink)}
#app.team-active .shell .content .team-org-dialog :is(input:not([type=checkbox]),select,textarea):focus-visible{outline:3px solid rgb(47 100 232/.12);outline-offset:0;border-color:var(--v4-blue)}
#app.team-active .shell .content .team-org-dialog :is(p,dd){font-size:13px;line-height:1.6;color:var(--v4-ink-2)}
#app.team-active .shell .content .team-org-dialog .team-invite-form>.card{padding:14px 16px;border:1px solid var(--v4-line-3);border-radius:12px;background:var(--v4-tile)}
#app.team-active .shell .content .team-org-dialog input[type=checkbox]{accent-color:var(--v4-blue)}
@media(min-width:801px){
  #app.team-active .shell .content .team-org-dialog :is(input:not([type=checkbox]),select){height:36px;min-height:36px;padding-block:0}
}

@media(prefers-reduced-motion:reduce){
  #app.team-active .shell .content :is(.team-view-tabs>.btn,.team-sharing-switch>.btn,.team-sharing-details>summary:before,.team-sharing-partner-detail>summary:before,.btn.danger){transition:none}
}

/* —— 旧层 token 收口：prototype-shell / enterprise-saas / prototype-workbench 在 :root 与 .shell 上另有一套灰阶，
   子页里大量 var(--ink-3) / var(--ent-muted) / var(--sunk) 因此落在 AA 以下或偏离 v4。这里在 .shell 与详情抽屉上
   重新指向 v4，旧选择器不动、颜色统一。—— */
#app.team-active .shell,#app.team-active>.team-drawer{
  --ink-2:var(--v4-ink-2);--ink-3:var(--v4-ink-2);--ent-secondary:var(--v4-ink-2);--ent-muted:var(--v4-ink-2);--muted-foreground:var(--v4-ink-2);
  --sunk:var(--v4-sunk);--ent-subtle:var(--v4-sunk);--wb-chip-on:var(--v4-sunk);
  --ent-accent:var(--v4-blue);--teal-deep:var(--v4-blue-deep);--ent-accent-hover:var(--v4-blue-deep);
  --line-2:var(--v4-line-2);--ent-control-border:var(--v4-line-2);
}

/* —— 小字 AA：旧层写死的 138 147 165 计数与表内说明、蓝色文字链统一到 ink-2 / blue-deep —— */
#app.team-active .shell .content .pe-tabs b{color:var(--v4-ink-2)}
#app.team-active .shell .content .pe-table td small{font-size:12px;color:var(--v4-ink-2)}
#app.team-active .shell .content .pe-owner>i{background:var(--v4-blue-bg);color:var(--v4-blue-deep)}
#app.team-active .shell .content .ec-link{color:var(--v4-blue-deep)}
#app.team-active .shell .content .es-setup details summary{color:var(--v4-blue-deep)}
#app.team-active .shell .content :is(.team-org-avatar,.team-org-self){background:var(--v4-blue-bg);color:var(--v4-blue-deep)}
#app.team-active .shell .content :is(.ea-freshness,.ea-resource-summary>summary,.ea-item-description,.ea-stage-definitions small,[data-range-summary],.epb-loaded,.epb-column h2 span,.epb-empty){color:var(--v4-ink-2)}
/* 协作进展 / 漏斗分析里写死的旧深蓝 #2b5bd9 文字与焦点环，跟随网页主色收口到 v4 */
#app.team-active .shell .content :is(.epb-stage,.epb-avatar,.epb-note,.ea-stage-definitions>summary,.ea-detail-note,.ea-detail-note p,.ea-stage-tag){color:var(--v4-blue-deep)}
#app.team-active .shell .content :is(.epb-progress button,.epb-progress select,.epb-column h2):focus-visible{outline-color:var(--v4-blue)}
/* 客户/机会详情工作台既嵌在正文里，也挂进 .shell 外的详情抽屉；workbench-detail.css 自带一套 #3870f8，这里不限 .shell 统一指回 v4 */
#app.team-active .ec-detail-workbench{--ent-accent:var(--v4-blue)}
#app.team-active :is(.ec-detail-avatar,.ec-detail-identity .ec-stage,.ec-detail-identity .pill){background:var(--v4-blue-bg);color:var(--v4-blue-deep)}
/* 终态保留原有的语义颜色；不能让通用蓝色覆盖成交和失败。 */
#app.team-active .ec-detail-hero:is([data-stage=won],[data-stage=signed]) .ec-detail-identity :is(.pill,.ec-stage){background:rgb(234 247 240);color:rgb(35 118 77)}
#app.team-active .ec-detail-hero:is([data-stage=lost],[data-stage=declined]) .ec-detail-identity :is(.pill,.ec-stage){background:rgb(253 236 236);color:rgb(163 45 45)}
#app.team-active .ec-detail-workbench :is(.ec-primary,button.primary){background:var(--v4-blue);border-color:var(--v4-blue)}
#app.team-active .ec-detail-workbench :is(.ec-primary,button.primary):hover:not(:disabled){background:var(--v4-blue-deep);border-color:var(--v4-blue-deep)}
#app.team-active .ec-detail-workbench button:focus-visible{outline-color:var(--v4-blue)}
#app.team-active .ec-detail-workbench .ec-detail-tabs [aria-selected=true]{border-bottom-color:var(--v4-blue);color:var(--v4-blue-deep)}
#app.team-active .ec-detail-workbench .ec-detail-card-heading :is(button,a){color:var(--v4-blue-deep)}
#app.team-active .ec-stage-track .is-reached>span{background:var(--v4-blue);border-color:var(--v4-blue)}
#app.team-active .ec-stage-track .is-reached:before{background:var(--v4-blue)}
#app.team-active .ec-stage-track .is-current{color:var(--v4-blue-deep)}
#app.team-active .ec-stage-track .is-current>span{border-color:var(--v4-blue)}
#app.team-active .oc-conversation .oc-own p.oc-bubble{background:var(--v4-blue);color:var(--v4-surface)}
#app.team-active .ec-stage-track li{color:var(--v4-ink-2)}
#app.team-active :is(.oc-conversation header p,.oc-message-meta,.oc-empty,.oc-readonly,.oc-compose>div,.ec-detail-workbench .ec-detail-section h4>span,.ec-detail-kv dt,.ec-detail-workbench .ec-activity time){color:var(--v4-ink-2)}
#app.team-active .oc-compose [data-oc-send]{background:var(--v4-blue);border-color:var(--v4-blue)}
#app.team-active .oc-compose [data-oc-send]:hover:not(:disabled){background:var(--v4-blue-deep);border-color:var(--v4-blue-deep)}
#app.team-active .oc-conversation :is(button,textarea):focus-visible{outline-color:var(--v4-blue)}
/* enterprise-publishing 用 !important 把选中的咨询筛选染成蓝底蓝字（3.8:1），这里只能同样用 !important 收回分段控件的白片 */
#app.team-active .shell .content .ep-inquiry-summary>.btn[aria-pressed=true]{background:var(--v4-surface)!important;color:var(--v4-ink)!important;border-color:transparent!important}

/* —— 一屏一主钮：筛选「搜索」与集成页第二个「创建凭据」降为次按钮，主色只留给页面的那一个动作 —— */
#app.team-active .shell .content :is(.pd-toolbar,[data-mcp-create])>.btn.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.team-active .shell .content :is(.pd-toolbar,[data-mcp-create])>.btn.primary:hover:not(:disabled){background:rgb(247 248 251);border-color:rgb(214 220 232)}
#app.team-active .shell .content :is(.pd-toolbar,[data-mcp-create])>.btn.primary:active:not(:disabled){background:var(--v4-sunk)}

/* —— 员工管理弹窗的动作列表：两行按钮（标题 + 说明）不吃通用 34px 定高 —— */
#app.team-active .shell .content .team-org-action-list>.btn:not(.primary):not(.btn-primary):not(.danger){display:flex;flex-direction:column;align-items:flex-start;gap:4px;height:auto;min-height:0;padding:12px 14px;text-align:left;white-space:normal}
#app.team-active .shell .content .team-org-action-list>.btn:not(.primary):not(.btn-primary):not(.danger):hover:not(:disabled){background:var(--v4-tile)}
#app.team-active .shell .content .team-org-action-list>.btn strong{font-size:14px;font-weight:600;color:var(--v4-ink)}
#app.team-active .shell .content .team-org-action-list>.btn span{font-size:12.5px;line-height:1.5;color:var(--v4-ink-2)}

/* —— 审计记录：筛选一行、动作一行，三个按钮不再被挤散 —— */
#app.team-active .shell .content .ep-audit-filters{flex-wrap:wrap}
#app.team-active .shell .content .ep-audit-filters>.team-audit-search{flex:1 1 220px}
#app.team-active .shell .content .ep-audit-filters:after{content:'';flex-basis:100%;order:1}
#app.team-active .shell .content .ep-audit-filters>.btn{order:2}

/* —— 录入线索 / 客户抽屉表单：标签、输入框、主按钮回到 v4 尺寸 —— */
#app.team-active .shell .content .ec-drawer label{font-size:13px;font-weight:500;color:var(--v4-ink-strong)}
#app.team-active .shell .content .ec-drawer :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){border:1px solid var(--v4-line-2);border-radius:11px;background-color:var(--v4-surface);color:var(--v4-ink);font-size:14px;font-weight:400}
#app.team-active .shell .content .ec-drawer :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):focus-visible{outline:none;border-color:var(--v4-blue);box-shadow:0 0 0 3px rgb(47 100 232/.16)}
#app.team-active .shell .content .ec-drawer .ec-primary{height:36px;min-height:36px;padding:0 16px;border:0;border-radius:11px;background:var(--v4-blue);color:#fff;font-size:13.5px;font-weight:600;box-shadow:var(--v4-btn-shadow)}
#app.team-active .shell .content .ec-drawer .ec-primary:hover:not(:disabled){background:var(--v4-blue-deep)}
#app.team-active .shell .content .ec-drawer .ec-primary:active:not(:disabled){background:var(--v4-blue-press)}
@media(max-width:800px){
  #app.team-active .shell .content .ec-drawer :is(.ec-primary,input:not([type=checkbox]):not([type=radio]):not([type=file]),select){height:44px;min-height:44px}
}

/* —— 详情抽屉（#teamDetailDrawer，挂在 .shell 之外）：渠道分配、提醒、机会详情、离职交接、归属管理、模板编辑共用 —— */
#app.team-active>.team-drawer{background:var(--v4-surface);color:var(--v4-ink);box-shadow:-16px 0 48px rgba(31,36,51,.12);line-height:1.5}
#app.team-active>.team-drawer .drawer-head h2{margin:0;font-size:16px;font-weight:600;color:var(--v4-ink)}
#app.team-active>.team-drawer .drawer-close{width:34px;height:34px;border:1px solid var(--v4-line-2);border-radius:11px;background:var(--v4-surface);color:var(--v4-ink-2);transition:background-color .15s}
#app.team-active>.team-drawer .drawer-close:hover{background:var(--v4-tile);color:var(--v4-ink)}
#app.team-active>.team-drawer .drawer-summary{border-color:var(--v4-line-3)}
#app.team-active>.team-drawer .drawer-summary h3{font-size:18px;font-weight:600}
#app.team-active>.team-drawer :is(.drawer-summary p,.card p){color:var(--v4-ink-2)}
#app.team-active>.team-drawer :is(.card,.team-analysis-item){border-color:var(--v4-border);border-radius:16px;box-shadow:var(--v4-card-shadow)}
#app.team-active>.team-drawer .card h3{font-size:15px;font-weight:600}
#app.team-active>.team-drawer .btn{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;white-space:nowrap;box-shadow:none;transition:background-color .15s,border-color .15s}
#app.team-active>.team-drawer .btn:hover:not(:disabled){background:rgb(247 248 251);border-color:rgb(214 220 232)}
#app.team-active>.team-drawer .btn:active:not(:disabled){background:var(--v4-sunk)}
#app.team-active>.team-drawer .btn.primary{height:36px;min-height:36px;padding:0 16px;border:0;background:var(--v4-blue);color:#fff;font-size:13.5px;font-weight:600;box-shadow:var(--v4-btn-shadow)}
#app.team-active>.team-drawer .btn.primary:hover:not(:disabled){background:var(--v4-blue-deep)}
#app.team-active>.team-drawer .btn.primary:active:not(:disabled){background:var(--v4-blue-press)}
#app.team-active>.team-drawer .btn.danger{border-color:var(--v4-danger-line);color:var(--v4-danger-ink)}
#app.team-active>.team-drawer .btn.danger:hover:not(:disabled){background:rgb(253 244 246)}
#app.team-active>.team-drawer :is(.btn,.drawer-close):focus-visible{outline:2px solid var(--v4-blue);outline-offset:2px}
#app.team-active>.team-drawer .field{font-size:13px;color:var(--v4-ink-2)}
#app.team-active>.team-drawer :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){border:1px solid var(--v4-line-2);border-radius:11px;background-color:var(--v4-surface);color:var(--v4-ink);font-size:14px}
#app.team-active>.team-drawer :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):focus-visible{outline:none;border-color:var(--v4-blue);box-shadow:0 0 0 3px rgb(47 100 232/.16)}
#app.team-active>.team-drawer .state{border:1px solid var(--v4-line-2);border-radius:12px;background:var(--v4-tile);color:var(--v4-ink-2);font-size:13px}
#app.team-active>.team-drawer .state[data-state=error]{border-color:var(--v4-danger-line);background:rgb(253 244 246);color:var(--v4-danger-ink)}

/* Inner sections use separators, keeping a single surface around each work area. */
#app.team-active :is(.team-workspace,.team-drawer) .card .card{border:0;border-top:1px solid var(--v4-line-3);border-radius:0;box-shadow:none;background:transparent}
#app.team-active :is(.ec-detail-workbench,.ec-drawer) .ec-opportunity{border:0;border-top:1px solid var(--v4-line-3);border-radius:0;padding:16px 0;box-shadow:none;background:transparent}

/* Reminders share the same flat task list in the dashboard and the drawer. */
#app.team-active .team-drawer .team-home-todos{grid-template-columns:minmax(0,1fr);gap:24px}
#app.team-active .team-drawer .team-home-todos>[data-requests]{padding:0;border:0;border-bottom:1px solid var(--v4-line-3);border-radius:0;box-shadow:none}
#app.team-active .team-drawer .team-home-todos>[data-confirmations]>.card{padding:0;border:0;border-bottom:1px solid var(--v4-line-3);border-radius:0;box-shadow:none}
#app.team-active .team-drawer .team-reminder-tabs{gap:24px;margin-bottom:24px;border-bottom:1px solid var(--v4-line-3)}
#app.team-active .team-drawer .team-reminder-tabs>.btn{height:auto;min-height:40px;padding:0 0 12px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--v4-ink-2);box-shadow:none}
#app.team-active .team-drawer .team-reminder-tabs>.btn[aria-pressed=true]{border-bottom-color:var(--v4-ink);color:var(--v4-ink);background:transparent;box-shadow:none}
#app.team-active .team-drawer .team-reminder-tabs>.btn:hover:not(:disabled){background:transparent;color:var(--v4-ink);box-shadow:none}
#app.team-active :is(.team-workspace,.team-drawer) .team-governance-todos{padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;min-width:0}
#app.team-active .team-governance-todos>h2{margin:0 0 8px;font-size:16px;font-weight:600}
#app.team-active .team-governance-todos>p:not(:empty){margin:0 0 8px;padding:12px 14px;border-radius:6px;background:var(--v4-tile);color:var(--v4-ink-2);font-size:12px}
#app.team-active .team-governance-todos .team-receipt-review{margin:0;padding:20px 0;border:0;border-bottom:1px solid var(--v4-line-3);border-radius:0;background:transparent;box-shadow:none}
#app.team-active .team-receipt-review>:is(summary,.team-receipt-head){display:flex;align-items:center;gap:12px;font-size:13px;font-weight:500;color:var(--v4-ink-strong)}
#app.team-active .team-receipt-review>summary>span:first-child{min-width:0;overflow-wrap:anywhere}
#app.team-active .team-receipt-text{display:grid;flex:1 1 auto;gap:4px;min-width:0}
#app.team-active :is(.team-receipt-title,.team-receipt-text>small){min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app.team-active .team-receipt-title{font-weight:500}
#app.team-active .team-receipt-text>small{color:var(--v4-ink-2);font-size:var(--t-xs);font-weight:400}
#app.team-active .team-receipt-review>summary>:is(.team-disclosure-open,.team-disclosure-closed),#app.team-active .team-governance-todos .team-receipt-head>.team-receipt-toggle{margin-left:auto;flex:none;color:var(--v4-blue-deep);font-size:12px;font-weight:400}
#app.team-active .team-receipt-review:not([open]) .team-disclosure-open,#app.team-active .team-receipt-review[open] .team-disclosure-closed{display:none}
#app.team-active .team-receipt-review [data-receipt-detail]{margin-top:14px}
#app.team-active .team-receipt-review :is(.team-receipt-meta,.team-receipt-note){margin:12px 0;font-size:12px;color:var(--v4-ink-2);overflow-wrap:anywhere}
#app.team-active .team-receipt-review .team-receipt-customers{gap:0}
#app.team-active .team-receipt-review .team-receipt-customer{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 0;border:0;border-bottom:1px solid var(--v4-line-3);border-radius:0;min-width:0}
#app.team-active .team-receipt-review .team-receipt-customer:last-child{border-bottom:0}
#app.team-active .team-receipt-review .team-receipt-customer>.team-receipt-company{font-size:14px;font-weight:500;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app.team-active .team-receipt-review .team-receipt-part+.team-receipt-part{border-top:1px solid var(--v4-line-3)}
#app.team-active .team-receipt-owner{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:12px;color:var(--v4-ink-2)}
#app.team-active .team-receipt-owner b{margin-left:5px;font-weight:400;color:var(--v4-ink-strong)}
#app.team-active .team-governance-todos .team-receipt-review .btn.primary{flex:none;min-height:36px;height:auto;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:8px 12px;border:0;border-radius:6px;background:var(--v4-blue-bg);color:var(--v4-blue-deep);box-shadow:none;font-size:12px;font-weight:500}
#app.team-active .team-governance-todos .team-receipt-review .btn.primary:hover:not(:disabled){background:var(--v4-blue-line);color:var(--v4-blue-press);box-shadow:none}
#app.team-active .team-governance-todos>.actions{margin-top:16px}
#app.team-active .team-governance-todos>.actions>.btn,#app.team-active .team-governance-todos .team-receipt-toggle{border:0;background:transparent;color:var(--v4-blue-deep);box-shadow:none}
@media(max-width:800px){
  #app.team-active>.team-drawer{padding:20px 16px}
  #app.team-active>.team-drawer :is(.btn,.btn.primary,.drawer-close){height:44px;min-height:44px}
  #app.team-active>.team-drawer .drawer-close{width:44px}
}

/* —— 少打扰：没有内容的模块整块隐藏，不为空态占位 —— */
#app.team-active .shell .content .pe-panel.pe-todos:has(.pe-todo-empty){display:none}
#app.team-active .shell .content .pe-home-grid:not(.pe-home-adaptive):has(>.pe-todos .pe-todo-empty){grid-template-columns:minmax(0,1fr)}
#app.team-active .shell .content .pe-home-adaptive{grid-template-areas:"todos recent" "opps opps"}
#app.team-active .shell .content .pe-home-adaptive>.pe-todos{grid-area:todos}
#app.team-active .shell .content .pe-home-adaptive>.pe-recent{grid-area:recent}
#app.team-active .shell .content .pe-home-adaptive>.pe-opps{grid-area:opps}
#app.team-active .shell .content .pe-home-adaptive:has(>.pe-todos .pe-todo-empty){grid-template-areas:"opps recent"}
#app.team-active .shell .content .pe-home-adaptive>.pe-all-empty{display:none;grid-area:1/1/2/-1;align-items:center;justify-content:space-between;gap:16px}
#app.team-active .shell .content .pe-all-empty>strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app.team-active .shell .content .pe-all-empty>.btn{flex:none}
#app.team-active .shell .content .pe-home-adaptive:has(>.pe-all-empty):has(>.pe-todos .pe-todo-empty):has(>.pe-opps [data-pe-empty=true]):has(>.pe-recent [data-pe-empty=true])>:is(.pe-opps,.pe-recent){display:none}
#app.team-active .shell .content .pe-home-adaptive:has(>.pe-todos .pe-todo-empty):has(>.pe-opps [data-pe-empty=true]):has(>.pe-recent [data-pe-empty=true])>.pe-all-empty{display:flex}
#app.team-active .shell .content .pe-home-adaptive:has(>.pe-todos .pe-todo-empty) .pe-table :is(th,td):is(:nth-child(2),:nth-child(5),:nth-child(6)){display:none}
@media(max-width:767px){
  #app.team-active .shell .content .pe-home-adaptive{grid-template-columns:minmax(0,1fr);grid-template-areas:"todos" "recent" "opps"}
  #app.team-active .shell .content .pe-home-adaptive:has(>.pe-todos .pe-todo-empty){grid-template-areas:"opps" "recent"}
  #app.team-active .shell .content .pe-home-adaptive .pe-table :is(th,td):is(:nth-child(2),:nth-child(5),:nth-child(6)){display:none}
  #app.team-active .shell .content .pe-home-adaptive .pe-table{table-layout:fixed}
  #app.team-active .shell .content .pe-home-adaptive .pe-table th:first-child{width:48%}
  #app.team-active .shell .content .pe-home-adaptive .pe-table th:nth-child(3){width:27%}
  #app.team-active .shell .content .pe-home-adaptive .pe-table th:nth-child(4){width:25%}
  #app.team-active .shell .content .pe-home-adaptive .pe-opp-link{display:flex;min-width:0}
  #app.team-active .shell .content .pe-home-adaptive .pe-opp-link>span:last-child{min-width:0;white-space:nowrap}
  #app.team-active .shell .content .pe-home-adaptive .pe-table :is(.pe-avatar,.pe-owner>i){display:none}
  #app.team-active .shell .content .pe-home-adaptive .pe-table .pe-owner{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
#app.team-active .shell .content section.card.full:has(>[data-shadow-list]>.state[data-state=empty]:only-child){display:none}

@media(prefers-reduced-motion:reduce){
  #app.team-active>.team-drawer :is(.btn,.drawer-close){transition:none}
  #app.team-active .shell .content .ec-drawer .ec-primary{transition:none}
}

/* —— 套餐与席位（设计稿「Plan」）—— */
#app.team-active .shell .content .pp-page{gap:16px}
#app.team-active .shell .content .pp-current{display:flex;flex-direction:column;gap:14px;padding:16px 20px 18px}
#app.team-active .pp-head{display:flex;align-items:center;gap:10px}
#app.team-active .pp-head h2{margin:0}
#app.team-active .pp-chip{display:inline-flex;align-items:center;padding:2px 9px;border-radius:999px;background:var(--v4-sunk);color:var(--v4-ink-strong);font-size:12.5px;line-height:1.5}
#app.team-active .shell .content .pp-notice{margin:0;padding:10px 14px;border-radius:12px;background:var(--v4-amber-bg);color:var(--v4-amber-ink);font-size:13px;line-height:1.6}
#app.team-active .shell .content .pp-usage{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#app.team-active .shell .content .pp-usage-row{display:flex;flex-direction:column;align-items:stretch;gap:8px;text-align:left;min-height:0;padding:14px 16px;border:0;border-radius:12px;background:var(--v4-tile);color:var(--v4-ink)}
#app.team-active .pp-usage-label{font-size:13px;color:var(--v4-ink-strong)}
#app.team-active .pp-usage-value{display:flex;align-items:baseline;gap:4px}
#app.team-active .pp-usage-value strong{font-size:24px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums}
#app.team-active .pp-usage-value small{font-size:13px;color:var(--v4-ink-2);font-variant-numeric:tabular-nums}
#app.team-active .shell .content .pp-bar{display:block;height:6px;border-radius:999px;background:var(--v4-border);overflow:hidden}
#app.team-active .shell .content .pp-bar>i{display:block;height:100%;border-radius:999px;background:var(--v4-blue)}
#app.team-active .pp-usage-note{font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .pp-usage-row:is(.is-near,.is-full){background:var(--v4-amber-bg)}
#app.team-active .shell .content .pp-usage-row:is(.is-near,.is-full) .pp-bar>i{background:var(--v4-amber-bar)}
#app.team-active .shell .content .pp-usage-row:is(.is-near,.is-full) .pp-usage-note{color:var(--v4-amber-ink)}
#app.team-active .shell .content .pp-usage-row.is-over .pp-bar>i{background:var(--v4-danger)}
#app.team-active .shell .content .pp-usage-row.is-over :is(.pp-usage-note,.pp-usage-value strong){color:var(--v4-danger-ink)}
#app.team-active .shell .content .pp-compare{padding:0;overflow:hidden}
#app.team-active .shell .content .pp-table{table-layout:fixed;width:100%;border-collapse:collapse;font-size:14px}
#app.team-active .shell .content .pp-table .pp-yes{display:block;color:var(--v4-ok-ink)}
#app.team-active .shell .content .pp-table :is(th,td){height:auto;padding:11px 20px;border-top:1px solid var(--v4-line-3);background:transparent;text-align:left;vertical-align:middle;white-space:normal;font-size:14px;font-weight:400;color:var(--v4-ink)}
#app.team-active .shell .content .pp-table thead th{padding-top:18px;padding-bottom:14px;border-top:0;vertical-align:bottom}
#app.team-active .shell .content .pp-table thead th:first-child{width:41%}
#app.team-active .shell .content .pp-table thead th span{margin:0;padding:0;border-radius:0;background:transparent;color:inherit;font-size:inherit;font-weight:inherit}
#app.team-active .pp-compare-title h2{margin:0 0 4px}
#app.team-active .shell .content .pp-table thead th.pp-compare-title .pp-term{display:block;font-size:12.5px;font-weight:400;color:var(--v4-ink-2)}
#app.team-active .shell .content .pp-table thead th .pp-plan-name{display:flex;align-items:baseline;gap:6px;margin-bottom:4px;font-size:14px;font-weight:600}
#app.team-active .shell .content .pp-table thead th .pp-plan-price{display:block;font-size:20px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums}
#app.team-active .shell .content .pp-table thead th .pp-plan-price small{font-size:13px;font-weight:400;color:var(--v4-ink-2)}
#app.team-active .shell .content .pp-table tbody th[scope=row]{color:var(--v4-ink-strong);background:transparent}
#app.team-active .shell .content .pp-table td{font-variant-numeric:tabular-nums}
#app.team-active .shell .content .pp-table td small{display:inline;font-size:12.5px;color:var(--v4-ink-2)}
#app.team-active .shell .content .pp-table .pe-muted{color:var(--v4-ink-2)}
#app.team-active .shell .content .pp-table .is-target{background:var(--v4-blue-soft)}
#app.team-active .shell .content .pp-table td.is-target{font-weight:600}
#app.team-active .shell .content .pp-table thead th.is-target .pp-plan-name{color:var(--v4-blue-press)}
#app.team-active .shell .content .pp-table thead th .pp-plan-name>span{color:var(--v4-ink-2);font-size:12px;font-weight:500}
#app.team-active .shell .content .pp-table thead th.is-target{border-radius:12px 12px 0 0}
#app.team-active .shell .content .pp-table tbody tr:hover :is(td,th){background:inherit}
#app.team-active .shell .content .pp-table tbody tr:hover td.is-target{background:var(--v4-blue-soft)}
#app.team-active .shell .content .pp-table tfoot td{padding-top:14px;padding-bottom:16px}
#app.team-active .shell .content .pp-table tfoot td.pp-apply-note{font-size:12.5px;line-height:1.6;color:var(--v4-ink-2)}
#app.team-active .shell .content .pp-table tfoot [data-plan-apply]{width:100%;height:38px;font-size:14px}
@media(max-width:1180px){#app.team-active .shell .content .pp-usage{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
  #app.team-active .shell .content .pp-table thead th:first-child{width:36%}
  #app.team-active .shell .content .pp-table :is(th,td){padding:10px 12px}
  #app.team-active .shell .content .pp-table thead th .pp-plan-price{font-size:17px}
}

@media(prefers-reduced-motion:reduce){
  #app.team-active .shell :is(.nav-item,.btn,.btn.primary,.btn-primary){transition:none}
}

/* 中性计数不代表未读。 */
#prototypeTabs .ep-tab-count{margin-inline-start:var(--s2);color:var(--v4-ink-3);font-weight:400;font-size:var(--t-xs);white-space:nowrap}
/* 招聘管理：筛选、职位表和窄屏列表 */
#app.team-active .shell .content .ep-job-toolbar{gap:var(--s3);margin:0 0 var(--s4)}
#app.team-active .shell .content .ep-job-toolbar-actions{display:flex;align-items:center;gap:var(--s3);margin-left:auto;min-width:0}
#app.team-active .shell .content .ep-job-count{margin-left:var(--s1);color:var(--v4-ink-3);font-size:var(--t-xs);font-weight:400;font-variant-numeric:tabular-nums}
#app.team-active .shell .content .ep-job-toolbar-actions .btn[data-route],
#app.team-active .shell .content .ep-job-table .ep-job-actions .btn{height:auto;min-height:0;margin:0;padding:0;border:0;background:transparent;color:var(--v4-blue-deep);font-size:var(--t-sm);box-shadow:none}
#app.team-active .shell .content .ep-job-table{table-layout:fixed;min-width:0}
#app.team-active .shell .content .ep-job-table th,
#app.team-active .shell .content .ep-job-table td{vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app.team-active .shell .content .ep-job-table th:first-child{width:32%}
#app.team-active .shell .content .ep-job-table th:last-child{width:22%}
#app.team-active .shell .content .ep-job-title,
#app.team-active .shell .content .ep-job-location{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app.team-active .shell .content .ep-job-title{padding:0;border:0;background:transparent;color:var(--v4-blue-deep);font:inherit;font-weight:600;text-align:left;cursor:pointer}
#app.team-active .shell .content .ep-job-actions{display:flex;align-items:center;gap:var(--s4);white-space:nowrap}
#app.team-active .shell .content .ep-job-actions .btn:hover,
#app.team-active .shell .content .ep-job-title:hover,
#app.team-active .shell .content .ep-job-toolbar-actions .btn[data-route]:hover{text-decoration:underline}
#app.team-active .shell .content .ep-job-empty{display:flex;flex-direction:column;align-items:center;gap:var(--s3);padding:var(--s7) var(--s5);text-align:center}
#app.team-active .shell .content .ep-job-empty p{margin:0;color:var(--v4-ink-strong)}
#app.team-active .shell .content .ep-job-pagination{display:flex;align-items:center;justify-content:flex-end;gap:var(--s3);margin-top:var(--s3);color:var(--v4-ink-2);font-size:var(--t-sm)}
@media(max-width:760px){
  #app.team-active .shell .content .ep-job-toolbar{align-items:flex-start}
  #app.team-active .shell .content .ep-job-toolbar-actions{margin-left:0}
  #app.team-active .shell .content .ep-job-table-wrap{overflow:hidden}
  #app.team-active .shell .content .ep-job-table{display:block;width:100%;min-width:0}
  #app.team-active .shell .content .ep-job-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  #app.team-active .shell .content .ep-job-table tbody{display:block}
  #app.team-active .shell .content .ep-job-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:var(--s3);border-top:1px solid var(--v4-line-3)}
  #app.team-active .shell .content .ep-job-table tr:first-child{border-top:0}
  #app.team-active .shell .content .ep-job-table td{display:flex;align-items:center;min-width:0;height:auto;padding:var(--s1) 0;border:0}
  #app.team-active .shell .content .ep-job-table td::before{content:attr(data-label);flex:none;margin-right:var(--s2);color:var(--v4-ink-3);font-size:var(--t-xs)}
  #app.team-active .shell .content .ep-job-table td:first-child,
  #app.team-active .shell .content .ep-job-table td:last-child{grid-column:1/-1}
  #app.team-active .shell .content .ep-job-table td:first-child::before{display:none}
}
#app.team-active .main[data-prototype-group=showcase] .rail-search kbd{font-size:var(--t-xs)}
#app.team-active .shell .content .ep-job-table-wrap{background:var(--v4-surface);border:1px solid var(--v4-border);border-radius:var(--r-lg);overflow:hidden}
#app.team-active .shell .content :is(.ep-job-toolbar-actions,.ep-job-actions) .btn:not(.primary){height:auto;min-height:0;padding:0!important;border:0!important;background:transparent!important;color:var(--v4-blue-deep)!important;box-shadow:none!important}

#app.team-active .shell .nav-item .badge.team-partner-unread{background:var(--danger-bright)}
