.account-auth .auth-card { padding-block: 18px; }
.account-auth .auth-card > p { margin-bottom: 22px; }
.account-auth .auth-sea { border-radius: 28px; }
.account-auth .auth-intro h1 { max-width: 590px; }
.account-auth .auth-intro p { max-width: 510px; }
/* Extend both color panels to the footer on short account pages. */
body[data-area="account"] #main-content { display: flex; flex-direction: column; }
body[data-area="account"] #account-screen { flex: 1; display: flex; flex-direction: column; }
.account-auth { flex: 1; }
.account-form-note, .account-intro-note { color: var(--muted); font-size: 13px; line-height: 1.85; margin-bottom: 22px; }
.account-form-note { margin-block: 4px 20px; }
.account-notice { border-radius: 14px; overflow-wrap: anywhere; }
.account-notice p { margin: 0; }
.account-loading { min-height: 420px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.account-loading > .icon { width: 30px; height: 30px; }
.account-workspace { display: grid; grid-template-columns: 244px minmax(0, 1fr); max-width: 1920px; margin: 0 auto; flex: 1; width: 100%; min-height: 680px; }
.account-sidebar { background: var(--navy); color: #e2eff1; padding: 38px 22px; display: flex; flex-direction: column; gap: 24px; }
.account-sidebar > .eyebrow { color: #b7d4dc; margin: 0 12px; }
.account-sidebar nav { display: grid; gap: 7px; }
.account-sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 13px; line-height: 1.5; }
.account-sidebar nav a:hover { background: #2a576a; }
.account-sidebar nav a.active { background: var(--blue); color: var(--navy); font-weight: 750; }
.account-sidebar-foot { margin-top: auto; display: grid; gap: 16px; padding-inline: 12px; }
.account-sidebar-foot span { font-size: 12px; color: #b7d4dc; overflow-wrap: anywhere; }
.account-sidebar-foot .btn { color: var(--paper); border-color: #83cce777; width: fit-content; }
.account-sidebar-foot .btn:hover { color: var(--navy); }
.account-content { min-width: 0; padding: 36px clamp(24px, 3vw, 56px) 64px; }
.account-heading { background: var(--blue); border-radius: 24px; padding: 30px 36px; margin-bottom: 30px; position: relative; overflow: hidden; }
.account-heading > .eyebrow { margin-bottom: 8px; }
.account-heading h1 { font-size: clamp(27px, 2.5vw, 38px); }
.account-heading p { color: #315b6c; margin-top: 10px; overflow-wrap: anywhere; padding-right: 70px; }
.account-email-status { margin-top: 12px; }
.account-heading > .icon { position: absolute; right: 28px; top: 31px; width: 92px; height: 92px; opacity: .15; stroke-width: 1; pointer-events: none; }
.account-content .card { border-radius: 20px; padding: 28px; }
.account-content .card h2 { font-size: 22px; margin-bottom: 14px; }
.account-content .card h2 + p { margin-bottom: 22px; }
.account-card-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.account-card-heading h2 { margin-bottom: 0 !important; }
.account-plan-name { font-size: 27px; margin: 22px 0; }
.account-details { margin: 0; }
.account-details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.account-details > div:last-child { border-bottom: 0; }
.account-details dt { color: var(--muted); font-size: 13px; }
.account-details dd { font-size: 14px; margin: 0; text-align: right; overflow-wrap: anywhere; max-width: 62%; }
.account-empty { padding: 44px 12px; text-align: center; }
.account-empty > .icon { width: 40px; height: 40px; color: #5b95a8; margin-bottom: 20px; }
.account-empty h2 { font-size: 21px; margin-bottom: 13px; }
.account-empty p { font-size: 14px; color: var(--muted); max-width: 510px; margin: auto; }
.account-section { margin-top: 30px; scroll-margin-top: 24px; }
.account-section > h2 { margin-bottom: 20px; }
.account-table { position: relative; border-radius: 16px; margin-block: 20px; }
.account-table:focus-visible { outline: 3px solid #369bd3; outline-offset: 3px; }
.account-table-hint { display: none; }
body[data-page="/app/security"] .account-table table { min-width: 560px; }
body[data-page="/app/usage"] .account-table table { min-width: 580px; }
.account-table table { line-height: 1.7; }
.account-table td { overflow-wrap: anywhere; max-width: 420px; }
.account-table .data-table th { background: #eaf1ef; }
.account-table .data-table td { vertical-align: top; }
.account-table td .btn { white-space: nowrap; }
.account-cell-note { display: block; font-size: 11px; color: var(--muted); margin-top: 8px; }
.account-content .field { margin-bottom: 20px; }
.account-content input, .account-content select { border-radius: 10px; }
.account-content .btn { border-radius: 11px; }
.account-page-actions { margin-block: 20px 24px; }
.account-auth .auth-inline { flex-wrap: wrap; }
[data-feedback]:empty, [data-page-feedback]:empty { display: none; }
@media (min-width: 1600px) { .account-workspace { grid-template-columns: 270px minmax(0, 1fr); } .account-content { padding-top: 44px; } }
@media (max-width: 1100px) { .account-workspace { grid-template-columns: 205px minmax(0, 1fr); } .account-sidebar { padding-inline: 14px; } .account-content .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 800px) {
  .account-auth .auth-intro { display: grid; grid-template-columns: minmax(0, 1fr) 76px; grid-template-areas: "eyebrow eyebrow" "title boat" "description description"; gap: 14px 18px; align-items: center; min-height: 0; overflow: visible; }
  .account-auth .auth-intro > .eyebrow { grid-area: eyebrow; margin: 0; }
  .account-auth .auth-intro h1 { grid-area: title; max-width: none; margin: 0; }
  .account-auth .auth-intro p { grid-area: description; max-width: none; margin: 0; }
  .account-auth .auth-sea { position: relative !important; grid-area: boat; width: 76px; height: 104px; right: auto; top: auto; margin: 0; padding: 9px 6px; justify-self: end; z-index: 1 !important; }
  .account-auth .auth-sea img { width: 100%; height: 100%; margin: 0; object-fit: contain; }
  .account-workspace { display: block; min-height: 0; }
  .account-sidebar { padding: 16px 20px; gap: 12px; }
  .account-sidebar > .eyebrow { display: none; }
  .account-sidebar nav { display: flex; gap: 6px; flex-wrap: wrap; }
  .account-sidebar nav a { font-size: 13px; padding: 10px 12px; }
  .account-sidebar nav .icon { width: 17px; height: 17px; }
  .account-sidebar-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; gap: 14px; }
  .account-content { padding: 24px 20px 44px; }
  .account-heading { border-radius: 18px; padding: 24px; margin-bottom: 24px; }
  .account-heading > .icon { right: 12px; top: 30px; width: 68px; height: 68px; }
  .account-heading p { padding-right: 38px; font-size: 13px; }
  .account-content .card { padding: 22px; }
  .account-details dt, .account-details dd { font-size: 13px; }
  .account-auth .auth-card { padding-block: 0; }
  .account-table td, .account-table th { padding: 13px; }
  .account-table { border-radius: 12px; }
  .account-table-hint { display: block; color: var(--muted); font-size: 12px; margin: 18px 0 -10px; }
}
@media (max-width: 450px) {
  .account-sidebar nav a { padding: 9px 10px; font-size: 12px; gap: 7px; }
  .account-content { padding-inline: 16px; }
  .account-heading { padding: 22px; }
  .account-content .card { padding: 20px; }
  .account-details > div { gap: 12px; }
}
/* Client presence and the account's shared subscription are independent. */
.vpn-device-list { display: grid; gap: 20px; margin: 20px 0; }
.vpn-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.vpn-subscription-url { display: block; box-sizing: border-box; width: 100%; margin: 12px 0; font-family: monospace; }
.vpn-device p { overflow-wrap: anywhere; }
.vpn-device h2 { min-width: 0; overflow-wrap: anywhere; }
.vpn-device .status-badge { flex-shrink: 0; }
.vpn-account-subscription { margin-top: 20px; }
.vpn-account-subscription p { overflow-wrap: anywhere; }
