.hm-container {
  --bg: #EDE8DE;
  --surface: #FAF7F0;
  --surface-2: #F1EBDD;
  --text: #2B2438;
  --muted: #6E6579;
  --line: #DCD3BE;
  --teal: #4F8C82;
  --teal-dark: #3A6C64;
  --ochre: #C7833F;
  --ochre-soft: #EFD9BB;
  --plum: #5B4570;
  --radius: 14px;
  --serif: Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --mono: ui-monospace, monospace;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  padding: 40px 20px;
  border-radius: 12px;
  margin: 30px 0;
  -webkit-font-smoothing: antialiased;
}
.hm-container * { box-sizing: border-box; }
.hm-container .hm-wrap { max-width: 720px; margin: 0 auto; }
.hm-container .hm-hero { margin-bottom: 40px; }
.hm-container .hm-eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hm-container .hm-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--teal-dark); }
.hm-container h2.hm-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 6vw, 44px); line-height: 1.12; margin: 0 0 18px; color: var(--plum); }
.hm-container p.hm-lede { font-size: 17px; color: var(--muted); max-width: 56ch; margin: 0 0 24px; }
.hm-container .hm-notice { background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--ochre); border-radius: 10px; padding: 16px 18px; font-size: 14.5px; color: var(--text); }
.hm-container .hm-notice strong { color: var(--plum); }
.hm-container .hm-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; min-height: 300px; }
@media (max-width: 560px) { .hm-container .hm-card { padding: 24px 18px; } }
.hm-container .hm-progress-row { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hm-container .hm-progress-track { flex: 1; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.hm-container .hm-progress-fill { height: 100%; background: var(--teal); width: 0%; transition: width 0.4s ease; }
.hm-container .hm-progress-label { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.hm-container .hm-axis-label { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 6px; }
.hm-container .hm-axis-title { font-family: var(--serif); font-size: 24px; color: var(--plum); margin: 0 0 24px; }
.hm-container .hm-question { margin-bottom: 26px; }
.hm-container .hm-question p { font-size: 16px; margin: 0 0 12px; }
.hm-container .hm-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 480px) { .hm-container .hm-options { grid-template-columns: repeat(2, 1fr); } }
.hm-container .hm-options.hm-options-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 480px) { .hm-container .hm-options.hm-options-3 { grid-template-columns: 1fr; } }
.hm-container .hm-opt { position: relative; }
.hm-container .hm-opt input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.hm-container .hm-opt label { display: block; text-align: center; padding: 10px 6px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--muted); background: var(--surface-2); cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.hm-container .hm-opt input:checked + label { border-color: var(--teal); background: var(--teal); color: #fff; }
.hm-container .hm-opt input:focus-visible + label { outline: 2px solid var(--plum); outline-offset: 2px; }
.hm-container .hm-nav-row { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.hm-container button { font-family: var(--sans); font-size: 14.5px; font-weight: 600; padding: 11px 22px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: opacity 0.15s, transform 0.1s; }
.hm-container button:active { transform: translateY(1px); }
.hm-container button:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.hm-container .hm-btn-primary { background: var(--teal); color: #fff; }
.hm-container .hm-btn-primary:hover { background: var(--teal-dark); }
.hm-container .hm-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.hm-container .hm-btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.hm-container .hm-btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.hm-container .hm-btn-ghost:disabled { opacity: 0; pointer-events: none; }
.hm-container .hm-results h3 { font-family: var(--serif); font-size: 28px; color: var(--plum); margin: 0 0 8px; }
.hm-container .hm-results .hm-sub { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.hm-container .hm-compass-wrap { display: flex; justify-content: center; margin: 8px 0 32px; }
.hm-container .hm-verdicts { display: flex; flex-direction: column; gap: 16px; margin-bottom: 8px; }
.hm-container .hm-verdict-card { background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 10px; padding: 20px 22px; }
.hm-container .hm-verdict-card .hm-vc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.hm-container .hm-verdict-card .hm-vc-name { font-family: var(--serif); font-size: 20px; color: var(--plum); margin: 0; }
.hm-container .hm-verdict-badge { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; color: #fff; white-space: nowrap; }
.hm-container .hm-verdict-card .hm-vc-text { font-size: 15px; color: var(--text); margin: 0 0 4px; }
.hm-container .hm-detail-toggle { background: none; border: none; color: var(--teal-dark); font-weight: 600; font-size: 14px; padding: 0; cursor: pointer; margin: 24px 0 4px; text-decoration: underline; }
.hm-container .hm-detail-panel { margin-top: 16px; }
.hm-container .hm-detail-panel.hm-hidden { display: none; }
.hm-container .hm-detail-intro { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.hm-container .hm-compass-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; max-width: 420px; margin: 0 auto 28px; }
@media (max-width: 480px) { .hm-container .hm-compass-legend { grid-template-columns: 1fr; } }
.hm-container .hm-compass-legend .hm-leg-item { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; }
.hm-container .hm-compass-legend .hm-leg-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 4px; }
.hm-container .hm-compass-legend .hm-leg-text strong { color: var(--text); }
.hm-container .hm-compass-legend .hm-leg-text .hm-leg-group { color: var(--muted); font-size: 12px; }
.hm-container .hm-axis-results { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.hm-container .hm-axis-result-row .hm-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.hm-container .hm-axis-result-row .hm-top .hm-name { font-weight: 600; font-size: 15px; }
.hm-container .hm-axis-result-row .hm-top .hm-pct { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.hm-container .hm-bar-track { height: 8px; background: var(--surface-2); border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.hm-container .hm-bar-fill { height: 100%; border-radius: 8px; }
.hm-container .hm-axis-result-row .hm-blurb { font-size: 14.5px; color: var(--muted); margin: 0; }
.hm-container .hm-closing { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.hm-container .hm-closing strong { color: var(--text); }
.hm-container .hm-restart-row { margin-top: 24px; }
.hm-container .hm-credit { text-align: center; margin-top: 40px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; }