/* Sign-in and account pages. Uses the site's own colours when it defines them (--acct-*), with safe fallbacks. */
.acct-wrap { max-width: 460px; margin: 32px auto 56px; padding: 0 16px; }
.acct-wrap.wide { max-width: 760px; }
.acct-card { background: var(--acct-surface, #fff); color: var(--acct-ink, #1f2a2e); border: 1px solid var(--acct-rule, #dfe5e7);
  border-radius: 16px; padding: 22px; margin-bottom: 16px; }
.acct-card h1 { font-size: 1.6rem; margin: 0 0 6px; }
.acct-card h2 { font-size: 1.15rem; margin: 0 0 10px; }
.acct-muted { color: var(--acct-muted, #5b676c); font-size: .92rem; }
.acct-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--acct-soft, #eef3f2); margin: 14px 0 18px; }
.acct-tabs button { font: inherit; font-weight: 600; border: 0; border-radius: 9px; padding: 10px; background: transparent; color: var(--acct-muted, #5b676c); cursor: pointer; }
.acct-tabs button[aria-selected="true"] { background: var(--acct-surface, #fff); color: var(--acct-ink, #1f2a2e); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.acct-field { display: grid; gap: 5px; font-weight: 600; font-size: .88rem; margin-bottom: 12px; color: var(--acct-muted, #5b676c); }
.acct-field input { font: inherit; font-weight: 400; font-size: 1rem; padding: 10px 12px; min-height: 44px; border-radius: 10px; width: 100%; box-sizing: border-box;
  border: 1px solid var(--acct-rule-2, #c9d2d6); background: var(--acct-surface, #fff); color: var(--acct-ink, #1f2a2e); }
.acct-field input:focus { outline: none; border-color: var(--acct-brand, #0b6e5e); box-shadow: 0 0 0 3px var(--acct-soft, #e3f1ee); }
.acct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; font: inherit; font-weight: 700;
  border-radius: 10px; border: 1px solid var(--acct-rule-2, #c9d2d6); background: var(--acct-surface, #fff); color: var(--acct-ink, #1f2a2e); cursor: pointer; padding: 10px 14px; text-decoration: none; box-sizing: border-box; }
.acct-btn:hover { border-color: var(--acct-brand, #0b6e5e); }
.acct-btn.primary { background: var(--acct-brand, #0b6e5e); border-color: var(--acct-brand, #0b6e5e); color: var(--acct-brand-ink, #fff); }
.acct-btn.danger { color: var(--acct-bad, #b3261e); border-color: var(--acct-bad, #b3261e); width: auto; }
.acct-btn.inline { width: auto; }
.acct-or { display: flex; align-items: center; gap: 10px; color: var(--acct-muted, #5b676c); font-size: .85rem; margin: 14px 0; }
.acct-or::before, .acct-or::after { content: ""; flex: 1; height: 1px; background: var(--acct-rule, #dfe5e7); }
.acct-terms { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 10px; border: 1px solid var(--acct-rule, #dfe5e7); margin-bottom: 14px; font-size: .92rem; }
.acct-terms input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--acct-brand, #0b6e5e); }
.acct-flash { animation: acct-flash 2.4s ease-out; }
@keyframes acct-flash { 0%, 30% { background: #fff3b0; border-color: #e0b400; box-shadow: 0 0 0 3px #ffe58a; } 100% { background: transparent; } }
.acct-error { background: var(--acct-bad-soft, #fce8e6); color: var(--acct-ink, #1f2a2e); border-radius: 10px; padding: 10px 12px; font-size: .9rem; margin: 0 0 12px; }
.acct-note { background: var(--acct-soft, #e3f1ee); border-radius: 10px; padding: 12px; font-size: .92rem; margin: 10px 0; }
.acct-row { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; font-size: .95rem; margin: 0 0 6px; }
.acct-row dt { color: var(--acct-muted, #5b676c); }
.acct-row dd { margin: 0; word-break: break-word; }
.acct-badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--acct-soft, #e3f1ee); color: var(--acct-brand, #0b6e5e); margin-left: 6px; }
.acct-inline { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.acct-inline .acct-field { flex: 1 1 220px; margin: 0; }
.acct-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: #1f2a2e; color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; z-index: 99; max-width: calc(100% - 32px); }
.acct-small { font-size: .85rem; }
.acct-gap { margin: 0 0 8px; }
[hidden] { display: none !important; }
@media (max-width: 480px) { .acct-row { grid-template-columns: 1fr; } .acct-row dd { margin-bottom: 6px; } }
