.hc-check {
  --hc-ink: #294a46;
  --hc-muted: #566762;
  color: var(--hc-ink);
  scroll-margin-top: var(--header-height, 100px);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hc-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(80px, 10vw, 120px);
  align-items: center;
  gap: 12px;
  padding: clamp(20px, 2.5vw, 32px) clamp(22px, 4vw, 54px);
  border-radius: 24px;
  background: #f5eade;
  text-align: left;
}
.hc-intro-copy { padding-block: 14px; }
.hc-check .hc-intro :is(h1, h2) {
  max-width: none;
  margin: 0;
  font-size: clamp(26px, 3.3vw, 42px);
  line-height: 1.23;
  letter-spacing: -.045em;
  color: var(--hc-ink);
}
.hc-check .hc-intro-copy > p {
  max-width: 40em;
  margin: 10px 0 0;
  color: #505e54;
  font-size: 16px;
  line-height: 1.6;
}
.hc-art { display: block; width: 100%; height: auto; aspect-ratio: 1; }

.hc-check .hc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 16px; margin-top: 18px; }
.hc-check :is(.hc-two, .hc-four) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hc-check .hc-card {
  --hc-accent: #93523b;
  --hc-tint: #f8e9de;
  min-width: 0;
  margin: 0;
  padding: clamp(16px, 1.7vw, 24px);
  border: 1px solid #dedfd6;
  border-radius: 18px;
  background: #fffefa;
}
.hc-card:nth-child(2) { --hc-accent: #3e625e; --hc-tint: #e5eee8; }
.hc-card:nth-child(3) { --hc-accent: #715d38; --hc-tint: #f3ead3; }
.hc-card:nth-child(4) { --hc-accent: #75556a; --hc-tint: #f2e7ed; }
.hc-check .hc-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
}
.hc-check .hc-card-head :is(h2, h3, h4) {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.04em;
  color: var(--hc-ink);
}
.hc-check .hc-card-head p { margin: 4px 0 0; color: var(--hc-muted); font-size: 14px; line-height: 1.5; }
.hc-check .hc-icon {
  position: static;
  display: grid;
  flex: none;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: var(--hc-accent);
  background: var(--hc-tint);
}
.hc-icon svg { display: block; width: 30px; height: 30px; }
.hc-check .hc-choices { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.hc-check .hc-choices label {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid #d9ded5;
  border-radius: 10px;
  background: #fff;
  color: #30423e;
  font-size: 16px;
  line-height: 1.55;
  cursor: pointer;
}
.hc-check .hc-choices input[type="checkbox"] {
  position: static;
  opacity: 1;
  flex: none;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--hc-accent);
}
.hc-check .hc-choices label:has(:checked) {
  border-color: var(--hc-accent);
  background: var(--hc-tint);
  color: #233f3b;
  font-weight: 700;
}
.hc-check .hc-choices label:has(:focus-visible) { outline: 3px solid #2b5d69; outline-offset: 2px; }
@media (hover: hover) {
  .hc-check .hc-choices label:hover { border-color: var(--hc-accent); }
}
.hc-check .pattern-actions:not([hidden]) { justify-content: center; margin: 20px auto 0; }
.hc-check .pattern-actions .btn { min-height: 44px; border-radius: 22px; }
.hc-check .pattern-prompt { text-align: center; }
.hc-check .pattern-card { margin-top: 20px; border-radius: 18px; background: #eef3ec; }
.hc-check .menstrual-result-groups > div { align-items: center; padding: 9px 13px; border-radius: 10px; background: #fffefa; }

@media (max-width: 850px) {
  .hc-check .hc-grid { grid-template-columns: 1fr; gap: 12px; }
  .hc-check .hc-card-head { flex-direction: row; align-items: center; gap: 14px; }
}
@media (max-width: 600px) {
  .hc-intro { grid-template-columns: minmax(0, 1fr) clamp(48px, 14vw, 68px); gap: 8px; padding: 18px 16px; border-radius: 16px; }
  .hc-intro-copy { padding: 0; }
  .hc-check .hc-intro-copy > p { font-size: 15px; }
  .hc-check .hc-grid { margin-top: 12px; }
  .hc-check .hc-card { padding: 18px 16px; }
}
