.account-page { padding-block:30px 55px; }
.account-page h1 { font-size:clamp(34px,4vw,48px); margin:0 0 12px; }
.account-page h2 { font-size:clamp(24px,3vw,32px); margin:0 0 12px; }
.account-page h3 { font-size:18px; overflow-wrap:anywhere; }
.account-page p { margin:0 0 10px; }
.account-page [hidden], .account-checkout[hidden], .account-save[hidden] { display:none; }
.account-card { background:#fff; border:1px solid #d8dfeb; border-radius:14px; padding:clamp(15px,3vw,26px); margin:17px 0; }
.account-login { max-width:520px; }
.account-rows { display:grid; gap:8px; }
.account-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px 16px; border-bottom:1px solid #e4e9f1; padding-block:10px; }
.account-row:last-child { border:0; }
.account-meta { color:#505967; font-size:.88rem; overflow-wrap:anywhere; }
.account-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
.account-actions .button { min-height:43px; padding:8px 12px; font-size:.9rem; }
.account-form { display:grid; gap:9px; max-width:660px; }
.account-form label:not(.account-choice) { display:grid; gap:4px; font-weight:600; }
.account-form input:not([type=checkbox]), .account-form textarea,.account-status-picker {
  background:#fff; min-height:42px; border:1px solid #bac6db; border-radius:7px; color:var(--ink); padding:7px 10px; width:100%;
}
.account-form textarea { resize:vertical; }
.account-form .button { width:fit-content; max-width:100%; white-space:normal; }
.account-choice { display:flex; align-items:baseline; gap:8px; }
.account-choice input { flex:none; accent-color:var(--purple); }
.account-checkout { border:1px solid #d7e3f6; border-radius:10px; background:#f4f7fc; padding:12px 14px; margin:12px 0; }
.account-checkout .account-choice + .account-choice { margin-top:7px; }
.account-save { display:grid; gap:5px; margin-top:10px; }
.account-profile-nav { color:#244d9c; font-size:.88rem; }
.account-secret { display:block; overflow-wrap:anywhere; font:1rem monospace; padding:12px; background:#edf3ff; }
@media (max-width:760px) {
  .account-page { padding-bottom:95px; }
  .account-row { grid-template-columns:minmax(0,1fr); }
}

.account-header-link {
  display: inline-grid;
  place-items: center;
  width: 32px;
  min-width: 32px;
  height: 40px;
  border-radius: 7px;
  color: var(--ink, #212731);
}
.account-header-link:hover { color: var(--accent, #3262c5); }
.account-profile-actions { justify-content: flex-end; }
.account-notice:empty, [data-design-status]:empty { display: none; }
.account-search { margin-bottom: 1rem; }

.account-choice { min-height:44px; align-items:center; }
.account-choice input { width:18px; height:18px; margin:0; }
.account-checkout > p { margin:0 0 6px 26px; font-size:.85rem; color:#505967; }
.account-save > .button, .account-save > a { justify-self:start; }
@media (max-width: 780px) {
  body:has(.studio-checkout:not([hidden]) [data-checkout-account]:not([hidden])) > .mobile-action { display:none; }
}

.account-order-history { grid-column:1 / -1; }
.account-order-history summary { cursor:pointer; width:fit-content; font-size:.88rem; color:#244d9c; }
.account-order-history ul { margin:.4rem 0 0; padding-inline-start:1.25rem; }
