#athlete-profile{--profile-ink:#334638;--profile-muted:#657462;--profile-line:#dfe6d9;color:var(--profile-ink);margin:24px 0;scroll-margin-top:24px;min-width:0}
.profile-references{border-top:1px solid var(--profile-line);padding:2px 0 20px}.profile-reference-add{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.profile-reference-add .button{padding:10px 14px}.profile-reference{display:flex;justify-content:space-between;gap:15px;border:1px solid var(--profile-line);border-radius:12px;background:#fafbf7;padding:17px;margin:10px 0;min-width:0}.profile-reference>div{min-width:0}.profile-reference strong{display:block;font-size:23px;line-height:1.6;color:#405c35}.profile-reference strong small{font-size:14px}.profile-reference p{font-size:12px;line-height:1.8;overflow-wrap:anywhere;margin:5px 0 0}.profile-reference-actions{display:flex;gap:14px;align-items:center;flex-shrink:0}.profile-reference-details{margin:18px 0}.profile-reference-details summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:13px}.profile-reference-details .form-grid{padding-top:12px}#reference-form{min-width:0}#reference-form input,#reference-form select{max-width:100%;min-width:0}@media(max-width:450px){.profile-reference{display:block}.profile-reference-actions{justify-content:flex-end}.profile-reference-add{gap:8px}.profile-reference-add .button{font-size:12px;padding:9px 10px}}
#athlete-profile *{box-sizing:border-box}#athlete-profile button,#athlete-profile summary,#athlete-profile a{min-height:44px}
#athlete-profile button:focus-visible,#athlete-profile summary:focus-visible,#athlete-profile a:focus-visible{outline:3px solid #658458;outline-offset:3px}
.profile-heading{align-items:flex-start}.profile-heading p{max-width:640px}.profile-demo{background:#f4efe3;color:#706148;border-radius:8px;padding:13px 16px;font-size:12px;line-height:1.85}
.profile-overview{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0 22px}
#profile-identity{display:flex;align-items:center;gap:18px;min-width:0}#profile-identity>div:last-child{min-width:0}
.profile-monogram{display:grid;place-items:center;width:66px;height:66px;border-radius:18px;background:#e7eee0;color:#536e45;font-size:29px;flex-shrink:0;font-weight:500}
.profile-kicker{font-size:11px;color:var(--profile-muted);letter-spacing:.4px;line-height:1.7}
#profile-identity h4{font-size:24px;line-height:1.45;margin:3px 0 7px;font-weight:600;overflow-wrap:anywhere}
#profile-identity p{margin:0;color:var(--profile-muted);font-size:14px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap}
.profile-overview>.button{flex-shrink:0}.profile-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:0;padding:21px 0;border-top:1px solid var(--profile-line)}
.profile-facts dt{font-size:12px;color:var(--profile-muted);line-height:1.7}.profile-facts dd{font-size:16px;line-height:1.7;margin:5px 0 0;overflow-wrap:anywhere}
.profile-context{background:#f4f6ef;border-radius:9px;padding:16px 18px}.profile-context>span{font-size:11px;color:var(--profile-muted)}.profile-context p{font-size:13px;line-height:1.85;margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.profile-caption,.profile-muted{font-size:12px;line-height:1.85;color:var(--profile-muted);overflow-wrap:anywhere}.profile-caption{margin:13px 0}
.profile-coverage{display:flex;align-items:center;gap:7px 18px;flex-wrap:wrap;padding:17px 0;margin:22px 0;border-top:1px solid var(--profile-line);border-bottom:1px solid var(--profile-line);font-size:12px;color:var(--profile-muted)}
.profile-coverage strong{font-size:14px;color:var(--profile-ink);font-weight:500}.profile-coverage>span:last-child{margin-left:auto}
.profile-subheading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:26px 0 12px}.profile-subheading h4{font-size:20px;line-height:1.6;margin:5px 0 0;font-weight:500}
.profile-lifts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:21px 0 12px;align-items:start}
.profile-lift{border:1px solid var(--profile-line);border-radius:13px;padding:20px;background:#fcfdf8;min-width:0}
.profile-lift-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}.profile-lift-heading h5{font-size:20px;margin:0;font-weight:600}.profile-lift-heading>span{font-size:11px;color:var(--profile-muted)}
.profile-lift-result{font-size:15px;line-height:1.75;margin:19px 0 8px;min-height:52px}
.profile-change{font-size:35px;line-height:1.5;font-weight:500;color:#45653d;letter-spacing:-1px}.profile-change small{font-size:15px;letter-spacing:0}
.profile-waiting{font-size:13px;line-height:1.8;color:var(--profile-muted);margin:17px 0}
.profile-fatigue{font-size:13px;line-height:1.8;margin:13px 0;color:var(--profile-muted)}
.profile-dose{padding:14px 0;margin:16px 0 12px;border-top:1px solid var(--profile-line);border-bottom:1px solid var(--profile-line);display:flex;flex-direction:column;gap:6px}
.profile-dose>span{font-size:12px;color:var(--profile-muted)}.profile-dose>strong{font-size:19px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.profile-dose>small{font-size:11px;color:var(--profile-muted)}
.profile-evidence-count{font-size:12px;line-height:1.9;color:var(--profile-muted)}
.profile-details{border-top:1px solid var(--profile-line);margin-top:14px}.profile-details>summary{cursor:pointer;font-size:12px;line-height:1.8;padding:13px 0;font-weight:500}.profile-details>p{font-size:12px;line-height:1.9;color:var(--profile-muted);margin:8px 0 14px}
#athlete-profile .text-button{font-size:12px;line-height:1.85;white-space:normal;text-align:left}.profile-actions{display:flex;gap:6px 24px;flex-wrap:wrap}
.profile-learning{border-top:1px solid var(--profile-line);margin-top:25px;padding-top:3px}
.profile-empty{padding:21px;background:#f1f4eb;border-radius:10px}.profile-empty strong{font-size:15px;font-weight:500}.profile-empty p{font-size:13px;line-height:1.9;color:var(--profile-muted);max-width:660px;margin:10px 0}
.profile-history{border:1px solid var(--profile-line);border-radius:10px;padding:0 18px;margin:12px 0}.profile-history>summary{font-size:14px;padding:15px 0}
.profile-trial{border-top:1px solid var(--profile-line);padding:19px 0}.profile-trial>div{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--profile-muted)}
.profile-trial-status{background:#edeee7;border-radius:5px;padding:5px 9px}.profile-trial-status.supported{background:#e0ead7;color:#4c6d3d}
.profile-trial h6{font-size:16px;line-height:1.75;margin:13px 0 10px;overflow-wrap:anywhere}.profile-trial p{font-size:13px;line-height:1.85;margin:8px 0;color:var(--profile-muted);white-space:pre-wrap;overflow-wrap:anywhere}.profile-trial b{font-weight:500;color:var(--profile-ink)}
.profile-backup{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:1px dashed #c2cfb9;background:#fbfcf8;border-radius:10px;margin-top:27px}.profile-backup strong{font-size:14px;font-weight:500}.profile-backup p{font-size:12px;line-height:1.85;max-width:660px;color:var(--profile-muted);margin:7px 0 0}.profile-backup .button{flex-shrink:0}
#profile-form textarea{min-height:76px;resize:vertical}#profile-form .form-actions{position:sticky;bottom:-23px;background:#fff;padding:12px 0;margin-bottom:0}
@media(max-width:1050px){.profile-lifts{grid-template-columns:1fr}.profile-lift-result{min-height:0}.profile-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-backup{flex-wrap:wrap}}
@media(max-width:700px){
 .sidebar{flex-wrap:wrap}.sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:3px}
 .sidebar nav>a,.sidebar nav>button{font-size:10px;gap:4px;flex-direction:column;align-items:center;justify-content:center;padding:8px 4px;min-height:50px;line-height:1.5;text-align:center;min-width:0}
 .profile-heading{display:block}.profile-heading .tiny-tag{display:inline-block;margin-top:10px}.profile-overview{flex-wrap:wrap;gap:16px}.profile-overview>.button{width:100%}
 #profile-identity{gap:13px}.profile-monogram{width:52px;height:52px;border-radius:13px;font-size:24px}#profile-identity h4{font-size:21px}#profile-identity p{font-size:13px}
 .profile-facts{grid-template-columns:1fr 1fr;gap:18px 13px}.profile-facts dd{font-size:16px}.profile-coverage{display:block}.profile-coverage>*{display:block;margin:5px 0}.profile-coverage>span:last-child{margin-left:0}
 .profile-subheading h4{font-size:18px}.profile-lift{padding:19px 16px}.profile-lifts{gap:15px}.profile-change{font-size:32px}.profile-lift-result{font-size:16px}
 .profile-empty{padding:18px 15px}.profile-backup{padding:18px 15px;gap:15px}.profile-backup .button{width:100%;white-space:normal}.profile-history{padding:0 13px}.profile-history>summary{font-size:13px}
}

.profile-history-filters{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 8px}.profile-history-filters button{display:flex;align-items:center;gap:9px;border:1px solid var(--profile-line);border-radius:8px;background:#fcfdf8;color:var(--profile-ink);font:inherit;font-size:12px;line-height:1.7;padding:9px 12px;cursor:pointer}.profile-history-filters button[aria-pressed="true"]{border-color:#6d855e;background:#eaf0e2}.profile-history-filters button span{font-variant-numeric:tabular-nums;color:var(--profile-muted)}.profile-trial .profile-trial-conditions{font-size:12px;padding-left:12px;border-left:2px solid var(--profile-line)}.profile-learning>.profile-caption:last-child{margin-bottom:18px}
