.weight-launch-card{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:22px;padding:30px 34px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--soft) 62%,var(--paper)),var(--paper))}
.weight-launch-card h2{font-size:34px;margin:6px 0 9px}.weight-launch-card p{max-width:720px;margin:0;color:var(--muted);line-height:1.55}.weight-launch-card small{display:block;margin-top:12px;color:var(--accent)}.weight-launch-card button{flex:0 0 auto}
.ava-weight-page,.ava-weight-onboarding{width:min(1180px,100%)}
.weight-page-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.weight-page-tools nav{display:flex;gap:6px;flex-wrap:wrap}.weight-page-tools nav button{border:1px solid var(--line);border-radius:999px;background:var(--paper);padding:9px 14px}.weight-page-tools nav button.active{border-color:var(--ink);background:var(--ink);color:white}
.weight-progress-hero{position:relative;display:grid;grid-template-columns:minmax(250px,.7fr) minmax(280px,1.3fr) auto;align-items:end;gap:30px;min-height:260px;padding:34px;background:linear-gradient(135deg,var(--paper),color-mix(in srgb,var(--soft) 55%,var(--paper)))}
.weight-progress-copy h2{font-size:48px;margin:8px 0 4px}.weight-progress-copy>strong{color:var(--accent)}.weight-progress-copy p{color:var(--muted);margin:12px 0 0}
.weight-sparkline{height:150px;display:flex;align-items:flex-end;gap:7px;padding-top:15px;border-bottom:1px solid var(--line)}.weight-sparkline i{flex:1;min-width:8px;border-radius:8px 8px 2px 2px;background:linear-gradient(var(--accent),var(--soft))}
.weight-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.weight-dashboard-grid>.card{padding:28px 30px;min-height:310px}.weight-dashboard-grid h2{font-size:31px;margin-top:7px}
.weight-today-card dl{display:grid;gap:0;margin:18px 0}.weight-today-card dl div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}.weight-today-card dt{color:var(--muted)}.weight-today-card dd{margin:0;font-weight:600;text-align:right}
.weight-quick-actions{display:flex;gap:8px;flex-wrap:wrap}.weight-quick-actions button{border:1px solid var(--line);border-radius:999px;background:var(--paper);padding:10px 15px}
.weight-focus-card{background:color-mix(in srgb,var(--soft) 64%,var(--paper))}.weight-focus-card p:not(.eyebrow){max-width:470px;color:var(--muted);line-height:1.6}.weight-focus-card button{margin-top:18px}
.ava-weight-onboarding{max-width:780px;margin:0 auto}.ava-weight-onboarding>.card{padding:clamp(24px,5vw,46px)}.ava-weight-onboarding h2{font-size:clamp(31px,5vw,50px);margin:12px 0}.weight-onboarding-copy{max-width:620px;color:var(--muted);line-height:1.6}.weight-onboarding-progress{height:5px;margin-bottom:24px;border-radius:999px;background:var(--line);overflow:hidden}.weight-onboarding-progress span{display:block;height:100%;border-radius:inherit;background:var(--accent)}
.weight-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:22px 0}.weight-choice{min-height:51px;border:1px solid var(--line);border-radius:15px;background:var(--paper);padding:12px 14px;text-align:left}.weight-choice.active{border-color:var(--accent);background:var(--soft);box-shadow:0 0 0 1px var(--accent)}
.weight-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.weight-form-grid label span{color:var(--muted);font-weight:400}.weight-target-label{max-width:360px}.weight-field-title{margin:24px 0 -10px;font-size:13px;font-weight:600}.weight-onboarding-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:30px}.weight-onboarding-actions button{min-width:135px}
.weight-plan{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}.weight-plan div,.weight-safety-card{padding:17px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}.weight-plan span{display:block;color:var(--muted);font-size:11px}.weight-plan strong{display:block;margin-top:7px}.weight-safety-card{border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}.weight-safety-card strong{font-family:"Playfair Display",serif;font-size:22px}.weight-safety-card p{color:var(--muted);line-height:1.5}
.weight-progress-detail,.weight-log-panel,.weight-weekly,.weight-settings{padding:30px 34px}.weight-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.weight-section-head h2,.weight-weekly h2,.weight-settings h2{font-size:34px;margin-top:7px}
.weight-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.weight-stat-grid>div{padding:18px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--paper) 84%,var(--soft))}.weight-stat-grid span{display:block;color:var(--muted);font-size:11px}.weight-stat-grid strong{display:block;margin-top:8px;font-size:18px}
.weight-neutral-note{padding:17px 19px;border-radius:16px;background:var(--soft);color:var(--muted);line-height:1.55}.weight-entry-list{display:grid;margin-top:20px}.weight-entry-list article{position:relative;display:grid;grid-template-columns:minmax(170px,1fr) auto;gap:6px 20px;padding:16px 40px 16px 0;border-top:1px solid var(--line)}.weight-entry-list time{color:var(--muted);font-size:12px}.weight-entry-list strong{text-align:right}.weight-entry-list p{grid-column:1/-1;margin:0;color:var(--muted);font-size:12px}.weight-entry-list article>button{position:absolute;right:0;top:12px;border:0;background:transparent;color:var(--muted);font-size:20px}
.weight-weekly .weight-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.weight-review-copy{max-width:760px;margin-top:28px}.weight-review-copy h3{font:600 23px "Playfair Display",serif;margin:22px 0 5px}.weight-review-copy p{color:var(--muted);line-height:1.6}
.weight-settings .weight-form-grid{margin-top:18px}.weight-settings .profile-privacy{max-width:780px;line-height:1.55}.weight-settings>.text-button{margin-top:20px}
.weight-entry-dialog{width:min(680px,calc(100% - 28px));max-height:calc(100vh - 30px);overflow:auto}.weight-entry-dialog form{display:grid;gap:12px}.weight-entry-dialog .modal-head{margin-bottom:6px}.weight-entry-dialog .weight-choice-grid{margin:8px 0}
.weight-barcode-box{display:grid;gap:12px;padding:17px;border:1px solid var(--line);border-radius:17px;background:color-mix(in srgb,var(--soft) 45%,var(--paper))}.weight-barcode-box>div:first-child p{margin:4px 0 0;color:var(--muted);font-size:13px}.weight-barcode-actions{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;align-items:end;gap:9px}.weight-barcode-actions label{margin:0}.weight-barcode-actions label span{display:block;margin-bottom:6px;font-size:12px;font-weight:600}.weight-barcode-actions input{margin:0}.weight-barcode-box video{width:100%;max-height:260px;border-radius:13px;background:#171717;object-fit:cover}.weight-barcode-status{min-height:20px;margin:0;color:var(--muted);font-size:13px}.weight-barcode-result{display:grid;gap:3px;padding:12px 14px;border-radius:12px;background:var(--paper)}.weight-barcode-result span,.weight-barcode-box small{color:var(--muted);font-size:11px;line-height:1.45}
.weight-tag-field{border:0;padding:0;margin:8px 0}.weight-tag-field legend{font-size:13px;font-weight:600;margin-bottom:10px}.weight-tag-field label{display:inline-flex;align-items:center;gap:7px;margin:4px 7px 4px 0;padding:9px 12px;border:1px solid var(--line);border-radius:999px;font-weight:500}.weight-tag-field input{width:auto;margin:0;accent-color:var(--accent)}.weight-macro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 10px}
@media(max-width:850px){.weight-progress-hero{grid-template-columns:1fr auto}.weight-sparkline{grid-column:1/-1;grid-row:2}.weight-dashboard-grid{grid-template-columns:1fr}.weight-weekly .weight-stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.weight-launch-card,.weight-page-tools,.weight-section-head{align-items:stretch;flex-direction:column}.weight-launch-card button{width:100%}.weight-page-tools nav{display:grid;grid-template-columns:repeat(3,1fr)}.weight-page-tools nav button{padding-inline:8px}.weight-progress-hero{grid-template-columns:1fr;padding:24px}.weight-progress-hero>button{justify-self:start}.weight-sparkline{grid-column:auto;grid-row:auto}.weight-choice-grid,.weight-form-grid,.weight-plan{grid-template-columns:1fr}.weight-stat-grid,.weight-weekly .weight-stat-grid{grid-template-columns:1fr 1fr}.weight-progress-detail,.weight-log-panel,.weight-weekly,.weight-settings{padding:23px 18px}.weight-entry-list article{grid-template-columns:1fr}.weight-entry-list strong{text-align:left}.weight-onboarding-actions button{flex:1;min-width:0}.weight-macro-grid{grid-template-columns:1fr 1fr}.weight-barcode-actions{grid-template-columns:1fr 1fr}.weight-barcode-actions label{grid-column:1/-1;grid-row:1}.weight-barcode-actions button{width:100%}}
