/* Design v5: Contact and Suggest a tool. The forms are the real ones (site-src/contact.mjs, site-src/v5/pages/company.mjs); this is
   their look, and the rules their scripts rely on: hidden groups stay hidden, the honeypots are off the screen, the note when the
   form's script couldn't load shows only then. An error is said in ink, bold, beside its field: never in a verdict's red. */
.form-sec .c-form, .form-sec form { display: grid; gap: var(--s5); max-width: var(--col); }
.cf-suggest { font-size: var(--t-small); color: var(--ink-2); }
.c-safety { display: inline-block; padding-block: var(--s2); font-weight: 700; }
.cf-suggest a { color: var(--ink); font-weight: 700; }
fieldset.topics, fieldset.radios { display: grid; gap: 0; }
.topics > .topic:first-of-type, .radios > .radio-row:first-of-type { border-top: 1px solid var(--line); }
fieldset.topics legend, fieldset.radios legend { padding-bottom: var(--s3); font-weight: 700; font-size: var(--t-body); }
.topic, .radio-row { display: flex; align-items: flex-start; gap: var(--s3); min-height: var(--tap); padding-block: var(--s3); border-bottom: 1px solid var(--line); cursor: pointer; }
.topic input, .radio-row input { flex-shrink: 0; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
/* the row shows where the keyboard is: the ring goes round the whole choice, not only its small radio */
.topic:has(input:focus-visible), .radio-row:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.topic input:focus-visible, .radio-row input:focus-visible { outline: none; }
.topic-dot { display: none; }
.topic-text { display: grid; gap: 2px; }
.topic-text small { font-size: var(--t-small); color: var(--ink-2); }
.topic-fields, .cf-group { display: grid; gap: var(--s5); }
.cf-group[hidden], .cf-tip[hidden], [data-done-link][hidden] { display: none; }
.opt { font-weight: 400; color: var(--ink-2); }
.cf-err, .form-sec .error { font-weight: 700; font-size: var(--t-small); color: var(--ink); }
.form-sec .error { display: flex; gap: var(--s2); align-items: flex-start; }
.form-sec .error svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.cf-err[hidden], .form-sec .error[hidden] { display: none; }
.form-sec .input[aria-invalid="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.c-note, .c-tip { font-size: var(--t-small); color: var(--ink-2); }
.cf-form .hp, .sg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-failed { display: none; }
.cf-form[data-failed="true"] .cf-failed { display: block; padding-block: var(--s3); border-block: 1px solid var(--ink); font-weight: 700; }
.c-send { display: grid; gap: var(--s3); justify-items: start; }
.c-send .btn { min-width: 14rem; }
.c-send .ts-widget:empty, .ts-widget:empty { display: none; }
.c-status { font-size: var(--t-small); }
.c-status[data-kind="error"] { font-weight: 700; color: var(--ink); }
.cf-field, .cf-radios, .form-sec .field { scroll-margin-top: var(--s4); }
.c-done { display: grid; gap: var(--s4); justify-items: start; max-width: var(--col); padding-block: var(--s6); outline: none; }
.c-done h2, .c-done .t-h2 { outline: none; }
.done-mark { display: none; }
.done-acts { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; }
.done-acts .link { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--tap); font-weight: 700; }
.done-acts .link svg { width: 18px; height: 18px; }
.btn-secondary { background: transparent; color: var(--ink); }
.check-row input { border-radius: 0; }
