/* A small, purpose-led profile editor. Shared app styles remain in place. */
#s-onboard{padding-top:20px;min-height:0;animation:none}
#s-onboard .profile-back{margin-bottom:22px}
#s-onboard .profile-back button{display:inline-flex;align-items:center;gap:9px;min-height:44px;border:0;background:none;padding:0 8px 0 0;color:var(--workspace-muted,var(--muted));font:inherit;font-size:13px;cursor:pointer}
#s-onboard .profile-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
#s-onboard .profile-heading>div:first-child{min-width:0}
#s-onboard .profile-eyebrow{font-size:10px;letter-spacing:.14em;color:var(--gold);margin:0 0 7px}
#s-onboard h2.title{font-size:38px;line-height:1.12;margin:0 0 9px;letter-spacing:-.025em}
#s-onboard #who{font-size:12px;line-height:1.6;color:var(--workspace-muted,var(--muted));margin:0;overflow-wrap:anywhere}
#s-onboard .profile-entitlement{flex-shrink:0;max-width:45%;padding:0;margin:0;background:none;border:0;border-radius:0}
#s-onboard .profile-entitlement button{display:flex;flex-direction:column;align-items:flex-end;gap:5px;background:none;border:0;color:var(--gold-l);font:inherit;padding:8px 0 8px 10px;cursor:pointer;min-height:44px}
#s-onboard .profile-entitlement strong{font-size:15px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.5}
#s-onboard .profile-entitlement small{font-size:11px;color:var(--workspace-muted,var(--muted));line-height:1.5}
#s-onboard .profile-tabs{display:flex;gap:4px;border-bottom:1px solid var(--workspace-line,#ffffff20);margin-bottom:27px}
#s-onboard .profile-leave-guard{padding:16px;border:1px solid #bd9b6766;border-radius:10px;background:#231d28;margin-bottom:20px}
#s-onboard .profile-leave-guard p{font-size:12px;line-height:1.7;margin:0 0 10px}
#s-onboard .profile-leave-guard>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px}
#s-onboard .profile-leave-guard button,#s-onboard .profile-leave-guard a{font:inherit;font-size:12px;min-height:44px;display:inline-flex;align-items:center;color:var(--gold-l);background:none;border:0;cursor:pointer;text-underline-offset:4px;padding:8px 0}
#s-onboard .profile-leave-guard [hidden]{display:none!important}
#s-onboard .profile-tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-width:0;min-height:50px;border:0;border-radius:6px 6px 0 0;background:none;color:var(--workspace-muted,var(--muted));font:inherit;font-size:13px;font-weight:400;cursor:pointer;padding:11px 7px;transition:color .18s,background .18s}
#s-onboard .profile-tabs button:hover{color:var(--text);background:#ffffff04}
#s-onboard .profile-tabs [aria-selected=true]{color:var(--gold-l);font-weight:500}
#s-onboard .profile-tabs [aria-selected=true]::after{content:'';position:absolute;left:10px;right:10px;bottom:-1px;height:2px;background:var(--gold);border-radius:2px}
#s-onboard svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
#s-onboard .profile-pane{min-width:0}
#s-onboard .profile-pane-intro{margin-bottom:23px}
#s-onboard .profile-pane-intro h3{font:500 21px/1.4 var(--display);letter-spacing:-.012em;margin:0 0 9px;color:var(--text)}
#s-onboard .profile-pane-intro p{font-size:13px;line-height:1.8;color:var(--workspace-muted,var(--muted));max-width:58ch;margin:0}
#s-onboard label{font-size:12px;letter-spacing:0;color:var(--text);margin-bottom:9px}
#s-onboard input{min-height:49px;border:1px solid var(--workspace-line,#ffffff24);border-radius:9px;background:#ffffff03;padding:12px 14px;font-weight:400}
#s-onboard input:focus{background:#ffffff05;border-color:var(--gold)}
#s-onboard input:disabled{opacity:.55}
#s-onboard input[aria-invalid=true]{border-color:#dfa89c}
#s-onboard .field{margin-bottom:20px}
#s-onboard .profile-field-hint{margin:8px 0 0;font-size:11px;line-height:1.7;color:var(--workspace-muted,var(--muted))}
#s-onboard .profile-extra{border:1px solid var(--workspace-line,#ffffff20);border-radius:10px;margin:22px 0 0;background:none}
#s-onboard .profile-extra summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:65px;padding:14px 16px}
#s-onboard .profile-extra summary::-webkit-details-marker{display:none}
#s-onboard .profile-extra summary strong{display:block;font:400 13px/1.6 'Be Vietnam Pro',sans-serif;color:var(--text)}
#s-onboard .profile-extra summary small{display:block;font-size:10px;line-height:1.7;color:var(--workspace-muted,var(--muted));margin-top:2px}
#s-onboard .profile-extra summary svg{transition:transform .18s;color:var(--gold)}
#s-onboard .profile-extra[open] summary svg{transform:rotate(180deg)}
#s-onboard .profile-extra-body{padding:0 16px 17px}
#s-onboard .profile-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#s-onboard .profile-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px 16px;margin-top:22px}
#s-onboard .profile-form-actions .btn{width:auto;min-width:150px;min-height:46px;padding:12px 20px;font-size:13px;letter-spacing:0;font-weight:500;background:var(--gold-l);box-shadow:none;border-radius:8px}
#s-onboard .profile-form-actions .btn:hover{background:#f3dfae;box-shadow:none}
#s-onboard .profile-form-actions p{flex:1 1 190px;font-size:11px;line-height:1.7;margin:0;color:var(--workspace-muted,var(--muted))}
#s-onboard .profile-form-actions p[data-state=error],#s-onboard #username-save-status[data-state=error]{color:#e7b5ab}
#s-onboard .profile-cancel{background:none;border:0;color:var(--workspace-muted,var(--muted));font:inherit;font-size:12px;min-height:44px;padding:8px;cursor:pointer}
#s-onboard .profile-next{margin-top:29px;padding-top:22px;border-top:1px solid var(--workspace-line,#ffffff20);display:grid;gap:7px}
#s-onboard .profile-next>a,#s-onboard .profile-next>button{display:flex;align-items:center;justify-content:space-between;gap:16px;border:0;background:none;color:var(--gold-l);font:inherit;font-size:14px;font-weight:500;text-decoration:none;min-height:44px;text-align:left;padding:0;cursor:pointer}
#s-onboard .profile-next>span{font-size:11px;color:var(--workspace-muted,var(--muted));line-height:1.7}
#s-onboard .profile-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:7px}
#s-onboard .profile-label-row label{margin:0}
#s-onboard .profile-label-row button{background:none;border:0;padding:8px 0;color:var(--gold);font:inherit;font-size:10px;line-height:1.5;cursor:pointer;min-height:36px;text-align:right}
#s-onboard .profile-storage{font-size:10px;line-height:1.8;color:var(--workspace-muted,var(--muted));margin:18px 0 0;padding-left:12px;border-left:2px solid var(--workspace-line,#ffffff20);max-width:60ch}
#s-onboard .profile-reading-note{display:grid;gap:10px;margin:25px 0 0;font-size:11px;line-height:1.8;color:var(--workspace-muted,var(--muted))}
#s-onboard .profile-reading-note a{color:var(--gold);text-underline-offset:4px}
#s-onboard .profile-account-plan{display:grid;grid-template-columns:1fr auto;align-items:start;gap:10px 20px;padding:18px 20px;margin-bottom:26px;border:1px solid var(--workspace-line,#ffffff20);border-radius:10px;background:#ffffff02}
#s-onboard .profile-account-plan span{display:block;font-size:10px;line-height:1.7;color:var(--workspace-muted,var(--muted));margin-bottom:5px}
#s-onboard .profile-account-plan strong{display:block;font-weight:500;font-size:14px;line-height:1.7;font-variant-numeric:tabular-nums}
#s-onboard .profile-account-plan small{display:block;font-size:11px;margin-top:4px;color:var(--workspace-muted,var(--muted))}
#s-onboard .profile-account-plan a{grid-column:1/-1;font-size:11px;color:var(--gold);margin-top:6px;text-underline-offset:4px}
#s-onboard .profile-username-row{display:flex;align-items:stretch;gap:10px}
#s-onboard .profile-username-row input{min-width:0;flex:1}
#s-onboard .profile-username-row button{min-width:65px;min-height:48px;background:none;border:1px solid var(--workspace-line,#ffffff20);border-radius:8px;color:var(--gold-l);font:inherit;font-size:12px;padding:10px 16px;cursor:pointer}
#s-onboard #username-save-status{font-size:11px;color:var(--workspace-muted,var(--muted));line-height:1.7;margin:10px 0 0}
#s-onboard .profile-account-links{display:grid;border-top:1px solid var(--workspace-line,#ffffff20);margin-top:26px}
#s-onboard .profile-account-links>a,#s-onboard .profile-account-links>button{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;font:inherit;font-size:12px;color:var(--text);background:none;border:0;border-bottom:1px solid var(--workspace-line,#ffffff20);padding:12px 0;text-decoration:none;text-align:left;cursor:pointer}
#s-onboard #btn-signout{color:var(--workspace-muted,var(--muted))}
#s-onboard button:disabled{opacity:.5;cursor:default}
#s-onboard button:focus-visible,#s-onboard a:focus-visible,#s-onboard summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:4px}
@media(max-width:480px){#s-onboard{padding-top:10px!important}#s-onboard .profile-back{margin-bottom:17px}#s-onboard .profile-heading{gap:12px;margin-bottom:20px}#s-onboard h2.title{font-size:33px}#s-onboard #who{font-size:10px}#s-onboard .profile-entitlement strong{font-size:12px}#s-onboard .profile-entitlement small{font-size:10px}#s-onboard .profile-tabs{margin-bottom:23px}#s-onboard .profile-tabs button{font-size:12px;gap:7px;padding-inline:4px}#s-onboard .profile-tabs svg{width:17px;height:17px}#s-onboard .profile-pane-intro h3{font-size:21px}#s-onboard .profile-pane-intro p{font-size:12px}#s-onboard .profile-form-actions .btn{flex:1 1 auto}#s-onboard .profile-form-actions p{flex-basis:100%}#s-onboard .profile-field-grid{grid-template-columns:1fr}#s-onboard .profile-account-plan{padding:16px;gap:10px}#s-onboard .profile-label-row{gap:8px}#s-onboard .profile-label-row button{font-size:10px}#s-onboard .profile-next{margin-top:23px;padding-top:16px}}
@media(prefers-reduced-motion:reduce){#s-onboard *,#s-onboard *::after{transition:none!important;animation:none!important}}
