.account-nav { flex: 0 0 auto; padding: 10px 17px; min-height: 44px; border: 1px solid #ced6e4; border-radius: 9px; color: var(--ink); background: white; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.account-nav:hover { border-color: var(--blue); color: var(--blue); }
.usage-strip { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 10px 18px; margin-bottom: 12px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-size: 13px; color: var(--muted); }
.usage-strip > div { display: flex; align-items: center; gap: 10px; }
.usage-mark { color: var(--blue); font-size: 20px; }
.usage-strip .text-button { flex-shrink: 0; color: var(--blue); }
.account-dialog { width: min(520px, calc(100% - 32px)); }
.account-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.account-heading .eyebrow { margin: 0; }
.account-heading .text-button { width: 44px; }
.account-dialog h2 { margin: 4px 0 20px; }
.auth-tabs { display: flex; padding: 4px; gap: 4px; border-radius: 10px; background: var(--bg); }
.auth-tabs button { flex: 1; min-height: 42px; padding: 8px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.auth-tabs button[aria-pressed="true"] { background: white; color: var(--blue); box-shadow: 0 1px 4px #20305012; }
.account-form { display: grid; gap: 16px; margin-top: 18px; }
.account-form label { display: block; color: var(--ink); font-size: 13px; font-weight: 600; }
.account-form input:not([type="checkbox"]) { display: block; width: 100%; min-width: 0; min-height: 46px; margin-top: 7px; padding: 11px 12px; border: 1px solid #ced6e4; border-radius: 8px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.account-form input:focus-visible { outline: 2px solid #7e98ee; outline-offset: 2px; }
.account-form .optional { font-weight: 400; color: var(--muted); }
.account-dialog .field-hint { margin: 0; font-size: 12px; line-height: 1.65; }
.account-dialog .account-disclosure { font-size: 12px; line-height: 1.7; margin: 20px 0 0; }
.account-dialog .account-feedback { padding: 11px 13px; border-radius: 8px; background: #eef5ff; color: #294b88; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.account-dialog .account-feedback[data-error="true"] { background: #fff2f0; color: #9f3430; }
.member-identity { overflow-wrap: anywhere; }
.allowance-card { padding: 20px; border: 1px solid #dbe5fc; background: #f7f9ff; border-radius: 12px; }
.allowance-card > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }
.allowance-card .remaining-words { margin: 15px 0; font-size: 13px; }
.remaining-words strong { color: var(--ink); font-size: 30px; letter-spacing: -1px; }
.allowance-card progress { display: block; width: 100%; height: 7px; border: 0; border-radius: 8px; overflow: hidden; accent-color: var(--blue); }
.allowance-card progress::-webkit-progress-bar { background: #e1e8f5; }
.allowance-card progress::-webkit-progress-value { background: var(--blue); }
.allowance-card > p:not(.remaining-words) { margin: 9px 0 0; font-size: 12px; }
.usage-heading { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.account-dialog h3 { font-size: 14px; margin: 12px 0; }
.usage-list { list-style: none; padding: 0; margin: 0 0 12px; }
.usage-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.usage-list time { color: var(--muted); font-size: 11px; grid-column: 1 / -1; }
.usage-list .usage-state { color: var(--muted); }
.usage-list .usage-empty { display: block; color: var(--muted); }
.account-settings { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 4px; }
.account-settings summary { min-height: 44px; padding-block: 12px; cursor: pointer; font-size: 13px; font-weight: 600; }
.delete-settings { margin-top: 18px; border-top: 1px solid var(--line); }
.delete-settings p { font-size: 12px; }
.account-form .checkbox-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.7; }
.checkbox-label input { flex: 0 0 auto; margin-top: 4px; width: 17px; height: 17px; accent-color: var(--blue); }
.button-danger { background: #fff2f0; border: 1px solid #ecc3be; color: #a2352c; }
.account-dialog button:disabled, .account-nav:disabled { opacity: .55; cursor: wait; }
@media (max-width: 540px) {
  .usage-strip { flex-wrap: wrap; padding: 12px 14px; gap: 0; }
  .usage-strip > div { width: 100%; line-height: 1.7; }
  .usage-strip .text-button { margin-left: 28px; min-height: 38px; font-size: 12px; }
  .account-nav { padding-inline: 12px; font-size: 12px; }
  .account-dialog { padding: 20px; }
  .allowance-card { padding: 16px; }
}
