/* Account, receipts, refund requests, support (no inline styles: the CSP forbids them). */
.acct { display: grid; gap: 16px; align-content: start; }
.acct h1 { margin: 0 0 4px; } .acct h2 { margin: 0; font-size: 16px; } .acct h3 { margin: 4px 0; font-size: 14px; }
.acct .stack { display: grid; gap: 10px; }
.acct-head .acct-credits { display: grid; gap: 0; text-align: center; padding: 4px 18px; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.acct-head .acct-credits strong { font-size: 28px; line-height: 1.1; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pack { display: grid; gap: 6px; justify-items: start; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.pack strong { font-size: 16px; }
.acct-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.acct-table th, .acct-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.acct-table th { font-size: 12px; color: var(--muted); font-weight: 600; }
.acct-table td .pill, .acct-table td .btn { margin: 0 6px 4px 0; }
.pill { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--surface-3); font-size: 12px; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); }
.acct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acct-list .prj-item { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.receipt { display: grid; gap: 8px; padding: 10px; background: var(--surface-2); border-radius: 8px; }
.detail-row td { background: var(--surface-2); }
.msg { border-left: 3px solid var(--border); padding: 4px 10px; margin: 6px 0; } .msg.support { border-color: var(--accent); }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.grant-box { background: var(--surface-2); }
.acct fieldset { border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; }
.acct textarea, .acct input[type="text"], .acct input[type="email"], .acct select { width: 100%; padding: 7px 9px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); }
.acct .devmail a.btn { margin-top: 4px; }
@media (max-width: 640px) { .acct-table { font-size: 12px; } .acct-head .acct-credits { border: 0; padding: 0; } }
.acct-list .prj-item .grow { flex: 1 1 280px; }
