.life-wheel {
  max-width: 930px;
  margin: clamp(32px, 7vw, 84px) auto 0;
  padding: clamp(16px, 4vw, 42px);
  border: 1px solid #d5e0d7;
  background: #f5f8f4;
  color: #233832;
  font: 1rem/1.5 system-ui, sans-serif;
}

.life-wheel-heading h2 {
  margin: 0 0 10px;
  font: 600 clamp(1.75rem, 4vw, 2.65rem)/1.08 Georgia, serif;
  letter-spacing: -.025em;
}

.life-wheel-heading p {
  max-width: 62ch;
  margin: 0;
  color: #455b51;
}

.life-wheel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: start;
  gap: clamp(16px, 4vw, 38px);
  margin-top: 20px;
}

.life-wheel-fields {
  display: grid;
  gap: 6px;
}

.life-wheel-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 4rem;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding-bottom: 5px;
  border-bottom: 1px solid #dce5dc;
}

.life-wheel-number {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--wheel-accent, #496d5c);
  border-radius: 50%;
  color: #2f4d3e;
  font-size: .8125rem;
  font-weight: 650;
}

.life-wheel-name {
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.life-wheel-field input {
  width: 100%;
  min-height: 44px;
  padding: 5px 7px;
  border: 1px solid #aebfb4;
  border-radius: 4px;
  background: #fff;
  color: #263d32;
  font: inherit;
}

.life-wheel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.life-wheel-actions button {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #9db8a8;
  border-radius: 4px;
  background: #fff;
  color: #294737;
  font: 650 .9375rem/1.3 system-ui, sans-serif;
  cursor: pointer;
}

.life-wheel-actions button[type="submit"] {
  border-color: #244535;
  background: #244535;
  color: #fff;
}

.life-wheel-actions button:hover { filter: brightness(.92); }

.life-wheel :is(input, button, select):focus-visible {
  outline: 2px solid #187174;
  outline-offset: 3px;
}

.life-wheel-figure {
  margin: 0;
  min-width: 0;
  text-align: center;
}

.life-wheel-figure canvas {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin-inline: auto;
}

.life-wheel-figure figcaption {
  color: #455b51;
  font-size: .875rem;
}

.life-wheel-empty {
  margin: 10px 0 0;
  color: #455b51;
  font-size: .9375rem;
}

.life-wheel-result {
  margin-top: 16px;
  padding: clamp(12px, 2.3vw, 18px);
  border: 1px solid #d5e0d7;
  border-radius: 6px;
  background: #fff;
  text-align: left;
}

.life-wheel-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #dce5dc;
  color: #455b51;
  font-size: .875rem;
}

.life-wheel-total strong {
  color: #244535;
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}

.life-wheel-assessment h3 {
  margin: 0 0 6px;
  font: 600 1.25rem/1.2 Georgia, serif;
}

.life-wheel-assessment p {
  margin: 0;
  color: #455b51;
  font-size: .9375rem;
}

.life-wheel-focus {
  margin: 10px 0 0;
  font-size: .875rem;
  font-weight: 650;
}

@media (max-width: 680px) {
  .life-wheel-layout { grid-template-columns: minmax(0, 1fr); }
}

.life-wheel-choice:not([hidden]) {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: .875rem;
  text-align: left;
}

.life-wheel-choice select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 5px 8px;
  border: 1px solid #aebfb4;
  border-radius: 4px;
  background: #fff;
  color: #263d32;
  font: inherit;
}

.life-wheel-advice p {
  margin-top: 12px;
  margin-bottom: 0;
  padding: 14px;
  border: 1px solid #d5e0d7;
  border-inline-start: 3px solid var(--wheel-advice-accent, #496d5c);
  border-radius: 4px;
  background: #fff;
  color: #455b51;
  font-size: .9375rem;
  text-align: left;
}
