/* Generated by scripts/site-css.cjs from src/app/globals.css. Do not edit by hand:
   change globals.css (or the SHARED list) and run `npm run sites:css`. */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/shared/figtree-latin.woff2") format("woff2"); }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"); ascent-override: 94.32%; descent-override: 24.82%; line-gap-override: 0%; size-adjust: 100.72%; }
html { --font-sans: "Figtree", "Figtree Fallback"; }

:root {
  --font: var(--font-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --canvas: #f7f6f9;
  --surface: #ffffff;
  --surface-2: #f3f2f6;
  --surface-3: #e9e7ee;
  --ink: #1c1a21;
  --text-2: #56525e;
  --muted: #716d7a;
  --line: #eae8ee;
  --line-strong: #dad7e0;

  --accent: #d6305f;
  --accent-hover: #bc2651;
  --accent-ink: #b0224b;
  --accent-soft: #fdeef2;
  --accent-line: #f7d0dc;
  --brand-gradient: linear-gradient(135deg, #ff8a5b 0%, #e8436b 50%, #a855f7 100%);
  --hero-gradient: linear-gradient(120deg, #fff1ea 0%, #fde8ef 48%, #f1e9ff 100%);

  --success: #177a4d;
  --success-soft: #e6f5ee;
  --warning: #955800;
  --warning-soft: #fff3dd;
  --danger: #c2352b;
  --danger-soft: #fdecea;
  --info: #2a62c9;
  --info-soft: #eaf1ff;
  --violet: #6b45d8;
  --violet-soft: #f1ecff;

  --tone-default: #ffebdd;
  --tone-default-ink: #9a4b12;
  --tone-mint: #ddf5e8;
  --tone-mint-ink: #1e6e45;
  --tone-rose: #fde4ec;
  --tone-rose-ink: #a31f47;
  --tone-blue: #e3edff;
  --tone-blue-ink: #2553a8;

  --shadow-sm: 0 1px 2px rgba(28, 20, 40, 0.04), 0 2px 8px rgba(28, 20, 40, 0.03);
  --shadow: 0 2px 4px rgba(28, 20, 40, 0.04), 0 12px 32px rgba(28, 20, 40, 0.07);
  --shadow-lg: 0 24px 64px rgba(28, 20, 40, 0.2);
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  color-scheme: light;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #111014;
  --surface: #1a191e;
  --surface-2: #232228;
  --surface-3: #2d2c33;
  --ink: #f2f0f5;
  --text-2: #c3bfcb;
  --muted: #9c98a6;
  --line: #2c2a31;
  --line-strong: #3b3942;

  --accent: #d6305f;
  --accent-hover: #e4466f;
  --accent-ink: #ff8fae;
  --accent-soft: #3a1e29;
  --accent-line: #5a2a3b;
  --hero-gradient: linear-gradient(120deg, #2a1c22 0%, #2c1a26 48%, #221c33 100%);

  --success: #5bd39b;
  --success-soft: #15291f;
  --warning: #f5b94f;
  --warning-soft: #30260f;
  --danger: #ff8a7f;
  --danger-soft: #37191a;
  --info: #8db4ff;
  --info-soft: #172442;
  --violet: #b9a0ff;
  --violet-soft: #251e3f;

  --tone-default: #3a2a1d;
  --tone-default-ink: #ffc899;
  --tone-mint: #173026;
  --tone-mint-ink: #86e0b3;
  --tone-rose: #3a1e29;
  --tone-rose-ink: #ff9fbc;
  --tone-blue: #1b2744;
  --tone-blue-ink: #a8c4ff;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-size: 15px; line-height: 1.5; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
button:disabled { cursor: not-allowed; opacity: 0.5; transform: none; box-shadow: none; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.ui-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin: 2px 10px 26px; font-weight: 800; font-size: 23px; letter-spacing: -0.04em; line-height: 1; }
.brand-light, .public-brand .brand-light { color: var(--accent-ink); font-weight: 600; }
.brand-mark { display: flex; align-items: end; justify-content: center; gap: 2px; width: 30px; height: 30px; padding: 7px 6px; border-radius: 10px; background: var(--brand-gradient); box-shadow: 0 4px 12px rgba(214, 48, 95, 0.3); }
.brand-mark span { width: 4px; border-radius: 4px; background: #fff; }
.brand-mark span:nth-child(1) { height: 7px; }
.brand-mark span:nth-child(2) { height: 11px; }
.brand-mark span:nth-child(3) { height: 16px; }
.primary-button, .secondary-button, .quiet-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.primary-button { color: #fff; border: 1px solid transparent; background: var(--accent); box-shadow: 0 1px 2px rgba(214, 48, 95, 0.25), 0 6px 16px rgba(214, 48, 95, 0.2); }
.primary-button:hover { background: var(--accent-hover); }
.primary-button:active, .secondary-button:active { transform: scale(0.98); }
.secondary-button { color: var(--ink); border: 1px solid var(--line-strong); background: var(--surface); }
.secondary-button:hover { background: var(--surface-2); }
.quiet-button { color: var(--text-2); border: 1px solid transparent; background: transparent; }
.quiet-button:hover { color: var(--ink); background: var(--surface-2); }
.primary-button .ui-icon, .secondary-button .ui-icon { width: 16px; height: 16px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.text-link { padding: 0; border: 0; color: var(--accent-ink); background: transparent; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.close-button { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--text-2); background: var(--surface-2); font-size: 20px; line-height: 1; cursor: pointer; }
.close-button:hover { color: var(--ink); background: var(--surface-3); }
h1 { margin: 0 0 6px; font-size: 30px; font-weight: 750; line-height: 1.15; letter-spacing: -0.03em; }
.eyebrow { color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.review-warning { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--warning-soft); }
.review-warning strong { color: var(--warning); font-size: 14px; }
.review-warning p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.modal-note { margin: 14px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.status-chip, .concept-label, .tag, .voice-origin { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 4px 10px; border-radius: 999px; color: var(--text-2); background: var(--surface-2); font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.approval-status { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; color: var(--text-2); background: var(--surface-2); font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.approval-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.approval-status.draft-ready { color: var(--accent-ink); background: var(--accent-soft); }
.approval-status.needs-review { color: var(--warning); background: var(--warning-soft); }
.approval-status.approved, .approval-status.sent { color: var(--success); background: var(--success-soft); }
.channel-mark { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--radius-sm); color: var(--text-2); background: var(--surface-2); font-size: 15px; font-weight: 700; }
.channel-mark.youtube { color: #fff; background: #ff0033; }
.avatar-wrap { position: relative; display: inline-flex; flex: 0 0 auto; width: 40px; height: 40px; }
.mini-avatar { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; color: var(--tone-default-ink); background: var(--tone-default); font-size: 14px; font-weight: 700; }
.mini-avatar.mint { color: var(--tone-mint-ink); background: var(--tone-mint); }
.mini-avatar.rose { color: var(--tone-rose-ink); background: var(--tone-rose); }
.mini-avatar.blue { color: var(--tone-blue-ink); background: var(--tone-blue); }
.channel-badge { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 18px; height: 18px; border: 2px solid var(--surface); border-radius: 50%; color: #fff; background: var(--muted); font-size: 7px; line-height: 1; }
.channel-badge.youtube { background: #ff0033; }
.file-icon { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--radius-sm); color: var(--violet); background: var(--violet-soft); font-size: 12px; font-weight: 700; }
.file-icon.pdf { color: var(--danger); background: var(--danger-soft); }
.file-icon.link { color: var(--info); background: var(--info-soft); }
.insight-card { padding: 22px; border-radius: var(--radius-lg); background: var(--hero-gradient); }
.insight-label { display: flex; align-items: center; gap: 6px; color: var(--accent-ink); font-size: 13px; font-weight: 700; }
.insight-label svg { width: 16px; height: 16px; }
.insight-card h3 { margin: 12px 0 8px; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.insight-card p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.insight-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.approval-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; width: 100%; padding: 12px; border: 0; border-radius: var(--radius); background: transparent; text-align: left; cursor: pointer; transition: background-color 0.15s ease; }
.approval-item + .approval-item { margin-top: 2px; }
.approval-item:hover { background: var(--surface-2); }
.approval-item.active { background: var(--accent-soft); }
.approval-item.active .channel-badge { border-color: var(--accent-soft); }
.approval-list-copy { display: grid; gap: 3px; min-width: 0; }
.approval-author { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 650; }
.approval-author small { color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.approval-question { display: -webkit-box; overflow: hidden; color: var(--text-2); font-size: 14px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.approval-foot { display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 5px; }
.approval-meta { min-width: 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.approval-detail-head { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.approval-detail-title { flex: 1; min-width: 0; }
.approval-detail-title h2 { margin: 0; font-size: 17px; font-weight: 700; }
.approval-detail-title small { display: block; overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.comment-bubble { width: fit-content; max-width: 92%; padding: 14px 18px; border-radius: 6px 20px 20px 20px; background: var(--surface-2); }
.comment-bubble p { margin: 0; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.draft-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 10px; }
.draft-heading h3 { margin: 0; font-size: 15px; font-weight: 700; }
.draft-byline { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.draft-byline svg { width: 15px; height: 15px; }
.reply-editor { display: block; width: 100%; min-height: 150px; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); outline: none; color: var(--ink); background: var(--surface); font-size: 15px; line-height: 1.6; resize: vertical; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.reply-editor:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.editor-note { display: flex; justify-content: space-between; gap: 12px; margin: 8px 2px 0; color: var(--muted); font-size: 13px; }
.approved-copy { padding: 14px 16px; border-radius: var(--radius); background: var(--surface-2); font-size: 15px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.reply-context { display: grid; margin-top: 22px; padding-top: 10px; border-top: 1px solid var(--line); }
.context-row { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
.context-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); color: var(--text-2); background: var(--surface-2); }
.context-icon svg { width: 18px; height: 18px; }
.context-row.weak .context-icon { color: var(--warning); background: var(--warning-soft); }
.context-row strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.context-row p { margin: 3px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.context-quote { font-style: italic; }
.approval-detail-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.review-primary, .review-secondary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sent-confirmation { color: var(--success); font-size: 14px; font-weight: 600; }
.voice-preview { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--accent-soft); }
.voice-preview span { color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.voice-preview p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; }
.theme-card { padding: 14px 0; border-top: 1px solid var(--line); }
.theme-card:first-child { padding-top: 0; border-top: 0; }
.theme-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; }
.theme-top span:last-child { color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.theme-bar { height: 8px; margin: 10px 0 8px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.theme-bar span { display: block; height: 100%; border-radius: inherit; background: var(--brand-gradient); }
.theme-card p { margin: 0 0 4px; color: var(--text-2); font-size: 13px; line-height: 1.5; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.chat-head small { color: var(--muted); font-size: 13px; }
.chat-bot-name { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; }
.bot-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.chat-message { display: flex; flex-direction: column; align-items: flex-start; max-width: 80%; margin: 14px 0; }
.chat-message.visitor { align-items: flex-end; margin-left: auto; }
.message-speaker { margin: 0 6px 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.message-bubble { padding: 12px 16px; border-radius: 20px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.creator-ai .message-bubble { border-bottom-left-radius: 6px; background: var(--surface-2); }
.visitor .message-bubble { border-bottom-right-radius: 6px; color: #fff; background: var(--accent); }
.chat-citation { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-top: 8px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--accent-ink); background: var(--surface); font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.chat-citation:hover { background: var(--accent-soft); }
.chat-citation svg { width: 15px; height: 15px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(15, 12, 20, 0.45); backdrop-filter: blur(4px); animation: fade-in 0.15s ease; }
.modal { width: min(480px, 100%); max-height: 90dvh; overflow-y: auto; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-lg); animation: modal-in 0.2s ease; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 4px; }
.modal-head h2 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.modal-head p { margin: 6px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.modal-body { padding: 16px 24px 24px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.toast-region { position: fixed; z-index: 80; bottom: 24px; left: 50%; display: grid; gap: 8px; transform: translateX(-50%); }
.toast { display: flex; align-items: center; gap: 10px; max-width: min(440px, calc(100vw - 32px)); padding: 12px 18px 12px 12px; border-radius: var(--radius); color: var(--surface); background: var(--ink); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500; animation: toast-in 0.2s ease; }
.toast span { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: var(--success); font-size: 12px; }
:root[data-theme="dark"] .toast span { color: var(--canvas); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  body { font-size: 14px; }
  h1 { font-size: 26px; }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal { width: 100%; max-height: 92dvh; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .toast-region { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
