/* The Claude account switcher at the top of "Momo's energy" (public/accounts.js). */
.acct { display: flex; flex-direction: column; gap: 8px; }
.acct-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 2px; max-width: 100%; min-height: 32px; padding: 0 10px 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--fill-2); font: inherit; font-size: 12px; color: var(--ink); cursor: pointer; }
.acct-chip:hover, .acct-chip:focus-visible { background: var(--rule); }
.acct-chip.attention { border-color: var(--pen); }
.acct-name { min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-switch { flex: none; color: var(--ink-3); white-space: pre; }
.acct-chip .fold-chev { display: inline-grid; margin-left: 2px; color: var(--ink-3); transition: transform .25s var(--ease); transform: rotate(-90deg); }
.acct-chip[aria-expanded="true"] .fold-chev { transform: none; }

.acct-list { display: flex; flex-direction: column; gap: 6px; }
.acct-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-row { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 6px 8px; margin: 0; border: 0; border-radius: 12px; background: none; font: inherit; color: inherit; text-align: left; }
button.acct-row { cursor: pointer; }
button.acct-row:hover, button.acct-row:focus-visible { background: var(--fill-2); }
.acct-row.on { background: var(--fill); }
.acct-row.off { opacity: .6; }
.acct-row:disabled { cursor: default; opacity: .6; }
.acct-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acct-text b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-text span { font-size: 11px; line-height: 1.35; color: var(--ink-3); }
.acct-tag { flex: none; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.acct-tag.go { color: var(--pen); }

.acct-note { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: var(--warm-soft); }
.acct-note p { margin: 0; font-size: 12px; line-height: 1.4; color: var(--ink); }
.acct-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.acct-btn { min-height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font: inherit; font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.acct-btn.primary { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
.acct-btn:disabled { opacity: .5; cursor: default; }

.acct-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.acct-link { min-height: 32px; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 600; color: var(--pen); cursor: pointer; }
.acct-link:hover { text-decoration: underline; }
.acct-link:disabled { color: var(--ink-3); cursor: default; text-decoration: none; }

.acct-dialog { width: min(420px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; background: var(--card); color: var(--ink); box-shadow: 0 24px 48px -24px rgba(29, 26, 22, .5); }
.acct-dialog::backdrop { background: rgba(29, 26, 22, .42); }
.acct-dialog-body { padding: 22px 20px 18px; }
.acct-form { display: flex; flex-direction: column; gap: 12px; }
.acct-form h2 { margin: 0; font-family: var(--hand); font-size: 28px; line-height: 1; font-weight: 700; }
.acct-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.acct-hint { margin: 0; font-size: 13px; color: var(--ink-3); }
.acct-input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); font: inherit; font-size: 16px; color: var(--ink); }
.acct-input:focus { outline: 2px solid var(--pen); outline-offset: 1px; }
.acct-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }

/* The phone sheet has room for bigger text and tap targets. */
.plan-sheet .acct-chip { min-height: 40px; font-size: 14px; }
.plan-sheet .acct-text b { font-size: 15px; }
.plan-sheet .acct-text span, .plan-sheet .acct-note p { font-size: 13px; }
.plan-sheet .acct-btn, .plan-sheet .acct-link { min-height: 44px; font-size: 14px; }
