.hb-project-quiz {
  margin: 1.6rem 0 2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid #cedbc7;
  border-radius: 1.2rem;
  background: #e9efdf;
  color: #193428;
}
.hb-project-quiz [hidden] { display: none !important; }
.hb-quiz-intro { display: grid; grid-template-columns: minmax(0, 1fr) 10rem; gap: 1.5rem; align-items: center; }
.hb-quiz-intro h2 { max-width: 40rem; font-size: clamp(1.5rem, 2.7vw, 2.1rem); line-height: 1.15; margin: .4rem 0 .7rem; }
.hb-quiz-intro p { max-width: 44rem; line-height: 1.5; margin: .5rem 0; }
.hb-quiz-intro .hb-eyebrow { font-size: .72rem; }
.hb-quiz-art svg { display: block; width: 100%; height: auto; max-height: 8rem; }
.hb-project-quiz summary { display: inline-flex; align-items: center; min-height: 3rem; padding: .8rem 1.2rem; margin-top: .7rem; border-radius: .65rem; background: #1f4837; color: #fff; cursor: pointer; list-style: none; font-weight: 650; }
.hb-project-quiz summary::-webkit-details-marker { display: none; }
.hb-project-quiz summary:hover { background: #2a5a43; }
.hb-project-quiz summary:focus-visible, .hb-project-quiz button:focus-visible { outline: 3px solid #809b5c; outline-offset: 3px; }
.hb-quiz-collapse, .hb-project-quiz details[open] .hb-quiz-start { display: none; }
.hb-project-quiz details[open] .hb-quiz-collapse { display: inline; }
.hb-quiz-form { margin-top: 1.3rem; padding: clamp(1rem, 2.5vw, 1.8rem); border-radius: 1rem; background: #fffef9; }
.hb-quiz-progress { scroll-margin-top: 1rem; }
.hb-quiz-progress > p { margin: 0 0 .6rem; color: #52654e; font-size: .85rem; font-weight: 650; }
.hb-quiz-progress ol { display: flex; padding: 0; margin: 0 0 1.5rem; gap: .4rem; list-style: none; counter-reset: quiz; }
.hb-quiz-progress li { flex: 1; min-width: 0; padding-top: .5rem; border-top: 3px solid #e0e6da; color: #71816b; font-size: .8rem; counter-increment: quiz; }
.hb-quiz-progress li::before { content: counter(quiz) '. '; }
.hb-quiz-progress li[aria-current], .hb-quiz-progress li.is-complete { border-color: #315c40; color: #244b35; }
.hb-quiz-progress li[aria-current] { font-weight: 700; }
.hb-quiz-step { min-width: 0; padding: 0; margin: 0; border: 0; }
.hb-quiz-step + .hb-quiz-step:not([hidden]) { margin-top: 1.5rem; }
.hb-quiz-form:has([data-hb-quiz-progress]:not([hidden])) .hb-quiz-step { margin-top: 0; }
.hb-quiz-step legend { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 650; line-height: 1.3; padding: 0; margin: 0 0 .7rem; }
.hb-quiz-step legend:focus-visible { outline: 2px solid #809b5c; outline-offset: 4px; }
.hb-quiz-hint { font-size: .92rem; line-height: 1.5; color: #64755e; margin: .3rem 0 1rem; }
.hb-quiz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.hb-quiz-options > label { display: flex; align-items: center; gap: .7rem; min-height: 3rem; padding: .8rem 1rem; border: 1px solid #d6dfcf; border-radius: .7rem; background: #fff; cursor: pointer; font-size: .96rem; }
.hb-quiz-options > label:has(input:checked) { border-color: #315c40; background: #eaf0df; box-shadow: inset 0 0 0 1px #315c40; }
.hb-quiz-options input, .hb-quiz-check input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: #315c40; flex: 0 0 auto; }
.hb-quiz-containers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.hb-quiz-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding: .9rem; border: 1px solid #d6dfcf; border-radius: .7rem; background: #fff; }
.hb-quiz-container > span:first-child { font-weight: 600; }
.hb-quiz-quantity { display: inline-flex; align-items: center; gap: .3rem; }
.hb-quiz-quantity button { width: 2.7rem; height: 2.7rem; border: 1px solid #ccd8c4; border-radius: .5rem; background: #edf2e7; color: #244b35; font-size: 1.25rem; cursor: pointer; }
.hb-quiz-quantity input { width: 4rem; height: 2.7rem; border: 1px solid #ccd8c4; border-radius: .5rem; text-align: center; font: inherit; background: #fff; color: inherit; }
.hb-quiz-quantity input:disabled, .hb-quiz-quantity button:disabled { opacity: .4; cursor: default; }
.hb-quiz-check { display: flex; align-items: flex-start; gap: .7rem; margin: 1rem 0 .3rem; line-height: 1.5; font-size: .93rem; cursor: pointer; }
.hb-quiz-check input { margin-top: .18rem; }
.hb-quiz-equipment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.hb-quiz-equipment > label { display: grid; gap: .5rem; align-content: start; font-size: .92rem; }
.hb-quiz-equipment select, .hb-quiz-equipment input { width: 100%; min-width: 0; min-height: 3rem; padding: .7rem; border: 1px solid #ccd8c4; border-radius: .55rem; font: inherit; color: #244b35; background: #fff; box-sizing: border-box; }
.hb-quiz-subtitle { font-weight: 650; margin: 1.3rem 0 .7rem; }
.hb-quiz-subtitle span { font-weight: 400; font-size: .85rem; color: #64755e; }
.hb-quiz-navigation { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.hb-quiz-navigation .hb-button { min-height: 3rem; margin-left: auto; white-space: normal; text-align: center; }
.hb-quiz-back { padding: .6rem 0; background: none; border: 0; color: #315c40; text-decoration: underline; font: inherit; cursor: pointer; }
.hb-quiz-form > .hb-order-status:empty { margin: 0; }
.hb-quiz-form[aria-busy="true"] .hb-quiz-navigation { opacity: .65; }
@media (max-width: 640px) {
  .hb-quiz-intro { grid-template-columns: minmax(0, 1fr); }
  .hb-quiz-art { display: none; }
  .hb-quiz-progress li { font-size: .8rem; }
  .hb-quiz-progress li::before { display: block; }
  .hb-quiz-progress li > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .hb-quiz-options, .hb-quiz-containers, .hb-quiz-equipment { grid-template-columns: 1fr; }
  .hb-quiz-container { gap: .4rem; }
  .hb-quiz-navigation .hb-order-submit { width: 100%; order: -1; }
  .hb-quiz-form .hb-order-fields { grid-template-columns: 1fr; }
}
