.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{width:100%;max-width:1180px}
.data-overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px}
.data-overview-grid>.card{min-height:310px;padding:28px 30px}
.data-score-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.data-score-head h2{font-size:32px}
.data-score-head>strong{font:600 42px "Playfair Display",serif}
.data-score-card .data-bars{height:200px;margin-top:16px}
.data-balance-card h2{font-size:30px;margin-bottom:25px}
.data-category{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}
.data-category strong{font-size:13px;color:var(--muted)}
.data-balance-card .meter{margin-top:8px}
.data-page .profile-questionnaire{max-width:none}
.data-page>.card{padding:28px 30px}
.data-card-head{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:32px}
.data-card-head h2{font-size:32px}
.weight-entry-form{display:grid;grid-template-columns:160px 160px auto;align-items:end;gap:10px;margin:0}
.weight-entry-form label{margin:0;min-width:0}
.weight-entry-form input,.weight-entry-form button{min-height:48px}
.weight-entry-form button{white-space:nowrap;margin:0;padding-inline:20px}
.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:1fr;gap:16px}
.data-trends-grid .card{display:flex;min-height:285px;flex-direction:column;padding:24px}
.data-trends-grid .card h2{font-size:27px}
.data-trends-grid .data-bars{height:150px;gap:4px;margin-top:auto}
.data-trends-grid .data-bar span{font-size:9px}
.data-trends-grid .data-bar small{font-size:8px}
.data-daily-history{padding:28px 30px}
.timeline-search{max-width:460px;margin:0 0 18px}.timeline-search input{background:var(--bg)}
.timeline-day[hidden]{display:none}.timeline-day dl{grid-template-columns:repeat(4,minmax(0,1fr))}.timeline-day p strong{color:var(--ink)}
.data-achievements .routine-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.data-card-head{grid-template-columns:1fr}.weight-entry-form{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) auto}}
@media(max-width:900px){.data-overview-grid{grid-template-columns:1fr}.data-overview-grid>.card,.data-trends-grid .card{min-height:250px}.data-achievements .routine-grid{grid-template-columns:1fr}}
@media(max-width:700px){.timeline-day dl{grid-template-columns:repeat(2,minmax(0,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}.data-page>.card,.data-overview-grid>.card,.data-daily-history{padding:22px 18px}.weight-entry-form{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}.data-score-head h2{font-size:28px}.data-score-head>strong{font-size:36px}}
