/* Ibex Post — account settings window (shared by Studio and the client area) */
.acct { position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 10, .45); display: grid; place-items: center; padding: 16px; animation: acctFade .2s ease both; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.acct__panel { width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #FFFFFF; color: #0A0A0A; border-radius: 16px; padding: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); animation: acctUp .3s cubic-bezier(0.16, 1, 0.3, 1) both; }
.acct__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.acct__head h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.acct__x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #E4E4E7; background: #FFFFFF; font-size: 18px; line-height: 1; cursor: pointer; color: #71717A; }
.acct__x:hover { color: #0A0A0A; }
.acct__who { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid #F4F4F5; }
.acct__who > span:last-child { display: grid; font-size: 13px; color: #71717A; }
.acct__who b { color: #0A0A0A; font-weight: 600; font-size: 14px; }
.acct__av { width: 40px; height: 40px; border-radius: 50%; background: #0A0A0A; color: #FFFFFF; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.acct__sec { display: grid; gap: 10px; padding: 16px 0; border-bottom: 1px solid #F4F4F5; }
.acct__sec h3 { font-size: 14px; font-weight: 600; margin: 0; }
.acct__sec label { display: grid; gap: 4px; font-size: 12px; color: #71717A; }
.acct__sec input { height: 40px; padding: 0 12px; border: 1px solid #E4E4E7; border-radius: 10px; font: inherit; font-size: 14px; color: #0A0A0A; background: #FFFFFF; }
.acct__sec input:focus { outline: none; border-color: #0A0A0A; }
.acct__btn { justify-self: start; height: 36px; padding: 0 16px; border-radius: 9999px; border: 0; background: #0A0A0A; color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.acct__btn:hover { background: #27272A; }
.acct__foot { border-bottom: 0; padding-bottom: 0; }
.acct__out { justify-self: start; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: #71717A; text-decoration: underline; cursor: pointer; }
.acct__out:hover { color: #0A0A0A; }
.acct__note { font-size: 12px; color: #A1A1AA; margin: 0; }
.acct__msg { min-height: 18px; margin: 8px 0 0; font-size: 13px; color: #15803D; }
.acct__msg.is-bad { color: #B91C1C; }
.acct__meter { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 4px; align-items: center; }
.acct__meter i { height: 3px; border-radius: 2px; background: #E4E4E7; transition: background .2s; }
.acct__meter em { font-style: normal; font-size: 11px; color: #A1A1AA; margin-left: 6px; }
.acct__meter[data-s="1"] i:nth-child(-n+1),
.acct__meter[data-s="2"] i:nth-child(-n+2),
.acct__meter[data-s="3"] i { background: #0A0A0A; }
@keyframes acctFade { from { opacity: 0; } }
@keyframes acctUp { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .acct, .acct__panel { animation: none; } }
