/* 开放接口 /agent/ 与 隐私与免责 /privacy/ · 页面样式（20261125，选型 A 正文式）
   约束：只用既有语义令牌（0 新令牌）；正文字号一律 ≥12px；不碰外壳任何样式。 */

/* ---------- hero ---------- */
.ipg{padding:14px 16px}
.ipg-kicker{font-size:12px;letter-spacing:.08em;color:var(--text-3);margin:0 0 6px;font-weight:600}
.ipg-lead{color:var(--text-2);font-size:14px;margin:8px 0 0;line-height:1.8}
.ipg-lead b{color:var(--text)}
.ipg p{font-size:13.5px;line-height:1.85;color:var(--text-2)}
.ipg p b{color:var(--text)}
.ipg code{font:500 12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--surface-3,var(--surface-2));padding:1px 6px;border-radius:5px;color:var(--text-body)}
.ipg [hidden]{display:none!important}

/* ---------- 分节 ---------- */
.ipg-h2{font-size:16px;margin:22px 0 10px;font-weight:700}

/* ---------- 三要素卡 ---------- */
.ipg-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ipg-key{background:var(--surface-2);border-radius:var(--radius-lg,12px);padding:12px 14px;min-width:0}
.ipg-key p{font-size:12.5px;margin:6px 0 0}
.ipg-key-hd{display:flex;align-items:center;gap:8px}
.ipg-key-no{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--primary);color:var(--on-primary);font-size:12px;font-weight:700;flex:none}
.ipg-key-hd b{font-size:13.5px;color:var(--text)}
.ipg-key-tag{margin-left:auto;font-size:12px;color:var(--text-3);background:var(--surface);box-shadow:0 0 0 1px var(--border);border-radius:var(--radius-pill,999px);padding:1px 8px;flex:none}
.ipg-addr{display:flex;gap:6px;align-items:center;margin-top:10px;min-width:0}
.ipg-addr code{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:7px 9px;box-shadow:0 0 0 1px var(--border)}
.ipg-addr .c-btn{flex:none}

/* ---------- 提示词块 ---------- */
.ipg-prompt pre{margin:0;padding:12px 14px;border-radius:var(--radius-lg,12px);background:var(--surface-2);font:500 12px/1.9 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-all;color:var(--text-body)}
.ipg-copy-big{margin-top:8px}
.ipg-copy.copied{background:var(--tint-ok,var(--surface-2));color:var(--success-deep,var(--text))!important}

/* ---------- 表格 ---------- */
.ipg-tblwrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ipg-tbl{width:100%;border-collapse:collapse;font-size:13px}
.ipg-tbl th{font-size:12px;color:var(--text-3);text-align:left;font-weight:600;padding:8px 10px;border-bottom:1px solid var(--border-strong);white-space:nowrap}
.ipg-tbl td{padding:9px 10px;border-bottom:1px solid var(--border);vertical-align:top;color:var(--text-2)}
.ipg-tbl td:first-child{white-space:nowrap}
.ipg-more{font-size:12.5px;color:var(--text-2)}

/* ---------- 不提供徽标 / 免责卡 / 脚注 ---------- */
.ipg-note{margin-top:14px;padding:10px 12px;border-radius:var(--radius-sm,8px);background:var(--surface-2);font-size:13px;color:var(--text-2)}
.ipg-note b{color:var(--text)}
.ipg-noep{display:inline-block;margin:5px 6px 0 0;padding:2px 9px;border-radius:var(--radius-pill,999px);background:var(--surface);box-shadow:0 0 0 1px var(--border);font-size:12px;color:var(--text-2)}
.ipg-mz{padding:12px 14px;border-radius:var(--radius-lg,12px);background:var(--warning-bg,transparent);font-size:13.5px;line-height:1.9;color:var(--text-body)}
.ipg-mz b{color:var(--text)}
.ipg-foot-note{font-size:12px;color:var(--text-3)}

/* ---------- 移动端 ---------- */
@media(max-width:768px){
  .ipg{padding:12px 12px}
  .ipg-trio{grid-template-columns:1fr}
  .ipg-prompt pre{font-size:12px}
  .ipg-tbl{min-width:520px}
}

/* ============ v2 通栏（20261125，agent-redesign-20261125 选型 B）============ */

.agt-hero{padding:6px 16px 2px}

.agt-h1{font-size:22px;margin:0 0 10px;font-weight:700;letter-spacing:-.01em}

.agt-h1-em{display:block;font-size:15px;font-weight:600;color:var(--primary);margin-top:4px}

.agt-lead{max-width:100ch}

.agt-chips{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 4px}

.agt-chip{display:inline-block;padding:2px 10px;border-radius:var(--radius-pill,999px);background:var(--surface-2);box-shadow:0 0 0 1px var(--border);font-size:12px;color:var(--text-2)}

.agt-tabs{display:inline-flex;gap:2px;padding:2px;border-radius:var(--radius-pill,999px);background:var(--surface-2);margin:12px 0 4px}

.agt-tabs button{height:30px;padding:0 14px;border:0;border-radius:var(--radius-pill,999px);background:none;color:var(--text-2);font-size:13px;cursor:pointer;white-space:nowrap}

.agt-tabs button[aria-selected="true"]{background:var(--surface);color:var(--text);box-shadow:0 0 0 1px var(--border-strong);font-weight:600}

.agt [hidden]{display:none!important}

.agt-3step{margin-top:10px}

.agt-3ol{margin:8px 0 0;padding-left:20px}

.agt-3ol li{font-size:13.5px;line-height:1.9;color:var(--text-2);margin:4px 0}

.agt-3ol li b{color:var(--text)}

.agt-3ol code{font:500 12px/1.5 ui-monospace,Menlo,Consolas,monospace;background:var(--surface);box-shadow:0 0 0 1px var(--border);padding:3px 8px;border-radius:5px;color:var(--text-body);word-break:break-all}

.agt-3ol .c-btn{margin-left:6px;vertical-align:middle}

.agt-prompt pre{font-size:12px}

.agt-clttabs{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 0}

.agt-clttabs button{height:32px;padding:0 14px;border:1px solid var(--border-strong);border-radius:var(--radius-pill,999px);background:var(--surface);color:var(--text-2);font-size:13px;cursor:pointer;white-space:nowrap}

.agt-clttabs button[aria-selected="true"]{background:var(--primary);border-color:var(--primary);color:var(--on-primary);font-weight:600}

.ipg-cc{background:var(--surface-2);border-radius:var(--radius-lg,12px);padding:12px 14px;margin:10px 0;min-width:0}

.ipg-cc-hd{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}

.ipg-cc-hd b{font-size:14.5px;color:var(--text)}

.ipg-cc-who{font-size:12px;color:var(--text-3);background:var(--surface);box-shadow:0 0 0 1px var(--border);border-radius:var(--radius-pill,999px);padding:1px 9px}

.ipg-cc-easy{margin-left:auto;font-size:12px;color:var(--success-deep,var(--text-3))}

.ipg-cc-steps{margin:8px 0 0;padding-left:22px}

.ipg-cc-steps li{font-size:13px;line-height:1.85;color:var(--text-2);margin:3px 0}

.ipg-cc-steps code{font:500 12px/1.5 ui-monospace,Menlo,Consolas,monospace;background:var(--surface);box-shadow:0 0 0 1px var(--border);padding:2px 6px;border-radius:5px;color:var(--text-body);word-break:break-all}

.ipg-cc-ft{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}

.ipg-cc-tip{font-size:12px;color:var(--text-3)}

.ipg-cc .ipg-cjson{display:flex;gap:6px;align-items:stretch;flex:1 1 100%;min-width:0;margin-top:6px}

.ipg-cc .ipg-cjson pre{flex:1 1 auto;min-width:0;margin:0;padding:8px 10px;border-radius:var(--radius-sm,8px);background:var(--surface);box-shadow:0 0 0 1px var(--border);font:500 12px/1.6 ui-monospace,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-all;color:var(--text-body)}

.ipg-cc .ipg-cjson .c-btn{flex:none}

.ipg-cc-ask{margin:8px 0 0;font-size:12.5px;color:var(--text-3)}

.ipg-cc-ask b{color:var(--text)}

.ipg-quick-link{margin-top:6px}

.ipg-cfold-all{margin:12px 0 0;border-radius:var(--radius-lg,12px);background:var(--surface-2)}

.ipg-cfold-all>summary{padding:11px 14px;cursor:pointer;font-size:13.5px;font-weight:600;color:var(--text);list-style:none}

.ipg-cfold-all>summary::-webkit-details-marker{display:none}

.ipg-cfold{border-top:1px solid var(--border)}

.ipg-cfold>summary{display:flex;align-items:baseline;gap:8px;padding:10px 14px;cursor:pointer;font-size:13px;color:var(--text);list-style:none;flex-wrap:wrap}

.ipg-cfold>summary::-webkit-details-marker{display:none}

.ipg-cfold>summary span{font-size:12px;color:var(--text-3)}

.ipg-cfold-bd{padding:0 14px 12px}

.agt-clttbl{width:100%;border-collapse:collapse;font-size:13px}

.agt-clttbl th{font-size:12px;color:var(--text-3);text-align:left;font-weight:600;padding:8px 10px;border-bottom:1px solid var(--border-strong);white-space:nowrap}

.agt-clttbl td{padding:9px 10px;border-bottom:1px solid var(--border);color:var(--text-2)}

.agt-cltdetails summary{cursor:pointer;font-size:13px;color:var(--text);padding:8px 2px;list-style:none}

.agt-cltdetails summary::-webkit-details-marker{display:none}

.agt-cltdetails[open] summary{font-weight:600}

.agt-cltdetails .ipg-cc-steps{margin:4px 0 10px}

.agt-page{max-width:var(--container,1280px);margin:0 auto;padding:16px 20px 56px}

.agt-hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 2px}

.agt-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 4px}

.agt-stat{background:var(--surface);border-radius:var(--radius-lg,12px);box-shadow:0 0 0 1px var(--border);padding:10px 14px}

.agt-stat b{display:block;font-size:19px;line-height:1.3;font-variant-numeric:tabular-nums;color:var(--text)}

.agt-stat span{font-size:12px;color:var(--text-3)}

.agt-sec-hd{margin:26px 0 10px}

.agt-sec-idx{font:700 12px/1 ui-monospace,Menlo,monospace;color:var(--text-3);margin-right:8px;vertical-align:2px}

.agt-sec-hd h2{display:inline;font-size:16px;margin:0;font-weight:700}

.agt-sec-hd p{margin:4px 0 0;font-size:12.5px;color:var(--text-3)}

.agt-scene-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}

.agt-scene{background:var(--surface-2);border-radius:var(--radius-sm,8px);padding:9px 12px;min-width:0}

.agt-scene b{display:block;font-size:13px;color:var(--text);line-height:1.6}

.agt-scene span{font-size:12px;color:var(--text-3);line-height:1.6}

.agt-scene-soon{opacity:.72}

.agt-scene-soon b::after{content:"即将支持";display:inline-block;margin-left:6px;padding:1px 7px;border-radius:var(--radius-pill,999px);background:var(--warning-bg,transparent);color:var(--warning-text,var(--text-2));font-size:12px;font-weight:600}

.agt-logo{width:20px;height:20px;flex:none;align-self:center}

.agt-logo-s{width:15px;height:15px;margin-right:5px;vertical-align:-2px}

.agt-clttbl .agt-logo{width:18px;height:18px;margin-right:6px;vertical-align:-3px}

.agt-moretools{margin:12px 0 0;border-radius:var(--radius-lg,12px);background:var(--surface-2)}

/* 20261125 展开态（增强③：更多工具上移到快速开始段，不再折叠） */
.agt-mt-open{padding:14px 14px 12px}
.agt-mt-open .agt-mt-bd{padding:0}
.agt-mt-open h3{font-size:14px;margin:0 0 6px;color:var(--text)}

.agt-moretools>summary{padding:11px 14px;cursor:pointer;font-size:13.5px;font-weight:600;color:var(--text);list-style:none}

.agt-moretools>summary::-webkit-details-marker{display:none}

.agt-mt-bd{padding:0 14px 12px}

.agt-mt-bd .ipg-cc{background:var(--surface)}

.agt-mt-p{font-size:12.5px;color:var(--text-2);margin:6px 0 0;line-height:1.8}

.agt-mt-note{font-size:12px;color:var(--text-3);margin:0 0 8px;line-height:1.7}

.agt-mt-note + .ipg-cc{margin-top:0}

.agt-mt-bd .ipg-cc-steps code{font:500 12px/1.5 ui-monospace,Menlo,monospace;background:var(--surface);box-shadow:0 0 0 1px var(--border);padding:2px 6px;border-radius:5px;color:var(--text-body);word-break:break-all}

/* 登录态个人版徽标（v2.3） */
.agt-me-badge{display:inline-block;padding:4px 10px;border-radius:var(--radius-pill,999px);background:var(--tint-ok,transparent);color:var(--success-deep,var(--text));font-size:12px;font-weight:600}

/* 20261125 增强④：官方 logo 改独立文件 image/clients/*（白底圆角小片，保证深色 logo 夜间可读） */
.agt-logo-img{width:18px;height:18px;box-sizing:border-box;padding:2px;border-radius:5px;background:#fff;box-shadow:0 0 0 1px var(--border);object-fit:contain;flex:none;align-self:center}
.agt-logo-s-img{width:17px;height:17px;padding:1px;margin-right:5px;vertical-align:-3px;border-radius:4px}

/* ============ v3 三幕剧（20261126，agent_redesign3 选型 B-a 实施版）============
   蓝图：test/design/agent-plan-b-20261126/a-base.html（proto.css 移植为 .agt-* 追加命名）。
   约束：只用既有语义令牌（0 新令牌，夜间全 var(--*) 自动翻转）；正文 CJK ≥12px；
   按钮 white-space:nowrap + flex:none、文案侧 min-width:0；无 100vh 定高；
   本页选择器一律 .ipg 前缀（压过 .ipg p / .ipg code 的 (0,1,1) 默认），不碰 .ipg-* 共用类。
   v2 的 .agt-scene/.agt-stats 等旧类不再被 agent 页使用，按 append-only 纪律保留不删。 */

html{scroll-behavior:smooth}

/* ---------- hero / 数字条 ---------- */
.ipg .agt-h1{font-size:27px;line-height:1.35;margin:0 0 2px}
.ipg .agt-h1-em{font-size:15px;margin-top:6px}
.ipg .agt-lead{max-width:64ch}
.agt-statbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 0}
.agt-statcard{background:var(--surface);border-radius:var(--radius-lg,12px);box-shadow:var(--shadow-ring);padding:10px 14px;min-width:0}
.agt-statcard b{display:block;font-size:20px;line-height:1.3;font-variant-numeric:tabular-nums;color:var(--text)}
.agt-statcard span{display:block;font-size:12px;color:var(--text-3);margin-top:2px}
.ipg .agt-statnote{font-size:12px;color:var(--text-3);margin:8px 0 0;line-height:1.6}

/* ---------- 幕间锚点导航 ---------- */
.agt-jrail{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0 0;padding:0;min-width:0}
.agt-jrail a{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:var(--radius-pill,999px);background:var(--surface);box-shadow:0 0 0 1px var(--border);color:var(--text-2);font-size:12.5px;text-decoration:none;white-space:nowrap;flex:none}
.agt-jrail a:hover{color:var(--text)}

/* ---------- 三幕骨架 ---------- */
.agt-act{margin:0 0 38px;min-width:0;scroll-margin-top:64px}
.agt-act-hd{display:flex;align-items:flex-start;gap:12px;margin:26px 0 14px;min-width:0}
.agt-act-no{flex:none;background:var(--primary);color:var(--on-primary);font-size:12px;font-weight:700;border-radius:var(--radius-sm,6px);padding:3px 10px;letter-spacing:.05em;margin-top:3px;white-space:nowrap}
.agt-act-hd>div{min-width:0}
.agt-act-hd h2{font-size:20px;margin:0;font-weight:700;letter-spacing:-.01em}
.agt-act-hd p{margin:3px 0 0;font-size:12.5px;color:var(--text-3)}

/* ---------- 第一幕：场景大卡 ---------- */
.agt-bgrid{display:grid;grid-template-columns:1fr;gap:12px}
.agt-bcard{background:var(--surface);border-radius:var(--radius-lg,12px);box-shadow:var(--shadow-ring);padding:14px 16px;min-width:0;display:flex;flex-direction:column}
.agt-bcard-hd{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0}
.agt-bcard-hd h3{font-size:15px;margin:0;font-weight:700;min-width:0;color:var(--text)}
.agt-bchips{display:inline-flex;gap:5px;flex-wrap:wrap;min-width:0}
.agt-bchip{font:500 12px/1.6 ui-monospace,Menlo,Consolas,monospace;color:var(--text-2);background:var(--surface-2);border-radius:var(--radius-sm,6px);padding:1px 7px;white-space:nowrap}
.agt-bunlock{flex:none;font-size:12px;font-weight:600;background:var(--warning-bg);color:var(--warning-text);border-radius:var(--radius-pill,999px);padding:1px 9px;white-space:nowrap}
.ipg .agt-bcard-sub{font-size:13px;color:var(--text-2);margin:6px 0 10px;min-width:0}
.agt-bcard-ft{margin-top:10px;min-width:0}
.agt-qpill{display:inline-block;max-width:100%;font-size:12.5px;color:var(--text-body);background:var(--surface-2);box-shadow:0 0 0 1px var(--border);border-radius:var(--radius-pill,999px);padding:3px 12px;word-break:break-all}
.ipg .agt-rnote{font-size:12px;color:var(--text-3);margin:8px 0 0;line-height:1.65;min-width:0}
.agt-rd{background:var(--surface-3,var(--surface-2));border-radius:var(--radius,8px);box-shadow:0 0 0 1px var(--border);min-width:0}
.agt-rd-bd{padding:10px 12px}
.agt-minih{font-size:12px;font-weight:600;color:var(--text-3);margin:2px 0 4px;letter-spacing:.02em;min-width:0}
.agt-minigrp+.agt-minigrp{margin-top:10px}
.agt-drow{display:flex;align-items:baseline;gap:8px;padding:5px 0;border-bottom:1px dashed var(--border);min-width:0}
.agt-drow:last-child{border-bottom:0}
.agt-drow-rk{flex:none;min-width:18px;height:18px;border-radius:var(--radius-sm,6px);background:var(--surface-2);color:var(--text-2);font-size:12px;display:inline-flex;align-items:center;justify-content:center;align-self:center;font-variant-numeric:tabular-nums}
.agt-drow-t{flex:1 1 auto;min-width:0;font-size:13px;color:var(--text-body)}
.agt-drow-p{flex:none;font-size:13px;font-weight:600;color:var(--price-strong);font-variant-numeric:tabular-nums;white-space:nowrap}
.agt-drow-p.agt-coupon{color:var(--coupon)}
.agt-drow-tag{flex:none;font-size:12px;color:var(--success-deep);background:var(--tint-ok);border-radius:var(--radius-pill,999px);padding:1px 8px;white-space:nowrap}
.agt-drow-tag.agt-hot{color:var(--hot);background:var(--hot-bg)}
.agt-drow-m{flex:none;font-size:12px;color:var(--text-3);white-space:nowrap}
.agt-srow{padding:7px 0;border-bottom:1px dashed var(--border);min-width:0}
.agt-srow:last-child{border-bottom:0}
.agt-srow-top{display:flex;align-items:baseline;gap:8px;min-width:0}
.agt-srow-t{flex:1 1 auto;min-width:0;font-size:13px;color:var(--text-body)}
.agt-srow-p{flex:none;font-size:13px;font-weight:600;color:var(--price-strong);font-variant-numeric:tabular-nums;white-space:nowrap}
.agt-srow-p.agt-coupon{color:var(--coupon)}
.agt-srow-m{font-size:12px;color:var(--text-3);margin-top:1px;min-width:0}
.ipg .agt-dstat{font-size:12.5px;color:var(--text-2);margin:8px 0 0;min-width:0}
.agt-dstat b{color:var(--text);font-variant-numeric:tabular-nums}

/* 五档判定 */
.agt-pcd-verdict{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0}
.agt-vtag{flex:none;font-size:12px;font-weight:700;border-radius:var(--radius-pill,999px);padding:2px 10px;white-space:nowrap}
.agt-vtag.v-near,.agt-vtag.v-good{color:var(--deal);background:var(--deal-bg)}
.agt-vtag.v-flat{color:var(--text-2);background:var(--surface-2)}
.agt-vtag.v-high{color:var(--price);background:var(--price-bg)}
.agt-vtag.v-insuf{color:var(--warning-text);background:var(--warning-bg)}
.agt-pcd-vg{font-size:12.5px;color:var(--text-2);min-width:0}
.agt-pcd-vg b{color:var(--price-strong);font-variant-numeric:tabular-nums}
.agt-pcd-scale{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 0;min-width:0}
.agt-pcd-seg{flex:none;font-size:12px;border-radius:var(--radius-pill,999px);padding:2px 9px;background:var(--surface-2);color:var(--text-2);white-space:nowrap}
.agt-pcd-seg.s-best{color:var(--success-deep);background:var(--tint-ok)}
.agt-pcd-seg.s-near{color:var(--deal);background:var(--deal-bg);box-shadow:0 0 0 1px var(--deal)}
.agt-pcd-seg.s-good{color:var(--deal);background:var(--deal-bg)}
.agt-pcd-seg.s-flat{color:var(--text-2);background:var(--surface-2)}
.agt-pcd-seg.s-high{color:var(--price);background:var(--price-bg)}
.agt-pcd-insuf{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:9px 0 0;min-width:0}
.agt-pcd-insuf-t{font-size:12px;color:var(--text-3);min-width:0}

/* 失效共识条 */
.agt-conbar{display:flex;height:12px;border-radius:var(--radius-pill,999px);overflow:hidden;background:var(--surface-2);min-width:0}
.agt-con-ok{background:var(--success)}
.agt-con-bad{background:var(--danger)}
.agt-con-leg{display:flex;gap:12px;flex-wrap:wrap;margin-top:7px;font-size:12px;color:var(--text-3);min-width:0}
.agt-con-k{white-space:nowrap}
.agt-con-leg b{color:var(--text)}

/* 热词榜（服务端直出行） */
.agt-hw{display:flex;flex-direction:column;gap:4px;min-width:0}
.agt-hwrow{display:flex;align-items:center;gap:8px;min-width:0}
.agt-hw-rank{flex:none;min-width:20px;height:20px;border-radius:var(--radius-sm,6px);background:var(--surface-2);color:var(--text-2);font-size:12px;display:inline-flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums}
.agt-hwrow.agt-lead3 .agt-hw-rank{background:var(--hot-bg);color:var(--hot);font-weight:700}
.agt-hw-word{flex:0 1 auto;min-width:66px;max-width:40%;font-size:13px;color:var(--text-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.agt-hw-bar{flex:1 1 auto;min-width:0;height:8px;border-radius:var(--radius-pill,999px);background:var(--surface-2);overflow:hidden}
.agt-hw-bar span{display:block;height:100%;background:var(--hot)}
.agt-hw-n{flex:none;min-width:48px;text-align:right;font-size:12px;color:var(--text-3);font-variant-numeric:tabular-nums}

/* 演示胶囊（热榜窗 / 生活分类） */
.agt-pillrow{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 0;min-width:0}
.agt-pillbtn{height:26px;padding:0 12px;border:0;border-radius:var(--radius-pill,999px);background:var(--surface-2);color:var(--text-2);font-size:12px;cursor:pointer;white-space:nowrap;flex:none}
.agt-pillbtn.on{background:var(--primary);color:var(--on-primary);font-weight:600}

/* 盯价流程 */
.agt-wstep{display:flex;gap:10px;padding:5px 0;min-width:0}
.agt-wstep-k{flex:none;width:20px;height:20px;border-radius:var(--radius-pill,999px);background:var(--surface-2);box-shadow:0 0 0 1px var(--border);color:var(--text-2);font-size:12px;display:inline-flex;align-items:center;justify-content:center;margin-top:1px}
.agt-wstep-b{min-width:0}
.agt-wstep-b b{font-size:13px;color:var(--text)}
.ipg .agt-wstep-b p{margin:1px 0 0;font-size:12.5px;color:var(--text-2);min-width:0}
.agt-wmono{font:600 12px/1.6 ui-monospace,Menlo,Consolas,monospace;color:var(--price-strong);font-variant-numeric:tabular-nums}

/* 安全副线（幕内收口条） */
.agt-safeline{display:flex;align-items:flex-start;gap:10px;margin:14px 0 0;background:var(--tint-ok);border-radius:var(--radius,8px);padding:10px 14px;min-width:0}
.agt-safeline-tag{flex:none;font-size:12px;font-weight:700;color:var(--success-deep);background:var(--surface);box-shadow:0 0 0 1px var(--border);border-radius:var(--radius-pill,999px);padding:1px 10px;white-space:nowrap;margin-top:1px}
.agt-safeline p{margin:0;font-size:12.5px;color:var(--text-body);min-width:0}
.agt-safeline b{color:var(--text)}

/* ---------- 第二幕：三步接入 ---------- */
.agt-stepcard{background:var(--surface);border-radius:var(--radius-lg,12px);box-shadow:var(--shadow-ring);padding:14px 16px;margin:0 0 12px;min-width:0}
.agt-stepcard-hd{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0;margin-bottom:10px}
.agt-stepcard-hd h3{font-size:15px;margin:0;min-width:0;color:var(--text)}
.agt-step-k{flex:none;font:700 12px/1 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.06em;color:var(--on-primary);background:var(--primary);border-radius:var(--radius-sm,6px);padding:4px 8px;white-space:nowrap}
.agt-easychip{flex:none;font-size:12px;color:var(--success-deep);background:var(--tint-ok);border-radius:var(--radius-pill,999px);padding:1px 9px;white-space:nowrap}
.agt-copybox{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap;min-width:0}
.agt-copybox code{flex:1 1 200px;min-width:0;word-break:break-all;font:500 12.5px/1.6 ui-monospace,Menlo,Consolas,monospace;background:var(--surface-3,var(--surface-2));box-shadow:0 0 0 1px var(--border);border-radius:var(--radius,8px);padding:8px 12px;color:var(--text-body)}
.agt-copybox .c-btn{flex:none;white-space:nowrap}
.ipg .agt-innote{font-size:12.5px;color:var(--text-3);margin:9px 0 0;line-height:1.7;min-width:0}
.ipg .agt-innote code{font:500 12px/1.5 ui-monospace,Menlo,Consolas,monospace;background:var(--surface-2);box-shadow:0 0 0 1px var(--border);padding:1px 6px;border-radius:var(--radius-sm,6px);color:var(--text-body);word-break:break-all}

/* 图标墙（13 tile 常开，不折叠） */
.agt-cltwall{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:2px 0 12px}
.agt-clttile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;padding:10px 4px 8px;border:0;border-radius:var(--radius-lg,10px);background:var(--surface-2);color:var(--text-2);cursor:pointer;min-width:0;font:inherit;-webkit-appearance:none;appearance:none;transition:background .15s,box-shadow .15s}
.agt-clttile:hover{background:var(--surface-3,var(--surface-2))}
.agt-clttile.is-active{background:var(--surface);box-shadow:0 0 0 2px var(--primary);color:var(--text)}
.agt-clttile-img{width:28px;height:28px;box-sizing:border-box;padding:3px;border-radius:7px;background:#fff;box-shadow:0 0 0 1px var(--border);object-fit:contain;flex:none}
.agt-clttile-name{font-size:12px;line-height:1.35;color:inherit;word-break:break-word;text-align:center}

/* 单教程手风琴（同时只显示一个客户端的教程） */
.agt-cltview{min-width:0}
.agt-cltcard{background:var(--surface-3,var(--surface-2));border-radius:var(--radius,8px);box-shadow:0 0 0 1px var(--border);padding:12px 14px;min-width:0}
.agt-clt-hd{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.agt-clt-hd b{font-size:14px;min-width:0;color:var(--text)}
.agt-clt-who{flex:none;font-size:12px;color:var(--text-3);white-space:nowrap}
.agt-clt-easy{margin-left:auto;flex:none;font-size:12px;color:var(--success-deep);white-space:nowrap}
.agt-clt-easy.agt-tbd{color:var(--warning-text)}
.agt-clt-steps{margin:8px 0 0;padding-left:20px;min-width:0}
.agt-clt-steps li{font-size:13px;line-height:1.8;color:var(--text-2);margin:2px 0;min-width:0}
.agt-clt-steps code{font:500 12px/1.5 ui-monospace,Menlo,Consolas,monospace;background:var(--surface);box-shadow:0 0 0 1px var(--border);padding:1px 6px;border-radius:var(--radius-sm,6px);color:var(--text-body);word-break:break-all}
.agt-clt-ft{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap;margin-top:8px;min-width:0}
.agt-clt-ft .agt-clt-json{flex:1 1 100%;margin-top:2px}
.agt-clt-tip{flex:1 1 auto;font-size:12px;color:var(--text-3);margin:0;min-width:0}
.agt-clt-tip b{color:var(--warning-text)}
.agt-clt-ask{font-size:12.5px;color:var(--text-3);margin:8px 0 0;min-width:0}
.agt-clt-ask b{color:var(--text)}
.agt-clt-json{display:flex;gap:6px;align-items:stretch;min-width:0;margin-top:6px}
.agt-clt-json pre{flex:1 1 auto;min-width:0;margin:0;padding:8px 10px;border-radius:var(--radius-sm,8px);background:var(--surface);box-shadow:0 0 0 1px var(--border);font:500 12px/1.6 ui-monospace,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-all;color:var(--text-body)}
.agt-clt-json .c-btn{flex:none;white-space:nowrap}

/* 观察区脚注（原 details 折叠改常显段落） */
.ipg .agt-obsnote{font-size:12.5px;color:var(--text-2);margin:10px 0 0;line-height:1.8;padding:10px 12px;border-radius:var(--radius-sm,8px);background:var(--surface-2);min-width:0}
.ipg .agt-obsnote code{font:500 12px/1.5 ui-monospace,Menlo,Consolas,monospace;background:var(--surface);box-shadow:0 0 0 1px var(--border);padding:1px 6px;border-radius:var(--radius-sm,6px);color:var(--text-body);word-break:break-all}
.ipg .agt-verify-q{font-size:14px;margin:0;min-width:0}
.agt-verify-q b{color:var(--text)}
.ipg .agt-verify-ok{font-size:13px;color:var(--success-deep);margin:6px 0 0;min-width:0}

/* ---------- 第三幕：tier 对比 + 个人场景 ---------- */
.agt-t3{display:flex;flex-direction:column;gap:14px;min-width:0}
.agt-tier{background:var(--surface);border-radius:var(--radius-lg,12px);box-shadow:var(--shadow-ring);overflow:hidden;min-width:0}
.agt-tier-cols{display:grid;grid-template-columns:1fr;min-width:0}
.agt-tier-col{padding:14px 16px;min-width:0}
.agt-tier-col+.agt-tier-col{border-top:1px solid var(--border)}
.agt-tier-hd{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0}
.agt-tier-hd b{font-size:15px;color:var(--text)}
.agt-tier-n{font-size:13px;font-weight:700;color:var(--text-2);font-variant-numeric:tabular-nums;white-space:nowrap}
.agt-tier-tag{flex:none;font-size:12px;color:var(--text-3);background:var(--surface-2);border-radius:var(--radius-pill,999px);padding:1px 9px;white-space:nowrap}
.agt-tier-tag.agt-unlock{color:var(--warning-text);background:var(--warning-bg)}
.ipg .agt-tier-keep{font-size:12.5px;color:var(--text-3);margin:6px 0 0;min-width:0}
.agt-tier-grp{margin-top:10px;min-width:0}
.agt-tier-grp h4{font-size:12.5px;font-weight:700;color:var(--text-2);margin:0 0 4px;letter-spacing:.02em;min-width:0}
.agt-trow{display:flex;align-items:baseline;gap:8px;padding:2.5px 0;min-width:0}
.agt-trow code{flex:none;font:500 12.5px/1.7 ui-monospace,Menlo,Consolas,monospace;color:var(--text-body)}
.agt-trow span{font-size:12px;color:var(--text-3);min-width:0}
.agt-tnotes{display:flex;flex-direction:column;gap:8px;min-width:0}
.ipg .agt-tier-benefit{margin:0;font-size:13px;color:var(--text-body);background:var(--surface);box-shadow:var(--shadow-ring);border-radius:var(--radius,8px);padding:9px 14px;min-width:0}
.agt-tier-benefit b{color:var(--text)}
.ipg .agt-tier-wl{margin:0;font-size:12.5px;color:var(--text-body);background:var(--warning-bg);border-radius:var(--radius,8px);padding:9px 14px;min-width:0;line-height:1.7}
.agt-tier-wl b{color:var(--text)}
.agt-tier-cta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 0 0;min-width:0}
.agt-tier-cta .c-btn{flex:none;white-space:nowrap}
.agt-tier-cta .agt-innote{flex:1 1 240px;margin:0}
.agt-p4{display:grid;grid-template-columns:1fr;gap:10px;min-width:0}
.agt-pcard{background:var(--surface);border-radius:var(--radius-lg,12px);box-shadow:var(--shadow-ring);padding:12px 14px;min-width:0}
.agt-pcard-t{font-size:14px;margin:0 0 6px;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0;color:var(--text)}
.agt-pcard p{font-size:12.5px;color:var(--text-2);margin:0 0 6px;min-width:0}

/* 诊断 findings 形态 */
.agt-find{display:flex;flex-direction:column;gap:6px;min-width:0;margin:8px 0 0}
.agt-frow{display:flex;gap:8px;align-items:flex-start;min-width:0}
.agt-ftag{flex:none;font-size:12px;font-weight:700;border-radius:var(--radius-pill,999px);padding:1px 8px;white-space:nowrap;margin-top:1px}
.agt-ftag.ok{color:var(--success-deep);background:var(--tint-ok)}
.agt-ftag.warn{color:var(--warning-text);background:var(--warning-bg)}
.agt-ftag.tip{color:var(--text-2);background:var(--surface-2)}
.agt-fbody{min-width:0;font-size:12.5px;color:var(--text-2);line-height:1.65}
.agt-fbody b{color:var(--text)}

/* ---------- 安全边界 ---------- */
.agt-safegrid{display:grid;grid-template-columns:1fr;gap:10px}
.agt-safecard{background:var(--surface);border-radius:var(--radius-lg,12px);box-shadow:var(--shadow-ring);padding:12px 14px;min-width:0}
.agt-safecard-t{display:block;font-size:13.5px;font-weight:700;margin-bottom:4px;min-width:0;color:var(--text)}
.agt-safecard-no{font:700 12px/1 ui-monospace,Menlo,monospace;color:var(--text-3);margin-right:6px}
.agt-safecard p{margin:0;font-size:12.5px;color:var(--text-2);line-height:1.7;min-width:0}
.agt-faq{margin-top:10px}
.agt-fold{margin:8px 0 0;background:var(--surface-2);border-radius:var(--radius,8px);min-width:0}
.agt-fold>summary{padding:11px 14px;font-size:13.5px;font-weight:600;color:var(--text);cursor:pointer;list-style:none;min-width:0;min-height:40px;display:flex;align-items:center}
.agt-fold>summary::-webkit-details-marker{display:none}
.agt-fold-bd{padding:0 14px 12px;min-width:0}

/* ---------- 模型 API 推广（agent-infistar-20261127 · 零新增令牌） ---------- */
.agt-spon{background:var(--surface);border-radius:var(--radius-lg,12px);box-shadow:var(--shadow-ring);padding:14px 16px;margin:12px 0;min-width:0}
.agt-spon-hd{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-width:0}
.agt-spon-badge{flex:none;font-size:12px;font-weight:600;color:var(--text-2);background:var(--surface-2);box-shadow:0 0 0 1px var(--border);border-radius:var(--radius-pill,999px);padding:1px 9px;white-space:nowrap}
.agt-spon-hd h3{font-size:15px;margin:0;font-weight:700;color:var(--text);min-width:0}
.agt-spon-sub{margin:6px 0 0;font-size:13px;color:var(--text-2);line-height:1.65;min-width:0}
.agt-spon-sub b{color:var(--text)}
.agt-spon-list{margin:10px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(238px,1fr));gap:8px;min-width:0}
.agt-spon-list li{background:var(--surface-2);border-radius:var(--radius,8px);padding:8px 11px;min-width:0}
.agt-spon-list b{display:block;font-size:13px;color:var(--text)}
.agt-spon-list span{display:block;font-size:12.5px;color:var(--text-2);margin-top:2px;line-height:1.6}
.agt-spon-act{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;min-width:0}
.agt-spon-fine{font-size:12px;color:var(--text-3);line-height:1.6;min-width:0}
.agt-spon-slim .agt-spon-hd{align-items:center}
.agt-spon-slim .agt-spon-sub{margin:0;flex:1 1 240px}
.agt-spon-inline{margin:8px 0 0;font-size:12.5px;color:var(--text-2);line-height:1.7;min-width:0}
.agt-spon-inline a{color:var(--link-ext);text-decoration:underline;text-underline-offset:3px}
.agt-spon-inline a:hover{color:var(--link-ext-hover)}
.agt-spon-tag{font-size:12px;color:var(--text-3);white-space:nowrap}

/* ---------- 响应式 ---------- */
@media(min-width:761px){
  .agt-tier-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .agt-tier-col+.agt-tier-col{border-top:0;border-left:1px solid var(--border)}
  .agt-p4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .agt-safegrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:981px){
  .agt-bgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1024px){
  .agt-cltwall{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:768px){
  .agt-page{padding:14px 12px 48px}
  .ipg .agt-h1{font-size:22px}
  .ipg .agt-h1-em{font-size:13.5px}
  .agt-statbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .agt-statcard b{font-size:17px}
  .agt-act-hd{flex-wrap:wrap;gap:8px}
  .agt-act-hd h2{font-size:18px}
  .agt-stepcard{padding:12px 12px}
  .agt-cltwall{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .agt-clttile{padding:8px 2px 7px}
  .agt-clt-who{white-space:normal}
  .agt-tier-col+.agt-tier-col{border-top:1px solid var(--border);border-left:0}
  /* 通用 mcpServers tile 在窄屏占满一行（拉丁长词不截断） */
  .agt-clttile[data-agttile="mcp"]{grid-column:1/-1;flex-direction:row;justify-content:center;gap:8px;padding:9px 6px}
}

