/* Account screens share the market's Estedad / jade design language. */
.market-studio .header-profile { display:inline-flex; align-items:center; gap:9px; flex-shrink:0; background:#fffdf6; color:var(--ink); border:1px solid var(--line); padding:9px 18px; }
.header-profile svg,.profile-avatar svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }
.header-profile[aria-current=page] { background:var(--ink); color:#fffdf6; }
.market-studio .account-login { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:48px; align-items:center; padding:40px 0 64px; text-align:start; }
.account-login .login-copy>p { max-width:480px; margin:0 0 24px; }
.account-login h1 { margin:12px 0 20px; font-size:clamp(2rem,4vw,3.4rem); line-height:1.7; }
.login-copy>.primary { display:inline-flex; align-items:center; gap:30px; text-decoration:none; border-radius:10px; padding:13px 24px; min-height:52px; }
.account-login .login-copy .login-help { margin-top:16px; font-size:.78rem; color:var(--muted); }
.login-scene { margin:0; background:#dbe5d9; border:1px solid #c5d2c1; border-radius:24px 24px 8px 8px; overflow:hidden; }
.login-scene img { width:100%; height:auto; aspect-ratio:1.1; object-fit:cover; display:block; }
.login-scene figcaption { padding:24px; display:grid; gap:6px; background:#e6ecdf; }
.login-scene figcaption strong { font-size:1.2rem; }
.login-scene figcaption span { font-size:.78rem; color:var(--muted); }
.profile-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:8px 0 28px; }
.profile-heading p:not(.studio-eyebrow) { font-size:.85rem; color:var(--muted); margin-top:6px; }
.profile-layout { display:grid; grid-template-columns:minmax(250px,.85fr) minmax(0,1.15fr); gap:24px; align-items:start; }
.profile-card { background:#fffdf8; border:1px solid var(--line); border-top:4px solid #326753; border-radius:12px; padding:28px; min-width:0; }
.profile-avatar { display:grid; place-items:center; width:64px; height:64px; border:1px solid #c1d0bd; border-radius:50%; background:#e3ebdd; margin-bottom:18px; }
.profile-avatar svg { width:30px; height:30px; }
.profile-card h2 { font-size:1.25rem; overflow-wrap:anywhere; }
.profile-role { color:var(--muted); font-size:.8rem; margin:4px 0 22px; }
.profile-identity { display:flex; flex-direction:column; align-items:start; gap:6px; padding-bottom:18px; border-bottom:1px solid var(--line); font-size:.8rem; overflow-wrap:anywhere; }
.profile-identity .identity-copy { border:0; background:transparent; color:#326753; text-decoration:underline; text-underline-offset:5px; font-size:.75rem; padding:4px 0; min-height:44px; }
.profile-facts { margin:0 0 18px; }
.profile-facts>div { display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:15px 0; border-bottom:1px solid var(--line); font-size:.84rem; }
.profile-facts dt { color:var(--muted); flex-shrink:0; }
.profile-facts dd { margin:0; overflow-wrap:anywhere; text-align:end; }
#profile-empty { font-size:.82rem; margin:18px 0; }
.profile-detail { min-width:0; display:grid; gap:22px; }
.profile-editor { scroll-margin-top:24px; }
.profile-editor .panel { padding:28px; }
.profile-privacy { padding:28px; border:1px solid var(--line); border-radius:12px; background:#e9eee3; }
.profile-privacy h2 { margin:10px 0; }
.profile-privacy p { font-size:.82rem; color:var(--muted); margin-top:12px; }
.profile-logout,.profile-cancel { display:block; width:100%; margin-top:16px; background:transparent; color:var(--muted); font-size:.82rem; }
.profile-logout { border-top:1px solid var(--line); border-radius:0; padding-top:20px; color:#9b4534; }
.profile-cancel:hover,.profile-logout:hover { background:#f1eee5; }
@container workspace (max-width:760px) { .profile-layout { grid-template-columns:1fr; } }
@media(max-width:760px) {
  .market-studio .account-login { grid-template-columns:1fr; gap:28px; padding:20px 0 40px; }
  .login-scene img { aspect-ratio:2; }
  .profile-layout { grid-template-columns:1fr; }
  .profile-heading { align-items:start; flex-wrap:wrap; }
  .profile-heading .secondary { font-size:.75rem; min-height:44px; padding:8px 14px; }
  .profile-card,.profile-privacy,.profile-editor .panel { padding:22px; }
  .market-studio .header-profile { font-size:.75rem; min-height:44px; padding:8px 12px; gap:7px; }
}
@media(max-width:390px) {
  .market-studio .site-header { gap:10px; }
  .market-studio .header-profile { padding:8px; }
  .profile-facts>div { flex-direction:column; gap:4px; }
  .login-scene figcaption { padding:18px; }
}
