.profile-questionnaire{max-width:900px}
.profile-questionnaire-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.profile-questionnaire-head h2{font-size:30px}
.profile-questionnaire-head p{max-width:610px;line-height:1.55}
.profile-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0 14px}
.profile-facts div{padding:15px;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--paper) 86%,var(--soft))}
.profile-facts dt{min-height:34px;color:var(--muted);font-size:11px;line-height:1.35}
.profile-facts dd{margin:8px 0 0;font-size:17px;font-weight:600}
.profile-empty{margin-top:20px;padding:20px;border:1px dashed var(--line);border-radius:16px;color:var(--muted);text-align:center}
.profile-clear{border:0;background:transparent;color:var(--muted);padding:8px 0;text-decoration:underline;text-underline-offset:3px}
.profile-privacy{margin:14px 0 0;color:var(--muted);font-size:11px}
.profile-details-dialog{width:min(700px,calc(100% - 28px))}
.profile-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.profile-focus-field{grid-column:1/-1}
.profile-data-preview{display:flex;align-items:center;justify-content:space-between;gap:18px}
.profile-data-preview h2{margin-bottom:7px}
.data-page{max-width:1100px}
.data-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.data-card-head h2{font-size:32px}
.weight-entry-form{display:flex;align-items:end;gap:9px;margin:0}
.weight-entry-form label{margin:0;min-width:135px}
.weight-entry-form button{white-space:nowrap;margin-bottom:1px}
.data-bars{height:230px;display:flex;align-items:end;gap:8px;margin-top:24px;padding:15px 5px 0;border-bottom:1px solid var(--line)}
.data-bar{height:100%;flex:1;min-width:24px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px}
.data-bar i{display:block;width:min(34px,78%);min-height:4px;border-radius:9px 9px 3px 3px;background:linear-gradient(var(--accent),var(--soft))}
.data-bar span{font-size:10px;font-weight:600;white-space:nowrap}
.data-bar small{font-size:9px;color:var(--muted);white-space:nowrap}
.weight-history{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.weight-history>span{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:999px;font-size:11px}
.weight-history button{border:0;background:transparent;color:var(--muted);font-size:17px;line-height:1;padding:0}
.data-trends-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.data-trends-grid .data-bars{height:185px;gap:4px}
.data-trends-grid .data-bar span{font-size:9px}
.data-trends-grid .data-bar small{font-size:8px}
@media(max-width:900px){.profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.data-card-head{display:grid}.weight-entry-form{flex-wrap:wrap}.data-trends-grid{grid-template-columns:1fr}}
@media(max-width:580px){.profile-questionnaire-head,.profile-data-preview{display:grid}.profile-questionnaire-head button,.profile-data-preview button{width:100%}.profile-facts,.profile-form-grid{grid-template-columns:1fr}.profile-focus-field{grid-column:auto}.weight-entry-form{display:grid;grid-template-columns:1fr 1fr}.weight-entry-form button{grid-column:1/-1}.data-bars{overflow-x:auto;justify-content:flex-start}.data-bar{flex:0 0 45px}}
