.account-content { max-width: 800px; }
.account-content p { margin-block: 8px; }
.account-content h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-block: 16px 12px; }
.account-content a { color: var(--accent, var(--red)); }
.account-content :is(input, select, button) { font: inherit; }
.account-content label { display: block; font-weight: 600; overflow-wrap: anywhere; }
.account-content label:has(> :is(input[type=checkbox], input[type=radio])) { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.account-content :is(input[type=checkbox], input[type=radio]) { flex-shrink: 0; width: 20px; height: 20px; margin: 0; accent-color: var(--red); }
.account-content :is(input:not([type=radio]):not([type=checkbox]), select) { display: block; width: 100%; min-height: 44px; padding: 8px 10px; margin-top: 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); }
.account-content :is(button, .toolbar a) { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; }
.account-content :is(button, .toolbar a):hover { border-color: var(--accent, var(--red)); }
.account-content button.primary { background: var(--red); border-color: var(--red); color: white; }
.account-content button.primary:hover { background: var(--red-dark); }
.account-content button:disabled { opacity: .5; cursor: not-allowed; }
.account-content :is(input, select):focus-visible { outline: 3px solid #ce7534; outline-offset: 3px; }
.account-content .toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 16px; }
.account-content :is(.error, .success) { padding: 12px; border-radius: 8px; }
.account-content .error { background: #ffe6e6; color: #7a1111; }
.account-content .success { background: #e2efdf; color: #254626; }
.account-content summary { cursor: pointer; font-weight: 600; }
.prayer-message { overflow-wrap: anywhere; white-space: normal; }
.account-card { background: var(--surface, white); padding: 20px; border: 1px solid var(--line); border-radius: 12px; margin-block: 14px; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.account-card h2:first-child { margin-top: 0; }
.account-card label { margin-block: 12px; }
.account-card input:not([type=radio]):not([type=checkbox]), .account-card button { min-height: 44px; }
.account-card button { font-weight: 600; }
.account-card fieldset { min-width: 0; margin-block: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; }
.account-card legend { font-weight: 600; }
.account-card label:has(input[type=radio]) { min-height: 44px; margin-block: 6px; }
.account-hint { color: var(--muted); font-size: 1rem; }
.account-field-error { color: #a0151b; font-size: 1rem; margin-block: 4px 12px; }
.account-card [aria-invalid=true] { border: 2px solid #a0151b; }
.account-note { border-left: 4px solid #a16a14; background: #fff6df; padding: 12px; }
.account-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin-block: 20px 24px; }
.account-progress li { display: flex; align-items: flex-start; gap: 10px; padding: 14px 10px; border: 1px solid #d8d8cf; border-top: 4px solid #b9bdb7; border-radius: 10px; background: #f5f5f1; min-width: 0; }
.progress-number { display: flex; align-items: center; justify-content: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: #e1e3dd; color: #414941; font-weight: 700; }
.progress-label { display: block; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.progress-detail { display: block; margin-top: 5px; font-size: .9rem; line-height: 1.4; color: #505850; }
.account-progress .progress-current { border-color: #a9161b; background: #fff5f3; box-shadow: 0 2px 8px #86101512; }
.progress-current .progress-number { background: #a9161b; color: white; }
.account-progress .progress-complete { border-color: #638466; background: #f0f6ee; }
.progress-complete .progress-number { background: #34643b; color: white; }
.account-progress .progress-attention { border-color: #a16a14; background: #fff6df; }
.progress-attention .progress-number { background: #82540c; color: white; }
@media (max-width: 650px) {
    .account-progress { grid-template-columns: 1fr; gap: 8px; }
    .account-progress li { border-top-width: 1px; border-left-width: 4px; align-items: center; padding: 10px 12px; }
}
.birthday-picker { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) minmax(0,1.2fr); gap: 10px; }
.account-card .birthday-picker label { min-width: 0; margin-block: 4px; }
.birthday-picker select { min-height: 44px; }
:root[data-theme=dark] .account-content .account-field-error { color: #ffb4b4; }
:root[data-theme=dark] .account-content [aria-invalid=true] { border-color: #ffb4b4; }
:root[data-theme=dark] .account-content .account-note { color: #503b16; }
:root[data-theme=dark] .account-content .account-progress li { background: var(--paper); color: var(--ink); border-color: var(--line); }
:root[data-theme=dark] .account-content .progress-detail { color: var(--muted); }
:root[data-theme=dark] .account-content .progress-current { border-color: var(--accent); }
:root[data-theme=dark] .account-content .progress-complete { border-color: #95c89a; }
:root[data-theme=dark] .account-content .progress-attention { border-color: #e4bf78; }
@media (max-width: 650px) { .account-card { padding: 18px; } }
