:root {
  --bg: #0f1220;
  --panel: #171b2e;
  --border: #2a3050;
  --text: #e8eaf5;
  --muted: #9aa0c0;
  --accent: #6c8dff;
  --warn-bg: #3a2a12;
  --warn-border: #8a6a1f;
  --warn-text: #f2c66d;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
header h1 { font-size: 1.1rem; margin: 0; }
.stamp { font-size: .8rem; color: var(--muted); }
main { max-width: 780px; margin: 0 auto; padding: 1.5rem; }
.disclaimer {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-text);
  padding: .9rem 1rem;
  border-radius: 8px;
  font-size: .85rem;
  margin-bottom: 1.25rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.q { margin-bottom: 1.5rem; }
.q label { display: block; margin-bottom: .5rem; font-weight: 600; }
.q .help { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.q .opts button {
  margin-right: .5rem;
  margin-bottom: .5rem;
}
button {
  background: var(--accent);
  color: white;
  border: none;
  padding: .55rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: .9rem;
}
button.secondary { background: transparent; border: 1px solid var(--border); color: var(--text); }
button.selected { outline: 2px solid #fff; }
button:hover { opacity: .9; }
.lang-toggle { display: flex; gap: .5rem; }
.result-section h3 { margin-top: 1.75rem; border-bottom: 1px solid var(--border); padding-bottom: .35rem; }
.template { border-left: 3px solid var(--accent); padding-left: .9rem; margin-bottom: 1rem; }
.template .placement { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.copy-btn { font-size: .75rem; padding: .3rem .6rem; margin-top: .4rem; }
.checklist li { margin-bottom: .5rem; }
.checklist .src { font-size: .75rem; color: var(--muted); }
.icon-row { display: flex; gap: .75rem; flex-wrap: wrap; margin: .75rem 0; }
.icon-row .icon-item { text-align: center; font-size: .7rem; color: var(--muted); }
.icon-row img, .icon-row svg { width: 48px; height: 48px; display: block; margin-bottom: .25rem; }
footer { text-align: center; padding: 2rem 1rem; font-size: .75rem; color: var(--muted); }
a { color: var(--accent); }
.progress { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
