/* 售后排查页样式。留在控制台外壳里，配色一律走 tokens.css 变量。 */
[hidden] { display: none !important; }
.as-app {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  color: var(--text-primary);
}

.as-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.as-head h1 { margin: 0 0 6px; font-size: 20px; }
.as-head p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.6; max-width: 640px; }
.as-head nav a { color: var(--accent); text-decoration: none; font-size: 13px; white-space: nowrap; }

/* 症状浏览 */
.as-browse { margin: 18px 0 12px; display: grid; gap: 12px; }
.as-cat-t { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.as-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.as-chip {
  border: 1px solid var(--border); background: var(--card); color: var(--text-primary);
  border-radius: var(--radius-full, 999px); padding: 6px 12px; font-size: 13px; cursor: pointer;
}
.as-chip:hover { border-color: var(--accent); color: var(--accent); }

/* 搜索 */
.as-search { display: flex; gap: 8px; margin: 8px 0 20px; }
.as-search input {
  flex: 1; border: 1px solid var(--border-control, var(--border)); border-radius: var(--radius-md, 8px);
  padding: 10px 12px; font-size: 14px; background: var(--card); color: var(--text-primary);
}
.as-search button {
  border: 0; background: var(--accent); color: var(--text-on-accent, #fff);
  border-radius: var(--radius-md, 8px); padding: 0 18px; font-size: 14px; cursor: pointer;
}
.as-search button:disabled { opacity: .6; cursor: default; }
/* 2026-10-01 产品列表（最多 60 款）往下翻，搜索框钉在顶上（老板：「往下拉的时候，上面的抬头或者筛选框要看得到」）。
   只在列表时钉（aftersales.js 给 body 挂 as-listing）：点进一款后顶上换成那款自己的吸顶条，两条都钉 top:0 会叠在一起 */
.as-listing .as-search { position: sticky; top: 0; z-index: 10; background: var(--canvas); margin: 0 0 12px; padding: 8px 0; }

/* 结果卡 */
.as-result {
  border: 1px solid var(--border); border-radius: var(--radius-lg, 12px);
  background: var(--card); padding: 16px; margin-bottom: 24px; box-shadow: var(--shadow-1, none);
}
.as-loading { color: var(--text-muted); font-size: 13px; }
.as-q { font-weight: 600; margin-bottom: 10px; }
.as-sku { color: var(--accent); font-weight: 600; margin-left: 4px; }
.as-answer { font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.as-cant { background: var(--accent-soft-bg); border-radius: var(--radius-md, 8px); padding: 12px; }
.as-cant-why { color: var(--text-secondary); font-size: 13px; margin-top: 4px; }

.as-cites { margin-top: 14px; border-top: 1px dashed var(--border); padding-top: 10px; }
.as-cites-t { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.as-cite { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; padding: 3px 0; }
.as-cite-label { font-weight: 500; }
.as-cite-origin { color: var(--text-muted); font-size: 12px; }

.as-badge { font-size: 11px; padding: 1px 7px; border-radius: var(--radius-full, 999px); border: 1px solid transparent; }
.as-badge.general { background: var(--accent-soft-bg); color: var(--accent-soft-fg, var(--accent)); }
.as-badge.model { background: var(--green-soft); color: var(--green); }
.as-badge.draft { background: color-mix(in srgb, var(--amber) 18%, transparent); color: var(--amber); border-color: color-mix(in srgb, var(--amber) 40%, transparent); }
.as-badge.bad { background: var(--danger-bg); color: var(--danger-fg); border-color: var(--danger-border); }

/* 命中的错误码 / 错误码表共用行样式 */
.as-hitcodes { margin-top: 14px; }
.as-hitcodes-t { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.as-code {
  border: 1px solid var(--border); border-radius: var(--radius-md, 8px);
  padding: 10px 12px; margin-bottom: 8px; background: var(--canvas);
}
.as-code.draft { border-style: dashed; }
.as-code-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.as-code-top b { font-size: 15px; }
.as-code-scope { color: var(--text-muted); font-size: 12px; }
.as-code-mean, .as-code-sol { font-size: 13px; line-height: 1.6; margin-top: 5px; }
.as-code-mean b, .as-code-sol b { color: var(--text-secondary); }
.as-code-origin { font-size: 11px; color: var(--text-muted); margin-top: 6px; }

/* 转工厂 */
.as-acts { margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.as-fwd {
  border: 1px solid var(--accent); background: transparent; color: var(--accent);
  border-radius: var(--radius-md, 8px); padding: 7px 14px; font-size: 13px; cursor: pointer;
}
.as-fwd:hover { background: var(--accent-soft-bg); }
.as-fwd:disabled { opacity: .6; cursor: default; }
.as-fwd-hint { color: var(--green); font-size: 13px; }

/* 错误码表区 */
.as-codes { border-top: 1px solid var(--border); padding-top: 18px; }
.as-codes-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.as-codes-head h2 { margin: 0; font-size: 16px; }
.as-codes-head input {
  border: 1px solid var(--border-control, var(--border)); border-radius: var(--radius-md, 8px);
  padding: 7px 10px; font-size: 13px; background: var(--card); color: var(--text-primary); width: 220px; max-width: 50vw;
}
.as-empty { color: var(--text-muted); font-size: 13px; padding: 12px 0; }

@media (max-width: 560px) {
  .as-head { flex-direction: column; }
  .as-codes-head { flex-direction: column; align-items: flex-start; }
  .as-codes-head input { width: 100%; max-width: none; }
}

/* 症状 chip 计数 + 选中态 */
.as-chip i { font-style: normal; opacity: .6; font-size: 12px; margin-left: 2px; }
.as-chip.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft-bg); }

/* 分区小标题 */
.as-sec-t { font-size: 12px; color: var(--text-muted); margin: 14px 0 8px; }
.as-hintline { font-size: 13px; color: var(--text-primary); margin: 4px 0 12px; }   /* 0 条：按参数找 → 问一问、TC 路径 → 文件检索（10-18） */
.as-hintline a { text-decoration: none; margin-left: 4px; }

/* 维修资产卡 */
.as-assets { display: grid; gap: 10px; }
.as-asset { border: 1px solid var(--border); border-radius: var(--radius-md, 8px); background: var(--canvas); overflow: hidden; }
.as-a-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.as-a-thumb { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--accent-soft-bg); flex: none; }
.as-a-thumb-none { display: flex; align-items: center; justify-content: center; font-size: 22px; }
.as-a-meta { flex: 1; min-width: 0; }
.as-a-title { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-a-sub { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.as-a-prod { color: var(--text-muted); font-size: 12px; }
.as-a-play, .as-a-copy {
  flex: none; border: 1px solid var(--accent); background: transparent; color: var(--accent);
  border-radius: var(--radius-md, 8px); padding: 5px 12px; font-size: 12px; cursor: pointer;
}
.as-a-play:hover, .as-a-copy:hover { background: var(--accent-soft-bg); }
.as-a-player { padding: 0 10px 10px; }
.as-a-player video { width: 100%; max-height: 420px; border-radius: 8px; background: #000; display: block; }
/* 没转存的视频：第一次从 TC 现取要等，写明大概几秒（别让人对着黑屏猜） */
.as-v-wait { margin-top: 6px; padding: 6px 10px; border-radius: 6px; font-size: 12px; line-height: 1.6;
  background: var(--fs-hint-bg); color: var(--text-secondary); }
.as-v-err { color: var(--danger-fg); }

/* 分组：通用做法 / 按型号 */
.as-grp { margin-bottom: 14px; }
.as-grp-t { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin: 6px 0 8px;
  padding-left: 8px; border-left: 3px solid var(--accent); }
.as-grp .as-asset { margin-bottom: 8px; }

/* 页面内查看：图 / PDF */
.as-a-img { width: 100%; max-height: 600px; object-fit: contain; border-radius: 8px; background: var(--canvas); display: block; }
.as-a-pdf { width: 100%; height: 70vh; min-height: 420px; border: 0; border-radius: 8px; background: var(--canvas); }
.as-a-view { flex: none; border: 1px solid var(--accent); background: transparent; color: var(--accent);
  border-radius: var(--radius-md, 8px); padding: 5px 12px; font-size: 12px; cursor: pointer; }
.as-a-view:hover { background: var(--accent-soft-bg); }

/* 「让 AI 读一遍资料」按钮：次要样式 */
.as-ai-btn { border: 1px solid var(--border); background: var(--card); color: var(--text-secondary);
  border-radius: var(--radius-md, 8px); padding: 7px 14px; font-size: 13px; cursor: pointer; }
.as-ai-btn:hover { border-color: var(--accent); color: var(--accent); }
.as-ai-btn:disabled { opacity: .6; cursor: default; }
.as-ai { margin-top: 8px; }

/* 工厂问答 / 资料里的说法卡 */
.as-kb { border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: var(--radius-md, 8px);
  background: var(--canvas); padding: 10px 12px; margin-bottom: 8px; }
.as-kb-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; }
.as-kb-title { font-size: 13px; font-weight: 600; }
.as-kb-text { font-size: 13px; line-height: 1.6; color: var(--text-primary); white-space: pre-wrap; }
.as-kb-origin { font-size: 11px; color: var(--text-muted); margin-top: 6px; }

/* 卡片中段:SKU/日期/大小 的分隔点 */
.as-a-dot { color: var(--text-disabled, var(--text-muted)); margin: 0 6px; font-size: 11px; }
.as-a-sub .as-a-prod { color: var(--text-muted); font-size: 12px; }

/* ---- 产品优先：搜索、产品卡、产品头 ---- */
.as-general-btn { border: 1px solid var(--border); background: var(--card); color: var(--text-secondary);
  border-radius: var(--radius-md, 8px); padding: 0 14px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.as-general-btn:hover { border-color: var(--accent); color: var(--accent); }

.as-plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.as-pcard { display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--radius-md, 8px); background: var(--card); padding: 10px; }
.as-pcard:hover { border-color: var(--accent); }
.as-pcard-img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; background: var(--accent-soft-bg); flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 22px; }
.as-pcard-body { display: flex; flex-direction: column; min-width: 0; }
.as-pcard-body b { font-size: 13px; }
.as-pcard-body span { font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-pcard-n { font-size: 11px; color: var(--accent); font-style: normal; margin-top: 2px; }
.as-pcard-n.muted { color: var(--text-muted); }

.as-back { border: 0; background: transparent; color: var(--accent); font-size: 13px; cursor: pointer; padding: 4px 0; margin-bottom: 8px; }
.as-phead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.as-phead-img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--accent-soft-bg); flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 26px; }
.as-phead-name { font-size: 16px; font-weight: 600; }
.as-phead-code { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* 工厂问答卡：Q/A 换行、要点高亮、对接人/跟单/业务角标、老日期标红、按分类分组 */
.as-kbgrp { margin-bottom: 12px; }
.as-kbgrp-t { font-size: 12px; font-weight: 600; color: var(--text-secondary); margin: 8px 0 6px; padding-left: 8px; border-left: 3px solid var(--accent); }
.as-kb { border: 1px solid var(--border); border-radius: var(--radius-md, 8px); background: var(--canvas); padding: 10px 12px; margin-bottom: 8px; }
.as-kb-q, .as-kb-a { font-size: 13px; line-height: 1.7; }
.as-kb-q b, .as-kb-a b { display: inline-block; width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 5px; font-size: 11px; margin-right: 8px; flex: none; }
.as-kb-q b { background: var(--accent-soft-bg); color: var(--accent-soft-fg, var(--accent)); }
.as-kb-a { margin-top: 5px; }
.as-kb-a b { background: var(--green-soft); color: var(--green); }
.as-kb mark { background: color-mix(in srgb, var(--amber) 30%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.as-kb-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.as-kb-tag { font-size: 11px; color: var(--text-secondary); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-full, 999px); padding: 1px 8px; }
.as-kb-src { font-size: 11px; color: var(--text-muted); }
.as-kb-date { font-size: 11px; color: var(--text-muted); }
.as-kb-date.old { color: var(--chart-negative); font-weight: 600; }

/* 分流：两条路的步骤提示 */
.as-steps { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.as-step { flex: 1; min-width: 220px; border: 1px solid var(--border); border-radius: var(--radius-md, 8px); padding: 10px 12px; background: var(--card); }
.as-step b { font-size: 13px; }
.as-step p { margin: 4px 0 0; font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* 相关型号标签 */
.as-rel-tag { font-size: 10px; font-weight: 600; color: var(--accent); background: var(--accent-soft-bg); border-radius: var(--radius-full, 999px); padding: 0 6px; margin-left: 4px; }

/* 售前 / 售后 切换条与标签（2026-09-26 扩成产品百科） */
.as-head h1 small { font-size: 13px; font-weight: 500; color: var(--text-muted); margin-left: 6px; }
.as-seg { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-md, 8px); overflow: hidden; margin: 0 0 10px; }
.as-seg button { border: 0; background: var(--card); color: var(--text-secondary); font-size: 13px; padding: 7px 14px; cursor: pointer; }
.as-seg button + button { border-left: 1px solid var(--border); }
.as-seg button.on { background: var(--accent); color: var(--text-on-accent, #fff); }
.as-seg button i { font-style: normal; opacity: .75; margin-left: 2px; }
.as-side { font-size: 11px; font-weight: 600; border-radius: var(--radius-full, 999px); padding: 1px 7px; }
.as-side-pre { background: var(--accent-soft-bg); color: var(--accent); }
.as-side-post { background: var(--green-soft); color: var(--green); }

/* 简道云内部链接 */
.as-jdy { margin-left: 8px; font-size: 12px; color: var(--accent); text-decoration: none; border: 1px solid var(--accent-soft-border, var(--border));
  border-radius: var(--radius-full, 999px); padding: 1px 9px; }
.as-jdy:hover { background: var(--accent-soft-bg); }
/* 官网链接（咖啡官网 / 餐饮官网上这款的产品页，10-06）：一键复制发客户 */
.as-sites { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; font-size: 12px; }
.as-sites-l { color: var(--text-secondary); white-space: nowrap; }
.as-site { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.as-site a { color: var(--accent); text-decoration: none; border: 1px solid var(--accent-soft-border, var(--border)); border-radius: var(--radius-full, 999px); padding: 1px 9px; }
.as-site a:hover { background: var(--accent-soft-bg); }
.as-site-cp { border: 1px solid var(--accent); background: var(--accent); color: var(--card); border-radius: var(--radius-full, 999px); padding: 1px 9px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.as-site-cp:hover { filter: brightness(1.08); }
.as-pcard-site { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; font-size: 11px; font-style: normal; color: var(--text-secondary); white-space: nowrap; }
.as-pcard-cp { border: 1px solid var(--accent); color: var(--accent); background: var(--card); border-radius: var(--radius-full, 999px); padding: 0 7px; line-height: 18px; cursor: pointer; }
.as-pcard-cp:hover { background: var(--accent); color: var(--card); }

/* 问答配图：当时工厂回复里的图 */
.as-kb-imgs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.as-kb-imgs img { width: 88px; height: 66px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); background: var(--card); }
.as-kb-imgs a:hover img { border-color: var(--accent); }

/* 说明书里的故障代码页 */
.as-mcode { border: 1px solid var(--border); border-left: 3px solid var(--amber); border-radius: var(--radius-md, 8px); background: var(--canvas); padding: 10px 12px; margin-bottom: 8px; }
.as-mcode-head { display: flex; align-items: center; gap: 8px; }
.as-mcode-head b { flex: 1; font-size: 13px; }
.as-mcode-lines { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--text-secondary); font-family: ui-monospace, Menlo, monospace; }
.as-mcode mark { background: color-mix(in srgb, var(--amber) 30%, transparent); color: inherit; }
/* 「型号 + 关键词」找到的那个词（老板 10-06：ATC-11 P2）：比要点词更显眼 */
mark.as-kw { background: color-mix(in srgb, var(--amber) 60%, transparent); color: inherit; font-weight: 700; border-radius: 3px; padding: 0 2px; }
.as-kw-sum span { flex: 1 1 auto; min-width: 0; }
.as-icode { border-left-color: var(--accent); }
.as-icode-note { margin-top: 4px; font-size: 12px; color: var(--text-secondary); }
.as-icode-more { color: var(--text-secondary); font-family: inherit; }

/* 选内容发客户：勾选框、浮条、生成面板、已发链接 */
.as-share-toggle { margin-left: 6px; font-size: 12px; border: 1px solid var(--accent); background: var(--card); color: var(--accent);
  border-radius: var(--radius-full, 999px); padding: 1px 10px; cursor: pointer; }
.as-share-toggle.on { background: var(--accent); color: var(--text-on-accent, #fff); }
.as-pick { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--accent); margin: 0 0 6px; cursor: pointer; }
.as-asset .as-pick { margin: 8px 10px 0; }
.picked { outline: 2px solid var(--accent); outline-offset: -1px; }
.as-selbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-2, var(--shadow-1, none)); border-radius: var(--radius-lg, 12px); padding: 10px 16px; font-size: 13px; }
.as-sp-mask { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--text-primary) 35%, transparent); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow: auto; }
.as-sp { width: min(680px, 100%); background: var(--card); border-radius: var(--radius-lg, 12px); padding: 18px; box-shadow: var(--shadow-3, none); }
.as-sp-h { font-size: 16px; font-weight: 600; }
.as-sp-tip { font-size: 12px; color: var(--text-secondary); margin: 6px 0 12px; line-height: 1.6; }
.as-sp-list { display: grid; gap: 8px; max-height: 50vh; overflow: auto; }
.as-sp-row { border: 1px solid var(--border); border-radius: var(--radius-md, 8px); padding: 8px 10px; font-size: 13px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.as-sp-chk { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.as-sp-row.as-sp-off { opacity: .5; }
.as-sp-row.as-sp-off .as-sp-chk .as-badge { text-decoration: line-through; }
.as-sp-note { font-size: 12px; color: var(--text-secondary); }
.as-sp-kb { display: block; }
.as-sp-l { font-size: 11px; color: var(--text-muted); margin: 4px 0 2px; }
.as-sp-kb textarea { width: 100%; font: inherit; font-size: 13px; border: 1px solid var(--border-control, var(--border)); border-radius: 6px; padding: 6px 8px; background: var(--canvas); color: var(--text-primary); resize: vertical; }
.as-sp-f { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; }
.as-sp-f select { border: 1px solid var(--border); border-radius: 6px; padding: 4px 6px; background: var(--card); color: var(--text-primary); }
.as-sp-out { margin-top: 12px; font-size: 13px; }
.as-sp-url { display: flex; gap: 6px; margin-top: 6px; }
.as-sp-url input { flex: 1; border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; font-size: 12px; background: var(--canvas); color: var(--text-primary); }
.as-sp-url a { text-decoration: none; display: inline-flex; align-items: center; }
.as-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-secondary); border: 1px solid var(--border); border-radius: var(--radius-md, 8px); padding: 7px 10px; margin-bottom: 6px; background: var(--canvas); }

/* 首页二选一（引导放搜索框上面） */
.as-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 10px; }
.as-mode button { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; text-align: left; align-items: center;
  border: 1.5px solid var(--border); background: var(--card); border-radius: var(--radius-lg, 12px); padding: 12px 14px; cursor: pointer; color: var(--text-primary); }
.as-mode button i { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-style: normal; font-weight: 700; background: var(--accent-soft-bg); color: var(--accent); }
.as-mode button b { font-size: 15px; }
.as-mode button span { font-size: 12px; color: var(--text-secondary); }
.as-mode button.on { border-color: var(--accent); background: var(--accent-soft-bg); }
.as-mode button.on i { background: var(--accent); color: var(--text-on-accent, #fff); }
@media (max-width: 560px) { .as-mode { grid-template-columns: 1fr; } }

/* 返回按钮醒目 */
.as-back { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--accent); background: var(--accent-soft-bg); color: var(--accent);
  border-radius: var(--radius-md, 8px); padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; margin-bottom: 12px; }
.as-back:hover { background: var(--accent); color: var(--text-on-accent, #fff); }

/* 工厂问答：分类跳转条 + 醒目的分类标题 + 折叠 */
.as-kbcats { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; position: sticky; top: 0; z-index: 5; background: var(--card); padding: 6px 0; }
.as-kbcats button { border: 1px solid var(--border); background: var(--card); color: var(--text-primary); border-radius: var(--radius-full, 999px); padding: 4px 12px; font-size: 13px; cursor: pointer; }
.as-kbcats button i { font-style: normal; opacity: .65; margin-left: 2px; }
.as-kbcats button.on { background: var(--accent); border-color: var(--accent); color: var(--text-on-accent, #fff); }
.as-kbgrp-t { font-size: 14px; font-weight: 700; color: var(--accent); background: var(--accent-soft-bg); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0; padding: 7px 12px; margin: 14px 0 8px; display: flex; align-items: center; gap: 8px; }
.as-kbgrp-t i { font-style: normal; font-weight: 500; font-size: 12px; color: var(--text-secondary); }
.as-kb-expand { width: 100%; border: 1px dashed var(--border); background: var(--card); color: var(--accent); border-radius: var(--radius-md, 8px);
  padding: 7px; font-size: 13px; cursor: pointer; margin-bottom: 6px; }
.as-kb-links { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.as-kb-link { border: 1px solid var(--accent); background: var(--card); color: var(--accent); border-radius: var(--radius-full, 999px); padding: 2px 10px; font-size: 12px; cursor: pointer; }
.as-kb-player { width: 100%; margin-top: 6px; }
.as-kb-player video { width: 100%; max-height: 420px; border-radius: 8px; background: #000; }

/* 分享预览里的 AI 改写 */
.as-sp-ai { font-size: 12px; color: var(--text-secondary); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; }
.as-sp-ai .as-ai-btn { padding: 3px 10px; font-size: 12px; }

/* 切到「通用维修做法」时收起搜索框（.as-search 的 display:flex 会盖过 hidden 属性） */
.as-search[hidden] { display: none; }

/* 存放位置（工厂名已打星号）+ 另存几处（用户 2026-09-26） */
.as-a-where { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 10px 8px 92px; font-size: 12px; color: var(--text-secondary); }
.as-a-where span:first-child { word-break: break-all; }
.as-a-cp { border: 1px solid var(--border); background: var(--card); color: var(--accent); border-radius: var(--radius-md, 8px); padding: 1px 8px; font-size: 12px; cursor: pointer; flex: none; }
.as-a-cp:hover { border-color: var(--accent); }
.as-a-nocp { color: var(--text-muted); font-size: 11px; }
.as-a-copies { padding: 0 10px 8px 92px; font-size: 12px; color: var(--text-secondary); }
.as-a-copies summary { cursor: pointer; color: var(--amber, var(--accent)); }
.as-a-copies .as-a-where { padding: 4px 0 0 0; }
@media (max-width: 560px) { .as-a-where, .as-a-copies { padding-left: 10px; } }

/* 配件问题归到整机（用户 2026-09-26） */
.as-pcard-part { font-size: 11px; color: var(--text-muted); font-style: normal; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-kb-part { font-size: 11px; color: var(--amber, var(--accent)); border: 1px solid currentColor; border-radius: var(--radius-full, 999px); padding: 0 7px; margin-right: 6px; cursor: help; }
.as-phead { flex-wrap: wrap; }
.as-parents { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 12px; color: var(--text-secondary); }
.as-parent { border: 1px solid var(--accent); background: var(--card); color: var(--accent); border-radius: var(--radius-full, 999px); padding: 2px 10px; font-size: 12px; cursor: pointer; }
.as-parent:hover { background: var(--accent-soft-bg); }

/* 客户版产品目录（可勾选发客户） */
.as-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 8px; }
.as-cat { position: relative; border: 1px solid var(--border); border-radius: var(--radius-md, 8px); background: var(--canvas); padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.as-cat.picked { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.as-cat-img { width: 100%; height: 150px; object-fit: contain; border-radius: 6px; background: var(--accent-soft-bg); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.as-cat-t { font-size: 12px; color: var(--text-secondary); word-break: break-all; }
.as-cat .as-a-copy { align-self: flex-start; text-decoration: none; }

/* 2026-09-26 第十六轮：返回常驻顶部、分类标题更醒目、日期越新越鲜艳、内网地址/YouTube/后缀/简道云链接 */

/* 2026-10-01 顶上一条代替那颗浮着的返回按钮（老板截图：吸顶的「← 返回产品列表」盖在症状小按钮上）：
   一条不透明的条贴在结果卡顶上，左边「← 产品列表」+ 现在看的是哪一款，下面一排跳段标签（shared/section-tabs.js，data-sec-sticky 合成一条）。
   条本身占位置、不压内容；工厂问答的分类条贴在它下面（top 由 aftersales.js 按这条的实际高度写） */
.as-ctx { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px;
  margin: -16px -16px 12px; padding: 8px 16px; background: var(--card); border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px) var(--radius-lg, 12px) 0 0; }
.as-ctx-row { flex: 1 1 100%; display: flex; align-items: center; gap: 10px; min-width: 0; }
.as-ctx .as-back { margin: 0; padding: 4px 10px; flex: none; }
.as-ctx-here { min-width: 0; display: flex; align-items: baseline; gap: 8px; font-size: 14px; white-space: nowrap; overflow: hidden; }
.as-ctx-here b { flex: none; color: var(--text-primary); }
.as-ctx-here span { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text-secondary); }
.as-ctx .sq-sectabs { border-bottom: 0; }
.as-filters { margin-bottom: 4px; }
.as-filters .as-chips { margin-bottom: 4px; }
/* 2026-10-01 售前 / 售后、症状挪进上面这条（老板：「往下拉的时候，上面的抬头或者筛选框要看得到」）：按钮压矮一点，宽窗口两组放一行；
   窄窗口症状一行横着滑，别把吸顶条撑成好几行挡住内容 */
.as-ctx .as-filters { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 6px 0 0; min-width: 0; }
.as-ctx .as-seg { margin: 0; flex: none; }
.as-ctx .as-seg button { padding: 4px 12px; }
.as-ctx .as-filters .as-chips { margin: 0; gap: 6px; min-width: 0; }
.as-ctx .as-chip { padding: 3px 10px; }
@media (max-width: 760px) {
  .as-ctx .as-filters .as-chips { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .as-ctx .as-chip { flex: none; white-space: nowrap; }
}
.as-kbgrp-t { font-size: 16px; font-weight: 700; color: var(--text-on-accent, #fff); background: var(--accent); border-left: 0;
  border-radius: var(--radius-md, 8px); padding: 9px 14px; margin: 18px 0 10px; }
.as-kbgrp-t i { color: var(--text-on-accent, #fff); opacity: .85; font-size: 13px; }
.as-kb-date { border-radius: var(--radius-full, 999px); padding: 0 8px; cursor: help; }
.as-kb-date.t-hot { background: var(--accent); color: var(--text-on-accent, #fff); font-weight: 700; }
.as-kb-date.t-warm { background: var(--accent-soft-bg); color: var(--accent); font-weight: 600; }
.as-kb-date.t-mid { color: var(--text-secondary); }
.as-kb-date.t-old { color: var(--text-muted); opacity: .75; }
.as-ext { font-size: 10px; font-weight: 700; letter-spacing: .5px; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; }
.as-a-acts { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.as-a-dl { font-size: 12px; color: var(--text-muted); }
.as-kb-lan { border: 1px dashed var(--accent); background: var(--card); color: var(--accent); border-radius: var(--radius-full, 999px); padding: 2px 10px; font-size: 12px; cursor: pointer; }
.as-kb-lan.off { border-color: var(--border); color: var(--text-muted); cursor: help; }
.as-kb-yt { border: 1px solid var(--danger-fg); color: var(--danger-fg); border-radius: var(--radius-full, 999px); padding: 2px 10px; font-size: 12px; text-decoration: none; }
.as-yts { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.as-yt { position: relative; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border: 1px solid var(--border); border-radius: var(--radius-md, 8px); background: var(--canvas); padding: 8px 10px; font-size: 13px; }
.as-yt.picked { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
/* YouTube 卡片（2026-10-01 老板：只有「YouTube1」看不出是什么，要点链接才知道）：16:9 缩略图 + 名字 + 打开 / 复制，
   点图换成页面里的播放器。缩略图来自 i.ytimg.com，国内没翻墙出不来，出不来时灰底写一句 */
.as-yts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.as-yt { flex-direction: column; align-items: stretch; padding: 8px; }
.as-yt-thumb, .as-yt-player { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; background: var(--neutral-bg); }
.as-yt-thumb { position: relative; padding: 0; overflow: hidden; cursor: pointer; }
.as-yt-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.as-yt-thumb i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 32px; border-radius: 9px;
  background: var(--danger-fg); color: var(--text-on-accent); font-style: normal; font-size: 15px; line-height: 32px; text-align: center; opacity: .92; }
.as-yt-thumb:hover i { opacity: 1; }
.as-yt-thumb.off img { visibility: hidden; }
.as-yt-thumb.off::after { content: '缩略图要翻墙才看得到'; position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 12px; color: var(--text-muted); }
.as-yt-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.as-yt-t { flex: 1 1 auto; min-width: 0; font-weight: 600; }
.as-yt .as-pick { margin: 0; }
/* 选了症状：一句「异响 / 传动：维修视频 N 条 · 工厂问答 M 条」，点症状马上看得到有反应 */
.as-sym-sum { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 4px; padding: 8px 12px; border-radius: var(--radius-md, 8px);
  background: var(--accent-soft-bg); color: var(--text-primary); font-size: 13px; }
.as-sym-clear { border: 1px solid var(--border); background: var(--card); color: var(--text-secondary); border-radius: var(--radius-full, 999px); padding: 2px 10px; font-size: 12px; cursor: pointer; }
.as-var-n { font-style: normal; font-size: 11px; color: var(--accent); margin-left: 6px; }
.as-sku-link { color: inherit; text-decoration: underline dotted; }
.as-sku-link:hover { color: var(--accent); }

/* 产品名后的弱化备注：同系列相近款的区别（用户 2026-09-26：备注弱化一点） */
.as-note { font-size: .82em; font-weight: 400; color: var(--text-muted); margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--accent-soft-bg); cursor: help; }

/* 2026-10-04 老板：可视化——产品页每一块的标题带图标、字大一号；空的地方写一句大白话；待复核换成全站同一套状态牌（shared/viz.css）。
   吸顶的 .as-ctx 条和跳段标签不动 */
.as-sec > .as-sec-t { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.as-sec > .as-sec-t .sqv-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft-bg); color: var(--accent); }
.as-empty .sqv-ico { color: var(--text-muted); margin-right: 2px; }
.as-code-top .sqv-pill { height: 20px; }

/* 飞书线索卡片「▶ 以前的教程」深链 &play=：页顶直接播（10-06） */
.as-deep-play { margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
.as-deep-play-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--text-primary); font-size: 14px; }
.as-deep-play-h b { overflow-wrap: anywhere; }
.as-deep-play-x { border: 1px solid var(--border); background: var(--card); color: var(--text-secondary); border-radius: 6px; padding: 2px 10px; font-size: 12px; cursor: pointer; }
.as-deep-play-act { display: flex; align-items: center; gap: 8px; flex: none; }
.as-deep-play-send { padding: 3px 12px; font-size: 13px; }
/* 播放框、发给客户弹窗里的 TC 存放位置（10-22）：借资料卡那行的样式，去掉对齐缩略图的左缩进 */
.as-deep-play-where .as-a-where, .as-sp-where .as-a-where { padding: 0; }
.as-deep-play-where .as-a-where { margin-bottom: 8px; }
.as-sp-where { flex-basis: 100%; }
.as-sp-where:empty, .as-deep-play-where:empty { display: none; }
.as-deep-play video { width: 100%; max-height: 70vh; border-radius: 8px; background: #000; }

/* ---------- 错误代码（老板 10-06：「那个代码错误，你写得显眼一点，用最亮的荧光色去显示」）----------
   荧光黄全站只有这一处用，没进 tokens.css（改 tokens.css 要动几十页的版本戳）；hsl 写法不算裸色值 */
mark.as-ecode { background: hsl(60 100% 50%); color: var(--text-primary); font-weight: 700; padding: 0 3px; border-radius: 3px;
  box-shadow: 0 0 0 1px hsl(54 100% 42%); font-family: var(--font-mono); }
mark.as-ecode-big { display: inline-block; min-width: 44px; text-align: center; font-size: 16px; padding: 2px 6px; }
.as-ec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.as-ec-chip { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-full, 999px);
  padding: 3px 9px 3px 4px; cursor: pointer; white-space: nowrap; }
.as-ec-chip:hover { border-color: var(--accent); }
.as-ec-chip i { font-style: normal; font-size: 11px; color: var(--text-muted); }
.as-ec-chip.st mark.as-ecode, .as-ec-row.st mark.as-ecode { background: var(--a-50); box-shadow: 0 0 0 1px var(--a-200); }
.as-ec-list { display: flex; flex-direction: column; gap: 6px; }
.as-ec-row { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: start; border: 1px solid var(--border); border-radius: var(--radius-md, 8px);
  background: var(--surface); padding: 8px 10px; }
.as-ec-row.flash, .as-ec-flash { animation: as-ec-flash 1.6s ease-out; }
@keyframes as-ec-flash { 0%, 40% { box-shadow: 0 0 0 3px hsl(60 100% 50%); } 100% { box-shadow: none; } }
.as-ec-c { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.as-ec-stt { font-size: 11px; color: var(--text-muted); border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; }
.as-ec-items { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.as-ec-it { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: start; font-size: 13px; line-height: 1.6; }
.as-ec-it + .as-ec-it { border-top: 1px dashed var(--border); padding-top: 6px; }
.as-ec-it > .as-a-player { grid-column: 1 / -1; }
.as-ec-src { font-size: 11px; white-space: nowrap; border-radius: 4px; padding: 1px 6px; margin-top: 2px; cursor: help; }
.as-ec-src.s-ai { background: var(--v-50); color: var(--v-700); }
.as-ec-src.s-kb { background: var(--g-50); color: var(--g-700); }
.as-ec-src.s-asset { background: var(--a-50); color: var(--a-700); }
.as-ec-src.s-muted { background: var(--canvas); color: var(--text-secondary); }
.as-ec-txt { min-width: 0; }
.as-ec-mean { font-weight: 600; color: var(--text-primary); }
.as-ec-sol { display: block; color: var(--text-secondary); }
.as-ec-sol b { font-weight: 600; }
.as-ec-q { display: block; color: var(--text-primary); }
.as-ec-a { display: block; color: var(--text-secondary); }
.as-ec-asset { color: var(--text-primary); }
.as-ec-none { color: var(--text-muted); font-weight: 400; }
.as-ec-tr { font-size: 11px; color: var(--v-700); border-bottom: 1px dotted var(--v-700); cursor: help; white-space: nowrap; }
.as-ec-note { margin-top: 2px; font-size: 12px; color: var(--warning-fg); background: var(--a-50); border-radius: 4px; padding: 2px 6px; }
.as-ec-only { font-size: 11px; color: var(--text-secondary); background: var(--canvas); border-radius: 4px; padding: 0 5px; margin-right: 6px; }
.as-ec-open, .as-ec-go { border: 1px solid var(--border); background: var(--surface); color: var(--accent); border-radius: 6px; padding: 2px 8px;
  font-size: 12px; cursor: pointer; white-space: nowrap; }
.as-ec-open:hover, .as-ec-go:hover, .as-ec-open.on { border-color: var(--accent); background: var(--accent-soft-bg); }
.as-ec-more { align-self: flex-start; color: var(--text-secondary); }
.as-sec-t .sq-q { margin-left: 6px; }

/* 错误代码总表（通用维修做法 → 报错 / 错误代码） */
.as-cb-entry { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 1px solid var(--a-200); background: var(--a-50);
  border-radius: var(--radius-md, 8px); padding: 10px 12px; margin: 10px 0; cursor: pointer; }
.as-cb-entry b { white-space: nowrap; }
.as-cb-entry span { color: var(--text-secondary); font-size: 13px; }
.as-cb-entry:hover { border-color: var(--accent); }
.as-cb { margin: 10px 0 18px; }
.as-cb-head { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md, 8px); padding: 10px 12px; margin-bottom: 10px; }
.as-cb-meta { font-size: 12px; color: var(--text-muted); margin: 2px 0 8px; }
.as-cb-find { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.as-cb-find input { flex: 1 1 260px; min-width: 0; font-size: 16px; padding: 7px 10px; border: 2px solid var(--accent); border-radius: 8px; background: var(--surface); }
.as-cb-sum { font-size: 13px; color: var(--text-secondary); }
.as-cb-g { border: 1px solid var(--border); border-radius: var(--radius-md, 8px); background: var(--canvas); padding: 10px; margin-bottom: 12px; }
.as-cb-prods { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.as-cb-prod { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: var(--surface); border-radius: 8px; padding: 4px 10px 4px 4px;
  cursor: pointer; text-align: left; max-width: 280px; }
.as-cb-prod:hover { border-color: var(--accent); }
.as-cb-prod img, .as-cb-prod .as-a-thumb-none { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: var(--surface); flex: 0 0 48px;
  display: flex; align-items: center; justify-content: center; }
.as-cb-prod span { display: flex; flex-direction: column; min-width: 0; }
.as-cb-prod b { font-size: 13px; white-space: nowrap; }
.as-cb-prod i { font-style: normal; font-size: 12px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-cb-share { font-size: 12px; color: var(--text-muted); }
.as-cb-from { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }
.as-cb-st { margin-top: 6px; }
.as-cb-st summary { cursor: pointer; font-size: 13px; color: var(--text-secondary); padding: 4px 0; }
@media (max-width: 640px) {
  .as-ec-row { grid-template-columns: 1fr; gap: 4px; }
  .as-ec-c { flex-direction: row; align-items: center; }
  .as-ec-it { grid-template-columns: 1fr auto; }
  .as-ec-it > .as-ec-src { grid-column: 1 / -1; justify-self: start; }
  .as-cb-prod { max-width: 100%; }
}

/* 问答里的网址（10-15）：能点、一眼看得出是链接；长地址显示一截，悬停看全 */
.as-url { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.as-url::after { content: " ↗"; font-size: 11px; text-decoration: none; display: inline-block; margin-left: 1px; }
.as-url:hover { color: var(--accent-hover); }

/* YouTube 上没公开的视频：不能广发（老板 10-16：只能对做过背调的精准客户一对一发） */
.as-yt.lock { border-color: var(--danger-border); }
.as-yt-lock { display: block; padding: 3px 8px; border-radius: 4px; font-size: 12.5px; font-weight: 600; line-height: 18px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; background: var(--danger-solid); color: var(--text-on-accent); }

/* 产品视频目录（10-18，videos.js）：讲什么、几星、要点第几秒 */
.as-mode { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pv-sec-note { font-weight: 400; font-size: 12px; color: var(--text-muted); margin-left: 8px; }
.pv-list { display: grid; gap: 10px; }
.pv-card { border: 1px solid var(--border); border-radius: var(--radius-md, 8px); background: var(--canvas); padding: 10px 12px; }
.pv-card.good { border-color: var(--accent-soft-border); }
.pv-card.bad { opacity: .55; }
.pv-head { display: flex; gap: 12px; align-items: flex-start; }
.pv-thumb { position: relative; flex: none; width: 128px; height: 72px; border: 0; padding: 0; border-radius: 6px; overflow: hidden;
  background: var(--accent-soft-bg); cursor: pointer; }
.pv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-thumb i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 22px;
  color: var(--text-on-accent); text-shadow: 0 1px 4px var(--text-primary); }
.pv-thumb em { position: absolute; right: 4px; bottom: 4px; font-style: normal; font-size: 11px; padding: 0 4px; border-radius: 4px;
  background: var(--text-primary); color: var(--text-on-accent); opacity: .85; }
.pv-meta { min-width: 0; flex: 1; }
.pv-title { font-weight: 600; font-size: 14px; line-height: 1.4; }
.pv-sub { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12px; color: var(--text-secondary); margin-top: 3px; }
.pv-stars { color: var(--amber); letter-spacing: 1px; white-space: nowrap; }
.pv-kind, .pv-speech { white-space: nowrap; }
.pv-brand { color: var(--warning-fg); white-space: nowrap; }
.pv-sku { border: 1px solid var(--border); background: var(--card); color: var(--accent); border-radius: 999px; font-size: 12px; padding: 1px 8px; cursor: pointer; white-space: nowrap; }
.pv-send { border: 1px solid var(--accent); background: transparent; color: var(--accent); border-radius: 999px; font-size: 12px; padding: 1px 10px; cursor: pointer; white-space: nowrap; }
.pv-send:hover { background: var(--accent-soft-bg); }
.pv-what { font-size: 13px; color: var(--text-primary); margin-top: 4px; line-height: 1.55; }
.pv-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.pv-points button { border: 0; background: none; text-align: left; width: 100%; padding: 3px 6px; border-radius: 4px; cursor: pointer;
  font-size: 13px; color: var(--text-primary); line-height: 1.5; }
.pv-points button:hover { background: var(--accent-soft-bg); }
.pv-points b { display: inline-block; min-width: 42px; color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 600; }
.pv-player { margin-top: 8px; }
.pv-player video { width: 100%; max-height: 420px; border-radius: 6px; background: var(--text-primary); }
.pv-foot { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; font-size: 12px; color: var(--text-muted); }
.pv-foot button { border: 1px solid var(--border); background: var(--card); color: var(--text-secondary); border-radius: 999px; padding: 2px 10px; font-size: 12px; cursor: pointer; }
.pv-foot button.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft-bg); }
.pv-more summary { cursor: pointer; font-size: 13px; color: var(--accent); margin: 10px 0 6px; }
.pv-all .pv-q { display: flex; gap: 8px; margin: 8px 0 12px; }
.pv-all .pv-q input { flex: 1; border: 1px solid var(--border-control, var(--border)); border-radius: var(--radius-md, 8px); padding: 10px 12px;
  font-size: 14px; background: var(--card); color: var(--text-primary); }
.pv-all .pv-q button { border: 0; border-radius: var(--radius-md, 8px); background: var(--accent); color: var(--text-on-accent); padding: 0 16px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.pv-filters { display: grid; gap: 8px; margin-bottom: 10px; }
.pv-total { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
@media (max-width: 640px) {
  .as-mode { grid-template-columns: 1fr; }
  .pv-thumb { width: 96px; height: 56px; }
  .pv-all .pv-q input { font-size: 16px; }
}
