/* data-redesign.css — Whatnot 首页改版专用样式 v2（视觉纠偏轮）
   仅作用于 body.data-workspace（/data 页面），不影响 shop.html / 会员页等共用页面。
   视觉基准：附件效果图 — 深色数据雷达风、1280px 内容宽、紧凑节奏、青色主强调、黄色辅助。
   数据规则仍以执行稿 MD 为准；本文件只管布局/视觉/交互。 */

/* 内容宽度与留白 */
body.data-workspace .wrap{width:min(1280px,100%);padding-inline:32px}

/* ===== 隐藏旧版大模块（功能代码保留，仅首页不展示） ===== */
body.data-workspace .tiers-panel,
body.data-workspace .seller-market,
body.data-workspace .seller-prices,
body.data-workspace #market-scope,
body.data-workspace #trend-scope,
body.data-workspace .sampling-details,
body.data-workspace #report-state:not(.error),
body.data-workspace .snapshot-note,
body.data-workspace #watch-history,
body.data-workspace #watch-upcoming,
body.data-workspace .seller-watch > p.caption,
body.data-workspace .plans-included,
body.data-workspace #plans-dock,
body.data-workspace #market-board{display:none!important}

/* ===== 首屏 Banner ===== */
body.data-workspace .hero-banner{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;padding:44px 0 48px;border-bottom:1px solid var(--line)}
body.data-workspace .hero-eyebrow{color:var(--accent);font-weight:700;font-size:13px;letter-spacing:.14em;margin-bottom:18px;text-transform:uppercase}
body.data-workspace .hero-title{font-size:clamp(40px,4.6vw,60px);font-weight:750;line-height:1.15;letter-spacing:-.035em;color:var(--text)}
body.data-workspace .hero-title-sub{font-size:clamp(26px,3vw,38px);font-weight:700;line-height:1.25;letter-spacing:-.03em;color:var(--accent);margin-top:12px}
body.data-workspace .hero-questions{margin:24px 0 0;padding:0;list-style:none;display:grid;gap:10px}
body.data-workspace .hero-questions li{font-size:15px;color:var(--muted);padding-left:22px;position:relative;line-height:1.6}
body.data-workspace .hero-questions li::before{content:'';position:absolute;left:0;top:8px;width:8px;height:8px;border-radius:2px;background:var(--accent)}
body.data-workspace .hero-actions{margin-top:28px}
body.data-workspace .hero-cta{min-height:52px;font-size:15px;padding:12px 28px}

/* 右侧成交档案：醒目大卡 */
body.data-workspace .hero-archive{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:0;max-width:560px;justify-self:end;width:100%;box-shadow:0 18px 50px rgba(0,0,0,.32)}
body.data-workspace .hero-archive-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 20px;border-bottom:1px solid var(--line);font-size:14px;font-weight:700}
body.data-workspace .hero-archive-tag{font-size:11px;font-weight:600;color:var(--warn);background:var(--warn-bg);border-radius:6px;padding:3px 9px;white-space:nowrap}
body.data-workspace .hero-archive-body{display:grid;grid-template-columns:1fr 1.08fr;gap:18px;padding:14px}
body.data-workspace .hero-archive-image{position:relative;border-radius:10px;overflow:hidden;background:var(--tint);min-height:250px}
body.data-workspace .hero-archive-button{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;background:var(--tint);cursor:zoom-in;aspect-ratio:auto}
body.data-workspace .hero-archive-button img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
body.data-workspace .hero-archive-detail{display:flex;flex-direction:column;min-width:0;padding:4px 4px 2px 0}
body.data-workspace .hero-archive-label{font-size:11px;color:var(--muted)}
body.data-workspace .hero-archive-detail h2{font-size:24px;line-height:1.3;margin-top:6px;letter-spacing:-.02em}
body.data-workspace .hero-archive-price{margin:16px 0 12px;display:flex;flex-direction:column;gap:2px}
body.data-workspace .hero-archive-price span{font-size:11px;color:var(--muted)}
body.data-workspace .hero-archive-price strong{font-size:42px;line-height:1.15;font-weight:750;letter-spacing:-.03em;color:var(--accent);font-variant-numeric:tabular-nums}
body.data-workspace .hero-archive-detail dl{margin:0 0 12px;display:grid;gap:9px;font-size:12px}
body.data-workspace .hero-archive-detail dt{font-size:11px;color:var(--muted)}
body.data-workspace .hero-archive-detail dd{margin:2px 0 0;font-weight:600}
body.data-workspace .hero-archive-open{margin-top:auto;align-self:flex-start}
body.data-workspace .hero-archive figcaption{padding:13px 20px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);line-height:1.7}

/* ===== 24 小时开播机会分析：折线图独占一行，卡片轻薄 ===== */
body.data-workspace .opportunity-panel{background:transparent;border:0;padding:0;box-shadow:none}
body.data-workspace .opportunity-panel .panel-heading{margin-bottom:10px}
body.data-workspace .opportunity-panel .panel-heading h2{font-size:26px;font-weight:750;letter-spacing:-.02em}
body.data-workspace .opportunity-panel .chart{height:280px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:8px 6px 2px}
body.data-workspace .opportunity-panel .trend-scope{margin:0 0 10px}
body.data-workspace .chart-hint{margin-top:10px}

/* 折线图：右上角图例（按设计图） */
body.data-workspace .chart-legend{display:flex;align-items:center;gap:18px;font-size:12.5px;color:var(--text);font-weight:600;white-space:nowrap}
body.data-workspace .chart-legend .lg{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;vertical-align:1px}
body.data-workspace .chart-legend .lg-data{background:var(--accent)}
body.data-workspace .chart-legend .lg-peak{background:#ff5c8a}
@media (max-width:699px){body.data-workspace .chart-legend{display:none}}

/* 折线图 Tooltip 交互 */
body.data-workspace .chart-box{position:relative}
body.data-workspace .chart-tip{position:absolute;z-index:6;min-width:200px;max-width:270px;background:#0b1620;border:1px solid #35e0ff;border-radius:10px;padding:10px 12px;pointer-events:none;box-shadow:0 10px 30px rgba(0,0,0,.5);font-size:12px;display:grid;gap:6px}
body.data-workspace .chart-tip .tip-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px}
body.data-workspace .chart-tip .tip-row span{color:#8aa3b0;white-space:nowrap}
body.data-workspace .chart-tip .tip-row b{color:#e8f6fb;font-weight:650;font-variant-numeric:tabular-nums;text-align:right}
body.data-workspace .chart-tip .tip-row.main b{color:#35e0ff;font-size:14px;font-weight:750}
body.data-workspace .chart-guide{stroke:#35e0ff;stroke-width:1;stroke-dasharray:4 4;opacity:.55;pointer-events:none}
body.data-workspace .chart-point{transition:r .12s ease}
body.data-workspace .chart-point.active{fill:#ffffff;stroke:#35e0ff;stroke-width:2;r:6.5}
/* 峰值常驻标注（按设计图：时间 + xx最高峰 两行小黑框） */
body.data-workspace .chart-peak-tag rect{fill:#0d1c26f2;stroke:#ffffff38}
body.data-workspace .chart-peak-tag text{fill:#e8f6fb;font-size:12px;font-weight:700}
body.data-workspace .chart-peak-tag text.chart-peak-name{font-size:10.5px;font-weight:600;fill:#c8d9e2}
body.data-workspace .chart-axis-name{font-size:10px;fill:#8aa3b0;font-weight:600}

/* 三个建议卡：图标+彩色标签、时间段大字、美东/中国两行、结论小字（按设计图） */
body.data-workspace .insight-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0 0}
body.data-workspace .insight-card{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:18px 20px 16px;display:flex;flex-direction:column;gap:8px}
body.data-workspace .insight-card .insight-head{display:flex;align-items:center;gap:9px}
body.data-workspace .insight-card .insight-head svg{width:19px;height:19px;flex-shrink:0}
body.data-workspace .insight-card .insight-label{font-size:15px;font-weight:750}
body.data-workspace .insight-card.kind-opportunity .insight-head{color:var(--warn)}
body.data-workspace .insight-card.kind-traffic .insight-head,
body.data-workspace .insight-card.kind-newbie .insight-head{color:var(--accent)}
body.data-workspace .insight-card .insight-range{font-size:26px;font-weight:750;color:var(--text);letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.2}
body.data-workspace .insight-card .insight-tz{display:grid;gap:5px;font-size:12.5px;color:var(--muted)}
body.data-workspace .insight-card .insight-tz b{color:var(--text);font-weight:650;font-variant-numeric:tabular-nums;margin-left:4px}
body.data-workspace .insight-card p{font-size:12px;color:var(--muted);line-height:1.7;margin:2px 0 0}

/* ===== 两个榜单：上下连续、紧凑 ===== */
body.data-workspace .rankings-section{margin-top:40px}
body.data-workspace .ranking-block{margin-bottom:40px}
body.data-workspace .ranking-block .section-heading{margin-bottom:14px}
body.data-workspace .ranking-block .section-heading h2{font-size:26px;font-weight:750;letter-spacing:-.02em}
body.data-workspace .ranking-block .section-heading p{font-size:14px;color:var(--muted);margin-top:6px;line-height:1.7}
body.data-workspace .ranking-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:12px}
body.data-workspace .ranking-disclaimer{max-width:90ch;margin-top:12px}
body.data-workspace .login-gate{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding:16px 22px;border:1px solid var(--line);border-radius:12px;background:#0a1218}
body.data-workspace .login-gate p{margin:0;font-size:14px}
body.data-workspace .login-gate .button{flex-shrink:0}

/* 榜单卡片：图片 9:16 竖图、图上文下、排名徽章压图 */
body.data-workspace .ranking-grid .product{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);min-width:0;transition:border-color .18s}
body.data-workspace .ranking-grid .product:has(.image-button:not(:disabled)):hover{border-color:var(--accent)}
body.data-workspace .ranking-grid .image-button{position:relative;display:grid;place-items:center;width:100%;padding:0;background:var(--tint);border:0;aspect-ratio:9/16;cursor:zoom-in;overflow:hidden;flex-shrink:0}
body.data-workspace .ranking-grid .image-button img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;opacity:0}
body.data-workspace .ranking-grid .image-button img.loaded{opacity:1}
body.data-workspace .ranking-grid .image-button .image-placeholder{position:absolute;inset:0;display:grid;place-items:center;font-size:11px;color:var(--muted);padding:12px;text-align:center}
body.data-workspace .ranking-grid .image-button .zoom{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#102a36d9;color:#fff;border:1px solid #ffffff80;font-size:20px}
body.data-workspace .ranking-grid .rank-badge{position:absolute;left:10px;top:10px;min-width:34px;height:34px;display:grid;place-items:center;padding:0 6px;border-radius:9px;background:#0b1620e6;color:#e8f6fb;font-size:14px;font-weight:750;font-variant-numeric:tabular-nums;border:1px solid #ffffff40}
body.data-workspace .ranking-grid .rank-badge.rank-first{background:var(--warn);color:#231a02;border-color:var(--warn)}
body.data-workspace .ranking-grid .won-badge{position:absolute;left:10px;top:52px;background:#22c55e;color:#04140a;font-size:10px;font-weight:750;letter-spacing:.02em;padding:2px 9px;border-radius:5px}
body.data-workspace .ranking-grid .img-price{position:absolute;left:0;right:0;bottom:0;padding:22px 12px 8px;background:linear-gradient(180deg,transparent,#0a1218e6 62%);color:#fff;font-size:15px;font-weight:750;font-variant-numeric:tabular-nums;text-align:left}
body.data-workspace .ranking-grid .product-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:7px}
body.data-workspace .ranking-grid .product-body .seller{margin:0;font-size:12.5px;color:var(--accent);font-weight:650}
body.data-workspace .ranking-grid .product-name{font-size:14px;line-height:1.5;font-weight:650;min-height:42px;overflow-wrap:anywhere;margin:0}
body.data-workspace .ranking-grid .product-facts{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:4px}
body.data-workspace .ranking-grid .product-fact-main{display:flex;flex-direction:column;gap:2px}
body.data-workspace .ranking-grid .fact-label{font-size:11px;color:var(--muted)}
body.data-workspace .ranking-grid .fact-value{font-size:28px;font-weight:750;letter-spacing:-.03em;color:var(--accent);font-variant-numeric:tabular-nums;line-height:1.15}
body.data-workspace .ranking-grid .by-bidders .fact-value{color:var(--accent)}
body.data-workspace .ranking-grid .product-fact-sub{font-size:12px;color:var(--muted);text-align:right}
body.data-workspace .ranking-grid .product-time{display:flex;flex-direction:column;gap:2px;font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:9px;margin-top:3px}
body.data-workspace .ranking-grid .seller-cap-note{margin:4px 0 0;font-size:11px;color:var(--warn);line-height:1.6}
body.data-workspace .ranking-grid .seller-cap-note a{color:var(--warn);text-decoration:underline}
body.data-workspace .ranking-grid .no-image .image-button{aspect-ratio:auto;min-height:80px}
body.data-workspace .ranking-grid .no-image .image-placeholder{padding:18px}

/* ===== 同行卖家变化：紧凑表格 ===== */
body.data-workspace .seller-watch{margin-top:40px}
body.data-workspace .seller-watch .panel-heading h2{font-size:24px;font-weight:750}
body.data-workspace .seller-watch .watch-toolbar{margin:10px 0}
body.data-workspace .watch-table{font-size:12px}
body.data-workspace .watch-table th,body.data-workspace .watch-table td{padding:8px 10px}
body.data-workspace .watch-table .no-value{color:var(--muted);font-style:normal}
body.data-workspace .watch-upcoming{margin-top:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
body.data-workspace .watch-upcoming summary{padding:12px 16px;font-weight:650;cursor:pointer;display:flex;align-items:center;gap:10px;min-height:44px}
body.data-workspace .watch-more-note{padding:0 16px 12px;margin:0}

/* ===== 类目整体数据快照：一行 4 张紧凑卡 ===== */
body.data-workspace .snapshot-panel{margin-top:40px}
body.data-workspace .snapshot-panel .panel-heading h2{font-size:24px;font-weight:750}
body.data-workspace .snapshot-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:12px;margin:14px 0 0;padding:18px 4px;gap:0}
body.data-workspace .snapshot-card{padding:0 18px;border-right:1px solid var(--line);min-width:0}
body.data-workspace .snapshot-card:first-child{padding-left:18px}
body.data-workspace .snapshot-card:last-child{border:0;padding-right:18px}
body.data-workspace .snapshot-card dt{font-size:12px;color:var(--text);font-weight:600;margin-bottom:10px}
body.data-workspace .snapshot-card dd{font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.03em;margin:0}
body.data-workspace .snapshot-value{display:block;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;min-height:36px}
body.data-workspace .snapshot-card.price-metric .snapshot-value{color:var(--accent)}
body.data-workspace .snapshot-card.priority dd{font-size:32px;font-weight:750}
body.data-workspace .snapshot-card small{font-size:10.5px;margin-top:8px;line-height:1.6;color:var(--muted);display:block}
body.data-workspace .snapshot-card.is-missing .snapshot-value{font-size:17px;color:var(--muted)}
body.data-workspace .snapshot-note{margin-top:12px;color:var(--muted);font-size:12px}
body.data-workspace .snapshot-note summary{width:fit-content;padding:4px 0;min-height:28px}
body.data-workspace .snapshot-note p{max-width:100ch;line-height:1.8}

/* ===== 套餐：一行三张，中间"最受欢迎" ===== */
body.data-workspace .data-plans{margin-top:40px}
body.data-workspace .plans-heading h2{font-size:26px;font-weight:750}
body.data-workspace .plans-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch}
body.data-workspace .plans-card{position:relative;display:flex;flex-direction:column}
body.data-workspace .plans-card .button{margin-top:auto}
body.data-workspace .plans-card.featured{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent) inset,0 10px 34px rgba(53,224,255,.10)}
body.data-workspace .plans-flag{position:absolute;top:-12px;left:20px;background:var(--accent);color:#04141c;font-size:11px;font-weight:750;padding:3px 12px;border-radius:999px;letter-spacing:.04em}

/* ===== 加载骨架：与最终内容同尺寸，不再撑出大空白 ===== */
body.data-workspace .chart-skeleton{height:280px;margin-right:0}
body.data-workspace .ranking-grid .skeleton.product-skeleton{height:auto;min-height:0;aspect-ratio:9/17.6;border-radius:12px;margin-right:0}
body.data-workspace .insight-cards .skeleton.chart-skeleton{height:168px;margin-right:0}
body.data-workspace .snapshot-cards .skeleton{min-height:96px;margin-right:0}
body.data-workspace #tiers .skeleton{margin-right:0}

/* ===== 响应式：桌面3列 / 平板2列 / 手机1列 ===== */
@media (min-width:1100px){
  body.data-workspace .ranking-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:700px) and (max-width:1099px){
  body.data-workspace .ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.data-workspace .hero-banner{gap:32px}
  body.data-workspace .hero-title{font-size:42px}
  body.data-workspace .hero-title-sub{font-size:26px}
  body.data-workspace .insight-cards{grid-template-columns:1fr}
  body.data-workspace .snapshot-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0}
  body.data-workspace .snapshot-card:nth-child(odd){border-right:1px solid var(--line)}
  body.data-workspace .snapshot-card:nth-child(even){border:0}
  body.data-workspace .plans-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
  body.data-workspace .plans-card{padding:18px 16px!important}
}
@media (max-width:699px){
  body.data-workspace .ranking-grid{grid-template-columns:1fr}
  body.data-workspace .wrap{padding-inline:20px}
  body.data-workspace .hero-banner{grid-template-columns:1fr;gap:28px;padding:30px 0 36px}
  body.data-workspace .hero-title{font-size:36px}
  body.data-workspace .hero-title-sub{font-size:23px}
  body.data-workspace .hero-archive{justify-self:stretch;max-width:none}
  body.data-workspace .hero-archive-body{grid-template-columns:1fr}
  body.data-workspace .insight-cards{grid-template-columns:1fr;gap:12px}
  body.data-workspace .login-gate{flex-direction:column;align-items:flex-start;gap:14px}
  body.data-workspace .login-gate .button{width:100%}
  body.data-workspace .snapshot-cards{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 0;gap:16px 0}
  body.data-workspace .snapshot-card{padding:0 14px!important}
  body.data-workspace .snapshot-card:nth-child(odd){border-right:1px solid var(--line)}
  body.data-workspace .snapshot-card:nth-child(even){border:0}
  body.data-workspace .snapshot-card dd,body.data-workspace .snapshot-card.priority dd{font-size:26px}
  body.data-workspace .ranking-block .section-heading h2{font-size:22px}
  body.data-workspace .plans-cards{grid-template-columns:1fr!important;gap:14px!important}
  body.data-workspace .plans-card.featured{order:-1}
}

@media (prefers-reduced-motion:reduce){body.data-workspace *,body.data-workspace *::before,body.data-workspace *::after{animation:none!important;transition:none!important}}

/* ===== v4（20260921-4）：快照卡图标化 + 套餐权益列表，对齐设计图 ===== */
body.data-workspace .snapshot-cards{background:transparent;border:0;border-radius:0;padding:0;margin-top:16px;gap:14px}
body.data-workspace .snapshot-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;align-items:center;min-height:96px}
body.data-workspace .snapshot-card:first-child,body.data-workspace .snapshot-card:last-child{padding:16px;border:1px solid var(--line)}
body.data-workspace .snapshot-row{display:flex;align-items:center;gap:13px;min-width:0}
body.data-workspace .snapshot-icon{width:44px;height:44px;border-radius:50%;background:rgba(53,224,255,.14);color:var(--accent);display:flex;align-items:center;justify-content:center;flex:0 0 44px}
body.data-workspace .snapshot-icon svg{width:21px;height:21px}
body.data-workspace .snapshot-icon.si-trophy{background:rgba(255,203,72,.14);color:#ffcb48}
body.data-workspace .snapshot-main{min-width:0}
body.data-workspace .snapshot-card dt{font-size:12.5px;font-weight:600;color:var(--text);margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.data-workspace .snapshot-card dd{font-size:27px;font-weight:750;letter-spacing:-.02em;margin:0;line-height:1.15}
body.data-workspace .snapshot-card .snapshot-value{color:var(--accent);min-height:0}
body.data-workspace .snapshot-card.is-missing .snapshot-value{font-size:16px;color:var(--muted);font-weight:600}
body.data-workspace .snapshot-card dd small{display:none}
body.data-workspace .snapshot-card .deals-up,body.data-workspace .snapshot-card .deals-down,body.data-workspace .snapshot-card .deals-flat{display:block;font-size:12.5px;font-weight:650;margin-top:4px;margin-left:0;vertical-align:baseline;white-space:nowrap}
body.data-workspace .snapshot-cards .skeleton{min-height:96px;border-radius:14px;border:1px solid var(--line);background:var(--surface)}
body.data-workspace .plans-card h3{color:var(--accent);font-size:15.5px;font-weight:700}
body.data-workspace .plans-card.featured h3{color:var(--text)}
body.data-workspace .plans-price strong{color:var(--accent);font-size:38px}
body.data-workspace .plans-card.featured .plans-price strong{color:var(--text)}
body.data-workspace .plans-perks{list-style:none;margin:12px 0 14px;padding:0;display:grid;gap:7px;font-size:12.5px;color:var(--text);text-align:left}
body.data-workspace .plans-perks li{display:flex;gap:8px;align-items:flex-start;line-height:1.5}
body.data-workspace .plans-perks li::before{content:"✓";color:#35d99a;font-weight:800;flex:0 0 auto}
body.data-workspace .plans-card-state{display:none}
body.data-workspace .login-gate{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}
body.data-workspace .login-gate p{display:flex;align-items:center;gap:8px;margin:0;font-weight:600}
body.data-workspace .login-gate .lock-ic{width:16px;height:16px;color:var(--accent);flex:0 0 auto}
@media (min-width:700px) and (max-width:1099px){
  body.data-workspace .snapshot-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  body.data-workspace .snapshot-card:nth-child(odd),body.data-workspace .snapshot-card:nth-child(even){border:1px solid var(--line);padding:16px}
}
@media (max-width:699px){
  body.data-workspace .snapshot-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0}
  body.data-workspace .snapshot-card{padding:12px;min-height:84px}
  body.data-workspace .snapshot-card:nth-child(odd),body.data-workspace .snapshot-card:nth-child(even){border:1px solid var(--line);padding:12px}
  body.data-workspace .snapshot-icon{width:38px;height:38px;flex-basis:38px}
  body.data-workspace .snapshot-card dd{font-size:22px}
}
/* ===== v5：折线图下方光影渐变 ===== */
body.data-workspace .chart-area{fill:url(#chart-area-grad);stroke:none;pointer-events:none}
body.data-workspace .chart-line{filter:drop-shadow(0 0 7px rgba(53,224,255,.5))}

/* ===== v6：隐藏"查看N个类目"行；开播机会标题上移+使用全站通用蓝色 ===== */
body.data-workspace .filterbar{margin-bottom:18px}
body.data-workspace .opportunity-panel{margin-top:0}
body.data-workspace .opportunity-panel .panel-heading{margin-top:0;padding-top:0}
body.data-workspace #opportunity-title{color:var(--accent)}

/* ===== v7：三张建议卡严格按设计图——图标独立左列，文字右对齐列 ===== */
body.data-workspace .insight-card{flex-direction:row;align-items:flex-start;gap:16px;padding:20px 20px 18px}
body.data-workspace .insight-card .insight-icon{width:32px;height:32px;flex:0 0 32px;display:flex;align-items:center;justify-content:center;margin-top:2px}
body.data-workspace .insight-card .insight-icon svg{width:27px;height:27px}
body.data-workspace .insight-card.kind-opportunity .insight-icon{color:var(--warn)}
body.data-workspace .insight-card.kind-traffic .insight-icon,
body.data-workspace .insight-card.kind-newbie .insight-icon{color:var(--accent)}
body.data-workspace .insight-card .insight-body{min-width:0;display:grid;gap:6px}
body.data-workspace .insight-card .insight-head{display:block}
body.data-workspace .insight-card .insight-label{font-size:15.5px;font-weight:750;color:var(--accent)}
body.data-workspace .insight-card .insight-range{font-size:23px;font-weight:750;color:var(--accent);letter-spacing:-.01em;line-height:1.2}
body.data-workspace .insight-card .insight-tz{display:grid;gap:6px;font-size:14px;color:var(--text);font-weight:650}
body.data-workspace .insight-card .insight-tz b{color:var(--text);font-weight:650;margin-left:4px;font-variant-numeric:tabular-nums}
body.data-workspace .insight-card .insight-body p{font-size:14px;font-weight:700;color:var(--accent);line-height:1.6;margin:4px 0 0}
