.account-page { background: #f7f9fc; }
.account-main { min-height: 680px; padding: 86px 0 100px; background: radial-gradient(circle at 12% 10%, rgba(42,101,181,.11), transparent 34%), #f7f9fc; }
.account-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, .72fr); align-items: start; gap: 80px; }
/* Keep the intro at the top (and in view) however tall the account card grows. */
.account-intro { position: sticky; top: 120px; padding-top: 48px; }
.account-intro h1 { margin-bottom: 20px; }
.account-intro > p:not(.eyebrow) { max-width: 560px; color: var(--ink-soft); font-size: 20px; }
.account-help { display: flex; flex-direction: column; gap: 5px; margin-top: 34px; color: var(--ink-soft); }
.account-help strong { color: var(--navy); }
.account-card { padding: 42px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.account-card h2 { margin: 0 0 10px; font-size: 30px; }
.account-message { min-height: 48px; margin: 0 0 24px; color: var(--ink-soft); }
.field-group { margin-bottom: 19px; }
.field-group label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 14px; font-weight: 800; }
.field-group:has(.hide) { display: none; }
.field-group input { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid #cbd6e4; border-radius: 9px; font: inherit; }
.field-group input:focus { outline: 3px solid rgba(42,101,181,.16); border-color: var(--blue); }
.account-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.account-actions .button { border: 1px solid var(--blue); cursor: pointer; }
.account-secondary-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 19px; }
.text-button { padding: 0; color: var(--blue); background: none; border: 0; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.account-error { min-height: 24px; margin: 20px 0 0; color: #b83242; font-size: 14px; }
.account-table-wrap { overflow-x: auto; }
.account-table { width: 100%; margin-top: 24px; border-collapse: collapse; }
.account-table th, .account-table td { padding: 13px 14px; text-align: left; border: 1px solid var(--line); }
.account-table th { color: var(--navy); background: #edf3ff; }
.account-table th[scope="row"] { width: 38%; white-space: nowrap; }
.license-section { margin-top: 32px; }
.license-section h3 { margin: 0 0 8px; font-size: 20px; }
.license-section .account-message { min-height: 0; margin: 0; }
.license-list { display: grid; gap: 12px; margin-top: 14px; }
.license-item { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #f8fbff; }
.license-details { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 8px; font-size: 14px; }
.license-details strong { color: var(--navy); }
.license-serial { flex-basis: 100%; font-family: Consolas, "SFMono-Regular", monospace; font-size: 13px; word-break: break-all; }
.license-serial strong { font-family: inherit; }
.license-keycode { display: block; margin-bottom: 8px; padding: 8px 10px; font-size: 12px; line-height: 1.5; word-break: break-all; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.license-expired { color: #b83242; }
.hide { display: none !important; }
@media (max-width: 860px) { .account-main { padding: 64px 0 80px; } .account-layout { grid-template-columns: 1fr; gap: 42px; } .account-intro { max-width: 650px; position: static; padding-top: 0; } .account-card { max-width: 620px; width: 100%; } }
@media (max-width: 520px) { .account-card { padding: 30px 22px; } .account-actions { flex-direction: column; } .account-actions .button { width: 100%; } }
.account-hint { margin: 6px 0 0; color: var(--ink-soft); font-size: 13px; }
.account-actions:has(> .hide:only-child) { display: none; }
.firm-form { margin-top: 14px; }
.firm-form input { font-family: Consolas, "SFMono-Regular", monospace; font-size: 14px; }
