/* Compact profile presentation. Existing profile permissions and data remain authoritative. */
.profile-dashboard-shell,.profile-dialog146{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.profile-dashboard-hero-card .story-tray:has(>.story-person:only-child),.social-profile-main .story-tray:has(>.story-person:only-child){display:none}.profile-dashboard-hero-card .profile-story-avatar{gap:2px}.profile-dashboard-hero-card .profile-story-avatar .profile-story-label{margin-top:8px!important;min-height:26px}.social-cover{height:130px!important;min-height:0!important}.social-cover:not([style]){display:none}.social-profile-main .profile-metric146:last-child:nth-child(odd){grid-column:1/-1;min-height:130px}
.profile-dashboard-shell,.social-profile-main{--profile-accent146:#34d399;--profile-soft146:rgba(148,163,184,.08)}
.profile-dashboard-hero-card{border-radius:24px!important;padding:24px!important}.profile-dashboard-hero-card .profile-hero{gap:24px;align-items:start}.profile-dashboard-hero-card .hero-meta{gap:6px;margin-bottom:12px}.profile-dashboard-hero-card .hero-meta .badge{font-size:11px;padding:4px 8px}.profile-dashboard-hero-card h2{margin:0;font-size:clamp(25px,4vw,34px);line-height:1.2}.profile-dashboard-hero-card .hero-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.profile-dashboard-hero-card .hero-actions .btn{width:auto;min-height:40px;border-radius:12px;font-size:13px}.profile-dashboard-hero-card .hero-actions .fact-chip{width:auto}
.profile-status-line146{display:flex;align-items:center;gap:8px;min-width:0;margin:8px 0 5px}.profile-status-line146 .profile-status-text{margin:0!important;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;font-size:14px;color:var(--text,#eef5ff)}.profile-status-line146.is-empty .profile-status-text{color:var(--muted,#94a3b8)}.profile-status-line146[hidden]{display:none}.profile-status-edit146{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:1px solid var(--line,#475569);border-radius:10px;background:transparent;color:var(--text,#eef5ff);cursor:pointer}.profile-status-edit146 svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.profile-status-edit146:hover{border-color:var(--profile-accent146,#34d399);background:var(--profile-soft146,rgba(148,163,184,.08))}
.profile-progress146 .profile-collapsible-section__panel{padding:22px;border-radius:24px}.profile-progress146-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.profile-progress146-head h2{font-size:24px;margin:4px 0 0}.profile-progress146-head>span,.profile-eyebrow146{font-size:12px;color:var(--muted,#94a3b8)}.profile-eyebrow146{letter-spacing:.04em}.profile-progress146-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:12px}.profile-metric146{--metric-color146:#34d399;box-sizing:border-box;position:relative;display:grid;align-content:start;gap:9px;min-width:0;min-height:190px;padding:18px;border:1px solid var(--line,#334155);border-radius:18px;background:linear-gradient(140deg,var(--profile-soft146,rgba(148,163,184,.08)),transparent);color:var(--text,#eef5ff);text-decoration:none;text-align:left;transition:transform .16s,border-color .16s;cursor:pointer;font:inherit}.profile-metric146.is-body{--metric-color146:#a78bfa}.profile-metric146.is-strength{--metric-color146:#fbbf24}.profile-metric146.is-photos{--metric-color146:#f472b6}.profile-metric146:hover{transform:translateY(-2px);border-color:var(--metric-color146)}.profile-metric146-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:var(--metric-color146);background:var(--profile-soft146,rgba(148,163,184,.08));font-size:23px}.profile-metric146-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:650;font-size:14px}.profile-metric146-heading b{font-weight:400;color:var(--muted,#94a3b8)}.profile-metric146>strong{font-size:clamp(21px,3vw,28px);line-height:1.2;overflow-wrap:anywhere}.profile-metric146>small{color:var(--muted,#94a3b8);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.profile-progress146{scroll-margin-top:90px}.profile-progress146 button{width:100%}.profile-detail146{scroll-margin-top:90px}.profile-detail146>summary{cursor:pointer}.profile-empty146{padding:16px;color:var(--muted,#94a3b8);font-size:14px;line-height:1.5}.profile-metric-add146{margin-top:12px;min-height:42px}.profile-dashboard-shell #measurements,.profile-dashboard-shell #body-composition{scroll-margin-top:90px}
/* PNG assets already have alpha; the former white button was the visible backing. */
.profile-badge-button{background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 2px 3px #0005)}.profile-badge-button img{background:transparent!important;border-radius:0!important;object-fit:contain}.reward-choice143 img,.rewards-progress143 img,.rewards-detail143>img{background:transparent!important;object-fit:contain}
.profile-dashboard-hero-card .profile-story-avatar .profile-story-add,.social-identity .profile-story-avatar .profile-story-add,.profile-head .profile-story-avatar .profile-story-add{left:50%!important;right:auto!important;top:72px!important;bottom:auto!important;transform:translateX(-50%);display:grid;place-items:center;box-sizing:border-box;width:30px;height:30px;line-height:1;margin:0;padding:0;border-radius:50%;font:600 23px/1 system-ui}.profile-story-avatar .profile-story-label{margin-top:13px!important}.profile-story-avatar{position:relative}.profile-story-avatar .profile-badge-pin143{right:-6px;top:-4px}
.profile-dialog146{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-height:90dvh;padding:22px;border:1px solid var(--line,#475569);border-radius:22px;background:var(--panel,#122033);color:var(--text,#f8fafc);overflow:auto}.profile-dialog146::backdrop{background:#020617b8;backdrop-filter:blur(5px)}.profile-dialog146 h2{margin:0 0 18px;font-size:23px}.profile-dialog146 form,.profile-dialog146 label{display:grid;gap:8px}.profile-dialog146 form{gap:16px}.profile-dialog146 input{box-sizing:border-box;width:100%;padding:12px;border:1px solid var(--line,#475569);border-radius:12px;background:var(--bg,#0c1524);color:inherit;font:16px system-ui}.profile-dialog146 label{font-size:13px}.profile-dialog146-actions{display:flex;flex-wrap:wrap;gap:8px}.profile-dialog146-actions .btn{min-height:42px;flex:1}.profile-dialog146 p{margin:0;font-size:13px;line-height:1.5}.profile-dialog146 small{color:var(--muted,#94a3b8)}.profile-dialog146-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-dialog146 label:has(input[type=date]){grid-column:1/-1}.story-sources146{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.story-sources146 .btn{padding:12px 6px;font-size:13px;min-height:58px}.story-file146{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip-path:inset(50%);padding:0!important;border:0!important;opacity:0}.story-upload-form [data-story-capture146]{display:none}
.social-profile-main .social-identity{align-items:center;gap:18px}.social-profile-main .social-identity>div:last-child{min-width:0}.social-profile-main .social-identity h1{margin:0;font-size:27px;line-height:1.2}.social-profile-main .social-identity>div:last-child>p{margin:3px 0}.social-profile-main .social-cover{min-height:110px}.social-profile-main .social-about{line-height:1.55}.social-profile-main .social-section{border-radius:16px}.social-profile-main .profile-progress146{margin:20px 0}.social-profile-main .profile-progress146-head h2{font-size:22px}.social-profile-main .profile-progress146-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.social-profile-main .profile-metric146{min-height:170px;padding:14px}.social-profile-main .profile-metric146>strong{font-size:21px}.social-profile-main .profile-portrait-actions{gap:8px}.social-profile-main .profile-details{margin-top:16px}
[data-theme=light] .profile-dialog146{background:#fff;color:#142238;--line:#cad6e3;--muted:#506278;--bg:#f5f8fc}[data-theme=light] .profile-status-line146{--text:#142238;--muted:#506278}[data-theme=light] .profile-progress146{--text:#142238;--muted:#506278;--line:#cad6e3;--profile-soft146:rgba(50,83,119,.05)}[data-theme=light] .profile-metric146{background:linear-gradient(140deg,#fff,#f1f7fb)}[data-theme=light] .story-sources146 .btn{background:#edf5ff;color:#142238;border-color:#bacbdd}
.profile-metric146:focus-visible,.profile-status-edit146:focus-visible{outline:3px solid #38bdf8;outline-offset:3px}@media(max-width:720px){.profile-dashboard-hero-card{padding:18px!important}.profile-dashboard-hero-card .profile-hero{gap:12px}.profile-dashboard-hero-card .hero-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-dashboard-hero-card .hero-actions .btn{width:100%;box-sizing:border-box;text-align:center;white-space:normal;padding:10px 8px}.profile-dashboard-hero-card .profile-avatar.profile-story-avatar{justify-self:center!important}.profile-progress146 .profile-collapsible-section__panel{padding:16px}.profile-progress146-head{align-items:start}.profile-progress146-head>span{display:none}.profile-progress146-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-metric146{min-height:174px;padding:14px}.profile-metric146-heading{font-size:13px}.profile-metric146>strong{font-size:22px}.profile-status-line146{justify-content:flex-start}}@media(max-width:350px){.profile-progress146-grid,.social-profile-main .profile-progress146-grid{grid-template-columns:1fr}.story-sources146{grid-template-columns:1fr}.story-sources146 .btn{min-height:44px}}@media(prefers-reduced-motion:reduce){.profile-metric146{transition:none}}

@media(max-width:720px){.profile-progress146-head{flex-wrap:wrap}.profile-progress146-head h2{white-space:nowrap;font-size:22px}.profile-progress146-head .btn{padding:8px 12px;font-size:12px;min-height:38px;white-space:nowrap}}
