/* Zonal Meet feedback , phone first. Designed for one thumb, in a dim
   banquet hall, on hotel wifi that may not work. Nothing below depends on a
   webfont or a network call to be legible. */

:root {
  --primary: #0E3A2F;
  --primary-light: #1B7A5A;
  --accent: #78FAAE;
  --ink: #0A0A0A;
  --muted: #6B7280;
  --line: #E5E7EB;
  --paper: #FFFFFF;
  --radius: 14px;
  --tap: 56px;               /* never smaller. dim room, moving thumbs */
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ---------- header ---------- */
.head { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.head .brandline {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.head .brandline img { height: 22px; width: auto; }
.head h1 { margin: 12px 0 4px; font-size: 24px; line-height: 1.2; font-weight: 650; }
.head p  { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- questions ---------- */
.q { padding: 22px 0; border-bottom: 1px solid var(--line); }
.q:last-of-type { border-bottom: 0; }
.q .label { font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.q .hint  { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.scale { display: flex; gap: 8px; }
.scale button {
  flex: 1;
  height: var(--tap);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font: 600 19px/1 inherit;
  color: var(--ink);
  cursor: pointer;
  transition: transform .1s ease, background .12s ease, border-color .12s ease;
}
.scale button:active { transform: scale(.94); }
.scale button[aria-pressed='true'] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
/* Word labels under the ends only. Labelling all five crowds the row. */
.scale-ends {
  display: flex; justify-content: space-between;
  margin-top: 8px; font-size: 12px; color: var(--muted);
}

/* ---------- comment ---------- */
.comment { padding: 22px 0 4px; }
.comment label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.comment textarea {
  width: 100%; min-height: 96px; padding: 12px 14px; resize: vertical;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: var(--paper);
}
.comment textarea:focus { outline: none; border-color: var(--primary-light); }
.comment .count { text-align: right; font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- submit ---------- */
.foot { margin-top: auto; padding-top: 24px; }
.submit {
  width: 100%; height: 58px;
  border: 0; border-radius: var(--radius);
  background: var(--primary); color: #fff;
  font: 650 18px/1 inherit; cursor: pointer;
  transition: opacity .15s ease, transform .1s ease;
}
.submit:active { transform: scale(.985); }
.submit:disabled { opacity: .38; cursor: default; }
.progress { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- states ---------- */
.state { text-align: center; padding: 64px 8px; }
.state .mark {
  width: 76px; height: 76px; margin: 0 auto 22px;
  border-radius: 50%; background: var(--primary);
  display: grid; place-items: center;
}
.state .mark svg { width: 36px; height: 36px; stroke: #fff; stroke-width: 3; fill: none; }
.state h2 { margin: 0 0 8px; font-size: 24px; font-weight: 650; }
.state p  { margin: 0; color: var(--muted); font-size: 15px; }

.banner {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--radius);
  background: #FEF3C7; color: #78350F; font-size: 14px;
}
.banner.err { background: #FEE2E2; color: #7F1D1D; }

.hidden { display: none !important; }

/* Respect the reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
