/* 10-13 改版：meeting（只用 tokens.css 的令牌，不写死颜色；皮肤在后面加载，可覆盖） */

/* 来源标签「腾讯会议」：会议卡、会议列表；出处标签是中性墨色，不上状态色 */
.wm-tag { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; max-width: 100%; font-size: var(--fs-meta); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-tag .i { flex: none; }

/* 腾讯会议拉回的逐字稿（发言人＋时间戳）与智能纪要待办：识别弹窗左栏、会议页右栏共用 */
.wm-src { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--radius-ctl); background: var(--surface); box-shadow: var(--shadow-inset); min-width: 0; }
.wm-src-h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: var(--fs-label); }
.wm-src-h b { min-width: 0; }
.wm-k { display: flex; align-items: center; gap: 5px; font-size: var(--fs-meta); color: var(--ink-3); font-weight: 600; margin-top: 2px; }
.wm-tr { display: flex; flex-direction: column; gap: 6px; }
.wm-seg { display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: var(--fs-small); line-height: 1.55; min-width: 0; }
.wm-seg-h { display: flex; align-items: baseline; gap: 8px; font-size: var(--fs-meta); }
.wm-seg-h b { color: var(--ink); }
.wm-ts { font-family: var(--font-num); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.wm-seg-t { color: var(--ink-2); overflow-wrap: anywhere; }
.wm-todo { display: flex; flex-direction: column; gap: 4px; }
.wm-todo-r { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); min-width: 0; }
.wm-todo-r .grow { min-width: 0; overflow-wrap: anywhere; }
.wm-todo-r .badge { flex: none; }

/* 会议整页右栏「腾讯会议」 */
.wm-side .panel-b { display: flex; flex-direction: column; gap: 10px; }
.wm-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.wm-row b { font-size: var(--fs-strong); letter-spacing: .02em; }
.wm-note { display: flex; gap: 6px; align-items: flex-start; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.55; }
.wm-note .i { flex: none; margin-top: 2px; }
.wm-got { display: flex; flex-direction: column; gap: 4px; }
.wm-got-r { display: flex; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--ink-2); min-width: 0; }
.wm-got-r .i { flex: none; }
.wm-go { align-self: flex-start; }
.wm-rec { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: 0; border-radius: var(--radius-ctl); background: var(--surface-2); box-shadow: var(--shadow-inset); color: var(--ink); font: inherit; font-size: var(--fs-ui); text-align: left; cursor: pointer; }
.wm-rec:hover { box-shadow: var(--shadow-hover); }
.wm-rec .i { flex: none; }
.wm-rec.off { cursor: default; color: var(--ink-3); background: transparent; font-size: var(--fs-small); }
.wm-rec.off:hover { box-shadow: var(--shadow-inset); }

/* ---------- 会议卡（10-13 第三轮）：六种状态共用一套骨架，状态色由卡片 data-state 管，这里只排版 ---------- */
.wmc { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.wmc-k { font-size: var(--fs-meta); font-weight: 600; color: var(--ink-3); }
.wmc-big { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 600; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.wmc-big .num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.wmc-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: var(--fs-small); color: var(--ink-2); min-width: 0; }
.wm-no { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 2px 8px; border: 0; border-radius: var(--radius-pill); background: var(--surface-2); box-shadow: var(--shadow-inset); color: var(--ink-2); font: inherit; font-size: var(--fs-meta); cursor: pointer; white-space: nowrap; }
.wm-no b { color: var(--ink); letter-spacing: .02em; }
.wm-no:hover { box-shadow: var(--shadow-hover); }
.wm-no .i { flex: none; }
.wmc-bar { height: 4px; border-radius: var(--radius-pill); background: var(--line); overflow: hidden; }
.wmc-bar i { display: block; height: 100%; width: calc(var(--p, 1) * 100%); border-radius: inherit; background: var(--ink-2); }
.wmc-bar.busy i { width: 36%; animation: wmbusy 1.2s var(--ease) infinite; }
@keyframes wmbusy { 0% { transform: translateX(-100%); } 100% { transform: translateX(280%); } }
.wmc-rest { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wmc-dec { margin: 0; padding-left: 18px; font-size: var(--fs-small); line-height: 1.6; color: var(--ink-2); }
.wmc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 2px; }
/* 整卡高亮：即将开始、进行中描「今天」色的圈，拉回来等你处理描「等你定」色的圈（颜色仍只表示状态，取皮肤的状态点色） */
.wcard[data-card-mod="meetings"]:has(.wmc-soon, .wmc-live) { box-shadow: 0 0 0 2px var(--today-dot), 0 10px 30px -12px color-mix(in srgb, var(--today-dot) 55%, transparent), var(--card-shadow); }
.wcard[data-card-mod="meetings"]:has(.wmc-ready) { box-shadow: 0 0 0 2px var(--wait-dot), 0 10px 30px -12px color-mix(in srgb, var(--wait-dot) 55%, transparent), var(--card-shadow); }
.wmc-soon .wmc-bar i { background: var(--today-dot); }
.wmc-soon .wmc-big, .wmc-live .wmc-big { color: var(--today-ink); }

/* 会前 5 分钟的提醒横幅：挂在顶栏下沿，盖在内容上；进了会或点 × 收起 */
.wm-alert { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 30; width: min(640px, calc(100% - 24px)); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 8px 8px 14px; border-radius: var(--radius-card); background: var(--surface-raised); box-shadow: var(--shadow-pop); color: var(--ink); font-size: var(--fs-label); animation: wmalert .32s var(--ease); }
.wm-alert > .i { flex: none; color: var(--ink-2); }
.wm-alert .grow { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; min-width: 0; }
.wm-alert-s { font-size: var(--fs-small); color: var(--ink-3); }
@keyframes wmalert { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 560px) { .wm-alert .grow { flex-basis: calc(100% - 30px); } }

/* 会后的会议页：左智能摘要（决议可点）、右逐字稿（点到的那句高亮） */
.wm-sum .panel-b, .wm-trc .panel-b, .wm-recc .panel-b { display: flex; flex-direction: column; gap: 8px; }
.wm-decs { display: flex; flex-direction: column; gap: 4px; }
.wm-dec { display: flex; align-items: flex-start; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink); font: inherit; font-size: var(--fs-label); line-height: 1.55; text-align: left; cursor: pointer; }
.wm-dec:hover { box-shadow: var(--shadow-inset); }
.wm-dec.on { box-shadow: inset 0 0 0 1.5px var(--accent-line); background: var(--accent-soft); }
.wm-dec-n { flex: none; width: 18px; color: var(--ink-3); }
.wm-dec .wm-ts { flex: none; }
.wm-sum-f { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.wm-seg { transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.wm-seg.hl { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent-line); }

/* 日程大卡：今天新写进飞书、但不在今天的日程 */
.cal-add { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); min-width: 0; }
@media (prefers-reduced-motion: reduce) { .wmc-bar.busy i, .wm-alert { animation: none; } }
