:root {
  --bg: #f6f8fa;
  --card: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --primary: #0f766e;
  --primary-hover: #0d5f59;
  --amber: #b45309;
  --amber-hover: #92400e;
  --border: #d1d5db;
  --danger: #b91c1c;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; font-size: 19px; line-height: 1.5; background: var(--bg); color: var(--text); }
.topbar { background: #ffffff; border-bottom: 2px solid var(--border); padding: 14px 16px; }
.topbar-inner { max-width: 680px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.brand { font-size: 22px; font-weight: 800; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; padding: 6px 12px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #10b981; }
.container { max-width: 680px; margin: 24px auto; padding: 0 16px 48px; }
.screen { display: none; background: var(--card); border: 2px solid var(--border); border-radius: 16px; padding: 24px; }
.screen.active { display: block; }
.title { font-size: 26px; margin: 0 0 8px; }
.subtitle { color: var(--muted); margin: 0 0 22px; }
.step-tag { font-size: 15px; font-weight: 700; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; }
.big-actions { display: grid; gap: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 2px solid transparent; border-radius: 14px; padding: 16px 20px; font-size: 20px; font-weight: 700; cursor: pointer; min-height: 58px; }
.btn-xl { min-height: 76px; font-size: 22px; }
.btn-lg { min-height: 64px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-hover); }
.btn-voice { background: #eff6ff; color: #1e40af; border-color: #93c5fd; }
.btn-secondary { background: #1e40af; color: #fff; margin-top: 8px; }
.btn-ghost { background: #f3f4f6; color: var(--text); border-color: var(--border); }
.field-label { display: block; font-weight: 700; margin: 18px 0 8px; }
.input-lg { width: 100%; font-size: 20px; padding: 14px 16px; border: 2px solid var(--border); border-radius: 12px; font-family: inherit; }
.input-lg:focus { outline: 3px solid #99f6e4; border-color: var(--primary); }
.seg-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.seg-btn { padding: 14px; font-size: 18px; font-weight: 700; border: 2px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; }
.seg-btn.active { background: #ecfdf5; border-color: var(--primary); color: var(--primary); }
.readonly-pill { background: #f3f4f6; border: 2px solid var(--border); border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.nav-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 26px; }
.error-text { color: var(--danger); font-weight: 700; margin: 6px 0 0; font-size: 16px; }
.hint-text { color: var(--muted); font-size: 16px; margin: 8px 0 0; }
.hidden { display: none !important; }
.info-card, .summary-card, .done-card { margin-top: 20px; padding: 18px; border-radius: 14px; border: 2px solid var(--border); background: #f9fafb; }
.voice-quote { font-style: italic; font-weight: 600; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #e5e7eb; }
.summary-row:last-child { border-bottom: none; }
.progress-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.progress-list li { padding: 12px 14px; border-radius: 10px; background: #f3f4f6; font-weight: 600; }
.progress-list li.done { background: #ecfdf5; color: #065f46; }
.done-title { font-size: 22px; font-weight: 800; color: #065f46; margin-top: 0; }
