/* Weight goal and evolution cards. No images or libraries, to keep the screen light. */
.weight-goal-card,body.is-app-mode [data-screen-panel="evolucao"] .weight-chart-card{margin-top:12px;padding:14px;background:#14241a;border:1px solid rgba(199,166,87,.34);border-radius:16px;color:#f4f2e9}
.weight-goal-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.weight-goal-title{display:block;color:#d7b867;font:700 10px 'DM Mono',monospace;letter-spacing:.08em}
.weight-goal-value{display:block;margin-top:4px;color:#fff;font:800 24px/1.1 Manrope,Arial,sans-serif}
.weight-goal-note{display:block;margin-top:3px;color:#cbd5c5;font:600 12px/1.35 Manrope,Arial,sans-serif}
.weight-goal-note[hidden]{display:none}
.weight-goal-percent{flex:none;color:#b6ff5b;font:800 26px/1.1 Manrope,Arial,sans-serif}
.weight-goal-bar{height:8px;margin-top:11px;overflow:hidden;background:#1f3425;border-radius:999px}
.weight-goal-bar i{display:block;height:100%;background:linear-gradient(90deg,#8fd63f,#b6ff5b);border-radius:inherit;animation:weight-goal-fill .6s ease-out}
@keyframes weight-goal-fill{from{width:0}}
.weight-goal-actions{display:flex;justify-content:flex-end;gap:14px;margin-top:9px}
.weight-goal-actions button{min-height:32px;padding:4px 2px;background:none;border:0;color:#d9c28d;font:700 12px Manrope,Arial,sans-serif;text-decoration:underline;cursor:pointer}
.weight-goal-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px}
.weight-goal-form label{display:contents}
.weight-goal-form input{width:100%;min-width:0;height:44px;padding:6px 12px;background:#203624;border:1px solid rgba(199,166,87,.52);border-radius:10px;color:#fff;font:700 16px Manrope,Arial,sans-serif}
.weight-goal-form button{height:44px;padding:0 16px;background:linear-gradient(110deg,#b6ff5b,#b5f54a);border:1px solid #b6ff5b;border-radius:10px;color:#14200d;font:800 13px Manrope,Arial,sans-serif;white-space:nowrap;cursor:pointer}
.weight-goal-form input::placeholder{color:#cbd5c5;opacity:1;font-weight:600}
@media(max-width:359px){.weight-goal-form{grid-template-columns:minmax(0,1fr)}}
.weight-goal-error{grid-column:1/-1;margin:0;color:#ffd0c9;font:600 12px Manrope,Arial,sans-serif}
.weight-goal-form button:focus-visible,.weight-goal-actions button:focus-visible,.weight-goal-form input:focus-visible{outline:3px solid #b6ff5b;outline-offset:2px}
.weight-goal-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border:1px solid #b6ff5b;border-radius:999px;color:#b6ff5b;font:700 10px Manrope,Arial,sans-serif;white-space:nowrap}
.weight-chart-goal-line{stroke:#b6ff5b;stroke-width:1.5;stroke-dasharray:6 5}
.weight-chart-goal-label{fill:#b6ff5b;font:700 15px Manrope,Arial,sans-serif}
body.is-app-mode [data-screen-panel="evolucao"] .evolution-weight-history{margin-top:12px;padding:4px 14px;background:#14241a;border:1px solid rgba(199,166,87,.34);border-radius:16px}
body.is-app-mode [data-screen-panel="evolucao"] .evolution-weight-history:empty{display:none}
body.is-app-mode [data-screen-panel="evolucao"] .evolution-weight-history .weight-history-row{padding:9px 0}
body.is-app-mode [data-screen-panel="evolucao"] .evolution-weight-history .weight-history-row:last-child{border-bottom:0}
body.is-app-mode [data-screen-panel="evolucao"] .weight-chart-scale,body.is-app-mode [data-screen-panel="evolucao"] .weight-chart-date{font-size:13px}
body.is-app-mode [data-screen-panel="evolucao"] .weight-chart-card .weight-chart-heading{flex-wrap:wrap;color:#d7b867}
body.is-app-mode [data-screen-panel="evolucao"] .evolution-weight-chart{min-height:170px}
@media(prefers-reduced-motion:reduce){.weight-goal-bar i{animation:none}}
body.is-app-mode [data-screen-panel="evolucao"] .evolution-weight-chart{min-height:0}
.weight-chart-svg{overflow:visible}
@media(max-width:700px){body.is-app-mode [data-screen-panel="evolucao"] .weight-chart-scale,body.is-app-mode [data-screen-panel="evolucao"] .weight-chart-date{font-size:20px}body.is-app-mode [data-screen-panel="evolucao"] .weight-chart-goal-label{font-size:23px}body.is-app-mode [data-screen-panel="evolucao"] .weight-chart-line{stroke-width:3.5}.weight-chart-goal-line{stroke-width:2.5}}
body.is-app-mode [data-screen-panel="evolucao"] .weight-register-button{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;min-height:52px!important;margin-top:12px!important;padding:12px 18px!important;text-align:center!important;background:linear-gradient(110deg,#b6ff5b,#b5f54a)!important;border:1px solid #b6ff5b!important;border-radius:999px!important;color:#14200d!important;font:800 15px Manrope,Arial,sans-serif!important;box-shadow:0 4px 16px #b6ff5b30!important}
.weight-chart-svg{max-width:560px;margin-inline:auto}
