/* 账户 as a personal profile (profile_card.js): cover band, round photo, name, bio, tabs. Calm blue/violet only. */
#accountview .prof-hero{position:relative;padding:0;overflow:hidden;margin-bottom:14px}
#accountview .prof-cover{height:96px;background:radial-gradient(circle at 85% 20%,rgba(255,255,255,.22),transparent 40%),radial-gradient(circle at 15% 120%,rgba(255,255,255,.14),transparent 45%),linear-gradient(120deg,var(--primary1,#245bad) 0%,var(--wh-violet,var(--violet,#64419b)) 75%,color-mix(in srgb,var(--wh-violet,#64419b) 60%,#fff) 100%)}
#accountview .prof-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:20px;padding:0 24px;margin-top:-48px}
#accountview .prof-photo{position:relative;width:112px;height:112px}
#accountview .prof-photo .prof-face-xl{width:112px;height:112px;font-size:36px;border:4px solid var(--surface1,#fff);box-shadow:0 6px 18px rgba(20,35,60,.18)}
#accountview .prof-photo-btn{position:absolute;right:2px;bottom:4px;display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:50%;border:2px solid var(--surface1,#fff);background:var(--acc,#245bad);color:#fff;cursor:pointer;box-shadow:0 2px 8px rgba(20,35,60,.25)}
#accountview .prof-photo-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
#accountview .prof-photo-btn:hover{filter:brightness(1.08)}
#accountview .prof-photo-btn:focus-visible{outline:2px solid var(--acc2,#62d9ff);outline-offset:2px}
#accountview .prof-ident{min-width:0;padding-top:58px}
#accountview .prof-ident h2{margin:0;font-size:var(--wh-fs-xl,24px);line-height:1.2;overflow-wrap:anywhere}
#accountview .prof-title{margin:4px 0 0;color:var(--dim)}
#accountview .prof-bio{margin:8px 0 0;max-width:68ch;white-space:pre-line;overflow-wrap:anywhere}
#accountview .prof-bio:empty{display:none}
#accountview .prof-meta{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:8px;color:var(--dim);font-size:var(--wh-fs-sm,13px)}
#accountview .prof-meta:empty{display:none}
#accountview .prof-meta span+span::before{content:"·";margin-right:16px;margin-left:-8px;opacity:.6}
#accountview .prof-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding-top:58px}
#accountview .prof-actions .self-sign-out{background:none;box-shadow:none;border-color:var(--line);color:var(--dim)}
#accountview .prof-actions .self-sign-out:hover{color:var(--hot,#b4233a);border-color:color-mix(in srgb,var(--hot,#b4233a) 40%,var(--line))}
#accountview .prof-actions .self-presence-badge{margin:0}
#accountview .prof-note{margin:12px 24px 0;padding:8px 12px;border-radius:8px;background:var(--danger-bg,#fff0f3);color:var(--hot,#b4233a)}
#accountview .prof-tabs{display:flex;gap:4px;margin-top:16px;padding:0 16px;border-top:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
#accountview .prof-tabs button{position:relative;padding:12px 12px 13px;border:0;border-radius:0;background:none;box-shadow:none;color:var(--dim);font:inherit;font-weight:var(--wh-fw-medium,550);white-space:nowrap;cursor:pointer;min-height:0}
#accountview .prof-tabs button.on{color:var(--acc)}
#accountview .prof-tabs button.on::after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--acc)}
#accountview .prof-tabs button:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}

/* photo or initials, anywhere */
.prof-face{display:inline-grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,var(--acc,#245bad),var(--wh-violet,var(--violet,#64419b)));color:#fff;font-weight:var(--wh-fw-bold,650);line-height:1}
.prof-face img{width:100%;height:100%;object-fit:cover;display:block}
.prof-face-sm{width:32px;height:32px;font-size:12px}

/* editing in place */
#accountview .prof-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:16px 24px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface3,var(--surface0))}
#accountview .prof-form label{display:grid;gap:6px;font-size:var(--wh-fs-sm,13px);color:var(--dim)}
#accountview .prof-form input,#accountview .prof-form textarea{width:100%;box-sizing:border-box;font:inherit;color:var(--txt);padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface1,#fff)}
#accountview .prof-form textarea{resize:vertical;min-height:72px}
#accountview .prof-form label small{justify-self:end}
#accountview .prof-wide{grid-column:1/-1}
#accountview .prof-form-actions{display:flex;align-items:center;gap:8px}
#accountview .prof-form-actions small{margin-right:auto;color:var(--dim)}
#accountview .prof-hero.is-editing .prof-bio,#accountview .prof-hero.is-editing .prof-meta{display:none}

/* panes */
#accountview .prof-pane>*+*{margin-top:14px}
#accountview .prof-about-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
#accountview .prof-card{margin:0}
#accountview .prof-card h3{margin:0 0 10px;font-size:var(--wh-fs-md,14px)}
#accountview .prof-card h3.prof-gap{margin-top:16px}
#accountview .prof-bio-text{margin:0 0 10px;white-space:pre-line;overflow-wrap:anywhere;line-height:1.6}
#accountview .prof-dim{color:var(--dim);margin:0 0 8px}
#accountview .prof-link{padding:0;border:0;background:none;box-shadow:none;color:var(--acc);font:inherit;cursor:pointer;min-height:0;text-decoration:underline;text-underline-offset:2px}
#accountview .prof-facts{display:grid;gap:10px;margin:0}
#accountview .prof-facts div{display:grid;gap:2px}
#accountview .prof-facts dt{color:var(--dim);font-size:var(--wh-fs-xs,12px)}
#accountview .prof-facts dd{margin:0;overflow-wrap:anywhere}
#accountview .prof-chips{display:flex;flex-wrap:wrap;gap:6px}
#accountview .prof-chip{padding:3px 10px;border-radius:999px;border:1px solid color-mix(in srgb,var(--acc) 30%,var(--line));background:color-mix(in srgb,var(--acc) 8%,transparent);color:var(--acc);font-size:var(--wh-fs-sm,13px)}
#accountview .prof-pane-hint{margin:0;color:var(--dim);font-size:var(--wh-fs-sm,13px)}
#accountview [data-prof-pane="look"] .self-avatar-editor>summary{display:none}
#accountview .prof-pane-link{display:flex;justify-content:flex-end;margin:0}

@media (max-width:900px){#accountview .prof-about-grid{grid-template-columns:1fr}}
@media (max-width:640px){
  #accountview .prof-cover{height:96px}
  #accountview .prof-head{grid-template-columns:1fr;justify-items:start;gap:10px;padding:0 16px;margin-top:-48px}
  #accountview .prof-photo,#accountview .prof-photo .prof-face-xl{width:96px;height:96px;font-size:30px}
  #accountview .prof-ident{padding-top:0}
  #accountview .prof-actions{justify-content:flex-start}
  #accountview .prof-form{grid-template-columns:1fr;margin:12px 16px 0}
  #accountview .prof-tabs{padding:0 8px}
}

/* who and where, the month in numbers (2026-10-29 pass) */
#accountview .prof-title{font-size:var(--wh-fs-md,14px)}
#accountview .prof-cos{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
#accountview .prof-cos:empty{display:none}
#accountview .prof-co{display:inline-flex;align-items:center;gap:6px;padding:2px 10px 2px 2px;border:1px solid var(--line);border-radius:999px;font-size:var(--wh-fs-xs,12px);color:var(--dim);background:var(--surface3,var(--surface0))}
#accountview .prof-co b{padding:1px 8px;border-radius:999px;background:color-mix(in srgb,var(--acc) 12%,transparent);color:var(--acc);font-weight:var(--wh-fw-bold,650)}
#accountview .prof-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 24px 0}
#accountview .prof-stats:empty{display:none}
#accountview .prof-stat{display:grid;gap:2px;justify-items:start;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface3,var(--surface0));box-shadow:none;font:inherit;text-align:left;cursor:pointer;min-height:0}
#accountview .prof-stat b{font-size:var(--wh-fs-lg,20px);line-height:1.2;color:var(--txt)}
#accountview .prof-stat span{font-size:var(--wh-fs-xs,12px);color:var(--dim)}
#accountview .prof-stat.is-hot b{color:var(--hot,#b4233a)}
#accountview .prof-stat:hover{border-color:color-mix(in srgb,var(--acc) 40%,var(--line))}
#accountview .prof-stat:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
#accountview .prof-about-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
#accountview .prof-col{display:grid;gap:14px;align-content:start}
#accountview .prof-companies{display:grid;gap:0;margin:0;padding:0;list-style:none}
#accountview .prof-companies li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px 0;border-top:1px solid var(--line)}
#accountview .prof-companies li:first-child{border-top:0;padding-top:0}
#accountview .prof-companies p{margin:2px 0 0;color:var(--dim);font-size:var(--wh-fs-sm,13px)}
#accountview .prof-code{min-width:44px;padding:3px 8px;border-radius:6px;background:color-mix(in srgb,var(--acc) 10%,transparent);color:var(--acc);font-weight:var(--wh-fw-bold,650);font-size:var(--wh-fs-xs,12px);text-align:center}
#accountview .prof-badge{padding:2px 10px;border-radius:999px;background:var(--surface2,var(--surface0));color:var(--dim);font-size:var(--wh-fs-xs,12px);white-space:nowrap}
#accountview .prof-roles{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:8px}
#accountview .prof-role-group{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px}
#accountview .prof-role-group small{color:var(--dim);font-size:var(--wh-fs-xs,12px)}
#accountview .prof-role-group .prof-chip{padding:1px 8px;font-size:var(--wh-fs-xs,12px)}
#accountview .prof-foot{margin:12px 0 0;color:var(--dim);font-size:var(--wh-fs-xs,12px)}
#accountview .prof-facts-wide{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px}
#accountview .prof-facts-wide dd{display:flex;flex-wrap:wrap;gap:6px}
#accountview .account-details[hidden]{display:none}
#accountview .onboarding-card{margin-bottom:14px}
@media (max-width:900px){#accountview .prof-about-grid{grid-template-columns:1fr}#accountview .prof-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  #accountview .prof-actions{padding-top:0}
  #accountview .prof-stats{margin:14px 16px 0}
  #accountview .prof-facts-wide{grid-template-columns:1fr}
}
