/* Account controls use the existing brand palette; business data is read-only. */
.login-form [hidden] { display: none !important; }
.login-methods { display: flex; border-bottom: 1px solid var(--line); margin-top: 27px; }
.login-methods button { border: 0; border-bottom: 2px solid transparent; padding: 12px 13px; background: transparent; color: var(--muted); font-size: 12px; }
.login-methods button[aria-selected=true] { border-bottom-color: var(--ink); color: var(--ink); font-weight: 700; }
.login-methods button:disabled:not([aria-selected=true]) { opacity: .5; }
.login-form form { margin-top: 20px; }
.login-form .code-row button:disabled { color: #9a8772; border-color: #d7c6af; background: #f4eee4; }
.login-form .button:disabled { background: #d9cbb6; border-color: #d9cbb6; color: #77634c; transform: none; }
.login-form .field-label { margin-top: 19px; }
.login-account-note { border-left: 2px solid var(--line); padding-left: 12px; color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 19px; }
.login-security-link { font-size: 11px; color: var(--muted); display: inline-block; margin-top: 12px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.login-form .form-status { min-height: 27px; }
.is-error { color: #a13d21 !important; }
.workspace-account > div { min-width: 0; }
.workspace-account [data-account-name] { display: block; }
.workspace-account [data-account-plan] { display: block; overflow-wrap: anywhere; line-height: 1.7; }
.account-loading { padding: 34px 24px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.account-empty { padding: 32px 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff9ee; }
.account-empty h2 { font-size: 22px; letter-spacing: -.04em; }
.account-empty p { font-size: 12px; line-height: 1.9; color: var(--muted); margin-top: 13px; }
.account-empty .button { margin-top: 22px; }
.account-overview { border: var(--heavy); border-radius: 10px; padding: 28px; background: #fffaf0; margin-bottom: 23px; }
.account-overview-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.account-overview-title .eyebrow { color: var(--muted); font-size: 8px; margin-bottom: 7px; }
.account-overview-title h2 { font-size: 25px; line-height: 1.5; letter-spacing: -.04em; }
.account-verified { border: 1px solid #d3b484; background: #f4e2be; padding: 6px 9px; font-size: 10px; white-space: nowrap; }
.account-identity { padding: 21px 0; margin: 0; display: grid; gap: 12px; }
.account-identity > div { display: flex; align-items: baseline; gap: 18px; }
.account-identity dt { color: var(--muted); font-size: 11px; width: 52px; flex-shrink: 0; }
.account-identity dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; min-width: 0; }
.account-id { font-family: "Segoe UI", var(--font); }
.account-email-state { font-size: 9px; color: var(--muted); margin-left: 7px; white-space: nowrap; }
.account-plan { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 19px 0; margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.account-plan > div { display: flex; flex-direction: column; gap: 8px; }
.account-plan span { font-size: 10px; color: var(--muted); }
.account-plan strong { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.account-plan small { font-size: 10px; color: var(--muted); }
.account-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 25px; padding: 24px 0; }
.account-metric { min-width: 0; }
.account-metric > span { display: block; font-size: 10px; color: var(--muted); }
.account-metric strong { display: block; font-family: "Segoe UI", var(--font); font-size: 23px; font-weight: 700; margin-top: 7px; line-height: 1.4; overflow-wrap: anywhere; }
.account-metric small { display: block; font-size: 9px; color: var(--muted); margin-top: 6px; line-height: 1.8; }
.account-data-note { padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.9; }
.account-data-note p + p { margin-top: 6px; }
.account-overview-actions { display: flex; align-items: center; gap: 18px; margin-top: 19px; flex-wrap: wrap; }
.account-overview-actions > span { color: var(--muted); font-size: 9px; margin-right: auto; }
.account-text-button { background: none; border: 0; border-bottom: 1px solid currentColor; font-size: 11px; padding: 2px 0; }
.account-text-button:disabled { opacity: .6; cursor: wait; }
.account-action-status { font-size: 11px; line-height: 1.9; margin-top: 13px; }
[data-account-overview=compact] .account-overview-title h2 { font-size: 20px; }
.purchase-section > .eyebrow { font-size: 9px; color: var(--muted); margin-bottom: 10px; }
.purchase-plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.purchase-card { border: 2px solid var(--ink); border-radius: 8px; padding: 23px 20px; display: flex; flex-direction: column; min-width: 0; background: #fffaf0; }
.purchase-card h3 { font-size: 17px; }
.purchase-price { font-size: 28px; font-weight: 700; margin-top: 20px; line-height: 1.4; }
.purchase-price span { font-size: 12px; font-weight: 400; color: var(--muted); }
.purchase-card p { font-size: 12px; line-height: 1.8; margin-top: 16px; }
.purchase-card small, .purchase-points small { font-size: 10px; color: var(--muted); line-height: 1.9; }
.purchase-card .button { margin-top: 24px; width: 100%; }
.purchase-section .button:disabled { background: #e5dac9; border-color: #cdbb9e; color: #75644e; cursor: not-allowed; transform: none; box-shadow: none; }
.purchase-points { border: 2px solid var(--ink); border-radius: 8px; padding: 23px; margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fffaf0; }
.purchase-points strong { font-size: 25px; }
.purchase-points p { font-size: 12px; margin-top: 10px; }
@media(max-width:700px) {
  .purchase-plans { grid-template-columns: 1fr; }
  .purchase-card { padding: 22px; }
  .purchase-points { align-items: flex-start; flex-direction: column; padding: 22px; }
  .purchase-points .button { width: 100%; }
  .login-methods { margin-top: 22px; }
  .login-methods button { font-size: 11px; padding: 11px 12px; }
  .account-overview { padding: 22px 18px; }
  .account-overview-title h2 { font-size: 22px; }
  .account-verified { font-size: 9px; padding: 5px 7px; }
  .account-identity > div { gap: 10px; }
  .account-identity dd { font-size: 11px; }
  .account-identity dt { font-size: 10px; width: 48px; }
  .account-metrics { gap: 20px 15px; }
  .account-metric strong { font-size: 20px; }
  .account-data-note { font-size: 9px; }
  .account-empty { padding: 27px 20px; }
  .account-empty h2 { font-size: 20px; }
  .account-empty p { font-size: 11px; }
}
