  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { background: var(--stone); }
  body { font-family: 'DM Sans', sans-serif; background: var(--stone); color: var(--bark); min-height: 100vh; overflow-x: hidden; }
  body::before { content: ''; position: fixed; bottom: 0; left: 0; right: 0; height: 280px; background: linear-gradient(to top, rgba(92,122,94,0.06), transparent); pointer-events: none; z-index: 0; }
  .page { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 52px 24px 80px; }

  .header { margin-bottom: 36px; opacity: 0; animation: fadeUp 0.7s ease forwards; }
  .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
  .eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
  .eyebrow-text { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); font-weight: 500; }
  .headline { font-family: 'Lora', serif; font-size: clamp(26px, 5vw, 40px); line-height: 1.2; font-weight: 400; color: var(--bark); margin-bottom: 12px; }
  .headline em { font-style: italic; color: var(--sage); }
  .subhead { font-size: 14px; line-height: 1.7; color: var(--bark-muted); font-weight: 300; max-width: 500px; }

  .progress { display: flex; gap: 5px; margin-bottom: 32px; opacity: 0; animation: fadeUp 0.7s 0.15s ease forwards; }
  .pip { height: 2px; flex: 1; background: var(--stone-3); border-radius: 2px; transition: background 0.4s ease; }
  .pip.active { background: var(--sage); }

  .step { display: none; }
  .step.visible { display: block; animation: fadeUp 0.4s ease forwards; }

  .field { margin-bottom: 24px; }
  .field-label { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark-dim); margin-bottom: 10px; font-weight: 500; }
  input[type="text"], input[type="password"] { width: 100%; background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius-sm); padding: 12px 16px; font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--bark); outline: none; transition: border-color 0.2s; }
  input::placeholder { color: var(--bark-dim); }
  input:focus { border-color: var(--sage); }

  /* Mode selector cards */
  .mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
  .mode-card { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius); padding: 24px 20px; cursor: pointer; transition: all 0.2s; text-align: left; }
  .mode-card:hover { border-color: var(--sage-border); transform: translateY(-2px); }
  .mode-card-icon { font-size: 28px; margin-bottom: 14px; display: block; }
  .mode-card-title { font-family: 'Lora', serif; font-size: 17px; font-weight: 400; color: var(--bark); margin-bottom: 8px; }
  .mode-card-desc { font-size: 13px; color: var(--bark-muted); line-height: 1.55; font-weight: 300; }
  .mode-card-detail { font-size: 11px; color: var(--sage); font-weight: 500; margin-top: 12px; letter-spacing: 0.04em; }

  /* Pillar + platform selectors */
  .section-sep { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark-dim); margin-bottom: 12px; font-weight: 500; }
  .pillar-select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
  .pillar-card { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; transition: all 0.2s; }
  .pillar-card:hover { border-color: var(--sage-border); }
  .pillar-card.selected { background: var(--sage-dim); border-color: var(--sage); }
  .pillar-card-name { font-size: 13px; font-weight: 500; color: var(--bark); margin-bottom: 4px; }
  .pillar-card.selected .pillar-card-name { color: var(--sage); }
  .pillar-card-desc { font-size: 12px; color: var(--bark-dim); line-height: 1.5; font-weight: 300; }

  .option-grid { display: grid; gap: 8px; margin-bottom: 24px; }
  .option-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .option-btn { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; transition: all 0.18s; text-align: center; font-family: 'DM Sans', sans-serif; }
  .option-btn:hover { border-color: var(--sage-border); }
  .option-btn.selected { background: var(--sage-dim); border-color: var(--sage); }
  .option-icon { font-size: 18px; margin-bottom: 5px; }
  .option-label { font-size: 12px; font-weight: 500; color: var(--bark); }
  .option-btn.selected .option-label { color: var(--sage); }
  .option-sub { font-size: 11px; color: var(--bark-dim); margin-top: 2px; font-weight: 300; }

  /* CTA buttons */
  .cta { display: inline-flex; align-items: center; gap: 10px; background: var(--sage); color: white; border: none; padding: 13px 28px; border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; margin-top: 4px; transition: opacity 0.2s, transform 0.15s; }
  .cta:hover { opacity: 0.88; transform: translateY(-1px); }
  .cta:active { transform: translateY(0); opacity: 1; }
  .cta-arrow { font-size: 15px; transition: transform 0.2s; }
  .cta:hover .cta-arrow { transform: translateX(3px); }
  .cta.secondary { background: white; color: var(--sage); border: 0.5px solid var(--sage-border); }
  .cta.secondary:hover { background: var(--sage-dim); }

  /* Calendar CTA */
  .calendar-cta-wrap { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius); padding: 22px 24px; }
  .calendar-cta-title { font-family: 'Lora', serif; font-size: 16px; font-weight: 400; color: var(--bark); margin-bottom: 8px; }
  .calendar-cta-desc { font-size: 13px; color: var(--bark-muted); font-weight: 300; line-height: 1.6; margin-bottom: 16px; }
  .calendar-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
  .cal-tag { font-size: 11px; color: var(--sage); background: var(--sage-dim); padding: 4px 10px; border-radius: 20px; font-weight: 500; }

  /* Loading */
  .loading-wrap { padding: 40px 0; }
  .loading-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark-dim); margin-bottom: 16px; }
  .loading-bar-track { width: 100%; height: 1px; background: var(--stone-3); border-radius: 1px; overflow: hidden; margin-bottom: 18px; }
  .loading-bar-fill { height: 100%; background: var(--sage); border-radius: 1px; animation: loadSlide 3.5s ease-in-out infinite; }
  @keyframes loadSlide { 0%{width:0%} 60%{width:75%} 100%{width:100%} }
  .loading-msg { font-family: 'Lora', serif; font-size: 15px; font-style: italic; color: var(--bark-muted); min-height: 24px; }

  /* Output */
  .output-section { margin-bottom: 22px; opacity: 0; animation: fadeUp 0.5s ease forwards; }
  .output-section:nth-child(2) { animation-delay: 0.08s; }
  .output-section:nth-child(3) { animation-delay: 0.16s; }
  .output-label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin-bottom: 12px; }
  .output-card { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius); padding: 20px 22px; }
  .caption-body { font-size: 14px; line-height: 1.8; color: var(--bark); font-weight: 300; white-space: pre-wrap; margin-bottom: 14px; }
  .hashtag-row { display: flex; flex-wrap: wrap; gap: 6px; }
  .hashtag { font-size: 12px; color: var(--sage); background: var(--sage-dim); padding: 3px 10px; border-radius: 20px; font-weight: 400; }
  .script-block { margin-bottom: 16px; }
  .script-block:last-child { margin-bottom: 0; }
  .script-block-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bark-dim); margin-bottom: 6px; font-weight: 500; }
  .script-hook-text { font-family: 'Lora', serif; font-size: 17px; line-height: 1.45; color: var(--bark); font-style: italic; }
  .script-body-text { font-size: 14px; line-height: 1.75; color: var(--bark); font-weight: 300; white-space: pre-wrap; }
  .divider { height: 0.5px; background: var(--stone-2); margin: 18px 0; }

  .action-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
  .ghost-btn { background: none; border: 0.5px solid var(--stone-3); color: var(--bark-muted); padding: 9px 18px; border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 13px; cursor: pointer; transition: all 0.2s; }
  .ghost-btn:hover { border-color: var(--sage-border); color: var(--bark); }

  .footer-note { margin-top: 40px; padding-top: 20px; border-top: 0.5px solid var(--stone-3); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .footer-note p { font-size: 12px; color: var(--bark-dim); font-weight: 300; max-width: 400px; line-height: 1.6; }
  .footer-brand { font-family: 'Lora', serif; font-size: 13px; color: var(--sage); letter-spacing: 0.06em; white-space: nowrap; }

  /* Feedback panel */
  .feedback-panel { margin-top: 24px; background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius); padding: 20px 22px; }
  .feedback-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark-dim); font-weight: 500; margin-bottom: 8px; display: block; }
  .feedback-hint { font-size: 12px; color: var(--bark-dim); font-weight: 300; margin-bottom: 12px; line-height: 1.55; }
  .feedback-textarea { width: 100%; background: var(--stone); border: 0.5px solid var(--stone-3); border-radius: var(--radius-sm); padding: 12px 14px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--bark); outline: none; resize: vertical; min-height: 80px; line-height: 1.6; transition: border-color 0.2s; }
  .feedback-textarea::placeholder { color: var(--bark-dim); font-style: italic; }
  .feedback-textarea:focus { border-color: var(--sage); }
  .feedback-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
  .feedback-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
  .feedback-chip { font-size: 12px; color: var(--bark-muted); background: var(--stone); border: 0.5px solid var(--stone-3); padding: 4px 12px; border-radius: 20px; cursor: pointer; transition: all 0.15s; font-family: 'DM Sans', sans-serif; }
  .feedback-chip:hover { border-color: var(--sage-border); color: var(--sage); background: var(--sage-dim); }

  /* Export buttons */
  .export-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 0.5px solid var(--stone-3); }
  .export-btn { display: inline-flex; align-items: center; gap: 8px; background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius-sm); padding: 9px 16px; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; color: var(--bark-muted); cursor: pointer; transition: all 0.18s; }
  .export-btn:hover { border-color: var(--sage-border); color: var(--sage); background: var(--sage-dim); }
  .export-btn-icon { font-size: 14px; }

  /* Extras teaser link */


  /* Extras teaser */
  .extras-teaser { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 18px 22px; background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius); cursor: pointer; transition: all 0.25s; }
  .extras-teaser:hover { border-color: rgba(92,122,94,0.4); background: rgba(92,122,94,0.06); transform: translateY(-1px); }
  .extras-teaser-badge { flex-shrink: 0; width: 36px; height: 36px; background: rgba(92,122,94,0.1); border: 0.5px solid rgba(92,122,94,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
  .extras-teaser-body { flex: 1; }
  .extras-teaser-title { font-family: 'Lora', serif; font-size: 14px; font-weight: 400; color: #3D3530; margin-bottom: 2px; font-style: italic; }
  .extras-teaser-sub { font-size: 11px; color: #A89F97; font-weight: 300; letter-spacing: 0.02em; }
  .extras-teaser:hover .extras-teaser-title { color: #5C7A5E; }
  .extras-teaser-arrow { font-size: 14px; color: #A89F97; transition: transform 0.2s, color 0.2s; flex-shrink: 0; }
  .extras-teaser:hover .extras-teaser-arrow { transform: translateX(4px); color: #5C7A5E; }

  /* Extras screen */
  #step2c { background: var(--stone-2); border-radius: var(--radius); padding: 36px 28px; margin: -4px 0; }
  .extras-hero { margin-bottom: 32px; }
  .extras-hero-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
  .extras-hero-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage-light); }
  .extras-hero-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); font-weight: 500; }
  .extras-hero-title { font-family: 'Lora', serif; font-size: 26px; font-weight: 400; color: var(--bark); margin-bottom: 10px; line-height: 1.25; }
  .extras-hero-title em { font-style: italic; color: var(--sage); }
  .extras-hero-sub { font-size: 13px; color: var(--bark-muted); font-weight: 300; line-height: 1.65; }
  .extras-divider { height: 0.5px; background: var(--stone-3); margin-bottom: 24px; }
  .extras-feature-list { display: flex; flex-direction: column; gap: 10px; }
  .extras-feature { display: flex; gap: 18px; align-items: flex-start; background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius); padding: 22px 20px; cursor: pointer; transition: all 0.25s; }
  .extras-feature:hover { background: rgba(92,122,94,0.15); border-color: rgba(122,158,124,0.4); transform: translateY(-2px); }
  .extras-feature-left { flex-shrink: 0; }
  .extras-feature-icon { font-size: 22px; width: 44px; height: 44px; background: rgba(92,122,94,0.2); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; border: 0.5px solid rgba(92,122,94,0.3); }
  .extras-feature-body { flex: 1; }
  .extras-feature-title { font-family: 'Lora', serif; font-size: 16px; font-weight: 400; color: var(--bark); margin-bottom: 6px; }
  .extras-feature-desc { font-size: 13px; color: var(--bark-muted); line-height: 1.6; font-weight: 300; margin-bottom: 12px; }
  .extras-feature-cta { font-size: 11px; color: var(--sage); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; transition: letter-spacing 0.2s; }
  .extras-feature:hover .extras-feature-cta { letter-spacing: 0.1em; }
  .extras-back-btn { background: transparent; border: 0.5px solid var(--stone-3); color: var(--bark-muted); padding: 9px 18px; border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 13px; cursor: pointer; transition: all 0.2s; margin-top: 20px; }
  .extras-back-btn:hover { border-color: rgba(255,255,255,0.3); color: rgba(240,236,228,0.7); }

  /* Own idea section */
  .own-idea-wrap { background: var(--stone-2); border: 0.5px solid var(--stone-3); border-radius: var(--radius); padding: 20px 22px; }
  .own-idea-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark-dim); font-weight: 500; margin-bottom: 8px; }
  .own-idea-hint { font-size: 12px; color: var(--bark-muted); font-weight: 300; line-height: 1.6; margin-bottom: 12px; }

  /* Series option cards */
  .series-options-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .series-option-card { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius); padding: 18px 20px; cursor: pointer; transition: all 0.2s; }
  .series-option-card:hover { border-color: var(--sage-border); transform: translateX(3px); }
  .series-option-card.selected { background: var(--sage-dim); border-color: var(--sage); }
  .series-option-name { font-family: 'Lora', serif; font-size: 15px; font-style: italic; color: var(--bark); margin-bottom: 5px; font-weight: 400; }
  .series-option-card.selected .series-option-name { color: var(--sage); }
  .series-option-tagline { font-size: 12px; color: var(--bark-muted); font-weight: 300; line-height: 1.5; margin-bottom: 8px; }
  .series-option-pillar { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); }

  /* Refresh button */
  .refresh-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0.5px solid var(--stone-3); border-radius: 20px; padding: 5px 12px; font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--bark-muted); cursor: pointer; transition: all 0.18s; font-weight: 400; }
  .refresh-btn:hover { border-color: var(--sage-border); color: var(--sage); }
  .refresh-icon { font-size: 13px; display: inline-block; transition: transform 0.4s ease; }
  .refresh-btn:hover .refresh-icon { transform: rotate(180deg); }
  .refresh-btn:disabled { opacity: 0.4; cursor: not-allowed; }

  /* Collab cards */
  .collab-list { display: flex; flex-direction: column; gap: 10px; }
  .collab-item { background: var(--stone); border: 0.5px solid var(--stone-3); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; transition: all 0.2s; }
  .collab-item:hover { border-color: var(--sage-border); background: white; }
  .collab-item.selected { border-color: var(--sage); background: var(--sage-dim); }
  .collab-item-name { font-size: 13px; font-weight: 500; color: var(--bark); margin-bottom: 3px; }
  .collab-item.selected .collab-item-name { color: var(--sage); }
  .collab-item-type { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); margin-bottom: 5px; }
  .collab-item-reason { font-size: 12px; color: var(--bark-muted); line-height: 1.5; font-weight: 300; }

  /* Series output */
  .series-block { margin-bottom: 18px; }
  .series-block:last-child { margin-bottom: 0; }
  .series-block-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bark-dim); margin-bottom: 6px; font-weight: 500; }
  .series-block-value { font-size: 14px; line-height: 1.7; color: var(--bark); font-weight: 300; }
  .series-name { font-family: 'Lora', serif; font-size: 20px; font-style: italic; color: var(--bark); font-weight: 400; }
  .episode-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
  .episode-item { background: var(--stone); border-radius: var(--radius-sm); padding: 10px 14px; }
  .episode-num { font-size: 10px; font-weight: 500; color: var(--sage); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
  .episode-title { font-size: 13px; font-weight: 500; color: var(--bark); margin-bottom: 2px; }
  .episode-hook { font-size: 12px; color: var(--bark-muted); font-style: italic; font-weight: 300; }

  /* Scheduling teaser */
  .schedule-teaser { background: linear-gradient(135deg, var(--extras-bg, #2D3B2D) 0%, var(--extras-bg, #1e2820) 100%); border-radius: var(--radius); padding: 20px; margin-top: 0; position: relative; overflow: hidden; }
  .schedule-teaser::before { content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; background: rgba(255,255,255,0.04); border-radius: 50%; }
  .schedule-teaser-label { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
  .schedule-teaser-title { font-family: 'Lora', serif; font-size: 17px; font-weight: 400; color: white; margin-bottom: 6px; }
  .schedule-teaser-desc { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 300; line-height: 1.6; margin-bottom: 16px; }
  .schedule-teaser-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
  .schedule-teaser-step { display: flex; align-items: center; gap: 5px; font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 300; }
  .schedule-teaser-step-dot { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 9px; color: rgba(255,255,255,0.5); flex-shrink: 0; }
  .schedule-teaser-step-arrow { color: rgba(255,255,255,0.2); font-size: 10px; }
  .schedule-teaser-notify { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 10px 14px; cursor: pointer; transition: background 0.15s; }
  .schedule-teaser-notify:hover { background: rgba(255,255,255,0.1); }
  .schedule-teaser-notify-text { font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 300; }
  .schedule-teaser-notify-text strong { color: white; font-weight: 500; }
  .schedule-btn-locked { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 10px 16px; font-size: 12px; color: rgba(255,255,255,0.5); font-family: 'DM Sans', sans-serif; cursor: default; }

  /* Interactive selection chips */
  .chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
  .sel-chip { background: white; border: 1.5px solid var(--stone-3); border-radius: 20px; padding: 7px 14px; font-size: 13px; font-family: 'DM Sans', sans-serif; font-weight: 400; color: var(--bark-muted); cursor: pointer; transition: all 0.15s; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
  .sel-chip:hover { border-color: var(--sage); color: var(--bark); }
  .sel-chip.selected { background: var(--sage); border-color: var(--sage); color: white; font-weight: 500; }
  .sel-chip.selected .chip-rec { color: rgba(255,255,255,0.75); }
  .sel-chip.selected span[style] { color: rgba(255,255,255,0.7) !important; }
  .chip-rec { font-size: 10px; font-weight: 400; color: var(--sage); background: var(--sage-dim); padding: 1px 6px; border-radius: 10px; letter-spacing: 0.03em; }
  .sel-chip.selected .chip-rec { background: rgba(255,255,255,0.2); color: white; }

  /* Funnel stage badges */
  .funnel-tofu { background: #E8F4E8; color: #2D6A2D; font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; display: inline-block; }
  .funnel-mofu { background: #FFF3E0; color: #8B5000; font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; display: inline-block; }
  .funnel-bofu { background: #EDE7F6; color: #4527A0; font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; display: inline-block; }
  .funnel-legend { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 16px; }
  .funnel-legend-title { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark-dim); margin-bottom: 12px; }
  .funnel-legend-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .funnel-legend-item { display: flex; flex-direction: column; gap: 4px; }
  .funnel-legend-label { font-size: 12px; font-weight: 500; color: var(--bark); display: flex; align-items: center; gap: 6px; }
  .funnel-legend-full { font-size: 11px; color: var(--bark-muted); font-weight: 300; }
  .funnel-legend-desc { font-size: 11px; color: var(--bark-muted); font-weight: 300; line-height: 1.5; margin-top: 2px; }
  .funnel-legend-cta { font-size: 10px; color: var(--bark-dim); font-style: italic; font-weight: 300; margin-top: 2px; }
  .funnel-split { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 0.5px solid var(--stone-3); }
  .funnel-split-label { font-size: 11px; color: var(--bark-dim); font-weight: 300; white-space: nowrap; }
  .funnel-split-bar { flex: 1; height: 6px; border-radius: 3px; overflow: hidden; display: flex; gap: 2px; }

  /* Calendar cell click */
  .cal-click-hint { display: none; }

  /* Post builder panel */
  .post-builder-panel { background: white; border: 0.5px solid var(--sage-border); border-radius: var(--radius); margin-top: 16px; overflow: hidden; animation: fadeUp 0.3s ease forwards; }
  .post-builder-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 0.5px solid var(--stone-3); background: var(--sage-dim); }
  .post-builder-day { font-family: 'Lora', serif; font-size: 15px; font-weight: 400; color: var(--bark); }
  .post-builder-meta { font-size: 11px; color: var(--bark-muted); font-weight: 300; margin-top: 2px; }
  .post-builder-close { background: none; border: none; font-size: 18px; color: var(--bark-dim); cursor: pointer; padding: 0 4px; line-height: 1; }
  .post-builder-close:hover { color: var(--bark); }
  .post-builder-body { padding: 16px 18px; }
  .post-builder-result { padding: 0 18px 18px; }

  /* Calendar storage status */
  .cal-status-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--sage-dim); border: 0.5px solid var(--sage-border); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 16px; flex-wrap: wrap; }
  .cal-status-text { font-size: 13px; color: var(--bark); font-weight: 400; line-height: 1.5; }
  .cal-status-text span { font-weight: 500; color: var(--sage); }
  .cal-status-actions { display: flex; gap: 8px; flex-shrink: 0; }
  .cal-gen-pip { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); display: inline-block; margin-right: 2px; }
  .cal-gen-pip.used { background: var(--stone-3); }

  /* Graphics Studio */
  .studio-source-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
  .studio-source-card { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius); padding: 16px 18px; cursor: pointer; transition: all 0.18s; text-align: left; }
  .studio-source-card:hover { border-color: var(--sage-border); }
  .studio-source-card.selected { background: var(--sage-dim); border-color: var(--sage); }
  .studio-source-icon { font-size: 20px; margin-bottom: 8px; display: block; }
  .studio-source-title { font-size: 13px; font-weight: 500; color: var(--bark); margin-bottom: 3px; }
  .studio-source-card.selected .studio-source-title { color: var(--sage); }
  .studio-source-desc { font-size: 11px; color: var(--bark-dim); font-weight: 300; }
  .studio-wrap { display: flex; flex-direction: column; gap: 20px; }
  .studio-post-picker { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; padding-right: 4px; }
  .studio-post-item { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; transition: all 0.18s; display: flex; gap: 12px; align-items: flex-start; }
  .studio-post-item:hover { border-color: var(--sage-border); }
  .studio-post-item.selected { background: var(--sage-dim); border-color: var(--sage); }
  .studio-post-day { font-size: 11px; font-weight: 500; color: var(--sage); min-width: 36px; flex-shrink: 0; }
  .studio-post-text { font-size: 12px; color: var(--bark); line-height: 1.45; }
  .studio-post-meta { font-size: 10px; color: var(--bark-dim); margin-top: 2px; }
  .studio-canvas-wrap { background: var(--stone-2); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
  .studio-canvas-container { position: relative; width: 100%; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; background: #1e2820; cursor: crosshair; }
  canvas#studioCanvas { width: 100%; height: 100%; display: block; }
  .studio-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .studio-control { display: flex; flex-direction: column; gap: 5px; }
  .studio-control-label { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bark-dim); font-weight: 500; }
  .studio-control select, .studio-control input[type=range], .studio-control input[type=color] { width: 100%; }
  .studio-control input[type=color] { height: 32px; border: 0.5px solid var(--stone-3); border-radius: var(--radius-sm); padding: 2px; cursor: pointer; background: white; }
  .studio-control input[type=range] { accent-color: var(--sage); }
  .studio-text-input { width: 100%; background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius-sm); padding: 8px 12px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--bark); outline: none; resize: vertical; min-height: 60px; line-height: 1.5; }
  .studio-text-input:focus { border-color: var(--sage); }
  .studio-photo-row { display: flex; gap: 8px; flex-wrap: wrap; }
  .studio-photo-thumb { width: 52px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: border-color 0.15s; }
  .studio-photo-thumb.active { border-color: var(--sage); }
  .studio-upload-btn { width: 52px; height: 52px; border-radius: var(--radius-sm); border: 0.5px dashed var(--stone-3); background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--bark-dim); transition: all 0.15s; flex-shrink: 0; }
  .studio-upload-btn:hover { border-color: var(--sage-border); color: var(--sage); }
  .studio-action-row { display: flex; gap: 10px; flex-wrap: wrap; }

  /* Month selector cards */
  .month-card { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius); padding: 18px 20px; cursor: pointer; transition: all 0.2s; text-align: left; }
  .month-card:hover { border-color: var(--sage-border); transform: translateY(-1px); }
  .month-card.selected { background: var(--sage-dim); border-color: var(--sage); }
  .month-card-label { font-family: 'Lora', serif; font-size: 18px; font-weight: 400; color: var(--bark); margin-bottom: 4px; }
  .month-card.selected .month-card-label { color: var(--sage); }
  .month-card-sub { font-size: 11px; color: var(--bark-dim); font-weight: 300; }

  /* Placeholder post slot */
  .cal-placeholder { background: var(--stone-2); border: 1px dashed var(--stone-3); }
  .cal-placeholder:hover { border-color: var(--sage-border) !important; background: var(--sage-dim) !important; }
  .placeholder-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: #FFF3E0; color: #8B5000; padding: 2px 7px; border-radius: 3px; }

  /* Saved calendars browser */
  .saved-cal-item { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; transition: all 0.18s; }
  .saved-cal-item:hover { border-color: var(--sage-border); background: var(--sage-dim); }
  .saved-cal-item-month { font-family: 'Lora', serif; font-size: 14px; font-weight: 400; color: var(--bark); margin-bottom: 3px; }
  .saved-cal-item-meta { font-size: 11px; color: var(--bark-dim); font-weight: 300; }

  /* Pull-forward post selector */
  .pull-post-item { background: white; border: 0.5px solid var(--stone-3); border-radius: var(--radius-sm); padding: 11px 14px; cursor: pointer; transition: all 0.18s; display: flex; gap: 10px; align-items: flex-start; }
  .pull-post-item:hover { border-color: var(--sage-border); }
  .pull-post-item.selected { background: var(--sage-dim); border-color: var(--sage); }
  .pull-post-check { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--stone-3); flex-shrink: 0; margin-top: 2px; transition: all 0.15s; display: flex; align-items: center; justify-content: center; }
  .pull-post-item.selected .pull-post-check { background: var(--sage); border-color: var(--sage); }
  .pull-post-item.selected .pull-post-check::after { content: '✓'; font-size: 9px; color: white; font-weight: 700; }

  /* Expandable day drawer */
  .day-drawer { background: white; border: 0.5px solid var(--sage-border); border-radius: var(--radius); margin-top: 4px; margin-bottom: 4px; overflow: hidden; animation: fadeUp 0.25s ease forwards; }
  .day-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--sage-dim); border-bottom: 0.5px solid var(--sage-border); }
  .day-drawer-title { font-family: 'Lora', serif; font-size: 14px; font-weight: 400; color: var(--bark); }
  .day-drawer-meta { font-size: 11px; color: var(--bark-muted); font-weight: 300; margin-top: 2px; }
  .day-drawer-close { background: none; border: none; font-size: 16px; color: var(--bark-dim); cursor: pointer; padding: 0 2px; line-height: 1; }
  .day-drawer-body { padding: 16px; }
  .day-drawer-field { margin-bottom: 14px; }
  .day-drawer-field-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin-bottom: 6px; }
  .day-drawer-textarea { width: 100%; background: var(--stone); border: 0.5px solid var(--stone-3); border-radius: var(--radius-sm); padding: 10px 12px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--bark); outline: none; resize: vertical; line-height: 1.6; transition: border-color 0.2s; }
  .day-drawer-textarea:focus { border-color: var(--sage); background: white; }
  .day-drawer-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

  @keyframes fadeUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

  /* Calendar grid */
  /* Drag and drop */
  .cal-drop-zone { position: relative; transition: background 0.15s, border-color 0.15s; }
  .cal-drop-zone.drag-over { background: var(--sage-dim) !important; border-color: var(--sage) !important; }
  .cal-post-card { cursor: grab; transition: opacity 0.15s, transform 0.15s; touch-action: none; }
  .cal-post-card:active { cursor: grabbing; }
  .cal-post-card.dragging { opacity: 0.4; transform: scale(0.97); }
  .cal-drag-handle { font-size: 10px; color: var(--bark-dim); opacity: 0; transition: opacity 0.15s; cursor: grab; padding: 0 2px; line-height: 1; flex-shrink: 0; }
  .cal-post-card:hover .cal-drag-handle { opacity: 1; }

  .cal-cell-clickable { cursor: pointer; transition: background 0.15s; }
  .cal-cell-clickable:hover { opacity: 0.85; }
  @media(max-width:520px) {
    .mode-grid { grid-template-columns: 1fr; }
    .pillar-select-grid { grid-template-columns: 1fr; }
    .option-grid.cols-3 { grid-template-columns: 1fr 1fr; }
    .page { padding: 36px 16px 60px; }
  }
