.account-preview { padding: 0 0 48px; min-height: 70vh; background: #fff; }
.preview-notice { margin: 0; padding: 10px 24px; background: var(--service-paper); text-align: center; color: var(--service-muted); font-size: 12px; line-height: 1.7; }
.account-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(40px, 6vw, 92px); width: min(1320px, calc(100% - 112px)); margin: 40px auto 0; }
.account-editorial { margin: 0; min-width: 0; }
.account-editorial picture, .account-editorial img { display: block; width: 100%; }
.account-editorial img { height: auto; aspect-ratio: 1; object-fit: contain; }
.account-panel { width: 100%; max-width: 500px; margin: auto; padding: 24px 0; background: #fff; text-align: left; min-width: 0; }
.account-panel [hidden] { display: none !important; }
.account-panel h1 { margin: 0 0 18px; font: 400 clamp(32px, 3.5vw, 42px)/1.16 "Marcellus", serif; letter-spacing: -.035em; }
.account-panel h1:focus { outline: none; }
.account-intro { margin: 0 0 30px; color: var(--service-muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.account-panel form { text-align: left; }
.account-panel label { display: block; margin-bottom: 10px; font-size: 13px; }
.account-panel input { width: 100%; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid #9f9f9a; border-radius: 0; background: #fff; color: var(--service-ink); font: 400 16px/1.5 "Manrope", sans-serif; }
.account-panel input[aria-invalid="true"] { border-color: #8a3b34; }
.account-panel :is(input, button, a, summary):focus-visible { outline: 2px solid var(--service-ink); outline-offset: 4px; }
.account-panel button { cursor: pointer; font-family: "Manrope", sans-serif; }
.account-help, .account-fine, .account-support { font-size: 12px; line-height: 1.7; color: var(--service-muted); }
.account-help { margin: 9px 0 0; }
.account-error { min-height: 21px; margin: 8px 0; color: #8a3b34; font-size: 12px; line-height: 1.7; }
.account-primary { width: 100%; background: var(--service-ink); color: #fff; border-color: var(--service-ink); }
.account-primary:hover { background: #373733; color: #fff; }
.account-fine { margin: 16px 0 0; text-align: center; }
.account-support { padding-top: 24px; margin: 26px 0 0; border-top: 1px solid var(--service-line); }
.account-support a { color: inherit; text-underline-offset: 4px; }
.account-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.account-actions button, .account-signout, .preview-tools button { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--service-ink); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
#preview-code { letter-spacing: .5em; text-align: center; font-size: 22px; }
.preview-tools { margin-top: 14px; font-size: 12px; color: var(--service-muted); }
.preview-tools summary { padding: 12px; cursor: pointer; }
.account-order-heading { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-block: 1px solid var(--service-line); text-align: left; }
.account-order-heading h2 { margin: 0; font: 400 22px/1.3 "Marcellus", serif; }
.account-order-heading span { font-size: 12px; color: var(--service-muted); }
.account-empty { padding: 32px 0 20px; }
.account-empty h3 { margin: 0 0 12px; font: 400 26px/1.3 "Marcellus", serif; }
.account-empty p { margin: 0 0 24px; font-size: 13px; line-height: 1.8; color: var(--service-muted); }
.account-empty .service-button { padding-inline: 16px; }
#account-status:empty { display: none; }
/* Preserve type and tap targets; reclaim whitespace on narrow phones only. */
@media (max-width: 360px) {
  .site-header { padding-inline: 8px; }
  .site-header .header-actions { gap: 8px; }
}
@media (max-width: 900px) {
  .account-layout { width: calc(100% - 64px); gap: 32px; grid-template-columns: 1fr 1fr; }
  .account-panel h1 { font-size: 32px; }
}
@media (max-width: 767px) {
  .account-preview { padding: 0 0 32px; }
  .preview-notice { padding: 12px 24px; font-size: 11px; }
  .account-layout { display: flex; flex-direction: column; width: calc(100% - 48px); gap: 36px; margin-top: 30px; }
  .account-panel { order: 0; padding: 0; }
  .account-editorial { order: 1; width: 100%; max-width: 500px; }
  .account-panel h1 { font-size: 32px; }
  .account-intro { margin-bottom: 24px; font-size: 13px; }
  .account-primary { min-width: 0; font-size: 11px; letter-spacing: .12em; }
  .account-empty .service-button { min-width: 0; width: 100%; font-size: 11px; }
}
