.account-page [hidden] { display: none !important; }
.account-page { letter-spacing: 0; }
.account-page .site-header { position: relative; }
.account-page .site-header nav { justify-self: center; margin-inline: 24px; }
.account-page #language { grid-column: 3; justify-self: end; width: 42px; height: 42px; }
.account-main { width: min(100% - 40px, 680px); margin: 40px auto 64px; min-height: 65vh; overflow-wrap: anywhere; }
.account-main h1 { font-size: 30px; line-height: 1.25; margin-bottom: 14px; }
.account-main h2 { font-size: 21px; margin: 0 0 16px; }
.account-main form > label:not(.check) { display: block; font-weight: 600; margin: 12px 0 6px; }
.account-main input:not([type=checkbox]) { width: 100%; min-width: 0; padding: 12px; border: 1px solid #788689; background: white; border-radius: 6px; font: inherit; }
.account-main input:focus-visible, .account-main button:focus-visible { outline: 3px solid #007781; outline-offset: 3px; }
.account-main .check { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0; }
.check input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 3px; }
.account-main a { text-decoration: underline; color: #006f78; }
.account-main .button { border-radius: 6px; white-space: normal; text-align: center; max-width: 100%; }
.account-main button:disabled { opacity: .6; cursor: wait; }
.account-note { font-size: 14px; color: #526165; }
.account-identity { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid #c9d4d6; }
.account-identity > div { min-width: 0; }
.account-identity strong, .account-verified { display: block; }
.account-verified { color: #16653e; font-size: 14px; }
.account-section { padding: 24px 0; border-bottom: 1px solid #c9d4d6; }
.account-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.account-device { margin: 20px 0; }
.account-device > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); padding: 8px 0; gap: 16px; }
.account-device dd { margin: 0; font-weight: 600; }
.account-warning { padding: 12px 16px; border-left: 3px solid #99721f; background: #fff8e7; }
.account-hub { padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.account-hub > div { min-width: 0; }
.account-hub small { display: block; color: #526165; }
.account-text-button { background: none; border: 0; color: #006f78; text-decoration: underline; cursor: pointer; font: inherit; padding: 12px 0; }
.account-main .button-danger { background: #a52830; color: white; margin: 8px 8px 8px 0; }
#message { min-height: 28px; padding: 12px 0; }
#message[data-error=true] { color: #a52830; }
@media (max-width: 520px) {
  .account-main { margin-top: 28px; }
  .account-main h1 { font-size: 26px; }
  .account-code-row, .account-device > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .account-identity, .account-hub { align-items: flex-start; flex-wrap: wrap; }
  .account-page .site-header nav { display: none; }
}
