.cform{gap:1.1rem;max-width:40rem;margin-block:1rem 0;display:grid}.cform fieldset{border:0;margin:0;padding:0}.cform legend,.cform__label{margin-bottom:.35rem;font-weight:700;display:block}.cform__req,.cform__opt{color:var(--ink-soft);font-size:.85em;font-weight:400}.cform__req{color:var(--temple-ink)}.cform__types{flex-wrap:wrap;gap:.4rem .5rem;display:flex}.cform__types legend{flex-basis:100%}.cform__radio{border:1px solid var(--rule);cursor:pointer;background:var(--surface);border-radius:999px;align-items:center;gap:.35rem;padding:.35rem .7rem;font-size:.95rem;display:inline-flex}.cform__radio:has(input:checked){border-color:var(--temple);background:var(--temple-tint);color:var(--temple-ink)}.cform__radio input{accent-color:var(--temple);margin:0}.cform__field{display:grid}.cform input[type=text],.cform textarea{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--rule);box-sizing:border-box;border-radius:4px;width:100%;padding:.5rem .6rem}.cform textarea{resize:vertical;min-height:10rem;line-height:1.7}.cform input:focus-visible,.cform textarea:focus-visible{outline:2px solid var(--gold);outline-offset:1px}.cform__radio:has(input:focus-visible){outline:2px solid var(--gold);outline-offset:1px}.cform__count{color:var(--ink-soft);justify-self:end;margin-top:.2rem;font-size:.8rem}.cform__count.is-over{color:var(--temple-ink);font-weight:700}.cform__hint{color:var(--ink-soft);margin-top:.25rem;font-size:.82rem}.cform__hp{width:1px;height:1px;position:absolute;top:auto;left:-10000px;overflow:hidden}.cform__actions button{font:inherit;cursor:pointer;border:1px solid var(--temple);background:var(--temple);color:#fff;border-radius:4px;padding:.55rem 1.6rem;font-weight:700}.cform__actions button:hover{background:var(--temple-hover)}.cform__actions button:disabled{opacity:.6;cursor:progress}.cform__status p{border-inline-start:3px solid;margin:0;padding:.55rem .7rem;font-size:.92rem}.cform__ok{background:#3d7a4a1a;border-color:#3d7a4a}.cform__err{border-color:var(--temple);background:var(--temple-tint);color:var(--temple-ink)}
