.sg-bio-calc { max-width: 880px; margin: 0 auto; }

.sg-h { margin: 0 0 6px; font-size: 22px; }
.sg-sub { margin: 0 0 14px; opacity: .85; }

.sg-progress {
  border: 1px solid rgba(0,0,0,.10);
  padding: 12px;
  border-radius: 18px;
  margin-bottom: 14px;
}
.sg-progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  overflow: hidden;
}
.sg-progress-bar {
  height: 100%;
  background: rgba(0,0,0,.35);
  width: 33%;
  transition: width .25s ease;
  border-radius: 999px;
}
.sg-progress-steps {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}
.sg-step {
  width: 30px; height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.15);
  opacity: .6;
  font-weight: 800;
}
.sg-step.is-active { opacity: 1; }

.sg-panel {
  display: none;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 16px;
}
.sg-panel.is-active { display: block; }

.sg-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) {
  .sg-grid { grid-template-columns: 1fr; }
}

.sg-bio-calc label { display:block; font-weight: 700; }

.sg-bio-calc select,
.sg-bio-calc textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 12px;
}

.sg-bio-calc textarea { resize: vertical; }

.sg-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}
.sg-actions-bottom { justify-content: flex-start; margin-top: 10px; }

.sg-btn {
  padding: 12px 16px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}
.sg-ghost {
  background: transparent;
  border: 1px solid rgba(0,0,0,.18);
}

.sg-submit { width: 100%; margin-top: 10px; }

.sg-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px;
}
.sg-check input { margin-top: 3px; }

.sg-form-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(200,0,0,.25);
}

.sg-bio-result { margin-top: 16px; }
.sg-bio-loading { padding: 10px 12px; opacity: .8; }

.sg-card {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
}
.sg-card-hero { margin-top: 0; }
.sg-score { font-size: 18px; }
.sg-dx { margin-top: 6px; opacity: .9; }

.sg-day { margin-top: 10px; }
.sg-rec { margin-top: 10px; }
.sg-why { opacity: .9; margin-top: 4px; }

.sg-note { margin-top: 10px; font-size: 13px; opacity: .75; }

.sg-error {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(200,0,0,.25);
}

.sg-pre {
  margin-top: 10px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 260px;
  overflow: auto;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
}
