/* Give the actual profile enough room to read, including on phones. */
.account-observation { grid-template-columns: minmax(300px,380px) minmax(0,1fr); gap: 26px; align-items: start; }
.account-preview { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 16px; min-width: 0; }
.account-preview-heading { margin: 0; }
.account-preview-heading .eyebrow { font-size: 10px; letter-spacing: .12em; }
.account-preview-image { display: block; width: 100%; margin: 0; background: #08090b; border: 1px solid #2b2c31; border-radius: 12px; overflow: hidden; }
.account-preview-image img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; margin: 0; }
.account-preview-caption { display: grid; gap: 5px; margin: 0; font-size: 12px; align-self: stretch; }
.account-preview-caption small { font-size: 11px; }
.account-preview > .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; align-self: stretch; }
.account-preview .small, .account-preview .text-button { font-size: 12px; }
.account-preview .small { min-height: 40px; }
.profile-panel{background:#111216;border:1px solid #36363e;border-radius:14px;overflow:hidden;color:#faf9fc;min-width:0}
.profile-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 16px;border-bottom:1px solid #32333b;font-size:17px}.profile-title strong{overflow-wrap:anywhere}.profile-title a{color:#d4c4ff;font-size:21px;padding:3px 8px;text-decoration:none}
.profile-identity{display:flex;align-items:center;gap:12px;padding:18px 14px 12px}.profile-avatar{position:relative;width:72px;height:72px;flex:0 0 72px;border-radius:50%;padding:0;background:#363044;border:0;color:#f9f7ff;display:grid;place-items:center;font-size:25px}.profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.profile-avatar b{position:absolute;right:-2px;bottom:-2px;background:#baa0ff;border:3px solid #111216;border-radius:50%;width:26px;height:26px;color:#171021;font-size:21px;display:grid;place-items:center;line-height:1}.profile-avatar:hover{filter:brightness(1.1)}
.profile-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;flex:1;min-width:0;margin:0;text-align:center}.profile-numbers div{display:flex;flex-direction:column-reverse;gap:4px}.profile-numbers dt{font-size:12px;color:#d0cbd8}.profile-numbers dd{font-size:15px;font-weight:700;margin:0;overflow-wrap:anywhere}
.profile-copy{padding:5px 16px 13px}.profile-copy>strong{font-size:16px}.profile-bio,.profile-bio-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;margin:8px 0 0;text-align:left;color:#f2eef9}.profile-panel .profile-bio{display:block;width:100%;padding:0;border:0;border-radius:0;background:none;font-weight:400}.profile-bio small{display:block;font-size:12px;color:#d2bfff;margin-top:6px}.profile-bio:hover span{text-decoration:underline}
.profile-panel .profile-story-button{display:block;width:calc(100% - 28px);margin:0 14px 17px;padding:11px 14px;min-height:42px;font-size:14px;border-radius:9px;background:#baa0ff;color:#181021;font-weight:600}
.profile-grid-label{display:flex;justify-content:space-between;padding:13px 14px;border-top:1px solid #32333b;font-size:13px}.profile-grid-label small{font-size:12px;color:#c9c2d5}.profile-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.profile-panel .profile-post{display:block;position:relative;aspect-ratio:3/4;min-width:0;padding:0;border:0;border-radius:0;background:#24232b;overflow:hidden;color:white}.profile-post img{display:block;width:100%;height:100%;object-fit:cover}.profile-post:hover img{filter:brightness(1.1)}.profile-post:focus-visible,.profile-avatar:focus-visible,.profile-bio:focus-visible{outline:3px solid #c9b6ff;outline-offset:-3px}.profile-post-views,.profile-post-type{position:absolute;background:#0a0b0ee8;border-radius:5px;font-size:12px;font-weight:600;padding:4px 5px;line-height:1.2}.profile-post-views{left:5px;bottom:5px}.profile-post-type{right:5px;top:5px;font-size:16px}.profile-missing{display:block;font-size:12px;padding:8px;color:#d4d0db}.profile-empty{grid-column:1/-1;padding:12px 16px;font-size:14px;color:#c9c2d5}
.profile-provenance{padding:13px 14px;display:grid;gap:5px;font-size:11px;line-height:1.6;color:#c0bacd}.profile-provenance summary{color:#d4c4ff;cursor:pointer}.profile-provenance p{font-size:12px;margin:8px 0 0}.profile-loading{padding:20px;font-size:14px}
.profile-story-options{display:grid;gap:12px;margin:24px 0}.profile-story-options button{text-align:left;padding:17px;font-size:16px;min-height:50px}.profile-story-preview{max-width:300px;max-height:430px;margin:20px auto;background:#08090b;border-radius:12px;overflow:hidden}.profile-story-preview img,.profile-story-preview video{display:block;width:100%;max-height:430px;object-fit:contain}.profile-full-image{background:#0b0c0f;border-radius:12px;overflow:hidden;display:flex;justify-content:center;margin-top:20px}.profile-full-image img{max-height:65vh;max-width:100%;object-fit:contain}.profile-post-summary{display:flex;gap:24px;margin-top:18px}.profile-post-caption{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.profile-panel .profile-avatar img{width:72px;height:72px;min-height:0;max-width:none;object-fit:cover}.profile-provenance details{margin:0;padding:0;border:0;background:none}
@media(max-width:380px){.profile-identity{gap:8px;padding:14px 10px}.profile-avatar{width:58px;height:58px;flex-basis:58px}.profile-numbers dd{font-size:13px}.profile-numbers dt{font-size:11px}.profile-title{padding:14px 12px;font-size:16px}.profile-copy{padding:6px 12px 13px}}
@media(max-width:380px){.profile-panel .profile-avatar img{width:58px;height:58px}}
@media (max-width:1100px) {
  .account-observation { grid-template-columns: 1fr; }
  .account-preview { width: 100%; max-width: 460px; justify-self: center; box-sizing: border-box; }
}
@media (max-width:650px) {
  .account-panel { padding: 14px; }
  .account-observation { gap: 22px; }
  .account-preview { padding: 8px; gap: 12px; }
  .account-preview-image img { height: auto; }
  .account-preview-caption { font-size: 12px; }
}

/* Per-VA account previews share the same scoped snapshots and saved readings. */
.va-account-overview { border-bottom: 1px solid var(--line); padding: 16px 0 24px; }
.va-account-overview > .row { gap: 12px; margin-bottom: 16px; }
.va-account-overview > .row strong { overflow-wrap: anywhere; }
.va-account-overview > .row small { font-weight: 400; }
.va-account-performance { display: grid; grid-template-columns: minmax(260px,320px) minmax(0,1fr); gap: 24px; align-items: start; }
.va-account-results { min-width: 0; }
.va-account-results .account-insights { margin-top: 0; padding-top: 0; border-top: 0; }
.va-account-results .insight-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
.va-account-results .insight-metrics strong { font-size: clamp(22px,2.5vw,32px); overflow-wrap: anywhere; }
.va-account-results .row { gap: 12px; }
.va-account-results .insight-next { grid-template-columns: 1fr; }
@media (max-width:1100px) {
  .va-account-performance { grid-template-columns: 1fr; }
}
