* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f3a4a;
  padding: 14px;
}
#app {
  max-width: 400px;
  width: 100%;
  background: #164a5c;
  border-radius: 18px;
  padding: 20px 20px 26px;
}

.logo-wrap { display: flex; justify-content: center; margin-bottom: 16px; }
.logo-chip { background: #f4efe3; border-radius: 10px; padding: 8px 16px; display: inline-flex; }
.logo-chip img { height: 24px; display: block; }

.header { text-align: center; margin-bottom: 20px; }
.date { font-size: 12px; color: #a9c6cf; letter-spacing: .04em; margin-bottom: 6px; }
.title { font-size: 19px; font-weight: 600; color: #f4efe3; line-height: 1.4; }

.progress { display: flex; gap: 6px; margin-bottom: 24px; }
.progress div { flex: 1; height: 5px; border-radius: 3px; background: rgba(244,239,227,0.25); }
.progress div.filled { background: #f4efe3; }

.question-card { background: #f4efe3; border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.q-label { font-size: 12px; color: #8a6a3a; font-weight: 600; margin-bottom: 10px; letter-spacing: .03em; }
.q-text { font-size: 16px; color: #1c2b2f; font-weight: 600; line-height: 1.5; margin-bottom: 16px; }

.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  border: 1px solid #cfc7b2;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 15px;
  color: #5c574a;
  cursor: pointer;
  transition: all 0.15s;
  background: transparent;
  text-align: left;
  font-family: inherit;
}
.option:active { background: rgba(15,58,74,0.08); }
.option.selected { border: 2px solid #0f3a4a; color: #0f3a4a; font-weight: 600; }

.escala-options { display: flex; gap: 8px; margin-bottom: 8px; }
.escala-options .option { flex: 1; text-align: center; padding: 13px 6px; }
.escala-legenda { display: flex; justify-content: space-between; font-size: 11px; color: #8a6a3a; }

.wordcloud-box { background: rgba(244,239,227,0.12); border: 1px dashed rgba(244,239,227,0.4); border-radius: 14px; padding: 16px; margin-bottom: 16px; }
.wc-label { font-size: 12px; color: #a9c6cf; font-weight: 600; margin-bottom: 8px; letter-spacing: .03em; }
.wc-words { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }

.idea-box { background: rgba(244,239,227,0.08); border-radius: 14px; padding: 16px; margin-bottom: 20px; }
.idea-label { font-size: 12px; color: #a9c6cf; font-weight: 600; margin-bottom: 8px; letter-spacing: .03em; }
.idea-text { font-size: 13px; color: #e4dfd0; line-height: 1.5; margin-bottom: 10px; }

textarea, input[type=text] {
  width: 100%;
  background: rgba(244,239,227,0.9);
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #1c2b2f;
  font-family: inherit;
}
textarea { height: 70px; resize: none; }

.nav { display: flex; justify-content: space-between; align-items: center; }
.nav-prev { font-size: 14px; color: #a9c6cf; cursor: pointer; background: none; border: none; font-family: inherit; padding: 8px 0; }
.nav-next {
  background: #f4efe3;
  color: #0f3a4a;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-next:disabled { background: rgba(244,239,227,0.4); color: #164a5c; cursor: not-allowed; }

.cartao { background: rgba(244,239,227,0.12); border-radius: 14px; padding: 16px; margin-bottom: 14px; color: #f4efe3; }
.cartao.ok { font-weight: 600; }
.sub { color: #a9c6cf; font-size: 13px; line-height: 1.5; }
.erro { color: #e8b4a8; font-size: 13px; margin-top: 8px; }
