/* Shared form controls and section navigation. */
[x-cloak] { display: none !important; }
section[id], #presentation { scroll-margin-top: 6rem; }
input[type="checkbox"], input[type="radio"] {
    width: 1.25rem !important; height: 1.25rem !important; min-width: 1.25rem;
    flex: 0 0 1.25rem; accent-color: #2f855a; cursor: pointer;
}
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible {
    outline: 2px solid #2f855a; outline-offset: 3px;
}
input:disabled { cursor: not-allowed; }
dialog.community-dialog {
    width: min(36rem, calc(100% - 2rem)); max-height: calc(100svh - 2rem);
    margin: auto; padding: 0; border: 0; border-radius: 1.5rem;
    color: #374151; box-shadow: 0 24px 80px #0005;
}
dialog.community-dialog::backdrop { background: #0b231dcc; backdrop-filter: blur(4px); }
body:has(dialog[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .animate-scroll, .animate-fade-in-up { animation: none !important; }
}
