.dh-check {
  box-sizing: border-box;
  width: min(100%, 53rem);
  margin: 2rem auto;
  padding: clamp(1.15rem, 3vw, 2.5rem);
  border: 1px solid #d9ede2;
  border-radius: 1.25rem;
  background: #f8fcfa;
  color: #102f1e;
  text-align: left;
}
.dh-check h2 { margin: 0 0 .65rem; }
.dh-check p { margin: .4rem 0 1.15rem; }
.dh-check fieldset { min-width: 0; border: 0; border-top: 1px solid #d9ede2; margin: 1.5rem 0; padding: 0; }
.dh-check legend { max-width: 100%; margin-bottom: .75rem; padding: .5rem .65rem .5rem 0; font-size: 1.05rem; line-height: 1.5; font-weight: 750; color: #102f1e; }
.dh-choice-list { display: grid; gap: .45rem; }
.dh-check label { display: flex; align-items: flex-start; gap: .65rem; padding: .75rem .85rem; border: 1px solid #d4e8dd; border-radius: .65rem; background: white; font-size: 1rem; line-height: 1.5; cursor: pointer; color: #234533; }
.dh-check label:has(input:checked) { border-color: #36a168; background: #effaf4; }
.dh-check label:focus-within { outline: 2px solid #36a168; outline-offset: 2px; }
.dh-check input[type=radio] { appearance: auto; accent-color: #36a168; margin: .22em 0 0; width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.dh-check-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.dh-check button { border: 1px solid #36a168; border-radius: .65rem; padding: .65rem 1rem; background: #36a168; color: white; font-weight: 700; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.dh-check [data-reset] { color: #2a7d50; background: white; }
.dh-check [data-result] { padding: 1rem; margin-top: 1rem; border-radius: .65rem; background: white; border-left: .24rem solid #36a168; }
.dh-check [data-result] h3 { margin: 0 0 .4rem; }
.dh-check [data-result] p { margin-bottom: 0; }
.dh-check [data-result] ul { list-style: disc; padding-left: 1.25rem; }
.dh-check [data-result] li { margin-top: .65rem; }
.dh-check [data-guidance] { padding: .65rem .9rem; margin: .45rem 0 0; background: white; border-left: .2rem solid #36a168; }
.dh-check [data-error]:empty { display: none; }
.dh-check [data-error] { color: #963417; font-weight: 700; }
.dh-check [hidden] { display: none !important; }
.dh-check [data-position]{font:700 .88rem/1.5 Inter,Arial,sans-serif;color:#3e6451;margin:.75rem 0}
.dh-check fieldset{margin:.5rem 0 .8rem}
.dh-check [data-prev],.dh-check [data-reset]{color:#19432d;background:white;border-color:#a6c3af}
.dh-check [data-grade]{background:#19432d;border-color:#19432d}
.dh-check [data-finish]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:1rem}
.dh-check [data-state=review] [data-guidance]{background:#fff8df;border-color:#b79129}
.lesson-panel .dh-check{margin:0 0 15px;padding:0;border:0;background:white}
.dh-check label:hover{background:#f1f6e8}
