/* Account hub: one full-width card per account item. Loaded after account-redesign.css by account.html. */
.ac-dash { max-width: 760px; margin: 0 auto; }
.ac-hub { display: flex; flex-direction: column; gap: 12px; margin: 0 0 20px; }
.ac-hub > .ac-card { margin-bottom: 0; }
.ac-hub > .ac-row, .ac-hub .ac-row-head, .ac-hub .ac-row-body { box-sizing: border-box; }
.ac-hub > details.ac-row { display: block; }
.ac-hub > details.ac-row > summary { width: 100%; justify-self: stretch; }

.ac-row-head { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 14px 16px; border: 0; background: transparent; color: var(--ink);
  font: inherit; text-align: left; text-decoration: none; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.ac-row-head::-webkit-details-marker { display: none; }
.ac-row-head::marker { content: ""; }
.ac-hub > .ac-row { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-card); overflow: hidden; scroll-margin-top: 88px;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease); animation: nh-rise .4s var(--ease) both; }
.ac-hub > .ac-row:hover { box-shadow: 0 14px 32px rgba(19, 45, 76, .14); transform: translateY(-2px); }
.ac-hub > .ac-row:active { transform: scale(.995); }
.ac-hub > :nth-child(2) { animation-delay: .04s; } .ac-hub > :nth-child(3) { animation-delay: .08s; } .ac-hub > :nth-child(4) { animation-delay: .12s; }
.ac-hub > :nth-child(5) { animation-delay: .16s; } .ac-hub > :nth-child(6) { animation-delay: .2s; } .ac-hub > :nth-child(7) { animation-delay: .24s; }
.ac-hub > :nth-child(8) { animation-delay: .28s; } .ac-hub > :nth-child(9) { animation-delay: .32s; }
.ac-row-head:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 24px; }

.ac-row-icon { flex: none; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-light); color: var(--brand); }
.ac-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ac-row-title { font: 800 17px/1.25 var(--font); color: var(--brand); }
.ac-row-note { font: 500 14px/1.35 var(--font); color: var(--muted); overflow-wrap: anywhere; }
.ac-row-value { flex: none; min-width: 32px; padding: 7px 12px; border-radius: var(--radius-pill); background: var(--brand-light); color: var(--brand); font: 800 14px/1 var(--font); text-align: center; white-space: nowrap; }
.ac-row-value[data-state="ok"] { background: #e7f6ec; color: #067647; }
.ac-row-value[data-state="wait"] { background: #fff4e0; color: #93560a; }
.ac-row-chev { flex: none; color: var(--muted); transition: transform .2s var(--ease); }
.ac-hub > details.ac-row[open] .ac-row-chev { transform: rotate(90deg); }
.ac-hub > details.ac-row[open] { box-shadow: 0 14px 32px rgba(19, 45, 76, .14); }
.ac-row-body { margin: 0 16px; padding: 16px 2px 20px; border-top: 1px solid var(--line); animation: nh-rise .25s var(--ease) both; }
.ac-row-body .ac-sub { font-size: 15px; }
.ac-row-body .ac-btn { margin-top: 16px; }
.ac-row--danger .ac-row-icon { background: #fdecea; color: var(--danger); }
.ac-row--danger .ac-row-title { color: var(--danger); }

@media (max-width: 520px) {
  .ac-row-head { padding: 12px 14px; gap: 12px; min-height: 72px; }
  .ac-row-icon { width: 44px; height: 44px; }
  .ac-row-body { margin: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .ac-hub > .ac-row, .ac-hub .ac-row-body { animation: none; } .ac-hub > .ac-row, .ac-hub .ac-row-chev { transition: none; } .ac-hub > .ac-row:hover { transform: none; } }
