.a-prof { display: flex; align-items: center; gap: 16px; padding: 18px 16px 18px 18px; border-bottom: 1px solid var(--line-soft); }
.a-av { position: relative; flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--t100); color: var(--t800);
  box-shadow: inset 0 0 0 1px rgba(16, 90, 70, 0.1); font-size: 22px; font-weight: 600; letter-spacing: .01em; }
.a-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a-prof-t { flex: 1 1 auto; min-width: 0; }
.a-prof-n { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.a-prof-s { margin-top: 3px; font-size: 12.5px; color: var(--dim); line-height: 1.45; }
.a-prof-acts { display: flex; gap: 8px; flex: 0 0 auto; }
.a-err { margin: 6px 0 0; font-size: 12.5px; color: var(--red); }
.a-err[hidden], .a-pend[hidden] { display: none; }
.a-pend { margin-top: 5px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--amber); }
.a-pend button { border: 0; padding: 0; background: none; color: var(--t800); font: inherit; font-weight: 500; cursor: pointer; }
.a-pend button:disabled { color: var(--dim); cursor: default; }
.a-card .acct-row, .a-del .acct-row { flex-direction: row; align-items: center; }
.a-plan { padding: 18px 18px 16px; }
.a-plan-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.a-plan-n { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 26px; }
.a-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--t50);
  color: var(--t800); box-shadow: inset 0 0 0 1px var(--t200); font-size: 13px; font-weight: 600; }
.a-fee { font-size: 13.5px; color: var(--muted); }
.a-fee b { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.a-plan-c { margin-top: 6px; font-size: 13px; color: var(--muted); min-height: 1.4em; }
.a-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 22px; margin-top: 18px;
  padding-top: 16px; border-top: 1px solid var(--line-soft); }
.a-plan-grid:empty { display: none; }
.a-q-k { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--dim); }
.a-q-k b { color: var(--text); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.a-bar { position: relative; height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(14, 26, 43, 0.08); overflow: hidden; }
.a-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--t500); }
.a-q-s { margin-top: 6px; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.a-q.is-full .a-bar i { background: #D4A133; }
.a-q.is-full .a-q-s { color: var(--amber); }
.a-plan-f { margin: 16px 0 0; font-size: 12.5px; color: var(--dim); }
.a-plan-f:empty { display: none; }
@media (max-width: 900px) { .a-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .a-plan-grid { grid-template-columns: 1fr; } }
.a-prefs { overflow: visible; }
.a-pref-d { margin-top: 3px; font-size: 12.5px; color: var(--dim); }
.a-pref .seg button { min-width: 84px; }
.a-ctl { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 0 1 auto; min-width: 0; }
.a-ctl .sel { width: 340px; max-width: 100%; }
.a-ctl .sel .sel-btn { min-width: 0 !important; max-width: 100%; }
.a-saved { font-size: 12px; color: var(--t700); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.a-saved.is-on { opacity: 1; }
.a-saved.is-err { color: var(--red); opacity: 1; }
.a-sample { padding: 12px 18px; border-top: 1px solid var(--line-soft); background: var(--side); font-size: 12.5px;
  color: var(--muted); border-radius: 0 0 var(--r-card) var(--r-card); }
.a-sample b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.a-del { margin-top: 34px; }

@media (max-width: 640px) {
  .a-prof { flex-wrap: wrap; }
  .a-prof-acts { width: 100%; }
  .a-pref { align-items: stretch; }
  .a-ctl { width: 100%; justify-content: flex-start; }
  .a-ctl .sel { flex: 1 1 auto; width: auto; }
  .a-saved { order: 2; }
}
