/* Content Pipeline — shared styles (ANN-845).
   Mirrors the anna-ui design system (sage palette, soft shadows, generous radii).  */

.pipeline-root {
  max-width: 1180px;
}

.pipeline-empty {
  padding: 56px 28px;
  text-align: center;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px dashed var(--sage-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft-sm);
}

/* ── Card grids ─────────────────────────────────── */

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-soft-sm);
}

.pipeline-card:hover {
  border-color: var(--sage-300);
  box-shadow: var(--shadow-soft-md);
  transform: translateY(-1px);
}

.pipeline-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  margin: 0;
  letter-spacing: -0.01em;
}

.pipeline-card-meta {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.pipeline-card-body {
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.pipeline-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* ── Pills (sage by default; coral / peach variants) ── */

.pipeline-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sage-100);
  color: var(--sage-800);
  letter-spacing: 0.01em;
}

.pipeline-pill.role-hero,
.pipeline-pill.coral { background: var(--coral-100); color: var(--coral-700); }
.pipeline-pill.role-bot { background: var(--sage-100); color: var(--sage-800); }
.pipeline-pill.mode-auto { background: var(--green-soft); color: var(--sage-800); }
.pipeline-pill.mode-manual { background: var(--yellow-soft); color: var(--yellow); }
.pipeline-pill.peach { background: var(--peach); color: var(--coral-700); }

/* ── Forms / inline edit ─────────────────────────── */

.pipeline-form {
  background: var(--bg-card);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  box-shadow: var(--shadow-soft-sm);
}

.pipeline-form .full {
  grid-column: 1 / -1;
}

.pipeline-form label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.pipeline-form input,
.pipeline-form select,
.pipeline-form textarea {
  width: 100%;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
}

.pipeline-form textarea {
  min-height: 64px;
  resize: vertical;
}

/* ── Section headers ─────────────────────────────── */

.pipeline-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 10px;
}

.pipeline-section-title h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-bright);
  margin: 0;
  letter-spacing: -0.01em;
}

.pipeline-section-title .count {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ── Health badge (sidebar) ──────────────────────── */

.pipeline-health-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sage-100);
  color: var(--sage-800);
  margin-left: auto;
}

.pipeline-health-badge.warn  { background: var(--yellow-soft); color: var(--yellow); }
.pipeline-health-badge.alert { background: var(--coral-100); color: var(--coral-700); }

/* ── Pillar tree (parent / child) ────────────────── */

.pillar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius);
  margin-bottom: 8px;
  box-shadow: var(--shadow-soft-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.pillar-row:hover {
  border-color: var(--sage-300);
  box-shadow: var(--shadow-soft);
}

.pillar-row.is-child {
  margin-left: 28px;
  background: transparent;
  border-style: dashed;
  border-color: var(--sage-200);
  box-shadow: none;
}

.pillar-row .name {
  font-weight: 600;
  color: var(--text-bright);
  font-size: 14px;
}

.pillar-row .desc {
  color: var(--text-dim);
  font-size: 12px;
  margin-left: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pillar-row .actions {
  display: flex;
  gap: 6px;
}

/* ── Mobile: Dilani Studio ───────────────────────── */

@media (max-width: 640px) {
  .pipeline-grid {
    grid-template-columns: 1fr;
  }
  .pipeline-card {
    padding: 14px 16px;
  }
  .pipeline-form {
    grid-template-columns: 1fr;
  }
}

/* Hype action picker — flat list of checkbox rows that does not get hijacked
   by the parent .pipeline-form grid (which centers form children otherwise). */
.hype-action-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.hype-action-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  transition: background var(--transition), border-color var(--transition);
}
.hype-action-row:hover { background: var(--sage-50); border-color: var(--sage-200); }
.hype-action-row input[type="checkbox"] {
  flex: none;
  margin: 3px 0 0 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.hype-action-label {
  flex: 1;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  display: block;
}
.hype-action-label strong {
  font-weight: 600;
  margin-right: 6px;
}
.hype-action-blurb {
  color: var(--text-dim);
}

/* Hype: Dilani-tweet list view — single column rows, full-row clickable opens
   the tweet, side-buttons stay actionable via onclick stopPropagation. */
.hype-tweet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hype-tweet-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
  box-shadow: var(--shadow-soft-sm);
}
.hype-tweet-row:hover {
  background: var(--sage-50);
  border-color: var(--sage-300);
  box-shadow: var(--shadow-soft);
}
.hype-tweet-row.is-selected {
  background: var(--sage-50);
  border-color: var(--sage-500);
  box-shadow: var(--shadow-soft-md);
}
.hype-tweet-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-bright, #2d3436);
  white-space: pre-wrap;
  word-break: break-word;
}
.hype-tweet-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: none;
}
.hype-tweet-actions {
  display: flex;
  gap: 8px;
  flex: none;
}
@media (max-width: 720px) {
  .hype-tweet-row {
    grid-template-columns: 1fr;
  }
  .hype-tweet-meta { justify-content: flex-start; }
}

/* Hype History list — one wide row per hype action with status, body,
   "where it lives", live engagement and actions. */
.hype-history-list { display:flex; flex-direction:column; gap:10px; }
.hype-history-row {
  display:flex; flex-direction:column; gap:12px;
  padding:16px 18px;
  border:1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft-sm);
  transition: box-shadow var(--transition);
}
.hype-history-row:hover { box-shadow: var(--shadow-soft); }
.hype-history-head { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }

.hype-status {
  font-size:11px; font-weight:600;
  padding:3px 9px; border-radius:99px;
  text-transform:uppercase; letter-spacing:0.06em;
}
.hype-status-success { background: var(--sage-100);   color: var(--sage-800); }
.hype-status-queued  { background: var(--cream-200);  color: var(--text-dim); }
.hype-status-warn    { background: var(--yellow-soft); color: var(--yellow); }
.hype-status-error   { background: var(--coral-100);  color: var(--coral-700); }
.hype-status-neutral { background: var(--cream-200);  color: var(--text-dim); }

.hype-strategy-pill, .hype-bot-pill {
  font-size:12px; font-weight:500;
  padding:3px 9px; border-radius:99px;
  background: var(--sage-50);
  color: var(--sage-700);
}
.hype-bot-pill { background: var(--peach); color: var(--coral-700); }

.hype-eng {
  display:flex; gap:10px; margin-left:auto; font-size:12px; color:var(--text-dim);
}
.hype-eng span { white-space:nowrap; }
.hype-live-link { font-size:12px; color:var(--sage-800); text-decoration:none; }
.hype-live-link:hover { text-decoration:underline; }

.hype-body {
  margin:0; padding:12px 14px;
  border-left: 3px solid var(--sage-400);
  background: var(--sage-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size:14px; line-height:1.5; color:var(--text-bright);
  white-space:pre-wrap; word-break:break-word;
}
.hype-body-empty {
  background:none; border-left-color:transparent;
  font-style:italic; color:var(--text-dim); padding:0;
}

.hype-where { display:flex; flex-direction:column; gap:6px; font-size:13px; }
.hype-where-row { display:flex; gap:8px; align-items:baseline; flex-wrap:wrap; }
.hype-where-label {
  flex:none;
  font-size:11px; text-transform:uppercase; letter-spacing:0.06em;
  color:var(--text-dim);
  min-width:90px;
}
.hype-where-link {
  color:var(--text-bright, #2d3436); text-decoration:none;
  word-break:break-word;
}
.hype-where-link:hover { text-decoration:underline; }
.hype-where-meta { font-size:12px; color:var(--text-dim); margin-left:6px; }

.hype-err {
  font-size:12px; color: var(--coral-700); word-break:break-word;
  background: var(--coral-100); padding:8px 12px; border-radius: var(--radius-sm);
}

.hype-history-actions { display:flex; gap:8px; flex-wrap:wrap; }

/* Cross-context relevance match score badges */
.match-card { transition: transform 0.08s ease; }
.match-card:hover { transform: translateX(2px); }
.match-score {
  flex: none;
  font-size: 13px; font-weight: 700;
  padding: 2px 8px; border-radius: 99px;
  min-width: 36px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.match-score.match-high { background: var(--sage-700); color: #fff; }
.match-score.match-mid  { background: var(--coral-500); color: #fff; }
.match-score.match-low  { background: var(--cream-300); color: var(--text-dim); }

/* ── Creators tab: list view (mirrors the /creators table) ─────── */

.ip-creators-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft-sm);
  font-size: 13px;
}
.ip-creators-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--cream-100);
  border-bottom: 1px solid var(--cream-300);
  color: var(--text-dim);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.ip-creators-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--cream-300);
  vertical-align: middle;
}
.ip-creators-table tr:last-child td { border-bottom: none; }
.ip-creators-table tbody tr { cursor: pointer; transition: background var(--transition); }
.ip-creators-table tbody tr:hover td { background: var(--cream-100); }
.ip-creators-table tr.is-expanded > td { background: var(--sage-50); border-bottom: none; }
.ip-creators-table tr.expand-row td { background: var(--cream-100); padding: 0 !important; border-bottom: 1px solid var(--cream-300); }
.ip-creators-table .num-col { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.ip-creator-info { display: flex; align-items: center; gap: 10px; }
.ip-creator-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover;
  background: var(--cream-200);
  flex-shrink: 0;
}
.ip-creator-avatar-fallback {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sage-100); color: var(--sage-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  flex-shrink: 0;
}
.ip-creator-name { font-weight: 600; color: var(--text-bright); font-size: 13px; }
.ip-creator-handle { font-size: 12px; color: var(--text-dim); }
.ip-creator-handle a { color: var(--sage-700); text-decoration: none; }
.ip-creator-handle a:hover { text-decoration: underline; }

.ip-eng-high { color: var(--sage-700); font-weight: 600; }
.ip-eng-med  { color: var(--yellow); font-weight: 600; }
.ip-eng-low  { color: var(--text-dim); }

.ip-video-preview {
  display: flex; align-items: center; gap: 10px; min-width: 220px;
}
.ip-video-mini-thumb {
  width: 32px; height: 56px; object-fit: cover; border-radius: 4px;
  flex-shrink: 0; background: var(--cream-200);
}
.ip-video-preview-text {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.ip-video-preview-desc {
  font-size: 13px; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; max-width: 380px;
}
.ip-video-preview-stats { font-size: 11px; color: var(--text-dim); }

/* Expanded row content */
.ip-expand-content {
  padding: 16px 20px 20px;
  background: var(--cream-100);
}
.ip-expand-bio { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; line-height: 1.5; }
.ip-expand-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-dim); margin: 12px 0 8px; font-weight: 500;
}
.ip-video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.ip-video-card {
  background: var(--bg-card);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow var(--transition);
}
.ip-video-card:hover { box-shadow: var(--shadow-soft); }
.ip-video-card .ip-video-thumb {
  width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block;
  background: var(--cream-200);
}
.ip-video-card .ip-video-meta { padding: 10px 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ip-video-card .ip-video-desc {
  font-size: 13px; line-height: 1.4; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ip-video-card .ip-video-stats { font-size: 11px; color: var(--text-dim); }
.ip-video-card .ip-video-actions {
  padding: 0 12px 12px; display: flex; gap: 6px; flex-wrap: wrap;
}

/* ── "What you should write today" tab (TodayApp) ────────────── */
.today-shell { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.today-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 8px 4px;
}
.today-header__title {
  font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700;
  color: var(--text); letter-spacing: -0.01em;
}
.today-header__date { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.today-reroll {
  background: var(--cream-200); border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm); padding: 6px 12px; cursor: pointer;
  font-size: 12px; color: var(--text);
}
.today-reroll:hover { background: var(--cream-300); }

.today-banner {
  background: var(--cream-200); border: 1px dashed var(--cream-300);
  color: var(--text-dim); padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 12px;
}
.today-banner--warn { background: #fff3cd; border-color: #ffe69c; color: #7a5a00; }

.today-card {
  background: var(--surface, #fff); border: 1px solid var(--cream-300);
  border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.today-card--top { box-shadow: var(--shadow-soft); }
.today-card__head { display: flex; align-items: center; justify-content: space-between; }
.today-card__label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--sage-dark, #5A7A6E); font-weight: 600;
}
.today-headline {
  font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 700;
  color: var(--text); line-height: 1.25; margin: 0;
}
.today-rationale { color: var(--text-dim); font-size: 14px; line-height: 1.5; margin: 0; }
.today-pill {
  display: inline-block; padding: 2px 10px; background: var(--sage-100, #E8EFEC);
  color: var(--sage-dark, #5A7A6E); border-radius: 999px; font-size: 11px;
  width: fit-content;
}

.today-section { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--cream-200); }
.today-section__title { font-size: 13px; font-weight: 600; color: var(--text); }

.today-tweet {
  background: var(--cream-100, #FAF8F5); border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm); padding: 10px 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.today-tweet__body { font-size: 14px; line-height: 1.45; color: var(--text); white-space: pre-wrap; }
.today-tweet__actions { display: flex; align-items: center; gap: 8px; }
.today-tweet__hook {
  font-size: 11px; color: var(--text-dim); margin-right: auto;
  text-transform: lowercase;
}
.today-reroll-drafts { align-self: flex-start; padding: 4px 12px; font-size: 12px; }

.today-brief {
  background: var(--cream-100, #FAF8F5); border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm); padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.today-brief__meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-dim); flex-wrap: wrap; }
.today-brief__vo { font-size: 14px; color: var(--text); line-height: 1.45; }
.today-brief__shots { margin: 0; padding-left: 18px; font-size: 13px; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.today-brief__constraints { display: flex; gap: 6px; flex-wrap: wrap; }
.today-brief__constraints span {
  font-size: 11px; padding: 2px 8px; background: var(--cream-200);
  border-radius: 999px; color: var(--text-dim);
}
.today-brief__actions { display: flex; gap: 8px; align-items: center; }

.today-similar { display: flex; flex-direction: column; gap: 6px; }
.today-similar__row {
  display: flex; gap: 10px; align-items: center; padding: 6px;
  border: 1px solid var(--cream-200); border-radius: var(--radius-sm);
  text-decoration: none; color: inherit; transition: background var(--transition);
}
.today-similar__row:hover { background: var(--cream-100); }
.today-similar__thumb {
  width: 56px; height: 80px; flex: 0 0 56px;
  background-color: var(--cream-200); background-size: cover; background-position: center;
  border-radius: 4px;
}
.today-similar__creator { font-size: 13px; font-weight: 600; color: var(--text); }
.today-similar__why { font-size: 12px; color: var(--text-dim); }
.today-empty { font-size: 12px; color: var(--text-dim); padding: 8px 0; }

.today-alts__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.today-alts__row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 10px 12px; background: var(--cream-100, #FAF8F5);
  border: 1px solid var(--cream-200); border-radius: var(--radius-sm);
}
.today-alts__headline { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.today-alts__rationale { font-size: 12px; color: var(--text-dim); }

/* TodayApp polish — collapse video brief, tighten alternates */
.today-fold {
  background: var(--cream-100, #FAF8F5); border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm); padding: 0; overflow: hidden;
}
.today-fold > summary {
  list-style: none; cursor: pointer; padding: 12px 14px;
  font-size: 13px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.today-fold > summary::-webkit-details-marker { display: none; }
.today-fold > summary::before {
  content: '▸'; color: var(--text-dim); transition: transform 120ms ease;
  display: inline-block;
}
.today-fold[open] > summary::before { transform: rotate(90deg); }
.today-fold > summary:hover { background: var(--cream-200); }
.today-fold__hint { font-weight: 400; color: var(--text-dim); font-size: 12px; }
.today-fold .today-brief { border: 0; background: transparent; padding: 0 14px 14px; }
.today-fold .today-section { border-top-color: var(--cream-300); }

.today-card--top .today-card__head { gap: 12px; }
.today-card--top .today-pill { margin-left: auto; }
.today-card--top .today-headline { margin-top: -4px; }
.today-card--top .today-rationale { font-size: 13px; }

.today-alts__more {
  align-self: center; padding: 4px 12px; font-size: 12px;
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--cream-300); border-radius: var(--radius-sm);
  cursor: pointer;
}
.today-alts__more:hover { background: var(--cream-200); color: var(--text); }
.today-alts__row { gap: 16px; }

/* TodayApp brand-sync polish (design-sync) */
.lucide-icon, .today-card svg.lucide {
  width: 14px; height: 14px; stroke-width: 2;
  display: inline-block; vertical-align: -2px;
  margin-right: 4px; flex-shrink: 0;
}
.today-card__label { display: inline-flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-size: 13px; }
.today-section__title { display: inline-flex; align-items: center; gap: 6px; }
.today-fold > summary { gap: 6px; }
.today-fold > summary svg.lucide { margin: 0; }
.today-fold__hint { color: var(--text-dim); font-weight: 400; font-size: 12px; }

/* Sage-tinted card shadow + cream surface */
.today-card { background: var(--bg-card, #fff); box-shadow: 0 1px 2px rgba(124,154,142,0.08), 0 4px 12px rgba(124,154,142,0.06); }
.today-card--top { box-shadow: 0 2px 4px rgba(124,154,142,0.10), 0 8px 24px rgba(124,154,142,0.08); }

/* Tighter, brand-aligned action buttons */
.today-action {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; font-size: 12px; font-weight: 600;
  border-radius: 10px; line-height: 1; height: 28px;
  white-space: nowrap;
}
/* Force inline icon size regardless of which svg class Lucide attaches.
   Lucide UMD doesn't always preserve our `lucide-icon` class on the
   replaced <svg>, so target any direct <svg> child too. */
.today-action svg,
.today-action svg.lucide,
.today-action > svg { width: 13px !important; height: 13px !important; flex-shrink: 0; }
.today-header__links .today-action { height: 28px; padding: 6px 12px; }
.today-header__links .today-action svg { width: 13px !important; height: 13px !important; }
.today-action--post { background: var(--sage-500); color: #fff; }
.today-action--post:hover { background: var(--sage-600); }

/* Inspired-by provenance list */
.today-section--inspired .today-prov { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.today-prov__item {
  background: var(--cream-100, #FAF8F5);
  border: 1px solid var(--cream-300);
  border-left: 3px solid var(--sage-300);
  border-radius: var(--radius-sm); padding: 8px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.today-prov__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
}
.today-prov__author {
  font-size: 13px; font-weight: 600; color: var(--sage-700);
  text-decoration: none;
}
.today-prov__author:hover { color: var(--sage-500); text-decoration: underline; }
.today-prov__metrics {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 11px; color: var(--text-dim);
}
.today-prov__metrics span { display: inline-flex; align-items: center; gap: 3px; }
.today-prov__metrics svg.lucide { width: 11px; height: 11px; margin: 0; }
.today-prov__age { color: var(--text-dim); font-style: normal; }
.today-prov__text {
  font-size: 12px; color: var(--text); line-height: 1.45;
  font-style: italic; padding-top: 2px;
}
.today-prov__empty {
  padding: 10px 12px; font-size: 12px; color: var(--text-dim);
  background: var(--cream-100, #FAF8F5); border: 1px dashed var(--cream-300);
  border-radius: var(--radius-sm); line-height: 1.45;
}

/* Inspired-by fold — same chrome as Want a video for this */
.today-fold--inspired { margin-top: 4px; }
.today-fold--inspired > summary { padding: 10px 14px; }
.today-fold--inspired .today-prov { margin: 0 14px 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }

/* Pillar pill — bring into brand */
.today-pill {
  background: var(--sage-100); color: var(--sage-700);
  font-weight: 500; padding: 3px 10px; font-size: 11px;
}
