/* Product chrome uses shared tokens; the document canvas retains saved layouts. */
.product-page .app { overflow-x: clip; background: var(--ui-page); transition: none; }
.product-page .page-scroll-indicator { display: none; }
.product-page .hero-panel { width: min(1180px, calc(100% - 64px)); padding: 28px 0 40px; transition: none; }
.product-page .hero-panel::before { content: none; }
.product-page .app.idle .hero-panel { position: relative; min-height: auto; }
.product-page .top-nav { min-height: 40px; }
.product-page .nav-links { gap: 26px; font-weight: 500; }
.product-page .nav-links::after { display: none; }
.product-page .nav-button { order: initial; }
.product-page .nav-links :is(a, button) { padding: 8px 0; color: var(--ui-muted); white-space: nowrap; }
.product-page .nav-links :is(a, button):hover { color: var(--ui-accent); }
.product-page .nav-links button.theme-toggle { padding: 8px 12px; color: var(--ui-text); }
.product-page .hero-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 64px 0 44px; }
.product-page .hero-entry { min-width: 0; }
.product-page .hero-copy { width: 100%; max-height: none; margin: 0; padding: 0; }
.product-page .hero-copy { position: relative; overflow: visible; }
.product-page .hero-visual { display: grid; place-items: center; align-self: stretch; min-width: 0; min-height: 320px; overflow: visible; }
.product-page .hero-eyebrow { border: 0; padding: 0; color: var(--ui-accent); background: none; box-shadow: none; font-size: 12px; font-weight: 600; letter-spacing: .055em; text-transform: none; }
.product-page .hero-copy h1 { margin: 0; max-width: 680px; font-size: clamp(34px, 3.65vw, 52px); line-height: 1.35; font-weight: 600; letter-spacing: -.045em; }
.product-page .subtitle { width: min(570px, 100%); margin-top: 20px; color: var(--ui-muted); font-size: 16px; line-height: 1.8; }
.product-page .analysis-dock { width: 100%; margin: 28px 0 0; padding: 20px; border: 1px solid var(--ui-border); border-radius: 24px; background: var(--ui-surface); box-shadow: var(--ui-shadow); transition: none; }
.product-page .analysis-dock-head { padding: 0 0 14px; }
.product-page .analysis-dock-head strong { font-size: 14px; font-weight: 600; }
.product-page .input-wrap { min-height: 66px; grid-template-columns: auto minmax(0,1fr) auto auto; gap: 8px; padding: 8px 10px; border: 1px solid var(--ui-border); border-radius: 16px; background: var(--ui-page); box-shadow: none; }
.product-page .input-wrap:focus-within { border-color: var(--ui-accent); box-shadow: 0 0 0 3px var(--ui-accent-soft); transform: none; }
.product-page #linkInput { color: var(--ui-text); font-size: 16px; }
.product-page #linkInput::placeholder { color: var(--ui-muted); }
.product-page :is(#pasteButton, #clearButton) { color: var(--ui-muted); min-height: 40px; font-weight: 500; }
.product-page :is(#pasteButton, #clearButton):hover { background: var(--ui-soft); }
.product-page #analyzeButton { width: auto; min-width: 100px; height: 44px; padding: 0 17px; border: 0; border-radius: 12px; color: var(--ui-action-ink); background: var(--ui-action); box-shadow: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.product-page #analyzeButton:hover { transform: none; filter: brightness(.95); }
.product-page :is(.analysis-panel-note, .analysis-consent-note) { color: var(--ui-muted); font-size: 12px; line-height: 1.7; font-weight: 400; }
.product-page .platform-strip { display: block; min-width: 0; width: 100%; margin: 0; padding-top: 22px; border-top: 1px solid var(--ui-border); }
.product-page #analysisDockTitle { font-size: 15px; font-weight: 600; }
.product-page .workbench-console-head span { display: none; }
.product-page .workbench-console-head strong { color: var(--ui-text); font-weight: 600; }
.product-page .workbench-availability { border-color: var(--ui-accent); color: var(--ui-muted); background: var(--ui-soft); border-radius: 0 10px 10px 0; }
.platform-strip[hidden] { display: none; }
.platform-strip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: var(--ui-muted); font-size: 12px; }
.product-page .platform-pills { display: block; overflow: hidden; margin: 0; padding: 4px 0; color: var(--ui-muted); mask-image: linear-gradient(90deg,transparent,#000 20px,#000 calc(100% - 20px),transparent); }
.platform-track.platform-group { display: flex; width: auto; align-items: center; list-style: none; margin: 0; padding: 0; touch-action: pan-y pinch-zoom; }
.platform-group li { flex: 0 0 auto; min-width: 0; padding-right: 22px; }
.product-page .platform-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 12px; color: var(--ui-muted); background: transparent; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; box-shadow: none; transition: color .16s ease, background .16s ease; }
.product-page .platform-pill:hover, .product-page .platform-pill:focus-visible { color: var(--ui-text); background: var(--ui-accent-soft); box-shadow: none; transform: none; }
.product-page .platform-pill:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: -2px; }
.platform-logo { display: inline-block; flex: 0 0 30px; width: 30px; height: 24px; background: currentColor; mask: var(--platform-logo) center / contain no-repeat; }
.platform-logo-bilibili { --platform-logo: url('/assets/platforms/bilibili.svg'); }
.platform-logo-youtube { --platform-logo: url('/assets/platforms/youtube.svg'); }
.platform-logo-xiaohongshu { --platform-logo: url('/assets/platforms/xiaohongshu.svg'); flex-basis: 52px; width: 52px; }
.platform-logo-xiaoheihe { --platform-logo: url('/assets/platforms/xiaoheihe.svg'); }
.platform-logo-douyin { --platform-logo: url('/assets/platforms/douyin.svg'); }
.platform-logo-toutiao { --platform-logo: url('/assets/platforms/toutiao.svg'); flex-basis: 58px; width: 58px; }
.platform-logo-wechat { --platform-logo: url('/assets/platforms/wechat.svg'); }
.platform-logo-wechat_channels { --platform-logo: url('/assets/platforms/wechat-channels.svg'); }
.product-page .platform-strip[data-focused="true"] .platform-pills { mask-image: none; }
.product-page .platform-capability-card { border: 1px solid var(--ui-border); padding: 16px 18px; border-radius: 16px; color: var(--ui-muted); background: var(--ui-surface); box-shadow: 0 10px 36px rgba(30,32,40,.1); }
.product-page .platform-capability-card span { color: var(--ui-accent); letter-spacing: 0; font-weight: 600; }
.product-page .platform-capability-card strong { color: var(--ui-text); font-weight: 600; }
.product-page .app.active .hero-panel { top: 8px; margin-top: 8px; padding: 14px 18px; border: 1px solid var(--ui-border); border-radius: 20px; background: var(--ui-surface); box-shadow: var(--ui-shadow); }
.product-page .app.active .hero-copy, .product-page .app.active .platform-strip { display: none; }
.product-page .app.active .hero-body { display: block; padding: 0; }
.product-page .app.active :is(.hero-visual, .home-details) { display: none; }
.product-page .app.active .analysis-dock { width: 100%; padding: 0; margin-top: 12px; border: 0; box-shadow: none; }
.product-page .app.active .input-wrap { grid-template-columns: auto minmax(0,1fr) auto auto; }
.product-page .workbench-status-card strong { color: var(--ui-text); font-weight: 600; }
.product-page .workspace { width: min(1120px,calc(100% - 48px)); padding-top: 24px; }
.product-page .app.active .tabs-card { padding: 14px; border: 1px solid var(--ui-border); border-radius: 20px; color: var(--ui-muted); background: var(--ui-surface); box-shadow: none; }
.product-page .tabs-nav { gap: 6px; flex-wrap: wrap; }
.product-page .app.active .tab-button { min-height: 40px; padding: 8px 16px; color: var(--ui-muted); font-weight: 500; }
.product-page .app.active .tab-button.active { color: var(--ui-accent); background: var(--ui-accent-soft); box-shadow: none; font-weight: 600; }
.product-page .process-list { grid-template-columns: 1fr; gap: 0; }
.product-page .app.active .process-item { padding: 12px 6px; color: var(--ui-muted); border-bottom: 1px solid var(--ui-border); }
.product-page .process-item:last-child { border-bottom: 0; }
.product-page .process-item strong { font-weight: 400; line-height: 1.75; }
.product-page .process-item.running strong { color: var(--ui-text); font-weight: 500; }
.product-page .status-dot { border: 0; border-radius: 50%; margin-top: 8px; }
.product-page .app.active .process-item.running .status-dot { background: var(--ui-accent); }
.product-page .app.active .process-item.done .status-dot { background: #639879; }
.product-page :is(.advanced-hero-card,.workbench-console-card,.workbench-card,.workbench-status-card,.report-identity,.report-history-dialog,.local-report-row,.empty-report,.error-card,.pending-report-card,.consent-dialog) { border: 1px solid var(--ui-border); border-radius: 20px; color: var(--ui-text); background: var(--ui-surface); box-shadow: none; }
.product-page :is(.advanced-hero-card,.workbench-card,.workbench-console-card) { padding: 22px; }
.product-page .advanced-hero-card { padding: 12px 4px 22px; border: 0; border-bottom: 1px solid var(--ui-border); border-radius: 0; background: none; }
.product-page .workbench-status-grid { gap: 0; border: 1px solid var(--ui-border); border-radius: 16px; overflow: hidden; background: var(--ui-page); }
.product-page .workbench-status-card { border: 0; border-right: 1px solid var(--ui-border); border-radius: 0; background: none; }
.product-page .workbench-status-card:last-child { border-right: 0; }
.product-page .workbench-card { border: 0; border-top: 1px solid var(--ui-border); border-radius: 0; background: none; }
.product-page :is(.advanced-hero-card,.workbench-console-head,.workbench-card-head,.empty-report-hero) > :is(span,div > span), .product-page .advanced-kicker { display: none; }
.product-page :is(.advanced-hero-card h2,.workbench-card-head strong,.workbench-material-head strong,.workbench-meta-grid strong,.workbench-metrics strong,.workbench-comment-item strong,.loading-stage h2,.error-card h2,.pending-report-card h2,.empty-report strong) { color: var(--ui-text); font-weight: 600; }
.product-page :is(.advanced-hero-card p,.workbench-status-card em,.workbench-status-card span,.workbench-card-head span,.workbench-meta-grid span,.workbench-metrics span,.workbench-material-head p,.workbench-comment-item p,.workbench-comment-item span,.loading-stage p,.report-history-intro,.local-report-row p,.local-report-id,.report-storage-note,.ai-content-notice,.empty-report-hero p) { color: var(--ui-muted); }
.product-page .quick-start-grid button { border: 1px solid var(--ui-border); color: var(--ui-text); background: var(--ui-soft); box-shadow: none; }
.product-page .quick-start-grid span { color: var(--ui-muted); font-weight: 600; }
.product-page .quick-start-grid strong { color: var(--ui-text); }
.product-page .quick-start-grid button:hover { border-color: var(--ui-accent); background: var(--ui-accent-soft); }
.product-page .quick-start-grid button:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 3px; }
.product-page :is(.workbench-meta-grid div,.workbench-metrics div,.workbench-comment-item,.workbench-download-link,.workbench-transcript pre,.workbench-json,.workbench-summary.empty,.workbench-downloads.empty,.workbench-comments.empty,.workbench-transcript.empty) { border-color: var(--ui-border); border-width: 1px; color: var(--ui-text); background: var(--ui-soft); }
.product-page :is(#workbenchInput,.report-history-search input) { border: 1px solid var(--ui-border); border-radius: 12px; color: var(--ui-text); background: var(--ui-page); box-shadow: none; font-size: 16px; }
.product-page #workbenchInput::placeholder { color: var(--ui-muted); }
.product-page .workbench-message { color: var(--ui-muted); border-color: var(--ui-border); background: var(--ui-soft); }
.product-page .workbench-message.error { color: #a13c31; background: #fff0ed; }
.product-page .report-history-dialog { box-shadow: var(--ui-shadow); }
.product-page .report-id-badge { border: 1px solid var(--ui-border); color: var(--ui-muted); background: var(--ui-soft); box-shadow: none; font-size: 12px; font-weight: 500; }
.product-page :is(.report-storage-note summary,.report-storage-note a,#reportSaveStatus,.report-history-head span) { color: var(--ui-accent); }
.product-page .report-canvas { --ink: #20364c; --muted: #526880; --accent: #416991; --design-card-border: #c5d6e8; --design-accent: #769fc9; --design-ink: #20364c; --design-muted: #526880; color: #20364c; color-scheme: light; }
.product-page .report-design-card { box-shadow: 0 3px 16px rgba(40,79,121,.035); border-width: 1px; }
.product-page .report-canvas:has(.report-design-card) { --ui-text: #20364c; --ui-muted: #526880; --ui-surface: #fbfdff; --ui-soft: #e1ecf8; --ui-border: #c5d6e8; --ui-accent: #284f79; --ui-accent-ink: #fbfdff; --ui-accent-soft: #d6e6f7; }
.product-page .report-canvas:not(:has(.report-design-card)) { background: none; padding: 0; }
.product-page .report-card-shell :is(h2,h3) { color: #20364c; font-weight: 600; }
.product-page .report-canvas :is(.overview-confidence,.meta-grid > div,.metrics-row > div,.comment-insight) { border-color: #c5d6e8; border-width: 1px; background: #edf4fc; }
.product-page .report-canvas .cover { border: 1px solid #c5d6e8; box-shadow: none; background: #e1ecf8; }
.product-page .report-canvas :is(.metrics-row span,.meta-grid span) { font-weight: 500; }
.product-page :is(.mindmap-canvas-wrap,.source-article-reader,.mindmap-detail) { border-width: 1px; border-color: #c5d6e8; box-shadow: none; }
.product-page .mindmap-canvas-wrap { background: #f3f8fe; }
.product-page .mindmap-detail { color: #20364c; background: #fbfdff; }
.product-page .report-canvas .card-label { padding: 4px 0; border: 0; border-radius: 0; color: #416991; background: none; font-weight: 600; }
.product-page .report-canvas .plain-button { color: #20364c; background: #fbfdff; border-color: #c5d6e8; }
.product-page .report-canvas .plain-button.primary { color: var(--ui-action-ink); background: var(--ui-action); box-shadow: none; }
.product-page :is(.report-designer-toolbar,.report-appearance-panel) { border: 1px solid var(--ui-border); color: var(--ui-text); background: var(--ui-surface); box-shadow: var(--ui-shadow); }
.product-page :is(.report-designer-toolbar,.report-appearance-panel) button { border-color: var(--ui-border); color: var(--ui-text); background: var(--ui-surface); font-weight: 500; }
.product-page .report-appearance-panel button.is-active { border-color: var(--ui-accent); color: var(--ui-accent); background: var(--ui-accent-soft); box-shadow: inset 0 0 0 1px var(--ui-accent); }
.product-page :is(.appearance-head strong,.appearance-group h3) { color: var(--ui-text); font-weight: 600; }
.product-page .back-to-top { border: 1px solid var(--ui-border); color: var(--ui-text); background: var(--ui-surface); box-shadow: var(--ui-shadow); }
.product-page .toast { border-color: var(--ui-border); color: var(--ui-text); background: var(--ui-surface); box-shadow: var(--ui-shadow); }
.home-details { width: min(1180px, calc(100% - 64px)); margin: 28px auto 64px; }
.home-detail { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 64px 0; border-top: 1px solid var(--ui-border); }
.home-detail-copy { max-width: 480px; }
.home-detail h2 { margin: 0; color: var(--ui-text); font-size: clamp(28px, 3vw, 40px); font-weight: 550; letter-spacing: -.035em; line-height: 1.4; }
.home-detail p { margin: 20px 0 0; color: var(--ui-muted); font-size: 15px; line-height: 1.9; }
.home-detail-labels { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; color: var(--ui-accent); font-size: 13px; }
.home-detail-labels span { padding-bottom: 7px; border-bottom: 2px solid var(--ui-border); }
.home-detail-visual { display: grid; place-items: center; min-width: 0; min-height: 300px; }
.home-detail .detail-art { position: relative; width: min(430px,100%); }
.home-detail-save { grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); padding: 48px; border: 1px solid var(--ui-border); border-radius: 32px; background: var(--ui-surface); }
.home-detail-save .home-detail-copy { grid-column: 2; grid-row: 1; justify-self: end; }
.home-detail-save .home-detail-visual { grid-column: 1; grid-row: 1; }
.home-detail .home-detail-note { color: var(--ui-muted); font-size: 12px; }
@media (min-width: 681px) and (max-width: 1000px) {
  .product-page .hero-body { gap: 24px; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
  .product-page .nav-links { gap: 16px; }
  .product-page .hero-copy h1 { font-size: 34px; }
  .product-page .analysis-dock { padding: 16px; }
  .product-page #pasteButton { padding: 6px; }
  .product-page #analyzeButton { min-width: 84px; padding: 0 12px; }
}
@media (max-width: 680px) {
  .product-page .hero-panel, .product-page .workspace { width: calc(100% - 28px); }
  .product-page .hero-panel { padding-top: 16px; }
  .product-page .top-nav { position: relative; flex-wrap: wrap; gap: 20px; padding-top: 4px; }
  .product-page .nav-links { width: 100%; justify-content: space-between; gap: 10px; }
  .product-page .nav-links button.theme-toggle { position: absolute; top: 0; right: 0; min-height: 34px; }
  .product-page .nav-links :is(a,button) { font-size: 13px; }
  .product-page .hero-body { grid-template-columns: minmax(0,1fr); gap: 22px; padding: 32px 0 24px; }
  .product-page .hero-copy { padding: 0; }
  .product-page .hero-visual { min-height: 0; height: auto; }
  .product-page .hero-copy h1 { font-size: clamp(29px,8.4vw,44px); line-height: 1.35; }
  .product-page .subtitle { font-size: 14px; margin-top: 16px; }
  .product-page .analysis-dock { margin-top: 24px; padding: 16px; border-radius: 22px; }
  .product-page .input-wrap { grid-template-columns: auto minmax(0,1fr) auto; padding: 7px; gap: 4px; }
  .product-page .app.active .input-wrap { grid-template-columns: auto minmax(0,1fr) auto; }
  .product-page #analyzeButton { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
  .product-page #pasteButton { padding: 6px; }
  .product-page #linkInput { font-size: 16px; }
  .product-page .platform-strip { display: block; margin-top: 0; padding-top: 16px; }
  .product-page .app.active .hero-panel { padding: 12px; }
  .product-page .app.active .analysis-consent-note { display: none; }
  .product-page .app.active .tabs-card { padding: 10px; }
  .product-page .app.active .tab-button { padding: 8px 12px; }
  .product-page :is(.advanced-hero-card,.workbench-card,.workbench-console-card) { padding: 16px; }
  .product-page .advanced-hero-card { padding: 10px 0 18px; }
  .product-page .workbench-status-card { border: 0; border-bottom: 1px solid var(--ui-border); }
  .product-page .workbench-status-card:last-child { border-bottom: 0; }
  .home-details { width: calc(100% - 28px); margin: 16px auto 32px; }
  .home-detail, .home-detail-save { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 32px 10px; }
  .home-detail-save { padding: 28px 22px; border-radius: 24px; }
  .home-detail-copy, .home-detail-save .home-detail-copy { grid-column: auto; grid-row: auto; justify-self: start; }
  .home-detail-save .home-detail-visual { grid-column: auto; grid-row: auto; }
  .home-detail-visual { min-height: 210px; }
  .home-detail .detail-art { width: min(340px,100%); }
}
