.assessment-head { margin-bottom: 18px; }
.assessment-head h1 { font-size: var(--fs-h3); font-weight: 700; margin: 0 0 6px; }
.assessment-head p { font-size: var(--fs-small); color: var(--color-text-muted); margin: 0; }

.bmi-preview {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--color-primary-light);
  border-radius: 18px;
  padding: 16px 18px;
  margin: 20px 0 4px;
}
.bmi-preview .label { font-size: var(--fs-note); font-weight: 700; color: var(--color-text-muted); }
.bmi-preview .value { font-size: var(--fs-h2); font-weight: 800; color: var(--color-text); }

.hm-slider-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hm-slider-row .value { font-size: var(--fs-body); font-weight: 700; color: var(--color-primary); }
input[type="range"].hm-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 6px;
  background: #E3EAF2;
  outline: none;
  margin-bottom: 4px;
}
input[type="range"].hm-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
input[type="range"].hm-slider::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; }
.toggle-row .name { font-size: var(--fs-small); font-weight: 600; }
.hm-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.hm-switch input { opacity: 0; width: 0; height: 0; }
.hm-switch .track { position: absolute; inset: 0; background: #DCE6F0; border-radius: 999px; transition: background 0.2s var(--ease); cursor: pointer; }
.hm-switch .track::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s var(--ease); box-shadow: var(--shadow-sm); }
.hm-switch input:checked + .track { background: var(--color-primary); }
.hm-switch input:checked + .track::before { transform: translateX(20px); }

/* Analyzing screen */
.analyzing-shell { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 28px; min-height: 100vh; }
.analyzing-ring { width: 120px; height: 120px; border-radius: 50%; border: 6px solid var(--color-primary-light); border-top-color: var(--color-primary); animation: spin 1s linear infinite; margin-bottom: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.analyzing-shell h1 { font-size: var(--fs-h3); margin: 0 0 8px; }
.analyzing-shell p { font-size: var(--fs-small); color: var(--color-text-muted); margin: 0 0 28px; }
.analyzing-checklist { text-align: left; width: 100%; max-width: 280px; }
.analyzing-checklist .step { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: var(--fs-small); color: var(--color-text-muted); }
.analyzing-checklist .step.done { color: var(--color-text); font-weight: 600; }
.analyzing-checklist .step.active { color: var(--color-primary); font-weight: 600; }
.analyzing-checklist .dot { width: 18px; height: 18px; border-radius: 50%; background: #E3EAF2; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; }
.analyzing-checklist .step.done .dot { background: var(--color-success); }
.analyzing-checklist .step.active .dot { background: var(--color-primary); }

/* Report */
.report-ring-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 0 24px; }
.report-ring { width: 160px; height: 160px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 14px; }
.report-ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--color-bg); }
.report-ring b { position: relative; z-index: 1; font-size: 40px; font-weight: 800; }
.report-ring small { position: relative; z-index: 1; display: block; font-size: var(--fs-small); color: var(--color-text-muted); }

.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.overview-item { background: var(--color-white); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); }
.overview-item .name { font-size: var(--fs-note); color: var(--color-text-muted); font-weight: 600; margin-bottom: 4px; }
.overview-item .val { font-size: var(--fs-h3); font-weight: 700; margin-bottom: 8px; }

/* กล่องชวนสร้างบัญชีท้ายรายงาน แสดงเฉพาะคนที่ยังไม่ล็อกอิน */
.report-keep { text-align: center; padding: 22px 20px 20px; }
.report-keep h3 { font-size: var(--fs-h3); font-weight: 700; margin: 0 0 8px; }
.report-keep p { font-size: var(--fs-body); line-height: 1.72; color: var(--color-text-muted); margin: 0 0 18px; }
.report-keep__again { display: inline-block; margin-top: 14px; font-size: var(--fs-body); font-weight: 600; color: var(--color-primary-dark); text-decoration: none; }
.report-keep__again:hover { text-decoration: underline; }
