/* Contact popup — structural only. Why each line exists, and why none of them
   is a design value: see the file header in rere-contact.php. WP-B, rulebook §4.
   Kept short on purpose: check.sh counts comment lines against the 20-line
   plugin budget, so the reasoning lives in PHP where it costs nothing. */
dialog.rere-contact { width: min(38rem, calc(100vw - 2rem)); padding: var(--wp--preset--spacing--40); border: 0; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }
dialog.rere-contact::backdrop { background: var(--wp--custom--color--backdrop, rgb(0 0 0 / 0.55)); } /* check-ignore: hardcoded-hex — it IS a var() fallback; the checker's stripper cannot see a nested function */
.rere-contact__hp { position: absolute; left: -9999px; }
.wpcf7-form .wpcf7-form-control:is(input, textarea):not(.wpcf7-submit) { box-sizing: border-box; width: 100%; margin-top: var(--wp--preset--spacing--20); font: inherit; color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--surface-1); border: 1px solid var(--wp--custom--border--muted); border-radius: var(--wp--custom--radius--default); padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); }
.wpcf7-form .wpcf7-form-control:is(input, textarea):not(.wpcf7-submit):focus-visible { outline: 0; box-shadow: var(--wp--custom--focus--ring); }
.wpcf7-form textarea.wpcf7-form-control { resize: vertical; }
dialog.rere-contact form[method="dialog"] button { background: transparent; color: var(--wp--preset--color--secondary); border: 1px solid var(--wp--custom--border--muted); }
dialog.rere-contact form[method="dialog"] button:is(:hover, :focus-visible) { background: var(--wp--preset--color--surface-2); color: var(--wp--preset--color--secondary-hover); border-color: var(--wp--preset--color--secondary); }
