@import url('health-nutrition-mobile.css');
@import url('health-nutrition-mobile-overrides.css');

.health-connected-grid,.health-reminder-grid,.health-template-grid,.health-data-grid,.health-onboarding-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.health-connection-card,.health-reminder-card,.health-template-card,.health-data-card,.onboarding-card{border:1px solid var(--border);border-radius:18px;padding:1rem;background:var(--surface,#fff)}.health-connection-card header,.health-reminder-card header,.health-template-card header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.health-status-dot{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem}.health-status-dot:before{content:'';width:.65rem;height:.65rem;border-radius:50%;background:currentColor}.health-status-dot.connected{color:var(--forest)}.health-status-dot.disconnected{color:var(--muted)}.health-sync-table,.health-data-table{width:100%;border-collapse:collapse}.health-sync-table th,.health-sync-table td,.health-data-table th,.health-data-table td{padding:.65rem;border-bottom:1px solid var(--border);text-align:left;font-size:.9rem}.health-reminder-due{border-left:4px solid var(--gold);padding-left:.8rem}.health-template-exercises{display:grid;gap:.5rem;margin-top:.8rem}.health-template-exercise{display:grid;grid-template-columns:1fr auto;gap:.6rem;padding:.55rem .7rem;background:var(--linen);border-radius:10px}.health-danger-zone{border:1px solid #b34a4a;border-radius:18px;padding:1rem}.health-danger-zone h3{color:#8a2727}.health-onboarding-progress{display:flex;gap:.4rem;margin:.6rem 0 1rem}.health-onboarding-progress span{height:.35rem;flex:1;border-radius:999px;background:var(--border)}.health-onboarding-progress span.active{background:var(--forest)}.health-choice-stack{display:grid;gap:.6rem}.health-choice-stack label{display:flex;gap:.75rem;align-items:flex-start;padding:.8rem;border:1px solid var(--border);border-radius:12px}.health-choice-stack label>span{display:grid;gap:.18rem;min-width:0}.health-choice-stack label strong,.health-choice-stack label small{display:block}.health-choice-stack label small{color:#6e7b73;line-height:1.35}.rest-timer{display:flex;align-items:center;gap:.6rem}.rest-timer output{font-variant-numeric:tabular-nums;font-weight:700}

.health-shell input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;flex:0 0 18px!important;margin:.1rem 0 0!important;padding:0!important;box-shadow:none!important}.health-shell label:has(>input[type="checkbox"]){column-gap:.65rem}.health-shell label:has(>input[type="checkbox"])>span{margin-left:0}

.onboarding-goals-card{grid-column:span 2}.health-goal-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem;margin:.8rem 0}.health-goal-plan{display:flex;gap:.6rem;align-items:flex-start;padding:.75rem;border:1px solid var(--border);border-radius:12px;background:#fbfdfc;cursor:pointer}.health-goal-plan:has(input:checked){border-color:#4f836c;background:#edf6f1;box-shadow:0 0 0 2px rgba(79,131,108,.1)}.health-goal-plan input{width:auto!important;min-height:0!important;margin-top:.2rem}.health-goal-plan span{display:grid;gap:.15rem}.health-goal-plan strong,.health-goal-plan small{display:block}.health-goal-plan small{color:#6e7b73;line-height:1.35}.health-calculation-summary{display:grid;gap:.2rem;padding:.8rem 1rem;margin:.7rem 0;border-radius:12px;background:#edf5f0;color:#173d36}.health-calculation-summary span{color:#5f6e65;font-size:.85rem}.onboarding-goal-fields{margin-top:.85rem}.gi-safety-note.compact{padding:.8rem 1rem;margin-top:.9rem}.gi-safety-note.compact p{font-size:.82rem;line-height:1.45}

@media(max-width:900px){.onboarding-goals-card{grid-column:auto}.health-goal-plan-grid{grid-template-columns:1fr 1fr}}@media(max-width:720px){.health-connected-grid,.health-reminder-grid,.health-template-grid,.health-data-grid,.health-onboarding-grid{grid-template-columns:1fr}.health-sync-table{display:block;overflow-x:auto}.health-goal-plan-grid{grid-template-columns:1fr}}@media print{.health-no-print{display:none!important}}