.product-stage { max-width: 1200px; }
.app-layout { grid-template-columns: 134px minmax(0, 1fr); grid-template-rows: 1fr auto; }
.app-layout.is-collapsed { grid-template-columns: 50px minmax(0, 1fr); }
.app-nav { grid-area: 1 / 1; gap: 2px; padding: 22px 6px; background: linear-gradient(var(--stage-paper), var(--neutral-50) 40%); }
.app-brand { display: flex; align-items: center; gap: 8px; margin: 0 6px 14px; font-size: 0.8125rem; font-weight: 600; line-height: 1.15; }
.app-brand small { display: block; margin-top: 4px; color: var(--text-secondary); font-size: 0.5625rem; font-weight: 400; letter-spacing: 0.1em; }
.app-nav-label { margin: 8px 0 2px 8px; font-size: 0.6875rem; }
.app-nav button { position: relative; gap: 7px; min-height: 32px; padding: 4px 8px; font-size: 0.8125rem; }
.app-nav button:is([data-view="media"], [data-view="accounts"], [data-view="environments"], [data-view="settings"]):not([aria-selected="true"]) { min-height: 28px; font-size: 0.75rem; }
.app-nav button:focus-visible { outline-offset: -2px; }
.app-nav button[aria-selected="true"] { background: var(--border-default); color: var(--text-primary); }
.app-nav button[aria-selected="true"]::before { position: absolute; inset: 8px auto 8px 0; width: 2px; border-radius: 2px; background: var(--ember-600); content: ''; }
.app-nav button[aria-selected="true"] .icon, #tab-ai .icon { color: var(--ember-solid); }
.app-notice { margin-left: auto; padding: 0 6px; border-radius: var(--radius-full); background: var(--ember-solid); color: var(--surface); font-size: 0.625rem; }
.app-collapse { grid-area: 2 / 1; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 14px; border: 0; border-top: 1px solid var(--hairline); border-right: 1px solid var(--hairline); background: var(--neutral-50); color: var(--text-secondary); font-size: 0.75rem; }
.app-collapse:hover { background: var(--neutral-100); }
.is-collapsed .app-nav-label, .is-collapsed .app-brand span, .is-collapsed .app-notice, .is-collapsed .app-collapse span:last-child { display: none; }
.is-collapsed .app-nav-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.is-collapsed .app-nav button { justify-content: center; }
.app-panel { grid-area: 1 / 2 / 3; min-height: 520px; padding: 20px; background: var(--canvas); }
.dashboard { display: grid; gap: 10px; }
.dashboard-header { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.dashboard-header h2 { font-size: 1.375rem; font-weight: 600; }
.dashboard-header p { margin-top: 3px; color: var(--text-secondary); font-size: 0.75rem; }
.dashboard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.dashboard-actions button { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 4px 8px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 0.6875rem; }
.dashboard-actions .auto-sync { border-color: var(--ember-200); border-radius: var(--radius-full); background: var(--ember-50); }
.auto-sync .icon, .auto-sync b { color: var(--ember-800); }
.sync-switch { display: inline-flex; width: 22px; padding: 2px; border-radius: var(--radius-full); background: var(--neutral-500); }
.sync-switch::before { width: 9px; height: 9px; border-radius: 50%; background: var(--surface); content: ''; }
.auto-sync[aria-pressed="true"] .sync-switch { justify-content: flex-end; background: var(--ember-600); }
.collect-button { background: var(--secondary-surface); color: var(--accent-blue); }
.collect-button:hover { background: var(--secondary-surface-hover); }
.add-account { background: var(--ember-solid); color: var(--surface); }
.add-account:hover { background: var(--ember-solid-hover); }
.dashboard-status { color: var(--text-secondary); font-size: 0.6875rem; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(176px, 1fr); gap: 10px; }
.dashboard-card { min-width: 0; padding: 12px; border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--surface); }
.dashboard-card-head { margin-bottom: 8px; }
.dashboard-card h3 { font-size: 0.8125rem; font-weight: 600; }
.dashboard-updates { display: grid; align-content: start; justify-items: start; gap: 12px; }
.dashboard-updates > div { align-self: start; width: 100%; }
.dashboard-updates > div + div { padding-top: 12px; border-top: 1px solid var(--hairline); }
.dashboard-updates h3 { margin-bottom: 6px; }
.dashboard-updates strong { font-size: 0.8125rem; font-weight: 600; }
.dashboard-updates p { color: var(--text-secondary); font-size: 0.75rem; }
.fan-metrics { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; color: var(--text-secondary); font-size: 0.75rem; }
.fan-metrics p strong { margin-right: 3px; color: var(--text-primary); font-size: 1.65rem; font-weight: 650; line-height: 1.2; }
.fan-growth { color: var(--accent-teal); }
.fan-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; }
.fan-legend { display: flex; flex-wrap: wrap; gap: 4px 9px; margin: 0; padding: 0; color: var(--text-secondary); font-size: 0.6875rem; list-style: none; }
.fan-legend li { display: flex; align-items: center; gap: 4px; }
.trend-switch { display: flex; margin-left: auto; padding: 2px; border-radius: var(--radius-full); background: var(--neutral-100); }
.trend-switch button { min-height: 26px; padding: 2px 8px; border: 0; border-radius: inherit; background: transparent; color: var(--text-secondary); font-size: 0.6875rem; }
.trend-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text-primary); font-weight: 600; }
.fan-chart { display: block; width: 100%; height: clamp(138px, 15vw, 176px); margin-top: 6px; }
.fan-chart .chart-grid { vector-effect: non-scaling-stroke; }
.fan-chart text { fill: var(--text-secondary); font-size: 8px; }
.fan-chart .fan-segment { fill: var(--platform-color); }
.fan-chart .fan-segment:hover { filter: brightness(0.9); }
#data-chart .fan-chart { height: clamp(160px, 19vw, 240px); }
.account-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.account-card { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 8px; border: 1px solid color-mix(in srgb, var(--platform-color) 23%, var(--hairline)); border-radius: var(--radius-md); background: color-mix(in srgb, var(--platform-color) 4%, var(--surface)); text-align: left; }
.account-card:hover { border-color: var(--platform-color); }
.account-heading { display: flex; gap: 4px; align-items: center; color: var(--text-secondary); font-size: 0.6875rem; white-space: nowrap; }
.account-mark { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--platform-color); }
.account-summary strong { color: var(--text-primary); font-size: 1rem; font-weight: 600; }

.demo-link { padding: 2px 0; border: 0; background: transparent; color: var(--accent-blue); font-size: 0.75rem; text-align: left; }
.demo-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.demo-segments { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.demo-segments button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 4px 8px; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--text-secondary); font-size: 0.75rem; white-space: nowrap; }
.demo-segments button:hover { background: var(--neutral-100); color: var(--text-primary); }
.demo-segments button:is([aria-selected="true"], [aria-pressed="true"]) { border-color: var(--ember-200); background: var(--ember-50); color: var(--ember-800); font-weight: 600; }
.demo-split, .editor-workspace { display: grid; gap: 12px; align-items: start; }
.topics-workspace { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.demo-rows { display: grid; gap: 4px; }
.demo-row { display: grid; gap: 2px; min-width: 0; padding: 8px; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--neutral-50); text-align: left; }
.demo-row:hover { border-color: var(--hairline); }
.demo-row[aria-pressed="true"] { border-color: var(--ember-200); background: var(--ember-50); }
.demo-row strong { font-size: 0.8125rem; font-weight: 600; overflow-wrap: anywhere; }
.demo-row small { color: var(--text-secondary); }
.demo-disclosure { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--hairline); }
.demo-disclosure summary { cursor: pointer; color: var(--accent-blue); font-size: 0.75rem; }
.demo-disclosure .demo-form { margin-top: 10px; }
.topic-detail { display: grid; gap: 8px; overflow-wrap: anywhere; }
.topic-detail .demo-card-head { margin: 0; }
.topic-detail .demo-button { justify-self: start; }
.topic-research { padding: 10px 12px; border-radius: var(--radius-md); background: var(--accent-teal-bg); color: var(--accent-teal); font-size: 0.8125rem; }
.topic-research p { margin-top: 4px; }
.editor-workspace { grid-template-columns: minmax(115px, 0.75fr) minmax(0, 1.65fr) minmax(152px, 1fr); }
.editor-context { display: grid; gap: 8px; overflow-wrap: anywhere; }
.editor-context strong { font-size: 0.8125rem; font-weight: 500; }
.editor-workspace textarea { min-height: 120px; }
.editor-preview .article-preview { padding: 10px; font-size: 0.75rem; }
.preview-cover { display: grid; min-height: 50px; place-items: center; border-radius: var(--radius-sm); background: var(--accent-teal-bg); color: var(--accent-teal); }
.article-preview[data-format="图文"] .preview-cover { min-height: 68px; background: var(--ember-50); color: var(--ember-800); }
.article-preview[data-format="视频说明"] .preview-cover { background: var(--accent-blue-bg); color: var(--accent-blue); }
.calendar-workspace { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.demo-week, .demo-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.demo-week { margin-block: 6px 3px; color: var(--text-secondary); font-size: 0.75rem; text-align: center; }
.demo-day, .demo-day-empty { min-height: 32px; border-radius: var(--radius-sm); background: var(--neutral-50); }
.demo-day { position: relative; padding: 1px 0 5px; border: 1px solid transparent; font-size: 0.75rem; }
.demo-day:hover { background: var(--neutral-100); }
.demo-day[aria-pressed="true"] { border-color: var(--ember-200); background: var(--ember-50); color: var(--ember-800); font-weight: 600; }
.demo-day span { position: absolute; bottom: 4px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: var(--accent-teal); }
.demo-calendar + .demo-task-list { margin-top: 12px; }
.demo-task-list > h3 { margin-bottom: 6px; }
.demo-task { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 6px; border-bottom: 1px solid var(--hairline); overflow-wrap: anywhere; }
.demo-task:last-child { border-bottom: 0; }
.demo-task strong { font-weight: 500; }
.demo-inbox-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 10px; }
.demo-inbox-controls .demo-segments { margin-bottom: 0; }
.demo-inbox-controls label { display: flex; align-items: center; gap: 4px; color: var(--text-secondary); font-size: 0.75rem; }
.demo-inbox-controls input { accent-color: var(--ember-solid); }
.demo-inbox { margin: 0; list-style: none; }
.demo-inbox li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding-block: 10px; border-bottom: 1px solid var(--hairline); }
.demo-inbox li:first-child { padding-top: 0; }
.demo-inbox li:last-child { padding-bottom: 0; border-bottom: 0; }
.inbox-avatar { display: grid; place-items: center; height: 32px; border-radius: var(--radius-md); background: var(--accent-blue-bg); color: var(--accent-blue); }
.inbox-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; }
.inbox-meta .demo-pill { min-height: 18px; padding-inline: 5px; font-size: 0.625rem; }

@media (max-width: 1100px) {
  .account-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .app-layout { grid-template-columns: 118px minmax(0, 1fr); }
  .app-panel { padding: 14px; }
  .account-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editor-workspace { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .editor-context { grid-column: 1 / -1; }
}

@media (max-width: 690px) {
  .app-layout, .app-layout.is-collapsed { grid-template-columns: minmax(0, 1fr); }
  .app-panel { grid-area: 2 / 1; min-height: 0; padding: 12px; }
  .app-nav { gap: 3px; padding: 5px 7px; }
  .app-nav button, .is-collapsed .app-nav button, .app-nav button:is([data-view="media"], [data-view="accounts"], [data-view="environments"], [data-view="settings"]):not([aria-selected="true"]) { flex: 0 0 auto; min-height: 44px; padding-inline: 9px; }
  .app-nav button[aria-selected="true"]::before { inset: auto 8px 2px; width: auto; height: 2px; }
  .app-nav .app-nav-name { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .app-brand, .app-notice, .app-collapse { display: none; }
  .dashboard-actions button { min-height: 36px; }
  .dashboard-grid, .demo-split, .editor-workspace { grid-template-columns: minmax(0, 1fr); }
  .dashboard-updates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dashboard-updates > div + div { padding-top: 0; border-top: 0; }
  .dashboard-updates .demo-link { grid-column: 1 / -1; }
  .account-card { padding-inline: 4px; }
  .demo-segments button { min-height: 36px; }
}

/* ── 真实客户端工作台 ───────────────────────────────────────── */
.product-stage .app-window {
  --window-radius: calc(var(--site-panel-radius) - 1px);
  overflow: visible;
  border-color: color-mix(in srgb, var(--ember-300) 32%, var(--border-strong));
  border-radius: var(--site-panel-radius);
  background: var(--surface);
  box-shadow: 0 18px 55px rgb(80 47 25 / 8%);
}
.product-stage .window-bar { position: relative; min-height: 38px; padding: 7px 14px; padding-inline: max(14px, calc(var(--window-radius) / 1.5)); border-radius: var(--window-radius) var(--window-radius) 0 0; background: #fffdfa; font-size: 0.6875rem; }
.product-stage .app-layout { position: relative; z-index: 2; grid-template-columns: 158px minmax(0, 1fr); min-height: 660px; overflow: clip; border-radius: 0 0 var(--window-radius) var(--window-radius); }
.product-stage .app-nav { grid-area: 1 / 1; gap: 2px; padding: 18px 10px 12px; border-right: 1px solid #f0e8df; background: #fffaf5; }
.product-stage .app-brand { gap: 9px; margin: 0 8px 18px; color: #3e302b; font-size: 0.9375rem; }
.product-stage .app-brand img { width: 30px; height: 30px; border-radius: 8px; }
.product-stage .app-brand small { margin-top: 3px; color: #a69286; font-size: 0.5625rem; letter-spacing: 0.11em; }
.product-stage .app-nav-label { margin: 2px 8px 5px; color: #9f8c80; font-size: 0.6875rem; }
.product-stage .app-nav button { gap: 9px; min-height: 36px; padding: 6px 9px; border-radius: 7px; color: #726258; font-size: 0.8125rem; }
.product-stage .app-nav button:hover { background: #fff2e5; color: #5c3e2d; }
.product-stage .app-nav button[aria-selected="true"] { border: 1px solid #f0d7c0; background: #fff1e2; color: #79431d; font-weight: 600; }
.product-stage .app-nav button[aria-selected="true"]::before { top: 9px; bottom: 9px; width: 3px; background: #ea7d28; }
.product-stage .app-nav .icon { width: 17px; height: 17px; color: #b56c37; }
.product-stage .app-notice { margin-left: auto; padding: 0 6px; background: #d86d16; font-size: 0.625rem; }
.product-stage .app-collapse { grid-area: 2 / 1; min-height: 38px; padding: 7px 15px; border-right-color: #f0e8df; background: #fffaf5; color: #8a776b; font-size: 0.6875rem; }
.product-stage .app-panel { grid-area: 1 / 2 / 3; height: 660px; min-height: 0; padding: 18px 18px 22px; overflow: auto; background: #fffaf5; scrollbar-width: thin; scrollbar-color: #dfcfc2 transparent; }
.product-stage .demo-view { min-height: 100%; animation: view-in var(--duration-fast) var(--ease-out) both; }
.product-stage .app-panel > .demo-view { height: 100%; }

.product-stage .dashboard { display: grid; gap: 9px; }
.product-stage .dashboard-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.product-stage .dashboard-header h2 { font-size: 1.32rem; font-weight: 650; letter-spacing: -0.02em; }
.product-stage .dashboard-header p { margin-top: 2px; color: #7e6e63; font-size: 0.6875rem; }
.product-stage .dashboard-actions { gap: 5px; }
.product-stage .dashboard-actions button { min-height: 28px; padding: 3px 8px; border-radius: 5px; background: #fff; font-size: 0.6875rem; }
.product-stage .dashboard-actions .auto-sync { border-color: #f1d6c3; background: #fff8f1; }
.product-stage .collect-button { background: #eef5ff; color: #4f7ebd; }
.product-stage .dashboard-actions .add-account { border-color: #b65309; background: #c45f09; color: #fff; }
.product-stage .sync-switch { width: 19px; padding: 2px; }
.product-stage .dashboard-status { display: flex; flex-wrap: wrap; gap: 4px 10px; color: #8c7a6e; font-size: 0.625rem; }
.product-stage .dashboard-status > span { white-space: nowrap; }
.product-stage .dashboard-status > span::before { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #80b996; vertical-align: 1px; content: ''; }
.product-stage .dashboard-status > .dashboard-date { padding: 0 6px; border: 1px solid #f1cbb2; border-radius: 99px; color: #a34f12; }
.product-stage .dashboard-status > .dashboard-date::before { background: #d9711d; }
.product-stage .dashboard-status > .last-sync::before { background: #b3a399; }
.product-stage .dashboard-hot { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 3px 9px; overflow: hidden; border: 1px solid #f0e1d5; border-radius: 99px; background: #fff; color: #87766a; font-size: 0.625rem; white-space: nowrap; }
.product-stage .dashboard-hot strong { flex: none; color: #c6570e; font-size: 0.75rem; }
.product-stage .dashboard-hot button { flex: none; padding: 0; border: 0; background: none; color: #4e81c2; }
.product-stage .dashboard-hot button, .product-stage .dashboard-hot span { flex: 0 0 auto; min-width: 0; }
.product-stage .dashboard-hot span:last-child { overflow: hidden; text-overflow: ellipsis; }
.product-stage .dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(190px, 0.92fr) minmax(205px, 1fr); gap: 8px; }
.product-stage .dashboard-card { min-width: 0; padding: 11px; border: 1px solid #eee4db; border-radius: 8px; background: #fff; }
.product-stage .dashboard-card-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.product-stage .dashboard-card h3 { font-size: 0.75rem; font-weight: 650; }
.product-stage .dashboard-card-head > span, .product-stage .dashboard-card-head button { color: #958579; font-size: 0.5625rem; }
.product-stage .dashboard-card-head button { padding: 0; border: 0; background: none; color: #a86b42; }
.product-stage .fan-metrics { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 16px; color: #7e6e63; font-size: 0.625rem; }
.product-stage .fan-metrics p strong { margin-right: 4px; color: #302b28; font-size: 1.5rem; font-weight: 650; line-height: 1.15; letter-spacing: -0.03em; }
.product-stage .fan-deltas { display: flex; gap: 14px; text-align: center; }
.product-stage .fan-deltas span { display: grid; gap: 4px; min-width: 70px; padding: 0 11px; border-left: 1px solid #f0e8e0; }
.product-stage .fan-deltas small { color: #9a8a7f; font-size: 0.5625rem; }
.product-stage .fan-deltas b { color: #c46210; font-size: 0.75rem; font-weight: 500; }
.product-stage .fan-deltas .fan-growth { color: #3a9a86; }
.product-stage .fan-controls { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 4px; }
.product-stage .fan-legend { display: flex; flex-wrap: wrap; gap: 3px 8px; margin: 0; padding: 0; color: #8e7e72; font-size: 0.5625rem; list-style: none; }
.product-stage .fan-legend li { display: flex; align-items: center; gap: 3px; }
.product-stage .account-mark { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--platform-color); }
.product-stage .trend-switch { margin-left: auto; padding: 1px; border-radius: 99px; background: #f7f1eb; }
.product-stage .trend-switch button { min-height: 22px; padding: 1px 7px; font-size: 0.5625rem; }
.product-stage .fan-chart-wrap { margin-top: 2px; }
.product-stage .fan-plot { position: relative; }
.product-stage .fan-chart { width: calc(100% + 12px); height: 148px; margin: 3px -6px 0; }
.product-stage .fan-chart text { fill: #a09085; font-size: 7px; }
.product-stage .fan-chart .chart-grid { stroke: #f1e9e2; }
.product-stage .fan-chart .fan-segment { fill: var(--platform-color); }
.product-stage .fan-axis-y { position: absolute; inset: 3px 0 0; pointer-events: none; }
.product-stage .fan-axis-y span { position: absolute; left: 0; color: #a09085; font-size: 0.4375rem; line-height: 1; transform: translateY(-50%); }
.product-stage .fan-axis-x { display: flex; justify-content: space-between; padding: 3px 2px 0 19px; color: #a09085; font-size: 0.4375rem; line-height: 1.2; }

.product-stage .latest-feature { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 8px; margin-bottom: 5px; }
.product-stage .latest-cover { display: grid; place-content: center; justify-items: center; gap: 1px; width: 78px; height: 104px; overflow: hidden; border-radius: 6px; background: radial-gradient(circle at 72% 24%, #f2b144, transparent 28%), linear-gradient(150deg, #2d1c13, #6b2d0b); color: #fff3c9; }
.product-stage .latest-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-stage .latest-feature h4 { margin: 0; font-size: 0.6875rem; font-weight: 650; line-height: 1.45; }
.product-stage .latest-feature p { margin-top: 3px; color: #9b8b7f; font-size: 0.5625rem; }
.product-stage .latest-feature dl { margin-top: 4px; color: #958579; font-size: 0.5625rem; }
.product-stage .latest-feature dl div { display: flex; justify-content: space-between; line-height: 1.55; }
.product-stage .latest-feature dd { color: #423a35; font-weight: 600; }
.product-stage .latest-list { display: grid; margin: 0; padding: 0; list-style: none; color: #665951; font-size: 0.5625rem; }
.product-stage .latest-list li { display: flex; align-items: center; gap: 5px; min-width: 0; padding-block: 4px; border-top: 1px solid #f2eae3; }
.product-stage .latest-thumb { display: grid; flex: none; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #fff0da; color: #be6b22; font-size: 0.5625rem; }
.product-stage .latest-thumb-1 { background: #ffe4e8; color: #d25168; }
.product-stage .latest-thumb-2 { background: #f0e8ff; color: #7457b8; }
.product-stage .latest-thumb-3 { background: #e8f0ff; color: #4d7cb9; }
.product-stage .latest-list li > span:last-child { flex: none; margin-left: auto; color: #a7978b; }
.product-stage .latest-links { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.product-stage .latest-links li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 5px; min-width: 0; padding-top: 4px; border-top: 1px solid #f2eae3; }
.product-stage .latest-link-mark { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: #fff1de; color: #bd6b25; font-size: 0.5rem; }
.product-stage .latest-links strong { overflow: hidden; color: #62544b; font-size: 0.5625rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.product-stage .latest-links small { color: #a6978c; font-size: 0.5rem; white-space: nowrap; }
.product-stage .observation-list { display: grid; margin: 0; padding: 0; list-style: none; color: #6e6058; font-size: 0.5625rem; line-height: 1.5; }
.product-stage .observation-list li { display: flex; gap: 5px; padding-block: 5px; border-top: 1px solid #f2eae3; }
.product-stage .observation-list li span { flex: none; height: fit-content; padding: 0 4px; border-radius: 3px; background: #fff2e6; color: #b86423; }
.product-stage .observation-list li:nth-child(even) span { background: #e9f6f4; color: #458f85; }
.product-stage .account-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.product-stage .account-card { position: relative; display: block; min-width: 0; padding: 8px; border: 1px solid color-mix(in srgb, var(--platform-color) 26%, #f2eae3); border-radius: 8px; background: color-mix(in srgb, var(--platform-color) 5%, #fff); text-align: left; }
.product-stage .account-heading { display: flex; gap: 5px; align-items: center; font-size: 0.625rem; font-weight: 600; }
.product-stage .account-heading small { margin-left: auto; color: #b4a599; font-size: 0.5rem; }
.product-stage .account-graph { position: relative; display: block; height: clamp(156px, 15vw, 178px); margin: 6px 2px 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--platform-color) 24%, #eadfd4); border-radius: 5px; background: repeating-linear-gradient(0deg, transparent 0 16px, color-mix(in srgb, var(--platform-color) 6%, transparent) 16px 17px), repeating-linear-gradient(90deg, transparent 0 16px, color-mix(in srgb, var(--platform-color) 6%, transparent) 16px 17px); }
.product-stage .account-live { position: absolute; z-index: 1; top: 6px; left: 7px; color: color-mix(in srgb, var(--platform-color) 80%, #43362f); font-size: 0.5625rem; font-weight: 650; }
.product-stage .account-graph svg { display: block; min-width: 0; width: 100%; height: 100%; }
.product-stage .account-graph polygon { fill: color-mix(in srgb, var(--platform-color) 12%, transparent); }
.product-stage .account-graph polyline { fill: none; stroke: var(--platform-color); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.product-stage .account-console { position: absolute; z-index: 2; bottom: 10px; left: 10px; display: grid; align-content: start; justify-items: start; width: min(56%, 114px); }
.product-stage .account-console strong { position: relative; z-index: 1; min-width: 88%; margin-top: -8px; padding: 1px 6px; border: 2px solid color-mix(in srgb, var(--platform-color) 37%, #4d4540); border-radius: 5px; background: color-mix(in srgb, var(--platform-color) 25%, #211c1a); color: #fff; font-size: 0.8125rem; text-align: center; }
.product-stage .account-console img { width: 100%; margin: 0; }
.product-stage .account-foot { display: flex; justify-content: space-between; gap: 6px; margin-top: 1px; color: #9e8e82; font-size: 0.5625rem; }

.product-stage .workspace-page { display: grid; gap: 10px; align-content: start; }
.product-stage .page-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
.product-stage .page-head h2 { color: #2d2825; font-size: 1.32rem; font-weight: 650; letter-spacing: -0.025em; }
.product-stage .page-head p { max-width: 58ch; margin-top: 3px; color: #857469; font-size: 0.6875rem; }
.product-stage .page-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.product-stage .page-actions button { display: inline-flex; align-items: center; gap: 5px; min-height: 31px; padding: 3px 10px; border: 1px solid #e9ded4; border-radius: 5px; background: #fff; color: #7d6c61; font-size: 0.7rem; }
.product-stage .page-actions .icon { width: 16px; height: 16px; color: #b26732; }
.product-stage .page-actions button.primary { border-color: #c65e0e; background: #c65e0e; color: #fff; }
.product-stage .page-actions button:hover { background: #fff3e8; color: #a85112; }
.product-stage .page-actions button.primary:hover { background: #b55209; color: #fff; }
.product-stage .heading-badge { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; vertical-align: 3px; border-radius: 99px; background: #fff0df; color: #b35b17; font-size: 0.5625rem; font-weight: 500; }

.product-stage .topic-toolbar { display: flex; align-items: center; gap: 8px; }
.product-stage .topic-filter, .product-stage .workspace-search { display: inline-flex; align-items: center; gap: 8px; min-height: 29px; padding: 2px 9px; border: 1px solid #e9ded4; border-radius: 7px; background: #fff; color: #7c6d63; font-size: 0.6875rem; }
.product-stage .topic-filter .icon, .product-stage .workspace-search .icon { width: 14px; height: 14px; color: #9b887a; }
.product-stage .topic-filter .chevron { margin-left: 2px; color: #a99588; font-size: 0.75rem; line-height: 1; }
.product-stage .topic-toolbar b { color: #8d7d72; font-size: 0.625rem; font-weight: 400; }
.product-stage .workspace-search { width: min(260px, 40%); margin-left: auto; gap: 7px; }
.product-stage .workspace-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: none; font-size: 0.6875rem; }
.product-stage .topic-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 2px; }
.product-stage .topic-card { display: flex; flex-direction: column; min-height: 145px; padding: 12px; border: 1px solid #ebdfd5; border-radius: 9px; background: #fff; text-align: left; }
.product-stage .topic-card:last-child { grid-column: auto; }
.product-stage .topic-card:hover { border-color: #e4bea0; box-shadow: 0 4px 12px rgb(100 57 21 / 5%); }
.product-stage .topic-card-top { display: flex; align-items: center; justify-content: space-between; }
.product-stage .topic-card-top em { padding: 0 6px; border-radius: 3px; background: #eef5ff; color: #4b7fbe; font-size: 0.5625rem; font-style: normal; }
.product-stage .topic-card-top small { color: #a69589; font-size: 0.5625rem; }
.product-stage .topic-card > strong { margin-top: 10px; color: #2f2a27; font-size: 0.8125rem; line-height: 1.45; }
.product-stage .topic-card > p { margin-top: 5px; color: #74665d; font-size: 0.625rem; line-height: 1.6; }
.product-stage .topic-meta { margin-top: auto; padding-top: 9px; color: #917f73; font-size: 0.5625rem; }
.product-stage .topic-card-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 9px; padding-top: 8px; border-top: 1px solid #f1e8e1; color: #9b8b80; font-size: 0.5625rem; }
.product-stage .topic-card-foot b { color: #c36721; font-weight: 600; }
.product-stage .topic-subnote { margin-top: 2px; color: #a38f80; font-size: 0.5625rem; }

.product-stage .editor-subbar, .product-stage .editor-promptbar, .product-stage .editor-title-row { display: flex; align-items: center; gap: 8px; }
.product-stage .editor-subbar { justify-content: space-between; }
.product-stage .platform-icons { display: flex; gap: 4px; }
.product-stage .platform-icons button { display: grid; place-items: center; width: 30px; height: 27px; border: 1px solid #eee3d9; border-radius: 6px; background: #fff; color: #9a877a; }
.product-stage .platform-icons button[aria-pressed="true"] { border-color: #e4b184; background: #fff1e4; color: #c0631e; }
.product-stage .editor-selects { display: flex; align-items: center; gap: 10px; color: #8e7c70; font-size: 0.625rem; }
.product-stage .editor-selects label { display: flex; align-items: center; gap: 5px; }
.product-stage .editor-selects select, .product-stage .editor-promptbar select { min-height: 28px; padding: 3px 26px 3px 9px; border: 1px solid #e9ded4; border-radius: 5px; background: #fff; font-size: 0.625rem; }
.product-stage .editor-selects select { min-width: 88px; }
.product-stage .editor-selects label:last-child select { min-width: 108px; }
.product-stage .editor-promptbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; padding: 7px 9px; border: 1px solid #eee2d8; border-radius: 7px; background: #fff; color: #8b7a6f; font-size: 0.625rem; }
.product-stage .editor-promptbar label { display: flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; }
.product-stage .editor-promptbar label:nth-child(2) { min-width: 0; }
.product-stage .editor-promptbar label:first-child select { min-width: 110px; }
.product-stage .editor-promptbar input { min-width: 0; width: 100%; height: 27px; border: 0; outline: 0; color: #63564e; }
.product-stage .editor-promptbar button { min-height: 28px; padding: 2px 10px; border: 0; border-radius: 5px; background: #c65e0e; color: #fff; font-size: 0.625rem; }
.product-stage .editor-title-row { padding: 0 4px; color: #8c7b70; font-size: 0.625rem; }
.product-stage .editor-title-row input { flex: 1; min-width: 0; height: 27px; padding-inline: 5px; border: 0; outline: 0; background: transparent; color: #3a312d; font-size: 0.75rem; }
.product-stage .editor-title-row small { color: #b09e91; }
.product-stage .editor-workspace { display: grid; grid-template-columns: minmax(176px, 0.94fr) minmax(0, 1.85fr) minmax(190px, 1fr); gap: 8px; align-items: stretch; height: 392px; }
.product-stage .editor-context-card { height: 100%; padding: 14px; overflow: auto; border: 1px solid #eee3d9; border-radius: 8px; background: #fff; color: #655850; font-size: 0.5625rem; line-height: 1.72; scrollbar-width: thin; }
.product-stage .editor-context-card .topic-source { color: #ad6a39; }
.product-stage .editor-context-card > strong { display: block; margin-top: 6px; color: #443a34; font-size: 0.6875rem; font-weight: 400; line-height: 1.5; }
.product-stage .editor-context-card > p.micro { margin-top: 3px; color: #a29185; font-size: 0.5rem; }
.product-stage .editor-context-card .demo-pill { min-height: 16px; padding: 0 5px; font-size: 0.5rem; }
.product-stage .editor-context-card h3 { margin: 10px 0 3px; color: #5c4e45; font-size: 0.625rem; }
.product-stage .editor-context-card ul { margin: 0; padding-left: 14px; }
.product-stage .editor-doc-card { display: flex; flex-direction: column; min-width: 0; height: 100%; border: 1px solid #eee3d9; border-radius: 8px; background: #fff; }
.product-stage .editor-formatbar { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 5px 9px; border-bottom: 1px solid #f1e8e1; color: #88776b; font-size: 0.625rem; }
.product-stage .editor-formatbar b, .product-stage .editor-formatbar i, .product-stage .editor-formatbar u { color: #65584e; font-weight: 500; }
.product-stage .format-copy { margin-left: auto; color: #6787a9; }
.product-stage .editor-document { flex: 1; min-height: 0; padding: 18px 20px; overflow: auto; outline: 0; color: #4b433e; font-size: 0.6875rem; line-height: 2.05; scrollbar-width: thin; }
.product-stage .editor-document h3 { margin: 14px 0 4px; color: #5e534b; font-size: 0.6875rem; font-weight: 400; }
.product-stage .editor-document p { margin: 0 0 9px; font-weight: 400; }
.product-stage .editor-doc-actions { padding: 6px 10px; border-top: 1px solid #f1e8e1; text-align: right; }
.product-stage .editor-doc-actions button { border: 0; background: none; color: #b86423; font-size: 0.625rem; }
.product-stage .phone-preview { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 8px; border: 1px solid #dcebe0; border-radius: 12px; background: #f4fbf6; }
.product-stage .phone-status { display: flex; justify-content: space-between; padding: 2px 5px 5px; color: #65574e; font-size: 0.5rem; }
.product-stage .phone-feed { flex: 1; min-height: 0; padding: 16px 14px; overflow: auto; border: 1px solid #dcebe0; border-radius: 8px; background: #fbfffc; color: #3c3632; scrollbar-width: none; }
.product-stage .phone-feed h4 { margin-top: 5px; font-size: 0.75rem; font-weight: 500; line-height: 1.45; }
.product-stage .phone-byline { margin-top: 5px; color: #ab9a8e; font-size: 0.5rem; }
.product-stage .phone-body { margin-top: 10px; color: #5f544d; font-size: 0.5625rem; line-height: 1.8; }
.product-stage .phone-body h5 { margin: 8px 0 3px; color: #3d3530; font-size: 0.625rem; font-weight: 500; }

.product-stage .calendar-page { height: 100%; min-height: 0; grid-template-rows: auto minmax(0, 1fr); }
.product-stage .calendar-panel { display: flex; flex-direction: column; height: 100%; padding: 12px; border: 1px solid #eae0d7; border-radius: 8px; background: #fff; }
.product-stage .calendar-panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.product-stage .calendar-panel-head h3 { color: #3b322d; font-size: 0.8125rem; }
.product-stage .calendar-panel-head .demo-pill { min-height: 17px; padding: 0 7px; font-size: 0.625rem; }
.product-stage .calendar-month-actions { margin-left: auto; color: #7c6c61; font-size: 0.625rem; }
.product-stage .calendar-panel > p { margin-top: 4px; color: #968579; font-size: 0.5625rem; }
.product-stage .calendar-week, .product-stage .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.product-stage .calendar-week { margin-top: 8px; border: 1px solid #ece3db; border-bottom: 0; background: #f8fcfb; color: #7c7068; font-size: 0.5625rem; text-align: center; }
.product-stage .calendar-week span { padding: 6px 2px; }
.product-stage .calendar-grid { flex: 1; grid-auto-rows: minmax(0, 1fr); border-top: 1px solid #ece3db; border-left: 1px solid #ece3db; }
.product-stage .calendar-day { min-width: 0; min-height: 50px; padding: 3px 4px; overflow: hidden; border-right: 1px solid #ece3db; border-bottom: 1px solid #ece3db; background: #fff; }
.product-stage .calendar-day.is-empty { background: #fbfaf8; }
.product-stage .calendar-day.is-today { background: #fffcf8; }
.product-stage .calendar-day-head { display: flex; justify-content: space-between; color: #8d7d72; font-size: 0.5625rem; }
.product-stage .calendar-day.is-today .calendar-day-head { color: #c45f0b; font-weight: 600; }
.product-stage .calendar-day-head button { border: 0; background: none; color: #c5b5a8; }
.product-stage .calendar-event { display: flex; align-items: center; gap: 3px; width: 100%; margin-top: 2px; padding: 1px 4px; overflow: hidden; border: 0; border-left: 2px solid var(--platform-color); background: color-mix(in srgb, var(--platform-color) 8%, #fff); color: color-mix(in srgb, var(--platform-color) 76%, #4a3d35); font-size: 0.46rem; line-height: 1.4; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.product-stage .calendar-list { display: grid; border: 1px solid #eee3d9; border-radius: 8px; background: #fff; }
.product-stage .calendar-list-row { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid #f2e9e1; }
.product-stage .calendar-list-row:last-child { border-bottom: 0; }
.product-stage .calendar-list-row strong { font-size: 0.6875rem; font-weight: 500; }

.product-stage .ai-page { display: grid; grid-template-columns: 174px minmax(0, 1fr); min-height: 620px; margin: -18px; background: #fffdfb; }
.product-stage .ai-history { display: grid; align-content: start; gap: 5px; padding: 13px 10px; border-right: 1px solid #f0e7df; background: #fffaf5; }
.product-stage .ai-history-brand { display: flex; align-items: center; gap: 5px; color: #d06b20; font-size: 0.6875rem; }
.product-stage .ai-new-task { min-height: 30px; margin-top: 3px; border: 1px solid #eaded4; border-radius: 6px; background: #fff; color: #5f5148; font-size: 0.6875rem; text-align: left; }
.product-stage .ai-workspace-head { display: flex; justify-content: space-between; margin-top: 8px; padding-inline: 2px; color: #8b7a6f; font-size: 0.5625rem; }
.product-stage .ai-history-count { display: flex; justify-content: space-between; border-bottom: 1px solid #f0e7df; color: #8b7a6f; font-size: 0.5625rem; }
.product-stage .ai-session-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.product-stage .ai-session-list li { display: flex; justify-content: space-between; gap: 4px; padding: 6px 2px; overflow: hidden; color: #726156; font-size: 0.625rem; line-height: 1.5; }
.product-stage .ai-session-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-stage .ai-session-list li small { flex: none; color: #ad9d91; }
.product-stage .ai-session-list li.is-current { color: #b95b14; font-weight: 600; }
.product-stage .ai-chat { position: relative; display: grid; grid-template-rows: 1fr auto; min-width: 0; padding: 18px 22px 16px; background: #fffdfb; }
.product-stage .ai-empty { display: grid; justify-items: center; align-content: center; }
.product-stage .ai-hero-art { position: relative; display: grid; place-items: center; width: 280px; height: 220px; margin-bottom: 7px; }
.product-stage .ai-hero-art img { width: 196px; height: auto; }
.product-stage .ai-orbit { position: absolute; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #f4dcc7; border-radius: 10px; background: #fff4e7; color: #d27428; box-shadow: 0 5px 12px rgb(111 64 24 / 8%); }
.product-stage .ai-orbit .icon { width: 22px; height: 22px; }
.product-stage .orbit-a { top: 25px; left: 38px; rotate: -8deg; }
.product-stage .orbit-b { top: 58px; right: 36px; rotate: 8deg; }
.product-stage .orbit-c { bottom: 28px; left: 51px; rotate: 5deg; }
.product-stage .orbit-d { top: 5px; right: 87px; width: 38px; height: 38px; background: #fff; }
.product-stage .ai-empty h3 { font-size: 0.8125rem; font-weight: 600; }
.product-stage .ai-empty > p { margin-top: 5px; color: #948378; font-size: 0.625rem; }
.product-stage .ai-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 13px; }
.product-stage .ai-suggestions button { min-height: 26px; padding: 3px 9px; border: 1px solid #ede2d8; border-radius: 99px; background: #fff; color: #7b6b61; font-size: 0.5625rem; }
.product-stage .ai-result { margin-top: 12px; padding: 7px 10px; border-radius: 6px; background: #fff1e2; color: #a95516; font-size: 0.625rem; }
.product-stage .ai-result button { margin-left: 8px; border: 0; background: none; color: #b45b18; font-weight: 600; }
.product-stage .ai-composer { margin-top: 16px; padding: 10px 12px; border: 1px solid #eaded4; border-radius: 8px; background: #fff; color: #9f8f84; font-size: 0.625rem; }
.product-stage .ai-composer > div { display: flex; align-items: center; gap: 7px; margin-top: 16px; }
.product-stage .ai-composer button { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #ece0d5; border-radius: 50%; background: #fff; color: #8d7b70; }
.product-stage .ai-composer small { margin-left: auto; color: #b2a398; font-size: 0.5rem; }
.product-stage .ai-composer b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #c9bcb3; color: #fff; font-size: 0.625rem; }

.product-stage .account-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.product-stage .account-tabs button { display: flex; align-items: center; gap: 4px; min-height: 26px; padding: 2px 8px; border: 1px solid #ebe0d7; border-radius: 99px; background: #fff; color: #8b7b70; font-size: 0.5625rem; }
.product-stage .account-tabs button[aria-selected="true"] { border-color: #e7c7ad; background: #fff7ee; color: #8b4d22; }
.product-stage .account-tabs b { color: #5d5048; font-weight: 500; }
.product-stage .collect-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; padding: 8px 10px; border: 1px solid #eee3da; border-radius: 7px; background: #fff; color: #8c7b70; font-size: 0.5625rem; }
.product-stage .collect-strip strong { color: #685a51; font-size: 0.625rem; }
.product-stage .collect-strip p { flex: 1; min-width: 220px; }
.product-stage .collect-strip select { min-width: 64px; min-height: 24px; padding: 2px 24px 2px 8px; border: 1px solid #e8ddd4; border-radius: 5px; background-color: #fff; font-size: 0.5625rem; }
.product-stage .editor-selects select, .product-stage .editor-promptbar select, .product-stage .collect-strip select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239b887a' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 9px 6px; }
.product-stage .editor-selects select, .product-stage .editor-promptbar select { padding-right: 25px; }
.product-stage .collect-strip label { display: flex; align-items: center; gap: 4px; }
.product-stage .data-account-card { padding: 11px; border: 1px solid #eee3d9; border-radius: 8px; background: #fff; }
.product-stage .data-account-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.product-stage .data-account-head strong { font-size: 0.75rem; }
.product-stage .data-account-head .demo-pill { min-height: 16px; padding: 0 6px; font-size: 0.5rem; line-height: 1.5; }
.product-stage .status-dot { display: inline-block; width: 4px; height: 4px; margin-right: 3px; border-radius: 50%; background: #3a9a86; }
.product-stage .data-account-head > button { margin-left: auto; padding: 2px 7px; border: 1px solid #dfe9f4; border-radius: 4px; background: #f5f9ff; color: #5f7fa1; font-size: 0.5625rem; }
.product-stage .data-account-card > p { margin-top: 3px; color: #a09186; font-size: 0.5rem; }
.product-stage .data-detail-grid { display: grid; grid-template-columns: minmax(220px, 1.9fr) repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(min-content, 1fr); gap: 6px; margin-top: 8px; }
.product-stage .account-live-card { position: relative; isolation: isolate; container-type: inline-size; grid-row: span 3; min-height: 350px; padding: 10px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--platform-color) 28%, #eee3da); border-radius: 6px; background: color-mix(in srgb, var(--platform-color) 5%, #fff); }
.product-stage .live-head { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px; }
.product-stage .live-count { display: grid; justify-items: start; gap: 3px; min-width: 0; max-width: 100%; }
.product-stage .live-status { color: color-mix(in srgb, var(--platform-color) 67%, #44382f); font-size: 0.6875rem; font-weight: 600; white-space: nowrap; }
.product-stage .account-live-card svg { position: absolute; inset: auto 0 0; width: 100%; height: 86%; }
.product-stage .account-live-card polygon { fill: color-mix(in srgb, var(--platform-color) 14%, transparent); }
.product-stage .account-live-card polyline { fill: none; stroke: var(--platform-color); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.product-stage .live-mascot { position: absolute; right: 0; bottom: 8px; width: min(64%, 240px); transform: translateX(12%); }
.product-stage .live-count small { color: color-mix(in srgb, var(--platform-color) 67%, #44382f); font-size: 0.625rem; }
.product-stage .live-count strong { min-width: min(116px, 100%); max-width: 100%; padding: 4px 10px; border: 2px solid color-mix(in srgb, var(--platform-color) 36%, #4a423e); border-radius: 6px; background: color-mix(in srgb, var(--platform-color) 24%, #211c1a); color: #fff; font-size: 1.125rem; font-size: clamp(1.125rem, 9cqi, 1.625rem); line-height: 1.3; overflow-wrap: anywhere; text-align: center; }
.product-stage .data-metric { container-type: inline-size; display: flex; flex-direction: column; min-height: 76px; padding: 10px 9px; border: 1px solid #eee3da; border-radius: 6px; background: #fff; }
.product-stage .data-metric > span { color: #7b6b61; font-size: 0.625rem; }
.product-stage .data-metric strong { margin-top: 4px; color: #332d29; font-size: 1.125rem; font-size: clamp(0.875rem, 18cqi, 1.5rem); font-weight: 650; line-height: 1.2; overflow-wrap: anywhere; }
.product-stage .data-metric small { margin-top: 7px; color: #78685e; font-size: 0.5625rem; line-height: 1.45; }
.product-stage .data-best { grid-column: span 2; min-height: 60px; padding: 7px 9px; border: 1px solid #eee3da; border-radius: 6px; background: #f8f7ff; }
.product-stage .data-best span, .product-stage .data-best small { display: block; color: #9a8a80; font-size: 0.5rem; }
.product-stage .data-best strong { display: block; margin-block: 2px; font-size: 0.625rem; }
.product-stage .data-trend-card { margin-top: 1px; padding: 10px; border: 1px solid #eee3da; border-radius: 8px; background: #fff; }
.product-stage .data-trend-head { display: flex; justify-content: space-between; gap: 8px; }
.product-stage .data-trend-head h3 { font-size: 0.75rem; }
.product-stage .data-trend-label { display: inline-flex; align-items: center; gap: 4px; margin-top: 7px; color: #8c7b70; font-size: 0.5625rem; }
.product-stage .account-trend { width: 100%; height: 110px; }
.product-stage .account-trend > path { stroke: #f0e8e1; }
.product-stage .account-trend polygon { fill: color-mix(in srgb, var(--platform-color) 8%, transparent); }
.product-stage .account-trend polyline { fill: none; stroke: var(--platform-color); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.product-stage .account-trend text { fill: #a09186; font-size: 6px; }

.product-stage .inbox-tabs { display: flex; gap: 18px; border-bottom: 1px solid #eee4db; }
.product-stage .inbox-tabs button { position: relative; padding: 3px 0 7px; border: 0; background: none; color: #87776c; font-size: 0.6875rem; }
.product-stage .inbox-tabs button.is-active { color: #c15a0e; font-weight: 600; }
.product-stage .inbox-tabs button.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #df7b2d; content: ''; }
.product-stage .inbox-tabs b { color: #c15a0e; font-size: 0.5625rem; }
.product-stage .inbox-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #86756a; font-size: 0.5625rem; }
.product-stage .inbox-filters > span { padding: 2px 7px; border-radius: 4px; background: #f8f4f0; }
.product-stage .inbox-filters > span.is-active { background: #fff5e9; color: #b55d1a; }
.product-stage .inbox-filters label { display: flex; align-items: center; gap: 4px; margin-left: 3px; }
.product-stage .inbox-categories { display: flex; flex-wrap: wrap; gap: 4px; }
.product-stage .inbox-categories button { min-height: 22px; padding: 1px 7px; border: 0; border-radius: 4px; background: #f8f4f0; color: #927f72; font-size: 0.5625rem; }
.product-stage .inbox-categories button[aria-pressed="true"] { background: #edf4ff; color: #4f7ebd; }
.product-stage .inbox-list { display: grid; gap: 6px; }
.product-stage .comment-card { position: relative; padding: 8px 10px; border: 1px solid #eee3da; border-radius: 8px; background: #fff; }
.product-stage .comment-head { display: flex; gap: 7px; }
.product-stage .inbox-avatar { display: grid; place-items: center; width: 27px; height: 27px; flex: none; border-radius: 50%; background: #f6ede5; color: #7c6b60; font-size: 0.5625rem; }
.product-stage .comment-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.product-stage .comment-name strong { font-size: 0.625rem; }
.product-stage .comment-name .demo-pill { min-height: 16px; padding-inline: 4px; font-size: 0.5rem; }
.product-stage .comment-head .micro { margin-top: 1px; color: #a09186; font-size: 0.5rem; }
.product-stage .comment-text { margin-top: 6px; color: #403833; font-size: 0.625rem; }
.product-stage .comment-reply { margin-top: 5px; padding: 5px 8px; border-radius: 4px; background: #fff6ed; color: #8d5424; font-size: 0.5625rem; }
.product-stage .comment-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 2px; }
.product-stage .comment-source { min-width: 0; overflow: hidden; color: #a39387; font-size: 0.5rem; text-overflow: ellipsis; white-space: nowrap; }
.product-stage .comment-reply-btn { flex: none; min-height: 22px; padding: 1px 8px; border: 1px solid #eccfb5; border-radius: 4px; background: #fff6ed; color: #bd5e17; font-size: 0.5625rem; }

@media (max-width: 1100px) {
  .product-stage .app-panel { height: auto; min-height: 660px; }
  .product-stage .dashboard-grid { grid-template-columns: minmax(0, 1.6fr) minmax(190px, 1fr); }
  .product-stage .data-detail-grid { grid-template-columns: minmax(170px, 1.4fr) repeat(3, minmax(0, 1fr)); }
  .product-stage .dashboard-grid .today-card { grid-column: 1 / -1; }
  .product-stage .observation-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .product-stage .topic-card-grid { gap: 9px; }
  .product-stage .editor-workspace { grid-template-columns: minmax(160px, 0.85fr) minmax(0, 1.7fr); }
  .product-stage .phone-preview { display: none; }
}

@media (max-width: 900px) {
  .product-stage .app-layout { grid-template-columns: 132px minmax(0, 1fr); }
  .product-stage .app-panel { padding-inline: 12px; }
  .product-stage .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .product-stage .dashboard-grid .today-card { grid-column: auto; }
  .product-stage .observation-list { grid-template-columns: minmax(0, 1fr); }
  .product-stage .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-stage .topic-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-stage .data-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .product-stage .account-live-card { grid-column: 1 / -1; grid-row: auto; min-height: 224px; }
  .product-stage .live-mascot { width: min(54%, 206px); }
  .product-stage .data-best { grid-column: auto; }
}

@media (max-width: 690px) {
  .product-stage .app-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .product-stage .app-nav { flex-direction: row; gap: 2px; padding: 5px; overflow-x: auto; border: 0; border-bottom: 1px solid #f0e8df; }
  .product-stage .app-brand, .product-stage .app-nav-label { display: none; }
  .product-stage .app-nav button, .product-stage .app-nav button:is([data-view="media"], [data-view="accounts"], [data-view="environments"], [data-view="settings"]):not([aria-selected="true"]) { min-height: 40px; padding-inline: 8px; font-size: 0.75rem; }
  .product-stage .app-nav button[aria-selected="true"]::before { top: auto; right: 8px; bottom: 1px; left: 8px; width: auto; height: 2px; }
  .product-stage .app-panel { grid-area: 2 / 1; height: auto; min-height: 0; max-height: none; padding: 12px; }
  .product-stage .app-collapse { display: none; }
  .product-stage .dashboard-hot { flex-wrap: wrap; border-radius: 8px; white-space: normal; }
  .product-stage .dashboard-hot button, .product-stage .dashboard-hot span { flex: 1 1 100%; width: 100%; min-width: 0; white-space: normal; text-align: left; }
  .product-stage .dashboard-hot span:nth-of-type(1), .product-stage .dashboard-hot span:nth-of-type(2) { flex-basis: 100%; }
  .product-stage .fan-deltas span { min-width: 48px; padding-inline: 4px; }
  .product-stage .account-grid, .product-stage .topic-card-grid, .product-stage .editor-workspace { grid-template-columns: minmax(0, 1fr); }
  .product-stage .editor-workspace { height: auto; }
  .product-stage .editor-context-card, .product-stage .editor-doc-card, .product-stage .phone-preview { height: auto; }
  .product-stage .topic-card:last-child { grid-column: auto; }
  .product-stage .editor-context-card { max-height: 190px; }
  .product-stage .editor-selects, .product-stage .editor-promptbar { flex-wrap: wrap; }
  .product-stage .ai-page { grid-template-columns: minmax(0, 1fr); margin: -12px; }
  .product-stage .ai-history { display: none; }
  .product-stage .ai-chat { min-height: 560px; padding: 14px; }
  .product-stage .calendar-panel { overflow-x: auto; }
  .product-stage .calendar-week, .product-stage .calendar-grid { min-width: 700px; }
  .product-stage .inbox-filters > span:nth-child(n+3), .product-stage .inbox-filters label:nth-of-type(2) { display: none; }
}
