/* Account Profile 3.2: read-only layout independent of dashboard panels.
   Retains the existing dark blue-grey material and theme foreground. */
.asteria-profile-overlay[hidden] { display:none!important; }
.asteria-profile-overlay {
  position:fixed;inset:0;z-index:3500;display:grid;place-items:center;
  padding:16px;background:rgba(2,7,13,.80);
  overflow-y:auto;overscroll-behavior:contain;
}
.asteria-profile-dialog {
  position:relative;width:min(100%,520px);max-height:calc(100dvh - 32px);
  overflow:auto;box-sizing:border-box;padding:clamp(18px,3vw,30px);
  border:1px solid #7893a4;border-radius:5px;
  color:var(--asteria-text,#e6eef5);
  background:linear-gradient(145deg,#1a3042,#0a1724 66%,#07101a);
  box-shadow:0 25px 80px #000c,inset 0 1px #d6ecfb24;
  font-family:var(--asteria-font-body,Arial,sans-serif);
}
.asteria-profile-heading {
  display:flex;align-items:start;justify-content:space-between;gap:16px;
  padding-bottom:14px;border-bottom:1px solid #71889b55;
}
.asteria-profile-heading h2 {
  margin:4px 0 0;color:#e6d3b5;
  font:400 clamp(1.4rem,4vw,1.85rem)/1.2 var(--asteria-font-display,Georgia,serif);
}
.asteria-profile-heading .eyebrow { margin:0;color:#b5ccd9; }
.asteria-profile-heading button {
  min-width:44px;min-height:44px;font-size:1.45rem;color:#e3eaf2;
  background:#0b1a27;border:1px solid #71899b;cursor:pointer;
}
.asteria-profile-details {margin:18px 0;display:grid;gap:12px;}
.asteria-profile-details>div {
  display:grid;gap:6px;min-width:0;padding:12px;
  border:1px solid #526b7c55;background:#0a1a29a3;
}
.asteria-profile-details dt {
  color:#b1c6d5;font-size:.8rem;font-weight:600;letter-spacing:.025em;
}
.asteria-profile-details dd {
  margin:0;font-size:1rem;line-height:1.5;overflow-wrap:anywhere;
  user-select:text;
}
.asteria-profile-id dd {
  font:600 clamp(1.05rem,3vw,1.35rem)/1.3 var(--asteria-font-body,Arial,sans-serif);
  letter-spacing:.06em;color:#ecdbc1;
}
.asteria-profile-status,.asteria-profile-copy-status {
  margin:10px 0;color:#b9d1dd;font-size:.87rem;line-height:1.5;
}
.asteria-profile-copy-status:empty { display:none; }
.asteria-profile-actions {display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;}
.asteria-profile-actions button {
  min-height:44px;min-width:138px;flex:1;
  border:1px solid #7a95a5;border-radius:2px;
  padding:10px 14px;background:#19374d;color:#f3f7fb;
  font:600 .88rem/1.2 var(--asteria-font-body,Arial,sans-serif);
  cursor:pointer;
}
.asteria-profile-actions button:disabled {opacity:.52;cursor:not-allowed;}
.asteria-profile-dialog button:focus-visible {
  outline:2px solid #c6edff;outline-offset:3px;
}
@media (max-width:600px) {
  .asteria-profile-overlay {align-items:start;padding:12px;}
  .asteria-profile-dialog {max-height:calc(100dvh - 24px);}
  .asteria-profile-actions {flex-direction:column;}
}
