/* A single daily form with a steady reading order and one save action. */
.hf-form{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--card);margin-bottom:36px;max-width:1020px;overflow:hidden}
.hf-header{padding:26px 30px;display:flex;justify-content:space-between;gap:24px;align-items:center;background:var(--sidebar);border-bottom:1px solid var(--line)}
.hf-header h2{font-size:23px;margin:6px 0}.hf-header p,.hf-section-title p{color:var(--muted);font-size:13px}.hf-score{display:flex;flex-direction:column;flex:none;text-align:right}.hf-score strong{font-size:38px;line-height:1.1;letter-spacing:-.04em}.hf-score small{font-size:14px;color:var(--muted);letter-spacing:0}.hf-score>span{font-size:11px;color:var(--muted);margin-top:5px}
.hf-section{padding:26px 30px;border-bottom:1px solid var(--line)}.hf-section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:22px}.hf-section-title>span{display:flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;border-radius:7px;background:var(--accent);color:var(--muted);font:12px var(--mono)}.hf-section-title h3{font-size:16px;margin-bottom:3px}
.hf-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hf-form label{font-size:13px}.hf-form input,.hf-form select{height:40px}.hf-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:var(--r);padding-right:12px;overflow:hidden}.hf-input input{border:0;box-shadow:none;background:transparent}.hf-input>span{flex:none;color:var(--muted);font-size:12px}.hf-input:focus-within{border-color:var(--faint);box-shadow:0 0 0 3px var(--ring)}.hf-input input:focus{box-shadow:none}.hf-hint{font-size:12px;color:var(--muted);margin-top:14px;line-height:1.6}
.hf-activity-entry{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.2fr) auto;gap:12px;align-items:end}.hf-activity-entry>.ghost{height:40px}.hf-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.hf-entries:empty{display:none}.hf-entry{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--sidebar);border:1px solid var(--line);padding:10px 12px;border-radius:var(--r);font-size:13px;min-width:0}.hf-entry>span{overflow-wrap:anywhere;min-width:0}.hf-entry small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.hf-remove{width:30px;height:30px;border:0;background:none;color:var(--muted);border-radius:5px;font-size:20px;flex:none}.hf-remove:hover{background:var(--hover)}
.hf-pushups{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:20px;align-items:start;margin-top:22px}.hf-profile{font-size:13px;margin-top:25px}.hf-profile summary,.hf-breakdown summary{cursor:pointer;color:var(--muted)}.hf-profile summary span{font-size:10px;border:1px solid var(--line);border-radius:4px;padding:2px 5px;margin-left:6px}.hf-profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.hf-food-entry{display:grid;grid-template-columns:minmax(0,2fr) 100px minmax(0,1fr);gap:12px}.hf-form .hx-results{margin-top:10px}.hf-form .hx-results:empty{display:none}
.hf-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 30px;background:var(--sidebar)}.hf-footer [role=status]{font-size:13px;display:block}.hf-footer small{display:block;font-size:11px;color:var(--muted);margin-top:6px}.hf-footer>.primary{height:40px;min-width:150px}.hf-logout{background:none;border:0;padding:0;text-decoration:underline;color:var(--muted);font:inherit}.hf-error{color:var(--danger)}.hf-breakdown{padding:16px 30px;font-size:12px;border-top:1px solid var(--line)}.hf-breakdown .h-score{border:0;box-shadow:none;padding:20px 0 0}.hf-form :disabled{opacity:.6;cursor:wait}
@media(max-width:800px){.hf-activity-entry{grid-template-columns:1fr 1fr}.hf-food-entry{grid-template-columns:minmax(0,1fr) 90px}.hf-food-entry>label:last-child{grid-column:1/-1}.hf-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.hf-header,.hf-section{padding:20px 16px}.hf-header{gap:12px;align-items:flex-start}.hf-header h2{font-size:20px}.hf-score strong{font-size:30px}.hf-score>span{max-width:78px}.hf-fields{gap:16px 12px}.hf-section-title{margin-bottom:18px}.hf-entries{grid-template-columns:1fr}.hf-pushups{grid-template-columns:1fr}.hf-profile{margin-top:0}.hf-footer{padding:18px 16px;flex-wrap:wrap;gap:14px}.hf-footer>.primary{width:100%}.hf-breakdown{padding:16px}.hf-activity-entry{gap:12px}.hf-form .hx-res{flex-wrap:wrap}.hf-header .eyebrow{font-size:10px}}
