/* V2 product demonstrations: local sample data, matching the dashboard's neutral UI. */
.product-story { display:grid; grid-template-columns:.85fr 1.15fr; border-bottom:1px solid var(--border); background:#fff; }
.story-voice { border-top:1px solid var(--border); }
.story-introduction { border-bottom:0; }
.story-introduction > .section-heading { text-align:center; }
.story-introduction > .section-heading h2 { margin-inline:auto; }
.ecosystem-section:has(+ .story-introduction) { margin-bottom:0; }
.ecosystem-section:has(+ .story-introduction)::after { display:none; }
.story-copy { min-width:0; padding:60px 44px; align-self:center; }
.story-copy h2 { margin:20px 0 24px; font-size:42px; line-height:1.12; letter-spacing:-.045em; text-wrap:pretty; }
.story-copy > p, .story-publishing-heading > p { color:var(--muted); font-size:18px; line-height:1.75; }
.story-text-link { display:inline-flex; align-items:center; gap:10px; margin-top:28px; font-size:13px; font-weight:500; }
.story-text-link svg { width:16px; height:16px; transition:transform .2s; }
.story-text-link:hover svg { transform:translateX(3px); }
.story-visual { min-width:0; margin:0; padding:40px 30px; background:#f1f4f3; border-left:1px solid var(--border); align-content:center; }
.story-visual figcaption { margin-top:14px; color:#8a9390; font-size:10px; line-height:1.5; text-align:center; }
.story-screen { min-width:0; padding:22px; border:1px solid #e1e4e2; border-radius:var(--fl-card-radius); background:#fff; box-shadow:0 8px 24px #18251e05; }
.story-voice .story-visual,.story-analytics .story-visual { background:transparent; border:0; }
.story-voice .story-screen,.story-analytics .story-screen { border:var(--v2-preview-border); border-radius:var(--v2-preview-radius); box-shadow:var(--v2-preview-shadow); }
.story-screen-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:20px; }
.story-screen-heading > div { min-width:0; }
.story-screen-heading strong { font-size:20px; font-weight:550; letter-spacing:-.035em; line-height:1.25; }
.story-screen-heading p { margin-top:6px; color:#96969f; font-size:10px; line-height:1.5; }
.story-example { flex-shrink:0; padding:3px 6px; border:1px solid #eeeef0; border-radius:var(--fl-card-radius); color:#a1a1aa; background:#fcfcfc; font-size:8px; font-weight:400; white-space:nowrap; }
.story-progress { display:flex; gap:20px; margin-bottom:18px; border-bottom:1px solid #ededee; font-size:10px; color:#a1a1aa; }
.story-progress > * { padding-bottom:9px; }
.story-progress strong { color:#27272a; font-weight:500; border-bottom:1px solid #27272a; }
.story-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.story-fields > div { min-width:0; }
.story-fields small { display:block; color:#92929c; font-size:9px; margin-bottom:6px; }
.story-fields strong { display:flex; gap:6px; align-items:center; min-height:34px; padding:7px 10px; border:1px solid #e6e6e8; border-radius:var(--fl-field-radius); font-size:10px; font-weight:400; }
.story-fields img { width:13px; height:13px; }
.story-fields svg { margin-left:auto; width:11px; height:11px; color:#92929c; }
.story-writing-samples { margin-top:16px; padding:13px; background:#fafafa; border:1px solid #ededee; border-radius:var(--fl-card-radius); }
.story-writing-samples > span { color:#92929c; font-size:9px; }
.story-writing-samples p { margin-top:7px; font-size:11px; line-height:1.7; }
.story-voice-saved { margin-top:12px; padding:12px 13px; border:1px solid #dce7e1; border-radius:var(--fl-card-radius); background:#f8fbf9; }
.story-voice-saved > div:first-child { display:flex; align-items:center; gap:7px; }
.story-voice-saved svg { width:13px; height:13px; color:#7c9686; }
.story-voice-saved strong { font-size:11px; font-weight:500; }
.story-voice-saved > div:first-child > span { margin-left:auto; font-size:9px; color:#7c9686; }
.story-voice-details { display:flex; gap:12px; flex-wrap:wrap; margin-top:7px; color:#98a39c; font-size:8px; }
.story-voice-draft { margin-top:12px; padding:14px; border:1px solid #e8e8eb; border-radius:var(--fl-card-radius); }
.story-voice-draft > div { display:flex; align-items:center; gap:6px; font-size:10px; }
.story-voice-draft svg { width:13px; height:13px; color:#92929c; }
.story-voice-draft strong { font-weight:500; }
.story-voice-draft > div > span { margin-left:auto; padding:2px 5px; background:#f5f5f6; border-radius:3px; color:#92929c; font-size:8px; }
.story-voice-draft p { margin-top:10px; font-size:12px; line-height:1.75; }
.story-voice .is-revealed .story-writing-samples { animation:story-sample-focus 1.3s ease-out both; }
.story-voice .is-revealed .story-voice-saved { animation:story-appear .7s .8s ease-out both; }
.story-voice .is-revealed .story-voice-draft { animation:story-appear .9s 1.7s ease-out both; }
.story-voice .is-revealed .story-voice-draft p { animation:story-write 1.1s 1.9s ease-out both; }
.story-publishing { display:block; padding:64px 44px 44px; }
.story-publishing-heading { display:grid; grid-template-columns:1.1fr 1fr; gap:64px; align-items:end; margin-bottom:36px; }
.story-publishing-heading .story-copy { padding:0; }
.story-publishing-heading h2 { margin-bottom:0; }
.story-publishing-heading > p { padding-bottom:3px; }
.story-publishing-demo { min-width:0; margin:0; border:var(--v2-preview-border); border-radius:var(--v2-preview-radius); box-shadow:var(--v2-preview-shadow); background:#fff; overflow:hidden; }
.story-walkthrough-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 20px; border-bottom:1px solid #eaeaec; background:#fdfdfd; }
.story-view-tabs { display:flex; gap:4px; }
.story-view-tabs button { display:flex; align-items:center; gap:7px; padding:8px 12px; border:1px solid transparent; border-radius:var(--fl-button-radius); color:#92929c; background:transparent; font-size:11px; }
.story-view-tabs button svg { width:14px; height:14px; }
.story-view-tabs button[aria-selected=true] { color:#27272a; border-color:#e3e3e6; background:#fff; box-shadow:0 1px 2px #18181b04; }
.story-walkthrough-control { display:flex; align-items:center; gap:12px; }
.story-walkthrough-control button { display:grid; place-items:center; width:28px; height:28px; padding:0; border:1px solid #e6e6e8; border-radius:50%; background:#fff; color:#92929c; }
.story-walkthrough-control button svg { width:11px; height:11px; }
.product-story button:focus-visible, .product-story select:focus-visible { outline:0; box-shadow:none; border-color:#a1a1aa; background-color:#f4f4f5; }
.story-publish-panel { min-width:0; height:400px; padding:24px; }
.story-review-layout { display:grid; grid-template-columns:1.45fr 1fr; gap:24px; }
.story-review-composer { min-width:0; border:1px solid #e4e4e7; border-radius:var(--fl-card-radius); overflow:hidden; }
.story-account-choices { display:flex; align-items:center; gap:6px; min-height:45px; padding:10px; border-bottom:1px solid #eeeef0; overflow-x:auto; scrollbar-width:none; }
.story-account-choices::-webkit-scrollbar { display:none; }
.story-account-choices > span { flex-shrink:0; display:flex; align-items:center; gap:5px; }
.story-account-choices img { width:14px; height:14px; }
.story-selected-account { padding:6px 7px; border-radius:var(--fl-field-radius); background:#f4f5f4; font-size:9px; }
.story-selected-account svg { width:10px; height:10px; color:#789181; }
.story-unselected-account { padding:5px; opacity:.45; }
.story-review-composer > p { min-height:129px; padding:20px 18px; font-size:14px; line-height:1.8; }
.story-composer-bottom { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:12px; border-top:1px solid #eeeef0; color:#a1a1aa; font-size:10px; }
.story-composer-bottom > span { display:flex; align-items:center; gap:10px; }
.story-composer-bottom svg { width:13px; height:13px; }
.story-review-schedule { min-width:0; }
.story-schedule-modes { display:flex; justify-content:space-between; gap:4px; padding:4px; border:1px solid #e4e4e7; border-radius:var(--fl-card-radius); font-size:9px; color:#92929c; }
.story-schedule-modes > * { padding:6px; white-space:nowrap; }
.story-schedule-modes strong { color:#fff; background:#20252d; border-radius:var(--fl-card-radius); font-weight:400; }
.story-next-slot { display:grid; gap:7px; padding:20px 0; }
.story-next-slot small { color:#92929c; font-size:10px; }
.story-next-slot strong { font-size:16px; font-weight:500; }
.story-next-slot > span { color:#a1a1aa; font-size:9px; }
.story-sample-action { display:flex; align-items:center; justify-content:space-between; padding:10px 13px; background:#20252d; border-radius:var(--fl-button-radius); color:#fff; font-size:11px; }
.story-sample-action svg { width:13px; height:13px; }
.story-review-note { display:flex; align-items:center; gap:5px; margin-top:12px; color:#8e9c92; font-size:9px; }
.story-review-note svg { width:11px; height:11px; }
.story-calendar-month { display:flex; gap:8px; align-items:center; font-size:11px; }
.story-calendar-month svg { width:12px; height:12px; color:#a1a1aa; }
.story-month-weekdays, .story-month-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }
.story-month-weekdays { padding-block:8px; color:#a1a1aa; font-size:9px; text-align:center; }
.story-month-grid > div { min-width:0; height:43px; padding:5px 7px; border-top:1px solid #ededee; border-right:1px solid #f0f0f2; }
.story-month-grid > div:nth-child(7n) { border-right:0; }
.story-month-grid small { color:#92929c; font-size:8px; }
.story-month-grid .story-current-day { background:#fff3ee; }
.story-calendar-post { display:flex; align-items:center; gap:5px; margin-top:2px; padding:2px 4px; border-radius:3px; background:#f3f5f4; font-size:8px; }
.story-calendar-post img { width:10px; height:10px; }
.story-calendar-post i { width:3px; height:3px; margin-left:auto; border-radius:50%; background:#d6a18a; }
.story-calendar-note { display:flex; align-items:center; gap:10px; margin-top:16px; font-size:10px; color:#92929c; }
.story-calendar-note > svg { width:14px; height:14px; }
.story-calendar-note strong { margin-left:auto; color:#52525b; font-size:11px; font-weight:500; }
.story-scheduled-label { padding:3px 7px; border-radius:var(--fl-card-radius); background:#f4f4f5; color:#92929c; font-size:8px; }
.story-post-filter { display:flex; gap:22px; padding-bottom:10px; border-bottom:1px solid #eeeef0; color:#a1a1aa; font-size:10px; }
.story-post-filter strong { color:#27272a; font-weight:500; }
.story-receipt-post { padding:16px 0; }
.story-receipt-post p { font-size:13px; }
.story-receipt-post small { display:block; margin-top:6px; font-size:9px; color:#a1a1aa; }
.story-delivery-table { border:1px solid #e8e8eb; border-radius:var(--fl-card-radius); }
.story-delivery-table > div:first-child { display:flex; justify-content:space-between; padding:8px 13px; background:#fafafa; color:#a1a1aa; font-size:9px; }
.story-delivery-item { display:flex; align-items:center; gap:10px; padding:13px; border-top:1px solid #eeeef0; font-size:11px; }
.story-delivery-item > img { width:16px; height:16px; }
.story-delivery-item strong { display:flex; gap:5px; align-items:center; margin-left:auto; color:#7c9686; font-size:10px; font-weight:400; }
.story-delivery-item strong svg, .story-delivery-item > svg { width:12px; height:12px; }
.story-delivery-item > svg { color:#a1a1aa; }
.story-receipt-note { display:flex; gap:6px; align-items:center; margin-top:14px; color:#8a9b90; font-size:10px; }
.story-receipt-note svg { width:14px; height:14px; }
.story-publishing-demo.is-revealed [data-publish-panel]:not([hidden]) .story-selected-account { animation:story-account-select .9s ease-out both; }
.story-publishing-demo.is-revealed [data-publish-panel]:not([hidden]) .story-selected-account:nth-child(2) { animation-delay:.3s; }
.story-publishing-demo.is-revealed [data-publish-panel]:not([hidden]) .story-calendar-post { animation:story-appear .6s calc(var(--post-order)*.12s) ease-out both; }
.story-publishing-demo.is-revealed [data-publish-panel]:not([hidden]) .story-delivery-item { animation:story-appear .65s .2s ease-out both; }
.story-publishing-demo.is-revealed [data-publish-panel]:not([hidden]) .story-delivery-item:last-child { animation-delay:.6s; }
.story-publishing-demo.is-story-paused *, .story-publishing-demo.is-story-paused *::after { animation-play-state:paused!important; }
.story-insight-points { display:grid; gap:13px; margin-top:28px; color:#85858e; font-size:12px; }
.story-insight-points > span { display:flex; align-items:center; gap:8px; }
.story-insight-points svg { width:15px; height:15px; }
.story-analytics-filters { display:flex; gap:10px; margin-bottom:16px; }
.story-analytics-filters label { display:grid; gap:5px; min-width:0; flex:1; color:#a1a1aa; font-size:9px; }
.story-analytics-filters select { width:100%; min-width:0; height:30px; padding:5px 8px; border:1px solid #e4e4e7; border-radius:var(--fl-field-radius); color:#52525b; background:#fff; font-size:10px; }
.story-engagement-card, .story-hourly-card, .story-top-posts { margin-top:12px; padding:13px; border:1px solid #e9e9eb; border-radius:var(--fl-card-radius); }
.story-chart-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.story-chart-heading strong { font-size:11px; font-weight:500; }
.story-chart-heading > span, .story-chart-heading small { font-size:8px; color:#a1a1aa; }
.story-analytics-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:13px; }
.story-analytics-metrics strong { display:block; color:#303038; font-size:25px; font-weight:500; letter-spacing:-.04em; line-height:1.3; }
.story-analytics-metrics small { display:block; margin-top:4px; font-size:8px; color:#a1a1aa; }
.story-hours-axis { display:grid; grid-template-columns:repeat(4,1fr); margin:14px 0 5px 20px; font-size:7px; color:#a1a1aa; }
.story-hourly-plot { display:grid; grid-template-columns:14px minmax(0,1fr); gap:6px; }
.story-hourly-days { display:grid; grid-template-rows:repeat(7,1fr); gap:2px; color:#a1a1aa; font-size:7px; line-height:1; }
.story-hourly-days > span { align-content:center; }
.story-hourly-cells { display:grid; grid-template-columns:repeat(24,minmax(0,1fr)); gap:2px; }
.story-hourly-cells i { height:7px; border-radius:1px; background:rgb(240 112 96 / var(--strength)); }
.story-top-post-row { display:grid; grid-template-columns:15px minmax(0,1fr) auto; align-items:center; gap:8px; padding-top:11px; font-size:9px; }
.story-top-post-row + .story-top-post-row { margin-top:10px; border-top:1px solid #f0f0f2; }
.story-top-post-row img { width:13px; height:13px; }
.story-top-post-row > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.story-top-post-row strong { color:#92929c; font-size:9px; font-weight:400; }
.story-analytics .is-revealed .story-analytics-metrics { animation:story-appear .8s ease-out both; }
.story-analytics .is-revealed .story-hourly-cells { animation:story-appear .9s .35s ease-out both; }
.story-analytics .is-revealed .story-top-posts { animation:story-appear .9s .7s ease-out both; }
@keyframes story-appear { from { opacity:.25; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
@keyframes story-write { from { clip-path:inset(0 0 100% 0); } to { clip-path:inset(0); } }
@keyframes story-sample-focus { 0%,100% { border-color:#ededee; } 40% { border-color:#bbcfc4; } }
@keyframes story-account-select { from { opacity:.4; } to { opacity:1; } }
@media(max-width:1100px) { .story-copy { padding:44px 28px; } .story-copy h2 { font-size:37px; } .story-copy > p, .story-publishing-heading > p { font-size:17px; } .story-visual { padding:32px 22px; } .story-screen { padding:16px; } .story-publishing { padding:48px 28px 32px; } .story-publishing-heading { gap:32px; } }
@media(max-width:760px) {
  .product-story { grid-template-columns:1fr; }
  .story-copy { padding:44px 24px 30px; }
  .story-copy h2 { font-size:35px; }
  .story-copy > p, .story-publishing-heading > p { font-size:17px; }
  .story-visual { border-left:0; border-top:1px solid var(--border); padding:24px; }
  .story-screen { padding:16px; }
  .story-screen-heading strong { font-size:18px; }
  .story-screen-heading p { font-size:9px; }
  .story-progress { gap:17px; font-size:9px; }
  .story-voice-details { gap:7px; }
  .story-publishing { padding:44px 20px 24px; }
  .story-publishing-heading { grid-template-columns:1fr; gap:20px; margin-bottom:26px; }
  .story-publishing-heading .story-copy { padding:0 4px; }
  .story-publishing-heading > p { padding-inline:4px; }
  .story-walkthrough-bar { padding:10px 9px; gap:4px; }
  .story-view-tabs { gap:0; }
  .story-view-tabs button { padding:7px 8px; font-size:10px; gap:4px; }
  .story-view-tabs button svg { width:12px; height:12px; }
  .story-walkthrough-control { gap:0; }
  .story-walkthrough-control .story-example { display:none; }
  .story-publish-panel { height:auto; min-height:490px; padding:18px 14px; }
  .story-review-layout { grid-template-columns:1fr; gap:18px; }
  .story-review-composer > p { min-height:109px; padding:14px; font-size:12px; }
  .story-next-slot { padding-block:14px; }
  .story-next-slot strong { font-size:14px; }
  .story-next-slot > span { display:none; }
  .story-review-note { font-size:8px; }
  .story-calendar-month { font-size:9px; white-space:nowrap; }
  .story-month-grid > div { height:48px; padding:5px 3px; }
  .story-calendar-post { justify-content:center; padding-inline:1px; }
  .story-calendar-post > span { display:none; }
  .story-calendar-note { flex-wrap:wrap; gap:6px; font-size:9px; }
  .story-post-filter { gap:16px; font-size:9px; }
  .story-receipt-post p { font-size:12px; line-height:1.7; }
  .story-insight-points { margin-top:24px; }
  .story-analytics-metrics { gap:5px; }
  .story-analytics-metrics strong { font-size:20px; }
  .story-analytics-metrics small { font-size:7px; }
  .story-chart-heading > span { max-width:115px; text-align:right; font-size:7px; }
  .story-hourly-cells { gap:1px; }
  .story-hourly-cells i { height:7px; }
}
@media(prefers-reduced-motion:reduce) { .product-story *, .product-story *::after { animation:none!important; transition:none!important; } }
