/* Standalone account editor: inherits the registry's light/dark tokens. */
.registry .own-profile { border:1px solid var(--atlas-line); background:var(--atlas-panel); box-shadow:0 16px 50px #061b1d22; padding:clamp(20px,3vw,38px); }
.registry .own-profile-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.registry .own-profile-heading h2 { margin:7px 0 4px; font-size:clamp(25px,3vw,34px); line-height:1.5; font-weight:600; letter-spacing:-.04em; }
.registry[dir="rtl"] .own-profile-heading h2 { letter-spacing:0; }
.registry .own-profile-heading p { margin:0; font-size:15px; line-height:1.7; color:var(--atlas-muted); }
.registry .own-profile-mark { font:11px var(--atlas-mono); color:var(--atlas-green); white-space:nowrap; direction:ltr; }
.registry .own-profile-note { display:flex; align-items:flex-start; gap:12px; padding:17px 20px; margin-top:24px; background:var(--atlas-soft); border-inline-start:3px solid var(--atlas-green); font-size:14px; line-height:1.8; color:var(--atlas-muted); }
.registry .own-profile-note>span { display:grid; place-items:center; border:1px solid var(--atlas-orbit); border-radius:50%; width:20px; height:20px; flex:none; font:12px var(--atlas-mono); margin-top:3px; color:var(--atlas-green); }
.registry .own-profile-note p { margin:0; }
.registry .own-profile-note strong { color:var(--atlas-ink); font-weight:600; }
.registry .own-profile-state { min-height:260px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:14px; color:var(--atlas-muted); text-align:center; font-size:16px; }
.registry .own-profile-state p { margin:0; max-width:600px; overflow-wrap:anywhere; }
.registry .own-profile-feedback:empty { display:none; }
.registry .own-profile-feedback p { border:1px solid var(--atlas-line); padding:12px 16px; margin:18px 0 0; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.registry .own-profile-success { color:var(--atlas-green); background:var(--atlas-soft); }
.registry .own-profile-error,.registry .own-profile-field-error { color:#ffc0b4; }
html[data-theme="light"] .registry .own-profile-error,html[data-theme="light"] .registry .own-profile-field-error { color:#a32d21; }
.registry .own-profile-error { background:var(--atlas-dossier); }
.registry .own-profile-content { display:grid; grid-template-columns:minmax(210px,.75fr) minmax(0,2fr); gap:clamp(22px,4vw,56px); margin-top:30px; align-items:start; }
.registry .own-profile h3 { font-size:18px; line-height:1.6; font-weight:600; margin:0; }
.registry .own-profile-photo { min-width:0; text-align:center; background:var(--atlas-dossier); border:1px solid var(--atlas-line); padding:24px 20px; }
.registry .own-profile-avatar { width:144px; height:144px; margin:22px auto 18px; border:1px solid var(--atlas-orbit); border-radius:50%; background:var(--atlas-monogram); display:grid; place-items:center; overflow:hidden; }
.registry .own-profile-avatar img { width:100%; height:100%; object-fit:cover; }
.registry .own-profile-avatar>span { color:var(--atlas-green); font:40px var(--atlas-mono); }
.registry .own-profile-photo-hint { color:var(--atlas-muted); font-size:12px; line-height:1.8; margin:13px 0 0; }
.registry .own-profile-photo-actions { display:flex; flex-direction:column; align-items:stretch; gap:8px; margin-top:18px; }
.registry .own-profile-selected { display:flex; flex-direction:column; gap:6px; font-size:12px; line-height:1.7; margin:4px 0; color:var(--atlas-muted); overflow-wrap:anywhere; }
.registry .own-profile-selected>bdi { color:var(--atlas-ink); }
.registry .own-profile-file { position:absolute; width:1px; height:1px; opacity:0; overflow:hidden; clip-path:inset(50%); }
.registry .own-profile-file:focus-visible~.own-profile-photo-actions>button:first-child { outline:2px solid var(--atlas-green); outline-offset:3px; }
.registry .own-profile-button { min-height:44px; padding:10px 18px; border:1px solid var(--atlas-orbit); border-radius:3px; background:var(--atlas-soft); color:var(--atlas-ink); font-family:inherit; font-size:14px; font-weight:600; line-height:1.6; cursor:pointer; }
.registry .own-profile-button.is-primary { background:var(--atlas-green); border-color:var(--atlas-green); color:var(--atlas-on-green); }
.registry .own-profile-button.is-quiet { border-color:var(--atlas-line); background:transparent; color:var(--atlas-muted); }
.registry .own-profile-button:not(:disabled):hover { border-color:var(--atlas-green); filter:brightness(1.08); }
.registry .own-profile-button:disabled { opacity:.55; cursor:wait; }
.registry .own-profile-form { min-width:0; }
.registry .own-profile-section-heading { padding-bottom:20px; border-bottom:1px solid var(--atlas-line); margin-bottom:23px; }
.registry .own-profile-section-heading p { margin:4px 0 0; color:var(--atlas-muted); font-size:13px; line-height:1.7; }
.registry .own-profile-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.registry .own-profile-field { display:flex; flex-direction:column; gap:8px; min-width:0; }
.registry .own-profile-field.is-wide { grid-column:1/-1; }
.registry .own-profile-field label { display:flex; justify-content:space-between; gap:10px; color:var(--atlas-ink); font-size:14px; font-weight:600; }
.registry .own-profile-field label small { color:var(--atlas-muted); font-size:11px; font-weight:400; }
.registry .own-profile-field input,.registry .own-profile-field select,.registry .own-profile-field textarea { width:100%; min-width:0; min-height:46px; border:1px solid var(--atlas-line); border-radius:3px; padding:10px 12px; background:var(--atlas-paper); color:var(--atlas-ink); font:inherit; font-size:16px; line-height:1.65; }
.registry .own-profile-field textarea { resize:vertical; min-height:140px; }
.registry .own-profile-field input:disabled,.registry .own-profile-field select:disabled,.registry .own-profile-field textarea:disabled { opacity:.65; }
.registry .own-profile-field [aria-invalid="true"] { border-color:#d98170; }
html[data-theme="light"] .registry .own-profile-field [aria-invalid="true"] { border-color:#a32d21; }
.registry .own-profile-field-error { display:block; font-size:12px; line-height:1.7; margin:0; }
.registry .own-profile-count { text-align:end; color:var(--atlas-muted); font:11px var(--atlas-mono); }
.registry .own-profile-field textarea:focus-visible { outline:2px solid var(--atlas-green); outline-offset:2px; }
.registry .own-profile-form-footer { display:flex; flex-wrap:wrap; gap:16px; justify-content:space-between; align-items:center; border-top:1px solid var(--atlas-line); margin-top:22px; padding-top:20px; }
.registry .own-profile-form-footer>div { flex:1 1 180px; min-width:0; }
.registry .own-profile-form-footer p { margin:0; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.registry .own-profile-dirty { color:var(--atlas-green); }
.registry .own-profile-updated { color:var(--atlas-muted); }
@media (max-width:900px) {
  .registry .own-profile-content { grid-template-columns:minmax(190px,.8fr) minmax(0,1.7fr); gap:24px; }
  .registry .own-profile-photo { padding:20px 14px; }
}
@media (max-width:700px) {
  .registry .own-profile-content { grid-template-columns:1fr; }
  .registry .own-profile-photo { padding:22px; }
  .registry .own-profile-photo-actions { max-width:320px; margin-inline:auto; }
  .registry .own-profile-heading { align-items:flex-start; }
  .registry .own-profile-mark { display:none; }
}
@media (max-width:440px) {
  .registry .own-profile { padding:18px 14px; }
  .registry .own-profile-note { padding:14px 12px; gap:8px; font-size:13px; }
  .registry .own-profile-fields { grid-template-columns:1fr; gap:18px; }
  .registry .own-profile-form-footer>button { width:100%; }
}