@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}
:root {
  font-family: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
  color: oklch(.205 0 none);
  background: white;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: oklch(.205 0 none);
  --muted: oklch(.556 0 none);
  --line: oklch(.922 0 none);
  --paper: white;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
body:has(.sign-in), body:has(.password-setup) { background: white; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .58; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid oklch(.205 0 none); outline-offset: 2px; }
h1, h2, p { margin: 0; }
.wordmark { font-size: 20px; font-weight: 600; letter-spacing: -.16px; color: var(--ink); }
.small-wordmark { font-size: 20px; }
.sign-in, .password-setup { min-height: 100vh; display: grid; place-content: start center; width: min(520px, calc(100% - 48px)); margin: auto; padding-top: 48px; background: white; }
.sign-in-form, .password-form { display: grid; gap: 22px; width: 321px; max-width: 100%; }
.sign-in-form h1, .password-form h1 { color: oklch(.205 0 none); font-family: "Inter Variable", ui-sans-serif, system-ui, sans-serif; font-feature-settings: "calt", "cv02", "cv03", "cv04"; font-size: 24px; font-weight: 600; letter-spacing: -.16px; line-height: 32px; text-align: center; text-wrap: balance; -webkit-font-smoothing: antialiased; }
.invitation-email { color: oklch(.556 0 none); font-size: 14px; font-weight: 400; letter-spacing: -.16px; line-height: 21px; text-align: center; }
.sign-in label, .password-setup label { color: #222; font-size: 16px; font-weight: 500; }
.sign-in input, .password-setup input { height: 40px; border: 0; border-radius: 8px; box-shadow: rgba(0, 0, 0, 0) 0 0 0 0, rgba(0, 0, 0, 0) 0 0 0 0, rgba(0, 0, 0, 0) 0 0 0 0, oklch(.145 0 0 / .1) 0 0 0 1px, rgba(0, 0, 0, .05) 0 1px 2px 0; color: oklch(.205 0 none); padding: 8px 16px; font-size: 14px; line-height: 21px; letter-spacing: -.16px; }
.sign-in .primary, .password-setup .primary { display: flex; align-items: center; justify-content: center; min-height: 40px; border: 0; border-radius: 8px; box-shadow: rgba(0, 0, 0, 0) 0 0 0 0, rgba(0, 0, 0, 0) 0 0 0 0, rgba(0, 0, 0, 0) 0 0 0 0, oklch(.145 0 0 / .1) 0 0 0 1px, rgba(0, 0, 0, .05) 0 1px 2px 0; background: white; color: oklch(.205 0 none); padding: 8px 16px; font-size: 14px; font-weight: 500; line-height: 21px; letter-spacing: -.14px; }
label { display: grid; gap: 7px; font-size: 14px; font-weight: 650; }
input, textarea, select { width: 100%; border: 0; border-radius: 8px; box-shadow: oklch(.145 0 0 / .1) 0 0 0 1px, rgba(0, 0, 0, .05) 0 1px 2px; color: var(--ink); background: white; padding: 8px 16px; resize: vertical; font: inherit; font-size: 14px; line-height: 21px; }
.primary, .secondary, .choice { border-radius: 8px; padding: 8px 16px; font-weight: 500; min-height: 40px; }
.primary { color: var(--ink); background: white; border: 0; box-shadow: oklch(.145 0 0 / .1) 0 0 0 1px, rgba(0, 0, 0, .05) 0 1px 2px; }
.secondary { color: var(--ink); background: white; border: 1px solid var(--line); }
.choice { color: var(--ink); background: white; border: 1px solid #c8d1ca; font-size: 14px; padding: 7px 12px; }
.small { justify-self: start; padding: 8px 14px; }
.form-status { min-height: 21px; color: #9b342c; font-size: 14px; }
.shell { min-height: 100vh; }
.topbar { height: 64px; padding: 0 max(24px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: white; }
.account { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--muted); }
.text-button { border: 0; padding: 7px 0; color: var(--ink); background: transparent; font-weight: 650; }
.question-workspace { width: min(520px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0; }
.question-form { display: grid; gap: 24px; }
.question-form h1, .question-workspace > h1 { font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -.16px; text-wrap: balance; }
.question-choices { display: grid; gap: 10px; }
.question-choice { min-height: 48px; border: 1px solid var(--line); border-radius: 8px; background: white; padding: 12px 16px; color: var(--ink); text-align: left; font: inherit; }
.question-choice.selected { box-shadow: var(--ink) 0 0 0 1px; }
.question-form .primary { justify-self: start; }
.admin-workspace { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 80px; }
.admin-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; }
.admin-editor { display: grid; gap: 18px; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.admin-editor h2, .admin-table-section h1 { font-size: 20px; line-height: 28px; }
.checkbox-label { display: flex; align-items: center; gap: 9px; }
.checkbox-label input { width: 16px; height: 16px; padding: 0; box-shadow: none; }
.admin-table-section { display: grid; gap: 20px; min-width: 0; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 13px 12px; text-align: left; vertical-align: top; }
.admin-table th { color: var(--muted); font-weight: 500; }
.admin-table-section { overflow-x: auto; }
.form-hint { color: var(--muted); font-size: 13px; line-height: 1.5; }
.recommendation-tools { display: grid; gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.recommendation-settings { display: grid; gap: 16px; max-width: 620px; }
.recommendation-settings p, .recommendation-tools section > p { line-height: 1.5; }
.recommendation-settings .primary, .preview-form .primary { justify-self: start; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 24px; }
.preview-form { display: grid; gap: 16px; max-width: 520px; margin: 24px 0; }
.selection-reason { margin: 14px 0; color: var(--muted); }
.preview-history { line-height: 1.7; }
.recommendation-tools details p { margin: 12px 0; }
.response-card { border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-top: 16px; overflow-wrap: anywhere; }
.response-card p { margin-top: 10px; }
.workspace { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 54px 0 80px; }
.intro { margin-bottom: 30px; }
.eyebrow { color: var(--muted); font-size: 14px; margin-bottom: 7px; }
.intro h1 { font-family: Georgia, serif; font-size: 45px; line-height: 1; letter-spacing: -1.5px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 25px; }
.panel h2 { font-size: 17px; margin-bottom: 22px; }
.message-list { display: grid; gap: 16px; }
.message { border: 1px solid var(--line); border-radius: 13px; padding: 19px; background: white; }
.message.reply { margin-left: 42px; background: #f6f8f3; }
.message-meta { color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.message-text { font-size: 17px; line-height: 1.55; white-space: pre-wrap; }
.reply-form { display: grid; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.reply-options { display: flex; flex-wrap: wrap; gap: 8px; }
.reply-form label { color: var(--muted); font-size: 13px; }
.integration-body { display: grid; gap: 13px; }
.status-line { font-weight: 700; }
.muted, .empty { color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 760px) {
  .topbar { padding: 0 18px; }
  .account span { display: none; }
  .workspace { width: min(100% - 30px, 600px); padding-top: 35px; }
  .admin-layout { grid-template-columns: 1fr; }
  .intro h1 { font-size: 38px; }
  .content-grid { grid-template-columns: 1fr; }
  .integration { grid-row: 1; }
  .panel { padding: 20px; }
  .message.reply { margin-left: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
