/* 对话页专用 */
.chat-head { position: sticky; top: 0; z-index: 20; background: rgba(245,245,247,0.94); }
.chat-head .sess-title { font-size: 17px; font-weight: 600; }
/* 2026-10-05 自动滚底修复：
   底部留足 padding —— 末条消息不被告在底部 sticky 输入框（.composer-wrap）底下。
   2026-10-05 实测输入框区（输入框+提示行+脚注+渐变遮罩）约 190px，取 220px 留安全间距。 */
.stream { width: 100%; max-width: 820px; margin: 0 auto; padding: 16px 32px 24px; display: flex; flex-direction: column; gap: 20px; padding-bottom: 220px; }

/* 「↓ 新消息」：用户上翻历史时才出现，点击回底 */
.newmsg-btn {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 210px; z-index: 40;
  display: inline-flex; align-items: center; gap: 4px;
  height: 32px; padding: 0 14px; border-radius: var(--radius-pill, 16px);
  background: var(--surface-solid, #fff); color: var(--accent, var(--brand-primary, #1766D6));
  border: 0.5px solid var(--separator, rgba(0,0,0,.12));
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
  font-size: 13px; font-weight: 600; cursor: pointer;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.newmsg-btn.show { opacity: 1; visibility: visible; pointer-events: auto; }
.newmsg-btn:hover { background: var(--accent, var(--brand-primary, #1766D6)); color: #fff; }
.day { text-align: center; font-size: 12px; color: var(--tertiary); }
.msg-user { align-self: flex-end; max-width: 70%; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 18px 18px 6px 18px; font-size: 15px; line-height: 22px; }
.msg-ai { display: flex; gap: 12px; align-items: flex-start; }
.ai-av { width: 32px; height: 32px; border-radius: 10px; color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-zz { background: var(--assist-zizhi); }
.ai-xm { background: var(--assist-xiaogu); }
.ai-xs { background: var(--assist-sales); }
.ai-hr { background: var(--assist-hr); }
.ai-sys { background: var(--neutral-soft); color: var(--secondary); }
/* #192：小谷形象（透明底 + 浅金描边 #E6D6B4）——不铺底色，圆形裁切避免描边被切。
   注意：szdg.css 里还有一条 .ai-av { background: var(--accent) } 且加载更晚，
   同特异性的 .ai-av-img 会被它盖住，所以这里用 .ai-av.ai-av-img 提高一级。 */
.ai-av.ai-av-img { background: none; color: inherit; object-fit: contain; border-radius: 50%; }
.ai-body { flex: 1; min-width: 0; }
.ai-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.ai-meta .who { font-weight: 600; }
.ai-meta .route { color: var(--secondary); font-size: 12px; }
.ai-meta .phase { margin-left: auto; }
.bubble { background: var(--surface-solid); border-radius: 6px 18px 18px 18px; padding: 14px 16px; box-shadow: var(--shadow-card); font-size: 15px; line-height: 23px; }
.bubble ol, .bubble ul { padding-left: 20px; }
.bubble li { margin: 4px 0; }
.cite { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; margin-left: 3px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 600; vertical-align: 2px; }
.src { margin-top: 12px; border-top: 0.5px solid var(--separator); padding-top: 10px; }
.src summary { cursor: pointer; font-size: 13px; color: var(--accent); font-weight: 500; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.src summary::-webkit-details-marker { display: none; }
.src summary::before { content: "›"; display: inline-block; transition: transform 0.15s; font-size: 15px; }
.src[open] summary::before { transform: rotate(90deg); }
.src summary .when-open { display: none; }
.src[open] summary .when-open { display: inline; }
.src[open] summary .when-closed { display: none; }
.src-list { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.src-item { display: flex; gap: 10px; align-items: baseline; font-size: 13px; line-height: 19px; padding: 8px 10px; background: var(--bg); border-radius: var(--radius-control); }
.src-item .file { font-weight: 500; }
.src-item .clause { color: var(--secondary); }
.acts { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.act { height: 28px; padding: 0 10px; border-radius: 8px; font-size: 13px; color: var(--secondary); display: inline-flex; align-items: center; gap: 5px; }
.act:hover { background: rgba(0,0,0,0.05); color: var(--label); }
.act.on { color: var(--accent); background: var(--accent-soft); }
.act-sep { width: 1px; height: 14px; background: var(--separator); margin: 0 4px; }
.nobasis { display: flex; gap: 12px; align-items: flex-start; }
.nobasis .ttl { font-weight: 600; }
.hrcard { border-radius: var(--radius-card); background: var(--surface-solid); box-shadow: var(--shadow-card); overflow: hidden; }
.hrcard .hr-hd { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--neutral-soft); font-size: 13px; color: var(--secondary); }
.hrcard .hr-bd { padding: 14px 16px; }
.hrcard .hr-ttl { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.hrcard dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: 14px; line-height: 21px; }
.hrcard dt { color: var(--secondary); }
.sysline { align-self: center; font-size: 12px; color: var(--secondary); background: var(--neutral-soft); padding: 3px 10px; border-radius: var(--radius-pill); }
.composer-wrap { position: sticky; bottom: 0; background: linear-gradient(to bottom, rgba(245,245,247,0), var(--bg) 24px); padding: 24px 32px 20px; margin-top: auto; }
.composer { max-width: 756px; margin: 0 auto; background: var(--surface-solid); border-radius: var(--radius-large); box-shadow: var(--shadow-raised); border: 0.5px solid var(--separator); padding: 10px 12px 10px; }
.composer textarea { width: 100%; border: none; outline: none; resize: none; background: transparent; font-size: 15px; line-height: 22px; padding: 10px 4px 4px; height: 58px; }
.composer textarea::placeholder { color: var(--tertiary); }
.composer .send-row { display: flex; align-items: center; gap: 8px; }
.composer .send-row .tip { font-size: 12px; color: var(--tertiary); flex: 1; }
.send { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.send:disabled { background: var(--tertiary); cursor: not-allowed; }
.composer .attach { width: 36px; height: 36px; border-radius: 50%; background: transparent; color: var(--accent); border: 1.5px solid var(--accent); font-size: 20px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1; flex: none; }
.composer .attach:active { background: var(--accent); color: #fff; }
@media (max-width: 640px) { .composer .attach { width: 40px; height: 40px; } }
.composer.disabled { opacity: 0.75; }
.composer.disabled textarea { cursor: not-allowed; }
.foot-note { max-width: 756px; margin: 8px auto 0; text-align: center; font-size: 12px; color: var(--tertiary); }

/* S3：提问框附件（拖拽/粘贴文件） */
.file-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 4px 4px; }
.file-chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 10px; font-size: 12px; max-width: 100%; }
.chip .chip-x { border: none; background: transparent; color: var(--accent); cursor: pointer; font-size: 12px; line-height: 1; padding: 0 2px; }
.composer.drag-over { outline: 2px dashed var(--accent); outline-offset: -4px; }
.drop-hint { display: none; max-width: 756px; margin: 6px auto 0; text-align: center; font-size: 12px; color: var(--accent); background: var(--accent-soft); border-radius: 10px; padding: 6px; }
.conflict-badge { display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #9A5B00; background: #FFF3D6; border: 0.5px solid #F0C36D; }

/* 连续对话：日期分隔条、回看跳转高亮、入职陪伴插卡 */
.divider { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--secondary); font-weight: 500; scroll-margin-top: 90px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 0.5px; background: var(--separator); }
.divider .dv { background: var(--bg); padding: 2px 10px; border-radius: var(--radius-pill); border: 0.5px solid var(--separator); white-space: nowrap; }
.older { text-align: center; font-size: 12px; color: var(--tertiary); }
.hl-target { border-radius: var(--radius-card); transition: background 0.3s, box-shadow 0.3s; scroll-margin-top: 90px; }
@keyframes flashbg { 0% { background: rgba(0,122,255,0.16); box-shadow: 0 0 0 8px rgba(0,122,255,0.16); } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }
.flash { animation: flashbg 1.8s ease-out; }
.divider.flash .dv { animation: flashbg 1.8s ease-out; }
.onb-in { background: var(--surface-solid); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 14px 16px; border-left: 3px solid var(--accent); }
.onb-in .o-t { font-size: 17px; font-weight: 600; margin-top: 4px; }
.onb-in .o-d { font-size: 13px; color: var(--secondary); margin-top: 4px; }
.onb-in .o-b { display: flex; gap: 8px; margin-top: 12px; }
.chat-head .sub-title { font-size: 13px; color: var(--secondary); }

/* 跨助手汇总回答 */
.ai-sum { position: relative; background: var(--surface-solid); box-shadow: inset 0 0 0 0.5px var(--separator); }
.ai-sum i { position: absolute; width: 14px; height: 14px; border-radius: 5px; }
.ai-sum i:first-child { left: 5px; top: 5px; }
.ai-sum i:last-child { right: 5px; bottom: 5px; }
.seg-tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: var(--radius-pill); background: var(--neutral-soft); font-size: 12px; font-weight: 600; color: var(--label); white-space: nowrap; }
.seg-part + .seg-part { margin-top: 12px; padding-top: 12px; border-top: 0.5px dashed var(--separator); }
.seg-body { margin-top: 6px; }
.src-item .seg-tag { height: 20px; padding: 0 7px; font-size: 11px; background: var(--surface-solid); }
/* SZDG-P2-K5：回答来源标签（「以下由X助手回答」）——只加样式，不改既有段落排版 */
.k5-src .k5-src-tag { background: var(--accent-soft); color: var(--accent); }
.k5-src + .seg-part { border-top-color: transparent; }
/* 换个助手问：小菜单 */
.swap { position: relative; display: inline-block; }
.swap summary { list-style: none; cursor: pointer; }
.swap summary::-webkit-details-marker { display: none; }
.swap[open] summary { background: var(--accent-soft); color: var(--accent); }
.swap-menu { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; width: 260px; background: var(--surface-solid); border-radius: var(--radius-modal); box-shadow: var(--shadow-raised); border: 0.5px solid var(--separator); padding: 6px; }
.swap-menu .sm-t { font-size: 12px; color: var(--tertiary); padding: 4px 10px 6px; }
.swap-menu button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 14px; text-align: left; }
.swap-menu button:hover { background: rgba(0,0,0,0.04); }
.swap-menu button span { margin-left: auto; font-size: 12px; color: var(--secondary); }
.act:disabled { opacity: 0.45; cursor: not-allowed; }
.flash-hold { background: rgba(0,122,255,0.12); box-shadow: 0 0 0 8px rgba(0,122,255,0.12); }
.divider.flash-hold { background: none; box-shadow: none; }
.divider.flash-hold .dv { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.acts:has(.swap[open]) { margin-bottom: 140px; }  /* 展开时给小菜单留位置，不压住下一条 */

/* S4：助手离线横幅（非阻塞，不影响登录与看历史） */
.offline-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: none;
  text-align: center;
  font-size: 13px; line-height: 1.4; font-weight: 600;
  padding: 9px 14px;
  color: #7a4a00;
  background: linear-gradient(0deg, #fff4d6, #ffe7a8);
  border-bottom: 0.5px solid #e6c766;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.offline-banner b { color: #b3500a; }


/* S5：我的页四模块 */
.me-sec[hidden] { display: none; }
.ob-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ob-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--surface-2, var(--bg, #F5F8FD)); }
.ob-item.done { opacity: .72; }
.ob-ico { width: 20px; height: 20px; flex: 0 0 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.ob-item.done .ob-ico { background: var(--ok); color: #fff; }
.ob-item.todo .ob-ico { background: transparent; border: 1.5px solid #C7CBD1; color: #8A9099; }
.ob-t { font-weight: 600; font-size: 14px; }
.ob-d { font-size: 12.5px; margin-top: 2px; }
.empty { padding: 18px 12px; text-align: center; font-size: 13px; }
.sec-title { display: flex; align-items: center; gap: 8px; }
.sec-title .spacer, .page-head .spacer { flex: 1 1 auto; }
#copyall, #exp-txt, #exp-json { margin-left: 6px; }
.mt-12 { margin-top: 12px; }

/* ============ S6 待办 ============ */
.side-todos { margin: 10px 12px 4px; padding: 10px 12px; background: var(--surface); border: 0.5px solid var(--separator); border-radius: var(--radius-card); }
.st-hd { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--label); }
.st-badge { min-width: 18px; height: 18px; padding: 0 6px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.st-more, .st-assign a { color: var(--accent); font-weight: 500; text-decoration: none; }
.st-more { margin-left: auto; font-size: 12px; }
.st-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.st-item { display: flex; gap: 8px; align-items: flex-start; padding: 6px; border-radius: var(--radius-control); cursor: pointer; }
.st-item:hover { background: var(--neutral-soft); }
.st-check { position: relative; width: 16px; height: 16px; margin-top: 1px; flex-shrink: 0; }
.st-check input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; cursor: pointer; }
.st-dot { display: block; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--secondary); }
.st-check input:checked + .st-dot { background: var(--ok); border-color: var(--ok); }
.st-check input:checked + .st-dot::after { content: "✓"; color: #fff; font-size: 11px; line-height: 14px; display: block; text-align: center; }
.st-body { min-width: 0; }
.st-t { font-size: 13px; line-height: 18px; color: var(--label); }
.st-due { font-size: 11px; color: var(--tertiary); margin-top: 1px; }
.st-empty { padding: 6px 2px; }
.st-assign { margin-top: 8px; font-size: 12px; color: var(--secondary); border-top: 0.5px solid var(--separator); padding-top: 8px; }

/* 待办页 */
.todo-create { margin-bottom: 16px; }
.tc-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.tc-in { flex: 1 1 180px; min-width: 140px; padding: 8px 10px; border: 0.5px solid var(--separator); border-radius: var(--radius-control); background: var(--surface); color: var(--label); font-size: 14px; }
.tc-in:focus { outline: none; border-color: var(--accent); }
#tc-title { flex: 2 1 280px; }
.tc-msg { margin-left: 4px; }
.warn-txt { color: var(--warn-text); }
.ok-txt { color: var(--ok-text); }
.seg-filter { display: flex; gap: 6px; margin: 12px 0; }
.seg-filter button { padding: 6px 14px; border: 0.5px solid var(--separator); background: var(--surface); color: var(--secondary); border-radius: var(--radius-pill); font-size: 13px; cursor: pointer; }
.seg-filter button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-sm { padding: 5px 12px; font-size: 13px; }

/* ============ S7：轨迹 / 日报周报 ============ */
.trail-list { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.trail-item { display: flex; gap: 12px; padding: 10px 4px; border-bottom: 0.5px solid var(--separator); }
.trail-item:last-child { border-bottom: 0; }
.trail-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; background: var(--accent); }
.trail-dot.ok { background: var(--ok-text); }
.trail-dot.ask { background: var(--accent); }
.trail-main { flex: 1; min-width: 0; }
.trail-top { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.trail-time { margin-left: auto; font-size: 12px; color: var(--tertiary); }
.trail-sum { font-size: 14px; line-height: 21px; color: var(--primary); word-break: break-word; }

.rp-head { display: flex; align-items: center; gap: 12px; margin: 14px 0 8px; flex-wrap: wrap; }
.rp-head .seg-filter { margin: 0; }
.rp-head .tc-in { width: auto; }
.rp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0; }
.rp-card { background: var(--surface-solid); border-radius: 12px; padding: 14px; text-align: center; box-shadow: var(--shadow-card); }
.rp-num { font-size: 26px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.rp-l { font-size: 12px; color: var(--secondary); margin-top: 2px; }
.rp-sec-title { font-size: 13px; font-weight: 600; color: var(--secondary); margin: 14px 0 6px; }
.rp-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.rp-li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; padding: 8px 10px; background: var(--surface); border-radius: 8px; }
.rp-li.ok { border-left: 3px solid var(--ok-text); }
.rp-li:not(.ok) { border-left: 3px solid var(--accent); }
.rp-t { font-size: 12px; color: var(--tertiary); flex-shrink: 0; }
.rp-actions { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.rp-msg { color: var(--tertiary); }

.mem-item { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 0.5px solid var(--separator); }
.mem-item:last-child { border-bottom: 0; }
.mem-av { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mem-info { flex: 1; min-width: 0; }
.mem-name { font-size: 14px; font-weight: 600; }
.mem-dept { font-size: 12px; color: var(--secondary); }

/* S8 看板（模块 10） */
.bd-period { font-size: 12px; color: var(--tertiary); }
.bd-sub { margin-top: 2px; font-size: 12px; color: var(--tertiary); }
.bd-kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13px; border-bottom: 1px dashed var(--separator); }
.bd-crit { margin-top: 10px; font-size: 12px; line-height: 1.8; color: var(--tertiary); }
/* S10 在线会议（模块 12） */
.mt-mem { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mt-mem-item { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 0.5px solid var(--separator); border-radius: var(--radius-control); background: var(--surface); font-size: 13px; cursor: pointer; }
.mt-dept { color: var(--tertiary); font-size: 12px; }
.mt-rec { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--secondary); }
.mt-list { display: flex; flex-direction: column; gap: 8px; }
.mt-item { padding: 10px 12px; border: 0.5px solid var(--separator); border-radius: var(--radius-control); background: var(--surface); cursor: pointer; }
.mt-item.active { border-color: var(--accent); background: var(--surface-solid); }
.mt-i-top { display: flex; align-items: center; gap: 8px; }
.mt-i-title { font-size: 14px; font-weight: 600; color: var(--label); }
.mt-i-sub { margin-top: 3px; font-size: 12px; color: var(--tertiary); }
.mt-d-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mt-d-head h2 { font-size: 16px; margin: 0; }
.mt-d-mem { margin: 6px 0 10px; font-size: 13px; color: var(--secondary); }
.mt-ta { width: 100%; min-height: 68px; font-family: inherit; line-height: 1.6; }
.mt-transcript { margin-top: 8px; padding: 10px 12px; border-radius: var(--radius-control); background: var(--surface); max-height: 220px; overflow-y: auto; }
.mt-line { padding: 4px 0; font-size: 13px; color: var(--label); line-height: 1.6; }
.mt-minutes { padding: 12px; border-radius: var(--radius-control); background: var(--surface); font-size: 13px; line-height: 1.85; color: var(--label); white-space: normal; }
.mt-drop { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--secondary); }
.mt-d-title { width: 100%; }
/* S11 对接页 */
.mt-8 { margin-top: 8px; }
/* S12 首次告知：每条挂上它对应的规则编号（#43B/#44C/#47B/#52），便于逐条核对口径 */
.rule-tag { margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-size: 11px; font-weight: 600;
  background: var(--surface); color: var(--secondary); border: 0.5px solid var(--separator); }
/* S12 离职与留存 */
.off-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.off-warn { margin-top: 6px; font-size: 12px; line-height: 1.8; color: var(--tertiary); }
/* S9-补：小测出题表单 + 待送达 */
.qz-form { display: flex; flex-direction: column; gap: 12px; }
.qz-l { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--secondary); }
.qz-sel, .qz-l input, .qz-l textarea {
  padding: 8px 10px; border-radius: 10px; border: 0.5px solid var(--separator);
  background: var(--surface); color: var(--label); font-size: 13px; font-family: inherit; }
.qz-l textarea { resize: vertical; line-height: 1.6; }
.qz-act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qz-msg { line-height: 1.6; }
.train-item.pending { opacity: 0.85; }
.train-tag.pending { background: var(--surface); color: var(--secondary); }

/* S10-LiveKit：会议音视频区（#69 选A 自建） */
.lk-stage { margin: 10px 0 4px; padding: 10px 12px; border-radius: var(--radius-control);
  border: 0.5px solid var(--separator); background: var(--surface); }
.lk-stage.off { color: var(--tertiary); font-size: 12px; line-height: 1.7; }
.lk-tiles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; min-height: 90px; }
.lk-tile { width: 220px; border-radius: 10px; overflow: hidden; background: var(--label, #17365F); position: relative; }
.lk-tile video { width: 100%; display: block; background: var(--label, #17365F); }
.lk-tile audio { display: none; }
.lk-tile .lk-name { position: absolute; left: 6px; bottom: 4px; font-size: 11px; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.8); }
.lk-tile.lk-audio-only { height: 54px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; }
.lk-act { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.lk-hint { font-size: 12px; color: var(--secondary); line-height: 1.7; }

/* 第57轮：聊天气泡里的图片（发送后与历史都能看到） */
.chat-img {
  max-width: min(280px, 70%);
  max-height: 240px;
  border-radius: 10px;
  display: block;
  margin: 4px 0;
  border: 1px solid rgba(0,0,0,.08);
  cursor: zoom-in;
}

/* ========== SZDG-CRM1008-02：对话页「领一批线索」场景入口（纯前端 mock） ========== */
/* 胶囊按钮：复用 .pill 基础外观（tokens.css），只加可点的手感与强调色 */
.pill-claim-leads {
  cursor: pointer;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
  font-family: inherit;
}
.pill-claim-leads:hover { filter: brightness(.96); }
.pill-claim-leads:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 确认卡片 / 成功卡片：跟在助手气泡里，不跳出对话流 */
.claim-leads-card {
  margin: 6px 0;
  padding: 10px 12px;
  border: 1px solid var(--border, rgba(0,0,0,.1));
  border-radius: var(--radius-card, 10px);
  background: var(--surface, #fff);
}
.claim-leads-ok { border-color: var(--ok, #34a853); }
.cl-hd { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.cl-body { font-size: 13px; line-height: 20px; }
.cl-scene, .cl-count { color: var(--accent); }
.cl-tip { color: var(--secondary); }
.cl-ops { display: flex; gap: 8px; margin-top: 10px; }
.cl-ok, .cl-cancel {
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill, 999px);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--border, rgba(0,0,0,.12));
  background: transparent;
  color: var(--secondary);
}
.cl-ok { background: var(--accent); color: #fff; border-color: var(--accent); }
.cl-ok:focus-visible, .cl-cancel:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 会议管理：日历、会议列表与纪要工作区 */
.mt3-head { align-items: flex-start !important; }
.mt3-head h1 { color: #17365F; font-size: 24px !important; font-weight: 750; }
.mt3-head .page-subtitle { margin-top: 3px; color: #7186A4; font-size: 12px; }
.mt3-new { margin-left: 10px; min-height: 38px; border-radius: 10px; }
.mt3-body { max-width: 1440px; padding-top: 8px !important; }
.mt3-tabs { display: flex; gap: 8px; margin-bottom: 16px; border-bottom: 1px solid #E4ECF7; }
.mt3-tabs button { padding: 9px 14px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #7186A4; font: inherit; font-size: 13px; cursor: pointer; }
.mt3-tabs button.active { border-color: #F59A00; color: #D27C00; font-weight: 700; }
.mt3-tabs button:focus-visible, .mt3-day:focus-visible, .mt3-calendar-nav button:focus-visible, .mt3-event:focus-visible { outline: 2px solid #1766D6; outline-offset: 2px; }
.mt3-view[hidden], .mt3-modal-backdrop[hidden] { display: none !important; }
.mt3-grid { display: grid; grid-template-columns: minmax(255px, .36fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.mt3-card { min-width: 0; padding: 18px 20px; border: 1px solid #DCE7F5; border-radius: 17px; background: #fff; box-shadow: 0 3px 0 rgba(32,74,126,.045); }
.mt3-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mt3-card-head h2 { margin: 0; color: #18385F; font-size: 17px; line-height: 1.35; }
.mt3-card-head p { margin: 3px 0 0; color: #7890AF; font-size: 12px; line-height: 1.5; }
.mt3-count { flex: 0 0 auto; padding: 4px 9px; border: 1px solid #E7EDF6; border-radius: 999px; background: #F8FAFD; color: #7186A4; font-size: 11px; }
.mt3-calendar-widget { padding: 4px 2px 0; }
.mt3-calendar-nav { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.mt3-calendar-nav strong { color: #294767; font-size: 14px; }
.mt3-calendar-nav button { width: 30px; height: 30px; border: 1px solid #E4ECF7; border-radius: 9px; background: #fff; color: #55749A; font-size: 20px; line-height: 1; cursor: pointer; }
.mt3-weekdays, .mt3-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.mt3-weekdays { margin-bottom: 6px; color: #91A1B7; font-size: 11px; text-align: center; }
.mt3-weekdays span { padding: 4px 0; }
.mt3-day { position: relative; display: flex; min-width: 0; aspect-ratio: 1 / .82; align-items: center; justify-content: center; border: 1px solid #E4ECF7; border-radius: 9px; background: #fff; color: #617C9D; font: inherit; font-size: 12px; cursor: pointer; }
.mt3-day:hover { border-color: #9CBDF0; background: #F8FBFF; }
.mt3-day.is-today { border-color: #F5BC63; background: #FFF7E9; color: #C67A00; font-weight: 700; }
.mt3-day.is-selected { border-color: #1766D6; background: #EAF3FF; color: #1766D6; box-shadow: 0 0 0 2px rgba(23,102,214,.12); font-weight: 700; }
.mt3-day.has-meeting i { position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: #F59A00; }
.mt3-day-empty { border-color: transparent; background: transparent; cursor: default; }
.mt3-calendar-foot { display: flex; align-items: center; gap: 6px; margin-top: 11px; color: #8799B1; font-size: 11px; }
.mt3-dot { width: 6px; height: 6px; border-radius: 50%; background: #F59A00; }
.mt3-event-list { display: flex; flex-direction: column; gap: 8px; }
.mt3-event { display: grid; grid-template-columns: 68px minmax(0,1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 11px 12px; border: 1px solid #E4ECF7; border-radius: 13px; background: #fff; color: #294767; text-align: left; cursor: pointer; }
.mt3-event:hover, .mt3-event.active { border-color: #9CBDF0; background: #F8FBFF; }
.mt3-event-time { display: flex; flex-direction: column; gap: 3px; color: #7186A4; font-size: 11px; }
.mt3-event-time strong { color: #C67A00; font-size: 13px; font-weight: 700; }
.mt3-event-main { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.mt3-event-title { overflow: hidden; color: #1B3B62; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.mt3-event-main small { overflow-wrap: anywhere; color: #8295AE; font-size: 11px; }
.mt3-view-arrow { grid-column: 2 / -1; justify-self: end; color: #1766D6; font-size: 11px; }
.mt3-empty { display: flex; min-height: 200px; align-items: center; justify-content: center; flex-direction: column; gap: 8px; padding: 24px; color: #7186A4; text-align: center; }
.mt3-empty-icon { color: #B7C8DE; font-size: 24px; }
.mt3-empty strong { color: #294767; font-size: 13px; }
.mt3-empty small { max-width: 320px; color: #8799B1; font-size: 11px; line-height: 1.6; }
.mt3-empty .btn { margin-top: 4px; }
.mt3-privacy { margin-top: 16px; }
.mt3-modal-backdrop { position: fixed; inset: 0; z-index: 650; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(25,45,72,.38); }
.mt3-modal, .mt3-detail-modal { display: flex; width: min(620px,100%); max-height: min(88vh,780px); flex-direction: column; overflow: hidden; border: 1px solid #DCE7F5; border-radius: 20px; background: #fff; box-shadow: 0 24px 80px rgba(25,45,72,.22); }
.mt3-detail-modal { width: min(920px,100%); }
.mt3-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 22px 14px; border-bottom: 1px solid #EDF2F8; background: #FFFCF6; }
.mt3-modal-head h2 { margin: 0; color: #17365F; font-size: 18px; }
.mt3-modal-head p { margin: 4px 0 0; color: #8295AE; font-size: 11px; line-height: 1.5; }
.mt3-close { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #7186A4; font-size: 25px; line-height: 1; cursor: pointer; }
.mt3-close:hover { background: #F0F4FA; }
.mt3-modal-body { overflow: auto; padding: 20px 22px; }
.mt3-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; color: #7186A4; font-size: 12px; font-weight: 650; }
.mt3-field input.tc-in { min-height: 42px; }
.mt3-field small { color: #8799B1; font-size: 11px; font-weight: 400; }
.mt3-record { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #E4ECF7; border-radius: 12px; background: #F8FAFD; cursor: pointer; }
.mt3-record input { margin-top: 3px; accent-color: #1766D6; }
.mt3-record span { display: flex; flex-direction: column; gap: 4px; }
.mt3-record strong { color: #294767; font-size: 12px; }
.mt3-record small { color: #8295AE; font-size: 11px; font-weight: 400; line-height: 1.5; }
.mt3-record-note { margin: 12px 0 0; font-size: 11px; }
.mt3-modal-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 14px 22px 18px; border-top: 1px solid #EDF2F8; }
.mt3-modal-foot .tc-msg { flex: 1; }
.mt3-detail-scroll { overflow: auto; padding: 18px 22px 24px; }
.mt3-detail-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 14px; margin-bottom: 16px; }
.mt3-detail-summary > div { min-width: 0; padding: 11px 12px; border: 1px solid #E4ECF7; border-radius: 11px; background: #FBFCFE; }
.mt3-detail-summary small { display: block; margin-bottom: 5px; color: #8295AE; font-size: 10px; }
.mt3-detail-summary strong { display: block; overflow-wrap: anywhere; color: #294767; font-size: 12px; line-height: 1.55; }
.mt3-detail-summary-wide { grid-column: 1 / -1; }
.mt3-detail-title { margin-bottom: 6px; }
.mt3-detail-section { margin-top: 14px; padding: 13px; border: 1px solid #E4ECF7; border-radius: 13px; background: #fff; }
.mt3-detail-section .rp-sec-title { margin-top: 0; }
.mt3-detail .tc-row { flex-wrap: wrap; gap: 8px; }
.mt3-detail .mt3-table-wrap { overflow-x: auto; }
.mt3-detail table { min-width: 520px; }
.mt3-detail #mt-drafts .tc-in { min-width: 140px; }
@media (max-width: 900px) {
  .mt3-grid { grid-template-columns: minmax(0,1fr); }
  .mt3-calendar { max-width: none; }
  .mt3-event { grid-template-columns: 64px minmax(0,1fr) auto; }
}
@media (max-width: 600px) {
  .mt3-head { flex-wrap: wrap; }
  .mt3-head h1 { font-size: 21px !important; }
  .mt3-new { margin: 8px 0 0; }
  .mt3-body { padding: 4px 12px 32px !important; }
  .mt3-tabs { margin-bottom: 12px; }
  .mt3-tabs button { flex: 1; padding-right: 6px; padding-left: 6px; font-size: 12px; }
  .mt3-grid { gap: 12px; }
  .mt3-card { padding: 15px 13px; border-radius: 15px; }
  .mt3-event { grid-template-columns: 54px minmax(0,1fr); gap: 8px; padding: 10px; }
  .mt3-event > .pill { grid-column: 2; justify-self: start; }
  .mt3-view-arrow { grid-column: 2; justify-self: start; }
  .mt3-modal-backdrop { align-items: flex-end; padding: 8px; }
  .mt3-modal, .mt3-detail-modal { width: 100%; max-height: calc(100dvh - 16px); border-radius: 18px; }
  .mt3-modal-head { padding: 15px 16px 12px; }
  .mt3-modal-body { padding: 16px; }
  .mt3-modal-foot { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
  .mt3-modal-foot .tc-msg { grid-column: 1 / -1; }
  .mt3-modal-foot #mt-create { grid-column: 2; }
  .mt3-detail-scroll { padding: 14px 12px 20px; }
  .mt3-detail-summary { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .mt3-detail-summary-wide { grid-column: auto; }
  .mt3-detail-section { padding: 11px 10px; }
}

/* 团队管理：保留现有部门统计与权限边界，按成员卡片组织内容 */
.team-ui-head { align-items: flex-start !important; gap: 12px; }
.team-ui-heading { min-width: 190px; }
.team-ui-heading h1 { margin: 0; color: #17365F; font-size: 24px !important; font-weight: 750; }
.team-ui-heading .page-subtitle { margin-top: 4px; color: #7186A4; font-size: 12px; }
.team-ui-switch { max-width: min(52vw,620px); overflow-x: auto; flex: 0 1 auto; }
.team-ui-switch .ts-btn { white-space: nowrap; }
.team-ui-invite { flex: 0 0 auto; border-radius: 10px; }
.team-ui-invite:disabled { opacity: .58; cursor: not-allowed; }
.team-ui-body { max-width: 1500px; padding-top: 8px !important; }
.team-ui-privacy { margin-bottom: 16px; }
.team-ui-content { display: flex; flex-direction: column; gap: 16px; }
.team-ui-stats .grid-4, .team-ui-summary .grid-4 { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 0; }
.team-ui-stats .stat, .team-ui-summary .stat { position: relative; min-width: 0; min-height: 92px; padding: 16px 18px; overflow: hidden; border: 1px solid #DCE7F5; border-radius: 15px; background: #fff; box-shadow: 0 3px 0 rgba(32,74,126,.045); }
.team-ui-stats .stat::before { position: absolute; top: 15px; bottom: 15px; left: 0; width: 3px; border-radius: 0 4px 4px 0; background: #1766D6; content: ""; }
.team-ui-stats .stat:nth-child(2)::before { background: #F59A00; }
.team-ui-stats .stat:nth-child(3)::before { background: #22A9A0; }
.team-ui-stats .stat:nth-child(4)::before { background: #7D63D6; }
.team-ui-stats .stat .big-num { color: #17365F; font-size: 27px; line-height: 1.1; }
.team-ui-summary .stat { min-height: 82px; }
.team-ui-summary .stat .big-num { color: #1766D6; font-size: 23px; line-height: 1.15; }
.team-ui-insights { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; align-items: stretch; }
.team-ui-columns { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 16px; align-items: start; }
.team-ui-card { min-width: 0; padding: 18px; border: 1px solid #DCE7F5; border-radius: 16px; background: #fff; box-shadow: 0 3px 0 rgba(32,74,126,.045); }
.team-ui-card .sec-title { margin-bottom: 12px; color: #1B3B62; font-weight: 700; }
.team-ui-card .sec-title .sub { color: #8295AE; font-size: 11px; font-weight: 400; }
.team-ui-insights .topic { grid-template-columns: 24px minmax(0,1fr) minmax(72px,112px) 44px; gap: 10px; padding: 10px 0; }
.team-ui-insights .topic .nm { color: #294767; font-size: 13px; font-weight: 650; }
.team-ui-insights .topic .sm { font-size: 11px; line-height: 1.5; }
.team-ui-insights .topic .bar { height: 7px; }
.team-ui-table-wrap { min-width: 0; overflow-x: auto; }
.team-ui-table { width: 100%; }
.team-ui-card .team-ui-table { table-layout: fixed; }
.team-ui-insights .team-ui-table th:nth-child(2), .team-ui-insights .team-ui-table td:nth-child(2) { width: 56px; }
.team-ui-insights .team-ui-table th:nth-child(3), .team-ui-insights .team-ui-table td:nth-child(3) { width: 76px; }
.team-ui-table th { white-space: nowrap; }
.team-ui-table td { overflow-wrap: anywhere; }
.team-ui-member-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.team-ui-member { display: flex; min-width: 0; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid #E3EAF4; border-radius: 13px; background: #FBFCFE; }
.team-ui-member-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.team-ui-avatar { display: inline-flex; width: 42px; height: 42px; flex: 0 0 42px; align-items: center; justify-content: center; border: 1px solid #F3DDAA; border-radius: 50%; background: #FFF8E9; color: #C67A00; font-size: 17px; font-weight: 700; }
.team-ui-member-info { min-width: 0; flex: 1; }
.team-ui-member-info h3 { overflow: hidden; margin: 0; color: #17365F; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.team-ui-member-info p { overflow: hidden; margin: 4px 0 0; color: #8295AE; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.team-ui-member-work { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 9px; background: #F0F5FC; }
.team-ui-member-work div { display: flex; align-items: baseline; gap: 8px; }
.team-ui-member-work small { color: #7186A4; font-size: 11px; }
.team-ui-member-work strong { color: #1766D6; font-size: 19px; }
.team-ui-member-work > span { color: #8A9AB0; font-size: 10px; text-align: right; }
.team-ui-member-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.team-ui-member-actions .btn { flex: 1 1 94px; min-width: 0; }
.team-ui-member-actions .btn:disabled { opacity: .55; cursor: not-allowed; }
.team-ui-profile-modal { display: flex; width: min(820px,100%); max-height: min(88vh,800px); flex-direction: column; overflow: hidden; padding: 0; border: 1px solid #DCE7F5; border-radius: 20px; }
.team-ui-profile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 19px 24px 15px; border-bottom: 1px solid #EDF2F8; background: #FFFCF6; }
.team-ui-profile-head h2 { margin: 0; color: #17365F; font-size: 18px; }
.team-ui-profile-head p { margin: 4px 0 0; color: #8295AE; font-size: 11px; line-height: 1.5; }
.team-ui-profile-close { width: 32px; height: 32px; flex: 0 0 32px; border: 0; border-radius: 8px; background: transparent; color: #7186A4; font-size: 26px; line-height: 1; cursor: pointer; }
.team-ui-profile-close:hover { background: #F0F4FA; }
.team-ui-profile-body { min-height: 0; flex: 1 1 auto; overflow: auto; padding: 19px 24px 22px; }
.team-ui-profile-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 14px; }
.team-ui-profile-fields > div { display: flex; min-width: 0; min-height: 58px; flex-direction: column; justify-content: center; gap: 6px; padding: 10px 12px; border: 1px solid #E4ECF7; border-radius: 10px; background: #FBFCFE; }
.team-ui-profile-fields > div small { color: #8295AE; font-size: 10px; }
.team-ui-profile-fields > div strong { overflow-wrap: anywhere; color: #294767; font-size: 12px; }
.team-ui-profile-fields > .team-ui-profile-wide { grid-column: 1 / -1; }
.team-ui-profile-note { margin: 13px 0; font-size: 11px; }
.team-ui-profile-section { margin-top: 12px; padding: 14px; border: 1px solid #E4ECF7; border-radius: 12px; background: #fff; }
.team-ui-profile-section .attr-row { margin-bottom: 10px; }
.team-ui-profile-section .attr-bar { height: 8px; }
.team-ui-profile-foot { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 8px; padding: 13px 24px 17px; border-top: 1px solid #EDF2F8; }
.team-ui-profile-foot > span { flex: 1; color: #8799B1; font-size: 10px; line-height: 1.5; }
.team-ui-profile-foot .btn:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 900px) {
  .team-ui-insights, .team-ui-columns { grid-template-columns: minmax(0,1fr); }
  .team-ui-member-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .team-ui-switch { max-width: 100%; }
}
@media (max-width: 600px) {
  .team-ui-head { flex-wrap: wrap; }
  .team-ui-heading { flex: 1 1 calc(100% - 44px); }
  .team-ui-heading h1 { font-size: 21px !important; }
  .team-ui-head .phase { align-self: flex-start; }
  .team-ui-head .spacer { display: none; }
  .team-ui-switch { order: 5; width: 100%; max-width: 100%; }
  .team-ui-invite { order: 4; margin-left: auto; }
  .team-ui-head .sample-strip { order: 6; }
  .team-ui-body { padding: 4px 12px 32px !important; }
  .team-ui-privacy { margin-bottom: 12px; }
  .team-ui-content { gap: 12px; }
  .team-ui-stats .grid-4, .team-ui-summary .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .team-ui-stats .stat, .team-ui-summary .stat { min-height: 78px; padding: 12px; }
  .team-ui-stats .stat .big-num { font-size: 23px; }
  .team-ui-summary .stat .big-num { font-size: 20px; }
  .team-ui-insights .topic { grid-template-columns: 20px minmax(0,1fr) 38px; gap: 8px; }
  .team-ui-insights .topic .bar { grid-column: 2 / -1; grid-row: 2; width: 100%; }
  .team-ui-insights .topic .n { grid-column: 3; grid-row: 1; }
  .team-ui-card { padding: 14px; }
  .team-ui-member-grid { grid-template-columns: minmax(0,1fr); }
  .team-ui-member { padding: 12px; }
  .team-ui-table { min-width: 0; }
  .team-ui-table thead { display: none; }
  .team-ui-table, .team-ui-table tbody { display: block; width: 100%; }
  .team-ui-table tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 12px; margin: 8px 0; padding: 11px; border: 1px solid #E4ECF7; border-radius: 10px; background: #fff; }
  .team-ui-table tbody td { display: flex; min-width: 0; flex-direction: column; gap: 3px; padding: 0; border: 0; color: #294767; font-size: 12px; }
  .team-ui-table tbody td:first-child { grid-column: 1 / -1; }
  .team-ui-table tbody td[data-label]::before { color: #8799B1; content: attr(data-label); font-size: 10px; }
  .team-ui-table tbody td[colspan] { display: block; grid-column: 1 / -1; }
  .team-ui-table tbody td[colspan]::before { content: none; }
  .team-ui-profile-modal { width: 100%; max-height: calc(100dvh - 32px); border-radius: 16px; }
  .team-ui-profile-head { padding: 15px 16px 12px; }
  .team-ui-profile-body { padding: 14px 16px 16px; }
  .team-ui-profile-fields { gap: 8px; }
  .team-ui-profile-fields > div { min-height: 52px; padding: 8px; }
  .team-ui-profile-note { margin: 10px 0; }
  .team-ui-profile-section { padding: 11px; }
  .team-ui-profile-foot { flex-wrap: wrap; padding: 11px 16px 14px; }
  .team-ui-profile-foot > span { flex-basis: 100%; }
  .team-ui-profile-foot .btn { flex: 1 1 0; }
}
