/* F2.1 baseline for public profiles. Agent 2 restyles; the hooks are .sq-profile-* and [data-profile-*]. */
.sq-profile-name{display:flex;align-items:center;gap:.4em;flex-wrap:wrap}
.sq-profile-name .sq-emblem{width:1.1em;height:1.1em}
.sq-profile-badges{display:flex;gap:.5em;flex-wrap:wrap;align-items:center;margin:.25rem 0 0}
.sq-profile-status[data-status="retired"]{opacity:.75}
.sq-profile-facts{display:grid;gap:.5rem;margin:.75rem 0;padding:0}
.sq-profile-facts>div{display:grid;grid-template-columns:minmax(120px,200px) minmax(0,1fr);gap:.75rem}
.sq-profile-facts dt{opacity:.75}
.sq-profile-facts dd{margin:0;overflow-wrap:anywhere}
.sq-profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;max-width:70ch}
.sq-profile-edit form,.sq-profile-mod form{display:grid;gap:.6rem}
.sq-profile-posts{list-style:none;padding:0}
@media(max-width:560px){.sq-profile-facts>div{grid-template-columns:1fr;gap:.1rem}}

/* F2.1 identity bridge: one readable public record, with permissions supplied by the server. */
.sq-profile-page{max-width:960px!important}
.sq-profile-head{padding:24px;border:1px solid var(--line);border-left:3px solid var(--econ);border-radius:6px;background:var(--panel);margin-bottom:24px;display:flow-root}
.sq-profile-head .dp-eyebrow{margin-bottom:14px}.sq-profile-head .sq-profile-name{font-size:clamp(28px,3.2vw,42px);margin-bottom:14px;gap:10px;overflow-wrap:anywhere}
.sq-profile-name .sq-emblem{width:30px;height:30px;flex-shrink:0}
.profile-nation-flag{float:right;width:150px;height:100px;object-fit:contain;border:1px solid var(--line);border-radius:5px;margin:0 0 16px 24px;padding:3px;background:var(--ink)}
.profile-alliance-flag{width:30px;height:20px;object-fit:contain;vertical-align:middle;margin-right:8px;border:1px solid var(--line)}
.sq-profile-badges{gap:8px;margin:0}.sq-profile-status{padding:4px 8px;background:var(--ink);color:var(--muted);font:10px var(--font-number);border:1px solid var(--line);border-radius:4px}.sq-profile-status[data-status=retired]{opacity:1;border-style:dashed}
.sq-profile-head>.sq-epithet{margin:14px 0 0;font-size:14px;line-height:1.6}
.sq-profile-identity{padding:0 4px 20px;border-bottom:1px solid var(--line)}.sq-profile-identity h2,.sq-profile-activity>h2{font:500 11px var(--font-number);text-transform:uppercase;letter-spacing:.08em;color:var(--econ);margin:0 0 16px}
.sq-profile-facts{gap:0;margin:0}.sq-profile-facts>div{grid-template-columns:150px minmax(0,1fr);padding:12px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.6}.sq-profile-facts dt{color:var(--muted);opacity:1}.sq-profile-facts dd{color:var(--paper)}.sq-profile-facts .sq-meta{font-size:11px}
.sq-profile-bio{font-size:15px;line-height:1.8;margin:22px 0;max-width:70ch}.profile-empty-bio{color:var(--muted);font-size:13px}
.sq-profile-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0 0}.sq-profile-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:4px;font-size:12px;text-decoration:none;color:var(--paper)}.sq-profile-actions .profile-message{background:var(--econ);color:var(--ink);border-color:var(--econ);font-weight:600}
.sq-profile-edit,.sq-profile-mod{margin:22px 0}.sq-profile-edit input:not([type=checkbox]),.sq-profile-mod input,.sq-profile-edit textarea{width:100%;min-width:0;padding:10px 12px;border:1px solid var(--line);background:var(--ink);color:var(--paper);font:14px/1.6 var(--font-ui);border-radius:4px}.sq-profile-edit label{font-size:13px}.sq-profile-edit .sq-official-toggle{font-size:12px}.profile-field-count{justify-self:end;font:10px var(--font-number);color:var(--muted);margin-top:-4px}.sq-profile-edit .sq-msg,.sq-profile-mod .sq-msg{font-size:12px;line-height:1.6}.sq-msg.is-bad{color:color-mix(in srgb,var(--alert) 55%,var(--paper))}
.sq-profile-activity{margin-top:32px}.sq-profile-activity>.sq-meta{font-size:12px;margin:0 0 18px}.sq-profile-posts .sq-result{border-bottom:1px solid var(--line);padding:20px 4px}.sq-profile-posts .sq-result-title{font:600 19px/1.5 var(--font-heading);color:var(--paper);overflow-wrap:anywhere}.sq-profile-posts .sq-snippet{font-size:13px;color:var(--muted);line-height:1.7;margin:10px 0 0;overflow-wrap:anywhere}
.sq-profile-page a:focus-visible,.sq-profile-page input:focus-visible,.sq-profile-page textarea:focus-visible{outline:2px solid var(--econ);outline-offset:3px}
@media(max-width:600px){.sq-profile-head{padding:18px}.profile-nation-flag{width:105px;height:70px;margin-left:14px}.sq-profile-head .sq-profile-name{font-size:28px;display:block}.sq-profile-name .sq-emblem{display:inline-flex;vertical-align:middle;margin-right:6px}.sq-profile-facts>div{grid-template-columns:1fr;gap:3px}.sq-profile-facts dt{font-size:11px}.sq-profile-head .dp-eyebrow{font-size:9px}.sq-profile-edit input:not([type=checkbox]),.sq-profile-edit textarea,.sq-profile-mod input{font-size:16px}.sq-profile-posts .sq-result-title{font-size:18px}}
