:root {
  color: #24302d;
  background: #f5f2ec;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { width: min(100% - 40px, 760px); margin: 0 auto; padding: 24px 0 56px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 96px; }
.brand { color: #315c51; font-size: 14px; font-weight: 750; letter-spacing: .08em; }
.pause-button, .text-button { border: 0; background: transparent; color: #59706a; padding: 8px 0; }
.pause-button { font-size: 13px; }
.view { display: none; max-width: 640px; margin: 0 auto; }
.view.is-visible { display: block; }
.eyebrow, .step-label, .translation-block span, .understanding-grid span { color: #7b8882; font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
h1, h2 { color: #1f302b; font-weight: 500; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: clamp(40px, 8vw, 68px); margin: 16px 0; }
h2 { font-size: clamp(30px, 5vw, 44px); margin: 16px 0 32px; }
.intro { color: #6a7771; font-size: 17px; max-width: 460px; margin: 0 0 28px; }
textarea { display: block; width: 100%; resize: vertical; border: 1px solid #d6d6ce; border-radius: 6px; background: #fffdf9; color: #24302d; outline: none; }
textarea:focus { border-color: #537b6d; box-shadow: 0 0 0 3px rgba(83, 123, 109, .12); }
.large-input { min-height: 190px; padding: 18px; margin-bottom: 14px; }
.form-error { min-height: 20px; margin: -4px 0 10px; color: #9a4d45; font-size: 13px; }
.short-input { min-height: 100px; padding: 14px; margin: 24px 0; }
.primary-button, .choice-button { border: 1px solid #315c51; border-radius: 5px; background: #315c51; color: #fff; padding: 13px 18px; }
.primary-button { min-width: 160px; }
.primary-button:disabled { cursor: wait; opacity: .65; }
.choice-list { display: grid; gap: 10px; }
.choice-button { background: #fffdf9; color: #315c51; text-align: left; }
.choice-button:hover, .choice-button:focus { background: #e9f0eb; }
.choice-button.is-selected { background: #dcebe1; box-shadow: inset 0 0 0 1px #315c51; }
.confirmation-status { min-height: 22px; color: #59706a; font-size: 13px; margin: 14px 0; }
.copy-status { min-height: 22px; color: #59706a; font-size: 13px; }
.ai-message { border-left: 3px solid #9ab7a8; color: #385049; background: #edf2ed; padding: 18px 20px; margin: 24px 0; }
.question { font-size: 19px; margin: 0 0 16px; }
.secondary-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.text-button { text-decoration: underline; text-underline-offset: 3px; }
.understanding-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #d8d9d0; margin-bottom: 28px; }
.understanding-grid label { min-height: 130px; background: #fffdf9; padding: 18px; }
.understanding-grid textarea { min-height: 68px; border: 0; background: transparent; padding: 10px 0 0; resize: vertical; }
.understanding-grid p, .translation-block p { margin: 10px 0 0; color: #40514b; }
.translation-block { border-top: 1px solid #d1d5cb; padding: 20px 0; }
.translation-block:last-of-type { border-bottom: 1px solid #d1d5cb; margin-bottom: 24px; }
@media (max-width: 560px) { .app-shell { width: min(100% - 28px, 760px); padding-top: 16px; } .topbar { margin-bottom: 64px; } .understanding-grid { grid-template-columns: 1fr; } }
